Fix typo in NEWS
[glibc.git] / ChangeLog
blobd1b04bbcbd330002c28eb4b9ffeb51429fbbaf7f
1 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3         * NEWS: Fix typo.
5 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8         barriers and comments.
9         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13 2016-01-13  Torvald Riegel  <triegel@redhat.com>
15         [BZ #19402]
16         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
17         mutexes.
19 2016-01-13  Torvald Riegel  <triegel@redhat.com>
21         [BZ #20985]
22         * nptl/Makefile: Adapt.
23         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
24         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
25         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
26         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
27         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
28         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
29         lll_robust* functions and adapt.
30         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
31         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
32         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
33         __lll_robust_timedlock, __lll_robust_unlock): Remove.
34         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
35         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
36         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
37         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
38         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
39         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
40         __lll_robust_timedlock, __lll_robust_unlock): Remove.
41         * nptl/lowlevelrobustlock.c: Remove file.
42         * nptl/lowlevelrobustlock.sym: Likewise.
43         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
44         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
46 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
50 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
52         * po/cs.po: Merge translations from the Translation Project.
53         * po/de.po: Likewise.
54         * po/pl.po: Likewise.
55         * po/ru.po: Likewise.
56         * po/tr.po: Likewise.
57         * po/uk.po: Likewise.
58         * po/vi.po: Likewise.
59         * po/zh_CN.po: Likewise.
61 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
63         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
65         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
66         object.
68 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
70         [BZ #16458]
71         * bits/uintn-identity.h: New file.
72         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
73         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
74         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
75         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
76         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
77         * string/endian.h: Include <bits/uintn-identity.h>.
78         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
79         __uint16_identity.
80         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
81         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
82         __uint32_identity.
83         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
84         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
85         __uint64_identity.
86         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
87         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
88         __uint16_identity.
89         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
90         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
91         __uint32_identity.
92         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
93         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
94         __uint64_identity.
95         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
96         * string/Makefile (headers): Add bits/uintn-identity.h.
97         (tests): Add test-endian-types.
98         * string/test-endian-types.c: New file.
99         * inet/Makefile (tests): Add test-hnto-types.
100         * inet/test-hnto-types.c: New file.
102 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
104         * po/be.po: Update from Translation Project.
105         * po/bg.po: Likewise.
106         * po/ca.po: Likewise.
107         * po/cs.po: Likewise.
108         * po/da.po: Likewise.
109         * po/de.po: Likewise.
110         * po/el.po: Likewise.
111         * po/eo.po: Likewise.
112         * po/es.po: Likewise.
113         * po/fi.po: Likewise.
114         * po/fr.po: Likewise.
115         * po/gl.po: Likewise.
116         * po/hr.po: Likewise.
117         * po/hu.po: Likewise.
118         * po/ia.po: Likewise.
119         * po/id.po: Likewise.
120         * po/it.po: Likewise.
121         * po/ja.po: Likewise.
122         * po/ko.po: Likewise.
123         * po/lt.po: Likewise.
124         * po/nb.po: Likewise.
125         * po/nl.po: Likewise.
126         * po/pl.po: Likewise.
127         * po/pt_BR.po: Likewise.
128         * po/ru.po: Likewise.
129         * po/rw.po: Likewise.
130         * po/sk.po: Likewise.
131         * po/sl.po: Likewise.
132         * po/sv.po: Likewise.
133         * po/tr.po: Likewise.
134         * po/uk.po: Likewise.
135         * po/vi.po: Likewise.
136         * po/zh_CN.po: Likewise.
137         * po/zh_TW.po: Likewise.
139 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
141         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
142         -Wformat-truncation instead of -Wformat-length.
143         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
144         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
145         GCC 7.
146         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
147         (do_test): Ignore -Wformat-truncation for GCC 7.
149         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
150         buffer used to print long int value.
152         * elf/sotruss-lib.c (init): Increase space allocated for pid by
153         one byte.  Print it with %ld, cast to long int.
155 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
157         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
158         (re.fullmatch, subprocess.run): Likewise.
160 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
162         * po/libc.pot: Regenerate.
164 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
166         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
167         (min_strlen): Likewise.
168         (disable_tunable): Likewise.
169         (maybe_disable_malloc_check): Rename to
170         maybe_enable_malloc_check.
171         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
172         if /etc/suid-debug file exists.
173         (__tunables_init): Update caller.
174         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
175         secure.
177 2016-01-10  Torvald Riegel  <triegel@redhat.com>
179         * nptl/DESIGN-rwlock.txt: Remove.
180         * nptl/lowlevelrwlock.sym: Remove.
181         * nptl/Makefile: Add new tests.
182         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
183         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
184         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
185         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
186         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
187         PTHREAD_RWLOCK_FUTEX_USED): New.
188         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
189         implementation.
190         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
191         (__pthread_rwlock_rdlock): Adapt.
192         * nptl/pthread_rwlock_timedrdlock.c
193         (pthread_rwlock_timedrdlock): Adapt.
194         * nptl/pthread_rwlock_timedwrlock.c
195         (pthread_rwlock_timedwrlock): Adapt.
196         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
197         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
198         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
199         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
200         (__pthread_rwlock_wrlock): Adapt.
201         * nptl/tst-rwlock10.c: Adapt.
202         * nptl/tst-rwlock11.c: Adapt.
203         * nptl/tst-rwlock17.c: New file.
204         * nptl/tst-rwlock18.c: New file.
205         * nptl/tst-rwlock19.c: New file.
206         * nptl/tst-rwlock2b.c: New file.
207         * nptl/tst-rwlock8.c: Adapt.
208         * nptl/tst-rwlock9.c: Adapt.
209         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
210         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
211         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
212         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
213         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
214         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
215         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
216         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
217         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
218         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
219         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
220         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
221         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
222         (pthread_rwlock_t): Adapt.
223         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
224         (pthread_rwlock_t): Adapt.
225         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
226         * nptl/nptl-printers.py (): Adapt.
227         * nptl/nptl_lock_constants.pysym: Adapt.
228         * nptl/test-rwlock-printers.py: Adapt.
229         * nptl/test-rwlockattr-printers.c: Adapt.
230         * nptl/test-rwlockattr-printers.py: Adapt.
232 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
234         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
235         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
236         (fma_test_data): Likewise.
237         (hypot_test_data): Likewise.
238         (log1p_test_data): Likewise.
239         (modf_test_data): Likewise.
240         (pow_test_data): Likewise.
241         (remainder_test_data): Likewise.
242         (remquo_test_data): Likewise.
243         (scalb_test_data): Likewise.
244         (scalbn_test_data): Likewise.
245         (scalbln_test_data): Likewise.
246         * math/gen-libm-test.pl (parse_args): Transform
247         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
248         on the rounding mode.
250 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
252         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
253         xfail-rounding:ibm128-libgcc automatically to tests overflowing
254         and those that can underflow to zero.
255         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
256         add others.
257         * math/auto-libm-test-out: Regenerated.
259         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
260         supported.
261         (feholdexcept_tests): Skip tests requiring exceptions or rounding
262         modes support if not supported.
264         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
265         Add libc.so PLT entry.
266         (__tls_get_addr): Make ld.so PLT entry optional.
268 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
270         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
271         * string/bits/string3.h: ... here.
273 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
275         [BZ #21028]
276         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
277         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
278         if EXCEPTION_TESTS returns false.
280 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
282         [BZ #20558]
283         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
284         strings_fortified.h.
285         [__USE_MISC] (bzero): Likewise.
286         [__USE_MISC] (explicit_bzero): Likewise.
287         * string/strings.h: Include strings_fortified.h.
288         * string/Makefile (headers): Add strings_fortified.h.
289         * string/bits/strings_fortified.h: New file.
290         * include/bits/strings_fortified.h: Likewise.
292 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
294         * elf/tst-tls13.c (TIMEOUT): Remove.
295         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
296         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
297         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
298         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
299         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
301         [BZ #21026]
302         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
303         (readahead): New syscall entry.
305 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
307         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
308         around tests of strncat with large sizes.
310         * malloc/tst-malloc.c: Include <libc-internal.h>.
311         (do_test): Disable -Walloc-size-larger-than= around tests of
312         malloc with negative sizes.
313         * malloc/tst-mcheck.c: Include <libc-internal.h>.
314         (do_test): Disable -Walloc-size-larger-than= around tests of
315         malloc and realloc with negative sizes.
316         * malloc/tst-realloc.c: Include <libc-internal.h>.
317         (do_test): Disable -Walloc-size-larger-than= around tests of
318         realloc with negative sizes.
320         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
321         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
322         allowed to 16 ulps.
323         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
324         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
325         * math/auto-libm-test-out: Regenerated.
327 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
329         * math/Makefile (libm-calls): Move wrappers...
330         (libm-compat-call-auto): Here.
331         (libm-routines): Add items in libm-compat-calls-auto.
332         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
333         the filenames of the wrappers that have been renamed.
334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
337         * math/w_acos.c: Add _compat suffix to filename.
338         * math/w_acosf.c: Likewise.
339         * math/w_acosh.c: Likewise.
340         * math/w_acoshf.c: Likewise.
341         * math/w_acoshl.c: Likewise.
342         * math/w_acosl.c: Likewise.
343         * math/w_asin.c: Likewise.
344         * math/w_asinf.c: Likewise.
345         * math/w_asinl.c: Likewise.
346         * math/w_atan2.c: Likewise.
347         * math/w_atan2f.c: Likewise.
348         * math/w_atan2l.c: Likewise.
349         * math/w_atanh.c: Likewise.
350         * math/w_atanhf.c: Likewise.
351         * math/w_atanhl.c: Likewise.
352         * math/w_cosh.c: Likewise.
353         * math/w_coshf.c: Likewise.
354         * math/w_coshl.c: Likewise.
355         * math/w_exp10.c: Likewise.
356         * math/w_exp10f.c: Likewise.
357         * math/w_exp10l.c: Likewise.
358         * math/w_exp2.c: Likewise.
359         * math/w_exp2f.c: Likewise.
360         * math/w_exp2l.c: Likewise.
361         * math/w_fmod.c: Likewise.
362         * math/w_fmodf.c: Likewise.
363         * math/w_fmodl.c: Likewise.
364         * math/w_hypot.c: Likewise.
365         * math/w_hypotf.c: Likewise.
366         * math/w_hypotl.c: Likewise.
367         * math/w_j0.c: Likewise.
368         * math/w_j0f.c: Likewise.
369         * math/w_j0l.c: Likewise.
370         * math/w_j1.c: Likewise.
371         * math/w_j1f.c: Likewise.
372         * math/w_j1l.c: Likewise.
373         * math/w_jn.c: Likewise.
374         * math/w_jnf.c: Likewise.
375         * math/w_jnl.c: Likewise.
376         * math/w_log10.c: Likewise.
377         * math/w_log10f.c: Likewise.
378         * math/w_log10l.c: Likewise.
379         * math/w_log2.c: Likewise.
380         * math/w_log2f.c: Likewise.
381         * math/w_log2l.c: Likewise.
382         * math/w_log.c: Likewise.
383         * math/w_logf.c: Likewise.
384         * math/w_logl.c: Likewise.
385         * math/w_pow.c: Likewise.
386         * math/w_powf.c: Likewise.
387         * math/w_powl.c: Likewise.
388         * math/w_remainder.c: Likewise.
389         * math/w_remainderf.c: Likewise.
390         * math/w_remainderl.c: Likewise.
391         * math/w_scalb.c: Likewise.
392         * math/w_scalbf.c: Likewise.
393         * math/w_scalbl.c: Likewise.
394         * math/w_sinh.c: Likewise.
395         * math/w_sinhf.c: Likewise.
396         * math/w_sinhl.c: Likewise.
397         * math/w_sqrt.c: Likewise.
398         * math/w_sqrtf.c: Likewise.
399         * math/w_sqrtl.c: Likewise.
400         * math/w_tgamma.c: Likewise.
401         * math/w_tgammaf.c: Likewise.
402         * math/w_tgammal.c: Likewise.
404         * math/w_acos_compat.c: New file copied from above and
405         adjusted for new #includes path
406         * math/w_acosf_compat.c: Likewise.
407         * math/w_acosh_compat.c: Likewise.
408         * math/w_acoshf_compat.c: Likewise.
409         * math/w_acoshl_compat.c: Likewise.
410         * math/w_acosl_compat.c: Likewise.
411         * math/w_asin_compat.c: Likewise.
412         * math/w_asinf_compat.c: Likewise.
413         * math/w_asinl_compat.c: Likewise.
414         * math/w_atan2_compat.c: Likewise.
415         * math/w_atan2f_compat.c: Likewise.
416         * math/w_atan2l_compat.c: Likewise.
417         * math/w_atanh_compat.c: Likewise.
418         * math/w_atanhf_compat.c: Likewise.
419         * math/w_atanhl_compat.c: Likewise.
420         * math/w_cosh_compat.c: Likewise.
421         * math/w_coshf_compat.c: Likewise.
422         * math/w_coshl_compat.c: Likewise.
423         * math/w_exp10_compat.c: Likewise.
424         * math/w_exp10f_compat.c: Likewise.
425         * math/w_exp10l_compat.c: Likewise.
426         * math/w_exp2_compat.c: Likewise.
427         * math/w_exp2f_compat.c: Likewise.
428         * math/w_exp2l_compat.c: Likewise.
429         * math/w_fmod_compat.c: Likewise.
430         * math/w_fmodf_compat.c: Likewise.
431         * math/w_fmodl_compat.c: Likewise.
432         * math/w_hypot_compat.c: Likewise.
433         * math/w_hypotf_compat.c: Likewise.
434         * math/w_hypotl_compat.c: Likewise.
435         * math/w_j0_compat.c: Likewise.
436         * math/w_j0f_compat.c: Likewise.
437         * math/w_j0l_compat.c: Likewise.
438         * math/w_j1_compat.c: Likewise.
439         * math/w_j1f_compat.c: Likewise.
440         * math/w_j1l_compat.c: Likewise.
441         * math/w_jn_compat.c: Likewise.
442         * math/w_jnf_compat.c: Likewise.
443         * math/w_jnl_compat.c: Likewise.
444         * math/w_log10_compat.c: Likewise.
445         * math/w_log10f_compat.c: Likewise.
446         * math/w_log10l_compat.c: Likewise.
447         * math/w_log2_compat.c: Likewise.
448         * math/w_log2f_compat.c: Likewise.
449         * math/w_log2l_compat.c: Likewise.
450         * math/w_log_compat.c: Likewise.
451         * math/w_logf_compat.c: Likewise.
452         * math/w_logl_compat.c: Likewise.
453         * math/w_pow_compat.c: Likewise.
454         * math/w_powf_compat.c: Likewise.
455         * math/w_powl_compat.c: Likewise.
456         * math/w_remainder_compat.c: Likewise.
457         * math/w_remainderf_compat.c: Likewise.
458         * math/w_remainderl_compat.c: Likewise.
459         * math/w_scalb_compat.c: Likewise.
460         * math/w_scalbf_compat.c: Likewise.
461         * math/w_scalbl_compat.c: Likewise.
462         * math/w_sinh_compat.c: Likewise.
463         * math/w_sinhf_compat.c: Likewise.
464         * math/w_sinhl_compat.c: Likewise.
465         * math/w_sqrt_compat.c: Likewise.
466         * math/w_sqrtf_compat.c: Likewise.
467         * math/w_sqrtl_compat.c: Likewise.
468         * math/w_tgamma_compat.c: Likewise.
469         * math/w_tgammaf_compat.c: Likewise.
470         * math/w_tgammal_compat.c: Likewise.
472         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
473         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
474         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
475         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
476         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
477         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
478         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
479         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
480         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
481         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
482         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
483         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
484         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
485         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
486         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
487         * sysdeps/ia64/fpu/w_powl.c: Likewise.
488         * sysdeps/ia64/fpu/w_powf.c: Likewise.
489         * sysdeps/ia64/fpu/w_pow.c: Likewise.
490         * sysdeps/ia64/fpu/w_logl.c: Likewise.
491         * sysdeps/ia64/fpu/w_logf.c: Likewise.
492         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
493         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
494         * sysdeps/ia64/fpu/w_log2.c: Likewise.
495         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
496         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
497         * sysdeps/ia64/fpu/w_log10.c: Likewise.
498         * sysdeps/ia64/fpu/w_log.c: Likewise.
499         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
500         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
501         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
502         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
503         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
504         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
505         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
506         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
507         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
508         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
509         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
510         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
511         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
512         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
513         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
514         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
515         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
516         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
517         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
518         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
519         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
520         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
521         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
522         * sysdeps/ia64/fpu/w_asin.c: Likewise.
523         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
524         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
525         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
526         * sysdeps/ia64/fpu/w_acos.c: Likewise.
527         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
528         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
529         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
530         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
531         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
532         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
533         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
534         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
535         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
536         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
537         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
538         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
539         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
540         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
541         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
542         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
543         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
544         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
545         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
546         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
547         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
548         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
549         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
550         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
551         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
552         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
553         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
554         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
555         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
556         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
557         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
558         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
559         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
560         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
561         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
562         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
563         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
564         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
565         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
566         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
567         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
568         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
569         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
570         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
571         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
573         Likewise.
574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
575         Likewise.
576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
578         Likewise.
579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
580         Likewise.
581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
582         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
583         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
584         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
585         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
586         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
587         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
592         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
593         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
594         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
595         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
597         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
598         and adjusted for new #includes path
599         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
600         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
601         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
602         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
603         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
604         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
605         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
606         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
607         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
608         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
609         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
610         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
611         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
612         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
613         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
614         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
615         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
616         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
617         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
618         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
619         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
620         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
621         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
622         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
623         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
624         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
625         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
626         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
627         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
628         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
629         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
630         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
631         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
632         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
633         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
634         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
635         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
636         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
637         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
638         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
639         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
640         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
641         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
642         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
643         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
644         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
645         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
646         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
647         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
648         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
649         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
650         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
651         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
652         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
653         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
654         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
655         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
656         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
657         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
658         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
659         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
660         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
661         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
662         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
663         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
664         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
665         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
666         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
667         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
668         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
669         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
670         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
671         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
672         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
673         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
674         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
675         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
676         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
677         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
678         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
679         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
680         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
681         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
682         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
683         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
684         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
685         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
686         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
687         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
688         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
689         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
690         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
691         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
692         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
693         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
694         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
695         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
696         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
697         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
699         Likewise.
700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
701         Likewise.
702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
703         Likewise.
704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
705         Likewise.
706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
707         Likewise.
708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
709         Likewise.
710         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
711         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
712         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
713         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
714         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
715         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
717         Likewise.
718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
719         Likewise.
720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
721         Likewise.
722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
723         Likewise.
724         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
725         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
726         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
727         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
729 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
731         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
732         __jmp_buf_internal_tag.
734         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
735         preserve NaN payload if [__mips_nan2008].
736         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
738         [BZ #21022]
739         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
741 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
743         * sysdeps/i386/fpu/libm-test-ulps: Update.
745 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
747         * sysdeps/ia64/strcat.c: Remove file.
748         * sysdeps/powerpc/strcat.c: Likewise.
749         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
750         C implementation.
751         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
752         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
754 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
755             Steven Munroe  <sjmunroe@us.ibm.com>
756             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
758         [BZ #20822]
759         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
760         (__lll_lock_elision): Access adapt_count via C11 atomics.
761         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
762         (__lll_trylock_elision): Likewise.
763         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
764         (__lll_unlock_elision):  Update adapt_count variable inside the
765         critical section using C11 atomics.
767 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
769         * math/test-fenvinline.c (do_test): Disable tests of raised
770         exceptions if !EXCEPTION_TESTS (FLOAT).
772 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
774         [BZ #19390]
775         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
776         maximum string size.
777         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
778         in pointer addition.
779         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
780         Likewise.
782 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
784         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
785         passed to tst-ldconfig-X.sh.
787 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
789         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
791 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
793         [BZ #21019]
794         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
795         New syscall entry.
796         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
797         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
798         lseek.
800         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
801         power4 glibc for powerpc-linux-gnu.
803 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
805         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
806         semctl.
808 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
810         * math/test-nearbyint-except.c: Include <stdbool.h>.
811         (any_supported): New variable.
812         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
813         set any_supported.
814         (do_test): Return 77 if no floating-point type supported
815         exceptions.
817         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
818         condition on [__mips_hard_float].
820 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
822         [BZ #21014]
823         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
824         in pointer addition.
825         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
827 2017-01-02  Torvald Riegel  <triegel@redhat.com>
829         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
830         new condvar.
832 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
834         * scripts/build-many-glibcs.py (Context.checkout): Default
835         binutils version to 2.28 branch.
837 2017-01-01  Florian Weimer  <fweimer@redhat.com>
839         * support/support_format_netent.c (support_format_netent): Work
840         around alpha struct netent definition difference.
842 2017-01-01  Florian Weimer  <fweimer@redhat.com>
844         * support/xwrite.c (xwrite): Use %td for pointer difference.
846 2017-01-01  Florian Weimer  <fweimer@redhat.com>
848         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
849         have-tunables only.
850         (tests-static): Add tst-malloc-usable-static-tunables for
851         have-tunables only.
853 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
855         * scripts/config.guess: Update to version 2017-01-01.
856         * scripts/config.sub: Update to version 2017-01-01.
858         * NEWS: Update copyright dates.
859         * catgets/gencat.c (print_version): Likewise.
860         * csu/version.c (banner): Likewise.
861         * debug/catchsegv.sh: Likewise.
862         * debug/pcprofiledump.c (print_version): Likewise.
863         * debug/xtrace.sh (do_version): Likewise.
864         * elf/ldconfig.c (print_version): Likewise.
865         * elf/ldd.bash.in: Likewise.
866         * elf/pldd.c (print_version): Likewise.
867         * elf/sotruss.sh: Likewise.
868         * elf/sprof.c (print_version): Likewise.
869         * iconv/iconv_prog.c (print_version): Likewise.
870         * iconv/iconvconfig.c (print_version): Likewise.
871         * locale/programs/locale.c (print_version): Likewise.
872         * locale/programs/localedef.c (print_version): Likewise.
873         * login/programs/pt_chown.c (print_version): Likewise.
874         * malloc/memusage.sh (do_version): Likewise.
875         * malloc/memusagestat.c (print_version): Likewise.
876         * malloc/mtrace.pl: Likewise.
877         * manual/libc.texinfo: Likewise.
878         * nptl/version.c (banner): Likewise.
879         * nscd/nscd.c (print_version): Likewise.
880         * nss/getent.c (print_version): Likewise.
881         * nss/makedb.c (print_version): Likewise.
882         * posix/getconf.c (main): Likewise.
883         * scripts/test-installation.pl: Likewise.
884         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
886         * All files with FSF copyright notices: Update copyright dates
887         using scripts/update-copyrights.
888         * intl/plural.c: Regenerated.
889         * locale/programs/charmap-kw.h: Likewise.
890         * locale/programs/locfile-kw.h: Likewise.
892 2016-12-31  Florian Weimer  <fweimer@redhat.com>
894         [BZ #20593]
895         Update DNS RR type definitions.
896         * scripts/gen-rrtypes.py: New file.
897         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
898         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
899         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
900         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
901         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
902         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
903         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
904         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
905         ns_t_ta, ns_t_dlv.
906         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
907         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
908         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
909         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
910         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
911         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
912         Define.
913         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
914         entry for ns_t_zxfr.
916 2016-12-31  Florian Weimer  <fweimer@redhat.com>
918         [BZ #18784]
919         CVE-2015-5180
920         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
921         T_UNSPEC.  Adjust value.
922         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
923         * resolv/res_query.c (__libc_res_nquery): Likewise.
924         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
925         QTYPEs.
926         * resolv/tst-resolv-qtypes.c: New file.
927         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
928         (tst-resolv-qtypes): Link against libresolv and libpthread.
930 2016-12-31  Florian Weimer  <fweimer@redhat.com>
932         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
934 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
936         * manual/tunables.texi: New chapter.
937         * manual/Makefile (chapters): Add it.
938         * manual/probes.texi (@node): Point to the Tunables chapter.
940         * Makeconfig (have-tunables): Check for non-negative instead
941         of positive.
942         * configure.ac: Add 'valstring' as a valid value for
943         --enable-tunables.
944         * configure: Regenerate.
945         * elf/Makefile (have-tunables): Check for non-negative instead
946         of positive.
947         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
948         dl-tunables.c.
949         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
950         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
951         (tunables_strdup): Likewise.
952         (disable_tunables): Likewise.
953         (parse_tunables): Likewise.
954         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
955         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
956         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
957         (TUNABLES_FRONTEND_yes): New macro, define as
958         TUNABLES_FRONTEND_valstring by default.
959         * manual/install.texi: Document new acceptable values for
960         --enable-tunables.
961         * INSTALL: Regenerate.
963         * config.make.in (have-loop-to-function): Define.
964         * elf/Makefile (CFLAGS-dl-tunables.c): Add
965         -fno-tree-loop-distribute-patterns.
966         * elf/dl-tunables.c: Include libc-internals.h.
967         (GLIBC_TUNABLES): New macro.
968         (tunables_strdup): New function.
969         (parse_tunables): New function.
970         (min_strlen): New function.
971         (__tunables_init): Use the new functions and macro.
972         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
973         * malloc/tst-malloc-usable-tunables.c: New test case.
974         * malloc/tst-malloc-usable-static-tunables.c: New test case.
975         * malloc/Makefile (tests, tests-static): Add tests.
977         * manual/install.texi: Add --enable-tunables option.
978         * INSTALL: Regenerate.
979         * README.tunables: New file.
980         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
981         (before-compile): Generate dl-tunable-list.h early.
982         * config.h.in: Add HAVE_TUNABLES.
983         * config.make.in: Add have-tunables.
984         * configure.ac: Add --enable-tunables option.
985         * configure: Regenerate.
986         * csu/init-first.c (__libc_init_first): Move
987         __libc_init_secure earlier...
988         * csu/init-first.c (LIBC_START_MAIN):... to here.
989         Include dl-tunables.h, libc-internal.h.
990         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
991         binaries.
992         * elf/Makefile (dl-routines): Add dl-tunables.
993         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
994         namespace.
995         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
996         only when !HAVE_TUNABLES.
997         * elf/rtld.c (process_envvars): Likewise.
998         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
999         (_dl_sysdep_start): Call __tunables_init.
1000         * elf/dl-tunable-types.h: New file.
1001         * elf/dl-tunables.c: New file.
1002         * elf/dl-tunables.h: New file.
1003         * elf/dl-tunables.list: New file.
1004         * malloc/tst-malloc-usable-static.c: New test case.
1005         * malloc/Makefile (tests-static): Add it.
1006         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
1007         Define TUNABLE_NAMESPACE.
1008         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
1009         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
1010         callback functions.
1011         (ptmalloc_init): Set tunable values.
1012         * scripts/gen-tunables.awk: New file.
1013         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
1014         (_dl_sysdep_start): Call __tunables_init.
1016 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1018         * resolv/resolv.h (RES_BLAST): Deprecate.
1019         * resolv/res_debug.c (p_option): Remove RES_BLAST.
1020         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
1021         to RES_BLAST.
1023 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1025         [BZ #19582]
1026         Deprecate RES_USE_INET6.
1027         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
1028         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
1029         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
1030         RES_USE_INET6.
1031         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
1032         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
1033         (_nss_nisplus_gethostbyaddr_r): Likewise.
1034         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
1035         of res_use_inet6.
1036         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
1037         instead of RES_USE_INET6.
1038         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
1039         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
1040         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
1041         Likewise.
1042         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
1043         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
1044         Likewise.
1045         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
1046         (_nss_dns_gethostbyname_r): Likewise.
1047         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
1048         alternate RES_USE_INET6 handling.
1049         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
1050         instead of RES_USE_INET6.
1051         * resolv/res_init.c (res_setoptions): Likewise.
1052         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
1053         * resolv/resolv-internal.h: New file.
1054         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
1055         make the deprecation warning non-fatal.
1056         * resolv/README (Using the resolver in multi-threaded code): Drop
1057         reference to RES_USE_INET6.
1058         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
1059         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
1061 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1063         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
1064         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
1065         tst-resolv-search.
1066         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
1067         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
1068         with libresolv and libpthread.
1069         * resolv/tst-bug18665.c: New file.
1070         * resolv/tst-bug18665-tcp: Likewise.
1071         * resolv/tst-res_use_inet6: Likewise.
1072         * resolv/tst-resolv-basic: Likewise.
1073         * resolv/tst-resolv-network: Likewise.
1074         * resolv/tst-resolv-search: Likewise.
1075         * support/Makefile (libsupport-routines): Add check_addrinfo,
1076         check_dns_packet, check_hostent, check_netent, resolv_test,
1077         support_format_address_family, support_format_addrinfo,
1078         support_format_dns_packet, support_format_herrno,
1079         support_format_hostent, support_format_netent, support_run_diff,
1080         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
1081         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
1082         xstrdup, xwrite.
1083         * support/check_addrinfo.c: New file.
1084         * support/check_dns_packet.c: Likewise.
1085         * support/check_hostent.c: Likewise.
1086         * support/check_netent.c: Likewise.
1087         * support/check_nss.h: Likewise.
1088         * support/format_nss.h: Likewise.
1089         * support/resolv_test.c: Likewise.
1090         * support/resolv_test.h: Likewise.
1091         * support/run_diff.h: Likewise.
1092         * support/support_format_address_family.c: Likewise.
1093         * support/support_format_addrinfo.c: Likewise.
1094         * support/support_format_dns_packet.c: Likewise.
1095         * support/support_format_herrno.c: Likewise.
1096         * support/support_format_hostent.c: Likewise.
1097         * support/support_format_netent.c: Likewise.
1098         * support/support_run_diff.c: Likewise.
1099         * support/xaccept.c: Likewise.
1100         * support/xbind.c: Likewise.
1101         * support/xconnect.c: Likewise.
1102         * support/xfclose.c: Likewise.
1103         * support/xfopen.c: Likewise.
1104         * support/xgetsockname.c: Likewise.
1105         * support/xlisten.c: Likewise.
1106         * support/xmemstream.c: Likewise.
1107         * support/xmemstream.h: Likewise.
1108         * support/xpoll.c: Likewise.
1109         * support/xpthread_once.c: Likewise.
1110         * support/xrecvfrom.c: Likewise.
1111         * support/xsendto.c: Likewise.
1112         * support/xsetsockopt.c: Likewise.
1113         * support/xstdio.h: Likewise.
1114         * support/xstrdup.c: Likewise.
1115         * support/support.h (xstrdup): Declare.
1116         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
1117         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
1118         * support/xthread.h (xpthread_once): Likwise.
1119         * support/xunistd.h (xwrite): Declare.
1121 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1123         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
1124         (test_verbose): Declare.
1125         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
1126         * support/support_test_main.c (default_options): Likewise.
1127         (usage, support_test_main): Handle 'v'.
1128         (test_verbose): Define.
1129         * support/tst-support_record_failure.c (do_test): Use
1130         test_verbose.
1131         * support/tst-support_record_failure-2.sh (different_status): Add
1132         --verbose test.
1134 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1136         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
1137         test failures are recorded.
1138         * support/check.c (support_print_failure_impl): Call
1139         support_record_failure.
1140         (support_exit_failure_impl): Call support_record_failure if status
1141         indicates failure.
1142         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
1143         * support/xasprintf.c (xasprintf): Likewise.
1144         * support/xfork.c (xfork): Likewise.
1145         * support/xpthread_check_return.c (xpthread_check_return):
1146         Likewise.
1147         * support/xsocket.c (xsocket): Likeweise.
1148         * support/xwaitpid.c (xwaitpid): Likewise.
1149         * support/support_record_failure.c (struct test_failures): Adjust
1150         to coding style.
1151         * support/support_test_verify_impl.c (support_test_verify_impl):
1152         Adjust error messages.
1153         * support/tst-support_record_failure-2.sh (different_status):
1154         Adjust error messages.
1156 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1158         * support/namespace.h: New file.
1159         * support/support_become_root.c: Likewise.
1160         * support/support_enter_network_namespace.c: Likewise.
1161         * support/tst-support-namespace.c: Likewise.
1162         * support/xsocket.c: Likewise.
1163         * support/xsocket.h: Likewise.
1164         * support/Makefile (libsupport-routines): Add support_become_root,
1165         support_enter_network_namespace, xsocket.
1166         (tests): Add tst-support-namespace.
1168 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1170         [BZ #17252]
1171         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1172         __USE_GNU.
1174 2016-12-31  Torvald Riegel  <triegel@redhat.com>
1176         [BZ #13165]
1177         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1178         use new algorithm.
1179         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1180         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1181         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1182         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1183         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1184         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1185         __condvar_cleanup_waiting, __condvar_dec_grefs,
1186         __pthread_cond_wait_common): New.
1187         (__condvar_cleanup): Remove.
1188         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1189         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1190         Likewise.
1191         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1192         Likewise.
1193         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1194         * nptl/tst-cond1.c: Add comment.
1195         * nptl/tst-cond20.c (do_test): Adapt.
1196         * nptl/tst-cond22.c (do_test): Likewise.
1197         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1198         structure.
1199         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1200         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1201         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1202         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1203         Likewise.
1204         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1205         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1206         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1207         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1208         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1209         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1210         Likewise.
1211         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1212         Likewise.
1213         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1214         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1215         (COND_CLOCK_BITS): Adapt.
1216         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1217         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1218         __PTHREAD_COND_SHARED_MASK): New.
1219         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1220         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1221         * nptl/nptl_lock_constants.pysym: Adapt.
1222         * nptl/test-cond-printers.py: Adapt.
1223         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1224         cond_compat_check_and_clear): Adapt.
1225         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1226         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1227         (__pthread_cond_timedwait): ... and move here.
1228         * nptl/DESIGN-condvar.txt: Remove file.
1229         * nptl/lowlevelcond.sym: Likewise.
1230         * nptl/pthread_cond_timedwait.c: Likewise.
1231         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1232         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1233         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1234         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1235         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1236         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1237         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1238         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1239         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1240         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1241         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1242         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1243         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1244         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1245         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1246         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1248 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
1250         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1251         (fromfp): New declaration.
1252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1255         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1258         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1259         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1260         * math/math.h: Include <bits/types.h>.
1261         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1262         constant and macro.
1263         (FP_INT_DOWNWARD): Likewise.
1264         (FP_INT_TOWARDZERO): Likewise.
1265         (FP_INT_TONEARESTFROMZERO): Likewise.
1266         (FP_INT_TONEAREST): Likewise.
1267         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1268         (fromfpf): Likewise.
1269         (fromfpl): Likewise.
1270         (ufromfp): Likewise.
1271         (ufromfpf): Likewise.
1272         (ufromfpl): Likewise.
1273         (fromfpx): Likewise.
1274         (fromfpxf): Likewise.
1275         (fromfpxl): Likewise.
1276         (ufromfpx): Likewise.
1277         (ufromfpxf): Likewise.
1278         (ufromfpxl): Likewise.
1279         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1280         s_fromfpxF and s_ufromfpxF.
1281         * math/gen-fromfp-tests.py: New file.
1282         * math/gen-fromfp-tests-inputs: Likewise.
1283         * math/libm-test.inc: Include <stdint.h>
1284         (check_intmax_t): New function.
1285         (check_uintmax_t): Likewise.
1286         (struct test_fiu_M_data): New type.
1287         (struct test_fiu_U_data): Likewise.
1288         (RUN_TEST_fiu_M): New macro.
1289         (RUN_TEST_LOOP_fiu_M): Likewise.
1290         (RUN_TEST_fiu_U): Likewise.
1291         (RUN_TEST_LOOP_fiu_U): Likewise.
1292         (fromfp_test_data): New array.
1293         (fromfp_test): New function.
1294         (fromfpx_test_data): New array.
1295         (fromfpx_test): New function.
1296         (ufromfp_test_data): New array.
1297         (ufromfp_test): New function.
1298         (ufromfpx_test_data): New array.
1299         (ufromfpx_test): New function.
1300         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1301         ufromfpx_test.
1302         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1303         characters.
1304         * math/test-tgmath-ret.c: Include <stdint.h>.
1305         (rm): New variable.
1306         (width): Likewise.
1307         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1308         called function.
1309         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1310         CHECK_RET_CONST_TYPE.
1311         (CHECK_RET_CONST_DOUBLE): Likewise.
1312         (CHECK_RET_CONST_LDOUBLE): Likewise.
1313         (CHECK_RET_CONST): Take extra arguments and pass them to calls
1314         macros.
1315         (fromfp): New CHECK_RET_CONST call.
1316         (ufromfp): Likewise.
1317         (fromfpx): Likewise.
1318         (ufromfpx): Likewise.
1319         (do_test): Call check_return_fromfp, check_return_ufromfp,
1320         check_return_fromfpx and check_return_ufromfpx.
1321         * math/test-tgmath.c: Include <stdint.h>
1322         (NCALLS): Increase to 138.
1323         (F(compile_test)): Initialize i.  Call fromfp functions.
1324         (F(fromfp)): New function.
1325         (F(fromfpx)): Likewise.
1326         (F(ufromfp)): Likewise.
1327         (F(ufromfpx)): Likewise.
1328         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1329         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1330         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1331         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1332         ufromfpxl.
1333         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1334         ufromfp and ufromfpx.
1335         * math/fromfp.h: New file.
1336         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1337         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1338         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1339         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1340         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1341         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1342         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1343         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1344         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1345         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1346         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1347         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1348         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1349         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1350         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1351         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1352         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1353         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1354         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1355         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1356         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1357         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1358         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1359         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1360         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1361         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1362         ufromfp, fromfpx and ufromfpx.
1363         (CFLAGS-nldbl-fromfp.c): New variable.
1364         (CFLAGS-nldbl-fromfpx.c): Likewise.
1365         (CFLAGS-nldbl-ufromfp.c): Likewise.
1366         (CFLAGS-nldbl-ufromfpx.c): Likewise.
1367         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1368         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1369         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1370         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1371         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1372         * sysdeps/nacl/libm.abilist: Update.
1373         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1374         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1375         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1376         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1377         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1378         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1379         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1380         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1381         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1382         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1383         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1384         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1386         Likewise.
1387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1388         Likewise.
1389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1390         Likewise.
1391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1392         Likewise.
1393         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1394         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1395         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1396         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1397         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1399         Likewise.
1400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1401         Likewise.
1402         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1403         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1404         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1406 2016-12-30  Florian Weimer  <fweimer@redhat.com>
1408         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1409         compat-gethnamaddr.
1410         (CPPFLAGS): Remove.
1411         * resolv/gethnamaddr.c: Rename ...
1412         * resolv/compat-gethnamaddr.c: ... to this file.
1413         (_endhtent): Make static.
1414         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
1415         symbol.
1416         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
1417         compat symbol.
1418         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
1419         symbol.
1420         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1421         Turn into compat symbol.
1422         * include/resolv.h (_endhtent): Remove declaration.
1424 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
1426         * bits/types.h (__intmax_t): New typedef.
1427         (__uintmax_t): Likewise.
1428         * sysdeps/generic/stdint.h: Include <bits/types.h>.
1429         (intmax_t): Define using __intmax_t.
1430         (uintmax_t): Define using __uintmax_t.
1432         * support/Makefile (tests-special): Make definition conditional on
1433         [$(run-built-tests) = yes].
1434         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1435         on [$(run-built-tests) = yes].
1437 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1439         * Rules (tests): Add tests-printers-programs to tests to be
1440         built.
1442 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1444         * sysvipc/Makefile (tests): Add test-sysvshm.
1445         * sysvipc/test-sysvshm.c: New file.
1447         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1448         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1449         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1450         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1451         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1452         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1453         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1454         Likewise.
1455         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1456         Likewise.
1457         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1458         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1459         is defined.
1461         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1462         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1463         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1464         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1465         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1466         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1467         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1468         Likewise.
1469         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1470         Likewise.
1471         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1472         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1473         defined.
1475         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1476         oldshmctl.
1477         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1478         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1479         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1480         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1481         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1482         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1483         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1484         Likewise.
1485         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1486         Likewise.
1487         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1488         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1489         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1490         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1491         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1492         implementation.
1493         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1494         if it is defined.
1496         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1497         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1498         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1499         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1500         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1501         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1502         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1503         Likewise.
1504         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1505         Likewise.
1506         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1507         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1508         Define to __NR_osf_shmat.
1509         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1510         defined.
1512         * sysvipc/Makefile (tests): Add test-sysvsem.
1513         * sysvipc/test-sysvsem.c: New file.
1515         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1516         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1517         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1518         Likewise.
1519         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1520         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1521         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1522         Likewise.
1523         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1524         Likewise.
1525         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1526         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1527         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1528         add a comment about s390 syscall difference from default one.
1529         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1530         syscall if it is defined.
1532         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1533         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1534         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1535         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1536         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1537         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1538         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1539         Likewise.
1540         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1541         Likewise.
1542         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1543         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1544         defined.
1546         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1547         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1548         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1549         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1550         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1551         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1552         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1553         Likewise.
1554         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1555         Likewise.
1556         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1557         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1558         if it is defined.
1560         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1561         oldsemctl.
1562         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1563         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1564         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1565         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1566         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1567         implementation.
1568         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1569         syscall if it is defined.
1570         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1571         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1572         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1573         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1574         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1575         Likewise.
1576         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1578         * sysvipc/Makefile (tests): Add test-sysvmsg.
1579         * sysvipc/test-sysvmsg.c: New file.
1580         * support/check.h (FAIL_UNSUPPORTED): New define.
1582         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1583         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1584         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1585         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1586         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1587         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1588         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1589         Likewise.
1590         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1591         Likewise.
1592         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1593         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1594         define.
1596         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1597         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1598         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1599         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1600         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1601         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1602         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1603         Likewise.
1604         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1605         Likewise.
1606         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1607         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1608         if defined.
1610         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1611         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1612         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1613         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1614         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1615         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1616         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1617         Likewise.
1618         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1619         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1620         Likewise.
1621         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1622         if defined.
1623         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1625         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1626         oldmsgctl.
1627         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1628         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1629         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1630         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1631         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1632         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1633         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1634         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1635         Likewise.
1636         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1637         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1638         implementation.
1639         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1640         if defined.
1642         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1643         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1644         definition and define its own.
1645         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1646         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1647         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1648         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1649         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1650         definitions to common header.
1651         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1652         operation from ipc_ops.h.
1654         * sysdeps/unix/sysv/linux/kernel-features.h
1655         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1656         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1657         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1658         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1659         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1660         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1661         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1662         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1663         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1664         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1665         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1666         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1667         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1668         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1669         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1671 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1673         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1674         overflow in pointer addition.
1676 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1678         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1679         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1681         (strchr): Add __strchr_power8 to list of strchr functions.
1682         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1683         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1684         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1685         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1686         (strchr): Add __strchr_power8 to ifunc list.
1687         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1688         (__strchrnul): Add __strchrnul_power8 to ifunc list.
1689         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1690         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1692 2016-12-28  Florian Weimer  <fweimer@redhat.com>
1694         * support/Makefile (libsupport-routines): Add
1695         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1696         (tests): Add tst-support_record_failure.
1697         (tests-special): tst-support_record_failure-2.
1698         (tst-support_record_failure-2.out): Depend on
1699         tst-support_record_failure-2.sh and tst-support_record_failure.
1700         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1701         (support_test_verify_impl, support_record_failure)
1702         (support_report_failure, support_report_failure_reset): Declare.
1703         * support/support_test_main.c (adjust_exit_status): New function.
1704         (support_test_main): Call it to incorporate record test failures.
1705         * support/support_test_verify_impl.c: New file.
1706         * support/support_record_failure.c: Likewise.
1707         * support/tst-support_record_failure.c: Likewise.
1708         * support/tst-support_record_failure-2.sh: Likewise.
1709         * support/xunistd.h: Likewise.
1710         * support/xfork.c: Likewise.
1711         * support/xwaitpid.c: Likewise.
1713 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
1715         * scripts/check-c++-types.sh: Add comments.
1717 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
1719         [BZ #19514]
1720         * resolv/res_send.c: Fix typo in comment.
1721         * sysdeps/i386/i386-mcount.S: Likewise.
1722         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1723         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1724         * sysdeps/sparc/sparc-mcount.S: Likewise.
1726 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1728         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1729         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1730         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1731         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1732         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1733         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1734         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1735         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1737 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1739         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1741 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1743         [BZ #17252]
1744         * posix/unistd.h (getentropy): Declare.
1746 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1748         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1749         Remove.
1750         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1751         (cmd): Remove spoof, nospoof, spoofalert.
1752         (parse_line): Ignore spoof-related lines.
1753         (do_init): Do not process RESOLV_SPOOF_CHECK.
1755 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1757         [BZ #20964]
1758         sunrpc: Always obtain AF_INET addresses from NSS.
1759         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1760         * sunrpc/rpc_gethostbyname.c: New file.
1761         * sunrpc/Makefile (routines): Add it.
1762         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1763         * sunrpc/clnt_simp.c (callrpc): Likewise.
1764         * sunrpc/getrpcport.c (getrpcport): Likewise.
1766 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1768         * sunrpc/rpcinfo.c: Remove.
1769         * sunrpc/Makefile: Remove comments referring to rpcinfo.
1771 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1773         [BZ# 19387]
1774         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1775         addition.
1776         * string/test-memchr.c (do_test): Remove alignment limitation.
1777         (test_main): Add test that trigger BZ# 19387.
1779 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1781         [BZ #7065]
1782         Enable stack protectore if requested by ./configure.
1783         * Makeconfig (+stack-protector): New variable.
1784         (+cflags): Use it.
1786 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1788         [BZ #7065]
1789         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1790         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1791         (__rt_sigreturn_stub): Use inhibit_stack_protector.
1792         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1793         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1795 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1797         [BZ #7065]
1798         * login/Makefile (pt_chown-cflags): Remove.
1799         * nscd/Makefile (CFLAGS-nscd): Likewise.
1800         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1802 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1804         [BZ #7065]
1805         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1806         non-libc-linking testcase.
1808 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1809             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1810             Florian Weimer  <fweimer@redhat.com>
1812         [BZ #7065]
1813         PLT avoidance for __stack_chk_fail*.
1814         * debug/Makefile (CFLAGS-stack_chk_fail.c)
1815         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1816         * debug/stack_chk_fail.c (__stack_chk_fail): Add
1817         __stack_chk_fail_local alias.
1818         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1819         (__stack_chk_fail): Turn into hidden reference to
1820         __stack_chk_fail_local.
1822 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1824         [BZ #7065]
1825         * configure.ac: Add check for unsupported stack-protection level.
1826         (libc_cv_predef_stack_protector): Remove.
1827         (no_ssp): New variable.
1828         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1829         (stack_protector): Set to -fno-stack-protector similarly.
1830         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1831         (libc_cv_asm_set_directive): Likewise.
1832         (libc_cv_protected_data): Likewise.
1833         (libc_cv_z_combreloc): Likewise.
1834         (libc_cv_hashstyle): Likewise.
1835         (libc_cv_has_glob_dat): Likewise.
1836         (libc_cv_output_format): Likewise.
1837         (libc_cv_output_format): Likewise.
1838         (libc_cv_ehdr_start): Likewise.
1839         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1840         (LIBC_LINKER_FEATURE): Likewise.
1841         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1843 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1845         [BZ #7065]
1846         * elf/Makefile (dummy-stack-chk-fail): New.
1847         (librtld.map): Use it.
1849 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1851         [BZ #7065]
1852         Compile the dynamic linker without stack protection.
1853         * elf/Makefile (elide-stack-protector): New.
1854         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1855         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1856         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1857         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1859 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1861         [BZ #7065]
1862         * config.make.in (have-ssp, no-stack-protector): New.
1863         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1864         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1865         (CFLAGS-sbrk.op): Likewise.
1866         (CFLAGS-brk.o): Likewise.
1867         (CFLAGS-brk.op): Likewise.
1868         * string/Makefile (CFLAGS-memcpy.c): Likewise.
1869         (CFLAGS-wordcopy.c): Likewise.
1871 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1873         [BZ #7065]
1874         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1875         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1876         * include/libc-symbols.h (inhibit_stack_protector): New macro.
1877         (__ifunc_resolver): Use it.
1878         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1879         inhibit_stack_protector.
1880         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1881         * elf/ifuncmain7.c (foo_ifunc): Likewise.
1882         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1883         (foo_protected_ifunc): Likewise.
1884         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1885         (foo_protected_ifunc): Likewise.
1886         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1887         * sysdeps/nacl/nacl_interface_query.c
1888         (nacl_interface_query_ifunc): Likewise.
1889         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1890         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1891         Likewise.
1892         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1893         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1894         the generated vDSO syscall resolver.
1896 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1897             Florian Weimer  <fweimer@redhat.com>
1899         [BZ #7065]
1900         Initialize the stack guard earlier when linking statically.
1901         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1902         (__pthread_initialize_minimal): Declare.
1903         * csu/libc-start.c (__pthread_initialize_minimal): Remove
1904         declaration.
1905         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
1906         stack canary and apply_irel initialization up.  Call
1907         __pthread_initialize_minimal only if linked in.
1908         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1909         constant values.
1910         (__pthread_initialize_minimal): Remove.
1911         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1912         (__pthread_initialize_minimal_internal): Do not call
1913         __libc_setup_tls.
1915 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1917         [BZ #7065]
1918         * configure.ac (libc_cv_ssp): Move up.
1919         (libc_cv_ssp_strong): Likewise.
1920         (libc_cv_ssp_all): New.
1921         (stack_protector): Augment, adding -fstack-protector-all.
1922         (no_stack_protector): New.
1923         (STACK_PROTECTOR_LEVEL): New.
1924         (AC_ARG_ENABLE(stack-protector)): New configure flag.
1925         * manual/install.texi (--enable-stack-protector): Document it.
1926         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1928 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
1930         * README.pretty-printers: Must specify CPPFLAGS-* also.
1931         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1932         (CPPFLAGS-test-mutex-printers.c): Define.
1933         (CPPFLAGS-test-condattr-printers.c): Define.
1934         (CPPFLAGS-test-cond-printers.c): Define.
1935         (CPPFLAGS-test-rwlockattr-printers.c): Define.
1936         (CPPFLAGS-test-rwlock-printers.c): Define.
1938         * nss/Makefile [ifeq (yes,$(have-thread-library))]
1939         (tests): Add tst-cancel-getpwuid_r.
1940         * nss/tst-cancel-getpwuid_r.c: New file.
1942         [BZ #11941]
1943         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1944         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1945         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1946         tst-nodelete-dlclose.
1947         (modules-names): Add tst-nodelete-dlclose-dso and
1948         tst-nodelete-dlclose-plugin.
1949         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1950         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1951         ($(objpfx)tst-nodelete-dlclose): Define.
1952         ($(objpfx)tst-nodelete-dlclose.out): Define.
1954 2016-12-23  Florian Weimer  <fweimer@redhat.com>
1956         * scripts/test_printers_common.py: Log GDB output in case of
1957         Python detection failure.
1959 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1961         * configure.ac: Check for python3 or python.
1962         * configure: Regenerated.
1963         * config.make.in (PYTHON): New variable.
1964         * benchtests/Makefile: Don't define PYTHON.
1965         (bench): Define target only if PYTHON was defined.
1966         * Rules: Don't define PYTHON.
1967         Define pretty printer targets only if PYTHON was defined.
1968         (tests-printers): Add to tests-unsupported if PYTHON is not
1969         found.
1970         (python-flags, python-invoke): Remove.
1971         (tests-printers-out): Use PYTHON instead of python-invoke.
1973 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1975         [BZ #20978]
1976         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1977         Compare name == NULL, not name != NULL.
1979         * manual/texinfo.tex: Update to version 2016-09-18.18 with
1980         trailing whitespace removed.
1981         * scripts/config.guess: Update to version 2016-10-02.
1982         * scripts/config.sub: Update to version 2016-11-19.
1983         * scripts/install-sh: Update to version 2016-01-11.22.
1984         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1985         * scripts/move-if-change: Update to version 2016-01-11 22:04.
1987 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
1989         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1990         (do_one_test) Restore original string so iteration works.
1991         * string/string-inlines.c (do_test): Create better input strings.
1992         (test_main) Reduce number of testruns.
1993         * string/string-inlines.c (__old_strsep_1c): New function.
1994         (__old_strsep_2c): Likewise.
1995         (__old_strsep_3c): Likewise.
1996         * string/strsep.c (__strsep): Remove case of small delim string.
1997         Call strcspn directly rather than strpbrk.
1998         * string/bits/string2.h (__strsep): Remove define.
1999         (__strsep_1c): Remove.
2000         (__strsep_2c): Remove.
2001         (__strsep_3c): Remove.
2002         (strsep): Remove.
2003         * sysdeps/unix/sysv/linux/internal_statvfs.c
2004         (__statvfs_getflags): Rename to __strsep.
2006 2016-12-21  Florian Weimer  <fweimer@redhat.com>
2008         * csu/libc-tls.c (_dl_tls_setup): Remove.
2009         * elf/dl-tls.c (_dl_tls_setup): Likewise.
2010         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
2011         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
2013 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
2015         [BZ #7065]
2016         * sysdeps/x86_64/Makefile [$(subdir) = elf]
2017         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
2019 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
2020             Florian Weimer  <fweimer@redhat.com>
2022         [BZ #7065]
2023         * csu/Makefile (tests): Empty assignment and document it.
2024         (tests-static): Remove.
2025         * csu/tst-empty.c: Move to...
2026         * misc/tst-empty.c: ... here.  Switch to new test driver.
2027         * csu/tst-atomic.c: Move to...
2028         * misc/tst-atomic.c: ... here.  Switch to new test driver.
2029         * csu/tst-atomic-long.c: Move to...
2030         * misc/tst-atomic-long.c: ... here.
2031         * misc/Makefile (tests): Add tst-empty, tst-atomic,
2032         tst-atomic-long.
2033         (tests-static): Add tst-empty.
2035 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
2037         * manual/nss.texi: Change incorrect @vtable to @table.
2038         * manual/arith.texi: Convert @tables of variables to @vtables
2039         and remove unnecessary indexing.
2040         * manual/filesys.texi: Likewise.
2041         * manual/llio.texi: Likewise.
2042         * manual/memory.texi: Likewise.
2043         * manual/process.texi: Likewise.
2044         * manual/resource.texi: Likewise.
2045         * manual/search.texi: Likewise.
2046         * manual/signal.texi: Likewise.
2047         * manual/socket.texi: Likewise.
2048         * manual/stdio.texi: Likewise.
2049         * manual/sysinfo.texi: Likewise.
2050         * manual/syslog.texi: Likewise.
2051         * manual/terminal.texi: Likewise.
2052         * manual/time.texi: Likewise.
2053         * manual/users.texi: Likewise.
2055 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
2057         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2058         (roundeven): New declaration.
2059         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
2060         macro.
2061         * math/Versions (roundeven): New libm symbol at version
2062         GLIBC_2.25.
2063         (roundevenf): Likewise.
2064         (roundevenl): Likewise.
2065         * math/Makefile (libm-calls): Add s_roundevenF.
2066         * math/libm-test.inc (roundeven_test_data): New array.
2067         (roundeven_test): New function.
2068         (main): Call roundeven_test.
2069         * math/test-tgmath.c (NCALLS): Increase to 134.
2070         (F(compile_test)): Call roundeven.
2071         (F(roundeven)): New function.
2072         * manual/arith.texi (Rounding Functions): Document roundeven,
2073         roundevenf and roundevenl.
2074         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
2075         * include/math.h (roundeven): Use libm_hidden_proto.
2076         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
2077         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
2078         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
2079         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
2080         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
2081         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
2082         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2083         roundeven.
2084         (CFLAGS-nldbl-roundeven.c): New variable.
2085         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
2086         * sysdeps/nacl/libm.abilist: Update.
2087         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2088         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2089         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2090         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2091         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2092         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2093         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2094         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2095         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2096         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2097         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2098         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2100         Likewise.
2101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2102         Likewise.
2103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2104         Likewise.
2105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2106         Likewise.
2107         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2108         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2109         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2110         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2111         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2113         Likewise.
2114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2115         Likewise.
2116         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2117         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2118         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2120 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2122         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
2123         preprocessor indentation inside #if.
2125 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2127         * math/libm-test.inc (fmt_ftostr): New function.
2128         (print_float, check_float_internal): Replace some uses of
2129         FTOSTR with uses of fmt_ftostr.
2130         (print_max_error, print_complex_max_error, print_function_ulps)
2131         (print_complex_function_ulps): Remove uses of the macros
2132         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
2133         * math/test-double.h (FTOSTR): Define to strfromd.
2134         (PRINTF_EXPR): Delete.
2135         (PRINTF_XEXPR): Likewise.
2136         (PRINTF_NEXPR): Likewise.
2137         * math/test-float.h (FTOSTR): Define to strfromf.
2138         (PRINTF_EXPR): Delete.
2139         (PRINTF_XEXPR): Likewise.
2140         (PRINTF_NEXPR): Likewise.
2141         * math/test-ldouble.h (FTOSTR): Define to strfroml.
2142         (PRINTF_EXPR): Delete.
2143         (PRINTF_XEXPR): Likewise.
2144         (PRINTF_NEXPR): Likewise.
2146 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2148         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2149         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2150         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2151         (__lll_lock_elision): Decrement adapt_count while unlocking
2152         instead of before locking.
2153         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2154         (__lll_trylock_elision): Likewise.
2155         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2156         (__lll_unlock_elision): Likewise.
2158 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2160         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2161         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2162         Use __libc_tbegin_retry macro.
2164 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2166         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2167         Add -msoft-float.
2168         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2169         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2170         Use __libc_t* transaction macros instead of __builtin_t*.
2171         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2172         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2174 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2176         * sysdeps/unix/sysv/linux/s390/elision-lock.c
2177         (__lll_lock_elision): Use atomics to load / store adapt_count.
2178         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2179         (__lll_trylock_elision): Likewise.
2181 2016-12-20  Florian Weimer  <fweimer@redhat.com>
2183         Do not require memset elimination in explicit_bzero test.
2184         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2185         (enum test_expectation): Add NO_EXPECTATIONS.
2186         (subtests): NO_EXPECTATIONS for ordinary clear.
2187         (check_test_buffer): Handle NO_EXPECTATIONS.
2188         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2190 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2192         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2193         (fmaxmag): New declaration.
2194         (fminmag): Likewise.
2195         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2196         macro.
2197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2198         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2199         (fmaxmagf): Likewise.
2200         (fmaxmagl): Likewise.
2201         (fminmag): Likewise.
2202         (fminmagf): Likewise.
2203         (fminmagl): Likewise.
2204         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2205         * math/s_fmaxmag_template.c: New file.
2206         * math/s_fminmag_template.c: Likewise.
2207         * math/libm-test.inc (fmaxmag_test_data): New array.
2208         (fmaxmag_test): New function.
2209         (fminmag_test_data): New array.
2210         (fminmag_test): New function.
2211         (main): Call fmaxmag_test and fminmag_test.
2212         * math/test-tgmath.c (NCALLS): Increase to 132.
2213         (F(compile_test)): Call fmaxmag and fminmag.
2214         (F(fminmag)): New function.
2215         (F(fmaxmag)): Likewise.
2216         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2217         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2218         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2219         fminmag.
2220         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2221         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2222         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2223         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2224         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2225         and fminmag.
2226         (CFLAGS-nldbl-fmaxmag.c): New variable.
2227         (CFLAGS-nldbl-fminmag.c): Likewise.
2228         * sysdeps/nacl/libm.abilist: Update.
2229         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2230         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2231         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2232         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2233         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2234         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2235         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2236         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2237         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2238         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2239         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2240         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2242         Likewise.
2243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2244         Likewise.
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2246         Likewise.
2247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2248         Likewise.
2249         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2250         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2251         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2252         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2253         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2255         Likewise.
2256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2257         Likewise.
2258         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2259         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2260         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2262 2016-12-19  Torvald Riegel  <triegel@redhat.com>
2264         [BZ #20973]
2265         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2266         wake-up in robust mutexes.
2267         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2269 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2271         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2272         (CFLAGS-bench-fmaxf.c): New rule.
2273         (CFLAGS-bench-fminf.c): Likewise.
2274         * benchtests/fmaxf-inputs: New file.
2275         * benchtests/fminf-inputs: Likewise.
2277         * benchtests/Makefile (bench-math): Add fmin and fmax.
2278         (CFLAGS-bench-fmax.c): New rule.
2279         (CFLAGS-bench-fmin.c): Likewise.
2280         * benchtests/fmax-inputs: New file.
2281         * benchtests/fmin-inputs: Likewise.
2283         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2284         parenthesis.
2285         (CMDLINE_PROCESS): Define using function instead of macro.
2286         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2287         of test-skeleton.
2288         * benchtests/bench-memchr.c: Likewise.
2289         * benchtests/bench-memcmp.c: Likewise.
2290         * benchtests/bench-memcpy-large.c: Likewise.
2291         * benchtests/bench-memcpy.c: Likewise.
2292         * benchtests/bench-memmem.c: Likewise.
2293         * benchtests/bench-memmove-large.c: Likewise.
2294         * benchtests/bench-memmove.c: Likewise.
2295         * benchtests/bench-memset-large.c: Likewise.
2296         * benchtests/bench-memset.c: Likewise.
2297         * benchtests/bench-rawmemchr.c: Likewise.
2298         * benchtests/bench-strcasecmp.c: Likewise.
2299         * benchtests/bench-strcasestr.c: Likewise.
2300         * benchtests/bench-strcat.c: Likewise.
2301         * benchtests/bench-strchr.c: Likewise.
2302         * benchtests/bench-strcmp.c: Likewise.
2303         * benchtests/bench-strcpy.c: Likewise.
2304         * benchtests/bench-strcpy_chk.c: Likewise.
2305         * benchtests/bench-strlen.c: Likewise.
2306         * benchtests/bench-strncasecmp.c: Likewise.
2307         * benchtests/bench-strncmp.c: Likewise.
2308         * benchtests/bench-strncpy.c: Likewise.
2309         * benchtests/bench-strnlen.c: Likewise.
2310         * benchtests/bench-strpbrk.c: Likewise.
2311         * benchtests/bench-strrchr.c: Likewise.
2312         * benchtests/bench-strsep.c: Likewise.
2313         * benchtests/bench-strspn.c: Likewise.
2314         * benchtests/bench-strstr.c: Likewise.
2315         * benchtests/bench-strtok.c: Likewise.
2317 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2319         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2320         stepping identification.
2321         (init_cpu_features): Add handle of Haswell.
2323 2016-11-25  Jim Meyering  <meyering@fb.com>
2325         [BZ #20386]
2326         Let gcc detect assert(a = 1) errors.
2327         * assert/assert.h (assert): Rewrite, retaining the old definintion
2328         when required, but otherwise putting the expression as-is in an "if"
2329         expression (hence, with no added parentheses) within a statement
2330         expression.
2332 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2334         * benchtests/Makefile (binaries-benchset): Depend on libsupport
2335         DSO.
2337 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
2339         * Rules (python-flags, python-invoke): New.
2340         ($(test-printers-out)): Use $(python-flags).
2342 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2344         * manual/arith.texi (Math Error Reporting): Document that sNaN
2345         arguments are not considered domain errors.
2347 2016-12-16  Zack Weinberg <zackw@panix.com>
2348             Florian Weimer <fweimer@redhat.com>
2349             Nick Mathewson <nickm@torproject.org>
2351         * string/explicit_bzero.c: New routine.
2352         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2353         * string/Makefile (routines, strop-tests, tests): Add them.
2354         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2355         * string/string.h [__USE_MISC]: Declare explicit_bzero.
2357         * debug/explicit_bzero_chk.c: New routine.
2358         * debug/Makefile (routines): Add it.
2359         * debug/tst-chk1.c: Test fortification of explicit_bzero.
2360         * string/bits/string3.h: Fortify explicit_bzero.
2362         * manual/string.texi: Document explicit_bzero.
2363         * NEWS: Mention addition of explicit_bzero.
2365         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2366         data before returning, using explicit_bzero.
2367         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2368         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2369         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2371         * include/string.h: Redirect internal uses of explicit_bzero
2372         to __explicit_bzero_chk[_internal].
2373         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2374         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2375         * sysdeps/arm/nacl/libc.abilist
2376         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2377         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2378         * sysdeps/unix/sysv/linux/arm/libc.abilist
2379         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2380         * sysdeps/unix/sysv/linux/i386/libc.abilist
2381         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2382         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2383         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2384         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2385         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2386         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2387         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2388         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2389         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2394         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2395         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2396         * sysdeps/unix/sysv/linux/sh/libc.abilist
2397         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2398         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2401         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2402         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2403         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2404         Add entries for explicit_bzero and __explicit_bzero_chk.
2406 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2408         * math/fenv.h
2409         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2410         (FE_SNANS_ALWAYS_SIGNAL): New macro.
2411         * math/test-fe-snans-always-signal.c: New file.
2412         * math/Makefile (tests): Add test-fe-snans-always-signal.
2413         (CFLAGS-test-fe-snans-always-signal.c): New variable.
2414         * manual/arith.texi (Infinity and NaN): Document
2415         FE_SNANS_ALWAYS_SIGNAL.
2417 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2419         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2420         bracket.
2422 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2424         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2425         before calling execv.
2427 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2429         [BZ# 20971]
2430         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2431         overflow in pointer addition.
2432         * string/test-memchr.c (do_test): Add an argument to pass as
2433         the size on memchr.
2434         (test_main): Add check for SIZE_MAX.
2436 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2438         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2439         (libm-calls): Add w_scalblnF.
2440         * math/w_scalbln.c: Remove.
2441         * math/w_scalblnf.c: Likewise.
2442         * math/w_scalblnl.c: Likewise.
2443         * math/w_scalbln_template.c: New file with type-generic
2444         implementation based on math/w_scalbln.c.
2445         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2446         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2448 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2450         [BZ #20947]
2451         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2452         either is a signaling NaN.
2453         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
2454         follow fmaxl more closely.
2455         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2456         when either is a signaling NaN.
2457         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2458         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2459         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2460         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2461         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2462         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2463         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2464         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2465         (fmin_test_data): Likewise.
2467 2016-12-15  Andreas Schwab  <schwab@suse.de>
2469         * support/support_test_main.c (support_test_main): Don't shadow
2470         file-local variable test_pid.
2472 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2474         [BZ #20947]
2475         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2476         either is a signaling NaN.
2477         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2479 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2481         [BZ #20947]
2482         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2483         when either is a signaling NaN.
2484         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2486         * bits/long-double.h: New file.
2487         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2488         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2489         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2490         * sysdeps/mips/bits/long-double.h: Likewise.
2491         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2492         * math/Makefile (headers): Add bits/long-double.h.
2493         * misc/sys/cdefs.h: Include <bits/long-double.h>.
2494         * stdlib/strtold.c: Include <bits/long-double.h> instead of
2495         <bits/wordsize.h>.
2496         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2497         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2498         * math/math.h: Do not include <bits/mathdef.h>.
2499         * sysdeps/aarch64/bits/mathdef.h: Remove file.
2500         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2501         inclusion.
2502         * sysdeps/ia64/bits/mathdef.h: Remove file.
2503         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2504         * sysdeps/mips/bits/mathdef.h: Likewise.
2505         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2506         * sysdeps/s390/bits/mathdef.h: Likewise.
2507         * sysdeps/sparc/bits/mathdef.h: Likewise.
2508         * sysdeps/x86/bits/mathdef.h: Likewise.
2509         * sysdeps/s390/s390-32/bits/wordsize.h
2510         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2511         conditional code.
2512         * sysdeps/s390/s390-64/bits/wordsize.h
2513         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2514         Likewise.
2515         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2516         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2517         Likewise.
2518         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2519         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2520         Likewise.
2521         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2522         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2523         Likewise.
2525         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2526         <linux/falloc.h>.
2527         (FALLOC_FL_KEEP_SIZE): Remove.
2528         (FALLOC_FL_PUNCH_HOLE): Likewise.
2529         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2530         (FALLOC_FL_ZERO_RANGE): Likewise.
2532 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2534         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2536 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2538         * sysdeps/unix/sysv/linux/renameat.c: New file.
2539         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2541         * sysdeps/unix/sysv/linux/rename.c: New file.
2542         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2544 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2546         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2547         * string/strtok.c (strtok): Change to tailcall __strtok_r.
2548         * string/strtok_r.c (__strtok_r): Optimize for performance.
2549         * string/string-inlines.c (__old_strtok_r_1c): New function.
2550         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2552 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2554         * math/Makefile (gen-libm-calls): Add w_log1pF.
2555         (libm-calls): Remove w_log1pF.
2556         * math/w_log1p.c: Remove.
2557         * math/w_log1pf.c: Likewise.
2558         * math/w_log1pl.c: Likewise.
2559         * math/w_log1p_template.c: New file with type-generic
2560         implementation based on math/w_log1p.c.
2561         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2562         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2564 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2566         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2568 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2570         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2571         kernel version to 4.9.
2573 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
2575         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2576         ($(inst_libdir)/libm.a): Fix rule to create the target only.
2578 2016-12-13  Andreas Schwab  <schwab@suse.de>
2580         * sysdeps/powerpc/dl-procinfo.c: Don't define
2581         _dl_powerpc_platforms.
2582         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2583         constants instead of referencing _dl_powerpc_platforms.
2584         (_dl_platform_string): Remove.
2586 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2588         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2590 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2592         * Rules (binaries-shared-tests, binaries-pie-tests)
2593         (binaries-static-tests): Link with $(link-extra-libs-tests).
2594         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2595         Remove $(link-extra-libs-tests).
2597 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2599         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2600         (sysdep_routines): Add strncmp_power9.
2601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2602         (strncmp): Add __strncmp_power9 to list of strncmp functions.
2603         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2604         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2605         (strncmp): Add __strncmp_power9 to ifunc list.
2606         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2608 2016-12-12  Florian Weimer  <fweimer@redhat.com>
2610         [BZ #17252]
2611         Add getentropy, getrandom.
2612         * stdlib/sys/random.h: New file.
2613         (headers): Add it.
2614         * stdlib/Makefile (routines): Add getentropy, getrandom.
2615         (tests): Add tst-getrandom.
2616         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2617         * stdlib/getentropy.c: New file.
2618         * stdlib/getrandom.c: Likewise.
2619         * stdlib/tst-getrandom.c: Likewise.
2620         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2621         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2622         * manual/crypt.texi (Unpredictable Bytes): New section.
2623         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2624         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2625         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2626         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2627         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2628         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2629         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2630         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2631         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2632         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2633         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2634         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2635         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2636         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2637         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2638         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2640         Likewise.
2641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2642         Likewise.
2643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2645         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2646         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2647         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2648         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2649         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2652         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2653         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2654         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2656 2016-12-10  Florian Weimer  <fweimer@redhat.com>
2658         [BZ #20956]
2659         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2660         as additional compiler barriers.
2661         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2662         (fn2, do_test): Declare with external linkage.
2663         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2664         (do_test): Declare with external linkage.
2665         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2666         (do_test): Declare with external linkage.
2667         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2668         (do_test): Declare with external linkage.
2670 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
2672         * support/support_test_main.c (support_test_main): Use correct
2673         timeout.
2675 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
2676             Florian Weimer  <fweimer@redhat.com>
2678         [BZ #16421]
2679         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2680         and __u6_addr32 members.
2681         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2682         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2683         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2684         Use __u6_addr32.
2685         * inet/tst-checks.c: Use <support/test-driver.c>
2686         * inet/tst-checks-posix.c: New file.
2687         * inet/Makefile (tests): Add it.
2688         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2690 2016-12-09  Florian Weimer  <fweimer@redhat.com>
2692         New subdirectory support for build and test infrastructure.
2693         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
2694         setting install-lib.
2695         * Makeconfig (link-extra-libs-tests): Define.
2696         (+link-pie-tests, +link-static-tests, +link-tests): Use
2697         link-extra-libs-tests.
2698         (rpath-dirs, all-subdirs): Add support.
2699         (built-modules): Add libsupport.
2700         (libsupport): Define.
2701         * support: New directory.
2702         * support/Makefile: New file.
2703         * support/check.c: Likewise.
2704         * support/check.h: Likewise.
2705         * support/delayed_exit.c: Likewise.
2706         * support/ignore_stderr.c: Likewise.
2707         * support/oom_error.c: Likewise.
2708         * support/set_fortify_handler.c: Likewise.
2709         * support/support.h: Likewise.
2710         * support/temp_file-internal.h: Likewise.
2711         * support/temp_file.c: Likewise.
2712         * support/test-driver.c: Likewise.
2713         * support/test-driver.h: Likewise.
2714         * support/test_main.c: Likewise.
2715         * support/write_message.c: Likewise.
2716         * support/xasprintf.c: Likewise.
2717         * support/xcalloc.c: Likewise.
2718         * support/xmalloc.c: Likewise.
2719         * support/xpthread_barrier_destroy.c: Likewise.
2720         * support/xpthread_barrier_init.c: Likewise.
2721         * support/xpthread_barrier_wait.c: Likewise.
2722         * support/xpthread_cancel.c: Likewise.
2723         * support/xpthread_check_return.c: Likewise.
2724         * support/xpthread_cond_wait.c: Likewise.
2725         * support/xpthread_create.c: Likewise.
2726         * support/xpthread_detach.c: Likewise.
2727         * support/xpthread_join.c: Likewise.
2728         * support/xpthread_mutex_lock.c: Likewise.
2729         * support/xpthread_mutex_unlock.c: Likewise.
2730         * support/xpthread_sigmask.c: Likewise.
2731         * support/xpthread_spin_lock.c: Likewise.
2732         * support/xpthread_spin_unlock.c: Likewise.
2733         * support/xrealloc.c: Likewise.
2734         * support/xsignal.h: Likewise.
2735         * support/xthread.h: Likewise.
2736         * support_tempfile.h: Likewise.
2737         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2738         (TEST_DATA_LIMIT): Remove unused macro.
2739         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
2740         <support/check.h>.
2741         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2742         (ignore_stderr, set_fortify_handler): Remove.  Now in
2743         <support/support.h>.
2744         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
2745         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2746         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2747         (xpthread_join): Remove.  Now in <support/xthread.h>.
2748         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2749         Introduce legacy wrappers.
2750         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2751         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2752         (write_message): Remove.
2753         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2754         test-skeleton.c.
2755         * io/test-open-tmpfile: Likewise.
2756         * io/tst-posix_fallocate-common.c: Likewise.
2757         * libio/tst-fseek.c: Likewise.
2758         * malloc/tst-malloc-backtrace.c: Likewise.
2759         * malloc/tst-malloc-fork-deadlock.c: Likewise.
2760         * malloc/tst-malloc-thread-exit.c: Likewise.
2761         * nptl/tst-cancel7.c: Likewise.
2762         * nptl/tst-cleanup0.c: Likewise.
2763         * posix/tst-posix_fadvise-common.c: Likewise.
2764         * rt/tst-shm.c: Likewise.
2765         * time/bug-getdate1.c: Likewise.
2766         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2767         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2768         * elf/Makefile (tst-piemod1.so): Link against libsupport.
2770 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
2772         * Rules [$(run-built-tests) != no] (tests-expected): Add
2773         $(tests-printers).
2774         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2776 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2778         [BZ #20539]
2779         * math/Makefile (install-lib-ldscripts): Add libm.a.
2780         (install_subdir): Remove.
2781         (install-others): Add.
2782         ($(inst_libdir)/libm.a): Add rule for installation as
2783         linker script.
2784         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2786 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
2788         * INSTALL: Regenerated.
2789         * Makeconfig: Add comments and whitespace to make the control flow
2790         clearer.
2791         (+link-printers-tests, +link-pie-printers-tests,
2792         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2793         built-rtld-LDFLAGS, link-libc-rpath,
2794         link-libc-tests-after-rpath-link,
2795         link-libc-printers-tests): New.
2796         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2797         link-libc-tests): Use the new variables as required.
2798         * Makerules ($(py-const)): New rule.
2799         generated: Add $(py-const).
2800         * README.pretty-printers: New file.
2801         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2802         (others): Depend on $(py-const).
2803         (tests): Depend on $(tests-printers-programs) or
2804         $(tests-printers-out),
2805         as required.  Pass $(tests-printers) to merge-test-results.sh.
2806         * manual/install.texi: Add requirements for testing the pretty
2807         printers.
2808         * nptl/Makefile (gen-py-const-headers, pretty-printers,
2809         tests-printers, CFLAGS-test-mutexattr-printers.c
2810         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2811         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2812         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2813         * nptl/nptl-printers.py: New file.
2814         * nptl/nptl_lock_constants.pysym: Likewise.
2815         * nptl/test-cond-printers.c: Likewise.
2816         * nptl/test-cond-printers.py: Likewise.
2817         * nptl/test-condattr-printers.c: Likewise.
2818         * nptl/test-condattr-printers.py: Likewise.
2819         * nptl/test-mutex-printers.c: Likewise.
2820         * nptl/test-mutex-printers.py: Likewise.
2821         * nptl/test-mutexattr-printers.c: Likewise.
2822         * nptl/test-mutexattr-printers.py: Likewise.
2823         * nptl/test-rwlock-printers.c: Likewise.
2824         * nptl/test-rwlock-printers.py: Likewise.
2825         * nptl/test-rwlockattr-printers.c: Likewise.
2826         * nptl/test-rwlockattr-printers.py: Likewise.
2827         * scripts/gen-py-const.awk: Likewise.
2828         * scripts/test_printers_common.py: Likewise.
2829         * scripts/test_printers_exceptions.py: Likewise.
2831 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2833         * scripts/build-many-glibcs.py (Context.__init__): Take strip
2834         argument.
2835         (Glibc.build_glibc): Strip installed shared libraries if
2836         requested.
2837         (get_parser): Add --strip option.
2838         (main): Update Context call.
2840 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2841             Dominik Vogt  <vogt@linux.vnet.ibm.com>
2843         [BZ #20847]
2844         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2845         array bounds for else branch.
2846         (__execvpe): Style fixes.
2847         * posix/tst-vfork3.c (run_script): New function.
2848         (create_script): Likewise.
2849         (do_test): Use run_script internal function.
2850         (do_prepare): Use create_script internal function.
2852 2016-12-07  Andreas Schwab  <schwab@suse.de>
2854         * sysdeps/unix/sysv/linux/x86/elision-conf.h
2855         (__elision_available): Don't declare.
2856         * sysdeps/unix/sysv/linux/x86/elision-conf.c
2857         (__elision_available): Don't define.
2858         (elision_init): Don't set __elision_available.
2860 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2862         [BZ #20940]
2863         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2864         return Inf for arguments Inf and sNaN.
2865         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2866         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2867         Likewise.
2868         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2869         Likewise.
2870         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2871         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2872         for arguments Inf and sNaN.  When returning a NaN, compute it by
2873         arithmetic on the arguments.
2874         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2875         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2876         arguments.
2878 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
2880         [BZ #20916]
2881         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2882         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2883         to compute result.
2884         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2885         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2887 2016-12-05  Torvald Riegel  <triegel@redhat.com>
2889         * include/atomic.h (__atomic_check_size_ls): New.
2890         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2891         atomic_store_release): Use it.
2892         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2893         (elision_adapt, ELIDE_LOCK): Use atomics.
2894         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2895         atomics and improve code comments.
2896         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2897         (__lll_trylock_elision): Likewise.
2899 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2901         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2902         programs.
2904 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2906         [BZ #20916]
2907         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2908         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
2909         arguments to compute result.
2910         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2911         1 for arguments (sNaN, 0) or (1, sNaN).
2912         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2913         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2915         [BZ #20919]
2916         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2917         NaN first argument when raised to power 0.
2918         * math/w_pow.c (__pow): Do not check for NaN or zero results from
2919         raising to power zero.
2920         * math/w_powf.c (__powf): Likewise.
2921         * math/w_powl.c (__powl): Likewise.
2922         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2923         pow (0, 0) or pow (NaN, 0).
2925 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
2927         [BZ #20918]
2928         * configure.ac: Test for static NSS cryptographic libraries and set
2929         libc_cv_static_nss_crypt.
2930         * configure: Regenerate.
2931         * config.make.in (static-nss-crypt): Define.
2932         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2933         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2934         (CFLAGS-tst-linkall-static.c): Define.
2935         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2936         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2937         ($(objpfx)tst-linkall-static): Define.
2938         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2939         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2941 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2943         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2944         (one-hundred, tst-tls-many-dynamic-modules): Define.
2945         (modules-names): Add $(tst-tls-many-dynamic-modules).
2946         (tst-tls-manydynamic%mod.os): Build with special preprocessor
2947         macros.
2948         (tst-tls-manydynamic): Link against libdl, libpthread.
2949         (tst-tls-manydynamic.out): The test needs the test modules at run
2950         time.
2951         * elf/tst-tls-manydynamic.c: New file.
2952         * elf/tst-tls-manydynamic.h: Likewise.
2953         * elf/tst-tls-manydynamicmod.c: Likewise.
2955 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2957         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2958         (TLS_DTV_UNALLOCATED): Add.
2959         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2960         offsets.
2962 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2964         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2966 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2968         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2969         Add -fno-optimize-sibling-calls.
2971 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2973         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2974         New declaration.
2975         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2976         macro.
2977         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2978         New macro.
2979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2981         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2982         (llogbf): Likewise.
2983         (llogbl): Likewise.
2984         * math/Makefile (gen-libm-calls): Add w_llogbF.
2985         (tests): Add test-fp-llogb-constants.
2986         * math/w_llogb_template.c: New file.  Based on
2987         math/w_ilogb_template.c.
2988         * math/libm-test.inc (llogb_test_data): New array.
2989         (llogb_test): New function.
2990         (main): Call llogb_test.
2991         * math/test-fp-llogb-constants.c: New file.  Based on
2992         math/test-fp-ilogb-constants.c.
2993         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2994         (do_test): Call check_return_llogb.
2995         * math/test-tgmath.c (NCALLS): Increase to 126.
2996         (F(compile_test)): Call llogb.
2997         (F(llogb)): New function.
2998         * manual/math.texi (Exponents and Logarithms): Document llogb,
2999         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
3000         * manual/libm-err-tab.pl (@all_functions): Add llogb.
3001         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
3002         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3003         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
3004         (CFLAGS-nldbl-llogb.c): New variable.
3005         * sysdeps/nacl/libm.abilist: Update.
3006         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3007         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3008         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3009         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3010         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3011         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3012         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3013         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3014         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3015         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3016         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3017         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3019         Likewise.
3020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3021         Likewise.
3022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3023         Likewise.
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3025         Likewise.
3026         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3027         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3028         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3029         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3030         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3032         Likewise.
3033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3034         Likewise.
3035         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3036         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3037         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3039 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
3041         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
3042         _Float128 instead of long double.
3043         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
3045         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
3046         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
3047         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
3048         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
3049         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
3050         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
3051         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
3052         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3053         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
3054         Likewise.
3056 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3058         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
3059         Remove redirection to __strrchr_ppc.
3061 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3063         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3064         (sysdep_routines): Add strcmp_power9.
3065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3066         (strcmp): Add __strcmp_power9 to list of strcmp functions.
3067         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
3068         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3069         (strcmp): Add __strcmp_power9 to ifunc list.
3070         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
3072 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
3074         * bits/fp-logb.h: New file.
3075         * sysdeps/ia64/bits/fp-logb.h: Likewise.
3076         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
3077         * sysdeps/x86/bits/fp-logb.h: Likewise.
3078         * math/Makefile (headers): Add bits/fp-logb.h.
3079         * math/math.h: Include <bits/fp-logb.h>.
3080         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
3081         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
3082         * bits/mathdef.h (FP_ILOGB0): Remove.
3083         (FP_ILOGBNAN): Likewise.
3084         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
3085         (FP_ILOGBNAN): Likewise.
3086         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
3087         (FP_ILOGBNAN): Likewise.
3088         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
3089         (FP_ILOGBNAN): Likewise.
3090         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
3091         (FP_ILOGBNAN): Likewise.
3092         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
3093         (FP_ILOGBNAN): Likewise.
3094         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
3095         (FP_ILOGBNAN): Likewise.
3096         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
3097         (FP_ILOGBNAN): Likewise.
3098         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
3099         (FP_ILOGBNAN): Likewise.
3100         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
3101         (FP_ILOGBNAN): Likewise.
3103         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
3104         time module.
3105         (Context.__init__): Initialize self.logsdir_old.
3106         (Context.run_builds): Handle bot action.
3107         (Context.bot_cycle): Copy logs directory before running builds.
3108         (Context.bot_run_self): Take argument for whether to check
3109         subprocess result.  Flush stdout before running subprocess.
3110         (Context.bot): New function.
3111         (get_parser): Allow bot action.
3113 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
3115         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
3116         Import email.mime.text, email.utils and smtplib modules.
3117         (Context.__init__): Initialize self.bot_config_json.
3118         (Context.run_builds): Handle bot-cycle action.
3119         (Context.load_bot_config_json): New function.
3120         (Context.part_build_old): Likewise.
3121         (Context.bot_cycle): Likewise.
3122         (Context.bot_build_mail): Likewise.
3123         (Context.bot_run_self): Likewise.
3124         (get_parser): Allow bot-cycle action.
3126 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3128         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
3129         Remove redirection to __stpcpy_ppc.
3131 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3133         Remove __libc_memalign from ld.so because it is unused.
3134         * elf/dl-minimal.c: Update comment on the malloc implementation.
3135         (malloc): Renamed from __libc_memalign, replacing the original
3136         malloc implementation.  Replace the align parameter with
3137         MALLOC_ALIGNMENT.
3138         * elf/Versions (ld): Update comment and remove __libc_memalign.
3139         * sysdeps/nacl/ld.abilist: Likewise.
3140         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
3141         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
3142         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
3143         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
3144         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
3145         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3146         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3147         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3148         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3149         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3150         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3151         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3152         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3156         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3163         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3164         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3165         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3166         * sysdeps/generic/localplt.data (ld.so): Likewise.
3167         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3168         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3169         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3170         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3171         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3172         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3173         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3174         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3175         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3177         (ld.so): Likewise.
3178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3179         (ld.so): Likewise.
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3181         Likewise.
3182         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3183         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3184         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3185         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3186         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3188 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3190         [BZ #16628]
3191         Implement _dl_catch_error, _dl_signal_error in libc.so.
3192         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3193         (catch_hook): Define as thread-local or regular variable,
3194         depending on DL_ERROR_BOOTSTRAP.
3195         (CATCH_HOOK): Remove.
3196         (dl_signal_error, _dl_catch_error): Use
3197         catch_hook.  Add hidden definition for libc.
3198         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
3199         for DL_ERROR_BOOTSTRAP only.
3200         * elf/dl-error.c: New file.
3201         * elf/dl-error-minimal.c: Likewise.
3202         * elf/tst-latepthread.c: Likewise.
3203         * elf/tst-latepthreadmod.c: Likewise.
3204         * elf/Makefile (routines): Add dl-error.
3205         (dl-routines): Remove dl-error.
3206         (rtld-routines): Add dl-error-minimal.
3207         [build-shared] (tests): Add tst-latepthread.
3208         (module-names): Add tst-latepthreadmod.
3209         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3210         symbol.
3211         (tst-latepthreadmod.so): Link against libpthread.
3212         (tst-latepthread): Link against libdbl.
3213         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3214         _dl_catch_error.
3215         [ld] (GLIBC_PRIVATE): Likewise.
3216         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3217         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3218         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3219         directly.
3220         * elf/dl-tsd.c: Remove file.
3221         * elf/rtld.c (_rtld_global_ro): Remove initializers for
3222         _dl_catch_error, _dl_signal_error.
3223         (_dl_initial_error_catch_tsd): Remove definition.
3224         (do_preload): Remove initialization of dl_error_catch_tsd.
3225         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3226         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3227         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3228         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3229         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3230         set dl_error_catch_tsd.
3231         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3232         _dl_error_catch_tsd member.
3233         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3234         members.
3235         (_dl_initial_error_catch_tsd): Remove declaration.
3236         (_dl_dprintf): Provide definition for use outside of ld.so.
3237         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3238         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
3239         prototype for libc.
3240         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3241         _dl_catch_error.
3242         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3243         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3244         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3245         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3246         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3247         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3248         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3249         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3250         Likewise.
3251         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3253         (ld.so): Likewise.
3254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3255         (ld.so): Likewise.
3256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3257         Likewise.
3258         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3259         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3260         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3261         Likewise.
3262         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3263         Likewise.
3264         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3266 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3268         [BZ #4099]
3269         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3270         _IO_BUFSIZ (8192).
3272 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
3274         * PROJECTS: Remove file.
3276 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3278         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3280 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
3281             Steve Ellcey  <sellcey@caviumnetworks.com>
3283         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3284         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3285         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3286         fxstatat.
3287         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3288         lxstat.
3289         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3290         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3291         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3292         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3293         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3294         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3295         __xstat.
3297 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3299         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3300         Define.
3301         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3302         definition.
3304 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3306         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3307         version and turn into strong alias.  Remove compat symbol.
3309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3310         (__longjmp): Remove.
3312 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
3314         * bits/fp-fast.h: New file.
3315         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3316         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3317         * math/Makefile (headers): Add bits/fp-fast.h.
3318         * math/math.h: Include <bits/fp-fast.h>.
3319         * bits/mathdef.h (FP_FAST_FMA): Remove.
3320         (FP_FAST_FMAF): Likewise.
3321         (FP_FAST_FMAL): Likewise.
3322         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3323         (FP_FAST_FMAF): Likewise.
3324         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3325         (FP_FAST_FMAF): Likewise.
3326         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3327         (FP_FAST_FMAF): Likewise.
3328         (FP_FAST_FMAL): Likewise.
3329         * sysdeps/arm/bits/mathdef.h: Remove file.
3330         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3331         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3332         * sysdeps/tile/bits/mathdef.h: Likewise.
3334 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3336         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
3337         * math/w_ilogb.c: Remove.
3338         * math/w_ilogbf.c: Likewise.
3339         * math/w_ilogbl.c: Likewise.
3340         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3341         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3342         * math/Makefile (gen-libm-calls): Add w_ilogbF.
3343         (libm-calls): Remove w_ilogbF.
3344         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3345         (LDOUBLE_ilogbl_libm_version): New macro.
3347         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3349         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3350         [!__STRICT_ANSI__ && !__cplusplus].
3352 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3354         [BZ #20750]
3355         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3356         of PIC.
3358 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3359             Yury Norov  <ynorov@caviumnetworks.com>
3360             Steve Ellcey  <sellcey@caviumnetworks.com>
3362         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3363         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3364         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3365         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3366         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3367         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3368         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3369         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3370         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3371         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3372         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3373         to get correct reg name for ILP32.
3374         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3375         (RELA_SIZE): New Macro.
3376         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3377         to support ILP32.
3378         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3379         cast for ILP32 mode.
3380         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3381         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3382         * sysdeps/aarch64/memset.S (__memset): Ditto.
3383         * sysdeps/aarch64/strchr.S (strchr): Ditto.
3384         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3385         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3386         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3387         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3388         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3389         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3390         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3391         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3392         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3393         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3394         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3395         change PTR_MANGLE call to use register numbers instead of names.
3396         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3397         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3398         ILP32 mode, change PTR_MANGLE calls to use register numbers.
3399         * sysdeps/aarch64/start.S (_start): Ditto.
3400         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3401         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3402         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3403         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3404         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3405         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3406         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3407         Make defined values dependent on __ILP32__.
3408         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3409         (sem_t): Change __align type.
3410         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3411         PTR_SIZE): New Macros.
3412         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3413         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3414         Set when in ILP32 mode.
3415         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3416         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3417         Set elf flags for ILP32.
3418         (add_system_dir): Set ILP32 library directories.
3419         * sysdeps/unix/sysv/linux/aarch64/init-first.c
3420         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3421         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3422         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3423         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3424         New Macros.
3425         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3427 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3429         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3430         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3431         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3433 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3435         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3436         <asm/cachectl.h>.
3438 2016-11-27  Zack Weinberg  <zackw@panix.com>
3440         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3441         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3443 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3445         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3446         error_t to fix usage in C++ programs.
3448 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
3450         * scripts/build-many-glibcs.py: Import datetime module.
3451         (Context.__init__): Load JSON build state.  Initialize list of
3452         status logs.
3453         (Context.run_builds): Update saved build state.
3454         (Context.add_makefile_cmdlist): Update list of status logs.
3455         (Context.load_build_state_json): New function.
3456         (Context.store_build_state_json): Likewise.
3457         (Context.clear_last_build_state): Likewise.
3458         (Context.update_build_state): Likewise.
3459         (CommandList.status_logs): Likewise.
3461 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
3463         * scripts/build-many-glibcs.py (Context.__init__): Save text of
3464         script being executed.
3465         (Context.get_script_text): New function.
3466         (Context.exec_self): Likewise.
3467         (Context.checkout): Re-exec script if changed by checkout process.
3469 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3471         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3472         (setpayloadsig): New declaration.
3473         * math/Versions (setpayloadsig): New libm symbol at version
3474         GLIBC_2.25.
3475         (setpayloadsigf): Likewise.
3476         (setpayloadsigl): Likewise.
3477         * math/Makefile (libm-calls): Add s_setpayloadsigF.
3478         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3479         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3480         (setpayloadsig_test_data): New array.
3481         (setpayloadsig_test): New function.
3482         (main): Call setpayloadsig_test.
3483         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3484         setpayloadsigf and setpayloadsigl.
3485         * manual/libm-err-tab.pl: Update comment on interfaces without
3486         ulps tabulated.
3487         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3488         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3489         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3490         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3491         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3492         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3493         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3494         setpayloadsig.
3495         (CFLAGS-nldbl-setpayloadsig.c): New variable.
3496         * sysdeps/nacl/libm.abilist: Update.
3497         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3498         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3499         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3500         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3501         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3502         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3503         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3504         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3505         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3506         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3507         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3508         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3510         Likewise.
3511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3512         Likewise.
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3514         Likewise.
3515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3516         Likewise.
3517         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3518         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3519         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3520         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3521         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3523         Likewise.
3524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3525         Likewise.
3526         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3527         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3528         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3530         * scripts/build-many-glibcs.py: Import json module.
3531         (Context.__init__): Take replace_sources argument.  Load
3532         versions.json.
3533         (Context.load_versions_json): New function.
3534         (Context.store_json): Likewise.
3535         (Context.store_versions_json): Likewise.
3536         (Context.set_component_version): Likewise.
3537         (Context.checkout): Update versions.json.  Check for and handle
3538         changes of version.  Prefer previously explicitly specified
3539         version to default version.
3540         (Context.checkout_vcs): Return a revision identifier.
3541         (Context.git_checkout): Likewise.
3542         (Context.gcc_checkout): Likewise.
3543         (get_parser): Add --replace-sources option.
3544         (main): Pass replace_sources argument to Context call.
3546 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3548         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3549         * nptl/allocatestack.c (allocate_stack): Likewise.
3550         (__reclaim_stacks): Likewise.
3551         (setxid_signal_thread): Obtain pid through syscall.
3552         * nptl/nptl-init.c (sigcancel_handler): Likewise.
3553         (sighandle_setxid): Likewise.
3554         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3555         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3556         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3557         Likewise.
3558         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3559         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3560         comment.
3561         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3562         * nptl/descr.h (struct pthread): Change comment about pid value.
3563         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3564         pid assert.
3565         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3566         Do not set pid value.
3567         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3568         pid cache check.
3569         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3570         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3571         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3572         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3573         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3574         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3575         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3576         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3577         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3578         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3579         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3580         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3581         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3582         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3583         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3584         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3585         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3586         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3587         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3588         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3589         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3590         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3591         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3592         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3593         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3596         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3597         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3598         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3599         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3600         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3601         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3602         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3603         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3604         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3605         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3606         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3607         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3608         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3609         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3610         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3611         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3614         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3615         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3616         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3617         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3618         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3619         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3620         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3621         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3622         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3623         struct access.
3624         (clone_test): Remove function.
3625         (do_test): Rewrite to take in consideration pid is not cached anymore.
3627 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3629         * bits/flt-eval-method.h: New file.
3630         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3631         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3632         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3633         * math/Makefile (headers): Add bits/flt-eval-method.h.
3634         * math/math.h: Include <bits/flt-eval-method.h>.
3635         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3636         [__USE_ISOC99] (double_t): Likewise.
3637         * bits/mathdef.h (float_t): Remove.
3638         (double_t): Likewise.
3639         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3640         (double_t): Likewise.
3641         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3642         (double_t): Likewise.
3643         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3644         (double_t): Likewise.
3645         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3646         (double_t): Likewise.
3647         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3648         (double_t): Likewise.
3649         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3650         (double_t): Likewise.
3651         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3652         (double_t): Likewise.
3653         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3654         (double_t): Likewise.
3655         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3656         (double_t): Likewise.
3657         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3658         (double_t): Likewise.
3659         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3660         (double_t): Likewise.
3661         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3662         (double_t): Likewise.
3663         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3664         (double_t): Likewise.
3666 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
3668         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3669         instead of PIC.
3671 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3673         [BZ #20859]
3674         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3675         (-0x7fffffff) instead of 0x80000001.
3676         * math/test-fp-ilogb-constants.c: New file.
3677         * math/Makefile (tests): Add test-fp-ilogb-constants.
3679 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
3681         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3682         (_init): Use it in place of hardcoded R_MIPS_JALR.
3683         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3684         (_init): Use it in place of hardcoded R_MIPS_JALR.
3685         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3686         (_init): Use it in place of hardcoded R_MIPS_JALR.
3688 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3690         [BZ #20787]
3691         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3692         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3693         (double_t): Do not define to double if [__x86_64__] when
3694         __FLT_EVAL_METHOD__ is nonzero.
3695         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3696         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3697         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3698         test-flt-eval-method-387 and test-flt-eval-method-sse.
3699         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3700         variable.
3701         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3703 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
3705         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3706         use of -fno-isolate-erroneous-paths options for tilepro.
3708 2016-11-23  Florian Weimer  <fweimer@redhat.com>
3710         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3711         structure initialization is no longer needed.
3713 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3715         [BZ #20855]
3716         * bits/mathdef.h (float_t): Define to float.
3717         * math/test-flt-eval-method.c: New file.
3718         * math/Makefile (tests): Add test-flt-eval-method.
3719         (CFLAGS-test-flt-eval-method.c): New variable.
3721 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
3723         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3724         and __fstatfs.  Make them aliases of __fstatfs64 if
3725         STATFS_IS_STATFS64 is set to non-zero.
3726         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3727         and __statfs64.
3728         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3729         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3730         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3731         for __statfs and statfs.
3732         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3733         to 0.
3734         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3735         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3736         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3737         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3738         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3739         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3742         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3743         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3744         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3745         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3747 2016-11-22  Andreas Schwab  <schwab@suse.de>
3749         * misc/mkstemp.c: Include <fcntl.h>.
3750         * misc/mkstemps.c: Likewise.
3751         * misc/mkostemp.c: Likewise.
3752         * misc/mkostemps.c: Likewise.
3754 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
3756         [BZ #20847]
3757         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3758         array bounds.
3759         (__execvpe): Likewise.
3761 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
3763         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3764         -fno-isolate-erroneous-paths options for tilepro.
3766 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
3768         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3769         to 0 when in 32 bit mode.
3770         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3771         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3772         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3773         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3775         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3776         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3777         XSTAT_IS_XSTAT64 test.
3778         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3779         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3780         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3781         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3782         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3783         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3784         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3785         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3786         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3787         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3788         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3790 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
3792         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3793         (setpayload): New declaration.
3794         * math/Versions (setpayload): New libm symbol at version
3795         GLIBC_2.25.
3796         (setpayloadf): Likewise.
3797         (setpayloadl): Likewise.
3798         * math/Makefile (libm-calls): Add s_setpayloadF.
3799         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3800         test_Ff_b1_data.
3801         (RUN_TEST_Ff_b1): New macro.
3802         (RUN_TEST_LOOP_Ff_b1): Likewise.
3803         (canonicalize_test_data): Update type.
3804         (setpayload_test_data): New array.
3805         (setpayload_test): New function.
3806         (main): Call setpayload_test.
3807         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3808         setpayloadf and setpayloadl.
3809         * manual/libm-err-tab.pl: Update comment on interfaces without
3810         ulps tabulated.
3811         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3812         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3813         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3814         Likewise.
3815         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3816         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3817         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3818         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3819         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3820         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3821         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3822         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3823         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3824         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3825         setpayload.
3826         (CFLAGS-nldbl-setpayload.c): New variable.
3827         * sysdeps/nacl/libm.abilist: Update.
3828         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3829         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3830         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3831         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3832         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3833         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3834         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3835         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3836         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3837         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3838         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3839         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3841         Likewise.
3842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3843         Likewise.
3844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3845         Likewise.
3846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3847         Likewise.
3848         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3849         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3850         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3851         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3852         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3854         Likewise.
3855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3856         Likewise.
3857         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3858         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3859         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3861 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3863         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3864         * include/unistd.h: Extend comment about __access_noerrno return
3865         semantics.
3866         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3867         (access_common): Correct typo for EACCES.
3869 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
3871         * sysdeps/tile/math-tests.h: New file.
3873         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3874         (__old_set_dataplane): Rename from set_dataplane and make a
3875         compatibility symbol.
3876         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3877         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3878         sys/dataplane.h.
3880 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
3882         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3883         script quote words in command output to log suitably for input to
3884         the shell.
3886 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
3887             Maciej W. Rozycki  <macro@imgtec.com>
3889         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3890         `.Lno_weak_fn' label.
3891         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3892         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3894 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3895             Yury Norov  <ynorov@caviumnetworks.com>
3897         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3898         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3899         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3900         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3901         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3902         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3903         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3904         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3905         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3906         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3907         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3908         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3909         (sysdep_routines): Remove oldgetrlimit64.
3910         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3911         (sysdep_routines): Likewise.
3912         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3913         (sysdep_routines): Likewise.
3914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3915         [$(subdir) = resource] (sysdep_routines): Likewise.
3916         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3917         [$(subdir) = resource] (sysdep_routines): Likewise.
3918         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3919         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3920         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3921         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3922         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3923         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3924         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3925         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3926         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3927         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3928         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3929         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3930         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3931         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3932         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3933         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3934         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3935         setrlimit and getrlimit.
3936         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3937         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3938         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3941         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3942         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3943         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3944         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3945         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3946         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3947         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3948         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3949         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3950         (__old_getrlimit64): Add compatibility symbol.
3951         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3953 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
3955         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3956         newly built gmp, mpfr and mpc.
3958         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3960 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3962         * conform/Makefile (linknamespace-libs): Rename to
3963         linknamespace-libs-thr.
3964         (linknamespace-libs-posix): New variable.
3965         (linknamespace-libs-xsi): Likewise.
3966         (linknamespace-libs-XPG3): Include libcrypt.a.
3967         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3968         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3969         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3970         (linknamespace-libs-XOPEN2K): Likewise.
3971         (linknamespace-libs-XOPEN2K8): Likewise.
3972         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3974         [BZ #20829]
3975         * stdio-common/Versions (__snprintf): Add to version
3976         GLIBC_PRIVATE.
3977         * include/stdio.h (__snprintf): Use libc_hidden_proto.
3978         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3979         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3980         of snprintf.
3981         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3983 2016-11-16  Zack Weinberg  <zackw@panix.com>
3985         * string/string.h: Remove obsolete comment stating that
3986         strcoll_l and strxfrm_l have not yet been standardized.
3988 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3990         * hurd/hurd.h (__hurd_fail_noerrno): New function.
3991         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3992         __access_noerrno.
3993         * io/access.c (__access_noerrno): New function.
3994         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3995         (hurd_fail_seterrno): Likewise.
3996         (access_common): Likewise.
3997         (__access_noerrno): Likewise.
3998         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3999         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
4000         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
4001         macro.
4003 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
4005         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
4006         Only declare fpregs if [__SH_FPU_ANY__].
4008 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
4010         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
4011         Make code unconditional.
4012         [!(__SH4__ || __SH4A__)]: Remove conditional code.
4014 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
4016         * manual/sysinfo.texi (S_APPEND): Delete.
4017         (S_IMMUTABLE): Likewise.
4019 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
4020             Magnus Granberg  <zorry@gentoo.org>
4021             Mike Frysinger  <vapier@gentoo.org>
4023         [BZ #20662]
4024         * configure.ac (libc_cv_predef_stack_protector): Also check for
4025         __stack_chk_fail_local symbols.
4026         * configure: Regenerated.
4028 2016-11-15  Florian Weimer  <fweimer@redhat.com>
4030         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4031         (libc_hidden_def): Remove redefinition.
4032         (__sigsetjmp): Add hidden definition.
4033         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4034         (libc_hidden_def): Remove redefinition.
4035         (__sigsetjmp): Add hidden definition.
4037 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
4039         * scripts/build-many-glibcs.py (os.path): Do not import.
4040         (Context): Inherit explicitly from object.  Remove blank line
4041         between class and docstring.
4042         (Config): Likewise.
4043         (Glibc): Likewise.
4044         (Command): Likewise.
4045         (CommandList): Likewise.
4046         (Context.write_files): Store chmod mode in a variable.
4048         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
4049         LIBC_SLIBDIR_RTLDDIR for tilegx32.
4050         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
4052 2016-11-14  Zack Weinberg  <zackw@panix.com>
4054         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
4055         creating or re-creating it.
4057         * string/bits/string2.h: Fix typo in comment.
4059 2016-11-14  Zack Weinberg  <zackw@panix.com>
4061         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
4062         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
4063         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
4064         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
4065         of redirected function names.
4067         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
4068         as well.  Document that MESSAGE must be a single string literal.
4070 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
4072         * scripts/build-many-glibcs.py: New file.
4074         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
4075         (do_test): Disable -Wmaybe-uninitialized around uses of
4076         except_mask.
4078         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
4080 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
4082         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
4083         (atomic_store_release): Provide tilepro-specific implementations.
4085 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
4087         * math/math.h (__MATH_TG): New macro.
4088         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
4089         [__USE_ISOC99] (signbit): Likewise.
4090         [__USE_ISOC99] (isfinite): Likewise.
4091         [__USE_ISOC99] (isnan): Likewise.
4092         [__USE_ISOC99] (isinf): Likewise.
4093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
4094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
4095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
4096         __MATH_TG and __MATH_EVAL_FMT2.
4097         * sysdeps/generic/math_private.h (fabs_tg): Define using
4098         __MATH_TG.
4099         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4100         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
4101         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
4102         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
4103         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
4104         macro.
4105         (__iscanonical): Likewise.
4106         (iscanonical): Define using __MATH_TG.
4108 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4110         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
4111         guards.
4113         * sysdeps/unix/sysv/linux/access.c: New file.
4114         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
4116 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
4118         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
4119         and __WORDSIZE32_PTRDIFF_LONG.
4121 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4123         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4125 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4127         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
4128         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
4129         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
4130         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
4131         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
4132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4133         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
4134         * sysdeps/unix/sysv/linux/truncate.c: New file.
4135         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
4136         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4137         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
4138         Remove.
4139         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
4140         Likewise.
4142         * posix/tst-truncate-common.c: New file.
4143         * posix/tst-truncate.c: Use tst-truncate-common.c.
4144         * posix/tst-truncate64.c: Likewise and add LFS tests.
4145         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4146         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4147         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4148         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4149         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4151         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4152         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4153         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4154         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4155         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4156         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4157         Remove.
4158         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4159         Likewise.
4161 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
4163         [BZ #20790]
4164         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4165         to MAXLINESIZE.
4166         * sunrpc/bug20790.x: New file.
4167         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4168         variable.
4169         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4170         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4172         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4174         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4176         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4177         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
4178         calloc, realloc, free, memalign and __libc_memalign rather than
4179         making them optional.
4181         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4182         for libc.so.
4184 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4186         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4187         ptw-lseek64.
4188         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4189         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
4190         Likewise.
4191         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4192         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4193         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4194         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4195         * sysdeps/unix/sysv/linux/lseek.c: New file.
4196         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4197         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4198         __libc_lseek64 from auto-generation.
4199         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4200         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4202 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4204         * nptl/tst-basic1.c (tf, do_test): Use write_message.
4205         * nptl/tst-cleanup1.c (do_test): Likewise.
4206         * nptl/tst-cleanup3.c (do_test): Likewise.
4207         * nptl/tst-key1.c (do_test): Likewise.
4208         * nptl/tst-key2.c (tf, do_test): Likewise.
4209         * nptl/tst-key3.c (tf, do_test): Likewise.
4210         * nptl/tst-stdio1.c (do_test): Likewise.
4211         * nptl/tst-stdio2.c (do_test): Likewise.
4213         * nptl/tst-kill3.c (handler): Use write_message in place of write.
4214         * nptl/tst-kill6.c (handler): Likewise.
4215         * nptl/tst-tls2.c (CB): Likewise.
4216         * nptl/tst-tls3.c (CB): Likewise.
4218 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
4220         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4222 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
4223             Steve Ellcey  <sellcey@caviumnetworks.com>
4225         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4226           __ASSUME_ST_INO_64_BIT as 0
4227         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4228         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4229           over the code where __ASSUME_ST_INO_64_BIT is used.
4230         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4231         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4232         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4234 2016-11-07  Florian Weimer  <fweimer@redhat.com>
4236         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4237         Document ABI exposure of the __kind offset.
4238         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4239         Mention reason for the __kind offset exposure in the ABI.
4240         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4241         Likewise.
4242         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4243         Likewise.
4244         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4245         Likewise.
4246         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4247         (struct __pthread_mutex_s): Likewise.
4248         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4249         Likewise.
4250         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4251         Likewise.
4252         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4253         Likewise.
4254         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4255         Likewise.
4256         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4257         Likewise.
4258         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4259         Likewise.
4260         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4261         (struct __pthread_mutex_s): Likewise.
4262         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4263         (struct __pthread_mutex_s): Likewise.
4264         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4265         Likewise.
4267 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
4269         * test-skeleton.c: Document do_test usage.
4271 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
4273         * iconv/gconv.h (__gconv_info): Define __data element using a
4274         zero-length array.
4276 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
4278         * math/test-tgmath2.c: Split up test function.
4280 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4282         * Rules (tests-expected): New variable, depending on
4283         $(run-built-tests).
4284         (tests): Pass $(tests-expected) to merge-test-results.sh, not
4285         $(tests).
4287         * Rules [$(run-built-tests) = no] (tests): Do not depend on
4288         $(tests-unsupported).
4290 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4292         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4293         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
4295 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4297         [BZ #20768]
4298         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4299         __fegetenv instead of fegetenv.
4301         [BZ #14139]
4302         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4303         (find_files): Obtain platform name from libm-test-ulps-name and
4304         store in %pplatforms.
4305         (canonicalize_platform): Remove.
4306         (print_platforms): Use $pplatforms directly.
4307         (by_platforms): Do not allow for platforms missing from
4308         %pplatforms.
4309         * sysdeps/aarch64/libm-test-ulps-name: New file.
4310         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4311         * sysdeps/arm/libm-test-ulps-name: Likewise.
4312         * sysdeps/generic/libm-test-ulps-name: Likewise.
4313         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4314         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4315         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4316         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4317         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4318         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4319         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4320         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4321         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4322         * sysdeps/nios2/libm-test-ulps-name: Likewise.
4323         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4324         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4325         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4326         * sysdeps/sh/libm-test-ulps-name: Likewise.
4327         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4328         * sysdeps/tile/libm-test-ulps-name: Likewise.
4329         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4331         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4333         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4334         (test-xfail-check-execstack): New variable.
4336         * sysdeps/mips/localplt.data: New file.
4338 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
4339             Steve Ellcey  <sellcey@caviumnetworks.com>
4341         * bits/wordsize.h: Add documentation.
4342         * sysdeps/aarch64/bits/wordsize.h : New file
4343         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4344         definitions.
4345         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4346         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4347         with #if instead of #ifdef.
4348         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4349         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4350         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4351         Add or change defines.
4352         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4353         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4354         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4355         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4356         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4357         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4358         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4359         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4360         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4361         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4362         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4363         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4364         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4365         * sysdeps/x86/bits/wordsize.h: Likewise.
4367 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
4368             Kevin Petit  <kevin.petit@arm.com>
4370         * sysdeps/aarch64/memchr.S (__memchr): New file.
4372 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4374         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4376 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
4378         [BZ #19398]
4379         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4380         $(linknamespace-symlists-tests).
4382 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
4384         * time/tst-strptime2.c: Ignore -Wformat-length warning.
4386 2016-11-02  Florian Weimer  <fweimer@redhat.com>
4387             Carlos O'Donell  <carlos@redhat.com>
4389         [Bug #20729]
4390         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4391         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
4392         for -Os related change.
4394 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
4396         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4398 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
4400         [BZ #19673]
4401         * manual/math.texi (Exponents and Logarithms): Correct description
4402         of clog10.
4404 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
4406         [Bz #20729]
4407         * locale/weight.h: Include libc-internal.h.
4408         * locale/weightwc.h: Likewise.
4409         * nptl/nptl_dbP.h: Likewise.
4411 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
4413         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4414         when it is MACH_PORT_NULL.
4416 2016-10-31  Andreas Schwab  <schwab@suse.de>
4418         [BZ #20707]
4419         * posix/glob.c (glob): Initialize pglob before checking for
4420         GLOB_BRACE.  Don't call glob recursively if pattern contains no
4421         valid brace expression despite GLOB_BRACE.
4422         * posix/globtest.sh: Test it.
4424 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4426         [BZ #20729]
4427         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4428         Define.
4429         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4430         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4431         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4432         for seq2.back_us and seq1.back_us only for -Os compiles.
4433         * locale/weightwc.h (findix): Likewise.
4434         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4435         DB_GET_FIELD_ADDRESS only for -Os compiles.
4436         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4437         for slen only for -Os compiles.
4438         * string/strcoll_l.c (get_next_seq): Ignore
4439         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4440         for -Os compiles.
4442         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4443         * include/crypt.h: New file.
4445 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4447         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4448         from test-skeleton.c.
4449         (statclass): Replace calls to write with calls to write_message.
4451 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4453         * math/math.h
4454         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4455         New macro.
4456         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4457         Likewise.
4458         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4459         Likewise.
4460         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4461         SNANL.
4462         * math/test-double.h (snan_value_MACRO): New macro.
4463         * math/test-float.h (snan_value_MACRO): Likewise.
4464         * math/test-ldouble.h (snan_value_MACRO): Likewise.
4465         * math/libm-test.inc (issignaling_test_data): Add tests of
4466         snan_value_MACRO.
4468 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4470         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4471         behavior when eliding a lock not held by the current thread.
4472         * sysdeps/powerpc/nptl/elide.h: Likewise.
4474 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4476         [BZ #20728]
4477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4478         branch to _exit() by a function call.
4480 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4482         * malloc/malloc.c: Update chunk layout comments.
4483         (chunk_main_arena): Update comment.
4485 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4487         * crypt/sha256.c, crypt/sha256-block.c,
4488         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4489         sha256_process_block to __sha256_process_block.
4490         * crypt/sha512.c, crypt/sha512-block.c,
4491         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4492         sha512_process_block to __sha512_process_block.
4494 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4496         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4498         * math/test-nan-overflow.c: Include stdlib.h for malloc.
4500 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
4502         [BZ #20019]
4503         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4504         definition in unrelocated shared library.
4505         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4507 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4509         [BZ #20729]
4510         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4511         * sysdeps/unix/sysv/linux/i386/Makefile
4512         (uses-6-syscall-arguments): Define.
4513         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4514         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4515         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4516         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4517         Likewise.
4518         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4519         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4520         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4521         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4522         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4523         (CFLAGS-fallocate64.os): Likewise.
4524         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4525         (CFLAGS-pthread_rwlock_timedrdlock.os)
4526         (CFLAGS-pthread_rwlock_timedwrlock.o)
4527         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4528         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4529         (CFLAGS-sem_timedwait.os): Likewise.
4531 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4533         * elf/tst-linkall-static.c: New file.
4534         * elf/Makefile (tests-static): Add tst-linkall-static.
4535         (tst-linkall-static): Link against static libraries.
4537 2016-10-27  Florian Weimer  <fweimer@redhat.com>
4539         * malloc/malloc.c (sysmalloc): Initialize previous size field of
4540         mmaped chunks.
4542 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4544         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4545         members to mchunk_prev_size, mchunk_size.
4546         (chunk_main_arena): Reverse sense and rename from
4547         chunk_non_main_arena.
4548         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4549         mchunk_size instead of size.
4550         (set_non_main_arena): Define.
4551         (chunksize): Use chunksize_nomask instead of direct member access.
4552         (chunksize_nomask): Define.
4553         (next_chunk): Use chunksize instead of direct member access.
4554         (prev_size, set_prev_size): Define.
4555         (prev_chunk): Use prev_size instead of direct member access.
4556         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4557         (inuse_bit_at_offset, set_inuse_bit_at_offset)
4558         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4559         (mchunk_prev_size, mchunk_size): Poison tokens.
4560         (unlink): Use chunksize_nomask, prev_size accessors.
4561         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4562         (do_check_free_chunk): Use prev_size accessor.
4563         (sysmalloc): Use set_prev_size, set_head accessors.
4564         (munmap_chunk, mremap_chunk): Use prev_size accessor.
4565         (__libc_free): Use chunksize_nomask accessor.
4566         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4567         chunk_main_arena accessors.
4568         (_int_free): Use chunksize_nomask, prev_size accessors.
4569         (malloc_consolidate): Use chunksize, prev_size accessors.
4570         (_int_realloc): Use chunksize_nomask accessor.
4571         (_int_memalign): Use set_prev_size accessor.
4572         (__malloc_info): Use chunksize_nomask accessor.
4573         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4574         accessors.
4575         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4576         (heap_trim): Use chunksize_nomask, prev_size accessors.
4578 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4580         [BZ #19380]
4581         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4582         for inexact results.
4583         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4584         of inexact result where mpfr_subnormalize is the only inexact
4585         step.
4586         * stdlib/tst-strtod-round-data.h: Regenerated.
4587         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4588         Define to 0.
4589         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4591 2016-10-27  David S. Miller  <davem@davemloft.net>
4593         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4595 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4597         * malloc/malloc.c (do_set_mallopt_check): New function.
4598         (do_set_mmap_threshold): Likewise.
4599         (do_set_mmaps_max): Likewise.
4600         (do_set_top_pad): Likewise.
4601         (do_set_perturb_byte): Likewise.
4602         (do_set_trim_threshold): Likewise.
4603         (do_set_arena_max): Likewise.
4604         (do_set_arena_test): Likewise.
4605         (__libc_mallopt): Use them.
4607 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
4609         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4610         (canonicalize): New declaration.
4611         * math/Versions (canonicalize): New libm symbol at version
4612         GLIBC_2.25.
4613         (canonicalizef): Likewise.
4614         (canonicalizel): Likewise.
4615         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4616         * math/s_canonicalize_template.c: New file.
4617         * math/libm-test.inc: Update comment on functions tested and
4618         testing of NaN payloads.
4619         (TEST_NAN_PAYLOAD): New macro.
4620         (NO_TEST_INLINE): Update value.
4621         (XFAIL_TEST): Likewise.
4622         (ERRNO_UNCHANGED): Likewise.
4623         (ERRNO_EDOM): Likewise.
4624         (ERRNO_ERANGE): Likewise.
4625         (IGNORE_RESULT): Likewise.
4626         (NON_FINITE): Likewise.
4627         (TEST_SNAN): Likewise.
4628         (NO_TEST_MATHVEC): Likewise.
4629         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4630         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4631         (struct test_Ffp_b1_data): New type.
4632         (RUN_TEST_Ffp_b1): New macro.
4633         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4634         (canonicalize_test_data): New array.
4635         (canonicalize_test): New function.
4636         (main): Call canonicalize_test.
4637         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4638         canonicalizef and canonicalizel.
4639         * manual/libm-err-tab.pl: Update comment on interfaces without
4640         ulps tabulated.
4641         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4642         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4643         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4644         canonicalize.
4645         (CFLAGS-nldbl-canonicalize.c): New variable.
4646         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4647         to ...
4648         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4649         ... here.
4650         (do_test): Also test canonicalizel.
4651         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4652         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4653         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4654         file.
4655         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4656         Use libm_hidden_def.
4657         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4658         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4659         (do_test): Also test canonicalizel.
4660         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4661         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4662         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4663         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4664         libm_hidden_def.
4665         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4666         macro.
4667         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4668         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4669         * sysdeps/nacl/libm.abilist: Update.
4670         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4671         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4672         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4673         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4674         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4675         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4676         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4677         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4678         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4679         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4680         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4681         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4683         Likewise.
4684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4685         Likewise.
4686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4687         Likewise.
4688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4689         Likewise.
4690         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4691         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4692         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4693         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4694         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4696         Likewise.
4697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4698         Likewise.
4699         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4700         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4701         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4703         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4704         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4705         getpayload.
4706         (CFLAGS-nldbl-getpayload.c): New variable.
4708 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4710         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4711         integer from the format string.
4713 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4715         [BZ #19473]
4716         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4717         declarations.
4718         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4719         weak aliases.
4720         * malloc/hooks.c (__malloc_get_state): Remove definition.
4721         (malloc_get_state): New stub implementation as
4722         compatibility symbol.
4723         (malloc_set_state): Rename from __malloc_set_state.  Turn into
4724         compat symbol.
4725         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4726         malloc_set_state.
4727         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4729 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4731         * iconvdata/iso646.c (enum variant): Drop illegal_var.
4732         (names): Turn into concatenation of strings.
4733         (gconv_init): Adapt iteration over names.
4735 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4737         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4738         make const.
4739         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4740         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4741         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4742         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4743         character in sbconv.
4744         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4745         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4746         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4748 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4750         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4752         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4753         (M_TRIM_THRESHOLD): Likewise.
4755         * manual/memory.texi (M_ARENA_TEST): Add documentation.
4756         (M_ARENA_MAX): Likewise.
4757         * malloc/malloc.c: Remove obsolete comment.
4759         * manual/memory.texi: Add environment variable alternatives to
4760         setting mallopt parameters.
4762 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
4764         * include/atomic.h
4765         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4766         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4768 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4770         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4771         * stdlib/tst-strfrom.h: New file.
4772         * stdlib/tst-strfrom.c: New file.
4773         * stdlib/tst-strfrom-locale.c: New file.
4775         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4776         * stdlib/bug-strtod2.c: Likewise.
4777         * stdlib/tst-strtod-round-skeleton.c: Likewise.
4778         * stdlib/tst-strtod6.c: Likewise.
4779         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4781 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4783         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4784         * manual/arith.texi: Document strfromd, strfromf, strfroml.
4785         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4786         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4787         * stdlib/stdlib.h (strfromd): New declaration.
4788         (strfromf): Likewise.
4789         (strfroml): Likewise.
4790         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
4791         strfrom.
4792         * stdlib/strfromd.c: New file.
4793         * stdlib/strfromf.c: Likewise.
4794         * stdlib/strfroml.c: Likewise.
4795         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4796         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4797         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4798         * sysdeps/arm/nacl/libc.abilist: Update.
4799         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4800         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4801         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4802         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4803         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4804         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4805         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4806         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4807         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4808         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4809         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4810         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4811         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4812         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4817         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4818         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4824         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4825         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4826         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4828 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
4830         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4831         instead of cmpli.
4832         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4833         instead of cmpli.
4835 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
4837         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4838         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4839         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4840         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4841         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4842         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4844 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4846         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4847         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4848         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4849         SYSCALL_LL64_PRW.
4850         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4851         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4852         __ASSUME_PRW_DUMMY_ARG.
4853         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4854         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4855         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4856         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4857         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4858         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4860 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4862         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4864 2016-10-22  Florian Weimer  <fweimer@redhat.com>
4866         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4867         "C++", to override a potential extern "C" directive around the
4868         header file inclusion.
4870 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
4872         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4874 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4876         * sysdeps/powerpc/fpu/fenv_private.h:
4877         (_FPU_MASK_ALL): Rename to...
4878         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4879         XE FPSCR bits.
4881         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4883         (_FPU_MASK_ROUNDING): Rename to...
4884         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4885         NI bits.
4887         (_FPU_MASK_EXCEPT_ROUND): Rename to...
4888         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4889         bits and rounding bits.
4891         (__libc_feholdbits_ppc): New inline function to mask, set,
4892         and pontentially clear FSPCR bits, and change MSR[FE] bits.
4893         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4894         (libc_feholdexcept_setround_ppc): Likewise.
4896         (__libc_femergeenv_ppc): New function to dynamically mask both
4897         old and new FP environments and merge.
4898         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4899         (libc_feresetround_ppc): Likewise.
4900         (libc_feupdateenv_test_ppc): Likewise.
4901         (libc_feupdateenv_ppc): Likewise.
4903         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4904         of ISA RN bits, and update macro names.
4905         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4906         effectively the same as the previously mentioned function.
4908         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4909         usage with fe_resetround_ppc.
4911         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4912         to be used.
4913         (libc_feholdexcept_setround_ctxf): Likewise.
4914         (libc_feholdexcept_setround_ctxl): Likewise.
4916 2016-10-21  Florian Weimer  <fweimer@redhat.com>
4918         [BZ #20715]
4919         * math/math.h [__cplusplus] (iszero): Define as function template.
4920         * math/Makefile [CXX] (tests): Add test-math-iszero.
4921         (CFLAGS-test-math-iszero.cc): Set.
4922         * math/test-math-iszero.cc: New file.
4924 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
4926         [BZ #20660]
4927         * sysdeps/arm/e_sqrt.c: New file.
4928         * sysdeps/arm/e_sqrtf.c: Likewise.
4930 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
4932         [BZ #20718]
4933         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4934         not use floating-point comparisons to test sign.
4935         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4936         Likewise.
4938         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4939         (getpayload): New declaration.
4940         * math/Versions (getpayload): New libm symbol at version
4941         GLIBC_2.25.
4942         (getpayloadf): Likewise.
4943         (getpayloadl): Likewise.
4944         * math/Makefile (libm-calls): Add s_getpayloadF.
4945         * math/libm-test.inc: Include <nan-high-order-bit.h>.
4946         (struct test_f_f_data): Add comment.
4947         (RUN_TEST_fp_f): New macro.
4948         (RUN_TEST_LOOP_fp_f): Likewise.
4949         (getpayload_test_data): New array.
4950         (getpayload_test): New function.
4951         (main): Call getpayload_test.
4952         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4953         descriptor.
4954         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4955         getpayloadf and getpayloadl.
4956         * manual/libm-err-tab.pl: Update comment on interfaces without
4957         ulps tabulated.
4958         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4959         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4960         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4961         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4962         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4963         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4964         * sysdeps/nacl/libm.abilist: Update.
4965         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4966         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4967         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4968         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4969         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4970         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4971         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4972         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4973         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4974         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4975         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4976         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4978         Likewise.
4979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4980         Likewise.
4981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4982         Likewise.
4983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4984         Likewise.
4985         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4986         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4987         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4988         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4989         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4991         Likewise.
4992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4993         Likewise.
4994         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4995         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4996         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4998 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5000         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
5001         tst-fallocate{64}.
5002         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
5003         on syscall return.
5005 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
5007         [BZ #20689]
5008         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
5009         usable.
5011 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
5013         * sysdeps/generic/nan-high-order-bit.h: New file.
5014         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
5015         * sysdeps/mips/nan-high-order-bit.h: Likewise.
5016         * sysdeps/hppa/math_private.h: Remove file.
5017         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
5018         not define here.
5019         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
5020         <nan-high-order-bit.h>.
5021         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5022         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5023         <nan-high-order-bit.h>.
5024         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5025         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5026         <nan-high-order-bit.h>.
5027         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5028         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
5029         <nan-high-order-bit.h>.
5030         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5031         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5032         <nan-high-order-bit.h>.
5033         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5034         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5035         <nan-high-order-bit.h>.
5036         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5037         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
5038         <nan-high-order-bit.h>.
5039         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5040         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5041         <nan-high-order-bit.h>.
5042         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5043         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5044         <nan-high-order-bit.h>.
5045         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5046         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
5047         <nan-high-order-bit.h>.
5048         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5049         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5050         <nan-high-order-bit.h>.
5051         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5052         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5053         <nan-high-order-bit.h>.
5054         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5055         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
5056         <nan-high-order-bit.h>.
5057         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5058         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
5059         <nan-high-order-bit.h>.
5060         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5061         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
5062         <nan-high-order-bit.h>.
5063         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5064         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
5065         <nan-high-order-bit.h>.
5066         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5067         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5068         <nan-high-order-bit.h>.
5069         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5070         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
5071         <nan-high-order-bit.h>.
5072         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5074 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5076         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5078 2016-09-22  John David Anglin  <dave.anglin@bell.net>
5080         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
5081         abort-instr.h.
5082         (EFAULT): Remove conditional define.
5083         (ENOSYS): Likewise.
5084         (atomic_compare_and_exchange_val_acq): Use instruction nullification
5085         instead of conditional branch instructions.
5087 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
5089         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5090         (totalordermag): New declaration.
5091         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
5092         New macro.
5093         * math/Versions (totalordermag): New libm symbol at version
5094         GLIBC_2.25.
5095         (totalordermagf): Likewise.
5096         (totalordermagl): Likewise.
5097         * math/Makefile (libm-calls): Add s_totalordermagF.
5098         * math/libm-test.inc (totalordermag_test_data): New array.
5099         (totalordermag_test): New function.
5100         (main): Call totalordermag_test.
5101         * math/test-tgmath.c (NCALLS): Increase to 125.
5102         (F(compile_test)): Call totalordermag.
5103         (F(totalordermag)): New function.
5104         * manual/arith.texi (FP Comparison Functions): Document
5105         totalordermag, totalordermagf and totalordermagl.
5106         * manual/libm-err-tab.pl: Update comment on interfaces without
5107         ulps tabulated.
5108         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
5109         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
5110         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
5111         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
5112         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
5113         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
5114         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
5115         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5116         totalordermag.
5117         (CFLAGS-nldbl-totalordermag.c): New variable.
5118         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
5119         (do_test): Also test totalordermagl.
5120         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
5121         Likewise.
5122         * sysdeps/nacl/libm.abilist: Update.
5123         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5124         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5125         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5126         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5127         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5128         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5129         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5130         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5131         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5132         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5133         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5134         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5136         Likewise.
5137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5138         Likewise.
5139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5140         Likewise.
5141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5142         Likewise.
5143         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5144         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5145         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5146         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5147         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5149         Likewise.
5150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5151         Likewise.
5152         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5153         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5154         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5156 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
5158         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5159         boolean.
5161 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
5163         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5164         raising FE_INVALID with feraisexcept in case where part of
5165         argument is infinite, subtract that part of argument from itself.
5166         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5167         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5168         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5170 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5172         * math/libm-test.inc (totalorder_test_data): Add more tests.
5174 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5176         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5177         Undefine weak_alias and add a comment why mips64 require
5178         versioning.
5180 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
5182         [BZ #20647]
5183         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5184         maximum CPUID level is less than 2.
5186 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5188         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5189         (totalorder): New declaration.
5190         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5191         New macro.
5192         * math/Versions (totalorder): New libm symbol at version
5193         GLIBC_2.25.
5194         (totalorderf): Likewise.
5195         (totalorderl): Likewise.
5196         * math/Makefile (libm-calls): Add s_totalorderF.
5197         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5198         string.
5199         * math/libm-test.inc (PAYLOAD_DIG): New macro.
5200         (qnan_value_pl): Likewise.
5201         (snan_value_pl): Likewise.
5202         (qnan_value): Define using qnan_value_pl.
5203         (snan_value): Define using snan_value_pl.
5204         (struct test_ff_i_data): Add comment about which tests use this
5205         structure.
5206         (RUN_TEST_ff_b): New macro.
5207         (RUN_TEST_LOOP_ff_b): Likewise.
5208         (totalorder_test_data): New array.
5209         (totalorder_test): New function.
5210         (main): Call totalorder_test.
5211         * math/test-tgmath.c (NCALLS): Increase to 122.
5212         (F(compile_test)): Call totalorder.
5213         (F(totalorder)): New function.
5214         * manual/arith.texi (FP Comparison Functions): Document
5215         totalorder, totalorderf and totalorderl.
5216         * manual/libm-err-tab.pl: Update comment on interfaces without
5217         ulps tabulated.
5218         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5219         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5220         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5221         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5222         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5223         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5224         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5225         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5226         totalorder.
5227         (CFLAGS-nldbl-totalorder.c): New variable.
5228         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5229         file.
5230         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5231         Add test-totalorderl-ldbl-128ibm.
5232         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5233         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5234         test-totalorderl-ldbl-96.
5235         * sysdeps/nacl/libm.abilist: Update.
5236         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5237         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5238         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5239         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5240         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5241         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5242         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5243         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5244         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5245         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5246         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5247         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5249         Likewise.
5250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5251         Likewise.
5252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5253         Likewise.
5254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5255         Likewise.
5256         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5257         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5258         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5259         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5260         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5262         Likewise.
5263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5264         Likewise.
5265         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5266         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5267         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5269 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5271         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5272         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5273         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5274         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5275         remove ENOSYS implementation.
5276         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5277         Consolidate all Linux implementations.
5279 2016-10-11  Florian Weimer  <fweimer@redhat.com>
5281         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5282         * resolv/herror.c (herror): Cast away const-ness.
5283         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5284         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5286 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
5288         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5289         instead of M_NAN + M_NAN.
5290         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5292 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5294         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5295         unused variable 'p'.
5297 2016-10-09  Alan Modra  <amodra@gmail.com>
5298             Andreas Schwab  <schwab@linux-m68k.org>
5300         [BZ #20554]
5301         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5302         [PIC && !SHARED]: Set up PIC register for PLT call.
5304 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
5306         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5307         conditional on value of [__FLT_EVAL_METHOD__].
5308         * math/test-iseqsig-excess-precision.c: New file.
5309         * math/Makefile (tests): Add test-iseqsig-excess-precision.
5311 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5313         * math/s_iseqsig_template.c: Include math-private.h.
5315         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5316         * posix/tst-posix_fadvise.c: New file.
5317         * posix/tst-posix_fadvise64.c: Likewise.
5318         * posix/tst-posix_fadvise-common.c: Likewise.
5319         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5320         (__ASSUME_FADVISE64_64_6ARG): Define.
5321         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5322         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5323         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5324         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5325         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5326         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5327         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5328         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5329         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5330         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5331         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5332         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5335         Likewise.
5336         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5337         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5338         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5339         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5340         Alias to __posix_fadvise64_l32.
5341         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5342         Add compat definition to posix_fadvise64.
5343         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5344         Add versioned definition to posix_fadvise64.
5345         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5346         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5347         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5348         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5349         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5351         * io/Makefile (tests): Add tst-posix_fallocate and
5352         tst-posix_fallocate64.
5353         * io/tst-posix_fallocate-common.c: New file.
5354         * io/tst-posix_fallocate.c: Likewise.
5355         * io/tst-posix_fallocate64.c: Likewise.
5356         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5357         file.
5358         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5359         Likewise.
5360         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5361         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5362         Likewise.
5363         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5364         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5365         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5366         SYSCALL_LL to pass both offset and len arguments.
5367         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5368         Likewise.
5369         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5370         __libc_pwrite64 alias used by posix_fallocate64.
5372         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5373         tst-fallocate64.
5374         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5375         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5376         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5377         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5378         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5379         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5380         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5381         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5382         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5383         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5384         macro on offset argument.
5385         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5386         SYSCALL_LL64 on offset argument.
5388         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5389         tst-fallocate64.
5390         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5391         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5392         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5393         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5394         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5395         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5396         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5397         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5398         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5399         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5400         macro on offset argument.
5401         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5402         SYSCALL_LL64 on offset argument.
5403         * test-skeleton.c (FAIL_RET): Add macro.
5404         (FAIL_EXIT): Likewise.
5405         (FAIL_EXIT1): Likewise.
5406         (_FAIL): Likewise.
5408 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5410         [BZ #20629]
5411         resolv: Remove RES_USEBSTRING and its implementation.
5412         * resolv/resolv.h (RES_USEBSTRING): Remove.
5413         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5414         (digitvalue, encode_bitstring, decode_bitstring): Remove.
5415         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5416         (labellen): Remove extended label types support.
5417         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5418         * resolv/res_init.c (res_setoptions): Likewise.
5419         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5421 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5423         resolv: Remove RES_NOIP6DOTINT and its implementation.
5424         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5425         (RES_NOIP6DOTINT): Remove.
5426         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5427         handling.
5428         * resolv/res_debug.c (p_option): Likewise.
5429         * resolv/res_init.c (res_setoptions): Likewise.
5430         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5432 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5434         resolv: Deprecate unimplemented flags.
5435         * misc/sys/cdefs.h (__glibc_macro_warning1)
5436         (__glibc_macro_warning): Define.
5437         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5438         (RES_KEEPTSIG): Mark as deprecated.
5439         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5440         RES_NOCHECKNAME, RES_KEEPTSIG.
5441         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5443 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5445         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5446         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5447         Use strong_alias to create symbols for glibc verison 2.19.
5449 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5451         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5453 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5455         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5457 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5459         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5461 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5464         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5465         in header for using it as type for ifunc function because __GI_* symbols
5466         for ppc32 do not target the ifunc symbols.
5467         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5469 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5471         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5472         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5473         libc_ifunc_hidden_def.
5474         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5475         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5476         Redirect ifunced function in header for using it as type of ifunc'ed
5477         function. Redefine libc_hidden_def to use fallback non ifunc'ed
5478         function for __GI_* symbol.
5479         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5480         * include/libc-symbols.h
5481         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5483 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5485         [BZ #20478]
5486         * sysdeps/s390/multiarch/ifunc-resolve.h
5487         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5488         to create ifunc symbols.
5489         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5490         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5491         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5492         for using it as type for ifunc function.
5493         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5494         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5495         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5496         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5497         * sysdeps/s390/multiarch/strcat.c: Likewise.
5498         * sysdeps/s390/multiarch/strchr.c: Likewise.
5499         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5500         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5501         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5502         * sysdeps/s390/multiarch/strlen.c: Likewise.
5503         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5504         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5505         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5506         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5507         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5508         * sysdeps/s390/multiarch/strspn.c: Likewise.
5509         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5510         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5511         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5512         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5513         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5514         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5515         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5516         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5517         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5518         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5519         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5520         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5522 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5524         * include/libc-symbols.h (__ifunc_resolver):
5525         New macro is used by __ifunc* macros.
5526         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5527         depending on HAVE_GCC_IFUNC.
5528         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5529         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5531         Redirect ifunced function in header for using as type for ifunc function.
5532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5536         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5538         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5539         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5540         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5541         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5542         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5543         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5544         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5545         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5551         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5552         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5553         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5554         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5555         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5556         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5557         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5558         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5559         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5560         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5561         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5562         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5563         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5564         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5566         Add libc_hidden_def() and use libc_ifunc_hidden() macro
5567         instead of libc_ifunc() macro.
5568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5569         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5571 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5573         * config.h.in (HAVE_GCC_IFUNC): New undef.
5574         * configure.ac: Add check if gcc supports attribute ifunc feature.
5575         * configure: Regenerated.
5576         * manual/install.texi: Add recommendation for gcc with
5577         indirect-function support.
5578         * INSTALL: Regenerated.
5580 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
5582         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5583         macro.
5584         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5585         (__iseqsig): New declaration.
5586         * math/s_iseqsig_template.c: New file.
5587         * math/Versions (__iseqsigf): New libm symbol at version
5588         GLIBC_2.25.
5589         (__iseqsig): Likewise.
5590         (__iseqsigl): Likewise.
5591         * math/libm-test.inc (iseqsig_test_data): New array.
5592         (iseqsig_test): New function.
5593         (main): Call iseqsig_test.
5594         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5595         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5596         * manual/libm-err-tab.pl: Update comment on interfaces without
5597         ulps tabulated.
5598         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5599         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5600         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5601         * sysdeps/nacl/libm.abilist: Update.
5602         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5603         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5604         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5605         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5606         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5607         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5608         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5609         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5610         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5611         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5612         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5613         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5615         Likewise.
5616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5617         Likewise.
5618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5619         Likewise.
5620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5621         Likewise.
5622         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5623         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5624         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5625         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5626         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5628         Likewise.
5629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5630         Likewise.
5631         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5632         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5633         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5635 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5637         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5638         do_sincos_2, sloww, sloww1): Update comments.
5640         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5641         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5643         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5644         K boolean and rename it.
5645         (__sin): Adjust.
5646         (__cos): Adjust.
5648 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5649             Siddhesh Poyarekar  <siddhesh@sourceware.org>
5651         * manual/nss.texi: Fix typos in the manual.
5653 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5655         * manual/contrib.texi: Fix typos in the manual.
5657         * manual/maint.texi: Fix typos in the manual.
5659         * manual/install.texi: Fix typos in the manual.
5660         * INSTALL: Regenerated.
5662         * manual/lang.texi: Fix typos in the manual.
5664         * manual/probes.texi: Fix typos in the manual.
5666         * manual/threads.texi: Fix typos in the manual.
5668         * manual/debug.texi: Fix typos in the manual.
5670         * manual/crypt.texi: Fix typos in the manual.
5672         * manual/conf.texi: Fix typos in the manual.
5674         * manual/sysinfo.texi: Fix typos in the manual.
5676         * manual/users.texi: Fix typos in the manual.
5678         * manual/job.texi: Fix typos in the manual.
5680         * manual/process.texi: Fix typos in the manual.
5682         * manual/argp.texi: Fix typos in the manual.
5683         * manual/getopt.texi: Likewise.
5684         * manual/startup.texi: Likewise.
5686         * manual/signal.texi: Fix typos in the manual.
5688         * manual/setjmp.texi: Fix typos in the manual.
5690         * manual/resource.texi: Fix typos in the manual.
5692         * manual/time.texi: Fix typos in the manual.
5694         * manual/arith.texi: Fix typos in the manual.
5696         * manual/math.texi: Fix typos in the manual.
5698         * manual/syslog.texi: Fix typos in the manual.
5700         * manual/terminal.texi: Fix typos in the manual.
5702         * manual/socket.texi: Fix typos in the manual.
5704         * manual/filesys.texi: Fix typos in the manual.
5706         * manual/llio.texi: Fix typos in the manual.
5708         * manual/stdio.text: Fix typos in the manual.
5710 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5712         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5713         instead of K1.
5715         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5716         SHIFT_QUADRANT and make it bool.
5717         (do_sincos_2): Likewise.
5718         (sloww): Likewise.
5719         (sloww1): Likewise.
5720         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5721         (__cos): Likewise.
5723 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5725         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5727 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
5729         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5730         Define to __WORDSIZE, not conditional on [LONG_MAX ==
5731         0x7fffffffL].
5732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5734 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5736         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5737         inline by __inline__.
5738         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5739         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5740         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5741         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5742         sigset_t from signal.h.
5743         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5744         which is already required.
5746 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5748         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5750 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
5752         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5753         (struct tcp_repair_window): New type.
5755 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5757         * libio/tst-memstream3.c: Include string.h.
5759 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5761         [BZ #18241]
5762         [BZ #20181]
5763         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5764         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5765         write position is at the end the buffer.
5766         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5767         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5768         (_IO_str_seekoff): Set correct offset from negative displacement and
5769         set EINVAL for invalid ones.
5770         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5771         buffer length.
5772         (_IO_wstr_switch_to_get_mode): New function.
5773         (_IO_wstr_seekoff): Set correct offset from negative displacement and
5774         set EINVAL for invalid ones.
5775         * libio/tst-memstream3.c: New file.
5776         * libio/tst-wmemstream3.c: Likewise.
5777         * manual/examples/memstrm.c: Remove warning when priting size_t.
5779 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5781         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5782         macro to use __builtin_fma.
5783         * sysdeps/x86_64/fpu/dla.h: Remove file.
5785         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5786         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5787         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5789 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
5791         [BZ #20292]
5792         * elf/Makefile (routines): Add dl-addr-obj.
5793         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5794         tst-_dl_addr_inside_object.
5795         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5796         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5797         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5798         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5799         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5800         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5801         * elf/dl-open.c: Likewise.
5802         * elf/dl-addr-obj.c: New file.
5803         * elf/tst-_dl_addr_inside_object.c: New file.
5805 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5807         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5808         <bits/iscanonical.h>.
5809         * bits/iscanonical.h: New file.
5810         * math/s_iscanonicall.c: Likewise.
5811         * math/Versions (__iscanonicall): New libm symbol at version
5812         GLIBC_2.25.
5813         * math/libm-test.inc (iscanonical_test_data): New array.
5814         (iscanonical_test): New function.
5815         (main): Call iscanonical_test.
5816         * math/Makefile (headers): Add bits/iscanonical.h.
5817         (type-ldouble-routines): Add s_iscanonicall.
5818         * manual/arith.texi (Floating Point Classes): Document
5819         iscanonical.
5820         * manual/libm-err-tab.pl: Update comment on interfaces without
5821         ulps tabulated.
5822         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5823         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5824         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5825         Likewise.
5826         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5827         test-iscanonical-ldbl-128ibm.
5828         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5829         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5830         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5831         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5832         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5833         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5834         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5836         Likewise.
5837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5838         Likewise.
5839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5840         Likewise.
5841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5842         Likewise.
5843         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5844         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5846 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5848         * string/bits/string3.h: Remove C++ style comments.
5850 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5852         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5853         instead of ternary condition.
5854         (do_sincos_2): Likewise.
5855         (__sin): Likewise.
5856         (__cos): Likewise.
5857         (slow): Likewise.
5858         (sloww): Likewise.
5859         (sloww1): Likewise.
5860         (bsloww): Likewise.
5861         (bsloww1): Likewise.
5863         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5864         instead of ternary condition.
5865         (do_sin_slow): Likewise.
5866         (do_sincos_1): Likewise.
5867         (do_sincos_2): Likewise.
5868         (__cos): Likewise.
5869         (sloww): Likewise.
5870         (sloww1): Likewise.
5871         (sloww2): Likewise.
5872         (bsloww): Likewise.
5873         (bsloww1): Likewise.
5874         (bsloww2): Likewise.
5876         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5877         check from here...
5878         (slow2): ... and here...
5879         (__sin): ... to here.
5881 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5883         * math/math.h
5884         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5885         Cast argument to its own type.
5886         * math/test-iszero-excess-precision.c: New file.
5887         * math/Makefile (tests): Add test-iszero-excess-precision.
5888         (CFLAGS-test-iszero-excess-precision.c): New variable.
5890 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
5892         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5893         field, add err field.
5894         (__spawni_child): Report error through err member instead of pipe.
5895         (__spawnix): Likewise.
5897 2016-09-28  Zack Weinberg  <zackw@panix.com>
5899         * scripts/check-installed-headers.sh: Generalize treatment of
5900         sys/elf.h to all target architectures.
5902         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5903         deleted typedef ucontext_t.
5905 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5907         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5908         (__INTERNAL_SYSCALL1): Likewise.
5909         (__INTERNAL_SYSCALL2): Likewise.
5910         (__INTERNAL_SYSCALL3): Likewise.
5911         (__INTERNAL_SYSCALL4): Likewise.
5912         (__INTERNAL_SYSCALL5): Likewise.
5913         (__INTERNAL_SYSCALL6): Likewise.
5914         (__INTERNAL_SYSCALL7): Likewise.
5915         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5916         (__INTERNAL_SYSCALL_NARGS): Likewise.
5917         (__INTERNAL_SYSCALL_DISP): Likewise.
5918         (INTERNAL_SYSCALL_CALL): Likewise.
5919         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5920         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5921         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5922         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5923         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5924         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5925         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5926         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5927         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5928         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5929         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5930         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5931         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5933 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
5935         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5936         macro.
5937         * math/libm-test.inc (iszero_test_data): New array.
5938         (iszero_test): New function.
5939         (main): Call iszero_test.
5940         * manual/arith.texi (Floating Point Classes): Document iszero.
5941         * manual/libm-err-tab.pl: Update comment on interfaces without
5942         ulps tabulated.
5944 2016-09-23  Zack Weinberg  <zackw@panix.com>
5946         * scripts/check-installed-headers.sh: New script.
5947         * Rules: In each directory that defines header files to be installed,
5948         run check-installed-headers.sh on them as a special test.
5949         * Makefile: Likewise for the headers installed at top level.
5951         * include/aliases.h, include/alloca.h, include/argz.h
5952         * include/arpa/nameser.h, include/arpa/nameser_compat.h
5953         * include/elf.h, include/envz.h, include/err.h
5954         * include/execinfo.h, include/fpu_control.h, include/getopt.h
5955         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5956         * include/link.h, include/malloc.h, include/mcheck.h
5957         * include/mntent.h, include/netinet/ether.h
5958         * include/nss.h, include/obstack.h, include/printf.h
5959         * include/pty.h, include/resolv.h, include/rpc/auth.h
5960         * include/rpc/auth_des.h, include/rpc/auth_unix.h
5961         * include/rpc/clnt.h, include/rpc/des_crypt.h
5962         * include/rpc/key_prot.h, include/rpc/netdb.h
5963         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5964         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5965         * include/rpc/rpc_msg.h, include/rpc/svc.h
5966         * include/rpc/svc_auth.h, include/rpc/xdr.h
5967         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5968         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5969         * include/rpcsvc/ypupd.h, include/shadow.h
5970         * include/stdio_ext.h, include/sys/epoll.h
5971         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5972         * include/sys/prctl.h, include/sys/profil.h
5973         * include/sys/statfs.h, include/sys/sysctl.h
5974         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5975         * sysdeps/arm/nacl/include/bits/setjmp.h
5976         * sysdeps/mips/include/sys/asm.h
5977         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5978         * sysdeps/unix/sysv/linux/include/sys/timex.h
5979         * sysdeps/x86/fpu/include/bits/fenv.h:
5980         Add #ifndef _ISOMAC guard around internal declarations.
5981         Add multiple-inclusion guard if not already present.
5983 2016-09-23  Zack Weinberg  <zackw@panix.com>
5985         * sysdeps/generic/sys/ucontext.h
5986         * sysdeps/arm/sys/ucontext.h
5987         * sysdeps/i386/sys/ucontext.h
5988         * sysdeps/m68k/sys/ucontext.h
5989         * sysdeps/mips/sys/ucontext.h
5990         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5991         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5992         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5993         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5994         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5995         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5996         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5997         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5998         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5999         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
6000         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
6001         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
6002         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
6003         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
6004         Include both bits/sigcontext.h and bits/sigstack.h.
6005         Fix grammar error in comment, if present.
6007         * bits/sigstack.h
6008         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
6009         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
6010         * sysdeps/unix/sysv/linux/bits/sigstack.h
6011         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
6012         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
6013         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
6014         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
6015         * bits/sigcontext.h
6016         * sysdeps/mach/hurd/i386/bits/sigcontext.h
6017         * sysdeps/unix/sysv/linux/bits/sigcontext.h
6018         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
6019         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
6020         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
6021         as well as signal.h, if this was not already allowed.  Request
6022         definition of size_t if necessary.  Minimize semantically-null
6023         differences across files.
6025 2016-09-23  Zack Weinberg  <zackw@panix.com>
6027         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
6028         Remove all logic conditional on __need macros.  Move all the
6029         conditionally defined types to their own headers...
6030         * time/bits/types/clock_t.h: Define clock_t here.
6031         * time/bits/types/clockid_t.h: Define clockid_t here.
6032         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
6033         * time/bits/types/struct_timespec.h: Define struct timespec here.
6034         * time/bits/types/struct_timeval.h: Define struct timeval here.
6035         * time/bits/types/struct_tm.h: Define struct tm here.
6036         * time/bits/types/time_t.h: Define time_t here.
6037         * time/bits/types/timer_t.h: Define timer_t here.
6038         * time/Makefile: Install the new headers.
6040         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
6041         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
6042         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
6043         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
6044         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
6045         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
6046         * sysdeps/unix/sysv/linux/bits/resource.h
6047         * sysdeps/unix/sysv/linux/bits/timex.h
6048         * sysdeps/unix/sysv/linux/mips/bits/resource.h
6049         * sysdeps/unix/sysv/linux/net/ppp_defs.h
6050         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
6051         * sysdeps/unix/sysv/linux/sys/acct.h
6052         * sysdeps/unix/sysv/linux/sys/timerfd.h
6053         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
6054         * time/sys/time.h, time/sys/timeb.h
6055         Use the new bits/types headers.
6057         * include/time.h: Remove __need logic.
6058         * include/bits/time.h
6059         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
6060         * include/bits/types/time_t.h, include/bits/types/timer_t.h
6061         * include/bits/types/struct_itimerspec.h
6062         * include/bits/types/struct_timespec.h
6063         * include/bits/types/struct_timeval.h
6064         * include/bits/types/struct_tm.h:
6065         New wrapper headers.
6067 2016-09-23  Zack Weinberg  <zackw@panix.com>
6069         * sysdeps/mach/hurd/net/if_ppp.h
6070         * sysdeps/unix/sysv/linux/net/if_ppp.h:
6071         Only define struct ifpppstatsreq and struct ifpppcstatsreq
6072         if __USE_MISC is defined, to ensure struct ifreq is declared.
6074         * inet/netinet/ether.h: Condition all function prototypes
6075         on __USE_MISC, to ensure struct ether_addr is declared.
6077         * socket/bits/types/struct_osockaddr.h: New header.
6078         * include/bits/types/struct_osockaddr.h: New wrapper.
6079         * socket/Makefile: Install the new header.
6080         * socket/sys/socket.h, inet/protocols/talkd.h:
6081         Refer to bits/types/struct_osockaddr.h for the definition of
6082         struct osockaddr.
6084 2016-09-23  Zack Weinberg  <zackw@panix.com>
6086         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
6087         * inet/protocols/routed.h, inet/protocols/talkd.h
6088         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6089         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
6090         * sysdeps/generic/netinet/if_ether.h
6091         * sysdeps/generic/netinet/in_systm.h
6092         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
6093         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6094         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
6095         * sysdeps/mach/hurd/net/if_arp.h
6096         * sysdeps/mach/hurd/net/if_ppp.h
6097         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
6098         * sysdeps/unix/sysv/linux/bits/in.h
6099         * sysdeps/unix/sysv/linux/net/ethernet.h
6100         * sysdeps/unix/sysv/linux/net/if_arp.h
6101         * sysdeps/unix/sysv/linux/net/if_ppp.h
6102         * sysdeps/unix/sysv/linux/net/if_shaper.h
6103         * sysdeps/unix/sysv/linux/net/route.h
6104         * sysdeps/unix/sysv/linux/netinet/if_ether.h
6105         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6106         * sysdeps/unix/sysv/linux/netinet/if_tr.h
6107         * sysdeps/unix/sysv/linux/netipx/ipx.h
6108         * sysdeps/unix/sysv/linux/sys/acct.h
6109         * include/arpa/nameser.h, include/resolv.h:
6110         Change all uses of u_char to unsigned char,
6111         u_short and ushort to unsigned short, u_int and uint to unsigned int,
6112         u_long and ulong to unsigned long, u_int8_t to uint8_t,
6113         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
6114         and u_int64_t and u_quad_t to uint64_t.
6116         * mach/sys/reboot.h: Remove two casts of integer literals
6117         to the types they already have.
6119         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
6120         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6121         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
6122         from referring to 'unsigned char' to 'uint8_t' for consistency with
6123         the macro definition below.
6125         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
6126         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
6127         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
6128         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
6129         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
6130         * sysdeps/unix/sysv/linux/sys/acct.h
6131         * include/arpa/nameser.h, include/resolv.h:
6132         Fix indentation disrupted by mechanical edits.
6134         * inet/protocols/talkd.h, resolv/arpa/nameser.h
6135         * sysdeps/generic/netinet/in_systm.h
6136         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6137         * sysdeps/gnu/netinet/udp.h
6138         * sysdeps/unix/sysv/linux/net/ethernet.h
6139         * sysdeps/unix/sysv/linux/net/if_arp.h
6140         * sysdeps/unix/sysv/linux/net/if_ppp.h
6141         * sysdeps/unix/sysv/linux/net/if_shaper.h
6142         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6143         * sysdeps/unix/sysv/linux/netinet/if_tr.h
6144         * sysdeps/unix/sysv/linux/netipx/ipx.h
6145         * sysdeps/unix/sysv/linux/sys/acct.h
6146         Include stdint.h for uintNN_t definitions.
6147         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6149 2016-09-23  Zack Weinberg  <zackw@panix.com>
6151         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6152         * sysdeps/unix/sysv/linux/netrose/rose.h:
6153         Include sys/socket.h and netax25/ax25.h.
6155         * inet/netinet/icmp6.h, inet/netinet/ip6.h
6156         * resolv/arpa/nameser_compat.h:
6157         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6159         * sysdeps/unix/sysv/linux/sys/quota.h:
6160         Use __caddr_t instead of caddr_t.
6161         * sysdeps/unix/sysv/linux/sys/timerfd.h:
6162         Use __clockid_t instead of clockid_t.
6164         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6166         * argp/argp.h: Check whether _LIBC is defined before expanding it.
6167         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6168         expanding it.
6170         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6171         Define __glibc_c99_flexarr_available to 1 when the compiler
6172         supports C99-compatible flexible array members, 0 otherwise.
6173         * sysdeps/unix/sysv/linux/bits/socket.h
6174         * sysdeps/mach/hurd/bits/socket.h
6175         * bits/socket.h: Use __glibc_c99_flexarr_available in
6176         definitions of struct cmsghdr and CMSG_DATA.
6178 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6180         * manual/nss.texi (NSS Modules Interface): Adjust function return
6181         type to enum nss_status.  Document errnop argument.  Clarify
6182         h_errnop semantics.  Fix cross-reference formatting.
6183         (NSS Module Function Internals): Mention that *errnop needs to be
6184         set on failure, but not to zero.
6186 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6188         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6189         (get_random_name): New functions.
6190         (check_wrapper_flags_mode): Use linkat to give the new file a name
6191         determined by get_random_name.
6192         (do_test): Add calls to test open64 and openat64.
6194 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6196         * test-skeleton.c: Remove #include <stdarg.h>.
6198 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
6200         [BZ #19826]
6201         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6202         initialization of static TLS entries.
6203         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6204         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6206 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6208         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6209         _hurd_malloc_fork_prepare.
6210         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6211         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6212         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6213         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6214         (_hurd_fork_child_hook): Drop malloc_fork_child.
6215         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6216         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6217         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6218         after locking locks (notably hurd_dtable_lock). Call
6219         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6220         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6221         __malloc_fork_unlock_child.
6222         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6224 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
6226         * soft-fp/extendhftf2.c: New.
6227         * soft-fp/fixhfti.c: Likewise.
6228         * soft-fp/fixunshfti.c: Likewise.
6229         * soft-fp/floattihf.c: Likewise.
6230         * soft-fp/floatuntihf.c: Likewise.
6231         * soft-fp/half.h: Likewise.
6232         * soft-fp/trunctfhf2.c: Likewise.
6234 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
6236         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6237         macro.
6238         * math/libm-test.inc (issubnormal_test_data): New array.
6239         (issubnormal_test): New function.
6240         * manual/arith.texi (Floating Point Classes): Document
6241         issubnormal.
6242         * manual/libm-err-tab.pl: Update comment on interfaces without
6243         ulps tabulated.
6245         * sysdeps/generic/stdint.h: Define
6246         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6247         <bits/libc-header-start.h> instead of including <features.h>.
6248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6258         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6259         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6260         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6261         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6262         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6263         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6264         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6265         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6266         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6267         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6268         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6269         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6270         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6271         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6272         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6273         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6281         * manual/arith.texi (Integers): Document these macros for types
6282         specified by width properties.
6283         * manual/lang.texi (Width of Type): Document these macros for
6284         other standard typedefs.
6285         * stdlib/tst-width-stdint.c: New file.
6286         * stdlib/Makefile (tests): Add tst-width-stdint.
6288 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6290         [BZ #20016]
6291         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6292         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6293         Move ...
6294         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6295         ... here, as compatibility symbols in a new file.
6296         * resolv/Makefile (libresolv-routines): Add compat-hooks.
6297         * resolv/res_init.c (__res_vinit): Adjust member names.
6298         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6299         * resolv/resolv.h (res_sendhookact, res_send_qhook)
6300         (res_send_rhook): Remove.
6301         (struct __res_state): Rename qhook, rhook members.
6303 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6305         malloc: Use __libc_lock wrappers.
6306         * malloc/arena.c (list_lock, free_list_lock): Define using
6307         __libc_lock_define_initialized.
6308         (arena_lock): Adjust formatting.
6309         * malloc/malloc.c (struct malloc_state): Define mutex using
6310         __libc_lock_define.
6311         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6312         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6313         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6314         (mutex_unlock, mutex_trylock): Remove.
6315         (__pthread_initialize): Remove unused macro.
6316         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6317         (mutex_unlock, mutex_trylock): Remove.
6319 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6321         [BZ #20592]
6322         Remove RR type classification macros.
6323         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6324         (ns_t_udp_p, ns_t_xfr_p): Remove.
6326 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6328         Remove misleading version information.
6329         * resolv/arpa/nameser.h (__NAMESER): Remove.
6330         * resolv/arpa/nameser_compat.h (__BIND): Remove.
6332 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6334         Remove the always-defined BIND_4_COMPAT macro.
6335         * resolv/arpa/nameser.h: Unconditionally include
6336         <arpa/nameser_compat.h>.
6337         (BIND_4_COMPAT): Remove.
6338         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6340 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6342         [BZ #20591]
6343         Remove obsolete DNSSEC support.
6344         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6345         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6346         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6347         (ns_verify_tcp, ns_verify_tcp_init): Remove.
6348         (ns_cert_types): Add comment.
6349         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6350         separately.
6351         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6352         (dst_s_dns_key_id): Remove.
6353         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6354         variables.
6356 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6358         [BZ #20524]
6359         * manual/string.texi (String/Array Comparison): Clarify the
6360         strverscmp behavior.
6362 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6364         * test-skeleton.c (xasprintf): Add function.
6365         * io/tst-open-tmpfile.c: New test.
6366         * io/Makefile (tests): Add it.
6368 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6370         Avoid running $(CXX) during build to obtain header file paths.
6371         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6372         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6373         * Makerules (cstdlib, cmath): Remove variables.  Use
6374         $(c++-cstdlib-header), $(c++-cmath-header) instead.
6375         * configure: Regenerate.
6377 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6379         * Makeconfig (all-object-suffixes): Include .op only if
6380         $(build-profile).
6382 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6384         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6385         conditionals.  Do not define PATH_MAX.
6387 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6389         * posix/Makefile (tests): Add tst-spawn3.
6390         * posix/tst-spawn3.c: New file.
6391         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6392         if it is already opened for open action.
6394         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6395         all signals when executing the clone vfork child.
6396         (SIGALL_SET): Remove macro.
6398         * nptl/Makefile (tests): Add tst-exec5.
6399         * nptl/tst-exec5.c: New file.
6400         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6401         asynchronous cancellation.
6403 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6405         * hurd/exc2signal.c: #include <hurd/signal.h>
6406         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6407         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
6408         accordingly.
6409         * mach/mach_error.c (mach_error): Fix old-style function definition.
6410         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6412 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6414         * math/Makefile (libm-calls): Remove s_nanF.
6415         (gen-libm-calls): Add s_nanF.
6417         * math/s_nan.c: Refactor into ...
6418         * math/s_nan_template.c: New file.
6420         * math/s_nanf.c: Removed.
6421         * math/s_nanl.c: Removed.
6422         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6423         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6425         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6426         (LDOUBLE_nanl_libm_version): New macro.
6428         * sysdeps/generic/math-type-macros-double.h:
6429         (M_STRTO_NAN): New macro.
6430         * sysdeps/generic/math-type-macros-float.h: Likewise.
6431         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6433         * sysdeps/generic/math-type-macros.h: Document
6434         M_STRTO_NAN.
6436 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6438         * math/s_nanf.c: Remove __nanf undef.
6439         * math/s_nan.c: Remove __nan undef.
6440         * math/s_nanl.c: Remove __nanl undef.
6442         * sysdeps/generic/math_private.h (__nan): Remove macro
6443         override.
6444         (__nanf): Likewise.
6445         (__nanl): Likewise.
6447 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6449         * math/Makefile (gen-all-calls): New variable.
6450         (generated): Replace gen-libm-calls with gen-all-calls.
6451         (gen-libm-templates.stmp): Likewise.  Also, ensure
6452         the output directory exists or is created and add
6453         dependency on the Makefile.
6454         (calls): Move s_ldexpF into gen-calls.
6455         (gen-calls): New variable.
6457         * math/s_ldexpf.c: Removed.
6458         * math/s_ldexpl.c: Removed.
6459         * math/s_ldexp.c: Refactored into ...
6460         * math/s_ldexp_template.c: New file.
6462         * sysdeps/generic/math-type-macros-double.h: Remove
6463         redundant fall-through definition of declare_mgen_alias.
6464         (declare_mgen_alias_2): New macro.
6466         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6467         New macro for function aliased to two exported symbols.
6469         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6470         new template file.
6471         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6473 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6475         * Makeconfig (all-object-suffixes): Remove .og.
6476         * Makerules (elide-routines.og): Remove.
6477         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6478         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6479         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6481 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6483         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6484         .os objects.
6486 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6488         [BZ #20615]
6489         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6490         fpu directory by non-fpu.
6491         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6492         on non-fpu directory from a fpu directory.
6494 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
6496         * include/limits.h: Define
6497         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6498         <bits/libc-header-start.h> instead of including <features.h>.
6499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6510         * manual/lang.texi (Width of Type): Document these macros.
6511         * stdlib/tst-width.c: New file.
6512         * stdlib/Makefile (tests): Add tst-width.
6514 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6516         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6517         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6519 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6521         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6522         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6523         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6525 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6527         [BZ #18243]
6528         * rt/Makefile (test): Add tst-shm-cancel.
6529         * rt/tst-shm-cancel.c: New file.
6530         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6532         [BZ #18243]
6533         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6534         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6535         definition.
6536         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6537         uncontended case.
6538         * nptl/sem_wait.c (__new_sem_wait): Likewise.
6539         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6540         (tf): Fix check for uncontended case.
6541         (do_test): Likewise.
6542         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6543         (tf): Fix check for uncontended case.
6544         (do_test): Likewise.
6545         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6546         (tf): Fix check for uncontended case.
6547         (do_test): Likewise.
6548         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6549         (tf): Fix check for uncontended case.
6550         (do_test): Likewise.
6552         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6553         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6555         [BZ #15765]
6556         * nptl/Makefile (tests): Add tst-sem16.
6557         * nptl/tst-sem16.c: New file.
6558         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6560         * nptl/sem_open.c (sem_open): Init pad value to 0.
6561         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6562         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6564 2016-09-15  Florian Weimer  <fweimer@redhat.com>
6566         [BZ #20611]
6567         * inet/Makefile (routines): Add inet6_scopeid_pton.
6568         (tests): Add tst-inet6_scopeid_pton.
6569         * inet/inet6_scopeid_pton.c: New file.
6570         * inet/net-internal.h: Likewise.
6571         * inet/tst-inet6_scopeid_pton.c: New test.
6572         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6573         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6576 2016-09-14  Florian Weimer  <fweimer@redhat.com>
6578         Remove support for compiling wrappers with PTW.
6579         * sysdeps/nptl/Makeconfig: Drop ptw- support.
6580         * nptl/Makefile (pthread-compat-wrappers): Define.
6581         (libpthread-routines): Use pthread-compat-wrappers.
6582         * sysdeps/unix/sysv/linux/alpha/Makefile
6583         (libpthread-routines, libpthread-shared-only-routines): Remove
6584         ptw- prefix.
6585         * sysdeps/s390/nptl/Makefile
6586         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6587         * sysdeps/ia64/nptl/Makefile
6588         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6589         * sysdeps/nacl/Makefile (libpthread-routines): Use
6590         pthread-compat-wrappers to filter the routines list instead of the
6591         ptw- prefix.
6593 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6595         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6596         with L() and remove explicit suffix, convert real literals
6597         which can be equivalentally substituted with integers, and
6598         transform -L(x) to L(-x).
6600         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6601         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6602         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6603         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6604         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6605         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6606         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6607         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6608         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6609         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6610         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6611         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6612         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6613         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6614         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6615         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6616         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6617         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6618         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6619         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6620         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6621         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6622         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6623         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6624         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6625         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6626         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6627         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6628         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6629         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6630         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6631         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6632         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6633         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6634         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6635         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6636         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6637         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6638         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6639         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6640         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6641         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6642         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6643         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6644         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6645         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6646         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6647         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6648         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6649         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6651 2016-09-13  Florian Weimer  <fweimer@redhat.com>
6653         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6655 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6657         * malloc/Makefile (tests): Remove individual static test names
6658         and just add all of tests-static.
6660         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6662 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
6664         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6665         file.
6667         * sysdeps/sparc/fpu/fegetmode.c: New file.
6668         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6670         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6671         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6673         * sysdeps/s390/fpu/fegetmode.c: New file.
6674         * sysdeps/s390/fpu/fesetmode.c: Likewise.
6676         * sysdeps/powerpc/fpu/fegetmode.c: New file.
6677         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6678         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6679         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6680         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6681         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6683         * sysdeps/mips/fpu/fegetmode.c: New file.
6684         * sysdeps/mips/fpu/fesetmode.c: Likewise.
6686         * sysdeps/m68k/fpu/fegetmode.c: New file.
6687         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6689         * sysdeps/ia64/fpu/fegetmode.c: New file.
6690         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6692         * sysdeps/hppa/fpu/fegetmode.c: New file.
6693         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6695         * sysdeps/arm/fegetmode.c: New file.
6696         * sysdeps/arm/fesetmode.c: Likewise.
6698         * sysdeps/alpha/fpu/fegetmode.c: New file.
6699         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6701         * sysdeps/aarch64/fpu/fegetmode.c: New file.
6702         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6704         * math/fegetmode.c: New file.
6705         * math/fesetmode.c: Likewise.
6706         * sysdeps/i386/fpu/fegetmode.c: Likewise.
6707         * sysdeps/i386/fpu/fesetmode.c: Likewise.
6708         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6709         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6710         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6712         declaration.
6713         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6714         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6715         typedef.
6716         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6717         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6718         (femode_t): New typedef.
6719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6720         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6721         (femode_t): New typedef.
6722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6723         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6724         (femode_t): New typedef.
6725         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6726         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6727         (femode_t): New typedef.
6728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6729         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6730         (femode_t): New typedef.
6731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6732         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6733         (femode_t): New typedef.
6734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6735         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6736         (femode_t): New typedef.
6737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6738         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6739         (femode_t): New typedef.
6740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6741         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6742         (femode_t): New typedef.
6743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6744         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6745         (femode_t): New typedef.
6746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6747         declaration.
6748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6749         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6750         (femode_t): New typedef.
6751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6752         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6753         (femode_t): New typedef.
6754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6755         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6756         (femode_t): New typedef.
6757         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6758         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6759         (femode_t): New typedef.
6760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6761         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6762         (femode_t): New typedef.
6763         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6764         * manual/arith.texi (FE_DFL_MODE): Document macro.
6765         (fegetmode): Document function.
6766         (fesetmode): Likewise.
6767         * math/Versions (fegetmode): New libm symbol at version
6768         GLIBC_2.25.
6769         (fesetmode): Likewise.
6770         * math/Makefile (libm-support): Add fegetmode and fesetmode.
6771         (tests): Add test-femode and test-femode-traps.
6772         * math/test-femode-traps.c: New file.
6773         * math/test-femode.c: Likewise.
6774         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6775         alias for __fe_dfl_env.
6776         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6777         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6778         (__fe_dfl_mode): Likewise.
6779         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6780         version GLIBC_2.25.
6781         * sysdeps/nacl/libm.abilist: Update.
6782         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6783         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6784         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6785         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6786         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6787         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6788         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6789         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6790         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6791         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6792         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6793         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6795         Likewise.
6796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6797         Likewise.
6798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6799         Likewise.
6800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6801         Likewise.
6802         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6803         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6804         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6805         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6806         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6808         Likewise.
6809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6810         Likewise.
6811         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6812         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6813         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6815 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6817         [BZ #20495]
6818         [BZ #20508]
6819         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6820         processors, set Use_dl_runtime_resolve_slow and set
6821         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6822         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6823         New.
6824         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6825         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6826         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6827         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6828         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6829         if Use_dl_runtime_resolve_opt is set.  Use
6830         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6831         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6832         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
6833         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6834         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6835         New.
6836         (_dl_runtime_resolve_opt): Likewise.
6837         (_dl_runtime_profile): Define only if _dl_runtime_profile is
6838         defined.
6840 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6842         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6843         __libc_memalign with "+ RELA R_390_GLOB_DAT".
6845 2016-09-06  Florian Weimer  <fweimer@redhat.com>
6847         Convert malloc to __libc_lock.  Automated part, using this Perl
6848         s/// command:
6849           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6850             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6851         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6852         conversion.
6854 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
6856         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6857         (linknamespace-symlists-tests): Likewise.
6858         (linknamespace-header-tests): Likewise.
6860 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
6862         [BZ #19810]
6863         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6864         * elf/tst-noload.c: New test case.
6865         * elf/Makefile (tests): Add tst-noload.
6867 2016-09-02  Roland McGrath  <roland@hack.frob.com>
6869         * sysdeps/nacl/dup.c: Add libc_hidden_def.
6871         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6872         not any more.
6874         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6876 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6878         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6879         (do_cos_slow): Likewise.
6880         (do_sin): Likewise.
6881         (do_sin_slow): Likewise.
6882         (slow): Likewise.
6883         (slow1): Likewise.
6884         (slow2): Likewise.
6885         (sloww): Likewise.
6886         (sloww1): Likewise.
6887         (sloww2): Likewise.
6888         (bsloww): Likewise.
6889         (bsloww1): Likewise.
6890         (bsloww2): Likewise.
6891         (cslow2): Likewise.
6893         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6895         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6896         arguments.  Consolidate input partitioning from callers here.
6897         (do_cos_slow): Likewise.
6898         (do_sin): Likewise.
6899         (do_sin_slow): Likewise.
6900         (do_sincos_1): Remove the no longer necessary input partitioning.
6901         (do_sincos_2): Likewise.
6902         (__sin): Likewise.
6903         (__cos): Likewise.
6904         (slow1): Likewise.
6905         (slow2): Likewise.
6906         (sloww1): Likewise.
6907         (sloww2): Likewise.
6908         (bsloww1): Likewise.
6909         (bsloww2): Likewise.
6910         (cslow2): Likewise.
6912 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6914         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6915         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
6916         outside of allocated array.
6918 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6920         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6921         instead of MB_CUR_MAX to avoid variable-length array.
6923 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6925         * math/Makefile (libm-calls): Remove k_rem_pio2F.
6926         (type-double-routines): Add k_rem_pio2.
6927         (type-float-routines): Add k_rem_pio2f.
6929         * sysdeps/generic/math_private.h:
6930         (__kernel_rem_pio2l): Removed.
6932         * math/k_rem_pio2l.c: Removed.
6933         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6934         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6935         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6936         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6938 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6940         * math/Makefile (gen-libm-calls): Add s_fmin
6941         (libm-calls): Remove above.
6943         * math/s_fmin.c: Refactor into ...
6944         * math/s_fmin_template.c: New file.
6946         * math/s_fminf.c: Removed.
6947         * math/s_fminl.c: Removed.
6948         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6949         (LDOUBLE_fmin_libm_version): New macro.
6951         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6952         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6954 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6956         * math/Makefile: (gen-libm-calls): Add s_fmax.
6957         (libm-calls): Remove above.
6959         * math/s_fmax.c: Refactor into ...
6960         * math/s_fmax_template.c: New file.
6961         * math/s_fmaxf.c: Removed.
6962         * math/s_fmaxl.c: Removed.
6964         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6965         (LDOUBLE_fmaxl_libm_version): New macro.
6967         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6968         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6970         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6971         s_fmin.c to pick the aarch64 version of the file.
6972         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6973         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6975 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6977         * math/Makefile: (gen-libm-calls): Add s_nextdown.
6978         (libm-calls): Remove above.
6980         * math/s_nextdown.c: Refactor into ...
6981         * math/s_nextdown_template.c: New file.
6982         * math/s_nextdownf.c: Removed.
6983         * math/s_nextdownl.c: Removed.
6985         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6987 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6989         * math/Makefile (gen-libm-calls): Add s_fdim.
6990         (libm-calls): Move to above.
6992         * math/s_fdim.c: Renamed and refactored into to ...
6993         * math/s_fdim_template.c: New file.
6994         * math/s_fdiml.c: Removed.
6995         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6996         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6998         * sysdeps/generic/math-type-macros-double.h:
6999         (declare_mgen_alias): Don't declare if already declared.
7000         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
7001         Likewise.
7003         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7004         (declare_mgen_alias): Don't declare if already declared.
7005         (M_LIBM_NEED_COMPAT): Likewise.
7006         (declare_mgen_libm_compat): Likewise.
7007         (LDOUBLE_fdiml_libm_version): New macro.
7009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7010         Include math/s_fdim.c now that ldbl-opt version is not needed.
7011         (declare_mgen_alias): New macro to disable aliasing.
7013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
7014         (declare_mgen_alias): Likewise.
7015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
7016         (declare_mgen_alias): Likewise.
7017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
7018         (declare_mgen_alias): Likewise.
7019         (M_LIBM_NEED_COMPAT): Likewise.
7021 2016-09-01  Florian Weimer  <fweimer@redhat.com>
7023         [BZ #20525]
7024         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
7025         Include <linux/quota.h>.
7026         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
7027         and btodb.
7028         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
7029         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
7030         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
7031         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
7032         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
7033         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
7034         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
7035         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
7036         types.
7037         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
7038         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
7040 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7042         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
7043         (gammal_positive): Fix spacing.
7044         (__ieee754_gammal_r): Likewise.
7046 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7048         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
7049         (_Float128): Define as long double, always.
7050         (L): Apply long double type suffix, always.
7052         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
7053         _Float128, excepting comments.
7055         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7056         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7057         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7058         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7059         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7060         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7061         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7062         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7063         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7064         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
7065         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7066         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7067         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7068         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7069         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7070         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7071         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7072         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7073         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7074         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7075         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7076         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7077         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7078         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7079         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7080         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7081         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7082         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7083         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7084         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7085         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7086         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7087         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7088         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7089         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7090         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7091         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7092         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7093         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7094         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7095         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7096         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7097         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7098         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7099         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7100         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7101         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7102         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7103         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7104         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7105         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7106         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7107         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7108         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7109         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7110         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7111         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7112         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7113         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7114         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7115         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7116         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7117         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7118         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7119         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7120         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7121         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7122         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7124         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
7125         _Float128, and include math_private.h.
7126         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7128         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
7129         long double semantics.
7130         (_Float128): Likewise.
7131         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
7132         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7133         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7134         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7136 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7138         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
7139         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
7140         * sysdeps/s390/configure: Regenerated.
7141         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
7142         instruction for raising over-/underflow if z196 zarch is supported
7143         by default.
7144         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
7146 2016-08-30  Svante Signell  <svante.signell@gmail.com>
7148         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7149         it point to a dumb buffer for RPC to fill it.
7151 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7153         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7154         instead of if/else.
7155         (do_sin_slow): Likewise.
7156         (do_sincos_1): Use fabs instead of if/else.
7157         (do_sincos_2): Likewise.
7158         (__sin): Likewise.
7159         (__cos): Likewise.
7160         (slow2): Likewise.
7161         (sloww): Likewise.
7162         (sloww1): Likewise.  Drop argument M.
7163         (sloww2): Use fabs instead of if/else.
7164         (bsloww): Likewise.
7165         (bsloww1): Likewise.
7166         (bsloww2): Likewise.
7168         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7169         fall through comment.
7170         (do_sincos_1): Likewise.
7172         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7173         Consolidate switch cases 0 and 2.
7175 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7177         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7178         (libm-calls): Remove the above.
7180         * math/s_cexp_template.c: Update using type-generic macros.
7181         * math/s_clog10_template.c: Likewise.
7182         * math/s_cpow_template.c: Likewise.
7183         * math/s_clog_template.c: Likewise.
7184         * math/s_cproj_template.c: Likewise.
7185         * math/s_csqrt_template.c: Likewise.
7187         * math/s_cexp.c: Removed.
7188         * math/s_cexpf.c: Removed.
7189         * math/s_cexpl.c: Removed.
7190         * math/s_clog10.c: Removed.
7191         * math/s_clog10f.c: Removed.
7192         * math/s_clog10l.c: Removed.
7193         * math/s_cpow.c: Removed.
7194         * math/s_cpowf.c: Removed.
7195         * math/s_cpowl.c: Removed.
7196         * math/s_clog.c: Removed.
7197         * math/s_clogf.c: Removed.
7198         * math/s_clogl.c: Removed.
7199         * math/s_cproj.c: Removed.
7200         * math/s_cprojf.c: Removed.
7201         * math/s_cprojl.c: Removed.
7202         * math/s_csqrt.c: Removed.
7203         * math/s_csqrtf.c: Removed.
7204         * math/s_csqrtl.c: Removed.
7206         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7207         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7208         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7209         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7210         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7211         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7213         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7214         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7215         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7216         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7217         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7218         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7219         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7220         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7221         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7222         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7223         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7225         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7226         version.
7228         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7229         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7230         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7231         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7233 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7235         * s_cexp_template.c: Copy of s_cexp.c.
7236         * s_clog_template.c: Copy of s_clog.c.
7237         * s_clog10_template.c: Copy of s_clog10.c.
7238         * s_cpow_template.c: Copy of s_cpow.c.
7239         * s_cproj_template.c: Copy of s_cproj.c.
7240         * s_csqrt_template.c: Copy of s_csqrt.c.
7242 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7244         [BZ #20517]
7245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7246         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7247         exported.
7249 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
7251         * math/fetestexceptflag.c: New file.
7252         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
7253         Stefan Liebler.
7254         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7255         (fetestexceptflag): New function declaration.
7256         * manual/arith.texi (fetestexceptflag): Document function.
7257         * math/Versions (fetestexceptflag): New libm symbol at version
7258         GLIBC_2.25.
7259         * math/Makefile (libm-support): Add fetestexceptflag.
7260         (tests): Add test-fetestexceptflag.
7261         * math/test-fetestexceptflag.c: New file.
7262         * sysdeps/nacl/libm.abilist: Update.
7263         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7264         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7265         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7266         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7267         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7268         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7269         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7270         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7271         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7272         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7273         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7274         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7276         Likewise.
7277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7278         Likewise.
7279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7280         Likewise.
7281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7282         Likewise.
7283         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7284         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7285         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7286         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7287         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7289         Likewise.
7290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7291         Likewise.
7292         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7293         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7294         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7296 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7298         [BZ #20432]
7299         Avoid strong references to malloc-internal symbols when linking
7300         statically, to support statically interposed mallocs.
7301         * include/libc-symbols.h (call_function_static_weak): New macro.
7302         * malloc/Makefile (tests): Add tst-interpose-nothread,
7303         tst-interpose-thread, tst-interpose-static-nothread,
7304         tst-interpose-static-thread.
7305         (tests-static): Add tst-interpose-static-nothread,
7306         tst-interpose-static-thread.
7307         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7308         tst-interpose-aux-thread.o.
7309         (test-extras): Add tst-interpose-aux-nothread,
7310         tst-interpose-aux-thread.
7311         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7312         tst-interpose-aux-nothread.o.
7313         (tst-interpose-thread, tst-interpose-static-thread): Link with
7314         tst-interpose-aux-thread.o and libthread.
7315         * malloc/tst-interpose-aux-nothread.c: New file.
7316         * malloc/tst-interpose-aux-thread.c: Likewise.
7317         * malloc/tst-interpose-aux.c: Likewise.
7318         * malloc/tst-interpose-aux.h: Likewise.
7319         * malloc/tst-interpose-nothread.c: Likewise.
7320         * malloc/tst-interpose-skeleton.c: Likewise.
7321         * malloc/tst-interpose-static-nothread.c: Likewise.
7322         * malloc/tst-interpose-static-thread.c: Likewise.
7323         * malloc/tst-interpose-thread.c: Likewise.
7324         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7325         * sysdeps/mach/hurd/fork.c (__fork): Only call
7326         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7327         __malloc_fork_unlock_child if defined.
7328         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7330 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7332         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7333         timespec C99 designated initialization.
7335 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7337         [BZ #19946]
7338         Avoid expected SIGALRM signals.
7339         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7340         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7341         (xpthread_create, xpthread_detach, xpthread_join)
7342         (delayed_exit_thread, delayed_exit): New functions.
7343         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7344         (tf): Use xpthread_cond_wait.
7345         (do_test): Likewise.  Replace alarm with delayed_exit.
7346         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7347         (do_test): Call delayed_exit.  Report failure.
7348         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7349         (do_test): Call delayed_exit.
7350         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7351         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
7352         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7353         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
7354         error.
7355         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7356         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
7357         error.
7358         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7359         (do_test): Call delayed_exit.
7360         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7361         (do_test): Call delayed_exit.
7362         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7363         (do_test): Call delayed_exit instead of alarm.  Use
7364         xpthread_mutex_lock.
7365         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7366         (do_test): Call delayed_exit instead of alarm.  Use
7367         xpthread_mutex_lock.
7368         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7369         (do_test): Call delayed_exit instead of alarm.
7370         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7371         (do_test): Call delayed_exit instead of alarm.  Use
7372         xpthread_spin_lock.
7373         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7374         (do_test): Call delayed_exit instead of alarm.  Use
7375         xpthread_join.
7377 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7379         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7380         adjust CFA when allocating register save area on re-aligned
7381         stack.
7383 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7385         * string/tst-cmp.c: New test.
7386         * string/Makefile (tests): Add it.
7388 2016-08-25  Mark Wielaard  <mark@klomp.org>
7390         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7391         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
7392         (check_tree_recurse): Use newly defined accessors.
7393         (check_tree): Likewise.
7394         (maybe_split_for_insert): Likewise.
7395         (__tfind): Likewise.
7396         (__tdelete): Likewise.
7397         (trecurse): Likewise.
7398         (tdestroy_recurse): Likewise.
7399         (__tsearch): Likewise. And add asserts for malloc alignment.
7400         (__twalk): Cast root to node in case CHECK_TREE is defined.
7402 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7404         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7406 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7408         * math/Makefile (libm-gen-calls): Add
7409         catan, catanh, ctan, ctanh.
7410         (libm-calls): Remove the above.
7412         * math/s_catan_template.c: Update using type-generic macros.
7413         * math/s_catanh_template.c: Likewise.
7414         * math/s_ctan_template.c: Likewise.
7415         * math/s_ctanh_template.c: Likewise.
7417         * math/s_catanf.c: Removed.
7418         * math/s_catan.c: Removed.
7419         * math/s_catanl.c: Removed.
7420         * math/s_catanhf.c: Removed.
7421         * math/s_catanh.c: Removed.
7422         * math/s_catanhl.c: Removed.
7423         * math/s_ctanf.c: Removed.
7424         * math/s_ctan.c: Removed.
7425         * math/s_ctanl.c: Removed.
7426         * math/s_ctanhf.c: Removed.
7427         * math/s_ctanh.c: Removed.
7428         * math/s_ctanhl.c: Removed.
7430         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7431         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7432         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7433         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7434         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7435         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7437         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7438         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7439         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7440         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7442 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7444         * s_catan_template.c: Copy of s_catan.c.
7445         * s_catanh_template.c: Copy of s_catanh.c.
7446         * s_ctan_template.c: Copy of s_ctan.c.
7447         * s_ctanh_template.c: Copy of s_ctanh.c.
7449 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7451         * math/Makefile (gen-libm-calls): Move
7452         casin, casinh, csin, csinh here.
7453         (libm-calls): Remove the above.
7455         * math/s_casin_template.c: Update using type-generic macros.
7456         * math/s_casinh_template.c: Likewise.
7457         * math/s_csin_template.c: Likewise.
7458         * math/s_csinh_template.c: Likewise.
7459         * math/k_casinh_template.c: Likewise.
7461         * math/s_casinf.c: Removed.
7462         * math/s_casin.c: Removed.
7463         * math/s_casinl.c: Removed.
7464         * math/s_casinh.c: Removed.
7465         * math/s_casinhf.c: Removed.
7466         * math/s_casinhl.c: Removed.
7467         * math/s_csin.c: Removed.
7468         * math/s_csinf.c: Removed.
7469         * math/s_csinl.c: Removed.
7470         * math/s_csinh.c: Removed.
7471         * math/s_csinhf.c: Removed.
7472         * math/s_csinhl.c: Removed.
7473         * math/k_casinh.c: Removed.
7474         * math/k_casinhf.c: Removed.
7475         * math/k_casinhl.c: Removed.
7477         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7478         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7479         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7480         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7482         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7483         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7484         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7485         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7486         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7487         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7488         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7489         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7491         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7492         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7493         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7494         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7496         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7497         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7498         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7499         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7501 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7503         * s_casin_template.c: Copy of s_casin.c.
7504         * s_casinh_template.c: Copy of s_casinh.c.
7505         * s_csin_template.c: Copy of s_csin.c.
7506         * s_csinh_template.c: Copy of s_csinh.c.
7507         * k_casinh_template.c: Copy of k_casinh.c.
7509 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7511         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7513 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7515         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7516         (mul_split) Remove, rename as mul_splitl, remove
7517         redundant float.h include, and include via mul_splitl.h
7519         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7520         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7521         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7522         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7523         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7525         * math/mul_splitl.h: New file.
7527         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7528         Move into mul_split.h, and remove redundant float.h include.
7530         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7531         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7532         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7533         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7535         * math/mul_split.h: New file.
7537 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7539         * math/Makefile (libm-gen-calls): Move
7540         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7541         (libm-calls): Remove above.
7543         * math/s_cacos_template.c: Update using type-generic macros.
7544         * math/s_cacosh_template.c: Likewise.
7545         * math/s_ccos_template.c: Likewise.
7546         * math/s_ccosh_template.c: Likewise.
7548         * math/s_cacosf.c: Removed.
7549         * math/s_cacos.c: Removed.
7550         * math/s_cacosl.c: Removed.
7551         * math/s_cacoshf.c: Removed.
7552         * math/s_cacosh.c: Removed.
7553         * math/s_cacoshl.c: Removed.
7554         * math/s_ccosf.c: Removed.
7555         * math/s_ccos.c: Removed.
7556         * math/s_ccosl.c: Removed.
7557         * math/s_ccoshf.c: Removed.
7558         * math/s_ccosh.c: Removed.
7559         * math/s_ccoshl.c: Removed.
7561         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7562         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7563         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7564         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7565         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7566         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7568         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7569         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7570         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7571         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7573         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7574         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7575         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7576         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7578 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7580         * s_cacos_template.c: Copy of s_cacos.c.
7581         * s_cacosh_template.c: Copy of s_cacosh.c.
7582         * s_ccos_template.c: Copy of s_ccos.c.
7583         * s_ccosh_template.c: Copy of s_ccosh.c.
7585 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7587         * stdlib/tst-strtod-round-skeleton.c:
7588         Refactored from tst-strtod-round.c.
7590         (L_): New macro to apply literal modifier.
7591         (FNPFX): New macro to select str or wcs prefix.
7592         (CHAR): New macro to choose wchar_t or char.
7593         (STRM): New macro to choose printf for tested character type.
7595         (STRTO): New macro to choose appropriate string -> real function.
7596         (FNPFXS): Stringitized version of FNPFX.
7597         (STR): Support for above macro.
7598         (STRX): Likewise.
7600         (TEST): Update with above macros.
7601         (test): Likewise.
7602         (GEN_ONE_TEST): Likewise.
7603         (test_in_one_mode): Likewise.
7605         * stdlib/tst-strtod-round.c: New file.
7606         * wcsmbs/tst-wcstod-round.c: New file.
7608         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7609         (tst-wcstod-round): Add libm depencency for fesetround.
7611 2016-08-19  Zack Weinberg  <zackw@panix.com>
7613         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7615 2016-08-18  Torvald Riegel  <triegel@redhat.com>
7617         [BZ #20477]
7618         * resolv/res_hconf.c (do_init): Use atomic access.
7619         * resolv/res_hconf.h: Add comments.
7620         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7621         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7624 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7626         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7627         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7628         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7629         Likewise.
7631 2016-08-18  Florian Weimer  <fweimer@redhat.com>
7633         [BZ #16907]
7634         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7635         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7636         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7637         (__attribute__): Remove definition.
7639 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7641         * sysdeps/ieee754/ldbl-128/e_asinl.c:
7642         Remove unused sqrtl declaration.
7644 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7646         * math/Makefile: (gen-libm-templates.stmp): New rule.
7647         (libm-calls): Move carg conj cimag and cabs into ...
7648         (gen-libm-calls): New variable.
7649         (generated): Inform Make objects from gen-libm-calls
7650         may be generated.
7652         * sysdeps/generic/math-type-macros.h: New file.
7653         * sysdeps/generic/math-type-macros-float.h: Likewise.
7654         * sysdeps/generic/math-type-macros-double.h: Likewise.
7655         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7656         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7657         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7659         * math/cabs.c: Refactor into
7660         * math/cabs_template.c: new file.
7661         * math/cabsf.c: Removed.
7662         * math/cabsl.c: Removed.
7663         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7664         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7666         * math/carg.c: Refactor into
7667         * math/carg_template.c: new file.
7668         * math/cargf.c: Removed.
7669         * math/cargl.c: Removed.
7670         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7671         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7673         * math/conj.c: Refactor into
7674         * math/conj_template.c: new file.
7675         * math/conjf.c: Removed.
7676         * math/conjl.c: Removed.
7677         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7678         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7680         * math/cimag.c: Refactor into
7681         * math/cimag_template.c: new file.
7682         * math/cimagf.c: Removed.
7683         * math/cimagl.c: Removed.
7684         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7685         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7687         * math/cimag.c: Refactor into
7688         * math/cimag_template.c: new file.
7689         * math/cimagf.c: Removed.
7690         * math/cimagl.c: Removed.
7691         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7692         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7694 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7696         Reduce time to expected nptl/tst-once5 failure.
7697         * nptl/tst-once5.cc (TIMEOUT): Define.
7699 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7701         [BZ #20452]
7702         Avoid additional copies of objects in libc.a in static libraries.
7703         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7704         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7705         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7706         rt-sysdep.
7707         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7708         Add nptl-sysdep.
7709         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7710         Add ptw-sysdep.
7711         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7712         rt-sysdep.
7713         * sysdeps/unix/sysv/linux/alpha/Makefile
7714         (libpthread-shared-only-routines): Add ptw-sysdep,
7715         ptw-sigprocmask, ptw-rt_sigaction.
7716         * sysdeps/unix/sysv/linux/ia64/Makefile
7717         (librt-shared-only-routines): Add rt-sysdep.
7718         * sysdeps/unix/sysv/linux/i386/Makefile
7719         (libpthread-shared-only-routines): Add libc-do-syscall.
7720         * sysdeps/unix/sysv/linux/microblaze/Makefile
7721         (libpthread-shared-only-routines): Add sysdep.
7722         * sysdeps/unix/sysv/linux/powerpc/Makefile
7723         (librt-shared-only-routines): Add rt-sysdep.
7724         (libpthread-shared-only-routines): Add sysdep.
7725         * sysdeps/unix/sysv/linux/s390/Makefile
7726         (librt-shared-only-routines): Add rt-sysdep.
7727         * sysdeps/unix/sysv/linux/sparc/Makefile
7728         (librt-shared-only-routines): Add rt-sysdep.
7729         (libpthread-shared-only-routines): Add sysdep.
7730         * sysdeps/unix/sysv/linux/tile/Makefile
7731         (libpthread-shared-only-routines): Likewise.
7733 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
7735         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7736         Mask implicit bit out of unpacked value.
7737         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7738         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7739         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7741         * sysdeps/sparc/fpu/fesetexcept.c: New file.
7743         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7745         * sysdeps/s390/fpu/fesetexcept.c: New file.
7747         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7748         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7749         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7751         * sysdeps/mips/fpu/fesetexcept.c: New file.
7753         * sysdeps/m68k/fpu/fesetexcept.c: New file.
7755         * sysdeps/ia64/fpu/fesetexcept.c: New file.
7757         * sysdeps/hppa/fpu/fesetexcept.c: New file.
7759         * sysdeps/arm/fesetexcept.c: New file.
7761         * sysdeps/alpha/fpu/fesetexcept.c: New file.
7763         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7765         * math/fesetexcept.c: New file.
7766         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7767         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7768         * math/fenv.h: Define
7769         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7770         <bits/libc-header-start.h> instead of including <features.h>.
7771         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7772         declaration.
7773         * manual/arith.texi (fesetexcept): Document function.
7774         * math/Versions (fesetexcept): New libm symbol at version
7775         GLIBC_2.25.
7776         * math/Makefile (libm-support): Add fesetexcept.
7777         (tests): Add test-fesetexcept and test-fesetexcept-traps.
7778         * math/test-fesetexcept.c: New file.
7779         * math/test-fesetexcept-traps.c: Likewise.
7780         * sysdeps/nacl/libm.abilist: Update.
7781         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7782         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7783         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7784         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7785         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7786         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7787         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7788         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7789         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7790         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7791         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7792         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7794         Likewise.
7795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7796         Likewise.
7797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7798         Likewise.
7799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7800         Likewise.
7801         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7802         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7803         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7804         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7805         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7807         Likewise.
7808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7809         Likewise.
7810         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7811         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7812         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7814 2016-08-16  Florian Weimer  <fweimer@redhat.com>
7816         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7817         New.
7818         (do_test): Apply default_stack_size_in_mb if not set.
7819         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7821 2016-08-15  Andreas Schwab  <schwab@suse.de>
7823         [BZ #20435]
7824         CVE-2016-6323
7825         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7826         as .cantunwind.
7828 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
7830         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7831         comment from fraiseexcpt.c.
7833         * math/test-fexcept.c (feraiseexcept_exact): New function.
7834         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7835         (test_except): Likewise.
7837 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
7839         [BZ #20455]
7840         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7841         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7842         to be restored.
7844         * math/test-fexcept-traps.c: New file.
7845         * math/test-fexcept.c: Likewise.
7846         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7847         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7848         macro.
7849         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7850         (EXCEPTION_SET_FORCES_TRAP): Likewise.
7852 2016-08-09  Torvald Riegel  <triegel@redhat.com>
7854         * include/atomic.h (atomic_fetch_and_relaxed,
7855         atomic_fetch_and_release, atomic_fetch_or_release,
7856         atomic_fetch_xor_release): New.
7858 2016-08-06  Christian Seiler  <christian@iwakd.de>
7860         [BZ #20444]
7861         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7862         MACH_PORT_NULL.
7864 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7866         * math/s_fdim.c: Avoid alias renamed.
7867         * math/s_fdimf.c: Likewise.
7868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7869         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7870         Add s_fdimf-vis3, s_fdim-vis3.
7871         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7872         (CFLAGS-s_fdim-vis3.c): Likewise.
7873         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7874         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7876 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7879         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7880         Remove s_fdimf-vis3, s_fdim-vis3.
7881         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7882         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7889         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7890         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7892 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7894         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7895         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7896         -Wa,-Av9a -mvis.
7898 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7900         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7901         LIT() to individual constants in simple expressions
7902         after splitting on spaces.
7903         (_apply_lit): Rename replaced version, and use it to
7904         apply to what appears to be a token.
7906         * math/libm-test.inc: Fix many, many issues with
7907         spacing.
7909 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
7911         * math/math.h: Move comment about <bits/mathdef.h> definitions
7912         above inclusion of <bits/mathdef.h>.  Do not mention
7913         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7915 2016-08-05  Torvald Riegel  <triegel@redhat.com>
7917         * include/atomic.h (atomic_exchange_relaxed): New.
7919 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
7921         * math/e_scalb.c: Do not include <fenv.h>.
7922         (invalid_fn): Do calculation resulting in NaN instead of raising
7923         FE_INVALID and returning a NaN explicitly.
7924         * math/e_scalbf.c: Do not include <fenv.h>.
7925         (invalid_fn): Do calculation resulting in NaN instead of raising
7926         FE_INVALID and returning a NaN explicitly.
7927         * math/e_scalbl.c: Do not include <fenv.h>.
7928         (invalid_fn): Do calculation resulting in NaN instead of raising
7929         FE_INVALID and returning a NaN explicitly.
7931 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
7933         * po/de.po: Updated from Translation Project.
7934         * po/fi.po: Likewise.
7935         * po/sv.po: Likewise.
7937 2016-08-04  Florian Weimer  <fweimer@redhat.com>
7939         [BZ #20452]
7940         Use sysdep.o from libc.a in static libraries.
7941         * sysdeps/unix/sysv/linux/i386/Makefile
7942         (libpthread-shared-only-routines): Add sysdep.
7943         (librt-shared-only-routines): Likewise.
7945 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7947         * math/tgmath.h (nextdown): Define if
7948         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7949         (nextup): Likewise.
7951         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7952         macro.
7953         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7954         Document.
7955         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7956         Document macro.
7957         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7958         (exp10f): Likewise.
7959         (exp10l): Likewise.
7960         * math/bits/mathcalls.h (exp10): Declare if
7961         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7963         * manual/arith.texi (nextup): Fix typo in last change.
7965 2016-08-03  Zack Weinberg  <zackw@panix.com>
7967         [BZ #19239]
7968         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7969         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7970         define major, minor, and makedev to issue deprecation warnings on use.
7971         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7972         previously-activated deprecation warnings for these macros and prevent
7973         subsequent inclusions of this header from having any effect.
7974         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7975         including <sys/sysmacros.h>, and undefine it again afterward.
7977 2016-08-03  Zack Weinberg  <zackw@panix.com>
7979         * sysdeps/generic/sys/sysmacros.h: Delete file.
7980         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7981         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7982         * bits/sysmacros.h: ... here; this encoding is now the generic
7983         encoding.  Now defines only the following macros:
7984         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7985         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7986         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7988         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7989         bits/sysmacros.h and the above new macros to generate the
7990         public implementations of major, minor, and makedev.
7991         * misc/tst-makedev.c: New test.
7992         * include/sys/sysmacros.h: New wrapper.
7994         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7995         (routines): Add makedev.
7996         (tests): Add tst-makedev.
7997         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7998         gnu_dev_makedev.
7999         * posix/Makefile (headers): Remove sys/sysmacros.h.
8000         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
8002         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
8003         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
8004         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8005         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8006         * sysdeps/unix/sysv/linux/arm/libc.abilist
8007         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8008         * sysdeps/unix/sysv/linux/i386/libc.abilist
8009         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8010         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8011         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8012         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8013         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8014         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8015         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8016         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8017         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8022         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8023         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8024         * sysdeps/unix/sysv/linux/sh/libc.abilist
8025         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8026         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8029         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8030         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8031         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8032         Add GLIBC_2.25.
8034         * include/features.h (__glibc_clang_prereq): New macro.
8035         * misc/sys/cdefs.h (__glibc_clang_has_extension)
8036         (__attribute_deprecated_msg__): New macros.
8038 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8040         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
8041         macro.
8042         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
8043         * manual/arith.texi (issignaling): Document as ISO from TS
8044         18661-1:2014.
8045         (nextup): Likewise.
8046         (nextupf): Likewise.
8047         (nextupl): Likewise.
8048         (nextdown): Likewise.
8049         (nextdownf): Likewise.
8050         (nextdownl): Likewise.
8051         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
8052         macro.
8053         * math/math.h: Define
8054         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8055         <bits/libc-header-start.h> instead of including <features.h>.
8056         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
8057         [__USE_GNU].
8058         * math/bits/mathcalls.h (nextdown): Declare if
8059         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
8060         (nextup): Likewise.
8061         (__issignaling): Likewise.
8063 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8065         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
8066         check, and remove __glibc_likely hint
8067         from FP_INFINITE check.
8068         * s_csinhf.c (__csinhf): Likewise.
8070         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
8071         hint from FP_INFINITE check.
8072         * s_csinhl.c (__csinhl): Likewise.
8074 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8076         * math/Makefile (libm-calls): Insert F placeholder into
8077         object names.  Move w_lgamma_compat* routines into
8078         (libm-compat-calls): New variable.
8079         (libm-compat-calls-ldouble-yes): New variable.
8080         (calls): Insert F placeholder.
8081         (generated): Redefine using new type-foreach macro call.
8082         (routines): Likewise.
8084         (types): New variable to hold a list of symbolic names
8085         for each type supported by the target machine.
8086         (libm-routines): Redefine using new types variable.
8087         (type-foreach): macro to replace fooF with the
8088         appropriately suffixed foo for each types.
8090         (type-ldouble-suffix): New variable.
8091         (type-ldouble-routines): Likewise.
8092         (type-ldouble-yes): Likewise.
8093         (type-double-suffix): Likewise.
8094         (type-double-routines): Likewise.
8095         (type-float-suffix): Likewise.
8096         (type-float-routines): Likewise.
8098         (dbl-only-routines): Remove.
8099         (long-c-yes): Likewise.
8100         (long-m-routines): Likewise.
8101         (long-m-support): Likewise.
8102         (long-m-yes): Likewise.
8103         (test-longdouble-yes): Likewise.
8105         (test-float.o): Simplify by increasing the scope of the
8106         recipe which adds libm-test.stmp to the vector types.
8107         (test-ifloat.o): Likewise.
8108         (test-float-finite.o): Likewise.
8109         (test-double.o): Likewise
8110         (test-idouble.o): Likewise.
8111         (test-double-finite.o): Likewise.
8112         (test-ldouble.o): Likewise
8113         (test-ildoubl.o): Likewise.
8114         (test-ldouble-finite.o): Likewise.
8116         (libm-tests): Redefine type tests using foreach and the
8117         list of types in types.
8119         (CPPFLAGS-test-ildoubl.c): Rename to
8120         (CPPFLAGS-test-ildouble.c): New variable
8122         * math/test-ildoubl.c: Rename to
8123         * math/test-ildouble.c: New file.
8125 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8127         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
8128         Use fabsl instead of fabs.
8129         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
8130         Likewise.
8131         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
8132         Add long double suffix to constant to ensure proper
8133         promotion to long double.
8135 2016-08-03  Tom Tromey  <tom@tromey.com>
8137         [BZ #20311]
8138         * nptl_db/Makefile (headers): Add proc_service.h.
8139         * nptl_db/proc_service.h: Add include guard.  Use
8140         __BEGIN/__END_DECLS.
8141         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
8142         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
8143         arguments.
8146 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8148         [BZ #17730]
8149         Avoid using memalign for TCB allocations.
8150         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8151         (_dl_allocate_tls_storage): Use malloc and manual alignment.
8152         Avoid alignment gap in the TLS_DTV_AT_TP case.
8153         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8154         determine the pointer to free.
8155         * nptl/tst-tls3-malloc.c: New test.
8156         * nptl/Makefile (tests): Add it.
8157         (tst-tls3-malloc): Link with libdl, libpthread.
8158         (LDFLAGS-tst-tls3-malloc): Set.
8159         (tst-tls3-malloc.out): Depend on DSO used in test.
8161 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8163         [BZ #17730]
8164         Avoid using memalign for TLS allocations.
8165         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
8166         is_static member with to_free member.
8167         (union dtv): Use struct dtv_pointer.
8168         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8169         dtv_pointer instead of is_static.
8170         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8171         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8172         instead of val.
8173         (allocate_dtv_entry): New function.
8174         (allocate_and_init): Return struct dtv_pointer.  Call
8175         allocate_dtv_entry instead of __libc_memalign.
8176         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8177         instead of val.
8178         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8179         instead of is_static.  Adjust call to allocate_and_init.
8180         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8181         struct dtv_pointer instead of val.
8183 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8185         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8186         (MALLOC_ALIGN_MASK): Move ...
8187         * malloc/malloc-internal.h: ... to here.
8188         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8190 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8192         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8193         (UDP_ENCAP_GTP1U): Likewise.
8195         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8196         (PF_MAX): Update value.
8197         (AF_QIPCRTR): New macro.
8199 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8201         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8202         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8203         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8204         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8205         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8206         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8207         s_truncf-vis3, s_trunc-vis3.
8208         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8209         (CFLAGS-s_ceil-vis3.c): Likewise.
8210         (CFLAGS-s_floorf-vis3.c): Likewise.
8211         (CFLAGS-s_floor-vis3.c): Likewise.
8212         (CFLAGS-s_truncf-vis3.c): Likewise.
8213         (CFLAGS-s_trunc-vis3.c): Likewise.
8214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8216         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8218         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8219         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8222         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8223         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8224         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8225         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8227 2016-08-02  David S. Miller  <davem@davemloft.net>
8229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8230         (__nearbyint_vis3): Don't check for sNaN before float register is
8231         loaded with the incoming argument.
8232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8233         (__nearbyintf_vis3): Likewise.
8234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8235         Likewise.
8236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8237         Likewise.
8239         * string/test-strncmp.c (do_test_limit): Make sure the test data
8240         stream is aligned as required for the type "CHAR".
8241         (do_test): Likewise.
8243 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8245         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8246         by beq instructions jumping to the end of the function.
8247         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8248         clobber list. Use "i" constraint instead of "X".
8249         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8250         of "X".
8252 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
8254         * bits/libc-header-start.h: New file.
8255         * Makefile (headers): Add bits/libc-header-start.h.
8256         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8257         (__GLIBC_USE): New macro.
8258         * libio/stdio.h: Define
8259         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8260         <bits/libc-header-start.h> instead of including <features.h>.
8261         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8262         (open_memstream): Likewise.
8263         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8264         (__asprintf): Likewise.
8265         (asprintf): Likewise.
8266         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8267         (getdelim): Likewise.
8268         (getline): Likewise.
8269         * string/string.h: Define
8270         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8271         <bits/libc-header-start.h> instead of including <features.h>.
8272         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8273         (strndup): Likewise.
8274         * wcsmbs/wchar.h: Define
8275         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8276         <bits/libc-header-start.h> instead of including <features.h>.
8277         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8278         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8280 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8282         Support linking against compatibility symbols, for use in tests.
8283         * include/libc-symbols.h (symbol_version_reference): New macro.
8284         (symbol_version): Use it.
8285         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8286         (compat_symbol): Use compat_symbol_reference.
8287         (compat_symbol_1, compat_symbol_2): Remove.
8288         (compat_symbol_reference, compat_symbol_reference_1)
8289         (compat_symbol_reference_2): New macro.  Use
8290         symbol_version_reference.
8292 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8294         [BZ #19469]
8295         * malloc/Makefile (CPPFLAGS): Compile tests with
8296         -DTEST_NO_MALLOPT.
8297         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8299 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
8301         [BZ #20033]
8302         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8303         finite version.
8304         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8305         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8306         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8307         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8308         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8309         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8310         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8311         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8312         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8313         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8314         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8315         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8316         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8317         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8318         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8319         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8320         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8321         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8322         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8323         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8324         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8325         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8326         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8327         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8328         in zero power.
8330 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8332         [BZ #20370]
8333         * malloc/arena.c (get_free_list): Update comment.  Assert that
8334         arenas on the free list have no attached threads.
8335         (remove_from_free_list): New function.
8336         (reused_arena): Call it.
8338 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
8340         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8341         when it is a NaN.
8342         [_IEEE_FP_INEXACT] Remove.
8343         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8344         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8345         when it is a NaN.
8346         [_IEEE_FP_INEXACT] Remove.
8347         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8348         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8349         when it is a NaN.
8350         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8351         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8352         when its absolute value is greater than 0x1.0p52.
8353         [_IEEE_FP_INEXACT] Remove.
8354         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8355         when its absolute value is greater than 0x1.0p23.
8356         [_IEEE_FP_INEXACT] Remove.
8358 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
8360         * version.h (RELEASE): Set to "development"
8361         (VERSION): Set to 2.24.90.
8362         * NEWS: Add 2.25 section.
8364         * version.h (RELEASE): Set to "stable"
8365         (VERSION): Set to 2.24.
8366         * include/features.h (__GLIBC_MINOR__): Set to 24.
8368         * NEWS: Add 2.24 fixed bugs.
8369         * po/libc.pot: Regenerate.
8371 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
8373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8374         [$(subdir) = math] (libm-sysdep_routines): Remove.
8375         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8376         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8377         s_truncf-vis3, s_trunc-vis3.
8378         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8380         file.
8381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8403         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8404         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8405         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8406         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8407         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8408         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8410         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8411         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8412         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8413         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8414         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8415         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8416         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8417         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8418         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8419         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8420         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8421         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8422         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8423         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8425 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
8427         [BZ #20384]
8428         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8429         test-double-libmvec-sincos-avx-main.o,
8430         test-double-libmvec-sincos-avx2-main.o,
8431         test-double-libmvec-sincos-main.o,
8432         test-float-libmvec-sincosf-avx-main.o,
8433         test-float-libmvec-sincosf-avx2-main.o and
8434         test-float-libmvec-sincosf-main.o.
8435         test-float-libmvec-sincosf-avx512-main.o.
8436         ($(objpfx)test-double-libmvec-sincos): Also link with
8437         $(objpfx)test-double-libmvec-sincos-main.o.
8438         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8439         $(objpfx)test-double-libmvec-sincos-avx-main.o.
8440         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8441         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8442         ($(objpfx)test-float-libmvec-sincosf): Also link with
8443         $(objpfx)test-float-libmvec-sincosf-main.o.
8444         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8445         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8446         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8447         test-double-libmvec-sincos-avx512-main.o and
8448         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8449         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8450         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8451         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8452         (CFLAGS-test-double-libmvec-sincos.c): Removed.
8453         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8454         (CFLAGS-test-double-libmvec-sincos-main.c): New.
8455         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8456         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8457         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8458         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8459         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8460         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8461         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8462         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8463         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8464         -DREQUIRE_AVX2.
8465         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8466         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8467         -DREQUIRE_AVX512F.
8468         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8469         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8470         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8471         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8472         file.
8473         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8474         Likewise.
8475         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8476         Likewise.
8477         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8478         Likewise.
8479         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8480         Likewise.
8481         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8482         Likewise.
8483         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8484         Likewise.
8485         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8486         Likewise.
8488 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
8490         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8492 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
8494         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8495         and typo in a comment about AT_HWCAP entry.
8497 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8499         * sysdeps/aarch64/libm-test-ulps: Updated.
8501 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8503         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8504         of r13 as it is not restored in mvcle case.
8506 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
8508         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8509         Rename "ret" to "__ret".
8510         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8511         inline_syscall5, inline_syscall6): Likewise.
8513 2016-07-19   Will Newton  <will.newton@gmail.com>
8515         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8516         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8517         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8518         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8519         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8521 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
8523         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8524         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8525         -mfpmath=387 with $(rtld-CFLAGS).
8526         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8527         $(rtld-CFLAGS).
8529 2016-07-18   Ross Burton  <ross.burton@intel.com>
8530              Khem Raj  <raj.khem@gmail.com>
8532         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8533         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8534         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8535         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8536         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8537         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8538         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8539         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8540         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8541         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8542         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8543         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8544         R_METAG_TLS_DTPOFF): New.
8546 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8547             Matt Clay  <mclay@lycos.com>
8549         [BZ #20357]
8550         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8551         to call __mpsin/__mpcos and to negate values.
8552         * math/auto-libm-test-in: Add test.
8553         * math/auto-libm-test-out: Regenerate.
8555 2016-07-18  Zack Weinberg  <zackw@panix.com>
8557         * grp/Makefile: Don't install the internal header grp-merge.h.
8559 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8561         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8563 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8565         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8567 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8569         [BZ #15368]
8570         * sysdeps/unix/sysv/linux/nptl-signals.h
8571         (__nptl_clear_internal_signals): New function.
8572         (__libc_signal_block_all): Likewise.
8573         (__libc_signal_block_app): Likewise.
8574         (__libc_signal_restore_set): Likewise.
8575         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8576         implementation.
8577         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8578         the cached pid/tid value in pthread structure.
8580 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
8582         [BZ #20347]
8583         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8585 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8587         [BZ #20348]
8588         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8589         preadv64, pwrite64 and pwritev64.
8591 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8593         [BZ #20350]
8594         * posix/tst-preadwrite.c: Renamed to ...
8595         * posix/tst-preadwrite-common.c: This.
8596         (PREAD): Removed.
8597         (PWRITE): Likewise.
8598         (STRINGIFY): Likewise.
8599         (STRINGIFY2): Likewise.
8600         (do_prepare): Make it static and remove function arguments.
8601         (do_test): Likewise.
8602         (PREPARE): Updated.
8603         (TEST_FUNCTION): New.
8604         (name): Make it static.
8605         (fd): Likewise.
8606         (do_prepare): Use create_temp_file.
8607         (do_test): Renamed to ...
8608         (do_test_with_offset): This.  Make it static and accept offset.
8609         Properly check return value of PWRITE and PREAD.  Return bytes
8610         read.  Don't close fd nor unlink name.
8611         * posix/tst-preadwrite.c: Rewrite.
8612         * posix/tst-preadwrite64.c: Likewise.
8614 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8616         [BZ #20309]
8617         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8618         -mtls-dialect=gnu2 works.
8619         * configure: Regenerated.
8620         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8621         (tests): Add tst-gnu2-tls1.
8622         (modules-names): Add tst-gnu2-tls1mod.
8623         ($(objpfx)tst-gnu2-tls1): New.
8624         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8625         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8626         * elf/tst-gnu2-tls1.c: New file.
8627         * elf/tst-gnu2-tls1mod.c: Likewise.
8628         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8629         bytes for push in the PLT entry to align the stack.
8631 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8633         [BZ #20349]
8634         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8636 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8638         [BZ #18707]
8639         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8640         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8642 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8644         * sysdeps/unix/sysv/linux/sysdep.h
8645         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8646         guards.
8647         * misc/tst-preadvwritev-common.c: New file.
8648         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8649         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8650         a check for files larger than 2GB.
8652         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8653         (__ASSUME_OFF_DIFF_OFF64): Remove define.
8654         * sysdeps/unix/sysv/linux/pread.c
8655         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8656         __OFF_T_MATCHES_OFF64_T.
8657         * sysdeps/unix/sysv/linux/pread64.c
8658         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8659         * sysdeps/unix/sysv/linux/preadv.c
8660         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8661         * sysdeps/unix/sysv/linux/preadv64.c
8662         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8663         * sysdeps/unix/sysv/linux/pwrite.c
8664         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8665         * sysdeps/unix/sysv/linux/pwrite64.c
8666         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8667         * sysdeps/unix/sysv/linux/pwritev.c
8668         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8669         * sysdeps/unix/sysv/linux/pwritev64.c
8670         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8672 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
8674         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8675         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8677 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8679         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8681 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8683         [BZ #20240]
8684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8685         (CFLAGS-s_modf-ppc32.c): New variable.
8686         (CFLAGS-s_modff-ppc32.c): Likewise.
8687         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8688         (CFLAGS-s_modf-ppc64.c): Likewise.
8689         (CFLAGS-s_modff-ppc64.c): Likewise.
8691 2016-07-07  Andreas Schwab  <schwab@suse.de>
8693         [BZ #20263]
8694         * nptl/tst-robust10.c: New test.
8695         * nptl/Makefile (tests): Add tst-robust10.
8697 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
8699         [BZ #20263]
8700         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8702 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8704         * sysdeps/s390/linkmap.h (struct link_map_machine):
8705         Remove member gotplt and add member jmprel.
8706         * sysdeps/s390/s390-32/dl-machine.h
8707         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8708         instead of gotplt with &got[3].
8709         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8710         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8712 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
8714         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8716 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8718         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8719         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8720         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8721         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8722         * libio/vtables.c (_IO_vtable_check)
8723         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8724         * libio/libioP.h (IO_set_accept_foreign_vtables)
8725         [!PTR_MANGLE]: Do not call PTR_MANGLE.
8727 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
8729         [BZ #20314]
8730         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8731         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8732         $(common-objpfx)cmath.
8733         ($(common-objpfx)cstdlib): New target.
8734         ($(common-objpfx)cmath): Likewise.
8736 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
8738         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8740 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8742         [BZ #20327]
8743         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8744         are not part of the string.
8746 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8748         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8749         * nptl/tst-cancel4-common.h (fifoname): New variable.
8750         (fifofd): Likewise.
8751         (cl_fifo): New function.
8752         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8753         SIGINT.
8754         (tf_open): Add early cancel test.
8756 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
8758         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8760 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
8762         * sysdeps/generic/ldsodefs.h
8763         (dl_symbol_visibility_binds_local_p): New inline function.
8764         * elf/dl-addr.c (determine_info): Treat hidden and internal
8765         symbols as local.
8766         * elf/dl-lookup.c (do_lookup_x): Likewise.
8767         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8769 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
8771         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8772         invalid exception for a sNaN input.
8773         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8774         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8775         (__nearbyint_vis3): Likewise
8776         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8777         (__nearbyintf_vis3): Likewise
8778         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8779         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8780         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8781         Likewise.
8782         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8783         Likewise.
8785 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
8787         [BZ #20139]
8788         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8789         (HAVE_AVX512DQ_ASM_SUPPORT): This.
8790         * sysdeps/x86_64/configure.ac: Require assembler from binutils
8791         2.24 or above.
8792         (HAVE_AVX512_ASM_SUPPORT): Removed.
8793         (HAVE_AVX512DQ_ASM_SUPPORT): New.
8794         * sysdeps/x86_64/configure: Regenerated.
8795         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8796         check unconditional.
8797         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8798         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8799         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8800         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8801         Likewise.
8802         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8803         Likewise.
8804         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8805         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8806         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8807         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8808         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8809         Likewise.
8810         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8811         Likewise.
8812         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8813         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8814         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8815         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8816         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8817         Likewise.
8818         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8819         Likewise.
8820         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8821         Likewise.
8822         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8823         Likewise.
8824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8825         Likewise.
8826         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8827         Likewise.
8828         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8829         Likewise.
8830         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8831         Likewise.
8832         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8833         Likewise.
8834         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8835         Likewise.
8836         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8837         Likewise.
8839 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
8841         [BZ #20024]
8842         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8843         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8844         of this implementation of vector function.
8845         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8846         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8847         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8848         Likewise.
8849         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8850         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8851         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8852         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8853         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8854         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8855         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8856         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8857         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8858         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8859         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8860         for testing vector sincos with fixed ABI.
8861         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8862         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8863         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8864         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8865         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8866         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8867         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8868         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8869         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8870         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8871         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8872         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8873         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8874         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8875         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8876         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8878 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8880         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8882 2016-06-30  Anton Blanchard  <anton@samba.org>
8884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8885         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8886         s_sinf-ppc64.
8887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8890         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8892 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8896         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8897         e_expf-ppc64.
8898         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8899         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8900         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8901         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8903 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
8905         [BZ #20277]
8906         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8907         when SHARED is defined.
8909 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
8911         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8912         (index_arch_Prefer_ERMS): Likewise.
8913         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8914         __memcpy_erms for Prefer_ERMS.
8915         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8916         (__memmove_erms): Enabled for libc.a.
8917         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8918         __memmove_erms or Prefer_ERMS.
8919         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8920         __mempcpy_erms for Prefer_ERMS.
8921         * sysdeps/x86_64/multiarch/memset.S (memset): Return
8922         __memset_erms for Prefer_ERMS.
8924 2016-06-30  Andreas Schwab  <schwab@suse.de>
8926         [BZ #20262]
8927         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8928         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
8929         of memory.
8931 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
8933         [BZ #18645]
8934         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8935         (test-extras): Add tst-cleanupx4aux.
8936         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
8937         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8938         tst-cleanupx4aux.o.
8939         * nptl/tst-cleanupx4aux.c: New file.
8941 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8943         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8945 2016-06-29  Andreas Schwab  <schwab@suse.de>
8947         [BZ #20260]
8948         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8949         address before the beginning of the string as an integer to avoid
8950         array-bounds warning.
8952 2016-06-28  Richard Henderson  <rth@redhat.com>
8954         * elf/elf.h (EM_BPF): New.
8955         (EM_NUM): Update.
8956         (R_BPF_NONE, R_BPF_MAP_FD): New.
8958         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8959         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8960         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8961         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8962         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8963         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8964         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8965         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8966         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8967         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8968         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8969         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8970         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8971         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8972         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8973         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8974         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8975         (EM_NUM): Update.
8977 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
8979         [BZ #18960]
8980         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8981         Set _nl_current_LC_CATEGORY_used to two instead of one.
8983 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
8985         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8986         (do_test): ... this.
8987         (TEST_FUNCTION): New macro.
8988          Include test-skeleton.c.
8989         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8990         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8992 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
8994         [BZ #15479]
8995         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8996         floating-point environment rather than just control word.
8997         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8998         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8999         floating-point environment, with "invalid" exceptions merged in,
9000         rather than just control word.
9001         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
9002         * math/libm-test.inc (trunc_test_data): Do not allow spurious
9003         "inexact" exceptions.
9005         [BZ #15479]
9006         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
9007         floating-point environment rather than just control word.
9008         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9009         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
9010         floating-point environment, with "invalid" exceptions merged in,
9011         rather than just control word.
9012         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
9013         * math/libm-test.inc (floor_test_data): Do not allow spurious
9014         "inexact" exceptions.
9016         [BZ #15479]
9017         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
9018         floating-point environment rather than just control word.
9019         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9020         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
9021         floating-point environment, with "invalid" exceptions merged in,
9022         rather than just control word.
9023         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
9024         * math/libm-test.inc (ceil_test_data): Do not allow spurious
9025         "inexact" exceptions.
9027 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
9029         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
9030         __libc_vfork.
9031         (__vfork) [IS_IN (libc)]: Remove alias.
9032         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
9033         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9034         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9036 2016-06-24  Torvald Riegel  <triegel@redhat.com>
9038         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
9039         of atomic_compare_and_exchange_bool_rel.
9040         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9041         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
9042         catomic_compare_and_exchange_bool_rel): Remove.
9043         * sysdeps/aarch64/atomic-machine.h
9044         (atomic_compare_and_exchange_bool_rel): Likewise.
9045         * sysdeps/alpha/atomic-machine.h
9046         (atomic_compare_and_exchange_bool_rel): Likewise.
9047         * sysdeps/arm/atomic-machine.h
9048         (atomic_compare_and_exchange_bool_rel): Likewise.
9049         * sysdeps/mips/atomic-machine.h
9050         (atomic_compare_and_exchange_bool_rel): Likewise.
9051         * sysdeps/microblaze/atomic-machine.h
9052         ( __arch_compare_and_exchange_bool_8_rel,
9053         __arch_compare_and_exchange_bool_16_rel): Likewise.
9054         * sysdeps/powerpc/atomic-machine.h
9055         ( __arch_compare_and_exchange_bool_8_rel,
9056         __arch_compare_and_exchange_bool_16_rel): Likewise.
9057         * sysdeps/powerpc/powerpc32/atomic-machine.h
9058         ( __arch_compare_and_exchange_bool_32_rel,
9059         __arch_compare_and_exchange_bool_64_rel): Likewise.
9060         * sysdeps/powerpc/powerpc64/atomic-machine.h
9061         ( __arch_compare_and_exchange_bool_32_rel,
9062         __arch_compare_and_exchange_bool_64_rel): Likewise.
9063         * sysdeps/tile/atomic-machine.h
9064         (atomic_compare_and_exchange_bool_rel): Likewise.
9066 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
9068         [BZ #20296]
9069         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
9070         when either argument is a NaN.
9071         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9072         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
9074         * math/libm-test.inc (snan_value_ld): New macro.
9075         (isgreater_test_data): Add sNaN tests.
9076         (isgreaterequal_test_data): Likewise.
9077         (isless_test_data): Likewise.
9078         (islessequal_test_data): Likewise.
9079         (islessgreater_test_data): Likewise.
9080         (isunordered_test_data): Likewise.
9081         (nextafter_test_data): Likewise.
9082         (nexttoward_test_data): Likewise.
9083         (remainder_test_data): Likewise.
9084         (remquo_test_data): Likewise.
9085         (significand_test_data): Likewise.
9086         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
9088 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9090         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
9091         environment macros are defined.
9092         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
9094 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9096         [BZ #20191]
9097         Implement vtable verification in libio.
9098         * Makerules (shlib.lds): Place __libc_IO_vtables section.
9099         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
9100         * debug/vdprintf_chk.c (__vdprintf_chk): Call
9101         _IO_new_file_init_internal instead of _IO_file_init.
9102         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
9103         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
9104         * libio/Makefile (routines): Add vtables.
9105         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
9106         (_IO_init): Remove, not for internal use.
9107         (_IO_init_internal): Declare, internal replacement for _IO_init.
9108         (_IO_file_init): Remove, not for internal use.
9109         (_IO_new_file_init): Remove, not for internal use.
9110         (_IO_new_file_init_internal): Declare, internal replacement for
9111         _IO_new_file_init.
9112         (_IO_old_file_init): Remove, not for internal use.
9113         (_IO_old_file_init_internal): Declare, internal replacement for
9114         _IO_old_file_init.
9115         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
9116         internal use.
9117         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
9118         Declare.
9119         (libio_vtable): New macro.
9120         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
9121         functions.
9122         * libio/fileops.c (_IO_new_file_init_internal): Rename from
9123         _IO_new_file_init.
9124         (_IO_new_file_init): New externally visible wrapper which disables
9125         vtable verification.
9126         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
9127         Define as vtables.
9128         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
9129         (_IO_init): New externally visible wrapper which disables
9130         vtable verification.
9131         * libio/iofdopen.c (_IO_new_fdopen): Call
9132         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
9133         comment.
9134         * libio/iofopen.c (__fopen_internal): Call
9135         _IO_new_file_init_internal instead of _IO_file_init.
9136         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
9137         Define as vtables.
9138         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
9139         _IO_new_file_init_internal instead of _IO_file_init.
9140         * libio/iopopen.c (_IO_new_popen): Likewise.
9141         (_IO_proc_jumps): Define as vtable.
9142         * libio/iovdprintf.c (_IO_vdprintf): Call
9143         _IO_new_file_init_internal instead of _IO_file_init.
9144         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
9145         (__open_memstream): Call _IO_init_internal instead of _IO_init.
9146         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9147         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9148         _IO_old_file_init.
9149         (_IO_old_file_init): New externally visible wrapper which disables
9150         vtable verification.
9151         (_IO_old_file_jumps): Define as vtable.
9152         * libio/oldiofdopen.c (_IO_old_fdopen): Call
9153         _IO_old_file_init_internal instead of _IO_old_file_init.
9154         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9155         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9156         (_IO_old_proc_jumps): Define as vtable.
9157         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9158         Define as vtables.
9159         * libio/vtables.c: New file.
9160         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9161         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9162         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9163         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9164         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9165         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9166         instead of _IO_init.
9168 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9170         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9172 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9174         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9175         potentially unused.
9177 2016-06-22  Florian Weimer  <fweimer@redhat.com>
9179         * test-skeleton.c (write_message): New function.
9180         * malloc/tst-mallocfork2.c (write_message): Remove.
9181         * debug/tst-longjmp_chk2.c (write_indented): New function.
9182         (write_message): Remove.
9183         (stackoverflow_handler): Call write_indented.
9185 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
9187         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9188         "inexact" exceptions after fnstenv.
9189         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9190         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9191         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9193 2015-06-22  Zack Weinberg  <zackw@panix.com>
9195         * sysdeps/generic/bits/hwcap.h: Moved to ...
9196         * bits/hwcap.h: Here.
9198 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
9200         * sysdeps/aarch64/memcpy.S (memcpy):
9201         Further tuning for performance.
9203 2016-06-21  Florian Weimer  <fweimer@redhat.com>
9205         [BZ #20284]
9206         * malloc/arena.c (reused_arena): Do not return NULL if we start
9207         out with a non-corrupted arena.
9209 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9211         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9212         * misc/tst-preadvwritev.c: New file.
9213         * misc/tst-preadvwritev64.c: Likewise.
9214         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9215         usage.
9216         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9217         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9218         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9219         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9221 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
9223         [BZ #19654]
9224         * sysdeps/x86_64/fpu/Makefile: Added new tests.
9225         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9226         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9227         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9228         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9229         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9230         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9231         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9232         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9233         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9234         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9235         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9236         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9237         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9238         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9239         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9240         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9241         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9242         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9243         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9244         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9245         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9246         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9247         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9248         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9249         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9251 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9253         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9254         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9256 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9258         * sysdeps/aarch64/memcpy.S (memcpy):
9259         Rewrite of optimized memcpy and memmove.
9260         * sysdeps/aarch64/memmove.S (memmove): Remove
9261         memmove code (merged into memcpy.S).
9263 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9265         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9266         * sysdeps/generic/dl-dtv.h: New file.
9267         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9268         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9269         (dtv_t): Remove.
9270         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9271         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9272         (dtv_t): Remove.
9273         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9274         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9275         (dtv_t): Remove.
9276         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9277         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9278         (dtv_t): Remove.
9279         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9280         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9281         (dtv_t): Remove.
9282         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9283         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9284         (dtv_t): Remove.
9285         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9286         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9287         (dtv_t): Remove.
9288         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9289         (dtv_t): Remove.
9290         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9291         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9292         (dtv_t): Remove.
9293         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9294         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9295         (dtv_t): Remove.
9296         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9297         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9298         (dtv_t): Remove.
9299         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9300         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9301         (dtv_t): Remove.
9302         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9303         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9304         (dtv_t): Remove.
9305         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9306         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9307         (dtv_t): Remove.
9308         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9309         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9310         (dtv_t): Remove.
9311         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9312         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9313         (dtv_t): Remove.
9315 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9317         Revert symbol poisoning of  __malloc_initialize_hook.
9318         * include/stdc-predef.h (__malloc_initialize_hook): Remove
9319         poisoning.
9320         * malloc/Makefile: Remove un-poisoning.
9321         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9322         instead of old__malloc_initialize_hook.
9323         * malloc/malloc-hooks.h: Likewise.
9324         * malloc/malloc.c: Likewise.
9325         * malloc/mcheck-init.c: Likewise.
9327 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
9329         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9331 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
9333         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9334         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9335         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9336         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9338 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9340         * NEWS: Mention addition of nextup and nextdown.
9341         * manual/arith.texi: Document nextup and nextdown.
9342         * manual/libm-err-tab.pl: Add nextup and nextdown.
9343         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9344         * math/Versions (libm): Add GLIBC_2.24.
9345         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9346         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9347         Add new test.
9348         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9349         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9350         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9351         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9352         (nextup_test_data): Likewise.
9353         (nextdown_test_data): Likewise.
9354         * math/s_nextdown.c: New file.
9355         * math/s_nextdownf.c: Likewise.
9356         * math/s_nextdownl.c: Likewise.
9357         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9358         F(nextup): New function.
9359         F(nextdown): Likewise.
9360         * math/tgmath.h: Add nextup and nextdown.
9361         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9362         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9363         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9364         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9365         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9366         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9367         Add nextup and nextdown.
9368         (CFLAGS-nldbl-nextup.c): New variable.
9369         (CFLAGS-nldbl-nextdown.c): Likewise.
9370         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9371         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9372         * sysdeps/nacl/libm.abilist: Update.
9373         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9374         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9375         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9376         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9377         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9378         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9379         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9380         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9381         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9382         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9383         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9384         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9387         Likewise.
9388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9390         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9391         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9392         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9393         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9397         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9398         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9399         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9400         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9402 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9404         * manual/pattern.texi: Fix typos & grammar errors.
9406 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9408         * manual/search.texi: Fix typos & grammar errors.
9410 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9412         * manual/message.texi: Fix typos & grammar errors.
9414 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
9416         * manual/contrib.texi: Fix spelling typos.
9417         * manual/crypt.texi: Likewise.
9418         * manual/filesys.texi: Likewise.
9419         * manual/locale.texi: Likewise.
9420         * manual/message.texi: Likewise.
9421         * manual/nss.texi: Likewise.
9422         * manual/string.texi: Likewise.
9424 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9426         * manual/locale.texi: Fix typos & grammar errors.
9428 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9430         * manual/charset.texi: Fix typos & grammar errors.
9432 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9434         * manual/string.texi: Fix typos.
9436 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9438         * manual/ctype.texi: Fix typos.
9440 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9442         * manual/memory.texi: Fix various typos & grammar errors.
9444 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
9446         [BZ #20255]
9447         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
9448         * math/libm-test.inc (fdim_test_data): Add another test.
9450         [BZ #6796]
9451         [BZ #20255]
9452         [BZ #20256]
9453         * math/s_fdim.c: Include <math_private.h>.
9454         (__fdim): Use math_narrow_eval on result.
9455         * math/s_fdimf.c: Include <math_private.h>.
9456         (__fdimf): Use math_narrow_eval on result.
9457         * sysdeps/i386/fpu/s_fdim.S: Remove file.
9458         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9459         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9460         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9461         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9462         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9463         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9464         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9465         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9466         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9467         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9468         * math/libm-test.inc (fdim_test_data): Expect errno setting on
9469         overflow.  Add sNaN tests.
9471         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9472         fpclassify.
9473         * math/s_fdimf.c (__fdimf): Likewise.
9474         * math/s_fdiml.c (__fdiml): Likewise.
9476 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9478         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9479         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9481         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9482         ifunc'ed strcasecmp/strncasecmp.
9483         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9484         [EALIGN]: Removed.
9485         [END]: Likewise.
9486         [__strcasecmp]: Define instead of the above to control symbol name.
9487         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9488         for __strcasecmp_power8.
9489         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9490         for __strncasecmp_power8.
9491         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9492         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9493         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9494         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9495         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9496         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9498 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
9500         [BZ #20252]
9501         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9502         arguments when second argument is a NaN.
9503         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9504         qNaN tests.
9506         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9507         (conj_test_data): Likewise.
9508         (copysign_test_data): Likewise.
9509         (creal_test_data): Likewise.
9510         (fma_test_data): Likewise.
9511         (fmod_test_data): Likewise.
9513         [BZ #20250]
9514         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9515         itself.
9516         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9517         zero input to itself.
9518         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9519         Likewise.
9520         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9521         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9522         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9523         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9524         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9526 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9528         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9529         * nptl/tst-cancel4-common.c: New file.
9530         * nptl/tst-cancel4-common.h: Likewise.
9531         * nptl/tst-cancel4.c: Move common definitions to
9532         tst-cancel4-common.{c,h} file.
9533         * nptl/tst-cancel4_1.c: New test.
9534         * nptl/tst-cancel4_2.c: New test.
9536 2016-06-13  Florian Weimer  <fweimer@redhat.com>
9538         [BZ #20248]
9539         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9540         (write_message): New function.
9541         (stackoverflow_handler): Call it instead of printf, to avoid
9542         excessive stack usage by printf.
9543         (do_test): Restore SIGSEGV, SIGBUS default handlers.
9545 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9547         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9548         (prio_inherit_missing): Remove define.
9549         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9550         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9551         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9552         Likewise.
9553         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9554         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9555         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9556         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9557         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9558         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9560 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9562         [BZ #19670]
9563         [BZ #19672]
9565         * io/test-lfs.c (do_prepare): Use xmalloc.
9566         * io/tst-fcntl.c (do_prepare): Likewise.
9567         * libio/tst-fopenloc.c (do_bz17916): Likewise.
9568         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9569         * login/tst-utmp.c (do_prepare): Likewise.
9570         * posix/tst-exec.c (do_prepare): Likewise.
9571         * posix/tst-pathconf.c (prepare): Likewise.
9572         * posix/tst-spawn.c (do_prepare): Likewise.
9573         * posix/tst-truncate.c (do_prepare): Likewise.
9574         * rt/tst-aio.c (do_prepare): Likewise.
9575         * rt/tst-aio64.c (do_prepare): Likewise.
9577 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9579         [BZ #20237]
9580         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9581         (get*ent): Set entidx to NULL during initialization.  If entidx is
9582         NULL, start iteration from the beginning.
9584 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9586         * malloc/malloc.c (musable): Return correct size for dumped fake
9587         mmapped chunk.
9589 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9591         [BZ #20222]
9592         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9593         (_IO_cookie_write): Likewise.
9594         (_IO_cookie_seek): Likewise.
9595         (_IO_cookie_close): Likewise.
9596         (_IO_old_cookie_seek): Likewise.
9597         (set_callbacks): New function.
9598         (_IO_cookie_init): Call set_callbacks to copy callbacks.
9600 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
9602         * locale/programs/localedef.c (oldstyle_tables): Remove.
9603         * locale/programs/localedef.h (oldstyle_tables): Likewise.
9605 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
9607         [BZ #20240]
9608         * math/Makefile (CFLAGS-s_modf.c): New variable.
9609         (CFLAGS-s_modff.c): Likewise.
9610         (CFLAGS-s_modfl.c): Likewise.
9611         * math/libm-test.inc (modf_test_data): Add sNaN tests.
9613 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
9615         [BZ #20215]
9616         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9617         [!__GNUC_PREREQ (3,2)]: Likewise.
9619 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9621         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9622         (msghdr.msg_controllen): Likewise.
9623         (cmsghdr.cmsg_len): Likewise.
9624         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9625         ptw-oldsendmsg.
9626         (CFLAGS-oldrecvmsg.c): Remove rule.
9627         (CFLAGS-oldsendmsg.c): Likewise.
9628         (CFLAGS-recvmsg.c): Add rule.
9629         (CFLAGS-sendmsg.c): Likewise.
9630         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9631         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9632         (CFLAGS-recvmsg.c): Remove rule.
9633         (CFLAGS-sendmsg.c): Likewise.
9634         (CFLAGS-oldrecvmsg.c): Likewise.
9635         (CFLAGS-oldsendmsg.c): Likewise.
9636         (CFLAGS-recvmmsg.c): Likewise.
9637         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9638         to kernel defined interfaces.
9639         (msghdr.msg_controllen): Likewise.
9640         (cmsghdr.cmsg_len): Likewise.
9641         (msghdr.__glibc_reserved1): Remove member.
9642         (msghdr.__glibc_reserved2): Likewise.
9643         (cmsghdr.__glibc_reserved1): Likewise.
9644         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9645         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9646         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9647         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9648         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9649         version.
9650         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9651         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9652         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9653         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9654         Remove recvmsg and sendmsg.
9655         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9656         Likewise.
9657         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9658         Likewise.
9659         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9660         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9661         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9662         Likewise.
9663         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9664         Likewise.
9665         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9666         [libc] (GLIBC_2.24): Likewise.
9667         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9668         Likewise.
9669         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9670         Likewise.
9671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9672         [libc] (GLIBC_2.24): Likewise.
9673         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9674         Likewise.
9675         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9676         Likewise.
9677         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9678         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9679         Likewise.
9680         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9681         Likewise.
9682         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9683         Likewise.
9684         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9685         Likewise.
9686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9687         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9688         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9689         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9690         version for {recv,send,recm,sendm}msg.
9691         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9692         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9693         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9694         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9695         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9696         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9697         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9698         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9699         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9700         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9701         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9702         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9704         Likewise.
9705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9706         Likewise.
9707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9709         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9710         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9711         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9712         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9713         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9714         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9717         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9718         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9719         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9721 2016-06-10  Florian Weimer  <fweimer@redhat.com>
9723         [BZ #19564]
9724         Remove __malloc_initialize_hook from the API.
9725         * malloc/malloc.h (__malloc_initialize_hook): Remove.
9726         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9727         #pragma GCC poison.
9728         * malloc/malloc-hooks.h: New file.
9729         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9730         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9731         (old__malloc_initialize_hook): Rename from
9732         __malloc_initialize_hook to evade poisoning.  Turn into compat
9733         symbol.
9734         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9735         __malloc_initialize_hook.
9736         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9737         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9738         * manual/memory.texi (Hooks for Malloc): Remove
9739         __malloc_initialize_hook.  Adjust hook example.
9741 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
9743         [BZ #20235]
9744         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9745         itself.
9746         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9747         * math/libm-test.inc (log2_test_data): Add sNaN tests.
9749         [BZ #20234]
9750         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9751         infinity or NaN input to itself.
9753         [BZ #20233]
9754         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9755         to itself.
9757         [BZ #20232]
9758         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9759         itself.
9761 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9763         * sysdeps/x86_64/start.S (_start): Always indirect branch to
9764         __libc_start_main via GOT.
9766 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9768         * sysdeps/x86_64/memcopy.h: New file.
9769         * sysdeps/x86_64/wordcopy.c: Likewise.
9771 2016-06-09  Florian Weimer  <fweimer@redhat.com>
9773         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9774         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9775         <cstdlib>.
9776         (optimization_barrier): New.
9777         (do_test): Use it.  Call quick_exit in the global namespace.
9778         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9779         instead of <cstdlib>, <thread>.
9780         (optimization_barrier): New.
9781         (non_main_thread): Adjust declaration.  Call optimization_barrier.
9782         Call quick_exit in the global namespace.
9783         (do_test): Call optimization_barrier.  Use pthread_create,
9784         pthread_join instead of std::thread.
9786 2016-06-09  Andreas Schwab  <schwab@suse.de>
9788         [BZ #19755]
9789         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9790         new entries in auto-propagate mode.
9791         * nscd/grpcache.c (cache_addgr): Likewise.
9793 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9795         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9796         New functions.
9797         (add_temp_file): Use them.
9799 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
9801         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9803 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
9805         [BZ #20229]
9806         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9807         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9808         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9810         [BZ #20228]
9811         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9812         itself.
9813         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9814         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9816         [BZ #20227]
9817         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9818         itself.
9819         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9820         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9821         * math/libm-test.inc (log_test_data): Add sNaN tests.
9823         [BZ #20226]
9824         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9825         itself.
9826         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9827         * math/libm-test.inc (exp_test_data): Add sNaN tests.
9828         (exp10_test_data): Likewise.
9829         (expm1_test_data): Likewise.
9831         [BZ #20225]
9832         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9833         itself.
9834         * math/s_ldexpf.c (__ldexpf): Likewise.
9835         * math/s_ldexpl.c (__ldexpl): Likewise.
9836         * math/w_scalbln.c (__w_scalbln): Likewise.
9837         * math/w_scalblnf.c (__w_scalblnf): Likewise.
9838         * math/w_scalblnl.c (__w_scalblnl): Likewise.
9839         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9840         (scalbln_test_data): Likewise.
9842         [BZ #20224]
9843         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9844         argument to itself.
9845         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9847 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9849         [BZ #19776]
9850         * sysdeps/x86_64/memcpy.S: Make it dummy.
9851         * sysdeps/x86_64/mempcpy.S: Likewise.
9852         * sysdeps/x86_64/memmove.S: New file.
9853         * sysdeps/x86_64/memmove_chk.S: Likewise.
9854         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9855         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9856         * sysdeps/x86_64/memmove.c: Removed.
9857         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9858         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9859         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9860         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9861         Likewise.
9862         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9863         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9865         memcpy-sse2-unaligned, memmove-avx-unaligned,
9866         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9867         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9868         (__libc_ifunc_impl_list): Replace
9869         __memmove_chk_avx512_unaligned_2 with
9870         __memmove_chk_avx512_unaligned.  Remove
9871         __memmove_chk_avx_unaligned_2.  Replace
9872         __memmove_chk_sse2_unaligned_2 with
9873         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
9874         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
9875         with __memmove_avx512_unaligned.  Replace
9876         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9877         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
9878         with __memcpy_chk_avx512_unaligned.  Remove
9879         __memcpy_chk_avx_unaligned_2.  Replace
9880         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9881         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
9882         Replace __memcpy_avx512_unaligned_2 with
9883         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9884         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9885         with __mempcpy_chk_avx512_unaligned.  Remove
9886         __mempcpy_chk_avx_unaligned_2.  Replace
9887         __mempcpy_chk_sse2_unaligned_2 with
9888         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
9889         Replace __mempcpy_avx512_unaligned_2 with
9890         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
9891         Replace __mempcpy_sse2_unaligned_2 with
9892         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
9893         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9894         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9895         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9896         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
9897         (ENTRY): Removed.
9898         (END): Likewise.
9899         (ENTRY_CHK): Likewise.
9900         (libc_hidden_builtin_def): Likewise.
9901         Don't include ../memcpy.S.
9902         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9903         __memcpy_chk_avx512_unaligned_erms and
9904         __memcpy_chk_avx512_unaligned.  Use
9905         __memcpy_chk_avx_unaligned_erms and
9906         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9907         Default to __memcpy_chk_sse2_unaligned.
9908         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9909         Change function suffix from unaligned_2 to unaligned.
9910         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9911         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9912         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9913         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
9914         (ENTRY): Removed.
9915         (END): Likewise.
9916         (ENTRY_CHK): Likewise.
9917         (libc_hidden_builtin_def): Likewise.
9918         Don't include ../mempcpy.S.
9919         (mempcpy): New.  Add a weak alias.
9920         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9921         __mempcpy_chk_avx512_unaligned_erms and
9922         __mempcpy_chk_avx512_unaligned.  Use
9923         __mempcpy_chk_avx_unaligned_erms and
9924         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9925         Default to __mempcpy_chk_sse2_unaligned.
9927 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9929         [BZ #19881]
9930         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9931         into ...
9932         * sysdeps/x86_64/memset.S: This.
9933         (__bzero): Removed.
9934         (__memset_tail): Likewise.
9935         (__memset_chk): Likewise.
9936         (memset): Likewise.
9937         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9938         defined.
9939         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9940         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9941         (__memset_zero_constant_len_parameter): Check SHARED instead of
9942         PIC.
9943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9944         memset-avx2 and memset-sse2-unaligned-erms.
9945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9946         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9947         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9948         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9949         (__bzero): Enabled.
9950         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9951         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9952         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
9953         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
9954         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9955         (memset): Removed.
9956         (__memset_chk): Likewise.
9957         (MEMSET_SYMBOL): New.
9958         (libc_hidden_builtin_def): Replace __memset_sse2 with
9959         __memset_sse2_unaligned.
9960         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9961         __memset_chk_sse2 and __memset_chk_avx2 with
9962         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9963         Use __memset_chk_sse2_unaligned_erms or
9964         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
9965         __memset_chk_avx512_unaligned_erms and
9966         __memset_chk_avx512_unaligned.
9968 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9970         * math/gen-auto-libm-test.c (fp_format_desc): remove
9971         suffix member.
9972         (output_generic_value): Remove usage of suffix member,
9973         and the resulting unuse of the fp_format argument.
9974         (output_for_one_input_case): Remove unused fp_format
9975         parameter.
9977         * math/auto-libm-test-out: Regenerate.
9979         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9980         usage with TEST_COND_ibm128.
9981         (TEST_COND_flt_32): Remove.
9982         (TEST_COND_dbl_64): Remove.
9983         (TEST_COND_ldbl_96_intel): Remove.
9984         (TEST_COND_ldbl_96_m68k): Remove.
9985         (TEST_COND_ldbl_128): Remove.
9987 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9989         * auto-libm-test-in:
9990         Replace flt-32 usage with binary32.
9991         Replace dbl-64 usage with binary64.
9992         Replace ldbl-intel-96 usage with intel96.
9993         Replace ldbl-m68k-96 usage with m68k96.
9994         Replace ldbl-128ibm usage with ibm128.
9995         Replace ldbl-128 usage with binary128.
9997         * auto-libm-test-out: Regenerate.
9999 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10001         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
10002         (parse_ulps): Dynamically generate type name matching
10003         string from all_floats.
10004         (get_ulps): Generate the ulps as an array instead.
10005         (output_ulps): Dynamically compose the type based
10006         on the number of supported formats, and print
10007         the indices as type specific helper macros.
10009         * math/libm-test.inc: Remove comment about CHOOSE.
10010         (ulp_data): Generate the type in libm-test-ulps.h.
10011         (ULP_IDX): New macro.
10012         (find_ulps): Update usage of max_ulp.
10014         * math/test-double-vlen2.h (CHOOSE): Remove.
10015         * math/test-double-vlen4.h (CHOOSE): Likewise.
10016         * math/test-double-vlen8.h (CHOOSE): Likewise.
10017         * math/test-float.c (CHOOSE): Likewise.
10018         * math/test-float-finite.c (CHOOSE): Likewise.
10019         * math/test-double.c (CHOOSE): Likewise.
10020         * math/test-double-finite.c (CHOOSE): Likewise.
10021         * math/test-idouble.c (CHOOSE): Likewise.
10022         * math/test-ifloat.c (CHOOSE): Likewise.
10023         * math/test-ildoubl.c (CHOOSE): Likewise.
10024         * math/test-ldouble-finite.c (CHOOSE): Likewise.
10025         * math/test-ldouble.c (CHOOSE): Likewise.
10027         * math/test-float.h (TEST_FLOAT): Remove.
10028         * math/test-double.h (TEST_DOUBLE): Likewise.
10029         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
10031 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10033         * math/gen-libm-test.pl: (apply_lit): New subroutine.
10034         (parse_args): Strip C suffix from floating point literals
10035         typed with 'f' and wrap them with LIT().
10037         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
10038         (test_ff_f_data_nexttoward): Rename to
10039         (test_fj_f_data): New struct.
10040         (nexttoward_test_data): Relabel tests as
10041         TEST_fj_f instead of TEST_ff_f.
10043 2016-06-08  Florian Weimer  <fweimer@redhat.com>
10045         Emacs bug 23726.
10046         * malloc/malloc.c (dumped_main_arena_start): Update comment.
10047         (__libc_realloc): Correct size computation for dumped fake mmapped
10048         chunks.
10050 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
10052         [BZ #20219]
10053         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
10054         to itself.
10055         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
10057         [BZ #20218]
10058         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
10059         to itself.
10060         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
10062 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
10064         [BZ #20195]
10065         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
10066         check to ...
10067         (init_cpu_features): Here.
10069 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
10071         [BZ #20214]
10072         * sysdeps/unix/sysv/linux/bits/in.h
10073         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10074          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
10075         Define to 1.
10076         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10077          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
10078         Define to 0.
10079         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
10080         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
10082 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
10084         [BZ #20198]
10085         * stdlib/Makefile (tests): Add tst-quick_exit, and
10086         tst-thread-quick_exit.
10087         [ifeq ($(have-cxx-thread_local),yes)]
10088         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
10089         (CFLAGS-tst-thread-quick_exit.o): Likewise.
10090         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
10091         (LDLIBS-tst-thread-quick_exit): Likewise.
10092         [ifneq ($(have-cxx-thread_local),yes)]
10093         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
10094         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
10095         If run_dtors is true call __call_tls_dtors.
10096         (exit): Call __run_exit_handlers with run_dtors set to true.
10097         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
10098         definition.
10099         * stdlib/quick_exit.c (quick_exit): Remove function.
10100         (__new_quick_exit): New function.
10101         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
10102         function.
10103         * stdlib/tst-quick_exit.cc: New file.
10104         * stdlib/tst-thread-quick_exit.cc: New file.
10105         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
10106         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
10107         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
10108         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
10109         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
10110         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
10111         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
10112         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
10113         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
10114         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
10115         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
10116         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
10117         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
10118         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
10119         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
10120         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
10122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
10123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
10124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
10125         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
10126         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
10127         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
10128         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
10129         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
10130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
10131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
10132         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
10133         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
10134         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
10136 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10138         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
10139         a typo in comments.
10141 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10143         [BZ #20213]
10144         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10145         argument to itself.
10146         * math/libm-test.inc (asin_test_data): Add sNaN tests.
10148 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10150         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10151         required flags.
10152         (CFLAGS-pwritev64.c): Likewise.
10153         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10154         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10155         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10156         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10157         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10158         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10159         syscall from auto-generation.
10160         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10161         [WORDSIZE == 64] (pwritev64): Remove macro.
10162         [!PWRITEV] (PWRITEV): Likewise.
10163         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10164         [!PWRITEV] (PWRITE): Likewise.
10165         [!PWRITEV] (OFF_T): Likewise.
10166         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10167         (LO_HI_LONG): Remove macro.
10168         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10169         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10170         (PWRITEV): Remove macro.
10171         (PWRITEV_REPLACEMENTE): Likewise.
10172         (PWRITE): Likewise.
10173         (OFF_T): Likewise.
10174         (pwritev64): New function.
10175         * nptl/tst-cancel4.c (tf_writev): Add test.
10177         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10178         required flags.
10179         (CFLAGS-preadv64.c): Likewise.
10180         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10181         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10182         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10183         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10184         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10185         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10186         syscall from auto-generation.
10187         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10188         [WORDSIZE == 64] (preadv64): Remove macro.
10189         [!PREADV] (PREADV): Likewise.
10190         [!PREADV] (PREADV_REPLACEMENT): Likewise.
10191         [!PREADV] (PREAD): Likewise.
10192         [!PREADV] (OFF_T): Likewise.
10193         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10194         (LO_HI_LONG): Remove macro.
10195         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10196         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10197         (PREADV): Remove macro.
10198         (PREADV_REPLACEMENTE): Likewise.
10199         (PREAD): Likewise.
10200         (OFF_T): Likewise.
10201         (preadv64): New function.
10202         * nptl/tst-cancel4.c (tf_preadv): Add test.
10204 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10206         [BZ #20212]
10207         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10208         argument to itself.
10209         * math/libm-test.inc (acos_test_data): Add sNaN tests.
10211 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10213         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10214         New symbol defined as libc_hidden_def.
10215         (strcasestr): Became a weak alias to __strcasestr.
10216         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10217         according to multi-arch support.  Move __stpncpy hidden
10218         definition from here to...
10219         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
10220         symbol stpncpy.
10221         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10222         libc_hidden_builtin_def.
10223         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10224         memset symbol to use when multi-arch support is available.
10226 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10228         * dlfcn/tst-rec-dlopen.c: Include string.h.
10230 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10232         * manual/install.texi: Remove mention of --without-tls
10233         * INSTALL: Regenerate.
10235 2016-06-05  Florian Weimer  <fweimer@redhat.com>
10237         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10238         Remove.
10239         (call_function, interposed_malloc_called): New variables.
10240         (malloc): New function.
10241         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
10242         and clear call_function as needed.
10244 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
10246         * include/wchar.h (__wmemset): Use __typeof.
10248 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
10250         * include/wchar.h (__wmemset): Declare function without typeof.
10252 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
10254         [BZ #20205]
10255         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10256         exponent when incrementing negative subnormal with low mantissa
10257         word zero.
10258         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10259         Add another test.
10261 2016-06-03  Florian Weimer  <fweimer@redhat.com>
10263         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10264         __wmemset instead of wmemset.
10266 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
10268         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10269         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10270         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10271         __USE_KERNEL_IPV6_DEFS to 0.
10272         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10273         Update comment.
10275 2016-06-01  Florian Weimer  <fweimer@redhat.com>
10277         [BZ #19861]
10278         Do not use IFUNC resolver with potentially unrelocated symbol.
10279         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10280         (DEFINE_FORK): Remove macro and inline definition.
10281         (fork_alias): Renamed from fork_ifunc.
10282         (__fork_alias): Renamed from __fork_ifunc.
10284 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
10286         [BZ 19653]
10287         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10288         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10290 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10292         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10293         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10294         i386-linux-gnu).
10295         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10296         Set to no.
10297         * sysdeps/mach/hurd/configure: Refresh.
10299 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10301         [BZ #20178]
10302         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10303         on failure instead of exit.
10305 2016-05-30  Roland McGrath  <roland@hack.frob.com>
10307         [BZ #3629]
10308         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10309         of POSIX.1-2008.
10311 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10313         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10314           Use PLT entry for calling _hurd_self_sigstate.
10316 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
10318         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10319         available logical processors with SMT level type sharing L2
10320         cache for Intel processors.
10322 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10324         [BZ #20160]
10325         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10326         argument to itself before returning the result.
10327         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10328         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10329         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10330         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10331         Likewise.
10332         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10333         Likewise.
10334         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10335         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10336         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10337         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10338         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10339         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10341         [BZ #20160]
10342         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10343         argument to itself before returning the result.
10344         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10345         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10346         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10347         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10348         Likewise.
10349         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10350         Likewise.
10351         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10352         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10353         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10354         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10355         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10356         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10358 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10360         * libm-test.inc: Replace usage of M_El with
10361         (lit_e): New macro.
10363 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10365         * libm-test.inc: Replace usage of M_PI_4l with
10366         (lit_pi_4_d): New macro.
10368 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10370         * libm-test.inc: Replace usage of M_PIl with
10371         (lit_pi): New macro.
10373 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10375         * libm-test.inc: Replace usage of M_PI2l with
10376         (lit_pi_2_d): New macro.
10378         * math/test-double.h (LITM): New macro.
10379         * math/test-float.h (LITM): Likewise.
10380         * math/test-ldouble.h (LITM): Likewise.
10382 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10384         * libm-test.inc (M_PI_34l): Rename to
10385         (lit_pi_3_m_4_d): New Macro.
10386         (M_PI_34_LOG10El): Rename to
10387         (lit_pi_3_m_4_ln10_m_d): New Macro.
10388         (M_PI2_LOG10El): Rename to
10389         (lit_pi_2_ln10_m_d):  New Macro.
10390         (M_PI4_LOG10El): Rename to
10391         (lit_pi_4_ln10_m_d):  New Macro.
10392         (M_PI_LOG10El): Rename to
10393         (lit_pi_ln10_d):  New Macro.
10395 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10397         [BZ #20157]
10398         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10399         determine whether to negate low half if [_ARCH_PPCGR], and integer
10400         comparison otherwise.
10401         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10402         determine whether to negate low half.
10404         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10405         (NO_TEST_INLINE_DOUBLE): Likewise.
10406         (TEST_COND_x86_64): Likewise.
10407         (TEST_COND_x86): Likewise.
10408         (M_PI_6l): Likewise.
10410 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10412         * math/libm-test.inc:
10413         (TEST_FLOAT): Change usage to TEST_COND_binary32.
10414         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10415         (TEST_LDOUBLE): Update usage to evaluate as true if
10416         the guarded tests match the property being tested.
10417         (LDBL_MAX_EXP): Change to MAX_EXP.
10418         (LDBL_MIN_EXP): Change to MIN_EXP.
10419         (LDBL_MANT_DIG): Change to MANT_DIG, except for
10420         nexttoward tests.
10422 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10424         * math/libm-test.inc:
10425         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10426         (TYPE_MIN): Likewise.
10427         (TYPE_TRUE_MIN): Likewise.
10428         (TYPE_MAX): Likewise.
10429         (MIN_EXP): Likewise.
10430         (MAX_EXP): Likewise.
10431         (MANT_DIG): Likewise.
10433         (FSTR_MAX): New macro.
10434         (__CONCATX): Likewise.
10435         (QTYPE_STR): Likewise.
10436         (TEST_COND_binary32): Likewise.
10437         (TEST_COND_binary64): Likewise.
10438         (TEST_COND_binary128): Likewise.
10439         (TEST_COND_ibm128): Likewise.
10440         (TEST_COND_intel96): Likewise.
10441         (TEST_COND_m68k96): Likewise.
10443         (TEST_COND_flt_32): Redefine as equivalent format test macro.
10444         (TEST_COND_dbl_64): Likewise.
10445         (TEST_COND_ldbl_96_intel): Likewise.
10446         (TEST_COND_ldbl_96_m68k): Likewise.
10447         (TEST_COND_ldbl_128): Likewise.
10448         (TEST_COND_ldbl_128ibm): Likewise.
10450         (plus_zero): Redefine using LIT macro.
10451         (minus_zero): Likewise.
10452         (plus_infty): Redefine as (INF).
10453         (minux_infty): Redefine as (-INF).
10454         (max_value): Redefine as TYPE_MAX.
10455         (min_value): Redefine as TYPE_MIN.
10456         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10458         (print_float): Refactor to use snprintf to convert FLOAT values
10459         to string. This brings it closer to dropin replacement of strtof
10460         for the TS 18661 defined types.
10461         (update_stats): Likewise.
10462         (print_complex_function_ulps): Likewise.
10463         (print_max_error): Likewise.
10464         (print_complex_max_error): Likewise.
10465         (check_float_internal): Likewise.
10467         * math/test-float.h (PREFIX): New macro.
10468         (LIT): Likewise.
10469         (TYPE_STR): Likewise.
10470         (FTOSTR): Likewise.
10472         * math/test-double.h (PREFIX): New macro.
10473         (LIT): Likewise.
10474         (TYPE_STR): Likewise.
10475         (FTOSTR): Likewise.
10477         * math/test-ldouble.h (PREFIX): New macro.
10478         (LIT): Likewise.
10479         (TYPE_STR): Likewise.
10480         (FTOSTR): Likewise.
10482 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10484         [BZ #20156]
10485         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10486         to itself when zero or not finite.
10487         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10488         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10489         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10490         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10492 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
10494         [BZ #20153]
10495         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10496         x * x + x for infinities and NaNs.
10498         [BZ #20151]
10499         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10500         argument to itself before returning result.
10501         (__ieee754_y0l): Likewise.
10502         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10503         (__ieee754_y1l).
10505         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10506         (atan_test_data): Likewise.
10507         (ceil_test_data): Likewise.
10508         (cos_test_data): Likewise.
10509         (cosh_test_data): Likewise.
10510         (erf_test_data): Likewise.
10511         (exp2_test_data): Likewise.
10512         (fabs_test_data): Likewise.
10513         (floor_test_data): Likewise.
10514         (ilogb_test_data): Likewise.
10515         (j0_test_data): Likewise.
10516         (j1_test_data): Likewise.
10517         (jn_test_data): Likewise.
10518         (lgamma_test_data): Likewise.
10519         (lrint_test_data): Likewise.
10520         (llrint_test_data): Likewise.
10521         (logb_test_data): Likewise.
10522         (lround_test_data): Likewise.
10523         (llround_test_data): Likewise.
10524         (nearbyint_test_data): Likewise.
10525         (rint_test_data): Likewise.
10526         (round_test_data): Likewise.
10527         (sin_test_data): Likewise.
10528         (sincos_test_data): Likewise.
10529         (sinh_test_data): Likewise.
10530         (sqrt_test_data): Likewise.
10531         (tan_test_data): Likewise.
10532         (tanh_test_data): Likewise.
10533         (tgamma_test_data): Likewise.
10534         (trunc_test_data): Likewise.
10535         (y0_test_data): Likewise.
10536         (y1_test_data): Likewise.
10537         (yn_test_data): Likewise.
10539         * math/libm-test.inc: Update comment about NaN testing.
10540         (TEST_SNAN): New macro.
10541         (snan_value): Likewise.
10542         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10543         (fpclassify_test_data): Add sNaN tests.
10544         (isfinite_test_data): Likewise.
10545         (isinf_test_data): Likewise.
10546         (isnan_test_data): Likewise.
10547         (isnormal_test_data): Likewise.
10548         (issignaling_test_data): Likewise.
10549         (signbit_test_data): Likewise.
10550         * math/gen-libm-test.pl (%beautify): Add snan_value.
10551         (show_exceptions): Add argument $test_snan.
10552         (parse_args): Handle snan_value as non-finite.  Update call to
10553         show_exceptions.
10554         * math/Makefile (libm-test-no-inline-cflags): Add
10555         -fsignaling-nans.
10557 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10559         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10560         (CFLAGS-oldsendmsg.c): Add rule.
10561         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10562         Correct recvmsg symbol name.
10563         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10564         Likewise.
10566 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10568         * sysdeps/unix/sysv/linux/Makefile
10569         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10570         oldsendmmsg.
10571         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10572         sendmmsg.
10573         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10574         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10575         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10576         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10578         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10579         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10581         Likewise.
10582         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10583         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10584         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10585         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10586         iovlen and controllen fields to adjust to POSIX specification.
10587         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10589         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10590         and change to correct expected type.
10591         (msghdr.msg_controllen): Likewise.
10592         (cmsghdr.cmsg_len): Likewise.
10593         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10594         expected POSIX assumption about the size.
10595         (msghdr.msg_controllen): Likewise.
10596         (msghdr.__glibc_reserved1): Likewise.
10597         (msghdr.__glibc_reserved2): Likewise.
10598         (cmsghdr.cmsg_len): Likewise.
10599         (cmsghdr.__glibc_reserved1): Likewise.
10600         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10601         Add ptw-oldrecvmsg and ptw-oldsendmsg.
10602         (CFLAGS-sendmsg.c): Remove rule.
10603         (CFLAGS-recvmsg.c): Likewise.
10604         (CFLAGS-oldsendmsg.c): Add rule.
10605         (CFLAGS-oldrecvmsg.c): Likewise.
10606         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10607         recvmsg and sendmsg.
10608         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10609         Likewise.
10610         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10611         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10612         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10613         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10614         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10615         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10616         Likewise.
10617         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10618         Likewise.
10619         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10620         Likewise.
10621         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10622         Likewise.
10623         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10624         Likewise.
10625         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10626         Likewise.
10627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10628         (GLIBC_2.24): Likewise.
10629         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10630         Likewise.
10631         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10632         Likewise.
10633         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10634         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10635         Likewise.
10636         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10637         Likewise.
10638         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10639         Likewise.
10640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10641         (GLIBC_2.24): Likewise.
10642         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10643         Likewise.
10644         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10645         Likewise.
10646         * sysdeps/unix/sysv/linux/Makefile
10647         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10648         (CFLAGS-sendmsg.c): Add rule.
10649         (CFLAGS-recvmsg.c): Likewise.
10650         (CFLAGS-oldsendmsg.c): Likewise.
10651         (CFLAGS-oldrecvmsg.c): Likewise.
10652         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10653         initialization.
10654         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10655         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10656         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10657         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10658         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10659         iovlen and controllen fields to adjust to POSIX specification.
10660         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10661         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10662         added recvmsg and sendmsg.
10663         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10664         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10665         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10666         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10667         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10668         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10669         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10670         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10671         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10672         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10673         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10674         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10676         Likewise.
10677         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10679         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10680         Likewise.
10681         Likewise.
10682         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10683         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10684         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10685         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10686         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10687         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10689         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10691         Likewise.
10692         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10693         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10695         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10696         from auto-generation.
10697         (sendmsg): Likewise.
10698         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10699         (sendmsg): Likewise.
10700         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10701         (sendmsg): Likewise.
10702         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10703         (sendmsg): Likewise.
10704         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10705         (sendmsg): Likewise.
10706         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10707         (sendmsg): Likewise.
10708         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10709         Likewise.
10710         (sendmsg): Likewise.
10711         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10712         (sendmsg): Likewise.
10713         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10714         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10715         Remove.
10716         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10717         Likewise.
10718         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10719         Undefine.
10720         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10721         Likewise.
10722         * sysdeps/unix/sysv/linux/kernel-features.h
10723         (__ASSUME_SENDMSG_SYSCALL): Define.
10724         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10725         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10726         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10727         Remove.
10728         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10729         Likewise.
10730         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10731         Undefine.
10732         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10733         Likewise.
10734         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10735         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10736         Remove.
10737         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10738         Likewise.
10739         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10740         Undefine.
10741         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10742         Likewise.
10743         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10744         (__ASSUME_SENDMSG_SYSCALL): Undefine.
10745         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10746         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10747         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10748         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10749         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10750         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10751         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10753 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10755         * stdlib/gen-tst-strtod-round.c: Add backslash to
10756         compile command in comment.
10757         (printfp): Remove the literal suffix, and define an infinite
10758         value as INF to avoid expansion clash with INFINITY.
10759         (round_str): Remove the literal suffix.
10760         (round_for_all): Likewise, remove the now duplicate ldbl-64
10761         entry, and remove some magic constants.
10763         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10764         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
10765         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10766         (_CONCAT): New macro.
10767         (CONCAT): Likewise.
10768         (CHOOSE_ld): Likewise.
10769         (CHOOSE_f): Likewise.
10770         (CHOOSE_d): Likewise.
10771         (FTYPE_MEMBER): Likewise.
10772         (BOOL_MEMBER): Likewise.
10773         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10774         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10775         (_XNTRY): Likewise.
10776         (XNTRY): Likewise.
10777         (_ENTRY): Likewise.
10778         (ENTRY): Likewise.
10779         (test_exactness): Generate members via macro.
10780         (test_results): Likewise.
10781         (test): Update members.
10782         (TEST): Redefine using new macros.
10783         (INF): New macro.
10784         (fetestmodes): New structure.
10785         (do_test): Refactor to be type generic.
10786         (test_in_one_mode): Refactor duplicate code into
10787         (GEN_ONE_TEST): New macro.
10789         * stdlib/tst-strtod-round-data.h: Regenerate.
10791         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10792         Extend to pass additional arbitrary parameters to
10793         generators.
10795 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
10797         [BZ #15479]
10798         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10799         floating-point state after first floating-point operation on
10800         input.  Restore full floating-point state instead of just rounding
10801         mode.
10802         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10803         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10804         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10805         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10806         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10808         [BZ #15479]
10809         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10810         floating-point state after first floating-point operation on
10811         input.  Restore full floating-point state instead of just rounding
10812         mode.
10813         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10814         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10815         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10816         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10817         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10819 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10821         [BZ #19727]
10822         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10823         valid high surrogate.
10824         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10825         of an utf16 surrogate.
10826         * iconv/gconv_simple.c (BODY): Likewise.
10827         * iconvdata/bug-iconv12.c: New file.
10828         * iconvdata/Makefile (tests): Add bug-iconv12.
10830 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10832         [BZ #19726]
10833         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10834         outptrp in case of an illegal input.
10835         * iconv/tst-iconv6.c: New file.
10836         * iconv/Makefile (tests): Add tst-iconv6.
10838 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10840         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10841         an error in case of a value in range of an utf16 low surrogate.
10843 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10845         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10846         an error in case of a value in range of an utf16 low surrogate.
10848 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10850         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10851         Move to ...
10852         * sysdeps/s390/Makefile: ... here.
10853         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10854         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10855         (BRANCH_ON_COUNT): New define.
10856         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10857         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10858         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10859         run on s390-32, too.
10860         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10861         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10862         run on s390-32, too.
10863         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10864         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10865         run on s390-32, too.
10867 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10869         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10870         etf3eh or new vector loop-variant.
10872 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10874         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10875         etf3eh or new vector loop-variant.
10877 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10879         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10880         or new vector loop-variant.
10882 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10884         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10885         Rename to TR_LOOP and usage of tr instead of troo instruction.
10887 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10889         * sysdeps/s390/multiarch/gconv_simple.c: New File.
10890         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10892 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10894         * sysdeps/s390/multiarch/8bit-generic.c: New File.
10895         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10896         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10897         New override define.
10898         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10900 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10902         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10903         * sysdeps/s390/configure.ac: Add test for S390 vector register
10904         support in gcc.
10905         * sysdeps/s390/configure: Regenerated.
10907 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10909         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10910         Install file from $(objpfx)gconv-modules.
10911         ($(objpfx)gconv-modules): Concatenate architecture specific file
10912         in variable sysdeps-gconv-modules and gconv-modules in src dir.
10913         * sysdeps/s390/gconv-modules: New file.
10914         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10915         Deleted.
10916         ($(objpfx)gconv-modules-s390): Deleted.
10917         (sysdeps-gconv-modules): New variable.
10919 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10921         [BZ #15479]
10922         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10923         of immediate operand to rounding instruction.
10924         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10925         Likewise.
10926         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10927         Likewise.
10928         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10929         Likewise.
10931 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10933         * math/libm-test.inc (MIN_EXP): Directly define as
10934         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10936 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10938         * math/libm-test.inc (MANT_DIG): Directly define as
10939         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10941 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10943         * stdlib/gen-tst-strtod-round.c (main):
10944           Change usage to more closely match the generated
10945           output.  Add usage and compilation instructions.
10946           (string_to_fp): Add and use FILE* parameter as
10947           output target.
10948           (print_fp): Likewise.
10949           (round_str): Likewise.
10950           (round_for_all): Likewise.
10951         * stdlib/tst-strtod-round.c (tests): Move into
10952         * stdlib/tst-strtod-round-data.h: New file.
10954 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10956         [BZ #15479]
10957         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10958         (__round): Do not force "inexact" exception.
10959         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10960         variable.
10961         (__round): Do not force "inexact" exception.
10962         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10963         (__roundf): Do not force "inexact" exception.
10964         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10965         (__roundl): Do not force "inexact" exception.
10966         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10967         (__roundl): Do not force "inexact" exception.
10968         * math/libm-test.inc (round_test_data): Do not allow spurious
10969         "inexact" exceptions.
10971         [BZ #15479]
10972         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10973         exception in comment.
10974         (huge): Remove variable.
10975         (__floor): Do not force "inexact" exception.
10976         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10977         "inexact" exception in comment.
10978         (huge): Remove variable.
10979         (__floor): Do not force "inexact" exception.
10980         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10981         exception in comment.
10982         (huge): Remove variable.
10983         (__floorf): Do not force "inexact" exception.
10984         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10985         exception in comment.
10986         (huge): Remove variable.
10987         (__floorl): Do not force "inexact" exception.
10989         [BZ #15479]
10990         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10991         exception in comment.
10992         (huge): Remove variable.
10993         (__ceil): Do not force "inexact" exception.
10994         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10995         "inexact" exception in comment.
10996         (huge): Remove variable.
10997         (__ceil): Do not force "inexact" exception.
10998         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10999         (__ceilf): Do not force "inexact" exception.
11000         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
11001         exception in comment.
11002         (huge): Remove variable.
11003         (__ceill): Do not force "inexact" exception.
11005 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11007         * config.h.in (BIND_NOW): New.
11008         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
11009         * configure: Regenerated.
11010         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
11011         indirect branch via the GOT slot.
11013 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11015         [BZ #19765]
11016         * sysdeps/s390/mempcpy.S: New File.
11017         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11018         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
11019         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11020         Add mempcpy variants.
11021         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
11022         (memcpy): Adjust to be usable from mempcpy entry point.
11023         (__memcpy_mvcle): Likewise.
11024         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11025         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
11026         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
11027         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
11028         (__memcpy_z10): Likewise.
11029         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11031 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11033         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
11034         Remove __GI_ symbol.
11035         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
11036         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
11037         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
11038         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11039         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
11040         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
11042 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11044         * sysdeps/s390/s390-64/memcpy.S (memcpy):
11045         Use cghi instead of chi to compare 64bit value.
11047 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11049         * sysdeps/s390/s390-32/memcpy.S (memcpy):
11050         Jump to 1MB check before executing mvc-loop.
11052 2016-05-24  Florian Weimer  <fweimer@redhat.com>
11054         [BZ #6527]
11055         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
11056         unconditionally.
11057         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
11059 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11061         * stdlib/tst-strtod6.c (do_test): Use new type generic
11062         invocation of the test function.
11063         (test): Refactor into ...
11064         (TEST_STRTOD): New macro base function.
11066 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11068         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
11069         (TEST_STRTOD): New macro.
11070         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
11072 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11074         * stdlib/tst-strtod6.c (do_test): Use new type generic
11075         invocation of the test function.
11076         (test): Refactor into ...
11077         (TEST_STRTOD): New macro base function.
11079 2016-05-23  Florian Weimer  <fweimer@redhat.com>
11081         CVE-2016-4429
11082         [BZ #20112]
11083         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
11084         payload.
11086 2016-05-23  Florian Weimer  <fweimer@redhat.com>
11088         [BZ #20111]
11089         * bits/sockaddr.h (_SS_SIZE): Define.
11090         * bits/socket.h (_SS_SIZE): Remove.
11091         (_SS_PADSIZE): Adjust to account for all padding.
11092         (struct sockaddr_storage): Update comment.  Avoid implicit
11093         padding.
11094         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
11095         (_SS_PADSIZE): Adjust to account for all padding.
11096         (struct sockaddr_storage): Update comment.  Avoid implicit
11097         padding.
11098         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
11099         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
11100         (_SS_PADSIZE): Adjust to account for all padding.
11101         (struct sockaddr_storage): Update comment.  Avoid implicit
11102         padding.
11103         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
11104         __SS_SIZE is 126 in this version.
11105         * inet/tst-sockaddr.c: New file.
11106         * inet/Makefile (tests): Add tst-sockaddr.c
11107         (tst-sockaddr.c): Compile with non-strict aliasing.
11109 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
11111         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
11112         [XPG3 || XPG4].
11113         (NL_ARGMAX): Also expect for [XPG3].
11114         (NL_LANGMAX): Likewise.
11115         (NL_MSGMAX): Likewise.
11116         (NL_NMAX): Likewise.
11117         (NL_SETMAX): Likewise.
11118         (NL_TEXTMAX): Likewise.
11119         (NZERO): Likewise.
11120         (TMP_MAX): Likewise.
11121         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
11122         variable.
11124         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
11125         (PF_MAX): Update value.
11126         (AF_KCM): New macro.
11127         (SOL_NETBEUI): Likewise.
11128         (SOL_LLC): Likewise.
11129         (SOL_DCCP): Likewise.
11130         (SOL_NETLINK): Likewise.
11131         (SOL_TIPC): Likewise.
11132         (SOL_RXRPC): Likewise.
11133         (SOL_PPPOL2TP): Likewise.
11134         (SOL_BLUETOOTH): Likewise.
11135         (SOL_PNPIPE): Likewise.
11136         (SOL_RDS): Likewise.
11137         (SOL_IUCV): Likewise.
11138         (SOL_CAIF): Likewise.
11139         (SOL_ALG): Likewise.
11140         (SOL_NFC): Likewise.
11141         (SOL_KCM): Likewise.
11142         (MSG_BATCH): New enum value and macro.
11144 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
11146         [BZ #18185]
11147         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11148         sharing L2 cache to 2 for Knights Landing.
11150 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
11152         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11153         (FTW_DP): Do not expect for [XPG3 || XPG4].
11154         (FTW_SL): Do not expect for [XPG3].
11155         (FTW_SLN): Likewise.
11156         (FTW_PHYS): Likewise.
11157         (FTW_MOUNT): Likewise.
11158         (FTW_DEPTH): Likewise.
11159         (FTW_CHDIR): Likewise.
11160         (nftw): Likewise.
11161         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11162         variable.
11164 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11166         * manual/errno.texi: Fix various typos & grammar errors.
11168 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11170         * manual/intro.texi: Fix duplicated typo.
11172 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11174         [BZ #13304]
11175         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11176         <float.h>, <math_private.h> and <stdlib.h>.
11177         (add_split): New function.
11178         (mul_split): Likewise.
11179         (ext_val): New typedef.
11180         (store_ext_val): New function.
11181         (mul_ext_val): New function.
11182         (compare): New function.
11183         (add_split_ext): New function.
11184         (__fmal): After checking for Inf, NaN and zero, compute result as
11185         an exact sum of scaled double values in round-to-nearest before
11186         adding those up and adjusting for other rounding modes.
11187         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11188         tests of fma.
11189         * math/auto-libm-test-out: Regenerated.
11191 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11193         [BZ #20119]
11194         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11195         processor level type mask for CPUID with EAX == 11.
11197 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11199         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11200         logical threads if the HTT bit is 0.
11201         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11202         (index_cpu_HTT): Likewise.
11203         (reg_HTT): Likewise.
11205 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11207         [BZ #20115]
11208         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11209         Remove alignments on jump targets.
11211 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11213         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11214         (getpwent): Likewise.
11215         (setpwent): Likewise.
11216         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11217         variable.
11219         * conform/data/search.h-data (insque): Do not expect for [XPG3].
11220         (remque): Likewise.
11221         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11222         variable.
11224 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11226         * math/libm-test.inc: Update comment not to refer to signs of NaNs
11227         not being tested.
11229 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11231         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11232         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
11233         call.
11234         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11235         (__condvar_cleanup1): Likewise.
11237 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11239         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11240         New
11241         (__pthread_unwind): Renamed to ...
11242         (PTHREAD_UNWIND): This.
11243         (__pthread_enable_asynccancel): Replace
11244         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11246 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11248         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11249         (CLONE_NEWCGROUP): New macro.
11251         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11252         (Q_GETNEXTQUOTA): New macro.
11254 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11256         [BZ #19907]
11257         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11258         buffer updated by the previous run.
11259         * string/test-memcpy.c (do_one_test): Likewise.
11260         * benchtests/bench-memmove.c (do_one_test): Add a comment.
11261         * string/test-memmove.c (do_one_test): Likewise.
11263 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
11265         [BZ #20094]
11266         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11267         not [__USE_XOPEN].
11268         (unlockpt): Likewise.
11269         (ptsname): Likewise.
11270         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11271         variable.
11273         [BZ #20076]
11274         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11275         instead of [__USE_UNIX98].
11276         (S_ISSOCK): Likewise.
11277         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11278         variable.
11280         [BZ #20074]
11281         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11282         [__USE_POSIX].
11283         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11284         variable.
11286         [BZ #20051]
11287         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11288         (ttyslot): Do not declare.
11289         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11290         (ttyslot): New prototype.
11291         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11292         variable.
11293         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11295 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11297         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11299 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11301         Fix race condition in tst-mallocfork2, use fewer resources.
11302         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11303         to current process group.
11304         (signal_sender): Yield in the non-sleeping case.
11306 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
11308         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11309         (ecvt): Likewise.
11310         (fcvt): Likewise.
11311         (gcvt): Likewise.
11312         (getsubopt): Likewise.
11313         (grantpt): Likewise.
11314         (initstate): Likewise.
11315         (l64a): Likewise.
11316         (mktemp): Likewise.
11317         (mkstemp): Likewise.
11318         (ptsname): Likewise.
11319         (random): Likewise.
11320         (realpath): Likewise.
11321         (setstate): Likewise.
11322         (srandom): Likewise.
11323         (ttyslot): Likewise.
11324         (unlockpt): Likewise.
11325         (valloc): Likewise.
11327         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11328         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11329         variable.
11331 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11333         [BZ #20072]
11334         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11335         init_cpu_features only if SHARED is defined.
11336         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11338 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11340         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11341         non-inclusive caches on Intel processors.
11343 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11345         * malloc/malloc.c (dumped_main_arena_start)
11346         (dumped_main_arena_end): New variables.
11347         (DUMPED_MAIN_ARENA_CHUNK): New macro.
11348         (do_check_chunk): Skip dumped fake mmapped chunks.
11349         (munmap_chunk): Likewise.
11350         (__libc_free): Do not adjust statistics for fake mmapped chunks.
11351         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
11352         mmapped chunks.
11353         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11354         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
11355         and dumped_main_arena_end to cover the dumped heap.
11357 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
11359         * conform/data/time.h-data (getdate_err): Do not expect for
11360         [XPG3].
11361         (getdate): Likewise.
11362         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11363         variable.
11365         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11366         (F_ULOCK): Likewise.
11367         (F_TEST): Likewise.
11368         (F_TLOCK): Likewise.
11369         (useconds_t): Likewise.
11370         (intptr_t): Do not expect for [XPG3] or [XPG4].
11371         (brk): Do not expect for [XPG3]
11372         (fchown): Likewise.
11373         (fchdir): Likewise.
11374         (ftruncate): Likewise.
11375         (getdtablesize): Likewise.
11376         (gethostid): Likewise.
11377         (getpagesize): Likewise.
11378         (getpgid): Likewise.
11379         (getsid): Likewise.
11380         (getwd): Likewise.
11381         (lchown): Likewise.
11382         (lockf): Likewise.
11383         (readlink): Likewise.
11384         (sbrk): Likewise.
11385         (setpgrp): Likewise.
11386         (setregid): Likewise.
11387         (setreuid): Likewise.
11388         (symlink): Likewise.
11389         (sync): Likewise.
11390         (truncate): Likewise.
11391         (ualarm): Likewise.
11392         (usleep): Likewise.
11393         (vfork): Likewise.
11394         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11395         variable.
11397         [BZ #20054]
11398         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11399         not [__USE_UNIX98].
11400         * conform/data/unistd.h-data (gethostname): Do not expect for
11401         [XPG3].
11403         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11404         [!POSIX] (S_IFBLK): Likewise.
11405         [!POSIX] (S_IFCHR): Likewise.
11406         [!POSIX] (S_IFIFO): Likewise.
11407         [!POSIX] (S_IFREG): Likewise.
11408         [!POSIX] (S_IFDIR): Likewise.
11409         [!POSIX] (S_IFLNK): Likewise.
11410         [!POSIX] (S_IFSOCK): Likewise.
11411         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11412         variable.
11413         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11415 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
11417         * sysdeps/aarch64/memset.S (__memset):
11418         Rewrite of optimized memset.
11420 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11422         [BZ #19703]
11423         Partially async-signal-safe fork for single-threaded processes.
11424         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11425         variable.  Do not acquire and reset/release malloc and libio locks
11426         in single-threaded processes.
11427         * malloc/tst-mallocfork2.c: New file.
11428         * malloc/Makefile (tests): Add it.
11430 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11432         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11433         argument.  Use scratch buffer instead of extend_alloca.
11434         (gethosts): Use scratch buffer instead of extend_alloca.
11435         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
11436         extend_alloca.
11437         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11439 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
11441         [BZ #20055]
11442         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11443         instead of [__USE_UNIX98].
11444         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11445         [__USE_UNIX98].
11446         * conform/data/termios.h-data (tcgetsid): Do not expect for
11447         [XPG3].
11448         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11449         variable.
11450         (test-xfail-XPG4/termios.h/conform): Likewise.
11452 2016-05-11  Florian Weimer  <fweimer@redhat.com>
11454         Do not use mcheck in localedef.
11455         * locale/programs/localedef.c (turn_on_mcheck)
11456         (__malloc_initialize_hook): Remove.
11458 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11460         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11461         * sysdeps/s390/s390-64/Makefile: Likewise.
11463 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
11465         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11466         Remove ifunc-defines.sym.
11467         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11468         Likewise.
11469         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11470         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11471         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11472         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11473         rtld-global-offsets.sym.
11474         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11475         * sysdeps/x86/cpu-features-offsets.sym: This.
11476         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11477         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11479 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
11481         [BZ #20073]
11482         * io/sys/stat.h (fchmod): Declare for
11483         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11484         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11485         variable.
11487         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11488         [XPG3] (S_IFSOCK): Likewise.
11489         [XPG3] (S_ISVTX): Likewise.
11490         [XPG3] (S_ISLNK): Likewise.
11491         [XPG3] (S_ISSOCK): Likewise.
11492         [XPG3] (fchmod): Likewise.
11493         [XPG3] (lstat): Likewise.
11494         [XPG3] (mknod): Likewise.
11496         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11497         [XPG3].  Expect type long and XFAIL for [XPG4].
11498         (st_blocks): Likewise.
11500         [BZ #20044]
11501         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11502         (pthread_atfork): New prototype.
11503         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11504         variable.
11506         [BZ #20043]
11507         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11508         prototype.
11510 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11512         [BZ #20017]
11513         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11514         gmtime.
11516 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11518         [BZ #19994]
11519         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11520         flag in _res.options.
11522 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
11524         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11525         [XPG3 || XPG4].
11526         (blksize_t): Likewise.
11527         (clockid_t): Likewise.
11528         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11529         variable.
11530         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11532 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11534         * sysdeps/unix/sysv/linux/s390/init-first.c:
11535         Add VDSO_SYMBOL(getcpu).
11536         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11537         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11538         Add VDSO_SYMBOL(getcpu).
11539         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11540         New define HAVE_GETCPU_VSYSCALL.
11541         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11543 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11545         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11546         instead of <sysdeps/x86_64/cacheinfo.c>.
11547         * sysdeps/x86_64/cacheinfo.c: Moved to ...
11548         * sysdeps/x86/cacheinfo.c: Here.
11550 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11552         * malloc/malloc-internal.h: Adjust header file guard.
11554 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11556         [BZ #19787]
11557         * inet/getnameinfo.c (check_sprintf_result): New function.
11558         (CHECKED_SNPRINTF): New macro.
11559         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11560         to the host buffer.
11561         (gni_host_local): Use checked_copy to copy the host name.
11562         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11563         (gni_serv_local): Use checked_copy to copy the service name.
11564         (getnameinfo): Remove unnecessary truncation of result buffers.
11566 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11568         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11569         in case of inet_ntop failure.
11571 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11573         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11574         avoid long lines.
11575         (gni_host_inet_numeric): Likewise.  Reduce scope of local
11576         variables.
11577         (gni_host_inet, gni_host_local): Add comment.
11578         (gni_host): Add comment.  Use temporary to avoid long lines.
11580 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11582         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11583         registers specifiers where general purpose registers specifiers should
11584         have been used.
11586 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11588         [BZ #19779]
11589         CVE-2016-1234
11590         Avoid copying names of directory entries.
11591         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11592         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11593         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11594         (struct readdir_result): New type.
11595         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11596         (GL_READDIR): New macros.
11597         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11598         (convert_dirent, convert_dirent64): New functions.
11599         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
11600         convert_dirent64.  Adjust references to the readdir result.
11601         * sysdeps/unix/sysv/linux/i386/glob64.c:
11602         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11603         * posix/bug-glob2.c (LONG_NAME): Define.
11604         (filesystem): Add LONG_NAME.
11605         (my_DIR): Increase the size of room_for_dirent.
11607 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
11609         [BZ #20041]
11610         * misc/sys/select.h (__need_timespec): Only define if
11611         [__USE_XOPEN2K].
11612         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11613         variable.
11614         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11615         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11616         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11618 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11619             Segher Boessenkool  <segher@gcc.gnu.org>
11621         [BZ #20004]
11622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11623         (__novec_swapcontext): Add missing load.
11625 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
11627         [BZ #20023]
11628         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11629         <time.h>.
11630         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11631         variable.
11632         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11634 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11637         flags CLONE_VM compare.
11639 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11641         [BZ #20031]
11642         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11643         completely empty.
11645 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11647         [BZ #19573]
11648         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11649         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11650         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11651         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11652         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11653         (hesiod_free_list): Mark as hidden.
11654         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11655         res_set, res_get.
11656         * hesiod/hesiod.c: Remove unnecessary forward declarations.
11657         (init, __hesiod_res_get, __hesiod_res_set): Remove.
11658         (hesiod_init): Remove obsolete res_ninit call.
11659         (hesiod_end): Do not free resolver state.  Do not invoke callback.
11660         (hesiod_bind): Do not call init.
11661         (get_txt_records): Use res_mkquery, res_send instead of
11662         res_nmkquery, res_nsend.
11663         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11664         instead of _nss_hesiod_init.
11665         (_nss_hesiod_initgroups_dyn): Likewise.
11666         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11667         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11668         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11670 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11672         * hesiod/hesiod_p.h (DEF_RHS): Remove.
11673         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11675 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11677         * hesiod/hesiod.h: Remove RCS keyword.
11678         * hesiod/hesiod_p.h: Likewise.
11680         * hesiod/hesiod.c: Likewise.
11682 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
11684         [BZ #12450]
11685         * locale/iso-639.def: Add Samogitian/sgs.
11687 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
11689         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11691         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11693 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
11694             Carlos O'Donell  <carlos@redhat.com>
11696         [BZ #19072]
11697         * grp/Makefile (headers): Add grp-merge.h
11698         (routines): Add grp-merge.
11699         * grp/getgrgid_r.c: Include grp-merge.h.
11700         (DEEPCOPY_FN): Define.
11701         (MERGE_FN): Define.
11702         * grp/getgrname_r.c: Include grp-merge.h.
11703         (DEEPCOPY_FN): Define.
11704         (MERGE_FN): Define.
11705         * grp/grp-merge.c: New file.
11706         * grp/grp-merge.h: New file.
11707         * include/grp-merge.h: New file.
11708         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11709         __copy_grp@GLIBC_PRIVATE.
11710         * manual/nss.texi (Actions in the NSS configuration): Describe
11711         return, continue, and merge.
11712         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11713         (DEEPCOPY_FN): Define.
11714         (MERGE_FN): Define.
11715         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11716         (DEEPCOPY_FN): Define.
11717         (MERGE_FN): Define.
11718         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11719         [!MERGE_FN]: Define __merge_einval.
11720         (CHECK_MERGE): Define.
11721         (REENTRANT_NAME): Process merge if do_merge is true.
11722         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11723         (__nss_getent_r): Likewise.
11724         * nss/nsswitch.c (nss_parse_service_list): Likewise.
11725         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11727 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11729         [BZ #20012]
11730         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11731         length to calculate the buffer to read.
11732         (fmemopen_write): Set the buffer position based on bytes written.
11733         (fmemopen_seek): Return EINVAL for invalid whence modes.
11735         [BZ #19957]
11736         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11737         tst-getpid2.
11738         (test): Add tst-clone2.
11739         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11740         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11741         pid/tid fields for CLONE_VM.
11742         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11743         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11744         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11745         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11746         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11747         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11748         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11749         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11751         Likewise.
11752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11753         Likewise.
11754         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11755         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11756         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11757         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11758         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11759         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11760         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11761         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11763 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11765         [BZ #19642]
11766         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11767         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11768         (gni_serv_local, gni_serv): New functions extracted from
11769         getnameinfo.
11770         (getnameinfo): Call gni_host and gni_serv to perform the
11771         processing.  Always free scratch buffer.
11773 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11775         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11776         remaining bytes in the dest string, with zeros.
11778 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11780         [BZ #20010]
11781         CVE-2016-3706
11782         * sysdeps/posix/getaddrinfo.c
11783         (convert_hostent_to_gaih_addrtuple): New function.
11784         (gethosts): Call convert_hostent_to_gaih_addrtuple.
11785         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11786         AF_INET data.
11788 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11790         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11791         callback function gl_readdir.
11792         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11793         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11794         (glob_in_dir): Remove len.  Use strdup instead of malloc and
11795         memcpy to copy the name.
11796         * manual/pattern.texi (Calling Glob): Document requirements for
11797         implementations of the gl_readdir callback function.
11798         * manual/examples/mkdirent.c: New example.
11799         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11800         per the manual guidance.
11801         * posix/tst-gnuglob.c (my_readdir): Likewise.
11803 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
11805         [BZ #20014]
11806         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11807         not [__USE_POSIX].
11808         (getchar_unlocked): Likewise.
11809         (putc_unlocked): Likewise.
11810         (putchar_unlocked): Likewise.
11811         (flockfile): Likewise.
11812         (ftrylockfile): Likewise.
11813         (funlockfile): Likewise.
11814         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11815         variable.
11816         (test-xfail-XPG4/stdio.h/conform): Likewise.
11818         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11819         Expect constant.
11820         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11821         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11822         variable.
11823         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11824         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11826         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11827         [__USE_LARGEFILE64] (off64_t): Likewise.
11828         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11829         variable.
11831 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11833         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11835 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11837         * resolv/inet_addr.c: Reindent preprocessor conditionals.
11838         * resolv/res_init.c: Likewise.
11839         * resolv/res_mkquery.c: Likewise.
11841 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11843         * resolv/res_init.c (isascii): Do not define.  Use definition in
11844         <ctype.h>.
11845         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11846         (LOG_AUTH): Remove.
11847         (SPRINTF): Remove, adjust caller.
11848         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11850 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11852         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11853         SUNSECURITY conditional.
11854         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11856 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11858         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11859         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11860         Remove BSD-related preprocessor conditionals.
11861         * conf/portability.h: Remove.
11863 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11865         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11866         * resolv/res_data.c: Likewise.
11868 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11870         * resolv/res_comp.c: Remove code conditional on __ultrix__.
11871         * resolv/res_data.c: Remove code conditional on ultrix.
11873 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11875         * resolv/res_init.c (RFC1535): Do not define.  Remove
11876         RFC1535 preprocessor conditionals.
11877         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
11878         because there configuration options which make the resolver
11879         behavior different.
11881 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11883         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11884         RESOLVSORT preprocessor conditionals.
11885         * resolv/nss_dns/dns-host.c: Likewise.
11886         * resolv/res_init.c: Likewise.
11888 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11890         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
11891         is never defined.
11893 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11895         * inet/inet_lnaof.c: Remove SCSS keyword.
11896         * inet/inet_mkadr.c: Likewise.
11897         * inet/inet_net.c: Likewise.
11898         * inet/inet_netof.c: Likewise.
11899         * inet/rcmd.c: Likewise.
11900         * inet/rexec.c: Likewise.
11901         * inet/ruserpass.c: Likewise.
11903 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11905         * resolv/inet_addr.c: Remove _LIBC conditionals.
11906         * resolv/res_data.c: Likewise.
11907         * resolv/res_init.c: Likewise.
11908         * resolv/res_mkquery.c: Likewise.
11909         * resolv/res_libc.c: Update comment.
11910         * resolv/README: Update.
11912 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11914         * resolv/gethnamaddr.c: Remove SCSS keyword.
11915         * resolv/herror.c: Likewise.
11916         * resolv/inet_addr.c: Likewise.
11917         * resolv/inet_net_ntop.c: Likewise.
11918         * resolv/inet_net_pton.c: Likewise.
11919         * resolv/inet_neta.c: Likewise.
11920         * resolv/inet_ntop.c: Likewise.
11921         * resolv/inet_pton.c: Likewise.
11922         * resolv/ns_date.c: Remove RCS keyword.
11923         * resolv/ns_name.c: Likewise.
11924         * resolv/ns_netint.c: Likewise.
11925         * resolv/ns_parse.c: Likewise.
11926         * resolv/ns_print.c: Likewise.
11927         * resolv/ns_samedomain.c: Likewise.
11928         * resolv/ns_ttl.c: Likewise.
11929         * resolv/nsap_addr.c: Likewise.
11930         * resolv/res_comp.c: Remove SCSS and RCS keyword.
11931         * resolv/res_data.c: Remove RCS keyword.
11932         * resolv/res_debug.c: Remove SCSS and RCS keyword.
11933         * resolv/res_init.c: Likewise.
11934         * resolv/res_mkquery.c: Likewise.
11935         * resolv/res_query.c: Likewise.
11936         * resolv/res_send.c: Likewise.
11938 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11940         * conform/data/stdio.h-data (fdopen): Expect also for
11941         [XPG3 || XPG4].
11943         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11944         (fseeko): Likewise.
11945         (ftello): Likewise.
11946         (ftrylockfile): Likewise.
11947         (funlockfile): Likewise.
11948         (getc_unlocked): Likewise.
11949         (getchar_unlocked): Likewise.
11950         (putc_unlocked): Likewise.
11951         (putchar_unlocked): Likewise.
11953 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11955         [BZ #19868]
11956         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11957         DNS packet syntax checks (which were not needed before).  Skip
11958         over non-PTR records.
11960 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11962         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11963         definition.  Include <stddef.h> instead.
11965 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11967         [BZ #19831]
11968         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11969         function.
11970         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11971         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11973 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11975         [BZ #19862]
11976         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11977         (getanswer_r): Do not call syslog.
11978         (gaih_getanswer_slice): Likewise.
11979         * resolv/gethnamaddr.c (AskedForGot): Remove.
11980         (getanswer): Do not call syslog.
11981         (gethostbyaddr): Likewise.
11983 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11985         * conform/data/signal.h-data (union sigval): Expect also if
11986         [XOPEN2K].
11987         (struct sigevent): Likewise.
11988         (SIGEV_NONE): Likewise.
11989         (SIGEV_SIGNAL): Likewise.
11990         (SIGEV_THREAD): Likewise.
11991         (SIGRTMIN): Likewise.
11992         (SIGRTMAX): Likewise.
11993         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11994         variable.
11995         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11997 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11999         [BZ #19830]
12000         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
12001         (gaih_getanswer_slice): Likewise.
12002         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
12003         Also check for availability of RR metadata.
12005 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12007         [BZ #19825]
12008         * resolv/res_send.c (send_vc): Remove early *resplen2
12009         initialization.  Set *resplen2 on socket error.  Call
12010         close_and_return_error for other errors.
12012 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
12014         * sysdeps/unix/sysv/linux/netiucv/iucv.h
12015         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
12016         (SCM_IUCV_TRGCLS): New define.
12018 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12020         [BZ #20005]
12021         * libio/fmemopen.c (fmemopen_write): Update internal position after
12022         write.
12023         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
12024         * stdio-common/tst-fmemopen4.c: New file..
12026 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
12028         [BZ #19996]
12029         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
12030         not [__USE_XOPEN2K].
12031         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
12032         variable.
12034         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
12035         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
12036         variable.
12038         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
12039         [__USE_XOPEN2K8].
12040         [__USE_LARGEFILE64] (off64_t): Likewise.
12041         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
12042         variable.
12044 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
12046         [BZ #19989]
12047         * libio/stdio.h (cuserid): Do not declare if
12048         [__USE_XOPEN2K && !__USE_GNU].
12049         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
12050         variable.
12052 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12054         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12055         (sysdep_routines): Add P8 and PPC64 strcspn targets.
12056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12057         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12058         ifunc'ed strcspn.
12059         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12060         [EALIGN]: Removed.
12061         [END]: Likewise
12062         [STRSPN]: Define instead of the above to control symbol name.
12063         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
12064         New file.
12065         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
12066         Likewise.
12067         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
12068         Likewise.
12069         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
12070         Likewise.
12071         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12072         [INITIAL_MASK]: New macro.
12073         [STRCSPN]: Likewise.
12074         [UPDATE_MASK]: Likewise.
12075         [USE_AS_STRCSPN]: Likewise.
12077 2016-04-25  Florian Weimer  <fweimer@redhat.com>
12079         [BZ #19931]
12080         * stdio-common/tst-vfprintf-width-prec.c: New file.
12081         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
12082         (tests-special): Add tst-vfprintf-width-prec-mem.out.
12083         (generated): Add mtrace-related files.
12084         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
12085         (tst-%-mem.out): New pattern rule, replaces
12086         tst-printf-bz18872-mem.out.
12087         * stdio-common/vfprintf.c (vfprintf): When handling a precision
12088         specifier, deallocate any previously allocated work buffer.
12090 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12092         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
12093         Add nop before __startcontext, add explaining comments.
12095 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
12097         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
12098         any more. Notably since IPV6_PKTINFO has been reintroduced with a
12099         completely different API.
12101         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
12102         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
12103         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
12104         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
12105         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
12106         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
12107         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
12108         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
12109         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
12110         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
12112 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
12114         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
12116 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
12118         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
12119         when it is the default of 0.
12121 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12123         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
12124         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12125         (sysdep_routines): Add new strcasestr targets.
12126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12127         (__libc_ifunc_impl_list): Likewise.
12128         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
12129         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
12130         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
12131         * sysdeps/powerpc/powerpc64/power8/Makefile:
12132         New file to add strcasestr-ppc64 to sysdep_routines.
12133         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
12134         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
12136 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
12138         * benchtests/Makefile (wcsmbs-benchset): Include only for
12139         native builds and runs.
12140         (LOCALES): Likewise.
12141         (bench-build): Build timing-type here instead of the bench
12142         target.  Generate locale only for native builds.
12143         * benchtests/README: Add note for cross-building.
12145         * benchtests/Makefile (bench-clean): Clean up extra-objs.
12147         * benchtests/README: Update README to include instructions on
12148         using bench-build.
12150         * Makefile.in (bench-build): New target.
12151         * Rules (PHONY): Add bench-build target.
12152         * benchtests/Makefile (bench): Depend on bench-build.
12153         (bench-build): New target.
12155 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12157         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12158         profil_reply_port.
12159         (profile_waiter): Do not initialize profil_reply_port.
12160         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12161         frequency instead of tick length in us.
12163 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
12165         [BZ #18712]
12166         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12167         (__old_mempcpy_small): Likewise.
12168         (__old_strcpy_small): Likewise.
12169         (__old_stpcpy_small): Likewise.
12170         (__old_strpbrk_c2): Fix compat symbol name.
12171         (__old_strpbrk_c3): Likewise.
12172         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12173         (__mempcpy_small): Remove.
12174         (__strcpy_small): Remove.
12175         (__stpcpy_small): Remove.
12177 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
12179         [BZ #19400]
12180         * locale/iso-639.def: Add the Talossan/tzl language.
12182 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12184         [BZ #16983]
12185         * locale/programs/ld-address.c (address_finish): Update postal_fmt
12186         comment.  Add "ln" to strchr check on postal_fmt.
12188 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12190         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12191         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
12192         tel_dom_fmt.
12194 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12196         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12197         (sysdep_routines): Added __strlen_power8.
12198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12199         __strlen_power8 entry.
12200         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12201         Implementation for POWER8.
12202         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12203         for __strlen_power8.
12204         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12205         Implementation for POWER8.
12207 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
12209         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12211 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
12213         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12214         Goldmont and Airmont processors.
12216 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
12218         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12219         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12220         (__STRING2_SMALL_GET32): Remove.
12221         (memset): Remove.
12222         (__memset_1): Remove.
12223         (__memset_gc): Remove.
12224         (__mempcpy): Remove.
12225         (mempcpy): Remove.
12226         (__mempcpy_args): Remove.
12227         (strchr): Remove.
12228         (strcpy): Remove.
12229         (strcpy_args): Remove.
12230         (__stpcpy_args): Remove.
12231         (__strcmp_cc): Remove.
12232         (__strcmp_gc): Remove.
12233         (strstr): Remove.
12235 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
12237         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12238         * nis/nis_call.c (nis_server_cache_add): Likewise.
12240 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12242         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12244 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12246         * malloc/arena.c (__malloc_fork_lock_parent)
12247         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12248         internal_function attribute.
12250 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
12252         * stdio-common/printf_fp.c (__printf_fp_l):
12253         Rename ___printf_fp_l to __printf_fp_l and
12254         remove strong alias. Use libc_hidden_def instead
12255         of ldbl_hidden_def macro.
12257 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12259         Remove malloc hooks from fork handler.  They are no longer needed
12260         because malloc runs right before fork, and no malloc calls from
12261         other fork handlers are not possible anymore.
12262         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12263         declarations.
12264         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12265         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12266         (atfork_recursive_cntr): Remove.
12267         (__malloc_fork_lock_parent): Do not override malloc hooks and
12268         thread_arena.
12269         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12270         thread_arena.
12271         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
12272         thread_arena instead of save_arena.
12274 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12276         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12277         (thread_atfork, thread_atfork_static): Remove.
12278         * sysdeps/mach/hurd/malloc-machine.h:
12279         (thread_atfork, thread_atfork_static): Remove.
12281 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12283         [BZ #19431]
12284         Run the malloc fork handler as late as possible to avoid deadlocks.
12285         * malloc/malloc-internal.h: New file.
12286         * malloc/malloc.c: Include it.
12287         * malloc/arena.c (ATFORK_MEM): Remove.
12288         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12289         Update comment.
12290         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12291         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12292         Remove outdated comment.
12293         (ptmalloc_init): Do not call thread_atfork.  Remove
12294         thread_atfork_static.
12295         * malloc/tst-malloc-fork-deadlock.c: New file.
12296         * Makefile (tests): Add tst-malloc-fork-deadlock.
12297         (tst-malloc-fork-deadlock): Link against libpthread.
12298         * manual/memory.texi (Aligned Memory Blocks): Update safety
12299         annotation comments.
12300         * sysdeps/nptl/fork.c (__libc_fork): Call
12301         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12302         __malloc_fork_unlock_child.
12303         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12305 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12307         [BZ #19613]
12308         Remove union wait.
12309         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12310         (w_stopsig, w_stopval): Remove.
12311         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12312         stat_loc argument.
12313         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12314         (__WAIT_STATUS_DEFN): Remove.
12315         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12316         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12317         (wait, wait3, wait4): Use int * for the stat_loc argument.
12318         * posix/wait.c (__wait): Likewise.
12319         * posix/wait3.c (__wait3): Likewise.
12320         * posix/wait4.c (__wait4): Likewise.
12321         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12322         (__WAIT_STATUS_DEFN): Remove.
12323         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12324         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12325         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12326         argument.
12327         * sysdeps/posix/wait.c (__libc_wait): Likewise.
12328         * sysdeps/posix/wait3.c (__wait3): Likewise.
12329         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12330         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12331         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12332         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12333         stat_loc argument.
12334         * manual/process.texi (BSD Wait Functions): Remove union wait.
12336 2016-04-13  Andreas Schwab  <schwab@suse.de>
12338         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12339         (test-extras): Add tst-tlsalign-vars.
12340         * math/Makefile: Wrap long lines.
12341         (libm-vec-test-wrappers): Define.
12342         (test-extras): Add $(libm-vec-test-wrappers).
12343         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12344         * nss/Makefile (extra-test-objs): Add nss_test1.os.
12345         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12346         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12347         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12348         (extra-test-objs): Add corresponding objects.
12350 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
12352         [BZ #19928]
12353         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12354         New.
12355         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12356         times of shared cache size.
12357         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12358         (VMOVNT): New.
12359         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12360         (VMOVNT): Likewise.
12361         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12362         (VMOVNT): Likewise.
12363         (VMOVU): Changed to movups for smaller code sizes.
12364         (VMOVA): Changed to movaps for smaller code sizes.
12365         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12366         comments.
12367         (PREFETCH): New.
12368         (PREFETCH_SIZE): Likewise.
12369         (PREFETCHED_LOAD_SIZE): Likewise.
12370         (PREFETCH_ONE_SET): Likewise.
12371         Rewrite to use forward and backward loops, which move 4 vector
12372         registers at a time, to support overlapping addresses and use
12373         non temporal store if size is above the threshold and there is
12374         no overlap between destination and source.
12376 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
12378         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12379         Include dl-vdso.
12380         * sysdeps/unix/sysv/linux/mips/Versions: Add
12381         __vdso_clock_gettime.
12382         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12383         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12384         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12385         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12386         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12387         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12388         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12389         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12390         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12392 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12394         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12395         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12396         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12397         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12398         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12399         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12402         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12403         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12404         syscalls generation.
12405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12406         [__NR_pwrite64] (__NR_write): Remove define.
12407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12408         [__NR_pwrite64] (__NR_write): Remove define.
12409         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12410         Remove define.
12411         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12412         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12413         Remove define.
12414         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12415         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12416         Linux implementation as base.
12417         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12419         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12420         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12421         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12422         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12425         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12426         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12427         syscall generation.
12428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12429         [__NR_pread64] (__NR_pread): Remove define.
12430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12431         [__NR_pread64] (__NR_pread): Likewise.
12432         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12433         define.
12434         (__libc_pread): Use SYSCALL_LL macro on offset argument.
12435         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12436         Remove define.
12437         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12438         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12439         Linux implementation as base.
12440         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12441         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12442         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12444         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12445         definition.
12446         (__ALIGNMENT_COUNT): Likewise.
12447         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12448         (__ALIGNMENT_COUNT): Likewise.
12449         (SYSCALL_LL): New define.
12450         (SYSCALL_LL64): Likewise.
12451         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12452         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12453         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12454         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12456         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12457         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12458         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12459         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12460         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12461         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12463 2016-04-11  Florian Weimer  <fweimer@redhat.com>
12465         [BZ #19865]
12466         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12467         original buffer before retry.
12469 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12471         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12472         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12473         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12474         GLRO(dl_auxv) list.
12475         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12476         including <ldsodefs.h>.
12477         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12479 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
12481         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12482         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12483         $(CPPFLAGS).
12485 2016-04-09  Khem Raj  <raj.khem@gmail.com>
12487         [BZ #17950]
12488         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12489         Add -mfpmath=387.
12491 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
12493         * sysdeps/i386/configure.ac: Change == to = when calling test.
12494         * sysdeps/x86_64/configure.ac: Likewise.
12495         * sysdeps/i386/configure: Regenerated.
12496         * sysdeps/x86_64/configure: Likewise.
12498 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
12500         [BZ #16137]
12501         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12502         * benchtests/bench-strcoll.c (input_files): Likewise.
12503         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12504         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12505         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12507 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
12509         [BZ #19929]
12510         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12511         [__USE_XOPEN2K8 && !__USE_GNU].
12512         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12513         variable.
12515         [BZ #19925]
12516         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12517         define if [!__USE_MISC && __USE_XOPEN2K].
12518         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12519         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12520         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12521         Likewise.
12522         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12523         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12524         variable.
12525         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12527 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12529         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12530         (sysdep_routines): Add new strspn targets.
12531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12532         (__libc_ifunc_impl_list): Add strspn.
12533         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12534         New file.
12535         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12536         Likewise.
12537         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12538         Likewise.
12539         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12540         Likewise.
12542 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12544         * misc/hsearch_r.c: Include <limits.h>.
12546 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12548         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12550 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12552         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12553         (MEMCPY_SYMBOL): New.
12554         (MEMPCPY_SYMBOL): Likewise.
12555         (MEMMOVE_CHK_SYMBOL): Likewise.
12556         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12557         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12558         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
12559         Provide alias for memcpy in libc.a and ld.so.
12561 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12563         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12564         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
12565         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12566         Disabled fro now.
12567         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12568         symbols.  Properly check USE_MULTIARCH on __memset symbols.
12570 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12572         * benchtests/Makefile (string-benchset): Add memcpy-large,
12573         memmove-large and memset-large.
12574         * benchtests/bench-memcpy-large.c: New file.
12575         * benchtests/bench-memmove-large.c: Likewise.
12576         * benchtests/bench-memmove-large.c: Likewise.
12577         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12579 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12581         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12582         32-bit displacement to avoid long nop between instructions.
12584 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12586         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12587         a comment on VMOVU and VMOVA.
12589 2016-04-04  Florian Weimer  <fweimer@redhat.com>
12591         [BZ #19633]
12592         Use specified locale for number formatting in strfmon_l.
12593         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12594         (__nl_lookup_word): New inline functions.
12595         * include/printf.h (__print_fp_l): Declare.
12596         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12597         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
12598         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12599         (___printf_fp): New function.
12600         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12601         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12602         * stdlib/tst-strfmon_l.c (do_test): New test.
12603         * stdlib/Makefile (tests): Add kt.
12604         (LOCALES): Build additional locales.
12605         (tst-strfmon_l.out): Require locales.
12607 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12609         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12610         if not in libc.
12611         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12612         Likewise.
12613         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12614         Likewise.
12615         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12616         Likewise.
12618 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12620         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12621         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12622         with unaligned_erms.
12623         (__memmove_erms): Skip if source == destination.
12624         (__memmove_unaligned_erms): Don't check source == destination
12625         first.
12627 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12629         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12630         bit_arch_Fast_Copy_Backward for Intel Core proessors.
12632 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12634         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12635         * string/strspn.c (strspn): Likewise.
12637 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12639         * benchtests/bench-memset.c (do_test): Support 64-byte
12640         alignment.
12641         (test_main): Test 64-byte alignment.
12643 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12645         * benchtests/bench-memmove.c (test_main): Test 64-byte
12646         alignment.
12648 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12650         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12652 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12654         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12655         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12656         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12658         * string/strpbrk.c (strpbrk): Rewrite function.
12659         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12660         (__strpbrk_c2): Likewise.
12661         (__strpbrk_c3): Likewise.
12662         * string/string-inlines.c
12663         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12664         Likewise.
12665         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12666         Likewise.
12668         * string/strspn.c (strcspn): Rewrite function.
12669         * string/bits/string2.h (strspn): Use __builtin_strcspn.
12670         (__strspn_c1): Remove inline function.
12671         (__strspn_c2): Likewise.
12672         (__strspn_c3): Likewise.
12673         * string/string-inlines.c
12674         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12675         compatibility symbol.
12676         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12677         Likewise.
12678         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12679         Likewise.
12680         * string/string-inlines.c: Include generic version.
12682 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
12683             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12685         * string/Version (libc): Add GLIBC_2.24.
12686         * string/strcspn.c (strcspn): Rewrite function.
12687         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12688         (__strcspn_c1): Remove inline function.
12689         (__strcspn_c2): Likewise.
12690         (__strcspn_c3): Likewise.
12691         * string/string-inline.c
12692         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12693         compatibility symbol.
12694         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12695         Likewise.
12696         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12697         Likewise.
12698         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12700 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12702         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12703         Use ahi instead of aghi to adjust stack pointer.
12705 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12707         [BZ #19853]
12708         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12709         TEST to take significant digits as second parameter.
12710         [TEST]: Redefine in terms of TEST_N taking 30
12711         significant digits.
12712         (do_test): Add test case to demonstrate precision
12713         failure in the ldbl-128ibm printf.
12714         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12715         (__mpn_extract_long_double): Carry 7 extra intermediate
12716         bits of precision to aide computing difference when
12717         signs differ.
12719 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12721         [BZ #19881]
12722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12723         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12724         memset-avx512-unaligned-erms.
12725         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12726         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12727         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12728         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12729         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12730         __memset_sse2_unaligned_erms, __memset_erms,
12731         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12732         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12733         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12734         file.
12735         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12736         Likewise.
12737         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12738         Likewise.
12739         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12740         Likewise.
12742 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12744         [BZ #19776]
12745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12746         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12747         memmove-avx512-unaligned-erms.
12748         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12749         (__libc_ifunc_impl_list): Test
12750         __memmove_chk_avx512_unaligned_2,
12751         __memmove_chk_avx512_unaligned_erms,
12752         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12753         __memmove_chk_sse2_unaligned_2,
12754         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12755         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12756         __memmove_avx512_unaligned_erms, __memmove_erms,
12757         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12758         __memcpy_chk_avx512_unaligned_2,
12759         __memcpy_chk_avx512_unaligned_erms,
12760         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12761         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12762         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12763         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12764         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12765         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12766         __mempcpy_chk_avx512_unaligned_erms,
12767         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12768         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12769         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12770         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12771         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12772         __mempcpy_erms.
12773         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12774         file.
12775         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12776         Likewise.
12777         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12778         Likewise.
12779         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12780         Likewise.
12782 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12784         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12785         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12786         (La_s390_64_regs): Likewise.
12787         (La_s390_32_retval): Append vector register lrv_v24.
12788         (La_s390_64_retval): Likeweise.
12789         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12790         Handle extended structs La_s390_32_regs and La_s390_32_retval.
12791         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12792         Handle extended structs La_s390_64_regs and La_s390_64_retval.
12794 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12796         [BZ #19916]
12797         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12798         to create a non-vector/vector version for _dl_runtime_resolve and
12799         _dl_runtime_profile. Move implementation to ...
12800         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12801         (_dl_runtime_resolve) Save and restore fpr/vrs.
12802         (_dl_runtime_profile) Save and restore vrs and fix some issues
12803         if _dl_call_pltexit is called.
12804         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12805         Choose the correct resolver function if running on a machine with vx.
12806         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12807         to create a non-vector/vector version for _dl_runtime_resolve and
12808         _dl_runtime_profile. Move implementation to ...
12809         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12810         (_dl_runtime_resolve) Save and restore fpr/vrs.
12811         (_dl_runtime_profile) Save and restore vrs and fix some issues
12812         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12813         Choose the correct resolver function if running on a machine with vx.
12815 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12817         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12819 2016-03-31  Florian Weimer  <fweimer@redhat.com>
12821         [BZ #19509]
12822         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12823         skip_map != NULL.
12824         * elf/tst-dlsym-error.c: New file.
12825         * elf/Makefile (tests): Add tst-dlsym-error.
12826         (tst-dlsym-error): Link against libdl.
12828 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
12830         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12831         (__ASSUME_FUTIMESAT): Remove macro.
12832         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12834 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12836         [BZ #19879]
12837         CVE-2016-3075
12838         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12839         copy name.
12841 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12843         [BZ #19837]
12844         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12845         error if parse_line fails.
12847 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12849         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12850         (index_cpu_ERMS): Likewise.
12851         (reg_ERMS): Likewise.
12853 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
12855         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12856         PER_LINUX_FDPIC): Add.
12858 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12861         memcpy-avx512-no-vzeroupper.
12862         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12863         to ...
12864         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12865         (MEMCPY): Don't define.
12866         (MEMCPY_CHK): Likewise.
12867         (MEMPCPY): Likewise.
12868         (MEMPCPY_CHK): Likewise.
12869         (MEMPCPY_CHK): Renamed to ...
12870         (__mempcpy_chk_avx512_no_vzeroupper): This.
12871         (MEMPCPY_CHK): Renamed to ...
12872         (__mempcpy_chk_avx512_no_vzeroupper): This.
12873         (MEMCPY_CHK): Renamed to ...
12874         (__memmove_chk_avx512_no_vzeroupper): This.
12875         (MEMCPY): Renamed to ...
12876         (__memmove_avx512_no_vzeroupper): This.
12877         (__memcpy_avx512_no_vzeroupper): New alias.
12878         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12880 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12882         [BZ #18858]
12883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12884         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12885         and mempcpy-avx512-no-vzeroupper.
12886         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12887         New.
12888         (MEMPCPY): Likewise.
12889         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12890         (MEMPCPY_CHK): New.
12891         (MEMPCPY): Likewise.
12892         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12893         (MEMPCPY): Likewise.
12894         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12895         (MEMPCPY): Likewise.
12896         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12897         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12898         Likewise.
12899         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12900         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12902 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12903              Amit Pawar  <Amit.Pawar@amd.com>
12905         [BZ #19583]
12906         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12907         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12908         processors.  Set Fast_Copy_Backward for AMD Excavator
12909         processors.
12910         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12911         New.
12912         (index_arch_Fast_Unaligned_Copy): Likewise.
12913         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12914         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12916 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12918         [BZ #19791]
12919         * resolv/res_send.c (close_and_return_error): New function.
12920         (send_dg): Initialize *resplen2 after reopen failure.  Call
12921         close_and_return_error for error returns.  On error paths without
12922         __res_iclose, initialze *resplen2 explicitly.  Update comment for
12923         successful return.
12925 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12927         [BZ# 19860]
12928         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12929         zero if the compiler does not provide the AVX512F bit.
12931 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
12933         [BZ #19848]
12934         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12935         from 8 to 4.
12936         (__ieee754_powl): Compare integer exponent against 4 not 8.
12937         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12938         from 8 to 4.
12939         (__ieee754_powl): Compare integer exponent against 4 not 8.
12940         * math/auto-libm-test-in: Add more tests of pow.
12941         * math/auto-libm-test-out: Regenerated.
12942         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12945 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12947         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12948         Make code unconditional.
12949         [!__NR_utimensat]: Remove conditional code.
12950         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12951         Make code unconditional.
12952         [!__NR_utimensat]: Remove conditional code.
12953         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12954         Make code unconditional.
12955         [!__NR_utimensat]: Remove conditional code.
12957 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12959         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12960         Make code unconditional.
12962 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
12964         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12965         call-clobbered %eax on retry path.
12966         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12968 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12970         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12971         Don't set %rcx twice before "rep movsb".
12973 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12975         [BZ #19583]
12976         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12977         inline.  Check family before setting family, model and
12978         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
12979         bits here.
12980         (init_cpu_features): Replace HAS_CPU_FEATURE and
12981         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12982         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
12983         for Intel processors with usable AVX2.  Call get_common_indeces
12984         for other processors with family == NULL.
12985         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12986         (CPU_FEATURES_ARCH_P): Likewise.
12987         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12988         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12990 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12992         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12993         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12994         $(shared-thread-library) instead of hardcoding the path to libpthread.
12996 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
12998         * sysdeps/unix/sysv/linux/kernel-features.h
12999         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
13000         * sysdeps/unix/sysv/linux/getdents.c
13001         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13002         [!have_no_getdents64_defined]: Likewise.
13003         (__GETDENTS): Remove __have_no_getdents64 conditional.
13005 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
13007         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
13008         Remove macro.
13009         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
13010         <kernel-features.h>.
13011         (signalfd) [__NR_signalfd4]: Make code unconditional.
13012         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
13014 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13016         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
13017         style.
13019 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13021         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
13022         (__pthread_enable_asynccancel): Use JUMPTARGET to call
13023         __pthread_unwind.
13024         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13025         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
13026         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13027         (__condvar_cleanup1): Likewise.
13029 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
13031         [BZ #19822]
13032         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
13033         move it to the final $@ location.
13035 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13037         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
13038         access where posix_spawn success and pid argument is null.
13039         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
13040         success case.
13042 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
13044         * sysdeps/mach/hurd/i386/c++-types.data: New file.
13046         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
13048         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
13049         and __fcntl.
13050         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
13051         __fcntl only.
13052         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
13053         adding attribute_hidden to __open and __fcntl.
13055         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
13056         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
13057         depend on libc-modules.h,
13058         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
13060 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
13062         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
13063         Remove macro.
13064         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
13065         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
13066         entry.
13068         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
13069         Remove macro.
13070         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
13071         include <kernel-features.h>.
13072         [!__ASSUME_FALLOCATE]: Remove conditional code.
13073         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
13075 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13077         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
13078         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
13079         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
13080         (_ZGVdN4v_cos_avx2): Likewise.
13081         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
13082         (_ZGVdN4v_cos): Likewise.
13083         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
13084         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
13085         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
13086         (_ZGVdN4v_exp_avx2): Likewise.
13087         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
13088         (_ZGVdN4v_exp): Likewise.
13089         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
13090         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
13091         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
13092         (_ZGVdN4v_log_avx2): Likewise.
13093         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
13094         (_ZGVdN4v_log): Likewise.
13095         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
13096         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
13097         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
13098         (_ZGVdN4vv_pow_avx2): Likewise.
13099         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
13100         (_ZGVdN4vv_pow): Likewise.
13101         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
13102         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
13103         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
13104         (_ZGVdN4v_sin_avx2): Likewise.
13105         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
13106         (_ZGVdN4v_sin): Likewise.
13107         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
13108         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
13109         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
13110         (_ZGVdN4vvv_sincos_avx2): Likewise.
13111         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
13112         (_ZGVdN4vvv_sincos): Likewise.
13113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
13114         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
13115         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
13116         (_ZGVbN4v_cosf_sse4): Likewise.
13117         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
13118         (_ZGVdN8v_cosf_avx2): Likewise.
13119         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
13120         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
13121         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
13122         (_ZGVbN4v_expf_sse4): Likewise.
13123         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
13124         (_ZGVdN8v_expf_avx2): Likewise.
13125         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
13126         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
13127         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
13128         (_ZGVbN4v_logf_sse4): Likewise.
13129         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
13130         (_ZGVdN8v_logf_avx2): Likewise.
13131         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
13132         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
13133         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
13134         (_ZGVbN4vv_powf_sse4): Likewise.
13135         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
13136         (_ZGVdN8vv_powf_avx2): Likewise.
13137         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13138         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
13139         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13140         (_ZGVbN4vvv_sincosf_sse4): Likewise.
13141         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13142         (_ZGVdN8vvv_sincosf_avx2): Likewise.
13143         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
13144         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
13145         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13146         (_ZGVbN4v_sinf_sse4): Likewise.
13147         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13148         (_ZGVdN8v_sinf_avx2): Likewise.
13149         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13150         Use JUMPTARGET to call callee.
13151         (WRAPPER_IMPL_SSE2_ff): Likewise.
13152         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13153         (WRAPPER_IMPL_AVX): Likewise.
13154         (WRAPPER_IMPL_AVX_ff): Likewise.
13155         (WRAPPER_IMPL_AVX_fFF): Likewise.
13156         (WRAPPER_IMPL_AVX512): Likewise.
13157         (WRAPPER_IMPL_AVX512_ff): Likewise.
13158         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13159         Likewise.
13160         (WRAPPER_IMPL_SSE2_ff): Likewise.
13161         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13162         (WRAPPER_IMPL_AVX): Likewise.
13163         (WRAPPER_IMPL_AVX_ff): Likewise.
13164         (WRAPPER_IMPL_AVX_fFF): Likewise.
13165         (WRAPPER_IMPL_AVX512): Likewise.
13166         (WRAPPER_IMPL_AVX512_ff): Likewise.
13167         (WRAPPER_IMPL_AVX512_fFF): Likewise.
13169 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13171         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13172         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13173         qualifier.
13174         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13175         internal_function qualifiers.
13177 2016-03-15  Carlos O'Donell <carlos@redhat.com>
13179         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13180         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13181         * math/atest-exp.c (exp_mpn): Mark chk unused.
13182         * math/atest-exp2.c (exp_mpn): Likewise.
13183         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13184         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13186 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
13188         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13189         Remove macro.
13190         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13191         <kernel-features.h>.
13192         [__NR_ppoll]: Make code unconditional.
13193         [!__ASSUME_PPOLL]: Remove conditional code.
13195         * sysdeps/unix/sysv/linux/kernel-features.h
13196         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13197         (__ASSUME_ACCEPT4): Likewise.
13198         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13199         Define.
13200         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13201         Likewise.
13202         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13203         Likewise.
13204         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13205         Likewise.
13206         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13207         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13208         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13209         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13210         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13211         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13212         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13213         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13214         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13215         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13216         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13217         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13218         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13219         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13220         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13221         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13222         Likewise.
13223         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13224         Likewise.
13225         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13226         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13227         0x040300].
13228         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13229         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13230         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13231         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13232         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13233         0x030300].
13234         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13235         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13236         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13237         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13238         0x040300].
13239         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13240         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13241         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13242         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13243         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13244         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13245         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13246         0x030300].
13247         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13248         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13249         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13250         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13251         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13252         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13253         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13254         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13255         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13256         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13257         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13258         0x040300].
13259         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13260         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13261         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13262         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13263         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13264         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13265         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13266         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13267         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13268         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13269         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13270         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13271         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13272         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13273         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13274         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13275         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13276         Likewise.
13277         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13278         Likewise.
13280 2016-03-15  Andreas Schwab  <schwab@suse.de>
13282         [BZ #19257]
13283         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13284         statp->_u._ext.nscount as loop count.
13286 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13288         * math/test-signgam-finite-c99.c: Also #undef
13289         __LIBC_INTERNAL_MATH_INLINES.
13290         * math/test-signgam-main.c: Likewise.
13292 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
13294         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13295         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13296         (MADV_FREE): Likewise.
13297         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13298         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13299         EPOLLEXCLUSIVE.
13301 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
13303         * timezone/README: Remove mention of checktab.awk. Mention wiki
13304         SharedSourceFiles.
13306 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
13308         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13309         WUNTRACED.
13311 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13313         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13314         order to match the type of p when calling atomic_exchange_acq().
13316 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13318         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13319         cfi_offset calls.
13320         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13321         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13322         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13323         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13324         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13326 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
13328         * timezone/checktab.awk: Removed.
13330 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
13332         * manual/math.texi (Errors in Math Functions): Document relaxed
13333         accuracy goals for IBM long double.
13334         * math/libm-test.inc (test_exceptions): Always allow spurious
13335         "underflow" and "inexact" exceptions for IBM long double.
13337 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
13339         [BZ #19762]
13340         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13341         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13342         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13343         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13344         (bit_arch_*): This for feature array.
13345         (bit_*): Renamed to ...
13346         (bit_cpu_*): This for cpu array.
13347         (index_*): Renamed to ...
13348         (index_arch_*): This for feature array.
13349         (index_*): Renamed to ...
13350         (index_cpu_*): This for cpu array.
13351         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13352         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13353         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13354         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13355         bit_##name with index_cpu_##name and bit_cpu_##name.
13356         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13357         bit_##name with index_arch_##name and bit_arch_##name.
13359 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
13361         [BZ #19792]
13362         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13363         Terminate FDE before return label.
13365 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
13367         [BZ #19790]
13368         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13369         (rintl): Define as macro.
13370         [USE_AS_NEARBYINTL] (__rintl): Likewise.
13371         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13372         of fesetround.  Ensure results are evaluated before end of scope.
13373         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13374         USE_AS_NEARBYINTL and include s_rintl.c.
13375         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13376         Disable exception traps in new environment.
13377         (libc_feholdsetround_ppc_ctx): Likewise.
13379 2016-03-08  Roland McGrath  <roland@hack.frob.com>
13381         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13382         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13383         (tst_audit10_aux) [__AVX512F__]: ... here.
13385 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
13387         * include/sys/auxv.h: New file.
13389 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13391         [BZ #19759]
13392         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13394 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13396         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13397         operand modifier.
13398         (feclearexcept): Likewise.
13400 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13402         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13403         to reflect the entire 32-bit HWCAP.
13404         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13405         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
13407 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13409         [BZ #19783]
13410         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13411         $(test-via-rtld-prefix).
13412         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13414 2016-03-08  Florian Weimer  <fweimer@redhat.com>
13416         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13417         union wait.  Report any non-zero exit status as error.
13419 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13421         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13422         configured with --enable-hardcoded-path-in-tests.
13424 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
13426         [BZ #19677]
13427         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13428         (__ieee754_remainderl): Put zero low parts in canonical form.
13429         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13430         file.  Based on
13431         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13432         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13433         with wrapper round test-fmodrem-ldbl-128ibm.c.
13434         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13435         file.
13436         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13437         Likewise.
13438         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13439         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13441 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13443         [BZ #19610]
13444         * elf/ldconfig.c (opt_link): Update comment.
13445         (options): Update help string for option -X.
13446         (search_dir): Unlink stale symbolic link only if updating symbolic
13447         links.
13448         * elf/tst-ldconfig-X.sh: New file.
13449         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13450         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13452 2016-03-07  Andreas Schwab  <schwab@suse.de>
13454         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13455         needed arguments.
13457 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
13459         [BZ #15333]
13460         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13461         to lstat64.
13463 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13465         * libio/filedoalloc.c (isatty): Remove.
13466         (local_isatty): Add comment.  Call __isatty directly.
13467         (_IO_file_doallocate): Update comment.  Assume _LIBC.
13468         * libio/wfiledoalloc.c (isatty): Remove.
13469         (_IO_wfile_doallocate): Update comment.
13471 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13473         [BZ #19269]
13474         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13475         tst-audit4-aux.o.
13476         (tst-audit10): Depend on tst-audit10-aux.o.
13477         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13478         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13479         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13480         instead of inline AVX code.
13481         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13482         instead of inline AVX512 code.
13483         * sysdeps/x86_64/tst-audit4-aux.c: New file
13484         * sysdeps/x86_64/tst-audit10-aux.c: New file
13486         [BZ #19648]
13487         * test-skeleton.c (main): Do not set RLIMIT_DATA.
13489 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13491         [BZ #14750]
13492         [BZ #10354]
13493         [BZ #18433]
13494         * include/sched.h (__clone): Add hidden prototype.
13495         (__clone2): Likewise.
13496         * include/unistd.h (__dup): Likewise.
13497         * posix/Makefile (tests): Add tst-spawn2.
13498         * posix/tst-spawn2.c: New file.
13499         * sysdeps/posix/dup.c (__dup): Add hidden definition.
13500         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13501         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13502         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13503         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13504         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13505         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13506         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13507         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13508         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13509         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13511         Likewise.
13512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13513         Likewise.
13514         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13515         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13516         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13517         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13518         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13519         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13520         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13521         * sysdeps/unix/sysv/linux/nptl-signals.h
13522         (____nptl_is_internal_signal): New function.
13523         * sysdeps/unix/sysv/linux/spawni.c: New file.
13525         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13526         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13527         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13528         * posix/tst-execvp2.c (do_test): Likewise.
13529         * posix/tst-execvp3.c (do_test): Likewise.
13530         * posix/tst-execvp4.c (do_test): Likewise.
13531         * posix/tst-execvpe1.c: New file.
13532         * posix/tst-execvpe2.c: Likewise.
13533         * posix/tst-execvpe3.c: Likewise.
13534         * posix/tst-execvpe4.c: Likewise.
13535         * posix/tst-execvpe5.c: Likewise.
13536         * posix/tst-execvpe6.c: Likewise.
13538         [BZ #19534]
13539         * posix/execl.c (execl): Remove dynamic memory allocation.
13540         * posix/execle.c (execle): Likewise.
13541         * posix/execlp.c (execlp): Likewise.
13543 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13545         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13546         Replace .text with .text.avx512.
13547         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13548         Likewise.
13550 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
13552         * sysdeps/generic/libnsl.abilist: New file.
13553         * sysdeps/generic/libutil.abilist: New file.
13555 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13557         [BZ #19762]
13558         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13559         HAS_ARCH_FEATURE with Fast_Rep_String.
13560         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13561         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13562         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13563         Likewise.
13564         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13565         Likewise.
13566         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13567         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13568         Likewise.
13569         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13570         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13571         Likewise.
13573 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13575         [BZ #19745]
13576         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13577         with *%rax in call.
13579 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13581         [BZ #19745]
13582         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13583         with *__libc_start_main@GOTPCREL(%rip) in call.
13585 2016-03-04  Roland McGrath  <roland@hack.frob.com>
13587         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13588         inside conditional for nonempty $(CXX).
13590         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13591         nonempty.
13593         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13594         to test for empty $(CXX) rather than $(CXX) of "no".
13596 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13598         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13600 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
13601             H.J. Lu  <hongjiu.lu@intel.com>
13603         [BZ #18880]
13604         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13605         instead of Slow_BSF, and also check for Fast_Copy_Backward to
13606         enable __memcpy_ssse3_back.
13608 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13610         [BZ #19758]
13611         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13612         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13614 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13616         [BZ #19490]
13617         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13618         (__fentry__): Likewise.
13620 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13622         * gmon/Makefile (noprof): Add $(sysdep_noprof).
13623         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13625 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13627         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13628         __mcount_internal directly.
13629         (C_LABEL(__fentry__)): Likewise.
13630         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13631         directly.
13633 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13635         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13636         (__start_context): Call __setcontext directly.
13638 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
13640         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13641         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13642         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13643         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13644         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13645         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13646         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13647         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13648         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13649         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13650         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13651         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13652         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13653         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13654         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13655         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13656         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13658         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13659         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13660         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13661         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13662         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13663         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13664         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13665         Remove conditional code.
13666         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13667         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13668         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13669         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13670         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13671         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13672         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13673         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13674         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13675         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13676         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13677         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13679 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
13681         * NEWS (2.23): Fix typo in bug 19048 text.
13683 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
13685         [BZ #14259]
13686         * Makeconfig: Rename msgcatdir to localedir.
13687         Rename inst_msgcatdir to inst_localedir.
13688         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13689         * config.make.in: Add localedir.
13690         * elf/Makefile ($(objpfx)sotruss): Use localedir.
13691         (ldd-rewrite): Likewise.
13692         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13693         (install-others): Use inst_localedir.
13694         (CPPFLAGS): Use localedir.
13695         * locale/Makefile (locale-CPPFLAGS): Likewise.
13696         * po/Makefile (mo-installed): Use inst_localedir.
13698         [BZ #19575]
13699         * localedata/charmaps/GB18030: Update comments regarding PAU to
13700         non-PUA mappings.
13702 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
13704         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13705         test for header.
13706         * sysdeps/unix/sysv/linux/configure: Regenerated.
13707         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13708         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13709         Remove conditional code.
13710         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13712         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13713         Define to 3.2.0.
13714         (arch_minimum_kernel): Likewise.
13715         * sysdeps/unix/sysv/linux/configure: Regenerated.
13716         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13717         Define to 2.6.32.
13718         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13719         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13720         (arch_minimum_kernel): Define to 2.6.32.
13721         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13722         * README: Document Linux 3.2 requirement.
13723         * manual/install.texi (Linux): Document Linux 3.2 headers
13724         requirement.
13725         * INSTALL: Regenerated.
13727 2016-02-24  Andreas Schwab  <schwab@suse.de>
13729         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13730         if !NO_LONG_DOUBLE.
13732 2016-02-22  Roland McGrath  <roland@hack.frob.com>
13734         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13735         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13737 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
13739         [BZ #19512]
13740         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13742 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13744         * posix/tst-dir.c: Include libc-internal.h.
13746 2016-02-20  Florian Weimer  <fweimer@redhat.com>
13748         [BZ #19056]
13749         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13750         * manual/filesys.texi (Reading/Closing Directory): Mention
13751         deprecaion.
13752         * posix/tst-dir.c (main): Disable deprecation warning in test.
13754 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
13756         [BZ #19679]
13757         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13758         Renamed to ...
13759         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
13760         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13761         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
13762         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13763         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13764         * sysdeps/x86_64/dl-trampoline.h
13765         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13766         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13768 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13770         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13772 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13774         * elf/elf.h (R_386_GOT32X): New.
13775         (R_386_NUM): Update.
13776         (R_X86_64_GOTPCRELX: New.
13777         (R_X86_64_REX_GOTPCRELX): New.
13778         (R_X86_64_NUM): Update.
13780 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
13782         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13784 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
13786         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13787         assign attr->stackaddr to it, and adjust it down when
13788         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
13789         [_STACK_GROWS_UP]: Delete assert.
13790         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13791         Implement stack grows up logic.
13792         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13793         stack grows up logic.
13795 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13797         * NEWS: Update with 2.24 template.
13799 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13801         [BZ #19678]
13802         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13803         Ensure +0.0 is returned when taking the next value below the least
13804         positive value.
13806 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13808         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13809         available.  Do not define NO_THREADS.
13810         * malloc/malloc.c: Do not check NO_THREADS.
13811         * malloc/arena.c: Likewise.
13813 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13815         * malloc/malloc.c (__libc_mallinfo): Update comment.
13816         (struct malloc_par): Remove max_total_mem member, it was always 0.
13817         (int_mallinfo): Store 0 into usmblks (no functional change).
13818         * malloc/hooks.c (struct malloc_state): Document that
13819         max_total_mem is always 0.
13820         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13821         always 0.
13822         * manual/memory.texi (Statistics of Malloc): Likewise.
13824 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13826         * malloc/malloc.c (sysmalloc): Do not update arena_max.
13827         * malloc/arena.c (arena_max): Remove.
13828         (heap_trim, _int_new_arena): Do not update arena_max.
13830 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13832         * resolv/res_init.c (res_ninit): Update comment.
13834 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13836         [BZ #19505]
13837         * posix/spawn_int.h: Add headers and include guard.
13838         (__spawn_valid_fd): New function.
13839         * posix/spawn_faction_addopen.c
13840         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13841         * posix/spawn_faction_addclose.c
13842         (posix_spawn_file_actions_addclose): Likewise.
13843         * posix/spawn_faction_adddup2.c
13844         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
13845         second file descriptor.
13846         * posix/spawn_valid_fd.c: New file.
13847         * posix/tst-posix_spawn-fd.c: New file.
13848         * posix/Makefile (routines): Add spawn_valid_fd.
13849         (tests): Add tst-posix_spawn-fd.
13851 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13853         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13854         (do_test): Limit the number of arenas, so that we can use fewer
13855         outer threads.  Limit timeout to 3 seconds, in preparation for a
13856         larger TIMEOUT value.
13858 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13860         [BZ #19674]
13861         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13862         sign in overflowing and underflowing results when overflow or
13863         underflow is detected early.  Include sign in result before rather
13864         than after scaling.
13866         [BZ #19603]
13867         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13868         (__ieee754_remainderl): Adjust sign of integer version of low part
13869         when taking absolute value of high part.
13870         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13871         * math/libm-test.inc (remainder_test_data): Add another test.
13872         (remquo_test_data): Likewise.
13874 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
13876         [BZ #19602]
13877         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13878         equal high parts and both low parts zero specially.
13879         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13880         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13881         Add test-fmodl-ldbl-128ibm.
13883         [BZ #19595]
13884         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13885         common logic for all cases of shifting subnormal results.  Do not
13886         insert sign bit in shifted mantissa.  Always pass -1023 as biased
13887         exponent to ldbl_insert_mantissa in subnormal case.
13889         [BZ #19594]
13890         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13891         on high and low parts then adjust result and use
13892         ldbl_canonicalize_int if needed.
13894         [BZ #19593]
13895         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13896         on high part and __floor or __ceil on low part then use
13897         ldbl_canonicalize_int if needed.
13899         [BZ #19592]
13900         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13901         high and low parts then use ldbl_canonicalize_int if needed.
13903         [BZ #17899]
13904         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13905         New function.
13906         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13907         on high and low parts then use ldbl_canonicalize_int if needed.
13909 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13911         * configure: Regenerated.
13913         * po/libc.pot: Regenerated.
13915         * po/be.po: Updated translation.
13916         * po/bg.po: Likewise.
13917         * po/ca.po: Likewise.
13918         * po/cs.po: Likewise.
13919         * po/da.po: Likewise.
13920         * po/el.po: Likewise.
13921         * po/eo.po: Likewise.
13922         * po/es.po: Likewise.
13923         * po/fi.po: Likewise.
13924         * po/fr.po: Likewise.
13925         * po/gl.po: Likewise.
13926         * po/hr.po: Likewise.
13927         * po/hu.po: Likewise.
13928         * po/ia.po: Likewise.
13929         * po/id.po: Likewise.
13930         * po/it.po: Likewise.
13931         * po/ja.po: Likewise.
13932         * po/lt.po: Likewise.
13933         * po/nb.po: Likewise.
13934         * po/nl.po: Likewise.
13935         * po/pt_BR.po: Likewise.
13936         * po/rw.po: Likewise.
13937         * po/sk.po: Likewise.
13938         * po/sl.po: Likewise.
13939         * po/sv.po: Likewise.
13940         * po/tr.po: Likewise.
13941         * po/zh_CN.po: Likewise.
13942         * po/zh_TW.po: Likewise.
13944         * version.h (RELEAES): Set to "development".
13945         (VERSION): Set to 2.23.90.
13947         * version.h (RELEASE): Set to "stable".
13948         (VERSION): Set to 2.23.
13949         * include/feature.h (__GLIBC_MINOR__): Set to 23.
13951         * NEWS: Updated fixed bugs.
13953 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
13954             Wilco Dijkstra  <wdijkstr@arm.com>
13956         [BZ #19462]
13957         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13958         (_STRING_INLINE_unaligned): This.
13959         * include/string.h: Include <string_private.h>.
13960         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13961         _STRING_INLINE_unaligned.
13962         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13963         (_STRING_INLINE_unaligned): New.
13964         * sysdeps/aarch64/string_private.h: New file.
13965         * sysdeps/generic/string_private.h: Likewise.
13966         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13967         * sysdeps/s390/string_private.h: Likewise.
13968         * sysdeps/x86/string_private.h: Likewise.
13969         * sysdeps/m68k/m680x0/m68020/bits/string.h
13970         (_STRING_ARCH_unaligned): Renamed to ...
13971         (_STRING_INLINE_unaligned): This.
13972         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13973         to ...
13974         (_STRING_INLINE_unaligned): This.
13975         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13976         to ...
13977         (_STRING_INLINE_unaligned): This.
13978         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13979         to ...
13980         (_STRING_INLINE_unaligned): This.
13982 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13983             H.J. Lu  <hongjiu.lu@intel.com>
13985         [BZ #19590]
13986         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13987         relocation.
13989 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
13991         [BZ #18665]
13992         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13993         *herrno_p.
13994         (gaih_getanswer): Document functional behviour. Return tryagain
13995         if any result is tryagain.
13996         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13997         when freed.
13998         * resolv/res_send.c: Add copyright text.
13999         (__libc_res_nsend): Document that MAXPACKET is expected.
14000         (send_vc): Document. Remove buffer reuse.
14001         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
14002         size of the buffer. Add Dprint for truncated UDP buffer.
14004 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
14006         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
14007         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
14008         * INSTALL: Regenerate.
14010 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
14011             Jonathan Wakely  <jwakely@redhat.com>
14012             Carlos O'Donell  <carlos@redhat.com>
14014         [BZ 19439]
14015         * math/Makefile (tests): Add test-math-isinff.
14016         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
14017         * math/bits/mathcalls.h [__USE_MISC]: Use
14018         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
14019         functions not in C++11 and which don't conflict e.g. isinff,
14020         isinfl etc.
14021         * math/test-math-isinff.cc: New file.
14023 2016-02-12  Florian Weimer  <fweimer@redhat.com>
14025         * misc/bug18240.c (do_test): Set RLIMIT_AS.
14027 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14029         [BZ #19529]
14030         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
14032 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14034         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14036 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
14038         [BZ #19550]
14039         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
14040         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
14041         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
14042         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
14043         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
14044         New syscall entry.
14045         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
14046         New syscall entry.
14047         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
14048         syscall entry.
14050 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
14052         [BZ #18240]
14053         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
14054         unsigned int wraparound.
14056 2016-01-27  Florian Weimer  <fweimer@redhat.com>
14058         [BZ #18240]
14059         * misc/bug18240.c: New test.
14060         * misc/Makefile (tests): Add it.
14062 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
14063             Joseph Myers  <joseph@codesourcery.com>
14065         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
14066         load in branch delay slot when less than a word of input left.
14068 2016-01-27  Andreas Schwab  <schwab@suse.de>
14070         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
14071         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
14072         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
14073         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
14075 2016-01-26  David S. Miller  <davem@davemloft.net>
14077         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
14079 2016-01-25  David S. Miller  <davem@davemloft.net>
14081         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
14082         __sqrtl_finite.
14083         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
14084         instead using versioned_symbol.
14085         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
14086         of entries.
14088         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
14089         __sqrtl_finite to GLIBC_2.23
14091 2016-01-25  Ricchard Henderson  <rth@redhat.com>
14093         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14095 2016-01-25  Andreas Schwab  <schwab@suse.de>
14097         [BZ #17514]
14098         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
14099         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
14100         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
14101         * nptl/tst-mutex-errorcheck.c: New file.
14103 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14105         [BZ #18560]
14106         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
14107         (IPCOP_semop): Likewise.
14108         (IPCOP_semget): Likewise.
14109         (IPCOP_semctl): Likewise.
14110         (IPCOP_msgsnd): Likewise.
14111         (IPCOP_msgrcv): Likewise.
14112         (IPCOP_msgget): Likewise.
14113         (IPCOP_msgctl): Likewise.
14114         (IPCOP_shmat): Likewise.
14115         (IPCOP_shmdt): Likewise.
14116         (IPCOP_shmget): Likewise.
14117         (IPCOP_shmctl): Likewise.
14119 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
14121         * string/tst-endian.c: Include <libc-internal.h>.
14122         (do_test): Ignore tautological-compare warnings around
14123         "htobeXX (beXXtoh (i)) != i" and
14124         "htoleXX (leXXtoh (i)) != i" if-statements.
14126 2016-01-24  David S. Miller  <davem@davemloft.net>
14128         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
14129         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
14130         alias.
14131         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14132         __sqrtl_finite.
14134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14136 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
14138         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
14139         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
14140         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14142 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14144         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
14145         (thread_func): Use new function to simplify barrier check.
14146         (do_test): Use new function to simplify checking barrier exit
14147         code, and actually join the child thread.
14149 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14151         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14152         semicolon.
14153         (__libc_tend): Likewise.
14154         (__libc_tabort): Likewise.
14156 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
14158         * sysdeps/nios2/libm-test-ulps: Update.
14159         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14160         (__gtsf2): Likewise.
14161         (__unorddf2): Likewise.
14162         (__unordsf2): Likewise.
14163         (__ledf2): Likewise.
14165 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
14167         * nis/nis_table.c (__follow_path): Disable diagnostic for
14168         uninitialized variable that is a false positive for gcc 4.7.
14169         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14171 2016-01-20  Roland McGrath  <roland@hack.frob.com>
14173         * sysdeps/nacl/lowlevellock-futex.h
14174         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14175         Always evaluate PRIVATE argument.
14177 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
14179         [BZ #19490]
14180         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14181         (pthread_cond_broadcast): Use ENTRY/END
14182         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14183         (pthread_cond_signal): Likewise.
14184         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14185         Likewise.
14186         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14187         Likewise.
14188         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14189         Likewise.
14191 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
14193         * sysdeps/ieee754/dbl-64/s_finite.c
14194         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14195         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14196         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14197         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14198         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14201         (__gtsf2): Add as optional for libc.so.
14202         (__unordsf2): Likewise.
14203         (__signbit): Remove for libc.so.
14204         (__signbitl): Likewise.
14206 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14208         * iconvdata/bug-iconv11.c (test_ibm93x):
14209         Use %zu printf format specifier for size_t argument.
14211 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
14213         * math/gen-libm-test.pl (parse_ulps): Do not reduce
14214         already-recorded ulps.
14215         * sysdeps/arm/libm-test-ulps: Regenerated.
14216         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14217         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14218         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14220 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14221             Paul Pluzhnikov  <ppluzhnikov@google.com>
14223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14224         assembler not supporting AVX-512.
14226 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14228         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14230 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
14232         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14233         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14235         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14237         * sysdeps/arm/libm-test-ulps: Regenerated.
14239 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14241         [BZ #19451]
14242         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14244 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14246         [BZ #19486]
14247         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14248         * sysdeps/generic/fix-fp-int-convert-overflow.h
14249         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14250         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14251         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14252         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14253         Likewise.
14254         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14255         Avoid conversions to long int where inexact exceptions
14256         could be raised.
14257         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14258         Likewise.
14259         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14260         Avoid conversions to long long int where inexact exceptions
14261         could be raised.
14262         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14263         Likewise.
14265 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
14267         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14268         * configure: Regenerated.
14270 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14272         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14274 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
14276         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14277         outside of comment.
14279 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14281         * nptl/tst-barrier1.c: Add description on first line.
14282         * nptl/tst-barrier2.c: Likewise.
14283         * nptl/tst-barrier3.c: Likewise.
14284         * nptl/tst-barrier4.c: Likewise.
14285         * nptl/tst-barrier5.c: Likewise.
14287 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14289         [BZ #18868]
14290         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14292 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14295         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14296         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14297         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14298         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14299         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14300         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14301         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14302         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14303         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14304         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14306 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14308         [BZ #13065]
14309         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14310         new implementation.
14311         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14312         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14313         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14314         (BARRIER_IN_THRESHOLD): New macro.
14315         * nptl/pthread_barrierattr_setpshared.c
14316         (pthread_barrierattr_setpshared): Clean up.
14317         * nptl/tst-barrier4.c: Correct comment.
14318         * nptl/tst-barrier5.c: New file.
14319         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14320         (gen-as-const-headers): Remove lowlevelbarrier.sym.
14321         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14322         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14323         * nptl/lowlevelbarrier.sym: Remove.
14324         * nptl/DESIGN-barrier.txt: Remove.
14325         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14326         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14327         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14328         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14329         error.
14330         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14331         implementation.
14333 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14335         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14336         (do_child): Mask SIGRTMIN while thr is running.
14338 2016-01-15  Martin Sebor  <msebor@redhat.com>
14340         [BZ #19432]
14341         * iconvdata/Makefile: Add bug-iconv11.
14342         * iconvdata/bug-iconv11.c: New test.
14343         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14344         * iconvdata/ibm933.c: Same.
14345         * iconvdata/ibm935.c: Same.
14346         * iconvdata/ibm937.c: Same.
14347         * iconvdata/ibm939.c: Same.
14349 2016-01-15  Martin Sebor  <msebor@redhat.com>
14351         [BZ #19443]
14352         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14353         [DEBUG] (_ufc_set_bits): Declare used.
14354         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14355         [DEBUG] (print_all): Declare used.
14356         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14357         operands of the ternary ?: expression to target type.
14358         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14359         calling the undeclared abort.
14360         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14362 2016-01-15  Martin Sebor  <msebor@redhat.com>
14364         [BZ #18755]
14365         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14366         warnings.
14367         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14368         (__gai_create_helper_thread): Same.
14369         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14370         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14371         to suppress -Wmaybe-uninitialized warnings.
14373 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
14375         [BZ #19465]
14376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14377         inside if.
14378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14379         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14380         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14382 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
14384         [BZ #19466]
14385         * time/tst-mktime2.c (time_t_max): Removed.
14386         (time_t_min): Likewise.
14387         (TYPE_SIGNED): New.
14388         (TYPE_MINIMUM): Likewise.
14389         (TYPE_MAXIMUM): Likewise.
14390         (TIME_T_MIN): Likewise.
14391         (TIME_T_MAX): Likewise.
14392         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14393         and TIME_T_MIN.
14394         (do_test): Likewise.
14396 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
14398         [BZ #19467]
14399         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14400         index_Fast_Unaligned_Load flag for Excavator family CPUs.
14402 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
14404         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14406 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
14408         * benchtests/Makefile (PYTHON): Define.
14409         (bench-func): Use $(PYTHON) to run python scripts.
14410         ($(objpfx)bench-%.c): Likewise.
14412 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
14414         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14415         leading slash when `file_name' is "/".
14417 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
14419         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14420         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14421         Likewise.
14422         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14423         Likewise.
14424         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14425         Likewise.
14426         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14427         enum constant and macro.
14428         (PTRACE_SETSIGMASK): Likewise.
14429         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14430         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14431         (PTRACE_GETSIGMASK): Likewise.
14432         (PTRACE_SETSIGMASK): Likewise.
14433         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14434         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14435         Likewise.
14436         (PTRACE_SETSIGMASK): Likewise.
14437         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14438         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14439         (PTRACE_GETSIGMASK): Likewise.
14440         (PTRACE_SETSIGMASK): Likewise.
14441         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14442         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14443         Likewise.
14444         (PTRACE_SETSIGMASK): Likewise.
14445         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14446         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14447         Likewise.
14448         (PTRACE_SETSIGMASK): Likewise.
14449         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14450         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14451         Likewise.
14452         (PTRACE_SETSIGMASK): Likewise.
14453         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14455 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
14456             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14458         [BZ #19439]
14459         * math/bits/mathcalls.h
14460         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14461         prototype.
14462         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14464 2016-01-11  Andreas Schwab  <schwab@suse.de>
14466         [BZ #19253]
14467         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14468         cache when TZDEFRULES was used.
14469         * time/tst-tzname.c: New file.
14470         * time/Makefile (test): Add tst-tzname.
14471         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14472         * timezone/Makefile (test-zones): Add $(posixrules-file).
14473         ($(testdata)/$(posixrules-file)): New rule.
14475 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
14477         Fix doc quoting problems with Texinfo 5
14478         Without this change, in the info file output, Texinfo 5 quotes code
14479         in text with undirected single quotes 'like this' and generates
14480         code examples that with many PDF readers cannot be cut out of PDFs
14481         and pasted into code.
14482         * manual/libc.texinfo: Configure the libc manual like the GNU
14483         Emacs manual, by using @documentencoding and setting
14484         txicodequoteundirected and txicodequotebacktick.  This way,
14485         Texinfo 5 quotes code in text with directed single quotes ‘like
14486         this’ and produces examples that can be cut out of PDFs.  This
14487         change causes Texinfo 5 to generate info files that contain UTF-8
14488         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14489         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14491 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14493         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14494         __libc_tabort, __libc_tend): New wrappers that enforce compiler
14495         barriers to their respective compiler built-ins.
14496         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14497         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14498         * sysdeps/powerpc/sysdep.h: Likewise.
14499         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14500         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14501         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14503 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
14505         * scripts/config.guess: Revert previous shebang change.
14506         * scripts/config.sub: Likewise.
14507         * scripts/mkinstalldirs: Likewise.
14509 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14511         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14512         PPC_FEATURE2_HAS_IEEE128.
14513         * sysdeps/powerpc/dl-procinfo.c:
14514         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14516 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
14518         [BZ #19415]
14519         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14520         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
14521         (_dl_lookup_address): Rewrite using function resolver trampoline.
14522         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14523         two bits in address.
14525 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14527         * longlong.h: Change !__SHMEDIA__ to
14528         (!defined (__SHMEDIA__) || !__SHMEDIA__).
14529         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14531 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
14532             Joseph Myers  <joseph@codesourcery.com>
14533             Mark Shinwell  <shinwell@codesourcery.com>
14534             Andrew Stubbs  <ams@codesourcery.com>
14535             Rich Felker <dalias@libc.org>
14537         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14539 2016-01-07  Richard Henderson  <rth@redhat.com>
14541         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14543 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14545         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14546         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14547         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14548         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14549         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14551 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
14552             Joseph Myers  <joseph@codesourcery.com>
14554         * timezone/private.h: Update from tzcode 2015g.
14555         * timezone/tzfile.h: Likewise.
14556         * timezone/tzselect.ksh: Likewise.
14557         * timezone/zdump.c: Likewise.
14558         * timezone/zic.c: Likewise.
14559         * timezone/ialloc.c: Remove file.
14560         * timezone/scheck.c: Likewise.
14561         * timezone/Makefile (extra-objs): Remove variable.
14562         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14563         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14564         -Wno-maybe-uninitialized.
14565         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14566         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14567         (CFLAGS-ialloc.c): Remove variable.
14568         (CFLAGS-scheck.c): Likewise.
14569         * timezone/README: Update list of files from tzcode.
14571 2016-01-07  Khem Raj  <raj.khem@gmail.com>
14573         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14574         instead of __fxprintf when _LIBC is undefined.
14576 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
14578         * catgets/test-gencat.sh: Remove space after shebang.
14579         * conform/GlibcConform.pm: Likewise.
14580         * conform/check-header-lists.sh: Likewise.
14581         * conform/conformtest.pl: Likewise.
14582         * conform/linknamespace.pl: Likewise.
14583         * conform/list-header-symbols.pl: Likewise.
14584         * debug/catchsegv.sh: Likewise.
14585         * elf/genrtldtbl.awk: Likewise.
14586         * elf/tst-pathopt.sh: Likewise.
14587         * elf/tst-rtld-load-self.sh: Likewise.
14588         * grp/tst_fgetgrent.sh: Likewise.
14589         * iconvdata/gen-8bit-gap-1.sh: Likewise.
14590         * iconvdata/gen-8bit-gap.sh: Likewise.
14591         * iconvdata/gen-8bit.sh: Likewise.
14592         * iconvdata/run-iconv-test.sh: Likewise.
14593         * intl/tst-gettext.sh: Likewise.
14594         * intl/tst-gettext2.sh: Likewise.
14595         * intl/tst-gettext4.sh: Likewise.
14596         * intl/tst-gettext6.sh: Likewise.
14597         * intl/tst-translit.sh: Likewise.
14598         * io/ftwtest-sh: Likewise.
14599         * libio/test-freopen.sh: Likewise.
14600         * locale/gen-translit.pl: Likewise.
14601         * malloc/tst-mtrace.sh: Likewise.
14602         * manual/check-safety.sh: Likewise.
14603         * manual/libc-texinfo.sh: Likewise.
14604         * manual/tsort.awk: Likewise.
14605         * manual/xtract-typefun.awk: Likewise.
14606         * nptl/tst-cancel-wrappers.sh: Likewise.
14607         * nptl/tst-tls6.sh: Likewise.
14608         * posix/globtest.sh: Likewise.
14609         * posix/tst-getconf.sh: Likewise.
14610         * posix/wordexp-tst.sh: Likewise.
14611         * scripts/check-c++-types.sh: Likewise.
14612         * scripts/check-local-headers.sh: Likewise.
14613         * scripts/config.guess: Likewise.
14614         * scripts/config.sub: Likewise.
14615         * scripts/cpp: Likewise.
14616         * scripts/cross-test-ssh.sh: Likewise.
14617         * scripts/documented.sh: Likewise.
14618         * scripts/evaluate-test.sh: Likewise.
14619         * scripts/gen-libc-abis: Likewise.
14620         * scripts/gen-sorted.awk: Likewise.
14621         * scripts/list-fixed-bugs.py: Likewise.
14622         * scripts/merge-test-results.sh: Likewise.
14623         * scripts/mkinstalldirs: Likewise.
14624         * scripts/rellns-sh: Likewise.
14625         * scripts/test-installation.pl: Likewise.
14626         * scripts/update-copyrights: Likewise.
14627         * stdio-common/tst-printf.sh: Likewise.
14628         * stdio-common/tst-unbputc.sh: Likewise.
14629         * stdlib/tst-fmtmsg.sh: Likewise.
14630         * stdlib/tst-setcontext3.sh: Likewise.
14631         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14632         * sysdeps/unix/make-syscalls.sh: Likewise.
14634 2016-01-06  John David Anglin  <dave.anglin@bell.net>
14636         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14637         asm stw with atomic_exchange_rel.  Add explanatory comment.
14638         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14639         Likewise.
14641 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14643         [BZ #19122]
14644         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14645         * sysdeps/generic/dl-unistd.h: New file.
14646         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14648 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14650          [BZ #19122]
14651          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14652          * sysdeps/generic/dl-mman.h: New file.
14653          * sysdeps/mach/hurd/dl-mman.h: Likewise.
14655 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
14657         * manual/texinfo.tex: Update to version 2016-01-04.21 with
14658         trailing whitespace removed.
14659         * scripts/config.guess: Update to version 2016-01-01.
14660         * scripts/config.sub: Update to version 2016-01-01.
14661         * scripts/move-if-change: Update from gnulib.
14663 2016-01-04  Anton Blanchard  <anton@samba.org>
14665         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14666         for array indices.
14667         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14669 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
14671         * NEWS: Update copyright dates.
14672         * catgets/gencat.c (print_version): Likewise.
14673         * csu/version.c (banner): Likewise.
14674         * debug/catchsegv.sh: Likewise.
14675         * debug/pcprofiledump.c (print_version): Likewise.
14676         * debug/xtrace.sh (do_version): Likewise.
14677         * elf/ldconfig.c (print_version): Likewise.
14678         * elf/ldd.bash.in: Likewise.
14679         * elf/pldd.c (print_version): Likewise.
14680         * elf/sotruss.sh: Likewise.
14681         * elf/sprof.c (print_version): Likewise.
14682         * iconv/iconv_prog.c (print_version): Likewise.
14683         * iconv/iconvconfig.c (print_version): Likewise.
14684         * locale/programs/locale.c (print_version): Likewise.
14685         * locale/programs/localedef.c (print_version): Likewise.
14686         * login/programs/pt_chown.c (print_version): Likewise.
14687         * malloc/memusage.sh (do_version): Likewise.
14688         * malloc/memusagestat.c (print_version): Likewise.
14689         * malloc/mtrace.pl: Likewise.
14690         * manual/libc.texinfo: Likewise.
14691         * nptl/version.c (banner): Likewise.
14692         * nscd/nscd.c (print_version): Likewise.
14693         * nss/getent.c (print_version): Likewise.
14694         * nss/makedb.c (print_version): Likewise.
14695         * posix/getconf.c (main): Likewise.
14696         * scripts/test-installation.pl: Likewise.
14697         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14699         * All files with FSF copyright notices: Update copyright dates
14700         using scripts/update-copyrights.
14701         * intl/plural.c: Regenerated.
14702         * locale/programs/charmap-kw.h: Likewise.
14703         * locale/programs/locfile-kw.h: Likewise.
14705 2016-01-02  Helge Deller  <deller@gmx.de>
14707         [BZ #19285]
14708         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14709         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14710         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14711         (MADV_xxK_PAGES): Remove.
14713 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
14715         [BZ #15421]
14716         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14717         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
14718         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14719         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14721 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
14723         [BZ #19408]
14724         * sysdeps/unix/sysv/linux/personality.c: New file.
14725         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14726         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14727         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14728         (sysdep_routines): Add personality.
14729         (tests): Add tst-personality.
14730         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14731         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14732         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14733         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14734         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14735         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14736         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14737         Likewise.
14738         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14739         Likewise.
14740         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14741         Likewise.
14742         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14743         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14744         Likewise.
14746 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
14748         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14749         (PATH_ARM_SYSTYPE): Remove.
14750         (PATH_CPUINFO): Likewise.
14751         (IO_BASE_FOOTBRIDGE): Likewise.
14752         (IO_SHIFT_FOOTBRIDGE): Likewise.
14753         (struct platform): Likewise.
14754         (init_iosys): Remove compatibility code for 2.4 kernels.
14755         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14757 2015-12-29  Florian Weimer  <fweimer@redhat.com>
14759         * malloc/tst-malloc-thread-fail.c: New file.
14760         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14761         (tst-malloc-thread-fail): Link against libpthread.
14763 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
14765         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
14766         (get_parser): New function.
14767         (main): New function.
14769 2015-12-29  Rob Wu  <rob@robwu.nl>
14771         [BZ #19369]
14772         * resolv/res_init.c (__res_vinit): Reset defdname before use.
14774 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
14776         [BZ #19270]
14777         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14779 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
14781         [BZ #15421]
14782         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14784 2015-12-23  Torvald Riegel  <triegel@redhat.com>
14786         [BZ #13690]
14787         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14788         after releasing it.
14789         (__lll_robust_unlock): Likewise.
14790         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14791         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14792         (lll_robust_unlock): Likewise.
14793         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14794         Prevent warnings in callers.
14796 2015-12-23  Florian Weimer  <fweimer@redhat.com>
14798         * malloc/arena.c (list_lock): Update comment.
14800 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14802         * sysdeps/powerpc/hwcapinfo.c: Export symbol
14803         __parse_hwcap_and_convert_at_platform to libc.a.
14805 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14807         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14808         platform and feature support for POWER9.
14809         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14810         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14811         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14812         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14813         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14814         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14815         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14816         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14818 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14820         Harmonize generic stdio-lock support with nptl
14822         This fixes build when _IO_funlockfile is a macro, fixes build where
14823         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14824         stack unwind.
14826         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14827         _IO_release_lock ): Use cleanup attribute on new
14828         _IO_acquire_lock_file variable instead of assuming that
14829         _IO_release_lock will be called.
14830         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14831         _IO_acquire_lock_needs_exceptions_enabled.
14832         (_IO_acquire_lock_clear_flags2): New macro.
14834 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14836         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14838 2015-12-21  Florian Weimer  <fweimer@redhat.com>
14840         [BZ #19182]
14841         * malloc/arena.c (list_lock): Document lock ordering requirements.
14842         (free_list_lock): New lock.
14843         (ptmalloc_lock_all): Comment on free_list_lock.
14844         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14845         (detach_arena): Update comment.  free_list_lock is now needed.
14846         (_int_new_arena): Use free_list_lock around detach_arena call.
14847         Acquire arena lock after list_lock.  Add comment, including FIXME
14848         about incorrect synchronization.
14849         (get_free_list): Switch to free_list_lock.
14850         (reused_arena): Acquire free_list_lock around detach_arena call
14851         and attached threads counter update.  Add two FIXMEs about
14852         incorrect synchronization.
14853         (arena_thread_freeres): Switch to free_list_lock.
14854         * malloc/malloc.c (struct malloc_state): Update comments to
14855         mention free_list_lock.
14857 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14859         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14860         Remove functions.
14861         (sloww, sloww1): Accept argument to offset quadrant.
14862         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14863         quadrant.
14864         (__sin, __cos): Consolidate common code into new functions.
14865         (reduce_sincos_1, do_sincos_1): New functions.
14866         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14868         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14869         code to new functions.
14870         (reduce_sincos_2, do_sincos_2): New functions.
14871         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14873         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14874         common code for sincos.
14875         (__cos) [!IN_SINCOS]: Likewise.
14876         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14877         New function.
14878         (__sincos): Use it.
14880 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
14882         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14883         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14884         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14886 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14888         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14890         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14891         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14892         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14893         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14894         index_Prefer_No_VZEROUPPER): New feature.
14895         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14896         Prefer_No_VZEROUPPER for Knights Landing.
14898 015-12-18  Torvald Riegel  <triegel@redhat.com>
14900         * math/atest-exp2.c (mp_exp_m1): Remove.
14902 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14904         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14905         syscalls.
14906         (__SYSCALL0): New macro.
14907         (__SYSCALL1): Likewise.
14908         (__SYSCALL2): Likewise.
14909         (__SYSCALL3): Likewise.
14910         (__SYSCALL4): Likewise.
14911         (__SYSCALL5): Likewise.
14912         (__SYSCALL6): Likewise.
14913         (__SYSCALL_CONCAT_X): Likewise.
14914         (__SYSCALL_CONCAT): Likewise.
14915         (__SYSCALL_DIST): Likewise.
14916         (__SYSCALL_CALL): Likewise.
14918 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
14920         [BZ #19363]
14921         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14923 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14925         [BZ #19375]
14926         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14927         negative subnormals.
14929 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
14931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14932         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14933         (INTERNAL_SYSCALL_NCS): Use it.
14934         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14936 2015-12-16  Florian Weimer  <fweimer@redhat.com>
14938         [BZ #19243]
14939         * malloc/arena.c (get_free_list): Remove assert and adjust
14940         reference count handling.  Add comment about reused_arena
14941         interaction.
14942         (reused_arena): Add comments abount get_free_list interaction.
14943         * malloc/tst-malloc-thread-exit.c: New file.
14944         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14945         (tst-malloc-thread-exit): Link against libpthread.
14947 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14949         [BZ #19367]
14950         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14951         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14952         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14953         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14954         (index_Prefer_MAP_32BIT_EXEC): Likewise.
14956 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14958         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14959         Silvermont optimizations for Knights Landing.
14961 2015-12-15  Andreas Schwab  <schwab@suse.de>
14963         [BZ #17197]
14964         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14965         immediately after emitting SI.
14966         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14967         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14968         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14969         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14970         * iconvdata/bug-iconv10.c: New file.
14971         * iconvdata/Makefile (tests): Add bug-iconv10.
14972         ($(objpfx)bug-iconv10.out): New rule.
14974 2015-12-15  Florian Weimer  <fweimer@redhat.com>
14976         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14977         aliasing violation.
14979 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
14981         [BZ #18472]
14982         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14983         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14984         conditionals for them.
14985         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14986         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14988         sys/kdaemon.h.
14989         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14990         compat-only syscall, obsoleted in glibc 2.23.
14991         (create_module): Likewise.
14992         (get_kernel_syms): Likewise.
14993         (query_module): Likewise.
14994         (uselib): Likewise.
14995         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14997 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
14999         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
15000         <linux/version.h>.
15001         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
15002         conditional code.
15003         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
15004         and ioshift_name initialization.
15006 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15008         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15009         Fix indentation.
15011 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15013         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
15015 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15017         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
15019 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
15020             Jakub Wilk  <jwilk@debian.org>
15022         [BZ #19347]
15023         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
15024         to change the group of the device to the tty group.
15026 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
15028         Split large string section; add truncation advice
15029         * manual/examples/strncat.c: Remove.
15030         This example was misleading, as the code would have undefined
15031         behavior if "hello" was longer than SIZE.  Anyway, the manual
15032         shouldn't encourage strncpy+strncat for this sort of thing.
15033         * manual/string.texi (Copying Strings and Arrays): Split into
15034         three sections Copying Strings and Arrays, Concatenating Strings,
15035         and Truncating Strings, as this section was way too long.  All
15036         cross-referenced changed.  Add advice about string-truncation
15037         functions.  Remove misleading strncat example.
15039 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
15041         * manual/nss.texi (NSS Modules Interface): Document
15042         NSS_STATUS_NOTFOUND and SUCCESS.
15044 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
15046         [BZ 18568]
15047         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15048         201505L, for Unicode 8.
15050 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
15052         * locale/C-translit.h: Regenerate.
15054 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
15056         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
15057         and U+0153.
15059 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
15061         [BZ #19351]
15062         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
15063         expanding log(1+z), compare z rather than its square with epsilon
15064         to determine when to avoid evaluating the expansion.
15066         [BZ #19350]
15067         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15068         Increase overflow threshold.
15070         [BZ #19349]
15071         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
15072         when small.
15074         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15075         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15076         New macro.
15077         [__LINUX_KERNEL_VERSION >= 0x040300]
15078         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15079         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15080         Likewise.
15081         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15082         Likewise.
15083         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15084         Likewise.
15085         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15086         Likewise.
15087         [__LINUX_KERNEL_VERSION >= 0x040300]
15088         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15089         [__LINUX_KERNEL_VERSION >= 0x040300]
15090         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15091         [__LINUX_KERNEL_VERSION >= 0x040300]
15092         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15093         [__LINUX_KERNEL_VERSION >= 0x040300]
15094         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15095         [__LINUX_KERNEL_VERSION >= 0x040300]
15096         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15097         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15098         Likewise.
15099         [__LINUX_KERNEL_VERSION >= 0x040300]
15100         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15101         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15102         Likewise.
15103         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15104         Likewise.
15105         [__LINUX_KERNEL_VERSION >= 0x040300]
15106         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15107         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15108         Likewise.
15109         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15110         Likewise.
15111         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15112         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
15113         Likewise.
15114         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
15115         Likewise.
15116         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15117         Likewise.
15118         [__LINUX_KERNEL_VERSION >= 0x040300]
15119         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15120         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15121         Likewise.
15122         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15123         Likewise.
15124         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15125         Likewise.
15126         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15127         Likewise.
15128         [__LINUX_KERNEL_VERSION >= 0x040300]
15129         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15130         [__LINUX_KERNEL_VERSION >= 0x040300]
15131         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15132         [__LINUX_KERNEL_VERSION >= 0x040300]
15133         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15134         [__LINUX_KERNEL_VERSION >= 0x040300]
15135         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15136         [__LINUX_KERNEL_VERSION >= 0x040300]
15137         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15138         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15139         Likewise.
15140         [__LINUX_KERNEL_VERSION >= 0x040300]
15141         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15142         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15143         Likewise.
15144         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15145         Likewise.
15146         [__LINUX_KERNEL_VERSION >= 0x040300]
15147         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15149         Likewise.
15150         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15151         Likewise.
15152         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15153         (__ASSUME_SOCKET_SYSCALL): Likewise.
15154         (__ASSUME_BIND_SYSCALL): Likewise.
15155         (__ASSUME_CONNECT_SYSCALL): Likewise.
15156         (__ASSUME_LISTEN_SYSCALL): Likewise.
15157         (__ASSUME_ACCEPT_SYSCALL): Likewise.
15158         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15159         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15160         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15161         (__ASSUME_SEND_SYSCALL): Likewise.
15162         (__ASSUME_SENDTO_SYSCALL): Likewise.
15163         (__ASSUME_RECV_SYSCALL): Likewise.
15164         (__ASSUME_RECVFROM_SYSCALL): Likewise.
15165         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15166         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15167         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15168         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15169         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15170         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15171         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15172         Likewise.
15173         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15174         Likewise.
15175         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15176         Likewise.
15177         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15178         Likewise.
15179         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15180         Likewise.
15181         [__LINUX_KERNEL_VERSION >= 0x020625]
15182         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15183         [__LINUX_KERNEL_VERSION >= 0x020625]
15184         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15185         [__LINUX_KERNEL_VERSION >= 0x020625]
15186         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15187         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15188         Likewise.
15189         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15190         Likewise.
15191         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15192         Likewise.
15193         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15194         Likewise.
15195         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15196         Likewise.
15197         [__LINUX_KERNEL_VERSION >= 0x020625]
15198         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15199         [__LINUX_KERNEL_VERSION >= 0x020625]
15200         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15201         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15202         Likewise.
15203         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15204         Likewise.
15206 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15208         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15209         record the current if the current ABI and CPU support the FP64
15210         extension.
15211         (has-modd-spreg): Define to record the current if the current ABI and
15212         CPU support 32-bit floating point values in odd FPU registers.
15213         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15214         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15215         $(has-modd-spreg) equals yes.
15216         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15217         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15218         $(has-modd-spreg) equal yes.
15220 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15222         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15223         basename.
15225 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
15227         * benchtests/Makefile (bench-math): Move ffs and ffsll...
15228         (bench-string): ... here.
15229         (bench): Add bench-string.
15230         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15231         to *-benchset to reflect what they are.
15232         (benchset): Adjust.
15234         * benchtests/sincos-inputs: Add inputs from sin-inputs and
15235         cos-inputs.
15237 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
15239         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15240         __attribute__ ((__simd__)) for vector math function declarations.
15242 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15244         Fix typo in strncat, wcsncat manual entries
15245         * manual/string.texi (Copying and Concatenation): Fix typos in
15246         sample implementations of strncat and wcsncat, by having them use
15247         the old value of the destination length, not the new one.
15249 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
15251         [BZ #16961]
15252         [BZ #16962]
15253         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15254         string on the stack for strtod.
15255         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15256         a string on the stack for strtof.
15257         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15258         constructing a string on the stack for strtold.
15259         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15260         __strtold_nan to GLIBC_PRIVATE.
15261         * math/test-nan-overflow.c: New file.
15262         * math/test-nan-payload.c: Likewise.
15263         * math/Makefile (tests): Add test-nan-overflow and
15264         test-nan-payload.
15266 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15268         Consistency about byte vs character in string.texi
15269         * manual/string.texi (String and Array Utilities):
15270         Distinguish more carefully among bytes, multibyte characters,
15271         and wide characters.  Use "byte" when talking about C 'char',
15272         to distinguish it more clearly from multibyte characters.
15273         Say "wide character" or "multibyte character" instead of
15274         "character", when a wide or multibyte character is intended.
15275         Similarly for "multibyte string" versus "string".
15276         Define these terms more carefully.
15278 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
15280         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15281         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15282         Likewise.
15283         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15284         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15285         * sysdeps/sh/math_private.h: New file.
15286         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15287         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15288         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15289         long double function name.
15290         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15291         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15292         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15293         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15294         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15296         Remove __finitel, __isinfl, and __isnanl.
15297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15298         Likewise.
15299         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15301         Remove __finitel.
15302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15303         Likewise.
15304         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15306 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
15308         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15309         installed libmvec_nonshared.a.
15311 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15313         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15314         (sysdep_routines): Likewise.
15315         (sysdep-rtld-routines): Likewise.
15316         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15317         [$(subdir) = nptl](tests-static): test-get_hwcap-static
15318         * sysdeps/powerpc/Versions: Added new
15319         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15320         * sysdeps/powerpc/hwcapinfo.c: New file.
15321         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15322         and parse hwcap, hwcap2 and platform number information.
15323         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
15324         to store HWCAP+HWCAP2 and platform number.
15325         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15326         for HWCAP+HWCAP2 and platform number in the TCB.
15327         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
15328         the HWCAP, HWCAP2 and platform number in the TCB.
15329         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15330         (TLS_INIT_TP): Included calls to add the hwcap and
15331         at_platform values in the TCB in TP initialization.
15332         (TLS_DEFINE_INIT_TP): Likewise.
15333         (THREAD_GET_HWCAP): New macro.
15334         (THREAD_SET_HWCAP): Likewise.
15335         (THREAD_GET_AT_PLATFORM): Likewise.
15336         (THREAD_SET_AT_PLATFORM): Likewise.
15337         * sysdeps/powerpc/powerpc32/dl-machine.h:
15338         (dl_platform_init): New function that calls
15339         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15340         powerpc32.
15341         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15342         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
15343         this functionality, static linking case.
15344         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
15345         linking case.
15346         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15347         __parse_hwcap_and_convert_at_platform for the static linking case.
15348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15349         Included the new __parse_hwcap_and_convert_at_platform symbol in the
15350         ABI list for GLIBC 2.23.
15351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15352         Likewise.
15353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15354         Likewise.
15356 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
15358         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15359         * configure: Regenerate.
15360         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15361         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
15363 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
15365         * iconvdata/ibm930.c: Add comment explaining encoding uses.
15366         * iconvdata/ibm933.c: Likewise.
15367         * iconvdata/ibm935.c: Likewise.
15368         * iconvdata/ibm937.c: Likewise.
15369         * iconvdata/ibm939.c: Likewise.
15371 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15373         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15374         pthread_join.
15375         * nptl/tst-cancel21.c (tf): Likewise.
15377 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15379         [BZ #19313]
15380         * bits/typesizes.h (__CPU_MASK_TYPE): New.
15381         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15382         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15383         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15384         Likewise.
15385         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15386         Likewise.
15387         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15388         Likewise.
15389         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15390         Likewise.
15391         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15392         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15393         unsigned long int with __CPU_MASK_TYPE.
15395 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15397         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15399 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
15401         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15402         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15403         t512.x.
15404         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15406 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
15408         [BZ #19214]
15409         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15410         argument to return extended model.  Update family and model
15411         with extended family and model when family == 0x0f.
15412         (init_cpu_features): Updated.
15414 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15416         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15417         signed off_t, so 32bit bigger than 2GiB values are fine actually.
15419         * sysdeps/mach/hurd/mmap64.c: New file.
15421 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
15423         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15424         rights for its main user thread in NEWTASK.
15426 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
15428         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15429         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15431 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
15433         [BZ #14259]
15434         * Makeconfig: Rename localedir to complocaledir.
15435         Rename inst_localedir to inst_complocaledir.
15436         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15437         * config.make.in: Use complocaledir and libc_cv_complocaledir.
15438         * configure.ac: Use libc_cv_complocaledir.
15439         * configure: Regenerate.
15440         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15441         -DCOMPLOCALEDIR.
15442         * locale/findlocale.c: Use COMPLOCALEDIR.
15443         * locale/loadarchive.c: Likewise.
15444         * locale/programs/locale.c: Likewise.
15445         * locale/programs/localedef.c: Likewise.
15446         * locale/programs/locarchive.c: Likewise.
15447         * localedata/Makefile: Use inst_complocaledir.
15448         * sysdeps/gnu/configure: Regenerate.
15449         * sysdeps/hppa/configure: Regenerate.
15450         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15451         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15453         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15454         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15455         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15456         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15458 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
15460         [BZ #19058]
15461         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15462         AS_NEEDED.
15463         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15464         workaround.
15465         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15466         libmvec-static-only-routines): Added new file.
15467         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15469 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15471         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15472         of interrupted RPC instead of restoring it.
15474         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15475         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15476         libc_hidden_def.
15477         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15478         into initialized data instead of common. Define rtld_hidden_data_def.
15479         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15480         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15481         libc_hidden_def.
15482         (if_freenameindex): Add libc_hidden_weak.
15483         (if_nameindex): Add libc_hidden_weak.
15484         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15485         __open64.
15486         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15487         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15488         * sysdeps/mach/nanosleep.c: Include <time.h>
15489         (__nanosleep): Rename to __libc_nanosleep.
15490         (__nanosleep): Add weak_alias.
15491         (nanosleep): Update alias.
15493 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
15495         * stdlib/strtod_nan.c: New file.
15496         * stdlib/strtod_nan_double.h: Likewise.
15497         * stdlib/strtod_nan_float.h: Likewise.
15498         * stdlib/strtod_nan_main.c: Likewise.
15499         * stdlib/strtod_nan_narrow.h: Likewise.
15500         * stdlib/strtod_nan_wide.h: Likewise.
15501         * stdlib/strtof_nan.c: Likewise.
15502         * stdlib/strtold_nan.c: Likewise.
15503         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15504         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15505         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15506         * wcsmbs/wcstod_nan.c: Likewise.
15507         * wcsmbs/wcstof_nan.c: Likewise.
15508         * wcsmbs/wcstold_nan.c: Likewise.
15509         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15510         strtold_nan.
15511         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15512         wcstof_nan.
15513         * include/stdlib.h (__strtof_nan): Declare and use
15514         libc_hidden_proto.
15515         (__strtod_nan): Likewise.
15516         (__strtold_nan): Likewise.
15517         (__wcstof_nan): Likewise.
15518         (__wcstod_nan): Likewise.
15519         (__wcstold_nan): Likewise.
15520         * include/wchar.h (____wcstoull_l_internal): Declare.
15521         * stdlib/strtod_l.c: Do not include <ieee754.h>.
15522         (____strtoull_l_internal): Remove declaration.
15523         (STRTOF_NAN): Define macro.
15524         (SET_MANTISSA): Remove macro.
15525         (STRTOULL): Likewise.
15526         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15527         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15528         (STRTOF_NAN): Define macro.
15529         (SET_MANTISSA): Remove macro.
15530         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15531         (SET_MANTISSA): Remove macro.
15532         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15533         macro.
15534         (SET_MANTISSA): Remove macro.
15535         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15536         macro.
15537         (SET_MANTISSA): Remove macro.
15538         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15539         (SET_MANTISSA): Remove macro.
15540         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15541         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15542         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15544         [BZ #19266]
15545         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15546         upper case and lower case letters inside NAN(), not using TOLOWER.
15547         * stdlib/tst-strtod-nan-locale-main.c: New file.
15548         * stdlib/tst-strtod-nan-locale.c: Likewise.
15549         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15550         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15551         Depend on $(gen-locales).
15552         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15553         * wcsmbs/tst-wcstod-nan-locale.c: New file.
15554         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15555         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15556         Depend on $(gen-locales).
15557         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15559 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
15561         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15563         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15565         __finitel, __isinfl, and __isnanl.
15566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15567         Likewise.
15568         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15570         __finitel.
15571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15572         Likewise.
15573         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15575 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15577         * malloc/memusage.c (me): Remove redundant getenv call.
15579 2015-10-24  Florian Weimer  <fweimer@redhat.com>
15581         [BZ #19143]
15582         [BZ #19164]
15583         * nptl/check-cpuset.h: Remove.
15584         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15585         Remove CPU set size check.
15586         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15587         Likewise.
15588         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15589         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15590         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15591         (__pthread_setaffinity_new): Remove CPU set size check.
15592         * sysdeps/unix/sysv/linux/sched_setaffinity.c
15593         (__kernel_cpumask_size): Remove.
15594         (__sched_setaffinity_new): Remove CPU set size check.
15595         * manual/threads.texi (Default Thread Attributes): Remove stale
15596         reference to check_cpuset_attr, determine_cpumask_size in comment.
15597         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15598         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
15599         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15600         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15601         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15602         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15603         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15604         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15605         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15606         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15607         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15608         skeleton test file.
15609         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
15610         tst-affinity-pid.
15612 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15614         * scripts/update-abilist.sh: New file.
15615         * Makefile (+subdir_targets): Add subdir_update-all-abi.
15616         * Makerules (update-all-abi-%, update-all-abi)
15617         (subdir_update-all-abi): New targets.
15618         * elf/Makefile (update-all-abi): New target.
15620 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15622         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15623         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15624         (__libc_lock_define_initialized): Use it.
15625         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15626         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15627         * malloc/malloc.c (main_arena): Likewise.
15628         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15629         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15631 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
15633         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15634         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15635         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15636         (PTRACE_O_MASK): Update value.
15637         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15638         New value in enum __ptrace_setoptions.
15639         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15640         (PTRACE_O_MASK): Update value.
15641         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15642         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15643         (PTRACE_O_MASK): Update value.
15644         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15645         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15646         (PTRACE_O_MASK): Update value.
15647         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15648         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15649         (PTRACE_O_MASK): Update value.
15650         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15651         New value in enum __ptrace_setoptions.
15652         (PTRACE_O_MASK): Update value.
15653         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15654         New value in enum __ptrace_setoptions.
15655         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15656         (PTRACE_O_MASK): Update value.
15658         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15659         New macro.
15660         (PACKET_AUXDATA): Likewise.
15661         (PACKET_ORIGDEV): Likewise.
15662         (PACKET_VERSION): Likewise.
15663         (PACKET_HDRLEN): Likewise.
15664         (PACKET_RESERVE): Likewise.
15665         (PACKET_TX_RING): Likewise.
15666         (PACKET_LOSS): Likewise.
15667         (PACKET_VNET_HDR): Likewise.
15668         (PACKET_TX_TIMESTAMP): Likewise.
15669         (PACKET_TIMESTAMP): Likewise.
15670         (PACKET_FANOUT): Likewise.
15671         (PACKET_TX_HAS_OFF): Likewise.
15672         (PACKET_QDISC_BYPASS): Likewise.
15673         (PACKET_ROLLOVER_STATS): Likewise.
15674         (PACKET_FANOUT_DATA): Likewise.
15675         (PACKET_MR_UNICAST): Likewise.
15677         [BZ #19242]
15678         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15679         (TOUPPER): Likewise.
15680         * stdlib/tst-strtol-locale-main.c: New file.
15681         * stdlib/tst-strtol-locale.c: Likewise.
15682         * stdlib/Makefile (tests): Add tst-strtol-locale.
15683         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15684         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15685         Depend on $(gen-locales).
15686         * wcsmbs/tst-wcstol-locale.c: New file.
15687         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15688         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15689         tr_TR.ISO-8859-9.
15690         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15691         Depend on $(gen-locales).
15693 2015-11-20  Roland McGrath  <roland@hack.frob.com>
15695         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15696         __glibc_likely instead of __builtin_expect.  After falling back to
15697         dyncode_create in a non-ET_DYN case, use the allocate_code_data
15698         system interface to register the code pages as occupied.
15700 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
15702         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15703         [!ARM_MATH_PRIVATE_H].
15704         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15705         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15706         [!HPPA_MATH_PRIVATE_H].
15707         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15708         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15709         to [!I386_MATH_PRIVATE_H].
15710         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15711         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15712         Change guard to [!M68K_MATH_PRIVATE_H].
15713         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15714         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15715         guard to [!MICROBLAZE_MATH_PRIVATE_H].
15716         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15717         macro.
15718         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15719         [!MIPS_MATH_PRIVATE_H].
15720         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15721         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15722         [!NIO2_MATH_PRIVATE_H].
15723         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15724         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15725         [!TILE_MATH_PRIVATE_H].
15726         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15728         [BZ #15421]
15729         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15730         initialize with 0 and define as weak alias of __signgam.
15731         * include/math.h [!_ISOMAC] (__signgam): Declare.
15732         * math/Makefile (libm-calls): Add w_lgamma_compat.
15733         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15734         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15735         test-signgam-ullong-init.
15736         (tests-static): Add test-signgam-uchar-static,
15737         test-signgam-uchar-init-static, test-signgam-uint-static,
15738         test-signgam-uint-init-static, test-signgam-ullong-static and
15739         test-signgam-ullong-init-static.
15740         (CFLAGS-test-signgam-uchar.c): New variable.
15741         (CFLAGS-test-signgam-uchar-init.c): Likewise.
15742         (CFLAGS-test-signgam-uchar-static.c): Likewise.
15743         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15744         (CFLAGS-test-signgam-uint.c): Likewise.
15745         (CFLAGS-test-signgam-uint-init.c): Likewise.
15746         (CFLAGS-test-signgam-uint-static.c): Likewise.
15747         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15748         (CFLAGS-test-signgam-ullong.c): Likewise.
15749         (CFLAGS-test-signgam-ullong-init.c): Likewise.
15750         (CFLAGS-test-signgam-ullong-static.c): Likewise.
15751         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15752         * math/Versions (libm): Add GLIBC_2.23.
15753         * math/lgamma-compat.h: New file.
15754         * math/test-signgam-main.c: Likewise.
15755         * math/test-signgam-uchar-init-static.c: Likewise.
15756         * math/test-signgam-uchar-init.c: Likewise.
15757         * math/test-signgam-uchar-static.c: Likewise.
15758         * math/test-signgam-uchar.c: Likewise.
15759         * math/test-signgam-uint-init-static.c: Likewise.
15760         * math/test-signgam-uint-init.c: Likewise.
15761         * math/test-signgam-uint-static.c: Likewise.
15762         * math/test-signgam-uint.c: Likewise.
15763         * math/test-signgam-ullong-init-static.c: Likewise.
15764         * math/test-signgam-ullong-init.c: Likewise.
15765         * math/test-signgam-ullong-static.c: Likewise.
15766         * math/test-signgam-ullong.c: Likewise.
15767         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15768         wrapper of w_lgamma_main.c.
15769         * math/w_lgamma_compat.c: New file.
15770         * math/w_lgamma_compatf.c: Likewise.
15771         * math/w_lgamma_compatl.c: Likewise.
15772         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
15773         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15774         defining compatibility symbols.
15775         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
15776         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15777         wrapper of w_lgammaf_main.c.
15778         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
15779         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15780         defining compatibility symbols.
15781         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
15782         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15783         wrapper of w_lgammal_main.c.
15784         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
15785         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15786         defining compatibility symbols.
15787         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
15788         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15789         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15790         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
15791         <lgamma-compat.h>.
15792         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
15793         (__ieee754_gamma): Define as alias.
15794         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15795         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
15796         <lgamma-compat.h>.
15797         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
15798         (__ieee754_gammaf): Define as alias.
15799         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15800         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
15801         <lgamma-compat.h>.
15802         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
15803         (__ieee754_gammal): Define as alias.
15804         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15805         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
15806         <math/w_lgamma_compat.c>.
15807         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15808         Define as alias of __lgamma_compat and use in defining lgammal.
15809         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15810         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
15811         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15812         (USE_AS_COMPAT): New macro.
15813         (LGAMMA_OLD_VER): Undefine and redefine.
15814         (lgammal): Do not define here.
15815         (gammal): Only define here if [GAMMA_ALIAS].
15816         * conform/linknamespace.pl (@whitelist): Remove signgam.
15817         * sysdeps/nacl/libm.abilist: Update.
15818         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15819         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15820         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15821         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15822         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15823         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15824         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15825         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15826         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15827         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15828         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15829         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15831         Likewise.
15832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15833         Likewise.
15834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15835         Likewise.
15836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15837         Likewise.
15838         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15839         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15840         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15841         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15842         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15844         Likewise.
15845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15846         Likewise.
15847         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15848         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15849         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15851 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15853         [BZ #16364]
15854         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15855         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15857 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15859         * sysdeps/s390/fpu/bits/mathinline.h:
15860         Use __asm__ [__volatile__] instead of asm [volatile].
15861         * sysdeps/s390/abort-instr.h: Likewise.
15862         * sysdeps/s390/atomic-machine.h: Likewise.
15863         * sysdeps/s390/bits/string.h: Likewise.
15864         * sysdeps/s390/dl-tls.h: Likewise.
15865         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15866         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15867         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15868         * sysdeps/s390/fpu/fesetround.c: Likewise.
15869         * sysdeps/s390/fpu/fpu_control.h: Likewise.
15870         * sysdeps/s390/fpu/s_fma.c: Likewise.
15871         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15872         * sysdeps/s390/memusage.h: Likewise.
15873         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15874         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15875         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15876         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15877         * sysdeps/s390/nptl/tls.h: Likewise.
15878         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15879         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15880         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15881         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15882         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15883         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15884         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15885         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15886         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15887         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15888         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15889         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15890         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15891         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15892         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15893         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15894         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15895         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15896         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15897         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15898         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15899         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15900         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15902 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15903             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15905         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15906         Add lwarx hint, and use macro for acquire instruction.
15907         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15908         Likewise.
15909         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15910         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15911         update to use new atomic macros.
15913 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15915         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15916         (__lll_trylock_elision): Fix setting of adapt_count.
15917         * sysdeps/unix/sysv/linux/powerpc/htm.h
15918         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15919         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15920         (_ABORT_SYSCALL): Renumber, and clarify definition.
15921         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15923 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15925         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15926         after system headers to prevent MIN/MAX redefinition.  Define
15927         HAVE_ALLOCA to preserve builtin alloca usage.
15929 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
15931         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15932         static and don't set or restore rounding.
15933         (__cos)[IN_SINCOS]: Likewise.
15934         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15935         (__sincos): Set and restore rounding mode.  Remove check for infinite
15936         or NaN input.
15938         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15940         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15941         as used.
15943 2015-11-16  Florian Weimer  <fweimer@redhat.com>
15945         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15947 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15949         * config.make.in (have-glob-dat-reloc): New.
15950         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
15951         target supports GLOB_DAT relocaton. AC_SUBST.
15952         * configure: Regenerated.
15953         * elf/Makefile (tests): Add tst-prelink.
15954         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15955         (tst-prelink-ENV): New.
15956         ($(objpfx)tst-prelink-conflict.out): Likewise.
15957         ($(objpfx)tst-prelink-cmp.out): Likewise.
15958         * sysdeps/x86/tst-prelink.c: Moved to ...
15959         * elf/tst-prelink.c: Here.
15960         * sysdeps/x86/tst-prelink.exp: Moved to ...
15961         * elf/tst-prelink.exp: Here.
15962         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15963         (tst-prelink-ENV): Removed.
15964         ($(objpfx)tst-prelink-conflict.out): Likewise.
15965         ($(objpfx)tst-prelink-cmp.out): Likewise.
15966         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15968 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
15970         [BZ #14551]
15971         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15972         (__mpn_construct_long_double): If high part overflows to infinity,
15973         set errno and recompute overflowed result of the correct sign.
15974         * sysdeps/ieee754/ldbl-128ibm/Makefile
15975         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15976         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15977         $(libm).
15978         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15980 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
15982         [BZ #15479]
15983         [BZ #19238]
15984         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15985         floating-point state after first operation on input.  Restore full
15986         state rather than just rounding mode.
15987         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15988         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15989         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15991         [BZ #19235]
15992         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15993         add 0.5 to integer arguments.
15994         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15995         Likewise.
15996         (.LC2): New object.
15998 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
16000         * scripts/pylintrc (reports): Set to no.
16002 2015-11-10  Roland McGrath  <roland@hack.frob.com>
16004         * elf/dl-load.c (open_verify): Take new argument FD.
16005         Skip __open call if passed FD is not -1.
16006         (_dl_map_object, open_path): Update callers.
16007         * elf/dl-sysdep-open.h: New file.
16008         * elf/dl-load.c: Include it.
16009         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
16010         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
16011         * sysdeps/nacl/dl-sysdep-open.h: New file.
16012         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
16013         from libc to rtld.
16015 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
16017         [BZ #19228]
16018         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
16019         and restore full floating-point state.
16020         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16021         Likewise.
16022         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16023         Likewise.
16024         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16025         Likewise.
16026         * math/test-nearbyint-except-2.c: New file.
16027         * math/Makefile (tests): Add test-nearbyint-except-2.
16029 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
16031         [BZ #19178]
16032         * sysdeps/x86/Makefile (tests): Add tst-prelink.
16033         (tst-prelink-ENV): New.
16034         ($(objpfx)tst-prelink-conflict.out): Likewise.
16035         ($(objpfx)tst-prelink-cmp.out): Likewise.
16036         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16037         * sysdeps/x86/tst-prelink.c: New file.
16038         * sysdeps/x86/tst-prelink.exp: Likewise.
16040 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
16042         * math/auto-libm-test-in: Add another test of pow.
16043         * math/auto-libm-test-out: Regenerated.
16044         * math/libm-test.inc (pow_test_data): Add another test.
16046 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16048         [BZ #19219]
16049         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
16050         weak_alias to nearbyintl.
16052 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
16054         * sysdeps/aarch64/bits/string.h: New file.
16055         (_STRING_ARCH_unaligned): Define.
16057 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
16059         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
16060         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16061         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16062         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
16063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
16065 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
16067         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
16068         for original name of the DSO.  Add it to the name list of the DSO
16069         if it is actually given.
16070         (_dl_map_object): Keep track of whether an audit module rewrote
16071         the file name.  If yes, pass the original name to
16072         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
16073         debugging is enabled, log the change of the file name.
16074         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
16075         _dl_map_object_from_fd.
16076         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
16077         * elf/tst-audit11.c: New file
16078         * elf/tst-auditmod11.c: New file.
16079         * elf/tst-audit11mod1.c: New file.
16080         * elf/tst-audit11mod2.c: New file.
16081         * elf/tst-audit11mod2.map: New file.
16082         * elf/tst-audit12.c: New file
16083         * elf/tst-auditmod12.c: New file.
16084         * elf/tst-audit12mod1.c: New file.
16085         * elf/tst-audit12mod2.c: New file.
16086         * elf/tst-audit12mod2.map: New file.
16087         * elf/tst-audit12mod3.c: New file.
16089 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16091         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
16092         Don't create weak aliases,
16093         because versioned symbols are created later.
16094         * sysdeps/s390/s390-32/setjmp.S
16095         (setjmp, _setjmp): Remove weak and rename to an unique name
16096         in SHARED case due to existing versioned symbols.
16097         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16098         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
16099         (getcontext): Create weak alias only in non SHARED case.
16100         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16102 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16104         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
16105         (__ASSUME_*_SYSCALL) Define new macros.
16106         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
16107         Remove socketcall syscalls.
16108         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
16109         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
16110         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
16111         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
16112         * sysdeps/unix/sysv/linux/send.c (__libc_send):
16113         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
16115 2015-11-09  Florian Weimer  <fweimer@redhat.com>
16117         [BZ #12926]
16118         Terminate process on invalid netlink response.
16119         * sysdeps/unix/sysv/linux/netlinkaccess.h
16120         (__netlink_assert_response): Declare.
16121         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
16122         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
16123         (sysdep_routines): Add netlink_assert_response.
16124         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
16125         __netlink_assert_response.
16126         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16127         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16128         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
16129         __netlink_assert_response.
16131 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16133         [BZ #19178]
16134         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
16135         (RTYPE_CLASS_PLT): Likewise.
16136         (RTYPE_CLASS_COPY): Likewise.
16137         (RTYPE_CLASS_TLS): Likewise.
16138         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
16139         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
16140         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
16141         DL_DEBUG_PRELINK.
16143 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
16145         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16146         calls with argument -0.5.
16147         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16149         * configure.ac (libc_cv_z_nodelete): Remove configure test.
16150         (libc_cv_z_nodlopen): Likewise.
16151         (libc_cv_z_initfirst): Likewise.
16152         * configure: Regenerated.
16154 2015-11-06  Florian Weimer  <fweimer@redhat.com>
16156         Simplify abilist format to be line-based.
16157         * scripts/abilist.awk: Collect descriptors in the descs variable.
16158         (emit): Write descs variable and sort it
16159         externally, with sort.
16160         * sysdeps/**/*.abilist: Convert to new format.
16162 2015-11-06  Mark Wielaard  <mjw@redhat.com>
16164         [BZ #11460]
16165         * io/Makefile (routines): Add fts64.
16166         (tests): Add tst-fts and tst-fts-lfs.
16167         (CFLAGS-fts64.c): New.
16168         * io/Versions (GLIBC_2.23): New.
16169         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16170         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16171         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16172         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16173         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16174         (FTSENT64): Likewise.
16175         (fts64_children): Likewise.
16176         (fts64_close): Likewise.
16177         (fts64_open): Likewise.
16178         (fts64_read): Likewise.
16179         (fts64_set): Likewise.
16180         * io/fts64.c: New file.
16181         * io/tst-fts.c: New test.
16182         * io/tst-fts-lfs.c: Likewise.
16183         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16184         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16185         fts64_set.
16186         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16187         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16188         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16189         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16190         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16191         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16192         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16193         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16194         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16195         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16196         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16197         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16198         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16200         Likewise.
16201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16202         Likewise.
16203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16205         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16206         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16207         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16208         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16209         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16212         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16213         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16214         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16215         * sysdeps/wordsize-64/fts.c: New file.
16216         * sysdeps/wordsize-64/fts64.c: Likewise.
16217         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16218         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16219         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16220         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16222 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16224         * math/libm-test.inc (NON_FINITE): New macro.
16225         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16226         * math/gen-libm-test.pl (show_exceptions): Add argument
16227         $non_finite.
16228         (parse_args): Update call to show_exceptions.
16229         * math/test-math-finite.h: New file.
16230         * math/test-math-no-finite.h: Likewise.
16231         * math/test-double-finite.c: Likewise.
16232         * math/test-float-finite.c: Likewise.
16233         * math/test-ldouble-finite.c: Likewise.
16234         * math/test-double.c: Include "test-math-no-finite.h".
16235         * math/test-float.c: Include "test-math-no-finite.h".
16236         * math/test-ldouble.c: Include "test-math-no-finite.h".
16237         * math/test-math-inline.h (TEST_FINITE): New macro.
16238         * math/test-math-vector.h (TEST_FINITE): Likewise.
16239         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16240         (libm-tests): Add test-float-finite and test-double-finite.
16241         ($(objpfx)test-float-finite.o): New dependency on
16242         $(objpfx)libm-test.stmp.
16243         ($(objpfx)test-double-finite.o): Likewise.
16244         ($(objpfx)test-ldouble-finite.o): Likewise.
16245         (libm-test-no-inline-cflags): New variable.
16246         (libm-test-finite-cflags): Likewise.
16247         (CFLAGS-test-float-finite.c): Likewise.
16248         (CFLAGS-test-double-finite.c): Likewise.
16249         (CFLAGS-test-ldouble-finite.c): Likewise.
16250         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16251         (CFLAGS-test-double.c): Likewise.
16252         (CFLAGS-test-ldouble.c): Likewise.
16254 2015-11-05  Roland McGrath  <roland@hack.frob.com>
16256         * io/fcntl.c (__fcntl): Add ... to prototype.
16257         * misc/ioctl.c (__ioctl): Likewise.
16258         * misc/syscall.c (syscall): Likewise.
16260 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16262         * scripts/list-fixed-bugs.py: New file.
16264         [BZ #19213]
16265         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16266         returned for argument 1.
16267         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16268         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16269         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16270         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16271         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16272         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16274         [BZ #19211]
16275         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16276         __USE_XOPEN], not if [!__USE_ISOC99].
16277         (lgammaf): Likewise.
16278         (lgammal): Likewise.
16279         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16280         (gammaf): Likewise.
16281         (gammal): Likewise.
16282         * math/test-signgam-finite-c11.c: New file.
16283         * math/test-signgam-finite-c99.c: Likewise.
16284         * math/test-signgam-finite.c: Likewise.
16285         * math/Makefile (tests): Add test-signgam-finite,
16286         test-signgam-finite-c99 and test-signgam-finite-c11.
16287         (CFLAGS-test-signgam-finite.c): New variable.
16288         (CFLAGS-test-signgam-finite-c99.c): Likewise.
16289         (CFLAGS-test-signgam-finite-c11.c): Likewise.
16291         [BZ #19212]
16292         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16293         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16294         500].
16295         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16296         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16297         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16298         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16299         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16300         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16301         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16302         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16303         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16304         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16306         [BZ #19209]
16307         * math/bits/math-finite.h (ldexp): Remove declaration.
16308         (ldexpf): Likewise.
16309         (ldexpl): Likewise.
16311         [BZ #19205]
16312         * math/bits/math-finite.h (acosf): Condition declaration on
16313         [__USE_ISOC99].
16314         (acosl): Likewise.
16315         (acoshf): Likewise.
16316         (acoshl): Likewise.
16317         (asinf): Likewise.
16318         (asinl): Likewise.
16319         (atan2f): Likewise.
16320         (atan2l): Likewise.
16321         (atanhf): Likewise.
16322         (atanhl): Likewise.
16323         (coshf): Likewise.
16324         (coshl): Likewise.
16325         (expf): Likewise.
16326         (expl): Likewise.
16327         (fmodf): Likewise.
16328         (fmodl): Likewise.
16329         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16330         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16331         (j0l): Likewise.
16332         (y0f): Likewise.
16333         (y0l): Likewise.
16334         (j1f): Likewise.
16335         (j1l): Likewise.
16336         (y1f): Likewise.
16337         (y1l): Likewise.
16338         (jnf): Likewise.
16339         (jnl): Likewise.
16340         (ynf): Likewise.
16341         (ynl): Likewise.
16342         (lgammaf_r): Condition declaration on [__USE_ISOC99].
16343         (lgammal_r): Likewise.
16344         (__lgamma_r_finite): New declaration.
16345         (__lgammaf_r_finite): Likewise.
16346         (__lgammal_r_finite): Likewise.
16347         (lgamma): Use __lgamma_r_finite.
16348         (lgammaf): Condition definition on [__USE_ISOC99].  Use
16349         __lgammaf_r_finite.
16350         (lgammal): Condition definition on [__USE_ISOC99].  Use
16351         __lgammal_r_finite.
16352         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
16353         __lgamma_r_finite.
16354         (gammaf): Condition definition on [__USE_ISOC99].  Use
16355         __lgammaf_r_finite.
16356         (gammal): Condition definition on [__USE_ISOC99].  Use
16357         __lgammal_r_finite.
16358         (logf): Condition declaration on [__USE_ISOC99].
16359         (logl): Likewise.
16360         (log10f): Likewise.
16361         (log10l): Likewise.
16362         (ldexpf): Likewise.
16363         (ldexpl): Likewise.
16364         (powf): Likewise.
16365         (powl): Likewise.
16366         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16367         __USE_ISOC99].
16368         (remainderf): Condition declaration on [__USE_ISOC99].
16369         (remainderl): Likewise.
16370         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16371         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16372         (scalbl): Likewise.
16373         (sinhf): Condition declaration on [__USE_ISOC99].
16374         (sinhl): Likewise.
16375         (sqrtf): Likewise.
16376         (sqrtl): Likewise.
16378 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16380         * sysdeps/arm/atomic-machine.h
16381         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16382         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16383         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16384         Remove conditional code.
16385         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16386         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16387         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16388         Change conditional to [__ASSEMBLER__].
16389         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16390         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16391         [!__ASSEMBLER__].
16392         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16393         code.
16394         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16395         conditional macro definitions.
16396         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16397         (__arch_compare_and_exchange_val_16_acq): Likewise.
16398         (__arch_compare_and_exchange_val_32_acq): Likewise.
16399         (atomic_exchange_and_add): Likewise.
16400         (atomic_add): Likewise.
16401         (atomic_add_negative): Likewise.
16402         (atomic_add_zero): Likewise.
16403         (atomic_bit_set): Likewise.
16404         (atomic_bit_test_set): Likewise.
16405         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16406         code unconditional.
16407         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16409         * math/test-math-errno.h: New file.
16410         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16411         empty.
16412         (TEST_ERRNO): New macro.
16413         (TEST_EXCEPTIONS): Likewise.
16414         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16415         (TEST_EXCEPTIONS): Likewise.
16416         * math/test-math-vector.h (TEST_ERRNO): Likewise.
16417         * math/test-double.c: Include "test-math-errno.h".
16418         * math/test-float.c: Likewise.
16419         * math/test-ldouble.c: Likewise.
16420         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16421         code unconditional.
16422         (test_exceptions): Only run code if TEST_EXCEPTIONS.
16423         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16424         unconditional.
16425         (test_errno): Only run code if TEST_ERRNO.
16426         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16428 2015-11-04  Florian Weimer  <fweimer@redhat.com>
16430         * nptl/tst-once5.cc: Remove attribution.
16432 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16434         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16435         sqrt, tan, tanh, y0, y1 and yn.
16436         * math/auto-libm-test-out: Regenerated.
16437         * math/libm-test.inc (scalb_test_data): Add more tests.
16438         (scalbn_test_data): Likewise.
16439         (scalbln_test_data): Likewise.
16440         (signbit_test_data): Likewise.
16441         (sin_test_data): Likewise.
16442         (sincos_test_data): Likewise.
16443         (sinh_test_data): Likewise.
16444         (sqrt_test_data): Likewise.
16445         (tan_test_data): Likewise.
16446         (tanh_test_data): Likewise.
16447         (tgamma_test_data): Likewise.
16448         (y0_test_data): Likewise.
16449         (y1_test_data): Likewise.
16450         (yn_test_data): Likewise.
16451         (significand_test_data): Likewise.
16452         * sysdeps/i386/fpu/libm-test-ulps: Update.
16454 2015-11-03  David Kastrup  <dak@gnu.org>
16456         [BZ #18604]
16457         * assert/assert.h (assert): Don't macro-expand failed assertion
16458         expression in error message.
16459         * malloc/malloc.c (assert): Likewise.
16461 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
16463         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16464         test.
16465         * configure: Regenerated.
16467 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
16469         * math/libm-test.inc (modf_test_data): Add more tests.
16470         (nearbyint_test_data): Likewise.
16471         (nextafter_test_data): Likewise.
16472         (nexttoward_test_data): Likewise.
16473         (pow_test_data): Likewise.
16474         (remainder_test_data): Likewise.
16475         (remquo_test_data): Likewise.
16476         (rint_test_data): Likewise.
16478         [BZ #19201]
16479         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16480         Check for zero remainder in case of large exponents and ensure
16481         correct sign of result in that case.
16482         * math/libm-test.inc (remainder_test_data): Add more tests.
16484         [BZ #6799]
16485         * math/s_nextafter.c: Include <errno.h>.
16486         (__nextafter): Set errno on overflow and underflow.
16487         * math/s_nexttowardf.c: Include <errno.h>.
16488         (__nexttowardf): Set errno on overflow and underflow.
16489         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16490         (__nextafterl): Set errno on overflow and underflow.
16491         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16492         (__nexttoward): Set errno on overflow and underflow.
16493         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16494         (__nexttowardf): Set errno on overflow and underflow.
16495         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16496         (__nextafterf): Set errno on overflow and underflow.
16497         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16498         (__nextafterl): Set errno on overflow and underflow.
16499         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16500         (__nexttoward): Set errno on overflow and underflow.
16501         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16502         (__nexttowardf): Set errno on overflow and underflow.
16503         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16504         (__nextafterl): Set errno on overflow and underflow.
16505         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16506         (__nexttoward): Set errno on overflow and underflow.
16507         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16508         (__nexttowardf): Set errno on overflow and underflow.
16509         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16510         (__nexttoward): Set errno on overflow and underflow.
16511         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16512         (__nexttowardf): Set errno on overflow and underflow.
16513         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16514         (__nldbl_nexttowardf): Set errno on overflow and underflow.
16515         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16516         (__nextafterl): Set errno on overflow and underflow.
16517         * math/libm-test.inc (nextafter_test_data): Do not allow errno
16518         setting to be missing on overflow.  Add more tests.
16519         (nexttoward_test_data): Likewise.
16521         * configure.ac (libc_cv_initfini_array): Remove configure test.
16522         * configure: Regenerated.
16524 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
16526         [BZ #19189]
16527         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16528         non-finite argument handle arguments with negative sign.
16530         * math/libm-test.inc (j0_test_data): Do not test sign of zero
16531         result from infinite argument.
16532         (j1_test_data): Likewise.
16533         (jn_test_data): Likewise.
16534         (y0_test_data): Likewise.
16535         (y1_test_data): Likewise.
16536         (yn_test_data): Likewise.
16538         [BZ #16171]
16539         * math/w_remainder.c (drem): Define as weak alias of __remainder.
16540         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16541         * math/w_remainderf.c (dremf): Define as weak alias of
16542         __remainderf.
16543         * math/w_remainderl.c (dreml): Define as weak alias of
16544         __remainderl.
16545         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16546         __remainder.
16547         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16548         __remainderf.
16549         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16550         __remainderl.
16551         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16552         weak alias of remainderl.
16553         * sysdeps/ieee754/ldbl-opt/w_remainder.c
16554         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16555         alias of __remainder.
16556         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16557         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16558         strong alias of __remainderl.
16559         (dreml): Use long_double_symbol.
16560         * math/Makefile (libm-calls): Remove w_drem.
16561         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16562         (CFLAGS-nldbl-drem.c): Remove variable.
16563         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16564         * math/w_drem.c: Remove file.
16565         * math/w_dremf.c: Likewise.
16566         * math/w_dreml.c: Likewise.
16567         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16568         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16569         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16571         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16572         * sysdeps/i386/configure: Regenerated.
16573         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16574         * sysdeps/x86_64/configure: Regenerated.
16576         * configure.ac (libc_cv_asm_protected_directive): Remove configure
16577         test.
16578         (libc_cv_visibility_attribute): Likewise.
16579         (libc_cv_protected_data): Test unconditionally.
16580         (libc_cv_broken_visibility_attribute): Remove configure test.
16581         (libc_cv_have_sdata_section): Test unconditionally.
16582         * configure: Regenerated.
16584         * include/libc-internal.h (libc_max_align_t): Remove typedef.
16585         * include/scratch_buffer.h: Include <stddef.h> instead of
16586         <libc-internal.h>.
16587         (struct scratch_buffer): Use max_align_t instead of
16588         libc_max_align_t.
16590 2015-10-29  Florian Weimer  <fweimer@redhat.com>
16592         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16593         instead of extend_alloca.  Change control flow to avoid a goto.
16594         Remove assert which is trivially always true.
16596 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16598         [BZ #16068]
16599         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16600         (FE_ALL_EXCEPT_X86): New macro.
16601         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16602         FE_ALL_EXCEPT.  Ensure precision control is included in
16603         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16604         handle "denormal operand exception" and clear FZ and DAZ bits.
16605         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16606         (FE_ALL_EXCEPT_X86): New macro.
16607         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16608         FE_ALL_EXCEPT.  Ensure precision control is included in
16609         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16610         handle "denormal operand exception" and clear FZ and DAZ bits.
16611         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16612         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16613         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16614         test-fenv-x87 and test-fenv-sse-2.
16615         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16617         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16618         * math/test-double.h (BUILD_COMPLEX): New macro.
16619         * math/test-float.h (BUILD_COMPLEX): Likewise.
16620         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16622         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16623         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16624         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16626         instead of DBL_DENORM_MIN in comment.
16627         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16628         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16629         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16630         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16631         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16632         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16634 2015-10-28  Florian Weimer  <fweimer@redhat.com>
16636         [BZ# 19048]
16637         * malloc/malloc.c (struct malloc_state): Update comment.  Add
16638         attached_threads member.
16639         (main_arena): Initialize attached_threads.
16640         * malloc/arena.c (list_lock): Update comment.
16641         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16642         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16643         (deattach_arena): New function.
16644         (_int_new_arena): Initialize arena reference count and deattach
16645         replaced arena.
16646         (get_free_list, reused_arena): Update reference count and deattach
16647         replaced arena.
16648         (arena_thread_freeres): Update arena reference count and only put
16649         unreferenced arenas on the free list.
16651 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16653         [BZ #19181]
16654         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16655         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16656         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16657         * math/test-fenv-clear-main.c: New file.
16658         * math/test-fenv-clear.c: Likewise.
16659         * math/Makefile (tests): Add test-fenv-clear.
16660         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16661         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16662         test-fenv-clear-sse.
16663         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16665         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16666         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16667         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16669 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16671         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16672         static libc.
16674 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16676         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16677         test.
16678         * sysdeps/i386/configure: Regenerated.
16679         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16680         test.
16681         * sysdeps/x86_64/configure: Regenerated.
16682         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16684         memset-avx2 unconditionally instead of conditionally on
16685         [$(config-cflags-avx2) = yes].
16686         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16687         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16688         unconditional.
16689         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16690         * sysdeps/x86_64/multiarch/memset_chk.S
16691         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16692         to [IS_IN (libc) && SHARED].
16694 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16696         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16697         configure test.
16698         * sysdeps/arm/configure: Regenerated.
16699         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16700         Define variable if not already defined.
16702         [BZ #17404]
16703         * sysdeps/mips/atomic-machine.h
16704         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16705         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16706         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16708         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16709         unconditional.
16710         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16711         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16712         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16713         unconditional.
16714         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16715         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16716         unconditional.
16717         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16718         * stdlib/setenv.c
16719         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16720         code unconditional.
16721         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16722         Remove conditional code.
16723         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16724         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16725         unconditional.
16726         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16727         code.
16728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16729         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16730         unconditional.
16731         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16732         code.
16733         * sysdeps/ieee754/ldbl-128/k_tanl.c
16734         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16735         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16736         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16737         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16738         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16739         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16740         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16741         unconditional.
16742         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16743         code.
16744         * sysdeps/ieee754/ldbl-96/k_tanl.c
16745         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16746         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16748         * nptl/tst-initializers1-c11.c: New file.
16749         * nptl/tst-initializers1-gnu11.c: Likewise.
16750         * nptl/Makefile (tests): Add these new tests.
16751         (CFLAGS-tst-initializers1-c11.c): New variable.
16752         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16754         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16755         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16756         instead of -std=gnu99.
16757         * configure.ac (systemtap): Test with -std=gnu11 instead of
16758         -std=gnu99.
16759         * configure: Regenerated.
16760         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16761         in compilation command in comment.
16763         * sysdeps/nptl/configure.ac: Remove file.
16764         * sysdeps/nptl/configure: Remove generated file.
16765         * configure.ac (libc_cv_forced_unwind): Do not substitute.
16766         * configure: Regenerated.
16767         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16768         * config.make.in (have-forced-unwind): Remove variable.
16769         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16770         unconditional.
16771         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16772         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16773         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16774         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16775         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16776         unconditional.
16778 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16780         [BZ #19174]
16781         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16782         .skip_lock_out_of_tbegin_retries.
16783         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16784         (__lll_lock_elision): Likewise, and respect a value of
16785         try_tbegin <= 0.
16787 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16789         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16790         statement.
16792 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16794         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16795         variable.
16796         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16797         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16799         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16800         of -std=c1x -D_ISOC11_SOURCE.
16802         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16803         * configure: Regenerated.
16804         * manual/install.texi (Tools for Compilation): Document
16805         requirement for GCC 4.7 or later.
16806         * INSTALL: Regenerated.
16808 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
16810         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16811         on CNT to a conditional jump to 'puntdata'.
16813 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16815         * configure.ac (libc_cv_gcc___thread): Remove configure test.
16816         (libc_cv_gcc_tls_model_attr): Likewise.
16817         * configure: Regenerated.
16819         * configure.ac (libc_cv_need_minus_P): Remove configure test.
16820         * configure: Regenerated.
16821         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16823 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
16825         * configure.ac (old_glibc_headers): Remove configure test.
16826         * configure: Regenerated.
16827         * config.make.in (old-glibc-headers): Remove variable.
16828         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16829         (install): Remove dependency on remove-old-headers.
16830         (headers2_0): Remove variable.
16831         (remove-old-headers): Remove rule.
16833         * configure.ac (libc_cv_dot_text): Remove configure test.
16834         (libc_cv_asm_set_directive): Use .text instead of
16835         ${libc_cv_dot_text} in configure test.
16836         * configure: Regenerated.
16838 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16840         [BZ #19168]
16841         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16843 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16845         * configure.ac (CXX): Clear the variable if the C++ toolchain does
16846         not support static linking.
16847         * configure: Regenerate.
16849 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
16851         * math/libm-test.inc (check_float_internal): Do not special-case
16852         errors up to 0.5 ulp.
16854         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16855         log2.
16856         * math/auto-libm-test-out: Regenerated.
16857         * math/libm-test.inc (MAX_EXP): New macro.
16858         (ilogb_test_data): Add more tests.
16859         (isfinite_test_data): Likewise.
16860         (isgreater_test_data): Likewise.
16861         (isgreaterequal_test_data): Likewise.
16862         (isinf_test_data): Likewise.
16863         (isless_test_data): Likewise.
16864         (islessequal_test_data): Likewise.
16865         (islessgreater_test_data): Likewise.
16866         (isnan_test_data): Likewise.
16867         (isnormal_test_data): Likewise.
16868         (issignaling_test_data): Likewise.
16869         (isunordered_test_data): Likewise.
16870         (j0_test_data): Likewise.
16871         (j1_test_data): Likewise.
16872         (jn_test_data): Likewise.
16873         (lgamma_test_data): Likewise.
16874         (log_test_data): Likewise.
16875         (log10_test_data): Likewise.
16876         (log1p_test_data): Likewise.
16877         (log2_test_data): Likewise.
16878         (logb_test_data): Likewise.
16879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16881         [BZ #18611]
16882         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16883         avoid excess range and precision on underflow.
16884         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16885         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16886         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16887         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16888         underflow.
16889         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16890         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16891         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16892         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16893         * math/auto-libm-test-in: Do not allow missing errno setting for
16894         tests of j1 and jn.
16895         * math/auto-libm-test-out: Regenerated.
16897 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
16899         [BZ #15491]
16900         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16901         floating-point environment instead of clearing all exceptions.
16902         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16903         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16904         merging in "invalid" exceptions from frndint.
16905         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16906         * math/test-nearbyint-except.c: New file.
16907         * math/Makefile (tests): Add test-nearbyint-except.
16909 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
16911         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16913         * sysdeps/tile/libm-test-ulps: Regenerated.
16915 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16918         (__NR_sync_file_range2): Assume it is always defined.
16919         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16920         (__NR_sync_file_range): Assume it is always defined.
16922 2015-10-22  Andreas Schwab  <schwab@suse.de>
16924         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16925         INTERNAL_SYSCALL_ERRNO.
16926         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16927         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16928         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16929         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16930         Likewise.
16931         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16933 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16935         * io/tst-fcntl.c (fd): New static variable.
16936         (do_prepare): Open temporary file here....
16937         (do_test): ...not here.
16939         * io/ftwtest-sh: Also trap on exit to remove temporary files.
16941 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16943         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16944         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16945         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16946         Moved before "#ifdef __ASSEMBLER__".
16948 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16950         [BZ #19156]
16951         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16952         arguments very close to 0.
16954 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
16956         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16957         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16959 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16961         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16962         New.  Defined for GCC 5 and above when not compiling for
16963         profiling.
16964         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16966         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16967         Renamed to ...
16968         (CFLAGS-epoll_pwait.o): This.
16969         (CFLAGS-mmap.c): Renamed to ...
16970         (CFLAGS-mmap.o): This.
16971         (CFLAGS-mmap64.c): Renamed to ...
16972         (CFLAGS-mmap64.o): This.
16973         (CFLAGS-epoll_pwait.os): New.
16974         (CFLAGS-mmap.os): Likewise.
16975         (CFLAGS-mmap64.os): Likewise.
16976         (CFLAGS-semtimedop.os): Likewise.
16977         (CFLAGS-semtimedop.c): Renamed to ...
16978         (CFLAGS-semtimedop.o): This.
16980 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16982         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16983         warning message.
16985 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16987         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16988         * Makefile ($(objpfx)c++-types-check.out): Filter out
16989         $(+gccwarn-c) instead of -Wstrict-prototypes.
16991         * io/fts.c (fts_open): Convert to prototype-style function
16992         definition.
16993         * malloc/mcheck.c (mcheck): Likewise.
16994         (mcheck_pedantic): Likewise.
16995         * posix/regexec.c (re_search_2_stub): Likewise.  Use
16996         internal_function.
16997         (re_search_internal): Likewise.
16998         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16999         prototype-style function definition.
17000         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17001         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17002         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
17003         (xdr_utmpptr): Likewise.
17004         (xdr_utmparr): Likewise.
17005         (xdr_utmpidle): Likewise.
17006         (xdr_utmpidleptr): Likewise.
17007         (xdr_utmpidlearr): Likewise.
17009         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
17010         log, log10 and log2.
17011         * math/auto-libm-test-out: Regenerated.
17012         * math/libm-test.inc (fmod_test_data): Add more tests.
17013         (fpclassify_test_data): Likewise.
17014         (frexp_test_data): Likewise.
17015         (hypot_test_data): Likewise.
17016         (ilogb_test_data): Likewise.
17018 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
17020         * debug/fortify_fail.c (__fortify_fail): Convert to
17021         prototype-style function definition.  Use internal_function.
17022         * libio/genops.c (save_for_backup): Convert to prototype-style
17023         function definition.
17024         * libio/wgenops.c (save_for_wbackup): Likewise.
17025         * login/grantpt.c (grantpt): Likewise.
17026         * login/ptsname.c (ptsname): Likewise.
17027         (__ptsname_r): Likewise.
17028         * login/unlockpt.c (unlockpt): Likewise.
17029         * mach/msgserver.c (__mach_msg_server): Likewise.
17030         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
17031         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
17032         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
17033         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17034         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
17035         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
17036         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
17037         Likewise.
17038         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
17039         internal_function.
17040         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
17041         prototype-style function definition.
17042         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
17043         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
17044         (__pthread_create_2_0): Likewise.
17045         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
17046         * nptl/register-atfork.c (__register_atfork): Likewise.
17047         * posix/glob.c (glob): Likewise.
17048         * posix/regcomp.c (re_comp): Likewise.
17049         * posix/regexec.c (re_exec): Likewise.
17050         * stdlib/add_n.c [__STDC__]: Make code unconditional.
17051         [!__STDC__]: Remove conditional code.
17052         * stdlib/cmp.c [__STDC__]: Make code unconditional.
17053         [!__STDC__]: Remove conditional code.
17054         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
17055         [!__STDC__]: Remove conditional code.
17056         * stdlib/divrem.c [__STDC__]: Make code unconditional.
17057         [!__STDC__]: Remove conditional code.
17058         * stdlib/lshift.c [__STDC__]: Make code unconditional.
17059         [!__STDC__]: Remove conditional code.
17060         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
17061         [!__STDC__]: Remove conditional code.
17062         * stdlib/mul.c [__STDC__]: Make code unconditional.
17063         [!__STDC__]: Remove conditional code.
17064         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
17065         [!__STDC__]: Remove conditional code.
17066         * stdlib/rshift.c [__STDC__]: Make code unconditional.
17067         [!__STDC__]: Remove conditional code.
17068         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
17069         function definition.
17070         (STRTOF): Likewise.
17071         * stdlib/strtod_l.c (__STRTOF): Likewise.
17072         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
17073         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
17074         (__strtol_l): Likewise.
17075         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
17076         [!__STDC__]: Remove conditional code.
17077         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
17078         definition.
17079         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17080         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17081         type.
17082         (__strcasecmp): Convert to prototype-style function definition.
17083         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
17084         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17085         type.
17086         (__strncasecmp): Convert to prototype-style function definition.
17087         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
17088         * sunrpc/xdr.c (xdr_union): Likewise.
17089         * sunrpc/xdr_array.c (xdr_array): Likewise.
17090         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
17091         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
17092         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
17093         Likewise.
17094         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
17095         Likewise.
17096         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
17097         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17098         Likewise.
17099         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
17100         (LOCALE_PARAM_PROTO): Likewise.
17101         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
17102         argument type.
17103         (ut_argument_spec): Remove macro.
17104         (ut_argument_spec_iso): Rename to ut_argument_spec.
17105         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
17106         prototype-style function definition.
17107         (memcpy_uppcase): Likewise.
17108         (__strftime_internal): Likewise.
17109         (my_strftime): Likewise.
17110         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
17111         (LOCALE_PARAM_DECL): Likewise.
17112         [_LIBC] (LOCALE_PARAM): Include argument type.
17113         (__strptime_internal): Convert to prototype-style function
17114         definition.
17115         (strptime): Likewise.
17116         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17117         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17118         type.
17119         (__wcscasecmp): Convert to prototype-style function definition.
17120         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
17121         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17122         type.
17123         (__wcsncasecmp): Convert to prototype-style function definition.
17125         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
17126         function definition.
17127         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17128         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17129         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
17130         * elf/dl-minimal.c (_itoa): Likewise.
17131         * hurd/hurdmalloc.c (malloc): Likewise.
17132         (free): Likewise.
17133         (realloc): Likewise.
17134         * inet/inet6_option.c (inet6_option_space): Likewise.
17135         (inet6_option_init): Likewise.
17136         (inet6_option_append): Likewise.
17137         (inet6_option_alloc): Likewise.
17138         (inet6_option_next): Likewise.
17139         (inet6_option_find): Likewise.
17140         * io/ftw.c (FTW_NAME): Likewise.
17141         (NFTW_NAME): Likewise.
17142         (NFTW_NEW_NAME): Likewise.
17143         (NFTW_OLD_NAME): Likewise.
17144         * libio/iofwide.c (_IO_fwide): Likewise.
17145         * libio/strops.c (_IO_str_init_static_internal): Likewise.
17146         (_IO_str_init_static): Likewise.
17147         (_IO_str_init_readonly): Likewise.
17148         (_IO_str_overflow): Likewise.
17149         (_IO_str_underflow): Likewise.
17150         (_IO_str_count): Likewise.
17151         (_IO_str_seekoff): Likewise.
17152         (_IO_str_pbackfail): Likewise.
17153         (_IO_str_finish): Likewise.
17154         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17155         (_IO_wstr_overflow): Likewise.
17156         (_IO_wstr_underflow): Likewise.
17157         (_IO_wstr_count): Likewise.
17158         (_IO_wstr_seekoff): Likewise.
17159         (_IO_wstr_pbackfail): Likewise.
17160         (_IO_wstr_finish): Likewise.
17161         * locale/programs/localedef.c (normalize_codeset): Likewise.
17162         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17163         (add_locales_to_archive): Likewise.
17164         (delete_locales_from_archive): Likewise.
17165         * malloc/malloc.c (__libc_mallinfo): Likewise.
17166         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17167         * misc/tsearch.c (__tfind): Likewise.
17168         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17169         * nptl/pthread_attr_getdetachstate.c
17170         (__pthread_attr_getdetachstate): Likewise.
17171         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17172         Likewise.
17173         * nptl/pthread_attr_getinheritsched.c
17174         (__pthread_attr_getinheritsched): Likewise.
17175         * nptl/pthread_attr_getschedparam.c
17176         (__pthread_attr_getschedparam): Likewise.
17177         * nptl/pthread_attr_getschedpolicy.c
17178         (__pthread_attr_getschedpolicy): Likewise.
17179         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17180         Likewise.
17181         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17182         Likewise.
17183         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17184         Likewise.
17185         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17186         Likewise.
17187         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17188         (__pthread_attr_init_2_0): Likewise.
17189         * nptl/pthread_attr_setdetachstate.c
17190         (__pthread_attr_setdetachstate): Likewise.
17191         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17192         Likewise.
17193         * nptl/pthread_attr_setinheritsched.c
17194         (__pthread_attr_setinheritsched): Likewise.
17195         * nptl/pthread_attr_setschedparam.c
17196         (__pthread_attr_setschedparam): Likewise.
17197         * nptl/pthread_attr_setschedpolicy.c
17198         (__pthread_attr_setschedpolicy): Likewise.
17199         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17200         Likewise.
17201         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17202         Likewise.
17203         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17204         Likewise.
17205         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17206         Likewise.
17207         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17208         Likewise.
17209         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17210         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17211         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17212         use internal_function.
17213         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17214         prototype-style function definition.
17215         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17216         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
17217         internal_function.
17218         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17219         Convert to prototype-style function definition.
17220         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17221         Likewise.
17222         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17223         Likewise.
17224         (__pthread_mutex_unlock): Likewise.
17225         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17226         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17227         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17228         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17229         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17230         * nss/makedb.c (process_input): Likewise.
17231         * posix/fnmatch.c (__strchrnul): Likewise.
17232         (__wcschrnul): Likewise.
17233         (fnmatch): Likewise.
17234         * posix/fnmatch_loop.c (FCT): Likewise.
17235         * posix/glob.c (globfree): Likewise.
17236         (__glob_pattern_type): Likewise.
17237         (__glob_pattern_p): Likewise.
17238         * posix/regcomp.c (re_compile_pattern): Likewise.
17239         (re_set_syntax): Likewise.
17240         (re_compile_fastmap): Likewise.
17241         (regcomp): Likewise.
17242         (regerror): Likewise.
17243         (regfree): Likewise.
17244         * posix/regexec.c (regexec): Likewise.
17245         (re_match): Likewise.
17246         (re_search): Likewise.
17247         (re_match_2): Likewise.
17248         (re_search_2): Likewise.
17249         (re_search_stub): Likewise.  Use internal_function
17250         (re_copy_regs): Likewise.
17251         (re_set_registers): Convert to prototype-style function
17252         definition.
17253         (prune_impossible_nodes): Likewise.  Use internal_function.
17254         * resolv/inet_net_pton.c (inet_net_pton): Convert to
17255         prototype-style function definition.
17256         (inet_net_pton_ipv4): Likewise.
17257         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17258         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17259         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17260         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17261         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17262         Make variadic.
17263         * time/strptime_l.c (localtime_r): Convert to prototype-style
17264         function definition.
17265         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17266         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17267         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17268         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17270         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17271         definition.
17272         (_ufc_doit_r): Likewise.
17273         * crypt/crypt_util.c (_ufc_copymem): Likewise.
17274         (_ufc_output_conversion_r): Likewise.
17275         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17276         * inet/rcmd.c (rcmd_af): Likewise.
17277         (rcmd): Likewise.
17278         (ruserok_af): Likewise.
17279         (ruserok): Likewise.
17280         (ruserok2_sa): Likewise.
17281         (ruserok_sa): Likewise.
17282         (iruserok_af): Likewise.
17283         (iruserok): Likewise.
17284         (__ivaliduser): Likewise.
17285         (__validuser2_sa): Likewise.
17286         * inet/rexec.c (rexec_af): Likewise.
17287         (rexec): Likewise.
17288         * inet/ruserpass.c (ruserpass): Likewise.
17289         * locale/programs/xmalloc.c (xcalloc): Likewise.
17290         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17291         * math/w_drem.c (__drem): Likewise.
17292         * math/w_dremf.c (__dremf): Likewise.
17293         * math/w_dreml.c (__dreml): Likewise.
17294         * misc/daemon.c (daemon): Likewise.
17295         * resolv/res_debug.c (p_fqnname): Likewise.
17296         * stdlib/div.c (div): Likewise.
17297         * string/memcmp.c (memcmp_bytes): Likewise.
17298         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17299         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17301         * crypt/cert.c (main): Convert to prototype-style function
17302         definition.
17303         * io/pipe.c (__pipe): Likewise.
17304         * io/pipe2.c (__pipe2): Likewise.
17305         * misc/futimesat.c (futimesat): Likewise.
17306         * misc/utimes.c (__utimes): Likewise.
17307         * posix/execve.c (__execve): Likewise.
17308         * posix/execvp.c (execvp): Likewise.
17309         * posix/execvpe.c (__execvpe): Likewise.
17310         * posix/fexecve.c (fexecve): Likewise.
17311         * socket/socketpair.c (socketpair): Likewise.
17312         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17313         * stdlib/erand48.c (erand48): Likewise.
17314         * stdlib/erand48_r.c (__erand48_r): Likewise.
17315         * stdlib/jrand48.c (jrand48): Likewise.
17316         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17317         * stdlib/lcong48.c (lcong48): Likewise.
17318         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17319         * stdlib/nrand48.c (nrand48): Likewise.
17320         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17321         * stdlib/seed48.c (seed48): Likewise.
17322         * stdlib/seed48_r.c (__seed48_r): Likewise.
17323         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17324         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17325         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17327 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17329         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17330         * configure: Regenerated.
17331         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17332         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17333         unconditional.
17334         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17335         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17336         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17337         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17338         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17339         unconditional.
17340         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17342         * posix/Makefile (CFLAGS-regex.c): Remove variable.
17343         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17345         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17346         function definition.
17347         * crypt/crypt_util.c (__encrypt_r): Likewise.
17348         * libio/genops.c (_IO_no_init): Likewise.
17349         * libio/iofopncook.c (_IO_fopencookie): Likewise.
17350         (_IO_old_fopencookie): Likewise.
17351         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17352         * libio/iogetline.c (_IO_getline): Likewise.
17353         (_IO_getline_info): Likewise.
17354         * libio/iogetwline.c (_IO_getwline): Likewise.
17355         (_IO_getwline_info): Likewise.
17356         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17357         * libio/vswprintf.c (_IO_vswprintf): Likewise.
17358         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17359         (find_entry): Likewise.
17360         (iterate_table): Likewise.
17361         (lookup): Likewise.
17362         * login/forkpty.c (forkpty): Likewise.
17363         * misc/hsearch_r.c (__hsearch_r): Likewise.
17364         * misc/select.c (__select): Likewise.
17365         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17366         Likewise.
17367         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17368         Likewise.
17369         * nptl/old_pthread_cond_timedwait.c
17370         (__pthread_cond_timedwait_2_0): Likewise.
17371         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17372         * nptl/pthread_barrierattr_getpshared.c
17373         (pthread_barrierattr_getpshared): Likewise.
17374         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17375         Likewise.
17376         * nptl/pthread_mutex_setprioceiling.c
17377         (pthread_mutex_setprioceiling): Likewise.
17378         * nptl/pthread_mutexattr_getprioceiling.c
17379         (pthread_mutexattr_getprioceiling): Likewise.
17380         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17381         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17382         Likewise.
17383         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17384         Likewise.
17385         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17386         Likewise.
17387         * socket/recvfrom.c (__recvfrom): Likewise.
17388         * socket/sendto.c (__sendto): Likewise.
17389         * socket/setsockopt.c (__setsockopt): Likewise.
17390         * stdio-common/_itoa.c (_itoa): Likewise.
17391         * stdio-common/_itowa.c (_itowa): Likewise.
17392         * stdio-common/reg-printf.c (__register_printf_specifier):
17393         Likewise.
17394         (__register_printf_function): Likewise.
17395         * stdio-common/tempname.c (__path_search): Likewise.
17396         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17397         * stdlib/mul_1.c (mpn_mul_1): Likewise.
17398         * stdlib/random_r.c (__initstate_r): Likewise.
17399         * stdlib/setenv.c (__add_to_environ): Likewise.
17400         * stdlib/submul_1.c (mpn_submul_1): Likewise.
17401         * streams/getpmsg.c (getpmsg): Likewise.
17402         * streams/putmsg.c (putmsg): Likewise.
17403         * streams/putpmsg.c (putpmsg): Likewise.
17404         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17405         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17406         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17407         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17408         * sunrpc/pm_getport.c (pmap_getport): Likewise.
17409         * sunrpc/svc_udp.c (cache_get): Likewise.
17410         * sunrpc/xdr_array.c (xdr_vector): Likewise.
17411         * sysdeps/mach/hurd/getcwd.c
17412         (__canonicalize_directory_name_internal): Likewise.
17413         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17414         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17415         * sysdeps/mach/hurd/select.c (__select): Likewise.
17416         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17417         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17418         * sysdeps/sparc/nptl/pthread_barrier_init.c
17419         (__pthread_barrier_init): Likewise.
17420         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17421         (__pthread_cond_timedwait): Likewise.
17422         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17423         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17424         Likewise.
17425         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17426         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17427         Likewise.
17428         * sysvipc/semtimedop.c (semtimedop): Likewise.
17429         * time/setitimer.c (__setitimer): Likewise.
17430         * time/strftime_l.c (emacs_strftime): Likewise.
17432 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17434         * config.make.in (have-ssp): Delete.
17435         (stack-protector): New variable.
17436         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
17437         cache test for -fstack-protector-strong.  Export stack_protector to
17438         the best ssp flag.
17439         * configure: Regenerated.
17440         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17441         * nscd/Makefile (CFLAGS-nscd): Likewise.
17442         * resolv/Makefile (CFLAGS-libresolv): Likewise.
17444 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
17446         [BZ #19122]
17447         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17448         attribute_hidden.
17450 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17452         [BZ #18743]
17453         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17454         code to...
17455         (ELIDE_LOCK): ...here.
17456         (__get_new_count): New function with part of the code from
17457         __elide_lock that updates the value of adapt_count after a
17458         transaction abort.
17459         (__elided_trylock): Moved this code to...
17460         (ELIDE_TRYLOCK): ...here.
17462 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17464         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17465         * configure: Regenerate.
17466         * INSTALL: Regenerate.
17467         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17468         and tweak grammar.
17470 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
17472         * login/programs/pt_chown.c: Include signal.h
17473         (main): Clear any signal mask from the parent process.
17475 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17477         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17478         * configure: Regenerated.
17479         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17480         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17481         $(gnu89-inline-CFLAGS).
17483         * configure.ac (libc_cv_asm_weak_directive): Remove configure
17484         test.
17485         (libc_cv_asm_weakext_directive): Likewise.
17486         * configure: Regenerated.
17487         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17488         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17489         * include/libc-symbols.h
17490         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17491         #error.
17492         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17493         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17495         * sysdeps/arm/backtrace.c (__backtrace): Convert to
17496         prototype-style function definition.
17497         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17498         * sysdeps/i386/ffs.c (__ffs): Likewise.
17499         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17500         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17501         Likewise.
17502         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17503         Likewise.
17504         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17505         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17506         Likewise.
17507         * sysdeps/m68k/ffs.c (__ffs): Likewise.
17508         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17509         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17510         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17511         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17512         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17513         * sysdeps/mach/hurd/access.c (__access): Likewise.
17514         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17515         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17516         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17517         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17518         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17519         (cthread_getspecific): Likewise.
17520         (cthread_setspecific): Likewise.
17521         (__libc_getspecific): Likewise.
17522         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17523         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17524         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17525         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17526         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17527         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17528         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17529         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17530         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17531         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17532         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17533         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17534         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17535         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17536         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17537         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17538         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17539         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17540         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17541         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17542         * sysdeps/mach/hurd/link.c (__link): Likewise.
17543         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17544         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17545         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17546         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17547         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17548         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17549         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17550         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17551         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17552         * sysdeps/mach/hurd/rename.c (rename): Likewise.
17553         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17554         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17555         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17556         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17557         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17558         * sysdeps/mach/hurd/send.c (__send): Likewise.
17559         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17560         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17561         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17562         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17563         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17564         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17565         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17566         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17567         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17568         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17569         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17570         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17571         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17572         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17573         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17574         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17575         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17576         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17577         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17578         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17579         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17580         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17581         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17582         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17583         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17584         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17585         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17586         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17587         * sysdeps/posix/alarm.c (alarm): Likewise.
17588         * sysdeps/posix/cuserid.c (cuserid): Likewise.
17589         * sysdeps/posix/dirfd.c (dirfd): Likewise.
17590         * sysdeps/posix/dup.c (__dup): Likewise.
17591         * sysdeps/posix/dup2.c (__dup2): Likewise.
17592         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17593         (main): Likewise.
17594         * sysdeps/posix/flock.c (__flock): Likewise.
17595         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17596         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17597         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17598         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17599         * sysdeps/posix/isatty.c (__isatty): Likewise.
17600         * sysdeps/posix/killpg.c (killpg): Likewise.
17601         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17602         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17603         * sysdeps/posix/raise.c (raise): Likewise.
17604         * sysdeps/posix/remove.c (remove): Likewise.
17605         * sysdeps/posix/rename.c (rename): Likewise.
17606         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17607         * sysdeps/posix/seekdir.c (seekdir): Likewise.
17608         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17609         * sysdeps/posix/sigignore.c (sigignore): Likewise.
17610         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17611         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17612         * sysdeps/posix/sigset.c (sigset): Likewise.
17613         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17614         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17615         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17616         * sysdeps/posix/time.c (time): Likewise.
17617         * sysdeps/posix/ttyname.c (getttyname): Likewise.
17618         (ttyname): Likewise.
17619         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17620         * sysdeps/posix/utime.c (utime): Likewise.
17621         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17622         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17623         Likewise.
17624         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17625         (pthread_spin_trylock): Likewise.
17626         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17627         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17628         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17629         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17630         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17631         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17632         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17633         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17634         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17635         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17636         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17637         * sysdeps/s390/ffs.c (__ffs): Likewise.
17638         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17639         Likewise.
17640         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17641         Likewise.
17642         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17643         Likewise.
17644         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17645         (pthread_barrier_destroy): Likewise.
17646         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17647         (__pthread_barrier_wait): Likewise.
17648         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17649         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17650         (__pthread_barrier_wait): Likewise.
17651         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17652         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17653         (memcmp_not_common_alignment): Likewise.
17654         (MEMCMP): Likewise.
17655         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17656         (_wordcopy_fwd_dest_aligned): Likewise.
17657         (_wordcopy_bwd_aligned): Likewise.
17658         (_wordcopy_bwd_dest_aligned): Likewise.
17659         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17660         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17661         * sysdeps/unix/bsd/stty.c (stty): Likewise.
17662         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17663         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17664         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17665         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17666         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17667         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17668         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17669         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17670         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17671         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17672         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17673         * sysdeps/unix/stime.c (stime): Likewise.
17674         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17675         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17676         Likewise.  Use internal_function.
17677         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17678         Convert to prototype-style function definition.
17679         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17680         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17681         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17682         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17683         Likewise.  Use internal_function.
17684         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17685         prototype-style function definition
17686         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17687         Likewise.
17688         (__getlogin_r): Likewise.
17689         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17690         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17691         (__pthread_cond_broadcast): Likewise.
17692         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17693         (__pthread_cond_destroy): Likewise.
17694         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17695         (__pthread_cond_init): Likewise.
17696         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17697         (__pthread_cond_signal): Likewise.
17698         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17699         (__pthread_cond_wait): Likewise.
17700         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17701         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17702         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17703         Likewise.
17704         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17705         Likewise.
17706         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17707         Likewise.
17708         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17709         Likewise.
17710         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17712         (__ftruncate64): Likewise.
17713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17714         (truncate64): Likewise.
17715         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17716         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17717         (pthread_getcpuclockid): Likewise.
17718         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17719         Likewise.
17720         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17721         Likewise.
17722         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17723         Likewise.
17724         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17725         Likewise.
17726         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17727         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17728         (__libc_sigaction): Likewise.
17729         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17730         Likewise.
17731         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17732         (__sigprocmask): Likewise.
17733         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17734         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17735         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17736         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17737         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17738         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17739         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17740         Likewise.
17741         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17742         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17743         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17744         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17745         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17746         Likewise.
17747         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17748         (__sigprocmask): Likewise.
17749         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17750         (cfgetispeed): Likewise.
17751         (cfsetospeed): Likewise.
17752         (cfsetispeed): Likewise.
17753         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17754         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17755         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17756         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17757         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17758         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17759         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17760         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17761         Likewise.
17762         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17763         Likewise.
17764         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17765         Likewise.
17766         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17767         Likewise.
17768         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17770 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17772         sunrpc: Rewrite with explicit TLS access using __thread.
17773         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17774         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17775         directly.
17776         (__rpc_thread_variables): Access thread_rpc_vars directly.
17777         Eliminate redundant assignment of the tvp variable.
17779 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17781         malloc: Rewrite with explicit TLS access using __thread.
17782         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17783         (tsd_setspecific, tsd_getspecific): Remove.
17784         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17785         (tsd_setspecific, tsd_getspecific): Likewise.
17786         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17787         (tsd_setspecific, tsd_getspecific): Likewise.
17788         * malloc/arena.c (thread_arena): New TLS variable.
17789         (arena_key): Remove variable.
17790         (arena_get): Use thread_arena.
17791         (arena_lookup): Remove macro.
17792         (malloc_atfork, free_atfork, ptmalloc_lock_all)
17793         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17794         (_int_new_arena, get_free_list, reused_arena)
17795         (arena_thread_freeres): Use thread_arena.
17796         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17797         tsd_getspecific, tsd_setspecific from safety annotations.
17798         (Allocating Cleared Space): Remove arena_lookup from safety
17799         annotations.
17801 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17803         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17804         struct scratch_buffer instead of extend_alloca.
17806 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17808         * sysdeps/unix/sysv/linux/kernel-features.h
17809         (__ASSUME_SOCK_CLOEXEC): Remove.
17810         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17811         (__have_paccept): Remove unused macro.
17812         * include/unistd.h (__have_sock_cloexec): Remove declaration.
17813         * misc/syslog.c (openlog_internal): Remove fallback code for
17814         !__ASSUME_SOCK_CLOEXEC.
17815         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17816         missing SOCK_CLOEXEC.
17817         * nscd/connections.c (have_sock_cloexec): Remove definition.
17818         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17819         * nscd/nscd_helper.c (open_socket): Remove fallback code for
17820         !__ASSUME_SOCK_CLOEXEC.
17821         * resolv/res_send.c (__have_o_nonblock): Remove definition.
17822         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17823         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17824         definition.
17825         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17826         code for !__ASSUME_SOCK_CLOEXEC.
17828 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17830         [BZ #18982]
17831         * manual/stdio.texi (Variable Arguments Output): Add portability
17832         note, explaining that vfprintf clobbers the va_list pointer.
17834 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17836         * math/libm-test.inc (fabs_test_data): Add more tests.
17837         (fdim_test_data): Likewise.
17838         (fma_test_data): Likewise.
17839         (fmax_test_data): Likewise.
17840         (fmin_test_data): Likewise.
17841         (fmod_test_data): Likewise.
17843 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
17845         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
17846         data.
17848 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17850         * math/libm-test.inc (ceil_test_data): Add more tests and more
17851         expectations for "inexact".
17852         (floor_test_data): Add more tests.
17853         (round_test_data): Likewise.
17854         (trunc_test_data): Likewise.
17856         * crypt/cert.c (good_bye): Convert to prototype-style function
17857         definition.
17858         (get8): Likewise.
17859         (put8): Likewise.
17860         * crypt/crypt-entry.c (crypt): Likewise.
17861         (__fcrypt): Likewise.
17862         * crypt/crypt_util.c (_ufc_prbits): Likewise.
17863         (_ufc_set_bits): Likewise.
17864         (_ufc_clearmem): Likewise.
17865         (__init_des_r): Likewise.
17866         (shuffle_sb): Likewise.
17867         (shuffle_sb): Likewise.
17868         (_ufc_setup_salt_r): Likewise.
17869         (_ufc_mk_keytab_r): Likewise.
17870         (_ufc_dofinalperm_r): Likewise.
17871         (encrypt): Likewise.
17872         (__setkey_r): Likewise.
17873         (setkey): Likewise.
17874         * crypt/md5.c (md5_init_ctx): Likewise.
17875         (md5_read_ctx): Likewise.
17876         (md5_finish_ctx): Likewise.
17877         (md5_stream): Likewise.
17878         (md5_buffer): Likewise.
17879         (md5_process_bytes): Likewise.
17880         * crypt/sha256.c (__sha256_init_ctx): Likewise.
17881         (__sha256_finish_ctx): Likewise.
17882         (__sha256_process_bytes): Likewise.
17883         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17884         (__sha512_finish_ctx): Likewise.
17885         (__sha512_process_bytes): Likewise.
17886         * ctype/isctype.c (__isctype): Likewise.
17887         * debug/backtrace.c (__backtrace): Likewise.
17888         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17889         * debug/fgets_chk.c (__fgets_chk): Likewise.
17890         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17891         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17892         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17893         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17894         * debug/memset_chk.c (__memset_chk): Likewise.
17895         * debug/strcat_chk.c (__strcat_chk): Likewise.
17896         * debug/strncat_chk.c (__strncat_chk): Likewise.
17897         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17898         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17899         * dirent/dirfd.c (dirfd): Likewise.
17900         * dirent/getdents.c (__getdirentries): Likewise.
17901         * dirent/getdents64.c (getdirentries64): Likewise.
17902         * dirent/rewinddir.c (__rewinddir): Likewise.
17903         * dirent/seekdir.c (seekdir): Likewise.
17904         * dirent/telldir.c (telldir): Likewise.
17905         * elf/sln.c (makesymlinks): Likewise.
17906         (makesymlink): Likewise.
17907         * gmon/gmon.c (__moncontrol): Likewise.
17908         (__monstartup): Likewise.
17909         (write_hist): Likewise.
17910         (write_call_graph): Likewise.
17911         (write_bb_counts): Likewise.
17912         * grp/setgroups.c (setgroups): Likewise.
17913         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17914         * inet/inet_net.c (inet_network): Likewise.
17915         * inet/inet_netof.c (inet_netof): Likewise.
17916         * inet/rcmd.c (rresvport_af): Likewise.
17917         (rresvport): Likewise.
17918         * io/access.c (__access): Likewise.
17919         * io/chdir.c (__chdir): Likewise.
17920         * io/chmod.c (__chmod): Likewise.
17921         * io/chown.c (__chown): Likewise.
17922         * io/close.c (__close): Likewise.
17923         * io/creat.c (creat): Likewise.
17924         * io/creat64.c (creat64): Likewise.
17925         * io/dup.c (__dup): Likewise.
17926         * io/dup2.c (__dup2): Likewise.
17927         * io/dup3.c (__dup3): Likewise.
17928         * io/euidaccess.c (__euidaccess): Likewise.
17929         * io/faccessat.c (faccessat): Likewise.
17930         * io/fchmod.c (__fchmod): Likewise.
17931         * io/fchmodat.c (fchmodat): Likewise.
17932         * io/fchown.c (__fchown): Likewise.
17933         * io/fchownat.c (fchownat): Likewise.
17934         * io/fcntl.c (__fcntl): Likewise.
17935         * io/flock.c (__flock): Likewise.
17936         * io/fts.c (fts_load): Likewise.
17937         (fts_close): Likewise.
17938         (fts_read): Likewise.
17939         (fts_set): Likewise.
17940         (fts_children): Likewise.
17941         (fts_build): Likewise.
17942         (fts_stat): Likewise.
17943         (fts_sort): Likewise.
17944         (fts_alloc): Likewise.
17945         (fts_lfree): Likewise.
17946         (fts_palloc): Likewise.
17947         (fts_padjust): Likewise.
17948         (fts_maxarglen): Likewise.
17949         (fts_safe_changedir): Likewise.
17950         * io/getwd.c (getwd): Likewise.
17951         * io/isatty.c (__isatty): Likewise.
17952         * io/lchown.c (__lchown): Likewise.
17953         * io/link.c (__link): Likewise.
17954         * io/linkat.c (linkat): Likewise.
17955         * io/lseek.c (__libc_lseek): Likewise.
17956         * io/mkdir.c (__mkdir): Likewise.
17957         * io/mkdirat.c (mkdirat): Likewise.
17958         * io/mkfifo.c (mkfifo): Likewise.
17959         * io/mkfifoat.c (mkfifoat): Likewise.
17960         * io/open.c (__libc_open): Likewise.
17961         * io/open64.c (__libc_open64): Likewise.
17962         * io/readlink.c (__readlink): Likewise.
17963         * io/readlinkat.c (readlinkat): Likewise.
17964         * io/rmdir.c (__rmdir): Likewise.
17965         * io/symlink.c (__symlink): Likewise.
17966         * io/symlinkat.c (symlinkat): Likewise.
17967         * io/ttyname.c (ttyname): Likewise.
17968         * io/ttyname_r.c (__ttyname_r): Likewise.
17969         * io/umask.c (__umask): Likewise.
17970         * io/unlink.c (__unlink): Likewise.
17971         * io/unlinkat.c (unlinkat): Likewise.
17972         * io/utime.c (utime): Likewise.
17973         * libio/clearerr.c (clearerr): Likewise.
17974         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17975         * libio/feof.c (_IO_feof): Likewise.
17976         * libio/feof_u.c (feof_unlocked): Likewise.
17977         * libio/ferror.c (_IO_ferror): Likewise.
17978         * libio/ferror_u.c (ferror_unlocked): Likewise.
17979         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17980         * libio/fileno.c (__fileno): Likewise.
17981         * libio/fputc.c (fputc): Likewise.
17982         * libio/fputc_u.c (fputc_unlocked): Likewise.
17983         * libio/fputwc.c (fputwc): Likewise.
17984         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17985         * libio/freopen.c (freopen): Likewise.
17986         * libio/freopen64.c (freopen64): Likewise.
17987         * libio/fseek.c (fseek): Likewise.
17988         * libio/fseeko.c (fseeko): Likewise.
17989         * libio/fseeko64.c (fseeko64): Likewise.
17990         * libio/ftello.c (__ftello): Likewise.
17991         * libio/ftello64.c (ftello64): Likewise.
17992         * libio/fwide.c (fwide): Likewise.
17993         * libio/genops.c (_IO_un_link): Likewise.
17994         (_IO_link_in): Likewise.
17995         (_IO_least_marker): Likewise.
17996         (_IO_switch_to_main_get_area): Likewise.
17997         (_IO_switch_to_backup_area): Likewise.
17998         (_IO_switch_to_get_mode): Likewise.
17999         (_IO_free_backup_area): Likewise.
18000         (_IO_switch_to_put_mode): Likewise.
18001         (__overflow): Likewise.
18002         (__underflow): Likewise.
18003         (__uflow): Likewise.
18004         (_IO_setb): Likewise.
18005         (_IO_doallocbuf): Likewise.
18006         (_IO_default_underflow): Likewise.
18007         (_IO_default_uflow): Likewise.
18008         (_IO_default_xsputn): Likewise.
18009         (_IO_sgetn): Likewise.
18010         (_IO_default_xsgetn): Likewise.
18011         (_IO_sync): Likewise.
18012         (_IO_default_setbuf): Likewise.
18013         (_IO_default_seekpos): Likewise.
18014         (_IO_default_doallocate): Likewise.
18015         (_IO_init): Likewise.
18016         (_IO_old_init): Likewise.
18017         (_IO_default_sync): Likewise.
18018         (_IO_default_finish): Likewise.
18019         (_IO_default_seekoff): Likewise.
18020         (_IO_sputbackc): Likewise.
18021         (_IO_sungetc): Likewise.
18022         (_IO_set_column): Likewise.
18023         (_IO_set_column): Likewise.
18024         (_IO_adjust_column): Likewise.
18025         (_IO_get_column): Likewise.
18026         (_IO_init_marker): Likewise.
18027         (_IO_remove_marker): Likewise.
18028         (_IO_marker_difference): Likewise.
18029         (_IO_marker_delta): Likewise.
18030         (_IO_seekmark): Likewise.
18031         (_IO_unsave_markers): Likewise.
18032         (_IO_nobackup_pbackfail): Likewise.
18033         (_IO_default_pbackfail): Likewise.
18034         (_IO_default_seek): Likewise.
18035         (_IO_default_stat): Likewise.
18036         (_IO_default_read): Likewise.
18037         (_IO_default_write): Likewise.
18038         (_IO_default_showmanyc): Likewise.
18039         (_IO_default_imbue): Likewise.
18040         (_IO_iter_next): Likewise.
18041         (_IO_iter_file): Likewise.
18042         * libio/getc.c (_IO_getc): Likewise.
18043         * libio/getwc.c (_IO_getwc): Likewise.
18044         * libio/iofclose.c (_IO_new_fclose): Likewise.
18045         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18046         * libio/iofflush.c (_IO_fflush): Likewise.
18047         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
18048         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
18049         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
18050         * libio/iofgets.c (_IO_fgets): Likewise.
18051         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
18052         * libio/iofgetws.c (fgetws): Likewise.
18053         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18054         * libio/iofopen64.c (_IO_fopen64): Likewise.
18055         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18056         (_IO_cookie_write): Likewise.
18057         (_IO_cookie_seek): Likewise.
18058         (_IO_cookie_close): Likewise.
18059         (_IO_cookie_seekoff): Likewise.
18060         (_IO_old_cookie_seek): Likewise.
18061         * libio/iofputs.c (_IO_fputs): Likewise.
18062         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
18063         * libio/iofputws.c (fputws): Likewise.
18064         * libio/iofputws_u.c (fputws_unlocked): Likewise.
18065         * libio/iofread.c (_IO_fread): Likewise.
18066         * libio/iofread_u.c (__fread_unlocked): Likewise.
18067         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
18068         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
18069         * libio/ioftell.c (_IO_ftell): Likewise.
18070         * libio/iofwrite.c (_IO_fwrite): Likewise.
18071         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18072         * libio/iogets.c (_IO_gets): Likewise.
18073         * libio/iopadn.c (_IO_padn): Likewise.
18074         * libio/iopopen.c (_IO_new_proc_open): Likewise.
18075         (_IO_new_popen): Likewise.
18076         (_IO_new_proc_close): Likewise.
18077         * libio/ioputs.c (_IO_puts): Likewise.
18078         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
18079         (_IO_seekoff): Likewise.
18080         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
18081         (_IO_seekpos): Likewise.
18082         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
18083         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
18084         * libio/ioungetc.c (_IO_ungetc): Likewise.
18085         * libio/ioungetwc.c (ungetwc): Likewise.
18086         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18087         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
18088         * libio/iowpadn.c (_IO_wpadn): Likewise.
18089         * libio/libc_fatal.c (__libc_fatal): Likewise.
18090         * libio/memstream.c (__open_memstream): Likewise.
18091         (_IO_mem_sync): Likewise.
18092         (_IO_mem_finish): Likewise.
18093         * libio/oldfileops.c (_IO_old_file_init): Likewise.
18094         (_IO_old_file_close_it): Likewise.
18095         (_IO_old_file_finish): Likewise.
18096         (_IO_old_file_fopen): Likewise.
18097         (_IO_old_file_attach): Likewise.
18098         (_IO_old_file_setbuf): Likewise.
18099         (_IO_old_do_write): Likewise.
18100         (old_do_write): Likewise.
18101         (_IO_old_file_underflow): Likewise.
18102         (_IO_old_file_overflow): Likewise.
18103         (_IO_old_file_sync): Likewise.
18104         (_IO_old_file_seekoff): Likewise.
18105         (_IO_old_file_write): Likewise.
18106         (_IO_old_file_xsputn): Likewise.
18107         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
18108         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18109         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
18110         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
18111         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18112         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
18113         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
18114         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
18115         (_IO_old_popen): Likewise.
18116         (_IO_old_proc_close): Likewise.
18117         * libio/oldpclose.c (__old_pclose): Likewise.
18118         * libio/pclose.c (__new_pclose): Likewise.
18119         * libio/peekc.c (_IO_peekc_locked): Likewise.
18120         * libio/putc.c (_IO_putc): Likewise.
18121         * libio/putc_u.c (putc_unlocked): Likewise.
18122         * libio/putchar.c (putchar): Likewise.
18123         * libio/putchar_u.c (putchar_unlocked): Likewise.
18124         * libio/putwc.c (putwc): Likewise.
18125         * libio/putwc_u.c (putwc_unlocked): Likewise.
18126         * libio/putwchar.c (putwchar): Likewise.
18127         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
18128         * libio/rewind.c (rewind): Likewise.
18129         * libio/setbuf.c (setbuf): Likewise.
18130         * libio/setlinebuf.c (setlinebuf): Likewise.
18131         * libio/vasprintf.c (_IO_vasprintf): Likewise.
18132         * libio/vscanf.c (_IO_vscanf): Likewise.
18133         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
18134         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
18135         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18136         * libio/wgenops.c (_IO_least_wmarker): Likewise.
18137         (_IO_switch_to_main_wget_area): Likewise.
18138         (_IO_switch_to_wbackup_area): Likewise.
18139         (_IO_wsetb): Likewise.
18140         (_IO_wdefault_pbackfail): Likewise.
18141         (_IO_wdefault_finish): Likewise.
18142         (_IO_wdefault_uflow): Likewise.
18143         (__woverflow): Likewise.
18144         (__wuflow): Likewise.
18145         (__wunderflow): Likewise.
18146         (_IO_wdefault_xsputn): Likewise.
18147         (_IO_wdefault_xsgetn): Likewise.
18148         (_IO_wdoallocbuf): Likewise.
18149         (_IO_wdefault_doallocate): Likewise.
18150         (_IO_switch_to_wget_mode): Likewise.
18151         (_IO_free_wbackup_area): Likewise.
18152         (_IO_switch_to_wput_mode): Likewise.
18153         (_IO_sputbackwc): Likewise.
18154         (_IO_sungetwc): Likewise.
18155         (_IO_adjust_wcolumn): Likewise.
18156         (_IO_init_wmarker): Likewise.
18157         (_IO_wmarker_delta): Likewise.
18158         (_IO_seekwmark): Likewise.
18159         (_IO_unsave_wmarkers): Likewise.
18160         * libio/wmemstream.c (open_wmemstream): Likewise.
18161         (_IO_wmem_sync): Likewise.
18162         (_IO_wmem_finish): Likewise.
18163         * locale/nl_langinfo.c (nl_langinfo): Likewise.
18164         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18165         * locale/programs/simple-hash.c (init_hash): Likewise.
18166         (delete_hash): Likewise.
18167         (insert_entry): Likewise.
18168         (set_entry): Likewise.
18169         (next_prime): Likewise.
18170         (is_prime): Likewise.
18171         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18172         (xmalloc): Likewise.
18173         (xrealloc): Likewise.
18174         * locale/programs/xstrdup.c (xstrdup): Likewise.
18175         * localedata/collate-test.c (xstrcoll): Likewise.
18176         * localedata/xfrm-test.c (xstrcmp): Likewise.
18177         * login/getlogin_r.c (__getlogin_r): Likewise.
18178         * login/getpt.c (__posix_openpt): Likewise.
18179         * login/login_tty.c (login_tty): Likewise.
18180         * login/setlogin.c (setlogin): Likewise.
18181         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18182         (mach_msg_destroy_port): Likewise.
18183         (mach_msg_destroy_memory): Likewise.
18184         * malloc/mcheck.c (flood): Likewise.
18185         * misc/acct.c (acct): Likewise.
18186         * misc/brk.c (__brk): Likewise.
18187         * misc/chflags.c (chflags): Likewise.
18188         * misc/chroot.c (chroot): Likewise.
18189         * misc/fchflags.c (fchflags): Likewise.
18190         * misc/fstab.c (getfsspec): Likewise.
18191         (getfsfile): Likewise.
18192         * misc/fsync.c (fsync): Likewise.
18193         * misc/ftruncate.c (__ftruncate): Likewise.
18194         * misc/ftruncate64.c (__ftruncate64): Likewise.
18195         * misc/getdomain.c (getdomainname): Likewise.
18196         (getdomainname): Likewise.
18197         * misc/gethostname.c (__gethostname): Likewise.
18198         * misc/getpass.c (getpass): Likewise.
18199         * misc/getttyent.c (skip): Likewise.
18200         (value): Likewise.
18201         * misc/gtty.c (gtty): Likewise.
18202         * misc/hsearch.c (hsearch): Likewise.
18203         (hcreate): Likewise.
18204         * misc/hsearch_r.c (__hcreate_r): Likewise.
18205         (__hdestroy_r): Likewise.
18206         * misc/ioctl.c (__ioctl): Likewise.
18207         * misc/mkdtemp.c (mkdtemp): Likewise.
18208         * misc/mkostemp.c (mkostemp): Likewise.
18209         * misc/mkostemp64.c (mkostemp64): Likewise.
18210         * misc/mkostemps.c (mkostemps): Likewise.
18211         * misc/mkostemps64.c (mkostemps64): Likewise.
18212         * misc/mkstemp.c (mkstemp): Likewise.
18213         * misc/mkstemp64.c (mkstemp64): Likewise.
18214         * misc/mkstemps.c (mkstemps): Likewise.
18215         * misc/mkstemps64.c (mkstemps64): Likewise.
18216         * misc/mktemp.c (__mktemp): Likewise.
18217         * misc/preadv.c (preadv): Likewise.
18218         * misc/preadv64.c (preadv64): Likewise.
18219         * misc/pwritev.c (pwritev): Likewise.
18220         * misc/pwritev64.c (pwritev64): Likewise.
18221         * misc/readv.c (__readv): Likewise.
18222         * misc/revoke.c (revoke): Likewise.
18223         * misc/setdomain.c (setdomainname): Likewise.
18224         * misc/setegid.c (setegid): Likewise.
18225         * misc/seteuid.c (seteuid): Likewise.
18226         * misc/sethostid.c (sethostid): Likewise.
18227         * misc/sethostname.c (sethostname): Likewise.
18228         * misc/setregid.c (__setregid): Likewise.
18229         * misc/setreuid.c (__setreuid): Likewise.
18230         * misc/sstk.c (sstk): Likewise.
18231         * misc/stty.c (stty): Likewise.
18232         * misc/syscall.c (syscall): Likewise.
18233         * misc/syslog.c (setlogmask): Likewise.
18234         * misc/truncate.c (__truncate): Likewise.
18235         * misc/truncate64.c (truncate64): Likewise.
18236         * misc/ualarm.c (ualarm): Likewise.
18237         * misc/usleep.c (usleep): Likewise.
18238         * misc/ustat.c (ustat): Likewise.
18239         * misc/writev.c (__writev): Likewise.
18240         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18241         * nptl/old_pthread_cond_broadcast.c
18242         (__pthread_cond_broadcast_2_0): Likewise.
18243         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18244         Likewise.
18245         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18246         Likewise.
18247         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18248         Likewise.
18249         * nptl/pt-raise.c (raise): Likewise.
18250         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18251         Likewise.
18252         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18253         * nptl/pthread_barrierattr_destroy.c
18254         (pthread_barrierattr_destroy): Likewise.
18255         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18256         Likewise.
18257         * nptl/pthread_barrierattr_setpshared.c
18258         (pthread_barrierattr_setpshared): Likewise.
18259         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18260         Likewise.
18261         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18262         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18263         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18264         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18265         Likewise.
18266         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18267         Likewise.
18268         * nptl/pthread_condattr_getpshared.c
18269         (pthread_condattr_getpshared): Likewise.
18270         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18271         Likewise.
18272         * nptl/pthread_condattr_setpshared.c
18273         (pthread_condattr_setpshared): Likewise.
18274         * nptl/pthread_detach.c (pthread_detach): Likewise.
18275         * nptl/pthread_equal.c (__pthread_equal): Likewise.
18276         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18277         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18278         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18279         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18280         Likewise.
18281         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18282         Likewise.
18283         * nptl/pthread_mutex_getprioceiling.c
18284         (pthread_mutex_getprioceiling): Likewise.
18285         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18286         Likewise.
18287         * nptl/pthread_mutexattr_getprotocol.c
18288         (pthread_mutexattr_getprotocol): Likewise.
18289         * nptl/pthread_mutexattr_getpshared.c
18290         (pthread_mutexattr_getpshared): Likewise.
18291         * nptl/pthread_mutexattr_getrobust.c
18292         (pthread_mutexattr_getrobust): Likewise.
18293         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18294         Likewise.
18295         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18296         Likewise.
18297         * nptl/pthread_mutexattr_setprioceiling.c
18298         (pthread_mutexattr_setprioceiling): Likewise.
18299         * nptl/pthread_mutexattr_setprotocol.c
18300         (pthread_mutexattr_setprotocol): Likewise.
18301         * nptl/pthread_mutexattr_setpshared.c
18302         (pthread_mutexattr_setpshared): Likewise.
18303         * nptl/pthread_mutexattr_setrobust.c
18304         (pthread_mutexattr_setrobust): Likewise.
18305         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18306         Likewise.
18307         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18308         Likewise.
18309         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18310         Likewise.
18311         * nptl/pthread_rwlockattr_getkind_np.c
18312         (pthread_rwlockattr_getkind_np): Likewise.
18313         * nptl/pthread_rwlockattr_getpshared.c
18314         (pthread_rwlockattr_getpshared): Likewise.
18315         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18316         Likewise.
18317         * nptl/pthread_rwlockattr_setkind_np.c
18318         (pthread_rwlockattr_setkind_np): Likewise.
18319         * nptl/pthread_rwlockattr_setpshared.c
18320         (pthread_rwlockattr_setpshared): Likewise.
18321         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18322         Likewise.
18323         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18324         Likewise.
18325         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18326         Likewise.
18327         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18328         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18329         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18330         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18331         * nptl/sem_close.c (sem_close): Likewise.
18332         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18333         * nptl/sem_init.c (__old_sem_init): Likewise.
18334         * nptl/sigaction.c (__sigaction): Likewise.
18335         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18336         * posix/_exit.c (_exit): Likewise.
18337         * posix/alarm.c (alarm): Likewise.
18338         * posix/confstr.c (confstr): Likewise.
18339         * posix/fpathconf.c (__fpathconf): Likewise.
18340         * posix/getgroups.c (__getgroups): Likewise.
18341         * posix/getpgid.c (__getpgid): Likewise.
18342         * posix/group_member.c (__group_member): Likewise.
18343         * posix/pathconf.c (__pathconf): Likewise.
18344         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18345         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18346         * posix/setgid.c (__setgid): Likewise.
18347         * posix/setpgid.c (__setpgid): Likewise.
18348         * posix/setuid.c (__setuid): Likewise.
18349         * posix/sleep.c (__sleep): Likewise.
18350         * posix/sysconf.c (__sysconf): Likewise.
18351         * posix/times.c (__times): Likewise.
18352         * posix/uname.c (__uname): Likewise.
18353         * posix/waitid.c (__waitid): Likewise.
18354         * pwd/getpw.c (__getpw): Likewise.
18355         * resolv/base64.c (b64_pton): Likewise.
18356         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18357         * resolv/gethnamaddr.c (Dprintf): Likewise.
18358         (gethostbyname): Likewise.
18359         (gethostbyname2): Likewise.
18360         (gethostbyaddr): Likewise.
18361         (_sethtent): Likewise.
18362         (_gethtbyname): Likewise.
18363         (_gethtbyname2): Likewise.
18364         (_gethtbyaddr): Likewise.
18365         (map_v4v6_address): Likewise.
18366         (map_v4v6_hostent): Likewise.
18367         (addrsort): Likewise.
18368         (ht_sethostent): Likewise.
18369         (ht_gethostbyname): Likewise.
18370         (ht_gethostbyaddr): Likewise.
18371         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18372         (inet_net_ntop_ipv4): Likewise.
18373         * resolv/inet_neta.c (inet_neta): Likewise.
18374         * resolv/inet_ntop.c (inet_ntop): Likewise.
18375         (inet_ntop4): Likewise.
18376         (inet_ntop6): Likewise.
18377         * resolv/inet_pton.c (__inet_pton): Likewise.
18378         (inet_pton4): Likewise.
18379         (inet_pton6): Likewise.
18380         * resolv/res_debug.c (loc_aton): Likewise.
18381         (loc_ntoa): Likewise.
18382         * resource/getpriority.c (__getpriority): Likewise.
18383         * resource/getrusage.c (__getrusage): Likewise.
18384         * resource/nice.c (nice): Likewise.
18385         * resource/setpriority.c (__setpriority): Likewise.
18386         * resource/setrlimit64.c (setrlimit64): Likewise.
18387         * resource/vlimit.c (vlimit): Likewise.
18388         * resource/vtimes.c (vtimes): Likewise.
18389         * rt/aio_error.c (aio_error): Likewise.
18390         * rt/aio_return.c (aio_return): Likewise.
18391         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18392         * signal/kill.c (__kill): Likewise.
18393         * signal/killpg.c (killpg): Likewise.
18394         * signal/raise.c (raise): Likewise.
18395         * signal/sigaction.c (__sigaction): Likewise.
18396         * signal/sigaddset.c (sigaddset): Likewise.
18397         * signal/sigaltstack.c (sigaltstack): Likewise.
18398         * signal/sigandset.c (sigandset): Likewise.
18399         * signal/sigblock.c (__sigblock): Likewise.
18400         * signal/sigdelset.c (sigdelset): Likewise.
18401         * signal/sigempty.c (sigemptyset): Likewise.
18402         * signal/sigfillset.c (sigfillset): Likewise.
18403         * signal/sighold.c (sighold): Likewise.
18404         * signal/sigignore.c (sigignore): Likewise.
18405         * signal/sigintr.c (siginterrupt): Likewise.
18406         * signal/sigisempty.c (sigisemptyset): Likewise.
18407         * signal/sigismem.c (sigismember): Likewise.
18408         * signal/signal.c (signal): Likewise.
18409         * signal/sigorset.c (sigorset): Likewise.
18410         * signal/sigpause.c (__sigpause): Likewise.
18411         * signal/sigpending.c (sigpending): Likewise.
18412         * signal/sigprocmask.c (__sigprocmask): Likewise.
18413         * signal/sigrelse.c (sigrelse): Likewise.
18414         * signal/sigreturn.c (__sigreturn): Likewise.
18415         * signal/sigset.c (sigset): Likewise.
18416         * signal/sigsetmask.c (__sigsetmask): Likewise.
18417         * signal/sigstack.c (sigstack): Likewise.
18418         * signal/sigsuspend.c (__sigsuspend): Likewise.
18419         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18420         * signal/sysv_signal.c (__sysv_signal): Likewise.
18421         * socket/accept.c (accept): Likewise.
18422         * socket/accept4.c (__libc_accept4): Likewise.
18423         * socket/bind.c (__bind): Likewise.
18424         * socket/connect.c (__connect): Likewise.
18425         * socket/getpeername.c (getpeername): Likewise.
18426         * socket/getsockname.c (__getsockname): Likewise.
18427         * socket/getsockopt.c (getsockopt): Likewise.
18428         * socket/listen.c (__listen): Likewise.
18429         * socket/recv.c (__recv): Likewise.
18430         * socket/recvmsg.c (__recvmsg): Likewise.
18431         * socket/send.c (__send): Likewise.
18432         * socket/sendmsg.c (__sendmsg): Likewise.
18433         * socket/shutdown.c (shutdown): Likewise.
18434         * socket/sockatmark.c (sockatmark): Likewise.
18435         * socket/socket.c (__socket): Likewise.
18436         * stdio-common/ctermid.c (ctermid): Likewise.
18437         * stdio-common/cuserid.c (cuserid): Likewise.
18438         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18439         * stdio-common/remove.c (remove): Likewise.
18440         * stdio-common/rename.c (rename): Likewise.
18441         * stdio-common/renameat.c (renameat): Likewise.
18442         * stdio-common/tempname.c (__gen_tempname): Likewise.
18443         * stdio-common/xbug.c (InitBuffer): Likewise.
18444         (AppendToBuffer): Likewise.
18445         (ReadFile): Likewise.
18446         * stdlib/a64l.c (a64l): Likewise.
18447         * stdlib/drand48_r.c (drand48_r): Likewise.
18448         * stdlib/getcontext.c (getcontext): Likewise.
18449         * stdlib/getenv.c (getenv): Likewise.
18450         * stdlib/l64a.c (l64a): Likewise.
18451         * stdlib/llabs.c (llabs): Likewise.
18452         * stdlib/lldiv.c (lldiv): Likewise.
18453         * stdlib/lrand48_r.c (lrand48_r): Likewise.
18454         * stdlib/mrand48_r.c (mrand48_r): Likewise.
18455         * stdlib/putenv.c (putenv): Likewise.
18456         * stdlib/random.c (__srandom): Likewise.
18457         (__initstate): Likewise.
18458         (__setstate): Likewise.
18459         * stdlib/random_r.c (__srandom_r): Likewise.
18460         (__setstate_r): Likewise.
18461         (__random_r): Likewise.
18462         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18463         * stdlib/setcontext.c (setcontext): Likewise.
18464         * stdlib/setenv.c (setenv): Likewise.
18465         (unsetenv): Likewise.
18466         * stdlib/srand48.c (srand48): Likewise.
18467         * stdlib/srand48_r.c (__srand48_r): Likewise.
18468         * stdlib/swapcontext.c (swapcontext): Likewise.
18469         * stdlib/system.c (__libc_system): Likewise.
18470         * stdlib/tst-strtod.c (expand): Likewise.
18471         * stdlib/tst-strtol.c (expand): Likewise.
18472         * stdlib/tst-strtoll.c (expand): Likewise.
18473         * streams/fattach.c (fattach): Likewise.
18474         * streams/fdetach.c (fdetach): Likewise.
18475         * streams/getmsg.c (getmsg): Likewise.
18476         * streams/isastream.c (isastream): Likewise.
18477         * string/ffs.c (__ffs): Likewise.
18478         * string/ffsll.c (ffsll): Likewise.
18479         * string/memcmp.c (memcmp_common_alignment): Likewise.
18480         (memcmp_not_common_alignment): Likewise.
18481         (MEMCMP): Likewise.
18482         * string/memcpy.c (memcpy): Likewise.
18483         * string/memmove.c (MEMMOVE): Likewise.
18484         * string/memset.c (memset): Likewise.
18485         * string/rawmemchr.c (RAWMEMCHR): Likewise.
18486         * string/strchrnul.c (STRCHRNUL): Likewise.
18487         * string/strerror.c (strerror): Likewise.
18488         * string/strndup.c (__strndup): Likewise.
18489         * string/strverscmp.c (__strverscmp): Likewise.
18490         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18491         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18492         (clnttcp_freeres): Likewise.
18493         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18494         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18495         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18496         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18497         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18498         (xdr_callhdr): Likewise.
18499         * sunrpc/rpcinfo.c (udpping): Likewise.
18500         (tcpping): Likewise.
18501         (pstatus): Likewise.
18502         (pmapdump): Likewise.
18503         (brdcst): Likewise.
18504         (deletereg): Likewise.
18505         (getprognum): Likewise.
18506         (getvers): Likewise.
18507         (get_inet_address): Likewise.
18508         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18509         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18510         (svcudp_stat): Likewise.
18511         (svcudp_recv): Likewise.
18512         (svcudp_reply): Likewise.
18513         (svcudp_getargs): Likewise.
18514         (svcudp_freeargs): Likewise.
18515         (svcudp_destroy): Likewise.
18516         * sunrpc/xdr.c (xdr_bytes): Likewise.
18517         (xdr_netobj): Likewise.
18518         (xdr_string): Likewise.
18519         (xdr_wrapstring): Likewise.
18520         * sunrpc/xdr_float.c (xdr_float): Likewise.
18521         (xdr_double): Likewise.
18522         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18523         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18524         * sysvipc/ftok.c (ftok): Likewise.
18525         * sysvipc/msgctl.c (msgctl): Likewise.
18526         * sysvipc/msgget.c (msgget): Likewise.
18527         * sysvipc/msgrcv.c (msgrcv): Likewise.
18528         * sysvipc/msgsnd.c (msgsnd): Likewise.
18529         * sysvipc/semget.c (semget): Likewise.
18530         * sysvipc/semop.c (semop): Likewise.
18531         * sysvipc/shmat.c (shmat): Likewise.
18532         * sysvipc/shmctl.c (shmctl): Likewise.
18533         * sysvipc/shmdt.c (shmdt): Likewise.
18534         * sysvipc/shmget.c (shmget): Likewise.
18535         * termios/cfmakeraw.c (cfmakeraw): Likewise.
18536         * termios/speed.c (cfgetospeed): Likewise.
18537         (cfgetispeed): Likewise.
18538         (cfsetospeed): Likewise.
18539         (cfsetispeed): Likewise.
18540         * termios/tcflow.c (tcflow): Likewise.
18541         * termios/tcflush.c (tcflush): Likewise.
18542         * termios/tcgetattr.c (__tcgetattr): Likewise.
18543         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18544         * termios/tcgetsid.c (tcgetsid): Likewise.
18545         * termios/tcsendbrk.c (tcsendbreak): Likewise.
18546         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18547         * time/adjtime.c (__adjtime): Likewise.
18548         * time/dysize.c (dysize): Likewise.
18549         * time/ftime.c (ftime): Likewise.
18550         * time/getitimer.c (__getitimer): Likewise.
18551         * time/gettimeofday.c (__gettimeofday): Likewise.
18552         * time/gmtime.c (__gmtime_r): Likewise.
18553         (gmtime): Likewise.
18554         * time/localtime.c (__localtime_r): Likewise.
18555         (localtime): Likewise.
18556         * time/offtime.c (__offtime): Likewise.
18557         * time/settimeofday.c (__settimeofday): Likewise.
18558         * time/stime.c (stime): Likewise.
18559         * time/strftime_l.c (tm_diff): Likewise.
18560         (iso_week_days): Likewise.
18561         * time/strptime.c (strptime): Likewise.
18562         * time/time.c (time): Likewise.
18563         * time/timespec_get.c (timespec_get): Likewise.
18564         * time/tzset.c (tzset_internal): Likewise.
18565         (compute_change): Likewise.
18566         (__tz_compute): Likewise.
18567         * wcsmbs/btowc.c (__btowc): Likewise.
18568         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18569         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18570         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18571         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18572         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18573         * wcsmbs/wcscat.c (__wcscat): Likewise.
18574         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18575         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18576         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18577         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18578         * wcsmbs/wcsdup.c (wcsdup): Likewise.
18579         * wcsmbs/wcslen.c (__wcslen): Likewise.
18580         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18581         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18582         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18583         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18584         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18585         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18586         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18587         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18588         * wcsmbs/wcstok.c (wcstok): Likewise.
18589         * wcsmbs/wctob.c (wctob): Likewise.
18590         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18591         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18592         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18593         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18594         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18595         * wcsmbs/wmemset.c (__wmemset): Likewise.
18596         * wctype/wcfuncs.c (__towlower): Likewise.
18597         (__towupper): Likewise.
18599         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18600         (lll_unlock_elision): Add adapt_count parameter.
18602 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18604         * sysdeps/nptl/configure.ac: Do not give errors based on the
18605         results of top-level configure tests.
18606         * sysdeps/nptl/configure: Regenerated.
18608         * configure.ac (libc_cv_Bgroup): Remove configure test.
18609         * configure: Regenerated.
18610         * config.make.in (have-Bgroup): Remove variable.
18612         * configure.ac (sizeof_long_double): Remove configure test.
18613         * configure: Regenerated.
18614         * config.make.in (sizeof-long-double): Remove variable.
18616         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18617         * configure: Regenerated.
18618         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18619         variable.
18620         (exceptions): Likewise.
18621         * sysdeps/arm/configure: Regenerated.
18622         * config.make.in (exceptions): Remove variable.
18623         * Makeconfig (uses-callbacks): Use -fexceptions instead of
18624         $(exceptions).
18625         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18626         (CFLAGS-vdprintf_chk.c): Likewise.
18627         (CFLAGS-printf_chk.c): Likewise.
18628         (CFLAGS-fprintf_chk.c): Likewise.
18629         (CFLAGS-vprintf_chk.c): Likewise.
18630         (CFLAGS-vfprintf_chk.c): Likewise.
18631         (CFLAGS-gets_chk.c): Likewise.
18632         (CFLAGS-fgets_chk.c): Likewise.
18633         (CFLAGS-fgets_u_chk.c): Likewise.
18634         (CFLAGS-fread_chk.c): Likewise.
18635         (CFLAGS-fread_u_chk.c): Likewise.
18636         (CFLAGS-wprintf_chk.c): Likewise.
18637         (CFLAGS-fwprintf_chk.c): Likewise.
18638         (CFLAGS-vwprintf_chk.c): Likewise.
18639         (CFLAGS-vfwprintf_chk.c): Likewise.
18640         (CFLAGS-fgetws_chk.c): Likewise.
18641         (CFLAGS-fgetws_u_chk.c): Likewise.
18642         * libio/Makefile (CFLAGS-fileops.c): Likewise.
18643         (CFLAGS-fputc.c): Likewise.
18644         (CFLAGS-fputwc.c): Likewise.
18645         (CFLAGS-freopen64.c): Likewise.
18646         (CFLAGS-freopen.c): Likewise.
18647         (CFLAGS-fseek.c): Likewise.
18648         (CFLAGS-fseeko64.c): Likewise.
18649         (CFLAGS-fseeko.c): Likewise.
18650         (CFLAGS-ftello64.c): Likewise.
18651         (CFLAGS-ftello.c): Likewise.
18652         (CFLAGS-fwide.c): Likewise.
18653         (CFLAGS-genops.c): Likewise.
18654         (CFLAGS-getc.c): Likewise.
18655         (CFLAGS-getchar.c): Likewise.
18656         (CFLAGS-getwc.c): Likewise.
18657         (CFLAGS-getwchar.c): Likewise.
18658         (CFLAGS-iofclose.c): Likewise.
18659         (CFLAGS-iofflush.c): Likewise.
18660         (CFLAGS-iofgetpos64.c): Likewise.
18661         (CFLAGS-iofgetpos.c): Likewise.
18662         (CFLAGS-iofgets.c): Likewise.
18663         (CFLAGS-iofgetws.c): Likewise.
18664         (CFLAGS-iofputs.c): Likewise.
18665         (CFLAGS-iofputws.c): Likewise.
18666         (CFLAGS-iofread.c): Likewise.
18667         (CFLAGS-iofsetpos64.c): Likewise.
18668         (CFLAGS-iofsetpos.c): Likewise.
18669         (CFLAGS-ioftell.c): Likewise.
18670         (CFLAGS-iofwrite.c): Likewise.
18671         (CFLAGS-iogetdelim.c): Likewise.
18672         (CFLAGS-iogetline.c): Likewise.
18673         (CFLAGS-iogets.c): Likewise.
18674         (CFLAGS-iogetwline.c): Likewise.
18675         (CFLAGS-ioputs.c): Likewise.
18676         (CFLAGS-ioseekoff.c): Likewise.
18677         (CFLAGS-ioseekpos.c): Likewise.
18678         (CFLAGS-iosetbuffer.c): Likewise.
18679         (CFLAGS-iosetvbuf.c): Likewise.
18680         (CFLAGS-ioungetc.c): Likewise.
18681         (CFLAGS-ioungetwc.c): Likewise.
18682         (CFLAGS-oldfileops.c): Likewise.
18683         (CFLAGS-oldiofclose.c): Likewise.
18684         (CFLAGS-oldiofgetpos64.c): Likewise.
18685         (CFLAGS-oldiofgetpos.c): Likewise.
18686         (CFLAGS-oldiofsetpos64.c): Likewise.
18687         (CFLAGS-oldiofsetpos.c): Likewise.
18688         (CFLAGS-peekc.c): Likewise.
18689         (CFLAGS-putc.c): Likewise.
18690         (CFLAGS-putchar.c): Likewise.
18691         (CFLAGS-putwc.c): Likewise.
18692         (CFLAGS-putwchar.c): Likewise.
18693         (CFLAGS-rewind.c): Likewise.
18694         (CFLAGS-wfileops.c): Likewise.
18695         (CFLAGS-wgenops.c): Likewise.
18696         (CFLAGS-oldiofopen.c): Likewise.
18697         (CFLAGS-iofopen.c): Likewise.
18698         (CFLAGS-iofopen64.c): Likewise.
18699         (CFLAGS-oldtmpfile.c): Likewise.
18700         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18701         (CFLAGS-fprintf.c): Likewise.
18702         (CFLAGS-printf.c): Likewise.
18703         (CFLAGS-vfwprintf.c): Likewise.
18704         (CFLAGS-vfscanf.c): Likewise.
18705         (CFLAGS-vfwscanf.c): Likewise.
18706         (CFLAGS-fscanf.c): Likewise.
18707         (CFLAGS-scanf.c): Likewise.
18708         (CFLAGS-isoc99_vfscanf.c): Likewise.
18709         (CFLAGS-isoc99_vscanf.c): Likewise.
18710         (CFLAGS-isoc99_fscanf.c): Likewise.
18711         (CFLAGS-isoc99_scanf.c): Likewise.
18712         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18713         (CFLAGS-isoc99_fwscanf.c): Likewise.
18714         (CFLAGS-isoc99_vwscanf.c): Likewise.
18715         (CFLAGS-isoc99_vfwscanf.c): Likewise.
18717         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18718         after mkstemp64.
18719         * login/tst-utmp.c (do_prepare): Likewise.
18720         * rt/tst-aio.c (do_prepare): Likewise.
18721         * rt/tst-aio64.c (do_prepare): Likewise.
18723 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18725         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18726         (__lll_lock_elision): Remove adapt_count decrement...
18727         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18728         (__lll_trylock_elision): Likewise.
18729         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18730         (__lll_unlock_elision): ... to here. And utilize
18731         new adapt_count parameter.
18732         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18733         (__lll_unlock_elision): Update to include adapt_count
18734         parameter.
18735         (lll_unlock_elision): Pass pointer to adapt_count
18736         variable.
18738 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18740         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18741         Add elision adapt_count parameter to list of arguments.
18742         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18743         (lll_unlock_elision): Update with new parameter list
18744         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18745         (lll_unlock_elision): Likewise.
18746         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18747         (lll_unlock_elision): Likewise.
18749 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18751         [BZ #19122]
18752         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18753         attribute_hidden.
18755         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18756         attribute_hidden.
18757         [IS_IN (rtld)] (__strdup): Likewise.
18758         [IS_IN (rtld)] (__strerror_r): Likewise.
18759         [IS_IN (rtld)] (__strsep_g): Likewise.
18760         [IS_IN (rtld)] (memchr): Likewise.
18761         [IS_IN (rtld)] (memcmp): Likewise.
18762         [IS_IN (rtld)] (memcpy): Likewise.
18763         [IS_IN (rtld)] (memmove): Likewise.
18764         [IS_IN (rtld)] (memset): Likewise.
18765         [IS_IN (rtld)] (rawmemchr): Likewise.
18766         [IS_IN (rtld)] (stpcpy): Likewise.
18767         [IS_IN (rtld)] (strchr): Likewise.
18768         [IS_IN (rtld)] (strcmp): Likewise.
18769         [IS_IN (rtld)] (strlen): Likewise.
18770         [IS_IN (rtld)] (strnlen): Likewise.
18771         [IS_IN (rtld)] (strsep): Likewise.
18773         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18774         attribute_hidden.
18775         [IS_IN (rtld)] (__strtoul_internal): Likewise.
18777         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18778         attribute_hidden.
18779         [IS_IN (rtld)] (__libc_sigaction): Likewise.
18781         * include/setjmp.h (__longjmp): Add attribute_hidden.
18782         [IS_IN (rtld)] (__sigsetjmp): Likewise.
18784         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18785         Add attribute_hidden.
18787         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18788         [IS_IN (rtld)] (__open): Likewise.
18789         [IS_IN (rtld)] (__fcntl): Likewise.
18791         * include/dirent.h (__opendirat): Add attribute_hidden.
18792         (__getdents): Likewise.
18793         (__getdents64): Likewise.
18794         (__alloc_dir): Likewise.
18795         [IS_IN (rtld)] (__closedir): Likewise.
18796         [IS_IN (rtld)] (__fdopendir): Likewise.
18797         [IS_IN (rtld)] (__readdir): Likewise.
18798         [IS_IN (rtld)] (__readdir64): Likewise.
18799         [IS_IN (rtld)] (__rewinddir): Likewise.
18801         * include/dlfcn.h (_dl_catch_error): Moved to ...
18802         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18803         attribute_hidden.
18805         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18806         (_itoa_word): Likewise.
18808         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18809         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18810         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18811         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18812         (_dl_higher_prime_number): Likewise.
18813         (_dl_debug_printf_c): Likewise.
18814         (_dl_signal_cerror): Likewise.
18815         (_dl_receive_error): Likewise.
18816         (_dl_reloc_bad_type): Likewise.
18817         (_dl_resolve_conflicts): Likewise.
18818         (_dl_check_all_versions): Likewise.
18819         (_dl_check_map_versions): Likewise.
18820         (_dl_sort_fini): Likewise.
18821         (_dl_debug_initialize): Likewise.
18822         (_dl_init_paths): Likewise.
18823         (_dl_show_auxv): Likewise.
18824         (_dl_next_ld_env_entry): Likewise.
18825         (_dl_important_hwcaps): Likewise.
18826         (_dl_load_cache_lookup): Likewise.
18827         (_dl_update_slotinfo): Likewise.
18828         (_dl_show_scope): Likewise.
18830         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18831         attribute_hidden.
18832         (_wordcopy_fwd_dest_aligned): Likewise.
18833         (_wordcopy_bwd_aligned): Likewise.
18834         (_wordcopy_bwd_dest_aligned): Likewise.
18836         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18837         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18838         Likewise.
18839         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18840         Likewise.
18841         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18843 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18845         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18846         GCC 5 requirement.
18848 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18850         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18851         test.
18852         * sysdeps/i386/configure: Regenerated.
18853         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18854         code unconditional.
18856         * configure.ac (libc_cv_asm_previous_directive): Remove configure
18857         test.
18858         (libc_cv_asm_popsection_directive): Likewise.
18859         * configure: Regenerated.
18860         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18861         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18862         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18863         (__make_section_unallocated): Make definition unconditional.
18864         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18865         Remove conditional definition.
18866         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18867         (__make_section_unallocated): Likewise.
18869         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18870         * configure: Regenerated.
18871         * config.make.in (static-libgcc): Remove variable.
18872         * Makerules (build-shlib-helper): Use -static-libgcc instead of
18873         $(static-libgcc).
18874         (build-module-helper): Likewise.
18876         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18877         * configure: Regenerated.
18879 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18881         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18882         (struct char_buffer): New type.
18883         (char_buffer_start, char_buffer_size, char_buffer_error)
18884         (char_buffer_rewind, char_buffer_add): New functions.
18885         (ADDW): Remove macro, replaced by the char_buffer_add function.
18886         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18887         of extend_alloca.  Make control flow more explicit.
18889 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18891         [BZ #19137]
18892         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18893         Add -fomit-frame-pointer.
18894         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18896 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18898         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18899         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18900         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18901         only if !__GNUC_PREREQ (5,0).
18902         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18903         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18904         (INTERNAL_SYSCALL_NCS): Likewise.
18905         (LOADREGS_0): New macro for GCC 5.
18906         (ASMARGS_0): Likewise.
18907         (LOADREGS_1): Likewise.
18908         (ASMARGS_1): Likewise.
18909         (LOADREGS_2): Likewise.
18910         (ASMARGS_2): Likewise.
18911         (LOADREGS_3): Likewise.
18912         (ASMARGS_3): Likewise.
18913         (LOADREGS_4): Likewise.
18914         (ASMARGS_4): Likewise.
18915         (LOADREGS_5): Likewise.
18916         (ASMARGS_5): Likewise.
18917         (LOADREGS_6): Likewise.
18918         (ASMARGS_6): Likewise.
18920 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18922         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18923         -fomit-frame-pointer.
18924         (CFLAGS-mmap64.c): Likewise.
18925         (CFLAGS-semtimedop.c): Likewise.
18926         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18927         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18928         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18929         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18931 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18933         [BZ #18928]
18934         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18935         _dl_pointer_guard member.
18936         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18937         initializer.
18938         (security_init): Always set up pointer guard.
18939         (process_envvars): Do not process LD_POINTER_GUARD.
18941 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
18943         [BZ #19134]
18944         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18945         (.LC2): Likewise.
18946         (.LC3): Likewise.
18947         (__lround): Do not add 0.5 to integer or out-of-range arguments.
18949 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18951         [BZ #19129]
18952         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18953         r0 and r1.
18955 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
18957         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18959 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
18961         * include/stap-probe.h: Fix macro definition formatting.
18963 2015-10-14  Florian Weimer  <fweimer@redhat.com>
18965         [BZ #19074]
18966         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18967         load and store num_ifs.
18969 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18971         [BZ #18822]
18972         * sysdeps/unix/sysv/linux/sched_getaffinity.c
18973         (__sched_getaffinity_new): Add libc_hidden_proto and
18974         libc_hidden_def.
18976 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18978         [BZ #19007]
18979         * scripts/localplt.awk: Also allow GOT references.
18980         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18981         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18982         with "+ REL R_386_GLOB_DAT".
18983         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18984         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18986 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18988         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18989         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18990         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18991         Likewise.
18992         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18993         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18994         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18995         INTERNAL_SYSCALLINTERNAL_SYSCALL and
18996         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18997         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18998         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18999         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19000         Likewise.
19001         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19003 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
19005         [BZ #19125]
19006         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
19007         <math_private.h> and <stdint.h>.
19008         (__llround): Avoid conversions to and from long long int, and
19009         subtractions, where those might raise spurious exceptions.
19010         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19011         <math_private.h> and <stdint.h>.
19012         (__llroundf): Avoid conversions to and from long long int, and
19013         subtractions, where those might raise spurious exceptions.
19015 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19017         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
19018         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19019         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19020         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
19021         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19022         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19023         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
19024         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
19025         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
19026         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19027         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19028         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19029         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
19030         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19031         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19032         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
19033         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
19034         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19035         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
19036         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
19037         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19038         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
19039         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
19040         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19041         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
19042         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19043         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
19044         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19045         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19046         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
19047         (__xstat64_conv): Likewise.
19048         (__xstat32_conv): Likewise.
19050 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19052         * sysdeps/unix/sysv/linux/sysdep.h: New file.
19053         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
19054         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
19055         <sysdeps/unix/sysv/linux/sysdep.h>.
19056         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19057         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
19058         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
19059         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19060         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19061         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
19062         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
19063         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19064         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19067         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19068         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19069         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19070         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19072         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
19073         (sysdep-dl-routines): Add sysdep.
19074         [$(subdir) == nptl] (libpthread-routines): Likewise.
19075         [$(subdir) == rt] (librt-routines): Likewise.
19076         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
19077         PIC when branching to SYSCALL_ERROR_LABEL.
19078         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
19079         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
19080         <sysdeps/unix/sysv/linux/sysdep.h>.
19081         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
19082         (SYSCALL_ERROR_ERRNO): Removed.
19083         (SYSCALL_ERROR_HANDLER): Changed to empty.
19084         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
19085         (__syscall_error): New prototype.
19086         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
19087         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
19089 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19091         [BZ #19124]
19092         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
19093         (_dl_runtime_resolve_avx512): Make it a hidden alias of
19094         _dl_runtime_resolve_avx.
19095         (_dl_runtime_profile_avx512): Make it a hidden alias of
19096         _dl_runtime_profile_avx.
19098 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
19100         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
19101         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
19102         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
19103         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
19105         [BZ #16422]
19106         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
19107         New configure test.
19108         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
19109         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
19110         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
19111         <math_private.h> and <stdint.h>.
19112         (__llrint): Avoid conversions to long long int where those might
19113         raise spurious exceptions.
19114         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19115         <math_private.h> and <stdint.h>.
19116         (__llrintf): Avoid conversions to long long int where those might
19117         raise spurious exceptions.
19119 2015-10-12  Andreas Schwab  <schwab@suse.de>
19121         [BZ #18969]
19122         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
19123         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
19124         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
19125         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
19126         $(gen-locales).
19127         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
19128         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
19129         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
19130         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
19131         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
19132         $(gen-locales).
19133         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
19134         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
19135         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
19136         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
19137         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
19138         ($(objpfx)tst-ftell-active-handler.out)
19139         ($(objpfx)tst-ftell-append.out)
19140         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
19141         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
19142         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
19143         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
19144         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
19145         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19146         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19147         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19148         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19149         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19150         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19151         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19152         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19153         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19154         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19155         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19156         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19157         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19158         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
19159         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19160         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19161         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19162         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19163         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
19164         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19165         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19166         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19167         $(gen-locales).
19168         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
19169         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19170         $(gen-locales).
19171         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
19172         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19173         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19174         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19175         $(gen-locales).
19176         * libio/tst_wprintf2.c (main): Use explicit locale.
19177         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19179 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19181         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19182         __msg_sig_post.
19183         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19185 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19187         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19188         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19190         * sysdeps/arm/libm-test-ulps: Regenerated.
19192         [BZ #15470]
19193         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19195         [BZ #16399]
19196         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19197         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19198         and <fix-fp-int-convert-overflow.h>.
19199         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19200         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19201         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19202         and <fix-fp-int-convert-overflow.h>.
19203         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19204         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19205         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19206         <fix-fp-int-convert-overflow.h>.
19207         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19208         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19209         * sysdeps/ieee754/dbl-64/s_lround.c: Include
19210         <fix-fp-int-convert-overflow.h>.
19211         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19212         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19213         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19214         and <fix-fp-int-convert-overflow.h>.
19215         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19216         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19217         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19218         <limits.h> and <fix-fp-int-convert-overflow.h>.
19219         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19220         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19221         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19222         and <fix-fp-int-convert-overflow.h>.
19223         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19224         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19225         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19226         and <fix-fp-int-convert-overflow.h>.
19227         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19228         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19229         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19231 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
19233         [BZ #18589]
19234         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19235         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19236         $(gen-locales).
19238 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19239             Phil Blundell <pb@pbcl.net>
19241         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19242         * nptl/tst-cancel26.c: New file.
19243         * nptl/tst-cancel27.c: Likewise.
19245 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
19247         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19248         __ILP32__ isn't defined.
19249         (lrint): Likewise.
19250         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19251         (lrintf): Likewise.
19252         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19253         (lrintl): Likewise.
19254         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19255         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19256         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19258 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19260         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19263         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19264         file.
19265         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19266         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19268 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19270         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19271         configure test.
19272         * sysdeps/i386/configure: Regenerated.
19273         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19274         configure test.
19275         * sysdeps/x86_64/configure: Regenerated.
19276         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19277         Make code unconditional.
19279         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19280         test.
19281         * sysdeps/i386/configure: Regenerated.
19282         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19283         test.
19284         * sysdeps/x86_64/configure: Regenerated.
19285         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19286         Make code unconditional.
19287         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19288         Likewise.
19289         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19290         Likewise.
19291         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19292         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19293         code unconditional.
19294         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19295         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19296         code unconditional.
19297         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19298         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19299         code unconditional.
19300         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19301         code unconditional.
19302         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19303         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19304         code unconditional.
19305         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19306         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19307         code unconditional.
19308         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19309         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19310         code unconditional.
19311         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19312         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19313         code unconditional.
19314         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19315         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19317         [BZ #19095]
19318         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19319         mantissa to long int before shifting left.
19321 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19323         [BZ #19094]
19324         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19325         <limits.h>.
19326         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19327         when result overflows but exception would not result from cast.
19328         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19329         <limits.h>.
19330         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19331         when result overflows but exception would not result from cast.
19332         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19333         <limits.h>.
19334         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19335         when result overflows but exception would not result from cast.
19336         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19337         <limits.h>.
19338         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19339         when result overflows but exception would not result from cast.
19340         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19341         <limits.h>.
19342         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19343         when result overflows but exception would not result from cast.
19344         * math/libm-test.inc (lrint_test_data): Add more tests.
19345         (llrint_test_data): Likewise.
19347 2015-10-08  Roland McGrath  <roland@hack.frob.com>
19349         [BZ #18872]
19350         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19351         Move out from under [$(run-built-tests) = yes] conditional.
19352         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19353         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19355 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
19357         [BZ #18589]
19358         * string/Makefile (tests): Add bug-strcoll2.
19359         (LOCALES): Add cs_CZ.UTF-8.
19360         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19362         [BZ #18589]
19363         * string/bug-strcoll2.c: New file.
19364         * locale/categories.def: Revert commit
19365         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19366         * locale/langinfo.h: Likewise.
19367         * locale/localeinfo.h: Likewise.
19368         * locale/C-collate.c: Likewise.
19369         * locale/programs/ld-collate.c (collate_output): Likewise.
19370         * string/strcoll_l.c (STRDIFF): Likewise.
19371         (STRCOLL): Likewise.
19372         * wcsmbs/wcscoll_l.c: Likewise.
19374 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19376         * math/libm-test.inc (lround_test_data): Do not expect the absence
19377         of "inexact" for some tests with non-integer arguments.
19378         (llround_test_data): Likewise.
19380         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19381         test.
19382         (libc_cv_cc_sse2avx): Likewise.
19383         * sysdeps/i386/configure: Regenerated.
19384         * sysdeps/i386/i686/multiarch/Makefile
19385         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19386         [$(subdir) = math].
19387         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19388         code unconditional.
19389         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19390         Likewise.
19391         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19392         Likewise.
19393         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19394         Likewise.
19395         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19396         test.
19397         (libc_cv_cc_sse2avx): Likewise.
19398         * sysdeps/x86_64/configure: Regenerated.
19399         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19400         unconditional.
19401         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19402         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19403         unconditional.
19404         (_dl_runtime_profile)
19405         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19406         conditional code.
19407         * sysdeps/x86_64/fpu/multiarch/Makefile
19408         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19409         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19410         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19411         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19412         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19413         * sysdeps/x86_64/fpu/multiarch/e_log.c
19414         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19415         * sysdeps/x86_64/fpu/multiarch/s_atan.c
19416         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19417         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19418         Likewise.
19419         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19420         Likewise.
19421         * sysdeps/x86_64/fpu/multiarch/s_sin.c
19422         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19423         * sysdeps/x86_64/fpu/multiarch/s_tan.c
19424         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19425         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19426         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19427         (HAVE_SSE2AVX_SUPPORT): Likewise.
19429 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
19431         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19432         instead of #pragma optimize.
19434 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19436         [BZ #17195]
19437         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19438         as is similarly done in systrim and _int_free already.
19440 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19442         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19444 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19446         [BZ #19088]
19447         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19448         <limits.h>.
19449         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19450         overflows but exception would not result from cast.
19451         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19452         and <limits.h>.
19453         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19454         overflows but exception would not result from cast.
19455         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19456         <limits.h>.
19457         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19458         overflows but exception would not result from cast.
19459         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19460         <limits.h>.
19461         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19462         overflows but exception would not result from cast.
19463         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19464         <limits.h>.
19465         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19466         overflows but exception would not result from cast.
19467         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19468         <limits.h>.
19469         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19470         overflows but exception would not result from cast.
19471         * math/libm-test.inc (lround_test_data): Add more tests.
19472         (llround_test_data): Likewise.
19474 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
19476         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19477         (CFLAGS-ialloc.c): Ditto.
19478         (CFLAGS-scheck.c): Ditto.
19480 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19482         [BZ #19086]
19483         * manual/filesys.texi (Storage Allocation): Fix argument order for
19484         posix_fallocate64.
19486 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19488         [BZ #19085]
19489         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19490         exponent below 48 inside case for non-overflowing exponent.
19491         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19493 2015-10-07  Florian Weimer  <fweimer@redhat.com>
19495         * iconvdata/cp737.h (from_idx): Add const.
19496         * iconvdata/cp775.h (from_idx): Likewise.
19498 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19500         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19501         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19502         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19504         [BZ #19079]
19505         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19506         file, conditioned on [!_LP64].
19507         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19508         [!_LP64] (__lround): Do not define as function or alias.
19509         [!_LP64] (lround): Likewise.
19510         [!_LP64] (__lroundl): Likewise.
19511         [!_LP64] (lroundl): Likewise.
19512         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19513         macro.
19514         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19515         Likewise.
19517 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19519         * math/libm-test.inc (lrint_test_data): Add more tests.
19520         (llrint_test_data): Likewise.
19521         (lround_test_data): Likewise.
19522         (llround_test_data): Likewise.
19524         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19525         (llrint_test_data): Add tests used for lrint.
19527         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19528         test.
19529         * sysdeps/i386/configure: Regenerated.
19530         * sysdeps/i386/i686/multiarch/Makefile
19531         [$(config-cflags-sse4) = yes]: Make code unconditional.
19532         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19533         Likewise.
19534         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19535         Likewise.
19536         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19537         test.
19538         * sysdeps/x86_64/configure: Regenerated.
19539         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19540         Make code unconditional.
19541         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19542         Likewise.
19543         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19544         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19546         * scripts/rpm2dynsym.sh: Remove file.
19548 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19550         * configure.ac (libc_cv_cxx_thread_local): Define.
19551         * configure: Regenerate.
19552         * config.make.in (have-cxx-thread_local): Define.
19553         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19554         (LDLIBS-tst-thread_local1): Define.
19555         (tests): Add tst-thread_local1.
19556         [have-cxx-thread_local != yes] (tests-unsupported): Add
19557         tst-thread_local1.
19558         * nptl/tst-thread_local1.cc: New file.
19560 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19562         [BZ #19078]
19563         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19564         (u_thres): Likewise.
19565         (__expl): Determine whether to call __kernel_standard_l based on
19566         value of result, not argument.
19568         * math/libm-test.inc (scalb_test_data): Add more expectations for
19569         the "inexact" exception.
19571         [BZ #19077]
19572         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19573         0.0L for argument 1.0L.
19575         [BZ #19076]
19576         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19577         constant 0.0L when computing infinite result.
19579 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19581         [BZ #10432]
19582         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19583         malloc_usable_size.
19585 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19587         [BZ #19018]
19588         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19589         Mangle function pointer before storing it.
19590         (__call_tls_dtors): Demangle function pointer before calling it.
19592 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19594         [BZ #19012]
19595         * iconv/gconv_db.c (gen_steps): Check for additional errors.
19596         Clean up on failure.
19598 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
19600         [BZ #19071]
19601         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19602         long int variable to store possibly incremented high part of
19603         mantissa.
19604         * math/libm-test.inc (lround_test_data): Add tests used for
19605         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
19606         for tests requiring 64-bit long.  Do not condition tests on
19607         [TEST_FLOAT] unnecessarily.
19608         (llround_test_data): Add tests used for lround.  Add another
19609         expectation for the "inexact" exception.  Do not condition tests
19610         on [TEST_FLOAT] unnecessarily.
19612         [BZ #887]
19613         [BZ #19049]
19614         [BZ #19050]
19615         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19616         * sysdeps/ieee754/dbl-64/e_log10.c: Include
19617         <fix-int-fp-convert-zero.h>.
19618         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19619         * sysdeps/ieee754/dbl-64/e_log2.c: Include
19620         <fix-int-fp-convert-zero.h>.
19621         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19622         * sysdeps/ieee754/dbl-64/s_erf.c: Include
19623         <fix-int-fp-convert-zero.h>.
19624         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19625         * sysdeps/ieee754/dbl-64/s_logb.c: Include
19626         <fix-int-fp-convert-zero.h>.
19627         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19628         * sysdeps/ieee754/flt-32/e_log10f.c: Include
19629         <fix-int-fp-convert-zero.h>.
19630         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19631         * sysdeps/ieee754/flt-32/e_log2f.c: Include
19632         <fix-int-fp-convert-zero.h>.
19633         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19634         * sysdeps/ieee754/flt-32/s_erff.c: Include
19635         <fix-int-fp-convert-zero.h>.
19636         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19637         * sysdeps/ieee754/flt-32/s_logbf.c: Include
19638         <fix-int-fp-convert-zero.h>.
19639         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19640         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19641         <fix-int-fp-convert-zero.h>.
19642         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19643         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19644         <fix-int-fp-convert-zero.h>.
19645         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19646         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19647         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19648         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19649         file.
19650         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19652 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19656 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
19658         [BZ #19059]
19659         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19660         overflowing computation.
19661         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19662         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19663         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19664         Likewise.
19665         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19666         Likewise.
19667         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19668         Likewise.
19669         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19670         Likewise.
19671         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19672         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19673         Likewise.
19674         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19675         Likewise.
19676         * math/libm-test.inc (nexttoward_test_data): Add more tests.
19678         * nss/rewrite_field.c (__nss_rewrite_field): Use
19679         internal_function.
19680         * nss/valid_field.c (__nss_valid_field): Likewise.
19681         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19683 2015-10-02  Florian Weimer  <fweimer@redhat.com>
19685         [BZ #18724]
19686         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19687         (__nss_invalid_field_characters, __nss_valid_field)
19688         (__nss_valid_list_field, __nss_rewrite_field): Declare.
19689         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19690         tst-field.c: New file.
19691         * nss/Makefile (routines): Add valid_field, rewrite_field.
19692         (tests-static): Define unconditionally.
19693         (tests): Include tests-static.
19694         [build-static-nss] (tests-static): Use append.
19695         [build-static-nss] (tests): Remove modification.
19696         * nss/getent.c (print_group): Call putgrent.  Report error.
19697         (print_gshadow): Call putsgent.  Report error.
19698         (print_passwd): Call putpwent.  Report error.
19699         (print_shadow): Call putspent.  Report error.
19700         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19701         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19702         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
19703         name, password, directory, shell fields for valid syntax.  Rewrite
19704         GECOS field to match syntax.
19705         * pwd/Makefile (tests): Add tst-putpwent.
19706         * pwd/tst-putpwent.c: New file.
19707         * grp/putgrent.c (putgrent): Convert to ISO function definition.
19708         Check grName, grpasswd, gr_mem fields for valid syntax.
19709         Change loop variable i to size_t.
19710         * grp/Makefile (tests): Add tst-putgrent.
19711         * grp/tst-putgrent.c: New file.
19712         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19713         valid syntax.
19714         * shadow/Makefile (tests): Add tst-putspent.
19715         * shadow/tst-putspent.c: New file.
19716         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19717         sg_mem fields for valid syntax.
19718         * gshadow/Makefile (tests): Add tst-putsgent.
19719         * gshadow/tst-putsgent.c: New file.
19721 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19723         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19724         assembly instructions.
19726 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19728         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19729         prefix from operands.
19731 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
19733         [BZ #16347]
19734         [BZ #19046]
19735         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19736         <libc-internal.h>.
19737         (MAXLGM): Do not use diagnostic control macros.
19738         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19739         threshold for ldbl-128ibm.
19740         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19741         instead of multiplying by log then subtracting.
19742         * math/auto-libm-test-in: Add more tests of lgamma.
19743         * math/auto-libm-test-out: Regenerated.
19745         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19746         (TYPE_HEX_DIG): Likewise.
19747         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19748         precisions when printing floating-point numbers.
19749         (check_float_internal): Likewise.
19751 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19753         [BZ #16620]
19754         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19755         of log (10) rounded downward to 48 bits.
19756         (log10_low): Use corresponding low part of log (10).
19758         [BZ #19032]
19759         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19760         compute result as (x - x) / (x - x) not as 0 / 0.
19761         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19762         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19764         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19765         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19766         and expm1.
19767         * math/auto-libm-test-out: Regenerated.
19768         * math/libm-test.inc (acos_test_data): Add more tests.
19769         (asin_test_data): Likewise.
19770         (asinh_test_data): Likewise.
19771         (atan_test_data): Likewise.
19772         (atanh_test_data): Likewise.
19773         (atan2_test_data): Likewise.
19774         (cbrt_test_data): Likewise.
19775         (ceil_test_data): Likewise.
19776         (copysign_test_data): Likewise.
19777         (cos_test_data): Likewise.
19778         (cosh_test_data): Likewise.
19779         (erf_test_data): Likewise.
19780         (erfc_test_data): Likewise.
19781         (exp_test_data): Likewise.
19782         (exp10_test_data): Likewise.
19783         (exp2_test_data): Likewise.
19784         (expm1_test_data): Likewise.
19785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19787 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
19789         [BZ #19006]
19790         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19791         to ...
19792         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19793         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19794         to ...
19795         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19796         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19797         to ...
19798         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19799         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19800         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19801         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19802         to ...
19803         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19804         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19805         Moved to ...
19806         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19807         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19808         Moved to ...
19809         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19810         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19811         to ...
19812         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19813         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19814         Moved to ...
19815         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19816         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19817         to ...
19818         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19819         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19820         Removed.
19821         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19822         Likewise.
19823         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19824         Likewise.
19825         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19826         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19827         Likewise.
19828         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19829         Likewise.
19830         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19831         Likewise.
19832         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19833         Likewise.
19834         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19835         Likewise.
19836         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19837         Likewise.
19838         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19839         Likewise.
19840         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19841         Likewise.
19842         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19843         Likewise.
19844         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19845         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19846         Likewise.
19847         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19848         Likewise.
19849         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19850         Likewise.
19851         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19852         Likewise.
19853         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19854         Likewise.
19855         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19856         Replace ../i486/pthread_cond_timedwait.S with
19857         ../pthread_cond_timedwait.S.
19859 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19861         * math/libm-test.inc (acos_test_data): Refine expectations for
19862         errno and "inexact" exceptions.
19863         (acosh_test_data): Likewise.
19864         (asin_test_data): Likewise.
19865         (asinh_test_data): Likewise.
19866         (atan_test_data): Likewise.
19867         (atanh_test_data): Likewise.
19868         (atan2_test_data): Likewise.
19869         (cbrt_test_data): Likewise.
19870         (ceil_test_data): Likewise.
19871         (copysign_test_data): Likewise.
19872         (cosh_test_data): Likewise.
19873         (erf_test_data): Likewise.
19874         (erfc_test_data): Likewise.
19875         (exp_test_data): Likewise.
19876         (exp10_test_data): Likewise.
19877         (exp2_test_data): Likewise.
19878         (expm1_test_data): Likewise.
19879         (fabs_test_data): Likewise.
19880         (floor_test_data): Likewise.
19881         (fma_test_data): Likewise.
19882         (fmax_test_data): Likewise.
19883         (fmin_test_data): Likewise.
19884         (fmod_test_data): Likewise.
19885         (fpclassify_test_data): Likewise.
19886         (frexp_test_data): Likewise.
19887         (hypot_test_data): Likewise.
19888         (ilogb_test_data): Likewise.
19889         (isgreater_test_data): Likewise.
19890         (isgreaterequal_test_data): Likewise.
19891         (isinf_test_data): Likewise.
19892         (isless_test_data): Likewise.
19893         (islessequal_test_data): Likewise.
19894         (islessgreater_test_data): Likewise.
19895         (isnan_test_data): Likewise.
19896         (isnormal_test_data): Likewise.
19897         (issignaling_test_data): Likewise.
19898         (isunordered_test_data): Likewise.
19899         (j0_test_data): Likewise.
19900         (j1_test_data): Likewise.
19901         (jn_test_data): Likewise.
19902         (lgamma_test_data): Likewise.
19903         (lrint_test_data): Likewise.
19904         (llrint_test_data): Likewise.
19905         (log_test_data): Likewise.
19906         (log10_test_data): Likewise.
19907         (log1p_test_data): Likewise.
19908         (log2_test_data): Likewise.
19909         (logb_test_data): Likewise.
19910         (lround_test_data): Likewise.
19911         (llround_test_data): Likewise.
19912         (modf_test_data): Likewise.
19913         (nearbyint_test_data): Likewise.
19914         (nextafter_test_data): Likewise.
19915         (nexttoward_test_data): Likewise.
19916         (pow_test_data): Likewise.
19917         (remainder_test_data): Likewise.
19918         (remquo_test_data): Likewise.
19919         (rint_test_data): Likewise.
19920         (round_test_data): Likewise.
19921         (signbit_test_data): Likewise.
19922         (sinh_test_data): Likewise.
19923         (sqrt_test_data): Likewise.
19924         (tanh_test_data): Likewise.
19925         (tgamma_test_data): Likewise.
19926         (trunc_test_data): Likewise.
19927         (y0_test_data): Likewise.
19928         (y1_test_data): Likewise.
19929         (yn_test_data): Likewise.
19930         (significand_test_data): Likewise.
19932 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
19934         * manual/filesys.texi (Storage Allocation): Document that
19935         posix_fallocate emulation fails when fd is open with O_WRONLY.
19937 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
19939         [BZ #19016]
19940         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19941         allow more cases with X^2 + Y^2 >= 0.5.
19942         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
19943         normal element in sum instead of special-casing based on values of
19944         arguments.
19945         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19946         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
19947         -1 as normal element in sum instead of special-casing based on
19948         values of arguments.
19949         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19950         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19951         (__x2y2m1): Update comment.
19952         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
19953         as normal element in sum instead of special-casing based on values
19954         of arguments.
19955         * math/s_clog.c (__clog): Handle more cases using log1p without
19956         hypot.
19957         * math/s_clog10.c (__clog10): Likewise.
19958         * math/s_clog10f.c (__clog10f): Likewise.
19959         * math/s_clog10l.c (__clog10l): Likewise.
19960         * math/s_clogf.c (__clogf): Likewise.
19961         * math/s_clogl.c (__clogl): Likewise.
19962         * math/auto-libm-test-in: Add more tests of clog and clog10.
19963         * math/auto-libm-test-out: Regenerated.
19964         * sysdeps/i386/fpu/libm-test-ulps: Update.
19965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19967 2015-09-28  Martin Sebor  <msebor@redhat.com>
19969         [BZ #18969]
19970         * string/Makefile (LOCALES): Define.
19971         (gen-locales.mk): Include.
19972         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19973         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19974         * string/tst-strxfrm2.c (do_test): Print the name of the locale
19975         on setlocale failure.
19977 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19979         [BZ #18985]
19980         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19981         (__strftime_internal): Likewise.
19982         * time/tst-strftime.c (do_bz18985): New test.
19983         (do_test): Call it.
19985 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
19987         [BZ #18956]
19988         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19989         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
19990         extracting high part.
19991         * math/auto-libm-test-in: Add another test of pow.
19992         * math/auto-libm-test-out: Regenerated.
19993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19995 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19997         [BZ #18825]
19998         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19999         New macro.
20000         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
20001         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20002         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
20003         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
20004         DBL_NARROW_EVAL, reloading the PIC register as needed.
20005         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
20006         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
20007         FLT_NARROW_EVAL.  Use separate return path for case when first
20008         argument is NaN.
20009         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
20010         DEFINE_LDBL_MIN.
20011         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
20012         PIC register.
20013         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
20014         math_check_force_underflow_nonneg.
20015         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
20016         underflow for subnormal result.
20017         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20018         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
20019         math_check_force_underflow_nonneg.
20020         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
20021         math_check_force_underflow.
20022         * sysdeps/x86_64/fpu/x86_64-math-asm.h
20023         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
20024         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
20025         DEFINE_LDBL_MIN.
20026         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
20027         * math/auto-libm-test-in: Add more tests of pow.
20028         * math/auto-libm-test-out: Regenerated.
20030 2015-09-25  Florian Weimer  <fweimer@redhat.com>
20032         * nss/bug17079.c (init_test_items): Add diagnostic for
20033         inconsistent entries.
20034         (test_buffer_size): Skip inconsistent entries.
20036 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
20038         [BZ #13304]
20039         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
20040         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20041         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
20043         [BZ #13304]
20044         * sysdeps/microblaze/s_fma.c: New file.
20045         * sysdeps/microblaze/s_fmaf.c: Likewise.
20046         * sysdeps/microblaze/sfp-machine.h: Likewise.
20048 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
20050         [BZ #17250]
20051         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
20052         member.
20054 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
20056         [BZ #18803]
20057         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
20058         (MO): New macro.
20059         (__ieee754_hypot) [PIC]: Load PIC register.
20060         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
20061         DBL_NARROW_EVAL.
20062         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
20063         math_check_force_underflow_nonneg in case where result might be
20064         tiny.
20065         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20066         Likewise.
20067         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20068         Likewise.
20069         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20070         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20071         * math/auto-libm-test-in: Add more tests of hypot.
20072         * math/auto-libm-test-out: Regenerated.
20074 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
20076         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
20078 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
20080         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
20081         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
20082         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20083         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20084         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
20085         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20086         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20088         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
20089         LOAD_PIC_REG.
20091         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
20092         (FLT_CHECK_FORCE_UFLOW): Likewise.
20093         (DBL_CHECK_FORCE_UFLOW): Likewise.
20094         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
20095         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
20096         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
20097         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20098         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20099         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20100         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20101         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20102         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
20103         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20104         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
20105         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
20106         (flt_min): Replace with use of DEFINE_FLT_MIN.
20107         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
20108         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
20109         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20110         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
20111         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
20112         (flt_min): Replace with use of DEFINE_FLT_MIN.
20113         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
20114         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
20115         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20116         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
20117         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
20118         (flt_min): Replace with use of DEFINE_FLT_MIN.
20119         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
20120         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
20121         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20122         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20123         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
20124         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20125         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20126         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
20127         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20128         (__atan): Use DBL_CHECK_FORCE_UFLOW.
20129         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
20130         (flt_min): Replace with use of DEFINE_FLT_MIN.
20131         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
20132         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
20133         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20134         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
20135         main computation.
20136         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
20137         (flt_min): Replace with use of DEFINE_FLT_MIN.
20138         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
20139         main computation.
20140         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
20141         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20142         (MO): New macro.
20143         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
20144         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
20145         (flt_min): Replace with use of DEFINE_FLT_MIN.
20146         (MO): New macro.
20147         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20148         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20149         (__log1pl): Use MO.
20151         [BZ #19003]
20152         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20153         $(config-cflags-nofma).
20155 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20157         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20159 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
20161         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20162         (TWO127): Likewise.
20164         * sysdeps/generic/math_private.h (fabs_tg): New macro.
20165         (min_of_type): Likewise.
20166         (math_check_force_underflow): Likewise.
20167         (math_check_force_underflow_nonneg): Likewise.
20168         (math_check_force_underflow_complex): Likewise.
20169         * math/e_exp2l.c (__ieee754_exp2l): Use
20170         math_check_force_underflow_nonneg.
20171         * math/k_casinh.c (__kernel_casinh): Likewise.
20172         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20173         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20174         * math/s_catan.c (__catan): Use
20175         math_check_force_underflow_complex.
20176         * math/s_catanf.c (__catanf): Likewise.
20177         * math/s_catanh.c (__catanh): Likewise.
20178         * math/s_catanhf.c (__catanhf): Likewise.
20179         * math/s_catanhl.c (__catanhl): Likewise.
20180         * math/s_catanl.c (__catanl): Likewise.
20181         * math/s_ccosh.c (__ccosh): Likewise.
20182         * math/s_ccoshf.c (__ccoshf): Likewise.
20183         * math/s_ccoshl.c (__ccoshl): Likewise.
20184         * math/s_cexp.c (__cexp): Likewise.
20185         * math/s_cexpf.c (__cexpf): Likewise.
20186         * math/s_cexpl.c (__cexpl): Likewise.
20187         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20188         * math/s_clog10.c (__clog10): Likewise.
20189         * math/s_clog10f.c (__clog10f): Likewise.
20190         * math/s_clog10l.c (__clog10l): Likewise.
20191         * math/s_clogf.c (__clogf): Likewise.
20192         * math/s_clogl.c (__clogl): Likewise.
20193         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20194         * math/s_csinf.c (__csinf): Likewise.
20195         * math/s_csinh.c (__csinh): Likewise.
20196         * math/s_csinhf.c (__csinhf): Likewise.
20197         * math/s_csinhl.c (__csinhl): Likewise.
20198         * math/s_csinl.c (__csinl): Likewise.
20199         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20200         * math/s_csqrtf.c (__csqrtf): Likewise.
20201         * math/s_csqrtl.c (__csqrtl): Likewise.
20202         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20203         * math/s_ctanf.c (__ctanf): Likewise.
20204         * math/s_ctanh.c (__ctanh): Likewise.
20205         * math/s_ctanhf.c (__ctanhf): Likewise.
20206         * math/s_ctanhl.c (__ctanhl): Likewise.
20207         * math/s_ctanl.c (__ctanl): Likewise.
20208         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20209         instead of volatile.
20210         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20211         math_check_force_underflow.
20212         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20213         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20214         volatile when forcing underflow.
20215         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20216         math_check_force_underflow_nonneg.
20217         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20218         Likewise.
20219         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20220         math_check_force_underflow.
20221         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20222         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20223         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20224         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20225         math_check_force_underflow_nonneg.
20226         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20227         math_check_force_underflow.
20228         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20229         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20230         instead of volatile.
20231         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20232         math_check_force_underflow.
20233         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20234         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20235         math_check_force_underflow_nonneg.
20236         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20237         math_check_force_underflow.
20238         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20239         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20240         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20241         math_check_force_underflow_nonneg.
20242         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20243         Likewise.
20244         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20245         math_check_force_underflow.
20246         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20247         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20248         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20249         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20250         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20251         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20252         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20253         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20254         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20255         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20256         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20257         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20258         Likewise.
20259         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20260         math_check_force_underflow_nonneg.
20261         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20262         Likewise.
20263         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20264         math_check_force_underflow.
20265         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20266         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20267         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20268         Likewise.
20269         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20270         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20271         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20272         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20273         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20274         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20275         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20276         instead of volatile.
20277         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20278         math_check_force_underflow.
20279         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20280         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20281         math_check_force_underflow.
20282         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20283         Likewise.
20284         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20285         Use math_check_force_underflow_nonneg.
20286         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20287         math_check_force_underflow.
20288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20289         Likewise.
20290         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20291         Likewise.
20292         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20293         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20294         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20295         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20296         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20297         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20298         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20299         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20300         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20301         math_check_force_underflow_nonneg.
20302         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20303         math_check_force_underflow.
20304         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20305         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20306         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20307         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20308         math_check_force_underflow_nonneg.
20309         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20310         math_check_force_underflow.
20311         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20312         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20313         instead of volatile.
20314         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20315         math_check_force_underflow.
20317         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20318         * stdlib/strtod_l.c: Include <math_private.h>.
20319         (overflow_value): Use math_narrow_eval.
20320         (underflow_value): Likewise.
20321         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20322         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20323         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20324         (__ieee754_gamma_r): Likewise.
20325         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20326         Likewise.
20327         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20328         Likewise.
20329         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20330         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20331         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20332         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20333         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20334         (__ieee754_gammaf_r): Likewise.
20335         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20336         Likewise.
20337         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20338         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20339         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20340         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20341         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20342         volatile.
20343         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20344         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20345         math_narrow_eval.
20346         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20347         Likewise.
20348         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20349         Likewise.
20350         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20351         Likewise.
20352         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20353         volatile.
20354         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20355         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20356         math_narrow_eval.
20357         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20358         Likewise.
20359         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20360         Likewise.
20362 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
20364         * nptl/Versions: Remove ignored symbols.
20366 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20368         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
20369         * nss/Makefile (tests): Update.
20371 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20373         * nss/bug18287.c: New file.
20374         * nss/Makefile (tests): Add bug18287.
20376 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20378         * mach/Versions (__mach_host_self_): Add symbol.
20380 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20382         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20383         vm_page_size.
20385 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20387         Really fix sysdeps/i386/fpu/s_scalbn.S build
20389         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20390         (libc: GLIBC_2_22): Remove unused version set.
20392 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20394         * config.make.in (enable-timezone-tools): New variable.
20395         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20396         (enable_timezone_tools): Export to generated files.
20397         * configure: Regenerate.
20398         * INSTALL: Regenerate.
20399         * manual/install.texi (--disable-timezone-tools): Document new flag.
20400         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20401         ifeq ($(enable-timezone-tools),yes) check.
20403 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20405         * timezone/Makefile: Revert previous change.
20407         [BZ #18980]
20408         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20409         (DEFINE_DBL_MIN): Likewise.
20410         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20411         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20412         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20413         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20414         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20415         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20416         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20417         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20418         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20419         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20420         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20421         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20422         (flt_min): Replace with use of DEFINE_FLT_MIN.
20423         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20424         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20425         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20426         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20427         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20428         (flt_min): Replace with use of DEFINE_FLT_MIN.
20429         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20430         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20431         (flt_min): Replace with use of DEFINE_FLT_MIN.
20432         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20433         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20434         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20435         (__ieee754_hypot): Use DBL_NARROW_EVAL.
20436         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20437         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20438         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20439         (__ieee754_pow): Use DBL_NARROW_EVAL.
20440         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20441         (__ieee754_powf): Use FLT_NARROW_EVAL.
20442         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20443         (__ieee754_expf_sse2): Convert double-precision result to single
20444         precision.
20445         * sysdeps/i386/fpu/libm-test-ulps: Update.
20447 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20449         * timezone/Makefile: Ignore unused variable errors due to private.h
20450         (time_t_min) and (time_t_max).
20451         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
20452         Likewise.
20454 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20456         [BZ #18981]
20457         * sysdeps/i386/fpu/i386-math-asm.h: New file.
20458         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20459         (__ieee754_scalb): Use DBL_NARROW_EVAL.
20460         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20461         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20462         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20463         (__scalbn): Use DBL_NARROW_EVAL.
20464         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20465         (__scalbnf): Use FLT_NARROW_EVAL.
20467 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20469         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20470         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20471         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20472         * stdio-common/printf_fp.c (___printf_fp):
20473         Use signbit to get the sign. Use isinf macro to allow inlining.
20474         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20475         * stdio-common/printf_size.c (__printf_size): Likewise.
20477 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20479         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20481 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20483         [BZ #18980]
20484         * sysdeps/generic/math_private.h: Include <float.h>.
20485         (math_narrow_eval): New macro.
20486         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20487         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20488         math_narrow_eval on overflowing return value.
20489         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20490         Likewise.
20491         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20492         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20493         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20494         Likewise.
20495         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20497 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20499         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20500         * math/Makefile: Remove isinf_ns.c.
20501         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20502         * math/multc3.c (__multc3): Likewise.
20503         * math/s_casin.c (__casin): Likewise.
20504         * math/s_casinf.c (__casinf): Likewise.
20505         * math/s_casinl.c (__casinl): Likewise.
20506         * math/s_cproj.c (__cproj): Likewise.
20507         * math/s_cprojf.c (__cprojf): Likewise.
20508         * math/s_cprojl.c (__cprofl): Likewise.
20509         * math/s_ctan.c (__ctan): Likewise.
20510         * math/s_ctanf.c (__ctanf): Likewise.
20511         * math/s_ctanh.c (__ctanh): Likewise.
20512         * math/s_ctanhf.c (__ctanhf): Likewise.
20513         * math/s_ctanhl.c (__ctanhl): Likewise.
20514         * math/s_ctanl.c (__ctanl): Likewise.
20515         * math/w_fmod.c (__fmod): Likewise.
20516         * math/w_fmodf.c (__fmodf): Likewise.
20517         * math/w_fmodl.c (_fmodl): Likewise.
20518         * math/w_remainder.c (__remainder): Likewise.
20519         * math/w_remainderf.c (__remainderf): Likewise.
20520         * math/w_remainderl.c (__remainderl): Likewise.
20521         * math/w_scalb.c (__scalb): Likewise.
20522         * math/w_scalbf.c (__scalbf): Likewise.
20523         * math/w_scalbl.c (__scalbl): Likewise.
20524         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20525         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20526         with isinf.
20527         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20528         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20529         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20530         __isinf_nsf with isinf.
20531         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20532         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20533         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20534         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20535         with isinf.
20536         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20537         __isinf_nsl with isinf.
20538         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20539         with isinf.
20540         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20541         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20542         __isinf_nsl with isinf.
20543         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20544         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20545         with isinf.
20547 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20549         * resolv/base64.c (rcsid): Remove unused static.
20550         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20551         static.  (tqpi1): Likewise.
20552         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20553         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20554         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20555         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20556         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20557         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20558         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20559         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
20560         Likewise.
20562 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
20564         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20565         <nptl/pthreadP.h>.
20566         (_longjmp_unwind): Use __libc_ptf_call.
20567         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20569 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
20571         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20572         * sysdeps/arm/__longjmp.S: Likewise.
20574 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20576         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20577         Use __builtin_signbit.
20578         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20579         Use __builtin_signbitf.
20580         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20581         Use __builtin_signbitl.
20582         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20583         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20585 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20587         [BZ #15367]
20588         [BZ #17441]
20590         * math/Makefile: Build test-snan.c with -fsignaling-nans.
20591         * math/math.h (fpclassify): Use __builtin_fpclassify when
20592         available.  (signbit): Use __builtin_signbit(f/l).
20593         (isfinite): Use__builtin_isfinite.  (isnormal): Use
20594         __builtin_isnormal.  (isnan): Use __builtin_isnan.
20595         (isinf): Use __builtin_isinf_sign.
20597 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20599         * benchtests/Makefile: Add bench-math-inlines, link with libm.
20600         * benchtests/bench-math-inlines.c: New benchmark.
20601         * benchtests/bench-util.h: New file.
20602         * benchtests/bench-util.c: New file.
20603         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20605 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
20607         * elf/tst-dlmopen1.c: Define TEST_SO.
20608         (do_test): Use TEST_SO.
20610         * elf/dl-load.c: Include libc-internal.h.
20611         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20613 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20615         [BZ #17887]
20616         * time/strptime_l.c (__strptime_internal): Make %z accept
20617         [+-]HH:MM time zones.
20619 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20621         [BZ #17886]
20622         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20623         valid time zone.
20625 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
20627         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20628         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20629         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20630         (__ASSUME_FDATASYNC): Delete.
20632 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20634         * conform/linknamespace.pl: Require weak undefined symbols to be
20635         in the standard namespace.
20636         (%strong_syms): Rename to %seen_syms.
20637         (%strong_seen): Rename to %seen_where.
20639 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
20641         [BZ #18970]
20642         * misc/error.c (error): Replace pthread_setcancelstate with
20643         __pthread_setcancelstate.
20644         (error_at_line): Likewise.
20645         * posix/wordexp.c (parse_comm): Likewise.
20646         * stdlib/fmtmsg.c (fmtmsg): Likewise.
20647         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20648         (__pthread_setcancelstate): This.
20649         (pthread_setcancelstate): Add an alias.
20650         * nptl/nptl-init.c (pthread_functions): Replace
20651         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20652         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20653         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20654         hidden_proto.
20655         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20656         it with hidden_def.
20657         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20658         (pthread_setcancelstate): Renamed to ...
20659         (__pthread_setcancelstate): This.
20660         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20661         __libc_ptf_call with __pthread_setcancelstate.
20663 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20664             Andreas Schwab  <schwab@suse.de>
20666         [BZ #17118]
20667         * math/s_ctan.c (__ctan): Determine sign of zero real part of
20668         result when imaginary part of argument is infinite using sine and
20669         cosine.
20670         * math/s_ctanf.c (__ctanf): Likewise.
20671         * math/s_ctanl.c (__ctanl): Likewise.
20672         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20673         of result when real part of argument is infinite using sine and
20674         cosine.
20675         * math/s_ctanhf.c (__ctanhf): Likewise.
20676         * math/s_ctanhl.c (__ctanhl): Likewise.
20677         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20678         (ctanh_test_data): Add more tests of ctanh.
20680 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20682         [BZ #15384]
20683         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20684         bit-mask as in subtraction.
20685         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20686         Likewise.
20687         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20688         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20689         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20691         [BZ #18951]
20692         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20693         underflow exception for small results.
20694         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20695         Likewise.
20696         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20697         Likewise.
20698         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20699         Likewise.
20700         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20701         Likewise.
20702         * math/auto-libm-test-in: Add more tests of tgamma.
20703         * math/auto-libm-test-out: Regenerated.
20705 2015-09-17  Andreas Schwab  <schwab@suse.de>
20707         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20709 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20711         [BZ #18977]
20712         * math/bits/mathcalls.h
20713         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20714         not declare.
20715         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20716         Likewise.
20717         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20718         Likewise.
20719         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20720         Likewise.
20721         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20722         Likewise.
20723         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20724         Likewise.
20725         * conform/data/math.h-data
20726         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20727         function.
20728         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20729         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20730         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20731         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20732         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20733         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20734         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20735         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20736         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20737         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20738         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20740         [BZ #6803]
20741         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20742         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20743         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20744         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20745         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20746         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20747         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20748         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20749         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20750         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20751         Likewise.
20752         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20753         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20754         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20755         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20756         long_double_symbol calls.
20757         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20758         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20759         strong alias of __ldexpl.
20760         (scalbnl): Define using long_double_symbol.
20761         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20762         Remove alias.
20763         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20764         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20765         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20766         (scalbln_test_data): Add more errno expectations.
20768 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
20770         Cache the host port like we cache the task port.  This way we do not
20771         need to call the kernel just to get the port.  Furthermore, we no
20772         longer increase the reference count on every invocation of
20773         `mach_host_self'.
20775         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20776         Protect declarations against the macro expansion.
20777         * mach/mach_init.c (__mach_host_self_): New variable.
20778         (mach_init): Initialize `__mach_host_self_'.
20779         * mach/mach_init.h (__mach_host_self_): New declaration.
20780         (__mach_host_self, mach_host_self): New macros.
20781         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20782         Release reference.
20784 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20786         [BZ #4404]
20787         * po/de.po: Update from Translation Project.
20789         [BZ #16415]
20790         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20791         (__expm1l): Remove code to handle positive infinity and overflow.
20792         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20793         variable.
20794         (__expm1l): Remove code to handle positive infinity and overflow.
20796 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
20797             Paul Pluzhnikov  <ppluzhnikov@google.com>
20799         [BZ #18872]
20800         * stdio-common/Makefile (tst-printf-bz18872): New test.
20801         (tst-printf-bz18872-mem.out): Likewise.
20802         * stdio-common/tst-printf-bz18872.sh: Generate new test.
20803         * stdio-common/vfprintf.c: Fix memory leaks.
20805 2015-09-16  Andreas Schwab  <schwab@suse.de>
20807         [BZ #17244]
20808         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20809         Remove extra va_start/va_end calls.
20811         [BZ #17243]
20812         * posix/execl.c (execl): Add missing va_end.
20813         * posix/execle.c (execle): Likewise.
20814         * posix/execlp.c (execlp): Likewise.
20816 2015-09-15  Roland McGrath  <roland@hack.frob.com>
20818         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20819         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20821 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
20823         [BZ #18967]
20824         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
20825         undefine around includes of <bits/mathcalls.h>.
20826         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20827         not declare function.
20828         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20829         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20830         (scalb): Likewise.
20831         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20832         not define macro.
20833         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20834         variable.
20835         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20836         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20837         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20839         [BZ #18857]
20840         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20841         return non-finite argument without doing ordered comparisons on
20842         it.
20844         [BZ #16296]
20845         * math/fenv.h (fegetround): Use __attribute_pure__.
20846         * include/fenv.h (__fegetround): Likewise.
20848         [BZ #18595]
20849         * math/s_ctan.c (__ctan): Force underflow exception for results
20850         whose real or imaginary part has small absolute value.
20851         * math/s_ctanf.c (__ctanf): Likewise.
20852         * math/s_ctanh.c (__ctanh): Likewise.
20853         * math/s_ctanhf.c (__ctanhf): Likewise.
20854         * math/s_ctanhl.c (__ctanhl): Likewise.
20855         * math/s_ctanl.c (__ctanl): Likewise.
20856         * math/auto-libm-test-in: Do not allow missing underflow for ctan
20857         and ctanh.  Add more tests of ctan and ctanh.
20859         [BZ #15918]
20860         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20861         handling of cases where one argument is an infinity.
20863         [BZ #18875]
20864         [BZ #18966]
20865         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20866         (MO): New macro.
20867         (__ieee754_exp10): For small results, force underflow exception
20868         and remove excess range and precision from return value.
20869         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20870         (MO): New macro.
20871         (__ieee754_exp10f): For small results, force underflow exception
20872         and remove excess range and precision from return value.
20873         * math/auto-libm-test-in: Add more tests of exp10.
20874         * math/auto-libm-test-out: Regenerated.
20876 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
20878         [BZ #18875]
20879         [BZ #18961]
20880         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20881         (MO): New macro.
20882         (__ieee754_exp): For small results, force underflow exception and
20883         remove excess range and precision from return value.
20884         (__exp_finite): Likewise.
20885         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20886         (MO): New macro.
20887         (__ieee754_expf): For small results, force underflow exception and
20888         remove excess range and precision from return value.
20889         (__expf_finite): Likewise.
20890         * math/auto-libm-test-in: Add more tests of exp.
20891         * math/auto-libm-test-out: Regenerated.
20893         [BZ #16521]
20894         [BZ #18875]
20895         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20896         small results.
20897         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20898         (MO): New macro.
20899         (__ieee754_exp2): For small results, force underflow exception and
20900         remove excess range and precision from return value.
20901         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20902         (MO): New macro.
20903         (__ieee754_exp2f): For small results, force underflow exception
20904         and remove excess range and precision from return value.
20905         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20906         (MO): New macro.
20907         (__ieee754_exp2l): Force underflow exception for small results.
20908         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20909         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20910         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20911         (MO): New macro.
20912         (__ieee754_exp2l): Force underflow exception for small results.
20913         * math/auto-libm-test-in: Add more tests or exp2.
20914         * math/auto-libm-test-out: Regenerated.
20916 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
20918         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20920         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20921         /dev/null.
20923 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20925         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20926         io fs process)): Drop spurious backslash.
20928 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20930         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20931         Use sysinfo system call instead of parsing /proc/meminfo.
20932         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20933         Likewise.
20935 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
20937         [BZ #16985]
20938         * programs/localedef.c (main): Display argv[remaining] when
20939         output_path is NULL.
20941 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20943         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20944         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20945         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20946         tanh.
20947         * math/auto-libm-test-out: Regenerated.
20948         * sysdeps/i386/fpu/libm-test-ulps: Update.
20949         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20950         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20953 2015-09-11  Roland McGrath  <roland@hack.frob.com>
20955         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20956         Use 'override' keyword to freeze the value here, preventing
20957         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20959 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20961         [BZ #14912]
20962         * sysdeps/aarch64/bits/atomic.h: Move to ...
20963         * sysdeps/aarch64/atomic-machine.h: ...here.
20964         (_AARCH64_BITS_ATOMIC_H): Rename macro to
20965         _AARCH64_ATOMIC_MACHINE_H.
20966         * sysdeps/alpha/bits/atomic.h: Move to ...
20967         * sysdeps/alpha/atomic-machine.h: ...here.
20968         * sysdeps/arm/bits/atomic.h: Move to ...
20969         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
20970         * bits/atomic.h: Move to ...
20971         * sysdeps/generic/atomic-machine.h: ...here.
20972         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20973         * sysdeps/i386/bits/atomic.h: Move to ...
20974         * sysdeps/i386/atomic-machine.h: ...here.
20975         * sysdeps/ia64/bits/atomic.h: Move to ...
20976         * sysdeps/ia64/atomic-machine.h: ...here.
20977         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20978         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20979         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20980         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20981         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20982         * sysdeps/microblaze/bits/atomic.h: Move to ...
20983         * sysdeps/microblaze/atomic-machine.h: ...here.
20984         * sysdeps/mips/bits/atomic.h: Move to ...
20985         * sysdeps/mips/atomic-machine.h: ...here.
20986         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20987         * sysdeps/powerpc/bits/atomic.h: Move to ...
20988         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
20989         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20990         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
20991         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
20992         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20993         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
20994         <atomic-machine.h> instead of <bits/atomic.h>.
20995         * sysdeps/s390/bits/atomic.h: Move to ...
20996         * sysdeps/s390/atomic-machine.h: ...here.
20997         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20998         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20999         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21000         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
21001         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
21002         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
21003         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
21004         * sysdeps/tile/bits/atomic.h: Move to ...
21005         * sysdeps/tile/atomic-machine.h: ...here.
21006         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
21007         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
21008         <sysdeps/tile/atomic-machine.h> instead of
21009         <sysdeps/tile/bits/atomic.h>.
21010         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21011         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
21012         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
21013         <sysdeps/tile/atomic-machine.h> instead of
21014         <sysdeps/tile/bits/atomic.h>.
21015         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21016         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
21017         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
21018         <sysdeps/arm/atomic-machine.h> instead of
21019         <sysdeps/arm/bits/atomic.h>.
21020         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
21021         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
21022         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21023         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
21024         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
21025         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21026         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
21027         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
21028         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
21029         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
21030         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
21031         * sysdeps/x86_64/bits/atomic.h: Move to ...
21032         * sysdeps/x86_64/atomic-machine.h: ...here.
21033         * include/atomic.h: Include <atomic-machine.h> instead of
21034         <bits/atomic.h>.
21036         * sysdeps/mips/mips32/libm-test-ulps: Update.
21037         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21039         [BZ #18952]
21040         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
21041         not convert non-integer negative arguments to int to determine the
21042         value of signgam.
21043         * math/auto-libm-test-in: Add more tests of lgamma.
21044         * math/auto-libm-test-out: Regenerated.
21046         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
21047         cosh, csqrt, erfc, expm1 and lgamma.
21048         * math/auto-libm-test-out: Regenerated.
21049         * sysdeps/i386/fpu/libm-test-ulps: Update.
21050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21052 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
21054         [BZ #2542]
21055         [BZ #2543]
21056         [BZ #2558]
21057         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
21058         __lgamma_neg for arguments from -28.0 to -2.0.
21059         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
21060         __lgamma_negf for arguments from -15.0 to -2.0.
21061         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21062         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
21063         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
21064         Call __lgamma_negl for arguments from -33.0 to -2.0.
21065         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
21066         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
21067         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
21068         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
21069         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
21070         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
21071         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
21072         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
21073         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
21074         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
21075         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
21076         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
21077         (__lgamma_neg): Likewise.
21078         (__lgamma_negl): Likewise.
21079         (__lgamma_product): Likewise.
21080         (__lgamma_productl): Likewise.
21081         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
21082         * math/auto-libm-test-in: Add more tests of lgamma.
21083         * math/auto-libm-test-out: Regenerated.
21084         * sysdeps/i386/fpu/libm-test-ulps: Update.
21085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21087 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
21089         [BZ #18675]
21090         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
21092 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
21094         [BZ #14912]
21095         * bits/libc-lock.h: Move to ...
21096         * sysdeps/generic/libc-lock.h: ...here.
21097         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21098         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
21099         * sysdeps/mach/hurd/libc-lock.h: ...here.
21100         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21101         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
21102         * sysdeps/mach/bits/libc-lock.h: Move to ...
21103         * sysdeps/mach/libc-lock.h: ...here.
21104         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21105         * sysdeps/nptl/bits/libc-lock.h: Move to ...
21106         * sysdeps/nptl/libc-lock.h: ...here.
21107         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21108         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
21109         * sysdeps/nptl/libc-lockP.h: ...here.
21110         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
21111         * crypt/crypt_util.c: Include <libc-lock.h> instead of
21112         <bits/libc-lock.h>.
21113         * dirent/scandir-tail.c: Likewise.
21114         * dlfcn/dlerror.c: Likewise.
21115         * elf/dl-close.c: Likewise.
21116         * elf/dl-iteratephdr.c: Likewise.
21117         * elf/dl-lookup.c: Likewise.
21118         * elf/dl-open.c: Likewise.
21119         * elf/dl-support.c: Likewise.
21120         * elf/dl-writev.h: Likewise.
21121         * elf/rtld.c: Likewise.
21122         * grp/fgetgrent.c: Likewise.
21123         * gshadow/fgetsgent.c: Likewise.
21124         * gshadow/sgetsgent.c: Likewise.
21125         * iconv/gconv_conf.c: Likewise.
21126         * iconv/gconv_db.c: Likewise.
21127         * iconv/gconv_dl.c: Likewise.
21128         * iconv/gconv_int.h: Likewise.
21129         * iconv/gconv_trans.c: Likewise.
21130         * include/link.h: Likewise.
21131         * inet/getnameinfo.c: Likewise.
21132         * inet/getnetgrent.c: Likewise.
21133         * inet/getnetgrent_r.c: Likewise.
21134         * intl/bindtextdom.c: Likewise.
21135         * intl/dcigettext.c: Likewise.
21136         * intl/finddomain.c: Likewise.
21137         * intl/gettextP.h: Likewise.
21138         * intl/loadmsgcat.c: Likewise.
21139         * intl/localealias.c: Likewise.
21140         * intl/textdomain.c: Likewise.
21141         * libidn/idn-stub.c: Likewise.
21142         * libio/libioP.h: Likewise.
21143         * locale/duplocale.c: Likewise.
21144         * locale/freelocale.c: Likewise.
21145         * locale/newlocale.c: Likewise.
21146         * locale/setlocale.c: Likewise.
21147         * login/getutent_r.c: Likewise.
21148         * login/getutid_r.c: Likewise.
21149         * login/getutline_r.c: Likewise.
21150         * login/utmp-private.h: Likewise.
21151         * login/utmpname.c: Likewise.
21152         * malloc/mtrace.c: Likewise.
21153         * misc/efgcvt.c: Likewise.
21154         * misc/error.c: Likewise.
21155         * misc/fstab.c: Likewise.
21156         * misc/getpass.c: Likewise.
21157         * misc/mntent.c: Likewise.
21158         * misc/syslog.c: Likewise.
21159         * nis/nis_call.c: Likewise.
21160         * nis/nis_callback.c: Likewise.
21161         * nis/nss-default.c: Likewise.
21162         * nis/nss_compat/compat-grp.c: Likewise.
21163         * nis/nss_compat/compat-initgroups.c: Likewise.
21164         * nis/nss_compat/compat-pwd.c: Likewise.
21165         * nis/nss_compat/compat-spwd.c: Likewise.
21166         * nis/nss_nis/nis-alias.c: Likewise.
21167         * nis/nss_nis/nis-ethers.c: Likewise.
21168         * nis/nss_nis/nis-grp.c: Likewise.
21169         * nis/nss_nis/nis-hosts.c: Likewise.
21170         * nis/nss_nis/nis-network.c: Likewise.
21171         * nis/nss_nis/nis-proto.c: Likewise.
21172         * nis/nss_nis/nis-pwd.c: Likewise.
21173         * nis/nss_nis/nis-rpc.c: Likewise.
21174         * nis/nss_nis/nis-service.c: Likewise.
21175         * nis/nss_nis/nis-spwd.c: Likewise.
21176         * nis/nss_nisplus/nisplus-alias.c: Likewise.
21177         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21178         * nis/nss_nisplus/nisplus-grp.c: Likewise.
21179         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21180         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21181         * nis/nss_nisplus/nisplus-network.c: Likewise.
21182         * nis/nss_nisplus/nisplus-proto.c: Likewise.
21183         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21184         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21185         * nis/nss_nisplus/nisplus-service.c: Likewise.
21186         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21187         * nis/ypclnt.c: Likewise.
21188         * nptl/libc_pthread_init.c: Likewise.
21189         * nss/getXXbyYY.c: Likewise.
21190         * nss/getXXent.c: Likewise.
21191         * nss/getXXent_r.c: Likewise.
21192         * nss/nss_db/db-XXX.c: Likewise.
21193         * nss/nss_db/db-netgrp.c: Likewise.
21194         * nss/nss_db/nss_db.h: Likewise.
21195         * nss/nss_files/files-XXX.c: Likewise.
21196         * nss/nss_files/files-alias.c: Likewise.
21197         * nss/nsswitch.c: Likewise.
21198         * posix/regex_internal.h: Likewise.
21199         * posix/wordexp.c: Likewise.
21200         * pwd/fgetpwent.c: Likewise.
21201         * resolv/res_hconf.c: Likewise.
21202         * resolv/res_libc.c: Likewise.
21203         * shadow/fgetspent.c: Likewise.
21204         * shadow/lckpwdf.c: Likewise.
21205         * shadow/sgetspent.c: Likewise.
21206         * socket/opensock.c: Likewise.
21207         * stdio-common/reg-modifier.c: Likewise.
21208         * stdio-common/reg-printf.c: Likewise.
21209         * stdio-common/reg-type.c: Likewise.
21210         * stdio-common/vfprintf.c: Likewise.
21211         * stdio-common/vfscanf.c: Likewise.
21212         * stdlib/abort.c: Likewise.
21213         * stdlib/cxa_atexit.c: Likewise.
21214         * stdlib/fmtmsg.c: Likewise.
21215         * stdlib/random.c: Likewise.
21216         * stdlib/setenv.c: Likewise.
21217         * string/strsignal.c: Likewise.
21218         * sunrpc/auth_none.c: Likewise.
21219         * sunrpc/bindrsvprt.c: Likewise.
21220         * sunrpc/create_xid.c: Likewise.
21221         * sunrpc/key_call.c: Likewise.
21222         * sunrpc/rpc_thread.c: Likewise.
21223         * sysdeps/arm/backtrace.c: Likewise.
21224         * sysdeps/generic/ldsodefs.h: Likewise.
21225         * sysdeps/generic/stdio-lock.h: Likewise.
21226         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21227         * sysdeps/i386/backtrace.c: Likewise.
21228         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21229         * sysdeps/m68k/backtrace.c: Likewise.
21230         * sysdeps/mach/hurd/cthreads.c: Likewise.
21231         * sysdeps/mach/hurd/dirstream.h: Likewise.
21232         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21233         * sysdeps/nptl/malloc-machine.h: Likewise.
21234         * sysdeps/nptl/stdio-lock.h: Likewise.
21235         * sysdeps/posix/dirstream.h: Likewise.
21236         * sysdeps/posix/getaddrinfo.c: Likewise.
21237         * sysdeps/posix/system.c: Likewise.
21238         * sysdeps/pthread/aio_suspend.c: Likewise.
21239         * sysdeps/s390/s390-32/backtrace.c: Likewise.
21240         * sysdeps/s390/s390-64/backtrace.c: Likewise.
21241         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21242         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21243         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21244         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21245         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21246         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21247         * sysdeps/unix/sysv/linux/system.c: Likewise.
21248         * sysdeps/x86_64/backtrace.c: Likewise.
21249         * time/alt_digit.c: Likewise.
21250         * time/era.c: Likewise.
21251         * time/tzset.c: Likewise.
21252         * wcsmbs/wcsmbsload.c: Likewise.
21253         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21254         instead of <bits/libc-lock.h> in comment.
21256 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
21258         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21259         Only use .set mips2 if the current ISA is below mips2.
21260         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21261         Likewise.
21262         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21263         mips32r2 if the current ISA is below mips32r2.
21264         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21265         (TLS_IE): Updated to use the TLD_RDHWR macro.
21266         (TLS_LE): Likewise.
21267         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21268         __ASSEMBLER__ condition.
21270 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21272         Fix parallel build of before-compile targets.
21274         * sysdeps/mach/Makefile ($(patsubst
21275         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21276         mach-before-compile target.
21277         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21278         io fs process)): Move rule to dedicated hurd-before-compile target.
21280 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21282         Fix rules generating headers in hurd/ and mach/ when initial make call
21283         has subdir= explicitly set.
21285         * sysdeps/mach/Makefile ($(patsubst
21286         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21287         calling $(MAKE).
21288         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21289         io fs process)): Force subdir to hurd when calling $(MAKE).
21290         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21291         subdir to mach when calling $(MAKE).
21293 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
21295         Check sysheaders when looking for Mach and Hurd headers
21297         * sysdeps/mach/configure.ac: Add sysheaders check.
21298         * sysdeps/mach/configure: Regenerate.
21299         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21300         * sysdeps/mach/hurd/configure: Regenerate.
21302 2015-09-04  Roland McGrath  <roland@hack.frob.com>
21304         [BZ #18921]
21305         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21306         Fix inverted sense of test of 'o_directory_works' value.
21307         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21308         Bernhard Voelker <mail@bernhard-voelker.de>.
21310 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21312         [BZ #14912]
21313         * bits/linkmap.h: Move to ...
21314         * sysdeps/generic/linkmap.h: ...here.
21315         * sysdeps/aarch64/bits/linkmap.h: Move to ...
21316         * sysdeps/aarch64/linkmap.h: ...here.
21317         * sysdeps/arm/bits/linkmap.h: Move to ...
21318         * sysdeps/arm/linkmap.h: ...here.
21319         * sysdeps/hppa/bits/linkmap.h: Move to ...
21320         * sysdeps/hppa/linkmap.h: ...here.
21321         * sysdeps/ia64/bits/linkmap.h: Move to ...
21322         * sysdeps/ia64/linkmap.h: ...here.
21323         * sysdeps/mips/bits/linkmap.h: Move to ...
21324         * sysdeps/mips/linkmap.h: ...here.
21325         * sysdeps/s390/bits/linkmap.h: Move to ...
21326         * sysdeps/s390/linkmap.h: ...here.
21327         * sysdeps/sh/bits/linkmap.h: Move to ...
21328         * sysdeps/sh/linkmap.h: ...here.
21329         * sysdeps/x86/bits/linkmap.h: Move to ...
21330         * sysdeps/x86/linkmap.h: ...here.
21331         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21333 2015-09-04  Andreas Schwab  <schwab@suse.de>
21335         [BZ #18635]
21336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21337         (__makecontext): Terminate FDE before return label.
21338         (__novec_makecontext): Likewise.
21340 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21342         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21343         first member of struct sv in syscall macro.
21345 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21347         [BZ #14912]
21348         * bits/stdio-lock.h: Move to ...
21349         * sysdeps/generic/stdio-lock.h: ...here.
21350         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21351         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21352         * sysdeps/nptl/stdio-lock.h: ...here.
21353         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21354         * include/libio.h: Include <stdio-lock.h> instead of
21355         <bits/stdio-lock.h>.
21356         * sysdeps/nptl/fork.c: Likewise.
21357         * sysdeps/pthread/flockfile.c: Likewise.
21358         * sysdeps/pthread/ftrylockfile.c: Likewise.
21359         * sysdeps/pthread/funlockfile.c: Likewise.
21361         [BZ #14912]
21362         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21363         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21364         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21365         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21366         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21367         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21368         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21370 2015-09-03  Roland McGrath  <roland@hack.frob.com>
21372         * elf/Makefile (test-xfail-tst-protected1a): New variable.
21373         (test-xfail-tst-protected1b): New variable.
21375 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
21377         [BZ #14912]
21378         * bits/libc-tsd.h: Move to ...
21379         * sysdeps/generic/libc-tsd.h: ...here.
21380         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21381         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21382         * sysdeps/mach/hurd/libc-tsd.h: ...here.
21383         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21384         * include/ctype.h: Include <libc-tsd.h> instead of
21385         <bits/libc-tsd.h>.
21386         * include/rpc/rpc.h: Likewise.
21387         * locale/localeinfo.h: Likewise.
21388         * sunrpc/rpc_thread.c: Likewise.
21389         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21390         * sysdeps/nptl/malloc-machine.h: Likewise.
21392         * Makefile (headers): Remove bits/libc-lock.h.
21393         * libio/Makefile (headers): Remove bits/stdio-lock.h.
21395         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21396         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21397         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21398         <bits/stdio-lock.h>.
21399         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21400         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21402 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21404         [BZ #18757]
21405         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21406         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21407         BZ #18757.
21409 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21411         * malloc/mtrace.pl: Filter out NULL entries.
21413 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
21415         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21416         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21417         macro.
21419         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21420         (TCP_CC_INFO): Likewise.
21421         (TCP_SAVE_SYN): Likewise.
21422         (TCP_SAVED_SYN): Likewise.
21424 2015-08-31  Brett Neumeier <brett@neumeier.us>
21426         [BZ #18870]
21427         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21429 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
21431         [BZ #18873]
21432         Fix broken overflow check in posix_fallocate
21433         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21434         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21435         Fix parenthesization typo.
21437 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
21439         [BZ #18887]
21440         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21441         tst-mntent-blank-passno.
21442         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21443         * misc/tst-mntent-blank-corrupt.c: New test.
21444         * misc/tst-mntent-blank-passno.c: New test ripped from ...
21445         * misc/tst-mntent.c (do_test): ... here.
21447 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
21449         [BZ #4404]
21450         * po/de.po: Fix SIGALRM typo.
21452 2015-08-28  James Perkins  <james@loowit.net>
21454         * time/tst-strptime2.c (tests): Replace short list of test
21455         strings for strptime %z specifier with code which exhaustively
21456         tests every combination of sign and 0 to 5 digits. Tests for
21457         rejection of invalid strings.
21459 2015-08-28  James Perkins  <james@loowit.net>
21461         [BZ #16141]
21462         * time/strptime_l.c (__strptime_internal): Fix %z minutes
21463         calculation, removing incorrect decimal time rounding, so that
21464         all minute values result in a valid seconds value.
21465         * time/strptime_l.c (__strptime_internal): Extend %z time zone
21466         offset range limits to UTC-99:59 through UTC+99:59 to parse
21467         current and historical use cases.
21468         * time/tst-strptime2.c (tests): Modify and add tests for the
21469         strptime %z input field descriptor, specifically conversion of
21470         minutes to seconds and validating an offset range of -9959 to
21471         +9959.
21473 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21474             Dmitry V. Levin  <ldv@altlinux.org>
21476         [BZ #18877]
21477         * posix/Makefile (tests): Add tst-mmap-offset.
21478         * posix/tst-mmap.c: New file.
21479         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21480         offset calculation for negative values.
21482 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21484         * sysdeps/i386/init-arch.h: New file.
21485         * sysdeps/i386/i586/init-arch.h: Likewise.
21486         * sysdeps/i386/i686/init-arch.h: Likewise.
21487         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21488         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
21489         * sysdeps/x86/cpu-features.h (bit_I586): New.
21490         (bit_I686): Likewise.
21491         (bit_CX8): Likewise.
21492         (bit_CMOV): Likewise.
21493         (index_CX8): Likewise.
21494         (index_CMOV): Likewise.
21495         (index_I586): Likewise.
21496         (index_I686): Likewise.
21497         (reg_CX8): Likewise.
21498         (reg_CMOV): Likewise.
21499         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21500         available at compile-time.
21501         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21502         available at compile-time.
21503         * sysdeps/x86/init-arch.h (USE_I586): New macro.
21504         (USE_I686): Likewise.
21506 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21508         * sysdeps/i386/bcopy.S: New file.
21509         * sysdeps/i386/bzero.S: Likewise.
21510         * sysdeps/i386/memcpy.S: Likewise.
21511         * sysdeps/i386/memmove.S: Likewise.
21512         * sysdeps/i386/mempcpy.S: Likewise.
21513         * sysdeps/i386/memset.S: Likewise.
21514         * sysdeps/i386/bzero.c: Removed.
21515         * sysdeps/i386/memset.c: Likewise.
21516         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21517         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21518         * sysdeps/i386/i586/memset_chk.S: Likewise.
21519         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21520         * sysdeps/i386/memcpy_chk.S: Here.
21521         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21522         * sysdeps/i386/memmove_chk.S: Here.
21523         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21524         * sysdeps/i386/mempcpy_chk.S: Likewise.
21525         * sysdeps/i386/i686/memset_chk.S: Moved to ...
21526         * sysdeps/i386/memset_chk.S: Likewise.
21528 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
21530         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21531         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21532         file, move DIAG_POP_NEEDS_COMMENT to end of file.
21533         * soft-fp/fmadf4.c: Ditto.
21534         * soft-fp/fmatf4.c: Ditto.
21536 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21538         * sysdeps/i386/i586/Implies: Removed.
21539         * sysdeps/i386/i686/Implies: Likewise.
21541 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21543         * sysdeps/i386/i486/strlen.S: Moved to ...
21544         * sysdeps/i386/strlen.S: Here.
21546 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21548         * sysdeps/i386/i486/strcat.S: Moved to ...
21549         * sysdeps/i386/strcat.S: Here.
21551 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21553         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21554         * sysdeps/i386/pthread_spin_trylock.S: Here.
21555         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21556         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21558 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21560         * sysdeps/i386/i486/string-inlines.c: Moved to ...
21561         * sysdeps/i386/string-inlines.c: Here.
21563 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21565         * sysdeps/i386/i486/htonl.S: Moved ...
21566         * sysdeps/i386/htonl.S: here.
21568 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21570         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21571         * sysdeps/i386/bits/atomic.h: Here.
21573 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21575         * sysdeps/i386/i486/Versions: Removed.
21577 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21579         [BZ #2898]
21580         * misc/mktemp.c: Add mkdtemp to the link_warning message.
21581         Based on patch by Aurelien Jarno.
21583 2015-08-26  Stan Shebs  <stanshebs@google.com>
21585         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21586         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21588 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21590         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21591         * sysdeps/powerpc/dl-procinfo.c:
21592         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21593         feature so it shows when LD_SHOW_AUXV=1.
21595 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21597         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21598         (__arch_compare_and_exchange_val_32_acq): Remove and use common
21599         definition.  ISA 2.07B no longer requires full sync.
21601 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
21603         [BZ #18863]
21604         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21605         (si_call_addr): Define.
21606         (si_syscall): Define.
21607         (si_arch): Define.
21609 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
21611         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21612         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21613         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21614         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21615         (__memset_zero_constant_len_parameter): New.
21616         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21617         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21618         (__memset_zero_constant_len_parameter): Don't define if
21619         __memset_chk or USE_AS_BZERO are defined.
21621         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21622         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21623         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21625         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21626         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21627         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21628         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
21629         comments.
21630         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21631         -mno-mmx for $(all-rtld-routines).
21632         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21633         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
21634         i386.
21636 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21638         * sysdeps/generic/unwind.h
21639         (_Unwind_Word): Use __mode__(__unwind_word__)
21640         instead of __mode__(__word__).
21641         (_Unwind_Sword): Likewise.
21643         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21644         (MAX_NEEDED_INPUT): New define.
21645         (MAX_NEEDED_OUTPUT): New define.
21647         * NEWS: New item for IBM z13 string optimizations.
21649         * sysdeps/s390/multiarch/memrchr-c.c: New File.
21650         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21651         * sysdeps/s390/multiarch/memrchr.c: Likewise.
21652         * sysdeps/s390/multiarch/Makefile
21653         (sysdep_routines): Add memrchr functions.
21654         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21655         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21657         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21658         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21659         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21660         * sysdeps/s390/multiarch/Makefile
21661         (sysdep_routines): Add wmemcmp functions.
21662         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21663         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21664         * benchtests/bench-wmemcmp.c: New File.
21665         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21667         * sysdeps/s390/multiarch/wmemset-c.c: New File.
21668         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21669         * sysdeps/s390/multiarch/wmemset.c: Likewise.
21670         * sysdeps/s390/multiarch/Makefile
21671         (sysdep_routines): Add wmemset functions.
21672         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21673         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21674         * wcsmbs/wmemset.c: Use WMEMSET if defined.
21675         * string/test-memset.c: Add wmemset support.
21676         * wcsmbs/test-wmemset.c: New File.
21677         * wcsmbs/Makefile (strop-tests): Add wmemset.
21678         * benchtests/bench-memset.c: Add wmemset support.
21679         * benchtests/bench-wmemset.c: New File.
21680         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21682         * sysdeps/s390/multiarch/memccpy-c.c: New File.
21683         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21684         * sysdeps/s390/multiarch/memccpy.c: Likewise.
21685         * sysdeps/s390/multiarch/Makefile
21686         (sysdep_routines): Add memccpy functions.
21687         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21688         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21689         * string/memccpy.c: Use MEMCCPY if defined.
21691         * sysdeps/s390/multiarch/memchr-vx.S: New File.
21692         * sysdeps/s390/multiarch/memchr.c: Likewise.
21693         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21694         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21695         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21696         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21697         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21698         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21699         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21700         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21701         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21702         and rawmemchr functions.
21703         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21704         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21705         and wmemchr.
21706         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21707         * string/test-memchr.c: Add wmemchr support.
21708         * wcsmbs/test-wmemchr.c: New File.
21709         * wcsmbs/Makefile (strop-tests): Add wmemchr.
21710         * benchtests/bench-memchr.c: Add wmemchr support.
21711         * benchtests/bench-wmemchr.c: New File.
21712         * benchtests/Makefile (wcsmbs-bench): wmemchr.
21714         * sysdeps/s390/multiarch/strcspn-c.c: New File.
21715         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21716         * sysdeps/s390/multiarch/strcspn.c: Likewise.
21717         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21718         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21719         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21720         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21721         wcscspn functions.
21722         * sysdeps/s390/multiarch/ifunc-impl-list.c
21723         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21724         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21725         * string/test-strcspn.c: Add wcscspn support.
21726         * wcsmbs/test-wcscspn.c: New File.
21727         * wcsmbs/Makefile (strop-tests): Add wcscspn.
21728         * benchtests/bench-strcspn.c: Add wcscspn support.
21729         * benchtests/bench-wcscspn.c: New File.
21730         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21732         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21733         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21734         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21735         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21736         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21737         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21738         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21739         wcspbrk functions.
21740         * sysdeps/s390/multiarch/ifunc-impl-list.c
21741         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21742         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21743         * string/test-strpbrk.c: Add wcspbrk support.
21744         * wcsmbs/test-wcspbrk.c: New File.
21745         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21746         * benchtests/bench-strpbrk.c: Add wcspbrk support.
21747         * benchtests/bench-wcspbrk.c: New File.
21748         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21750         * sysdeps/s390/multiarch/strspn-c.c: New File.
21751         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21752         * sysdeps/s390/multiarch/strspn.c: Likewise.
21753         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21754         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21755         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21756         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21757         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21758         wcsspn functions.
21759         * sysdeps/s390/multiarch/ifunc-impl-list.c
21760         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21761         * string/test-strspn.c: Add wcsspn support.
21762         * wcsmbs/test-wcsspn.c: New File.
21763         * wcsmbs/Makefile (strop-tests): Add wcsspn.
21764         * benchtests/bench-strspn.c: Add wcsspn support.
21765         * benchtests/bench-wcsspn.c: New File.
21766         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21768         * sysdeps/s390/multiarch/strrchr-c.c: New File.
21769         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21770         * sysdeps/s390/multiarch/strrchr.c: Likewise.
21771         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21772         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21773         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21774         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21775         wcsrchr functions.
21776         * sysdeps/s390/multiarch/ifunc-impl-list.c
21777         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21778         * benchtests/bench-wcsrchr.c: New File.
21779         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21781         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21782         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21783         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21784         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21785         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21786         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21787         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21788         wcschrnul functions.
21789         * sysdeps/s390/multiarch/ifunc-impl-list.c
21790         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21791         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21792         * string/test-strchr.c: Add wcschrnul support.
21793         * wcsmbs/test-wcschrnul.c: New File.
21794         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21795         * benchtests/bench-strchr.c: Add wcschrnul support.
21796         * benchtests/bench-wcschrnul.c: New File.
21797         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21799         * sysdeps/s390/multiarch/strchr-c.c: New File.
21800         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21801         * sysdeps/s390/multiarch/strchr.c: Likewise.
21802         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21803         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21804         * sysdeps/s390/multiarch/wcschr.c: Likewise.
21805         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21806         wcschr functions.
21807         * sysdeps/s390/multiarch/ifunc-impl-list.c
21808         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21809         * string/strchr.c (STRCHR): Define and use macro.
21810         * benchtests/bench-wcschr.c: New File.
21811         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21813         * sysdeps/s390/multiarch/strncmp-c.c: New File.
21814         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21815         * sysdeps/s390/multiarch/strncmp.c: Likewise.
21816         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21817         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21818         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21819         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21820         wcsncmp functions.
21821         * sysdeps/s390/multiarch/ifunc-impl-list.c
21822         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21823         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21824         * benchtests/bench-strncmp.c: Add wcsncmp support.
21825         * benchtests/bench-wcsncmp.c: New File.
21826         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21828         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21829         * sysdeps/s390/multiarch/strcmp.c: Likewise.
21830         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21831         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21832         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21833         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21834         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21835         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21836         wcscmp functions.
21837         * sysdeps/s390/multiarch/ifunc-impl-list.c
21838         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21839         * string/strcmp.c (STRCMP): Define and use macro.
21840         * benchtests/bench-wcscmp.c: New File.
21841         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21842         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21843         instead of _HAVE_STRING_ARCH_memchr.
21845         * sysdeps/s390/multiarch/strncat-c.c: New File.
21846         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21847         * sysdeps/s390/multiarch/strncat.c: Likewise.
21848         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21849         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21850         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21851         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21852         wcsncat functions.
21853         * sysdeps/s390/multiarch/ifunc-impl-list.c
21854         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21855         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21856         * string/test-strncat.c: Add wcsncat support.
21857         * wcsmbs/test-wcsncat.c: New File.
21858         * wcsmbs/Makefile (strop-tests): Add wcsncat.
21859         * benchtests/bench-strncat.c: Add wcsncat support.
21860         * benchtests/bench-wcsncat.c: New File.
21861         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21863         * sysdeps/s390/multiarch/strcat-c.c: New File.
21864         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21865         * sysdeps/s390/multiarch/strcat.c: Likewise.
21866         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21867         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21868         * sysdeps/s390/multiarch/wcscat.c: Likewise.
21869         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21870         wcscat functions.
21871         * sysdeps/s390/multiarch/ifunc-impl-list.c
21872         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21873         * string/strcat.c (STRCAT): Define and use macro.
21874         * wcsmbs/wcscat.c: Use WCSCAT if defined.
21875         * string/test-strcat.c: Add wcscat support.
21876         * wcsmbs/test-wcscat.c: New File.
21877         * wcsmbs/Makefile (strop-tests): Add wcscat.
21878         * benchtests/bench-strcat.c: Add wcscat support.
21879         * benchtests/bench-wcscat.c: New File.
21880         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21882         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21883         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21884         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21885         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21886         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21887         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21888         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21889         wcpncpy functions.
21890         * sysdeps/s390/multiarch/ifunc-impl-list.c
21891         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21892         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21893         * string/test-stpncpy.c: Add wcpncpy support.
21894         * wcsmbs/test-wcpncpy.c: New File.
21895         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21896         * benchtests/bench-stpncpy.c: Add wcpncpy support.
21897         * benchtests/bench-wcpncpy.c: New File.
21898         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21900         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21901         * sysdeps/s390/multiarch/strncpy.c: Likewise.
21902         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21903         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21904         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21905         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21906         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21907         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21908         wcsncpy functions.
21909         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21910         * sysdeps/s390/multiarch/ifunc-impl-list.c
21911         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21912         * string/test-strncpy.c: Add wcsncpy support.
21913         * wcsmbs/test-wcsncpy.c: New File.
21914         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21915         * benchtests/bench-strncpy.c: Add wcsncpy support.
21916         * benchtests/bench-wcsncpy.c: New File.
21917         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21919         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21920         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21921         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21922         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21923         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21924         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21925         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21926         wcpcpy functions.
21927         * string/stpcpy.c: Use STPCPY if defined.
21928         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21929         * sysdeps/s390/multiarch/ifunc-impl-list.c
21930         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21931         * string/test-stpcpy.c: Add wcpcpy support.
21932         * wcsmbs/test-wcpcpy.c: New File.
21933         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21934         * benchtests/bench-stpcpy.c: Add wcpcpy support.
21935         * benchtests/bench-wcpcpy.c: New File.
21936         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21938         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21939         * sysdeps/s390/multiarch/strcpy.c: Likewise.
21940         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21941         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21942         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21943         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21944         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21945         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21946         wcscpy functions.
21947         * sysdeps/s390/multiarch/ifunc-impl-list.c
21948         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21949         * benchtests/bench-wcscpy.c: New File.
21950         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21952         * sysdeps/s390/multiarch/strnlen-c.c: New File.
21953         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21954         * sysdeps/s390/multiarch/strnlen.c: Likewise.
21955         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21956         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21957         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21958         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21959         wcsnlen functions.
21960         * sysdeps/s390/multiarch/ifunc-impl-list.c
21961         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21962         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21963         * string/test-strnlen.c: Add wcsnlen support.
21964         * wcsmbs/test-wcsnlen.c: New File.
21965         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21966         * benchtests/bench-strnlen.c: Add wcsnlen support.
21967         * benchtests/bench-wcsnlen.c: New File.
21968         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21970         * sysdeps/s390/multiarch/Makefile: New File.
21971         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21972         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21973         * sysdeps/s390/multiarch/strlen.c: Likewise.
21974         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21975         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21976         * sysdeps/s390/multiarch/wcslen.c: Likewise.
21977         * string/strlen.c (STRLEN): Define and use macro.
21978         * sysdeps/s390/multiarch/ifunc-impl-list.c
21979         (IFUNC_VX_IMPL): New macro function.
21980         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21981         * benchtests/Makefile (wcsmbs-bench): New variable.
21982         (string-bench-all): Added wcsmbs-bench.
21983         * benchtests/bench-wcslen.c: New File.
21985         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21986         s390_vx_libc_ifunc2): New macro function.
21988         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21989         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21990         assembler support.
21991         * sysdeps/s390/configure: Regenerated.
21993         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21994         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21996         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21997         * sysdeps/s390/dl-procinfo.h: Add vector capability.
21998         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
22000         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
22001         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
22002         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
22003         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
22004         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
22005         (memcmp, bcmp): Use __memcmp_default as alias source.
22006         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
22007         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
22008         Rename to __memcmp_default.
22009         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
22010         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
22011         (memcpy): Use __memcpy_default as alias source.
22012         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22013         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
22014         Rename to __memcpy_default.
22015         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
22016         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
22017         (memset): Use __memset_default as alias source.
22018         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
22019         * sysdeps/s390/s390-32/memset.S (__memset_g5):
22020         Rename to __memset_default.
22021         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
22022         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
22023         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
22024         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
22025         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
22026         (memcmp, bcmp): Use __memcmp_default as alias source.
22027         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
22028         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
22029         Rename to __memcmp_default.
22030         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
22031         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
22032         (memcpy): Use __memcpy_default as alias source.
22033         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
22034         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
22035         Rename to __memcpy_default.
22036         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
22037         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
22038         (memset): Use __memset_default as alias source.
22039         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
22040         * sysdeps/s390/s390-64/memset.S (__memset_z900):
22041         Rename to __memset_default.
22042         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
22043         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
22045         [BZ #18610]
22046         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
22047         __ieee_instruction_pointer to __unused.
22048         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
22049         __ieee_instruction_pointer.
22050         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
22051         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
22052         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22053         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22054         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
22055         Mark dxc-field as reserved.
22057 2015-08-25  Roland McGrath  <roland@hack.frob.com>
22059         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
22060         if the weak reference is not null.
22062 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22064         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
22066         [BZ #11214]
22067         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
22069 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22071         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
22072         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
22073         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
22074         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
22075         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
22076         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
22077         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
22078         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
22079         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
22080         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22081         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
22082         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
22083         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
22084         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
22085         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
22086         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
22087         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
22088         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
22090 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22092         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
22093         register other than r0 for tabort, it has special meaning.
22094         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
22095         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
22096         transaction before starting syscall.
22098 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22100         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
22102 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22104         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
22106         * sysdeps/x86_64/rtld-memcmp.c: Removed.
22107         * sysdeps/x86_64/rtld-memset.S: Likewise.
22108         * sysdeps/x86_64/rtld-strchr.S: Likewise.
22109         * sysdeps/x86_64/rtld-strlen.S: Likewise.
22110         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
22111         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22113         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
22115 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
22117         * debug/strcpy_chk.c: Improve performance.
22118         * debug/stpcpy_chk.c: Likewise.
22119         * sysdeps/x86_64/strcpy_chk.S: Remove.
22120         * sysdeps/x86_64/stpcpy_chk.S: Remove.
22122         [BZ #18240]
22123         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
22125 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22127         [BZ #15128]
22128         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
22129         ifuncmain8.
22130         (modules-names): Add ifuncmod8.
22131         ($(objpfx)ifuncmain8): New rule.
22132         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
22133         <cpuid.h>.
22134         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
22135         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
22136         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
22137         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
22138         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
22139         * sysdeps/x86_64/dl-trampoline.h: Likewise.
22140         * sysdeps/x86_64/ifuncmain8.c: New file.
22141         * sysdeps/x86_64/ifuncmod8.c: Likewise.
22142         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
22143         Removed.
22144         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
22145         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22146         Change rtld_savespace_sse to __glibc_unused2.
22147         (RTLD_CHECK_FOREIGN_CALL): Removed.
22148         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22149         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22150         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22152 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22154         * sysdeps/aarch64/bzero.S (__bzero): Remove.
22156 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22158         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22159         Unconditionally set __fpcr to avoid uninialized warning.
22160         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22162 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22164         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22165         is corrupt.
22167         * malloc/arena.c (arena_get2): Drop unused argument.
22168         (arena_lock): Adjust.
22169         (arena_get_retry): Likewise.
22171 2015-08-24  Andreas Schwab  <schwab@suse.de>
22173         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22174         Don't define.
22175         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22176         (__ASSUME_IPC64): Don't undef.
22177         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22178         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22179         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22180         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22181         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22182         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22183         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22184         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22185         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22186         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22187         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22188         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22189         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22190         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22191         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22192         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22193         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22194         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22195         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22196         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22197         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22199 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
22201         * manual/Makefile (install): Only build manual when perl is available.
22203 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22205         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22206         '#undef memcpy' by '#undef memchr'.
22208 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22210         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22211         memchr not point to the internal __GI_memchr implementation.
22213 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22215         * timezone/Makefile (CFLAGS-zdump.c): Remove
22216         -Wno-strict-prototypes.
22217         (CFLAGS-zic.c): Likewise.
22218         (CFLAGS-ialloc.c): Likewise.
22219         (CFLAGS-scheck.c): Likewise.
22221         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22222         -Wno-error=undef.
22224 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22226         * i386/i686/multiarch/strcasestr-c.c: Removed.
22227         * x86_64/multiarch/strcasestr.c: Likewise.
22228         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22229         Remove strcasestr.
22231 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22233         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22235         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22236         variables for high and low parts before possibly modifying them.
22238 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22240         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22241         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22242         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22243         of "multiarch/init-arch.h".
22244         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22245         * sysdeps/x86/init-arch.h: This.
22247 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22249         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22250         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22252 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
22254         [BZ #17787]
22255         * manual/macros.texi: Add twoexp macro.
22256         * manual/filesys.texi: Fix exponents.
22257         * manual/llio.texi: Likewise.
22258         * manual/stdio.texi: Likewise.
22260 2015-08-20  Florian Weimer  <fweimer@redhat.com>
22262         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22263         incorrect use.
22265 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22267         [BZ #18370]
22268         * math/s_csqrt.c (__csqrt): Force underflow exception for results
22269         whose real or imaginary part has small absolute value.
22270         * math/s_csqrtf.c (__csqrtf): Likewise.
22271         * math/s_csqrtl.c (__csqrtl): Likewise.
22272         * math/auto-libm-test-in: Add more tests of csqrt.
22273         * math/auto-libm-test-out: Regenerated.
22274         * sysdeps/i386/fpu/libm-test-ulps: Update.
22276 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22278         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22279         __ppc_set_ppr_very_low): New functions.
22280         * manual/platform.texi: Add documentation about
22281         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22283 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
22285         * string/stpncpy.c (stpncpy): Improve performance using
22286         __strnlen/memcpy/memset.
22288 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22290         [BZ #18796]
22291         * scripts/test-installation.pl: Don't add -lmvec to build options if
22292         libmvec wasn't built.
22294 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22296         [BZ #14341]
22297         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22298         case when there is a gap between DT_REL and DT_JMPREL sections.
22299         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22300         (LDFLAGS-tst-split-dynreloc): New.
22301         (tst-split-dynreloc-ENV): Likewise.
22302         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22303         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22305 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22307         [BZ #18822]
22308         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22309         attribute_hidden.
22310         (__xstat64_conv): Likewise.
22311         (__xstat32_conv): Likewise.
22313 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22315         [BZ #18822]
22316         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22317         Don't load %ebx when calling __setcontext.  Call __setcontext
22318         with HIDDEN_JUMPTARGET.
22319         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22320         libc_hidden_def.
22322 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22324         * sysdeps/i386/i686/Makefile
22325         [$(subdir) == string] (sysdep_routines): Moved to ...
22326         * sysdeps/i386/Makefile: Here.
22327         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22328         * sysdeps/i386/cacheinfo.c: Here.
22329         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22330         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22331         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22332         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22334 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22336         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22337         __i586__ is defined.
22338         (HAS_I686): Defined to 1 if __i686__ is defined.
22340 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22342         * elf/Makefile [$(have-z-execstack) = yes]
22343         (CPPFLAGS-tst-execstack.c): New variable.
22345         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22346         conditional to [defined UTMPX || _HAVE_UT_TYPE].
22347         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22348         UTMPX || _HAVE_UT_TV].
22349         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22350         UTMPX || _HAVE_UT_TV - 0].
22352 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
22354         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22355         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22356         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22358 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22360         * sysdeps/powerpc/dl-procinfo.c:
22361         (_dl_powerpc_cap_flags): Added missing strings for some
22362         hwcap features.
22363         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22365 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
22367         Port the 0x7efe...feff pattern to GCC 6.
22368         See Steve Ellcey's bug report in:
22369         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22370         * string/memrchr.c (MEMRCHR):
22371         * string/rawmemchr.c (RAWMEMCHR):
22372         * string/strchr.c (strchr):
22373         * string/strchrnul.c (STRCHRNUL):
22374         Rewrite code to avoid issues with signed shift overflow.
22376 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
22378         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22379         whether cpuid is available only if HAS_CPUID is 0.
22380         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22381         (HAS_I586): Likewise.
22382         (HAS_I686): Likewise.
22384 2015-08-18  Zack Weinberg  <zackw@panix.com>
22386         * misc/Versions (libc): Add GLIBC_2.23.
22388 2015-08-18  Alan Modra  <amodra@gmail.com>
22390         [BZ #18421]
22391         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22392         .Lp__global.
22393         (_start): Load %dp via .Lp__global.
22394         [!SHARED]: Use .section .rodata.
22396 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22398         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22399         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22401 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22403         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22404         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22406 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22408         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22409         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22411 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22413         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22414         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22416 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22418         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22419         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22421 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22423         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22424         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22426 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22428         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22430 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22432         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22433         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
22434         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22435         (__ASSUME_LWS_CAS): Delete.
22437 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22439         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22440         * sysdeps/hppa/configure: Regenerated.
22441         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22442         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22443         * sysdeps/hppa/nptl/tls.h: Likewise.
22445 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
22447         [BZ #18823]
22448         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22449         for scaling up small arguments.
22450         * math/s_csqrtf.c (__csqrtf): Likewise.
22451         * math/s_csqrtl.c (__csqrtl): Likewise.
22452         * math/auto-libm-test-in: Add more tests of csqrt.
22453         * math/auto-libm-test-out: Regenerated.
22455 2015-08-17  Andreas Schwab  <schwab@suse.de>
22457         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22458         version set GLIBC_2.19.
22460 2015-08-16  Zack Weinberg  <zackw@panix.com>
22462         [BZ #18681]
22463         * misc/regexp.h: This interface is no longer supported.
22464         Remove all contents, leaving only an #error directive.
22465         * misc/regexp.c (loc1, loc2, locs, step, advance):
22466         Demote to compatibility symbols.
22468 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
22470         [BZ #18084]
22471         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22472         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22473         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22474         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22475         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22476         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22477         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22478         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22479         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22481 2015-08-15  Zack Weinberg  <zackw@panix.com>
22483         [BZ #18795]
22484         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22485         buffer length is known to be too large, not if it's known to be
22486         small enough.
22487         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22488         overflow at runtime, involving a length parameter, twice: once
22489         with a compile-time constant length parameter, once without.
22491 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
22493         [BZ #18824]
22494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22495         scaling x * y up instead of down.
22496         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22497         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22498         * math/auto-libm-test-in: Add more tests of fma.
22499         * math/auto-libm-test-out: Regenerated.
22501 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22503         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22505 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22507         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22508         unnecessary movq.
22509         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22510         Likewise.
22512 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
22514         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22515         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22516         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22517         and tgamma.
22518         * math/auto-libm-test-out: Regenerated.
22519         * sysdeps/i386/fpu/libm-test-ulps: Update.
22520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22522         [BZ #16520]
22523         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22524         (__tanh): Force underflow exception for arguments with small
22525         absolute value.
22526         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22527         (__tanhf): Force underflow exception for arguments with small
22528         absolute value.
22529         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22530         (__tanhl): Force underflow exception for arguments with small
22531         absolute value.
22532         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22533         (__tanhl): Force underflow exception for arguments with small
22534         absolute value.
22535         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22536         (__tanhl): Force underflow exception for arguments with small
22537         absolute value.
22538         * math/auto-libm-test-in: Add more tests of tanh.
22539         * math/auto-libm-test-out: Regenerated.
22540         * sysdeps/i386/fpu/libm-test-ulps: Update.
22542 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22544         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22545         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22547 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22549         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22550         <cpuid.h>.
22552 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22554         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22555         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22557 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22559         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22560         Remove $(objpfx)init-arch.o.
22561         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22562         init-arch.
22563         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22564         (INIT_ARCH_EXT): Defined as empty.
22565         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22566         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22567         __init_cpu_features call.  Replace HAS_XXX with
22568         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22569         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22570         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22571         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22572         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22573         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22574         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22575         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22576         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22577         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22578         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22579         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22580         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22581         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22582         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22583         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22584         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22585         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22586         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22587         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22588         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22589         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22590         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22591         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22592         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22593         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22594         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22595         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22596         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22597         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22598         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22599         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22600         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22601         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22602         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22603         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22605 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22607         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22608         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22609         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22610         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22611         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22612         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22613         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22614         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22615         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22616         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22617         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22618         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
22619         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22620         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22621         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22622         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22623         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22624         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22625         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22626         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22627         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22628         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22629         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22630         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22631         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22632         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22633         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22634         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22635         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22636         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22637         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22638         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22639         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22640         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22641         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22642         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22643         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22644         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22645         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22646         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22647         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22648         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22649         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22651 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22653         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22654         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22655         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22656         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22657         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22658         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22659         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22660         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22661         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22662         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22663         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22664         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22665         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22666         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22667         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22668         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22669         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22670         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22671         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22672         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22674         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22675         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22676         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22677         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22678         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22679         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22680         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
22681         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22682         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22683         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22684         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22685         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22686         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22687         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22688         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22689         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22690         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22691         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22692         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22693         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22694         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22695         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22697 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22699         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22700         (dl_platform_init): Call init_cpu_features.
22701         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22702         * sysdeps/i386/i686/cacheinfo.c
22703         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22704         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22705         * sysdeps/i386/i686/multiarch/Versions: Removed.
22706         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22707         Removed.
22708         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22709         * sysdeps/unix/sysv/linux/x86/Makefile
22710         (libpthread-sysdep_routines): Remove init-arch.
22711         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22712         <sysdeps/x86_64/dl-procinfo.c> instead of
22713         sysdeps/generic/dl-procinfo.c>.
22714         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22715         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22716         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22717         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22718         [$(subdir) == elf] (tests-static): Add
22719         tst-get-cpu-features-static.
22720         * sysdeps/x86/Versions: New file.
22721         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22722         * sysdeps/x86/cpu-features.c: Likewise.
22723         * sysdeps/x86/cpu-features.h: Likewise.
22724         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22725         * sysdeps/x86/libc-start.c: Likewise.
22726         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22727         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22728         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22729         * sysdeps/x86_64/dl-procinfo.c: Likewise.
22730         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22731         Assume USE_MULTIARCH is defined and don't check it.
22732         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22733         (is_amd): Likewise.
22734         (max_cpuid): Likewise.
22735         (intel_check_word): Likewise.
22736         (__cache_sysconf): Don't call __init_cpu_features.
22737         (__x86_preferred_memory_instruction): Removed.
22738         (init_cacheinfo): Don't call __init_cpu_features. Replace
22739         __cpu_features with GLRO(dl_x86_cpu_features).
22740         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22741         (dl_platform_init): Call init_cpu_features.
22742         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22743         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22744         * sysdeps/x86_64/multiarch/Versions: Removed.
22745         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22746         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22747         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22748         Removed.
22749         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22751 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22753         [BZ #18820]
22754         * libio/Makefile (test-fmemopen-mem): New test.
22755         * libio/test-fmemopen.c (do_bz18820): New test.
22756         * libio/fmemopen.c (__fmemopen): Fix memory leak.
22757         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22759 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22761         [BZ #16734]
22762         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22763         (FREE_BUF): Delete.
22764         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22765         * libio/genops.c (_IO_setb): Use malloc and free directly.
22766         (_IO_default_doallocate, _IO_default_finish): Likewise.
22767         ( _IO_unbuffer_all): Likewise.
22768         ( libc_freeres_fn): Likewise.
22769         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22770         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22771         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22772         (_IO_wdefault_doallocate): Likewise.
22774 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22776         [BZ #18086]
22777         * sysdeps/posix/nice.c (nice): Restore old errno.
22778         * posix/tst-nice.c (do_test): Add test for BZ #18086.
22780 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
22782         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22784 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22786         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22787         __bcopy and add a weak_alias to bcopy.
22788         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22789         for static build.
22791         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22792         cleanup macro usage.
22793         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22794         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22795         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22796         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22797         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22798         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22799         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22800         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22801         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22802         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22803         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22804         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22805         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22806         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22807         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22808         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22809         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22810         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22811         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22813         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22814         libc_hidden_def.
22815         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22817         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22818         (sysdep_routines): Add strstr-ppc64.
22819         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22821 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
22823         [BZ #18778]
22824         * elf/Makefile (tests): Add Add tst-nodelete2.
22825         (modules-names): Add tst-nodelete2mod.
22826         (tst-nodelete2mod.so-no-z-defs): New.
22827         ($(objpfx)tst-nodelete2): Likewise.
22828         ($(objpfx)tst-nodelete2.out): Likewise.
22829         (LDFLAGS-tst-nodelete2): Likewise.
22830         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22831         out of loop through all loaded libraries.
22832         * elf/tst-nodelete2.c: New file.
22833         * elf/tst-nodelete2mod.c: Likewise.
22834         * elf/tst-znodelete-zlib.cc: Delete.
22836 2015-08-11  Andreas Schwab  <schwab@suse.de>
22838         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22839         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22840         (__openat64_nocancel): Likewise.
22842 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
22844         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22845         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22846         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22847         * math/auto-libm-test-out: Regenerated.
22848         * sysdeps/i386/fpu/libm-test-ulps: Update.
22849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22851 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22853         [BZ #18790]
22854         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22855         threshold for returning +/- 1.
22856         * math/auto-libm-test-in: Add more tests of tanh.
22857         * math/auto-libm-test-out: Regenerated.
22858         * sysdeps/i386/fpu/libm-test-ulps: Update.
22860 2015-08-10  Andreas Schwab  <schwab@suse.de>
22862         [BZ #18781]
22863         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22864         MORE_OFLAGS to oflag.
22865         * io/test-lfs.c (do_test): Test openat64.
22867 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22869         [BZ #18789]
22870         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22871         smaller threshold for returning the argument.
22872         * math/auto-libm-test-in: Add more tests of sinh.
22873         * math/auto-libm-test-out: Regenerated.
22874         * sysdeps/i386/fpu/libm-test-ulps: Update.
22876 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22878         [BZ #18674]
22879         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22880         break.
22882 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22884         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22885         (generated): Don't add $(addprefix z.,$(tzfiles)).
22887 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22889         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22890         * scripts/sysd-rules.awk: Likewise.
22892 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22894         * iconvdata/tst-tables.sh: Change echo -n to printf.
22895         * nss/db-Makefile: Likewise.
22896         * posix/tst-getconf.sh: Likewise.
22897         * stdio-common/tst-unbputc.sh: Likewise.
22899 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22901         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22902         MADV_*_PAGES defines behind this feature check.
22904 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
22906         [BZ #18480]
22907         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22908         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22909         Define.
22910         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22911         LOAD_REGS_5, LOAD_REGS_6): Update.
22912         (INTERNAL_SYSCALL): Update using new LOAD defines.
22913         (INTERNAL_SYSCALL_NCS): Likewise.
22914         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22916 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22918         [BZ #16734]
22919         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22921 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22923         [BZ #17905]
22924         * catgets/Makefile (tst-catgets-mem): New test.
22925         * catgets/catgets.c (catopen): Don't use unbounded alloca.
22926         * catgets/open_catalog.c (__open_catalog): Likewise.
22927         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22929 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
22931         [BZ #18787]
22932         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22933         clobber registers.
22934         (atomic_compare_and_exchange_val_acq): Use register asms to assign
22935         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
22936         Cast return to __typeof (oldval).
22938 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
22940         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22941         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
22942         and delete sys/syscall.h include.
22944 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
22946         [BZ #16517]
22947         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22948         (tan): Force underflow exception for arguments with small absolute
22949         value.
22950         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22951         (__kernel_tanf): Force underflow exception for arguments with
22952         small absolute value.
22953         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22954         (__kernel_tanl): Force underflow exception for arguments with
22955         small absolute value.
22956         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22957         (__kernel_tanl): Force underflow exception for arguments with
22958         small absolute value.
22959         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22960         (__kernel_tanl): Force underflow exception for arguments with
22961         small absolute value.
22962         * math/auto-libm-test-in: Add more tests of tan.
22963         * math/auto-libm-test-out: Regenerated.
22965 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22967         Fix sysdeps/i386/fpu/s_scalbn.S build
22969         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22971 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
22973         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22975 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22977         Fix gcrt0.o compilation
22979         When static-start-installed-name is different from
22980         start-installed-name, we must not use the shared objects.
22982         * csu/Makefile
22983         (extra-objs): Add gmon-start.o when building shared library and
22984         $(static-start-installed-name) is different from
22985         $(start-installed-name).
22986         $(objpfx)g$(static-start-installed-name): When building shared
22987         library and $(static-start-installed-name) is different from
22988         $(static-start-installed-name), revert to non-shared rule,
22989         i.e. using $(objpfx)% and gmon-start.o.
22991 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
22993         [BZ #16519]
22994         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22995         (__ieee754_sinh): Force underflow exception for arguments with
22996         small absolute value.
22997         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22998         (__ieee754_sinhf): Force underflow exception for arguments with
22999         small absolute value.
23000         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
23001         (__ieee754_sinhl): Force underflow exception for arguments with
23002         small absolute value.
23003         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
23004         (__ieee754_sinhl): Force underflow exception for arguments with
23005         small absolute value.
23006         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
23007         (__ieee754_sinhl): Force underflow exception for arguments with
23008         small absolute value.
23009         * math/auto-libm-test-in: Add more tests of sinh.
23010         * math/auto-libm-test-out: Regenerated.
23011         * sysdeps/i386/fpu/libm-test-ulps: Update.
23013 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23015         * libio/oldfileops.c: Include unistd.h.
23017 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
23019         * stdlib/isomac.c: Include ctype.h.
23021 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
23023         * dirent/tst-seekdir.c (main): Converted to ...
23024         (do_test): ... this.
23025         (TEST_FUNCTION): New macro.
23026         Include test-skeleton.c.
23027         * elf/tst-dlmodcount.c (main): Converted to ...
23028         (do_test): ... this.
23029         (TEST_FUNCTION): New macro.
23030         Include test-skeleton.c.
23031         * elf/tst-order-main.c (main): Converted to ...
23032         (do_test): ... this.
23033         (TEST_FUNCTION): New macro.
23034         Include test-skeleton.c.
23035         * elf/tst-pie2.c (main): Converted to ...
23036         (do_test): ... this.
23037         (TEST_FUNCTION): New macro.
23038         Include test-skeleton.c.
23039         * inet/tst-ether_aton.c (main): Converted to ...
23040         (do_test): ... this.
23041         (TEST_FUNCTION): New macro.
23042         Include test-skeleton.c.
23043         * misc/tst-mntent.c (main): Converted to ...
23044         (do_test): ... this.
23045         (TEST_FUNCTION): New macro.
23046         Include test-skeleton.c.
23047         * misc/tst-tsearch.c (main): Converted to ...
23048         (do_test): ... this.
23049         (TEST_FUNCTION): New macro.
23050         Include test-skeleton.c.
23051         * posix/tst-regexloc.c (main): Converted to ...
23052         (do_test): ... this.
23053         (TEST_FUNCTION): New macro.
23054         Include test-skeleton.c.
23055         * resolv/tst-aton.c (main): Converted to ...
23056         (do_test): ... this.
23057         (TEST_FUNCTION): New macro.
23058         Include test-skeleton.c.
23059         * stdio-common/test-fwrite.c (main): Converted to ...
23060         (do_test): ... this.
23061         (TEST_FUNCTION): New macro.
23062         Include test-skeleton.c.
23063         * stdio-common/tst-ferror.c (main): Converted to ...
23064         (do_test): ... this.
23065         (TEST_FUNCTION): New macro.
23066         Include test-skeleton.c.
23067         * stdio-common/tst-printf.c (main): Converted to ...
23068         (do_test): ... this.
23069         (TEST_FUNCTION): New macro.
23070         Include test-skeleton.c.
23071         * stdio-common/tst-printfsz.c (main): Converted to ...
23072         (do_test): ... this.
23073         (TEST_FUNCTION): New macro.
23074         Include test-skeleton.c.
23075         * stdlib/tst-strtod.c (main): Converted to ...
23076         (do_test): ... this.
23077         (TEST_FUNCTION): New macro.
23078         Include test-skeleton.c.
23079         * string/tst-strlen.c (main): Converted to ...
23080         (do_test): ... this.
23081         (TEST_FUNCTION): New macro.
23082         Include test-skeleton.c.
23083         * string/tst-svc.c (main): Converted to ...
23084         (do_test): ... this.
23085         (TEST_FUNCTION): New macro.
23086         Include test-skeleton.c.
23087         * time/tst-strptime.c (main): Converted to ...
23088         (do_test): ... this.
23089         (TEST_FUNCTION): New macro.
23090         Include test-skeleton.c.
23091         * timezone/tst-timezone.c (main): Converted to ...
23092         (do_test): ... this.
23093         (TEST_FUNCTION): New macro.
23094         Include test-skeleton.c.
23096 2015-08-05  Zack Weinberg  <zackw@panix.com>
23098         * misc/regexp.h: Update comments.
23100 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
23102         [BZ #18635]
23103         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
23104         before return label.
23106 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23108         [BZ #18661]
23109         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
23110         when calling __errno_location.
23111         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
23112         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
23114 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23116         [BZ #18661]
23117         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
23118         (__lll_timedwait_tid): Align stack to 16 bytes when calling
23119         __gettimeofday.
23121 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23123         [BZ #18661]
23124         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23125         (__start_context): Don't use pop to restore %rdi so that stack
23126         is aligned to 16 bytes when calling __setcontext.
23128 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23130         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
23131         only for libc.
23132         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23134 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23136         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
23137         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
23138         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
23140 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23142         * string/memccpy.c (memccpy):
23143         Improve performance by using memchr/memcpy/__mempcpy.
23145 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23147         * string/strncpy.c (strncpy):
23148         Improve performance by using __strnlen/memcpy.
23150 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23152         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23153         Optimize to avoid an unnecessary FPCR read.
23155 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23157         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23158         Optimize to reduce FPCR/FPSR accesses.
23160 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23162         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23163         dead->data[category] != NULL.
23165 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
23167         [BZ #18647]
23168         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23169         and |x| close to 1, use absolute value of x when computing log.
23170         * math/auto-libm-test-in: Add more tests of pow.
23171         * math/auto-libm-test-out: Regenerated.
23173 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23175         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23176         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23177         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23179 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
23181         [BZ #18525]
23182         * locales/km_KH: Remove timezone definition.
23183         * locales/lo_LA: Likewise.
23184         * locales/my_MM: Likewise.
23185         * locales/nan_TW@latin: Likewise.
23186         * locales/th_TH: Likewise.
23187         * locales/uk_UA: Likewise.
23189 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23191         [BZ #18265]
23192         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23193         (wcsncat): Likewise.
23194         (wcscmp): Likewise.
23195         (wcsncmp): Likewise.
23197 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23199         * test-skeleton.c (usage): New function.
23200         (main): Call usage when opt is '?'.
23202 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23204         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23205         before first use.
23207 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23209         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23210         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
23211         in there too.
23213 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
23215         * version.h (RELEASE): Set to "development".
23216         (VERSION): Set to "2.22.90"
23218         * version.h (RELEASE): Set to "stable".
23219         (VERSION): Set to "2.22"
23220         * include/features.h (__GLIBC_MINOR__): Set to 22.
23222 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
23224         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23225         Restructure macro to avoid "value computed is not used" warning.
23226         (atomic_compare_and_exchange_val_acq): Likewise.
23228 2015-08-04  Andreas Schwab  <schwab@suse.de>
23230         [BZ #18635]
23231         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23232         ret.
23233         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23235 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
23237         * po/pl.po: Updated translation.
23238         * po/uk.po: Likewise.
23239         * po/fi.po: Likewise.
23240         * po/ko.po: Likewise.
23241         * po/ru.po: Likewise.
23242         * po/vi.po: Likewise.
23244 2015-07-31  Zack Weinberg  <zackw@panix.com>
23246         [BZ #18681]
23247         * regexp.h: Add unconditional #warning stating that this header
23248         will be removed soon.  Revise banner comment to match.
23249         (compile): Consistently use ERROR instead of RETURN to report
23250         errors (partial fix for bz#18681).
23251         * regexp.c: Don't include regexp.h. Remove some unnecessary
23252         declarations.
23254 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
23256         * po/libc.pot: Regenerated.
23258 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23260         [BZ #18740]
23261         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23262         float-vlen4-arch-ext-cflags): Removed.
23263         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23264         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23266 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23268         [BZ #14113]
23269         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23270         aligned to __aligned__.
23271         (pthread_cond_t, pthread_rwlock_t): Likewise.
23273 2015-07-30  Torvald Riegel  <triegel@redhat.com>
23275         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23277 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23279         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23280         (struct sigaction): Change sa_flags from a long to an int, and add
23281         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23283 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23285         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23286         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23287         sysdeps/generic/sysdep.h include.
23288         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23289         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
23290         sysdeps/hppa/sysdep.h.
23291         (ENTRY, PSEUDO): Undefine before defining.
23293 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23295         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23296         from scratch to use INTERNAL_SYSCALL.
23298 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
23300         [BZ #18078]
23301         * scripts/check-localplt.awk: Support alternate relocations.
23302         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23303         sections.
23304         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23305         malloc entries with + REL R_386_GLOB_DAT.
23306         * sysdeps/x86_64/localplt.data: New file.
23308 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
23310         [BZ #18731]
23311         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23312         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23313         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23315 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23317         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23319 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23321         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23322         directly in terms of __sync_fetch_and_add and delete (int) cast.
23324 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23326         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23327         the -D_ASM_IA64_CURRENT_H flag.
23329 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23331         [BZ #18641]
23332         * pwd/pwd.h (putpwent): Delete __nonnull markings.
23334 2015-07-27  Andreas Schwab  <schwab@suse.de>
23336         * conform/conformtest.pl (checknamespace): Filter out string
23337         literals while tokenizing.
23339 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23341         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23342         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23343         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23345 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23347         * nptl/tst-join7mod.c: Add #include <string.h>.
23349 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23351         * sysdeps/nios2/libm-test-ulps: Update.
23353 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23355         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23356         Fix order of arguments to the rt_sigprocmask syscall.
23357         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23358         Likewise.
23360 2015-07-24  Roland McGrath  <roland@hack.frob.com>
23362         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23364 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23366         [BZ #18457]
23367         * nptl/Makefile (tests): New test case tst-join7.
23368         (modules-names): New test case module tst-join7mod.
23369         * nptl/tst-join7.c: New file.
23370         * nptl/tst-join7mod.c: New file.
23371         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23372         all translation units in libc.so, libpthread.so and rtld.
23374 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23378 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23380         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23381         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23382         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23383         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23384         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23385         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23386         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23387         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23388         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23389         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23390         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23391         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23392         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23393         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23394         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23395         implementation.
23397 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23399         [BZ #17711]
23400         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23401         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23402         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23403         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23404         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23405         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23407 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23409         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23410         instead of just saying load lock in the comments.
23412 2015-07-23  Roland McGrath  <roland@hack.frob.com>
23414         * sysdeps/unix/Subdirs: Moved ...
23415         * sysdeps/posix/Subdirs: ... here.
23416         * login/pty.h (struct termios, struct winsize): Add forward decls.
23417         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23418         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23419         * sysdeps/arm/nacl/libc.abilist: Updated.
23420         * sysdeps/nacl/libutil.abilist: New file.
23422         * bits/signum.h: Update comments to mention 1003.1-2013 too.
23423         (SIGWINCH): New macro.
23425         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23426         * sysdeps/arm/nacl/libc.abilist: Add it.
23428 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23430         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23432 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23434         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23435         Swap __glibc_reserved0 and sa_flags order.
23437 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23439         [BZ #18657]
23440         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23441         are pending TLS destructor calls.
23442         * include/link.h (struct link_map): Add concurrency note for
23443         L_TLS_DTOR_COUNT.
23444         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23445         Don't touch the link map flag.  Atomically increment
23446         l_tls_dtor_count.
23447         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23448         Avoid taking the load lock and don't touch the link map flag.
23449         * stdlib/tst-tls-atexit-nodelete.c: New test case.
23450         * stdlib/Makefile (tests): Use it.
23451         * stdlib/tst-tls-atexit.c (do_test): dlopen
23452         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
23453         to allow tst-tls-atexit-nodelete test case to use it.
23455 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23457         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23458         to bits/types.h.
23459         (msgqnum_t): New typedef.
23460         (msglen_t): Likewise.
23461         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
23462         and msg_qbytes type to msglen_t.
23464 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23466         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23467         pad0 to __glibc_reserved0.
23468         (struct stat64): Likewise.
23470 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23472         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23473         Change sa_flags from a long to an int and add __glibc_reserved0 before
23474         it for padding.
23476 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23478         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23479         anonymous by deleting "siginfo" name.
23481 2015-07-21  Roland McGrath  <roland@hack.frob.com>
23483         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23484         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23485         rather than __nacl_irt_filename.
23486         * sysdeps/nacl/xstat.c (__xstat): Likewise.
23488         * NEWS: New item for arm-nacl port.
23489         * sysdeps/arm/nacl/libc.abilist: New file.
23490         * sysdeps/nacl/ld.abilist: New file.
23491         * sysdeps/nacl/libBrokenLocale.abilist: New file.
23492         * sysdeps/nacl/libanl.abilist: New file.
23493         * sysdeps/nacl/libcrypt.abilist: New file.
23494         * sysdeps/nacl/libdl.abilist: New file.
23495         * sysdeps/nacl/libm.abilist: New file.
23496         * sysdeps/nacl/libpthread.abilist: New file.
23497         * sysdeps/nacl/libresolv.abilist: New file.
23498         * sysdeps/nacl/librt.abilist: New file.
23500 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
23502         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23503         __startcontext to initialize the new context.
23504         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23505         up CFI directive to forbid further backtracing.
23507 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
23509         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23510         reference.
23511         * charmaps/ANSI_X3.4-1968: Likewise.
23512         * charmaps/BS_4730: Likewise.
23513         * charmaps/BS_VIEWDATA: Likewise.
23514         * charmaps/CP1250: Likewise.
23515         * charmaps/CP1251: Likewise.
23516         * charmaps/CP1252: Likewise.
23517         * charmaps/CP1253: Likewise.
23518         * charmaps/CP1254: Likewise.
23519         * charmaps/CP1255: Likewise.
23520         * charmaps/CP1256: Likewise.
23521         * charmaps/CSN_369103: Likewise.
23522         * charmaps/EBCDIC-DK-NO: Likewise.
23523         * charmaps/GB_1988-80: Likewise.
23524         * charmaps/GREEK-CCITT: Likewise.
23525         * charmaps/GREEK7: Likewise.
23526         * charmaps/INIS-8: Likewise.
23527         * charmaps/ISIRI-3342: Likewise.
23528         * charmaps/ISO_2033-1983: Likewise.
23529         * charmaps/ISO_5427-EXT: Likewise.
23530         * locales/POSIX: Likewise.
23531         * locales/ar_SA: Likewise.
23532         * locales/be_BY: Likewise.
23533         * locales/be_BY@latin: Likewise.
23534         * locales/ca_ES: Likewise.
23535         * locales/cs_CZ: Likewise.
23536         * locales/da_DK: Likewise.
23537         * locales/de_BE: Likewise.
23538         * locales/de_CH: Likewise.
23539         * locales/de_LU: Likewise.
23540         * locales/en_AU: Likewise.
23541         * locales/en_BW: Likewise.
23542         * locales/en_CA: Likewise.
23543         * locales/en_DK: Likewise.
23544         * locales/en_GB: Likewise.
23545         * locales/en_IE: Likewise.
23546         * locales/en_NZ: Likewise.
23547         * locales/en_ZA: Likewise.
23548         * locales/en_ZW: Likewise.
23549         * locales/es_AR: Likewise.
23550         * locales/es_BO: Likewise.
23551         * locales/es_CL: Likewise.
23552         * locales/es_CO: Likewise.
23553         * locales/es_DO: Likewise.
23554         * locales/es_EC: Likewise.
23555         * locales/es_ES: Likewise.
23556         * locales/es_HN: Likewise.
23557         * locales/es_MX: Likewise.
23558         * locales/es_PA: Likewise.
23559         * locales/es_PE: Likewise.
23560         * locales/es_PY: Likewise.
23561         * locales/es_SV: Likewise.
23562         * locales/es_US: Likewise.
23563         * locales/es_UY: Likewise.
23564         * locales/es_VE: Likewise.
23565         * locales/et_EE: Likewise.
23566         * locales/fa_IR: Likewise.
23567         * locales/fo_FO: Likewise.
23568         * locales/fr_CA: Likewise.
23569         * locales/fr_CH: Likewise.
23570         * locales/gv_GB: Likewise.
23571         * locales/he_IL: Likewise.
23572         * locales/hr_HR: Likewise.
23573         * locales/id_ID: Likewise.
23574         * locales/is_IS: Likewise.
23575         * locales/it_CH: Likewise.
23576         * locales/iw_IL: Likewise.
23577         * locales/kl_GL: Likewise.
23578         * locales/ko_KR: Likewise.
23579         * locales/kw_GB: Likewise.
23580         * locales/lg_UG: Likewise.
23581         * locales/lt_LT: Likewise.
23582         * locales/lv_LV: Likewise.
23583         * locales/mi_NZ: Likewise.
23584         * locales/nhn_MX: Likewise.
23585         * locales/nl_BE: Likewise.
23586         * locales/pl_PL: Likewise.
23587         * locales/sk_SK: Likewise.
23588         * locales/sl_SI: Likewise.
23589         * locales/sv_FI: Likewise.
23590         * locales/tl_PH: Likewise.
23591         * locales/tr_TR: Likewise.
23592         * locales/vi_VN: Likewise.
23594 2015-07-21  Khem Raj  <raj.khem@gmail.com>
23596         [BZ #17475]
23597         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23598         of tu_IN and bh_IN.
23600 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
23602         [BZ #18694]
23603         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23604         bits/wordsize.h.
23605         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23607 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23609         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23610         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23611         (spawn_thread): New function.
23612         (load): Rename to reg_dtor_and_close.  Move dlopen to...
23613         (do_test): ... here.  Use IS_LOADED to test for its
23614         availability.
23616 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
23618         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23620 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
23622         [BZ #18696]
23623         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23624         si_addr_bnd.
23625         (si_lower): New.
23626         (si_upper): Likewise.
23628 2015-07-16  David S. Miller  <davem@davemloft.net>
23630         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23632 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23634         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23635         buffer.
23636         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23637         fail output information.
23639 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23642         and strstr-ppc64..
23643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23644         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23645         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23646         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23647         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23649 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23651         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23652         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23653         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23654         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23656 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23658         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23659         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23660         rtld_hidden_proto.
23661         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23663 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23665         * tst-nodelete-opened.c (do_test): Add comment to clarify how
23666         the test can fail.
23668         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23670         [BZ #18676]
23671         * elf/tst-nodelete-opened.c: New test case.
23672         * elf/tst-nodelete-opened-lib.c: New test case module.
23673         * elf/Makefile (tests, modules-names): Use them.
23674         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23675         early.
23677 2015-07-15  David S. Miller  <davem@davemloft.net>
23679         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23680         futex-intenal.h
23681         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23682         * sysdeps/sparc/sparc64/Makefile: Likewise.
23683         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23684         Remove space from macro define.
23685         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23687 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
23689         [BZ #17475]
23690         * locale/iso-639.def: Update Bhili and Tulu language codes as
23691         per iso639-3.
23693 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
23695         * elf/tst-leaks1.c (main): Converted to ...
23696         (do_test): ... this.
23697         (TEST_FUNCTION): New macro.
23698         Include test-skeleton.c.
23699         * localedata/tst-langinfo.c (main): Converted to ...
23700         (do_test): ... this.
23701         (TEST_FUNCTION): New macro.
23702         Include test-skeleton.c.
23703         * math/test-fpucw.c (main): Converted to ...
23704         (do_test): ... this.
23705         (TEST_FUNCTION): New macro.
23706         Include test-skeleton.c.
23707         * math/test-tgmath.c (main): Converted to ...
23708         (do_test): ... this.
23709         (TEST_FUNCTION): New macro.
23710         Include test-skeleton.c.
23711         * math/test-tgmath2.c (main): Converted to ...
23712         (do_test): ... this.
23713         (TEST_FUNCTION): New macro.
23714         Include test-skeleton.c.
23715         * setjmp/tst-setjmp.c (main): Converted to ...
23716         (do_test): ... this.
23717         (TEST_FUNCTION): New macro.
23718         Include test-skeleton.c.
23719         * stdio-common/tst-sscanf.c (main): Converted to ...
23720         (do_test): ... this.
23721         (TEST_FUNCTION): New macro.
23722         Include test-skeleton.c.
23723         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23724         (do_test): ... this.
23725         (TEST_FUNCTION): New macro.
23726         Include test-skeleton.c.
23728         * elf/tst-audit9.c (main): Converted to ...
23729         (do_test): ... this.
23730         (TEST_FUNCTION): New macro.
23731         Include test-skeleton.c.
23733 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
23735         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23737 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23739         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23740         New variable.
23742 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23744         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23746 2015-07-14  Roland McGrath  <roland@hack.frob.com>
23748         * sysdeps/generic/dl-fileid.h: New file.
23749         * sysdeps/posix/dl-fileid.h: New file.
23750         * sysdeps/nacl/dl-fileid.h: New file.
23751         * include/link.h: Include <dl-fileid.h>.
23752         (struct link_map): Replace l_dev and l_ino with l_file_id.
23753         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23754         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
23755         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
23757 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23759         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23761 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23763         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23764         Add iff $CXX is set.
23765         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23766         Likewise.
23767         (tst-nodelete-zmodiff): Likewise.
23768         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23770 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23772         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23774 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23776         * sysdeps/aarch64/fpu/math_private.h
23777         (define math_opt_barrier): Add AArch64 version.
23778         (math_force_eval): Likewise.
23780 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23782         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23784 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
23786         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23787         %ld with %jd and cast to intmax_t.
23788         (do_test_length_zero): Likewise.
23790 2015-07-10  Roland McGrath  <roland@hack.frob.com>
23792         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23794 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
23796         * sysdeps/tile/libm-test-ulps: Regenerated.
23798         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23799         Comment out the whole function, not just its body.
23801 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23803         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23804         locks.
23806         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23808 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23810         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23811         (sem_assume_only_signals_cause_futex_EINTR): Remove.
23813 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23815         * sysdeps/nptl/futex-internal.h: New file.
23816         * sysdeps/nacl/futex-internal.h: New file.
23817         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23818         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23819         error checking.
23820         (setxid_unmark_thread): Likewise.
23821         (__nptl_setxid): Likewise.
23822         (__wait_lookup_done): Likewise.
23823         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23824         * nptl/nptl-init.c (sighandler_setxid): Likewise.
23825         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23826         * nptl/pthread_once.c (clear_once_control): Likewise.
23827         (__pthread_once_slow): Likewise.
23828         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23829         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23830         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23831         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23832         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23833         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23834         Likewise.
23835         (__pthread_rwlock_rdlock): Likewise.
23836         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23837         Likewise.
23838         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23839         Likewise.
23840         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23841         Likewise.
23842         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23843         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23844         Likewise.
23845         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23846         __ASSUME_PRIVATE_FUTEX check.
23847         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23848         Check that shared futexes are supported.
23849         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23850         wrappers with error checking.
23851         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23852         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23853         * nptl/pthread_barrierattr_setpshared.c
23854         (pthread_barrierattr_setpshared): Check that shared futexes are
23855         supported.
23856         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23857         Likewise.
23858         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23859         Likewise.
23860         * nptl/sem_init.c (futex_private_if_supported): Remove.
23861         (__new_sem_init): Adapt and check that shared futexes are supported.
23862         * nptl/sem_open.c (sem_open): Likewise.
23863         * nptl/sem_post.c (futex_wake): Remove.
23864         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23865         (do_futex_wait): Use futex wrappers with error checking.
23866         * nptl/sem_wait.c: Include lowlevellock.h.
23867         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23868         Use futex_supports_pshared.
23869         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23870         Use futex wrappers with error checking.
23871         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23872         Likewise.
23873         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23874         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23875         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23876         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23877         (futex_wake): Likewise.
23878         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23879         (do_futex_wait): Use futex wrappers with error checking.
23880         (__new_sem_wait_slow): Update EINTR handling.
23881         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23883 2015-07-09  Martin Sebor  <msebor@redhat.com>
23885         [BZ #18435]
23886         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23887         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23888         * nptl/Makefile (test-xfail-tst-once5): Define.
23890 2015-07-09  Roland McGrath  <roland@hack.frob.com>
23892         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23893         * elf/dl-minimal.c: For readability, reorder some definitions and
23894         introduce more page breaks.  Include <stdio.h>.
23895         (__libc_fatal): New function.
23897         * include/unistd.h: Add rtld_hidden_proto for _exit.
23898         * posix/_exit.c: Add rtld_hidden_def.
23899         * sysdeps/mach/hurd/_exit.c: Likewise.
23900         * sysdeps/nacl/_exit.c: Likewise.
23901         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23902         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23904 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
23906         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23907         bndmov encoding with zero displacement.
23909 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23910             H.J. Lu  <hongjiu.lu@intel.com>
23912         [BZ #18134]
23913         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23914         * sysdeps/i386/configure: Regenerated.
23915         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23916         (_dl_runtime_profile): Save and restore Intel MPX return bound
23917         registers when calling _dl_call_pltexit.  Add
23918         PRESERVE_BND_REGS_PREFIX before return.
23919         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23920         (LRV_BND1_OFFSET): Likewise.
23921         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23922         lrv_bnd1.
23923         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23924         typo in bndmov encoding.
23925         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23926         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
23927         branch instructions to preserve bounds.
23929 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23932         [GLIBC_2.22]: Add fmemopen.
23934 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23936         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23937         returns an error, also try to use host port from __mach_host_self for
23938         the __vm_wire call.
23939         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23941 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23943         [BZ #18400]
23944         [BZ #18648]
23945         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23946         Fix pr_uid and pr_gid members.
23947         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23948         definition to elf_greg_t.
23950 2015-07-08  Roland McGrath  <roland@hack.frob.com>
23952         [BZ #18383]
23953         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23954         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23955         * sysdeps/arm/configure: Regenerated.
23956         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23957         (test-xfail-tst-tlsalign-static): Variable removed.
23959         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23960         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23961         rather than explicit 'ln -s'.
23963         * resolv/rpc/netdb.h: New file.
23964         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23966 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23968         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23969         length buffers.
23970         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23971         test-skeleton.c.
23973         [BZ #6544]
23974         [BZ #11216]
23975         [BZ #12836]
23976         [BZ #13151]
23977         [BZ #13152]
23978         [BZ #14292]
23979         * include/stdio.h (fmemopen): Remove hidden prototype.
23980         (__fmemopen): Add new hidden prototype.
23981         * libio/Makefile: Add oldfmemopen object.
23982         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23983         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23984         compliance.
23985         * libio/oldfmemopen.c: New file: old fmemopen implementation for
23986         symbol compatibility.
23987         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23988         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23989         fmemopen.
23990         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23991         on append and read mode.
23992         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23993         fmemopen.
23994         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23995         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23996         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23997         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23998         Likewise.
23999         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
24000         [GLIBC_2.22]: Likewise.
24001         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
24002         Likewise.
24003         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
24004         Likewise.
24005         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
24006         [GLIBC_2.22]: Likewise.
24007         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
24008         [GLIBC_2.22]: Likewise.
24009         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
24010         [GLIBC_2.22]: Likewise.
24011         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
24012         [GLIBC_2.22]: Likewise.
24013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
24014         [GLIBC_2.22]: Likewise.
24015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
24016         [GLIBC_2.22]: Likewise.
24017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
24018         [GLIBC_2.22]: Likewise.
24019         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
24020         Likewise.
24021         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
24022         Likewise.
24023         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
24024         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
24025         [GLIBC_2.22]: Likewise.
24026         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
24027         [GLIBC_2.22]: Likewise.
24028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
24029         [GLIBC_2.22]: Likewise.
24030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
24031         [GLIBC_2.22]: Likewise.
24032         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
24033         Likewise.
24034         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
24035         Likewise.
24036         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
24037         Likewise.
24038         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
24039         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
24041 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
24043         [BZ #18643]
24044         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
24045         IPV6_PATHMTU, and IPV6_DONTFRAG.
24047 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
24049         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
24050         and _IO_UNBUFFERED.
24051         * libio/oldfileops.c: Likewise.
24052         * libio/wfileops.c: Likewise.
24054 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
24056         * nscd/selinux.c: Delete selinux/flask.h include.
24058 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
24060         [BZ #18641]
24061         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
24062         (putpwent): Likewise.
24063         (getpwnam): Likewise.
24064         (getpwent_r): Likewise.
24065         (getpwuid_r): Likewise.
24066         (getpwnam_r): Likewise.
24067         (fgetpwent_r): Likewise.
24069 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
24071         [BZ #18557]
24072         * inet/rcmd.c (__validuser2_sa): Check user first to
24073         short-circuit host check.
24075 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
24076             Mikhail Ilin  <m.ilin@samsung.com>
24078         [BZ #17833]
24079         * elf/Makefile (tests): Add tst-nodelete.
24080         (modules-names): Add tst-nodelete-uniquemod.
24081         (tst-nodelete-uniquemod.so-no-z-defs): New.
24082         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
24083         (tst-nodelete-zmod.so-no-z-defs): Likewise.
24084         ($(objpfx)tst-nodelete): Likewise.
24085         ($(objpfx)tst-nodelete.out): Likewise.
24086         (LDFLAGS-tst-nodelete): Likewise.
24087         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
24088         * elf/dl-close.c (_dl_close_worker): Add a parameter to
24089         implement forced object deletion.
24090         (_dl_close): Pass false to _dl_close_worker.
24091         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
24092         * elf/tst-nodelete.cc: New file.
24093         * elf/tst-nodeletelib.cc: Likewise.
24094         * elf/tst-znodeletelib.cc: Likewise.
24095         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
24097 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24099         [BZ #18508]
24100         * stdlib/Makefile ($(objpfx)tst-makecontext3):
24101         Depend on $(libdl).
24102         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
24103         is not called infinitely times.
24104         (backtrace_helper): New function.
24105         (trace_arg): New struct.
24106         (st1): Enlarge stack size.
24107         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24108         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
24109         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24110         Likewise.
24112 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24114         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24116 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24118         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
24119         Include sys/types.h instead of bits/types.h.
24120         Remove inclusion of bits/wordsize.h.
24122 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24124         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
24125         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
24126         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
24127         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
24128         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
24129         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
24131 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24133         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
24134         link-defines.sym.
24135         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
24136         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
24137         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24138         and LR_SIZE.
24139         * sysdeps/i386/link-defines.sym: New file.
24141 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24143         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
24144         (modules-names): Add tst-auditmod3a tst-auditmod3b.
24145         ($(objpfx)tst-audit3): New rule.
24146         ($(objpfx)tst-audit3.out): Likewise.
24147         * sysdeps/i386/tst-audit3.c: New file.
24148         * sysdeps/i386/tst-audit3.h: Likewise.
24149         * sysdeps/i386/tst-auditmod3a.c: Likewise.
24150         * sysdeps/i386/tst-auditmod3b.c: Likewise.
24152 2015-07-07  Torvald Riegel  <triegel@redhat.com>
24154         [BZ #18633]
24155         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24156         pointer in C code.
24157         (__strcat_c): Likewise.
24158         (__strcat_g): Likewise.
24160 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
24162         [BZ #18592]
24163         * misc/sbrk.c: Set errno to ENOMEM on overflow.
24165 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24167         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24168         New function.  (__ieee754_sqrtf): New function.
24169         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24170         New function.
24171         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24172         New function.
24174 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24176         * sysdeps/ieee754/support.c: Remove unused file.
24178 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24180         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24181         registers instead of d ones so the layout is kernel abi compatible.
24182         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24183         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24184         Likewise.
24186 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24188         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24190 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24192         [BZ #18619]
24193         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24194         and return argument in case of subnormal argument.
24196 2015-07-01  Martin Sebor  <msebor@redhat.com>
24198         [BZ #18435]
24199         * nptl/Makefile: Add tst-once5.cc.
24200         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24201         Remove macro redefinitions.
24202         * nptl/tst-once5.cc: New test.
24204 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24206         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24208         * sysdeps/arm/libm-test-ulps: Regenerated.
24210         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24211         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24213 2015-06-30  Torvald Riegel  <triegel@redhat.com>
24215         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24216         lll_lock_wait_private and lll_futex_wake probes.
24218         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24219         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24220         Likewise.
24221         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24222         atomic_spin_nop.
24223         * sysdeps/x86_64/bits/atomic.h: Likewise.
24224         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24225         to atomic_spin_nop and move ...
24226         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24227         ... here and ...
24228         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24229         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24230         atomic_spin_nop instead of BUSY_WAIT_NOP.
24231         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24232         Likewise.
24233         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24234         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24235         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24236         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24237         instead of atomic_delay.
24239 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
24241         [BZ #18613]
24242         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24243         X_ADJ not X when adjusting exponent.
24244         (__ieee754_gamma_r): Do intermediate computations in
24245         round-to-nearest then adjust overflowing and underflowing results
24246         as needed.
24247         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24248         of X_ADJ not X when adjusting exponent.
24249         (__ieee754_gammaf_r): Do intermediate computations in
24250         round-to-nearest then adjust overflowing and underflowing results
24251         as needed.
24252         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24253         log of X_ADJ not X when adjusting exponent.
24254         (__ieee754_gammal_r): Do intermediate computations in
24255         round-to-nearest then adjust overflowing and underflowing results
24256         as needed.  Use 1.0L not 1.0f as numerator of division.
24257         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24258         log of X_ADJ not X when adjusting exponent.
24259         (__ieee754_gammal_r): Do intermediate computations in
24260         round-to-nearest then adjust overflowing and underflowing results
24261         as needed.  Use 1.0L not 1.0f as numerator of division.
24262         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24263         of X_ADJ not X when adjusting exponent.
24264         (__ieee754_gammal_r): Do intermediate computations in
24265         round-to-nearest then adjust overflowing and underflowing results
24266         as needed.  Use 1.0L not 1.0f as numerator of division.
24267         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
24268         to auto-libm-test-in.
24269         (tgamma_test): Use ALL_RM_TEST.
24270         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
24271         tests of tgamma with spurious-overflow.
24272         * math/auto-libm-test-out: Regenerated.
24273         * math/gen-libm-have-vector-test.sh: Do not check for START.
24274         * sysdeps/i386/fpu/libm-test-ulps: Update.
24275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24277         [BZ #18612]
24278         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24279         arguments, just return 0.5 times the argument, with underflow
24280         forced as needed.
24281         * math/auto-libm-test-in: Add more tests of j1.
24282         * math/auto-libm-test-out: Regenerated.
24284         [BZ #16559]
24285         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24286         (__ieee754_j1): Force underflow exception for small results.
24287         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24288         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24289         (__ieee754_j1f): Force underflow exception for small results.
24290         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24291         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24292         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24293         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24294         (__ieee754_j1l): Force underflow exception for small results.
24295         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24296         * math/auto-libm-test-in: Add more tests of j1 and jn.
24297         * math/auto-libm-test-out: Regenerated.
24299         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24300         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24301         (PF_MPLS): Likewise.
24302         (AF_IB): Likewise.
24303         (AF_MPLS): Likewise.
24304         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24305         value and macro.
24306         (MS_RMT_MASK): Include MS_LAZYTIME.
24308 2015-06-26  Mel Gorman  <mgorman@suse.de>
24310         [BZ #18502]
24311         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24312         already minimal.
24314 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
24316         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24317         (DT_MIPS_NUM): Update.
24318         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24319         DT_MIPS_RLD_MAP_REL.
24321 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
24323         [BZ #16559]
24324         [BZ #18602]
24325         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24326         round-to-nearest internally then recompute results that
24327         underflowed to zero in the original rounding mode.
24328         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24329         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24330         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24331         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24332         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24333         * sysdeps/i386/fpu/libm-test-ulps: Update.
24334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24336 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24338         * NEWS: Fixed description of link with vector math library.
24340 2015-06-25  Andreas Schwab  <schwab@suse.de>
24342         [BZ #18549]
24343         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24344         * libio/test-fmemopen.c (do_test): Add test for it.
24346 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24348         [BZ #17841]
24349         * Makeconfig (no-pie-ldflag): New.
24350         (+link): Set to $(+link-pie) if default to PIE.
24351         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24352         * config.make.in (build-pie-default): New.
24353         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
24354         is default.  AC_SUBST.
24355         * configure: Regenerated.
24356         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24358 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24360         * nptl/descr.h (struct pthread): Change type of field setxid_futex
24361         to 'unsigned int'.
24363         * resolv/gai_misc.h (struct waitlist): Change type of field
24364         counterp to 'volatile unsigned int *'.
24365         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24366         FUTEXADDR and OLDVAL.
24367         * resolv/getaddrinfo_a.c (getaddrinfo_a):
24368         Give local variable TOTAL type 'volatile unsigned int'.
24369         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24370         * resolv/gai_suspend.c (gai_suspend):
24371         Give local variable CNTR type 'unsigned int'.
24373         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24374         counterp to 'volatile unsigned int *'.
24375         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24376         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24377         (aio_suspend): Give local variable CNTR type 'unsigned int'.
24378         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24379         Give local variable TOTAL type 'volatile unsigned int'.
24380         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24382 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24384         [BZ #18383]
24385         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24386         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
24387         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24388         comment for i386/x86-64.
24389         (test-xfail-tst-tlsalign-extern-static): Removed.
24391 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24393         * math/test-double.h: New file.
24394         * math/test-float.h: Likewise.
24395         * math/test-ldouble.h: Likewise.
24396         * math/test-math-inline.h: Likewise.
24397         * math/test-math-no-inline.h: Likewise.
24398         * math/test-math-scalar.h: Likewise.
24399         * math/test-math-vector.h: Likewise.
24400         * math/test-vec-loop.h: Remove file.  Contents moved into
24401         test-math-vector.h.
24402         * math/libm-test.inc (MATHCONST): Do not document macro.
24403         * math/test-double.c: Include test-double.h, test-math-no-inline.h
24404         and test-math-scalar.h.
24405         (FUNC): Remove macro.
24406         (FUNC_TEST): Likewise.
24407         (FLOAT): Likewise.
24408         (MATHCONST): Likewise.
24409         (PRINTF_EXPR): Likewise.
24410         (PRINTF_XEXPR): Likewise.
24411         (PRINTF_NEXPR): Likewise.
24412         (TEST_DOUBLE): Likewise.
24413         (TEST_MATHVEC): Likewise.
24414         (__NO_MATH_INLINES): Likewise.
24415         * math/test-float.c: Include test-float.h, test-math-no-inline.h
24416         and test-math-scalar.h.
24417         (FUNC): Remove macro.
24418         (FUNC_TEST): Likewise.
24419         (FLOAT): Likewise.
24420         (MATHCONST): Likewise.
24421         (PRINTF_EXPR): Likewise.
24422         (PRINTF_XEXPR): Likewise.
24423         (PRINTF_NEXPR): Likewise.
24424         (TEST_FLOAT): Likewise.
24425         (TEST_MATHVEC): Likewise.
24426         (__NO_MATH_INLINES): Likewise.
24427         * math/test-idouble.c: Include test-double.h, test-math-inline.h
24428         and test-math-scalar.h.
24429         (FUNC): Remove macro.
24430         (FUNC_TEST): Likewise.
24431         (FLOAT): Likewise.
24432         (MATHCONST): Likewise.
24433         (PRINTF_EXPR): Likewise.
24434         (PRINTF_XEXPR): Likewise.
24435         (PRINTF_NEXPR): Likewise.
24436         (TEST_DOUBLE): Likewise.
24437         (TEST_MATHVEC): Likewise.
24438         (TEST_INLINE): Likewise.
24439         (__NO_MATH_INLINES): Likewise.
24440         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24441         test-math-scalar.h.
24442         (FUNC): Remove macro.
24443         (FUNC_TEST): Likewise.
24444         (FLOAT): Likewise.
24445         (MATHCONST): Likewise.
24446         (PRINTF_EXPR): Likewise.
24447         (PRINTF_XEXPR): Likewise.
24448         (PRINTF_NEXPR): Likewise.
24449         (TEST_FLOAT): Likewise.
24450         (TEST_MATHVEC): Likewise.
24451         (TEST_INLINE): Likewise.
24452         (__NO_MATH_INLINES): Likewise.
24453         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24454         and test-math-scalar.h.
24455         (FUNC): Remove macro.
24456         (FUNC_TEST): Likewise.
24457         (FLOAT): Likewise.
24458         (MATHCONST): Likewise.
24459         (PRINTF_EXPR): Likewise.
24460         (PRINTF_XEXPR): Likewise.
24461         (PRINTF_NEXPR): Likewise.
24462         (TEST_LDOUBLE): Likewise.
24463         (TEST_MATHVEC): Likewise.
24464         (TEST_INLINE): Likewise.
24465         (__NO_MATH_INLINES): Likewise.
24466         * math/test-ldouble.c: Include test-ldouble.h,
24467         test-math-no-inline.h and test-math-scalar.h.
24468         (FUNC): Remove macro.
24469         (FUNC_TEST): Likewise.
24470         (FLOAT): Likewise.
24471         (MATHCONST): Likewise.
24472         (PRINTF_EXPR): Likewise.
24473         (PRINTF_XEXPR): Likewise.
24474         (PRINTF_NEXPR): Likewise.
24475         (TEST_LDOUBLE): Likewise.
24476         (TEST_MATHVEC): Likewise.
24477         (__NO_MATH_INLINES): Likewise.
24478         * math/test-double-vlen2.h: Include test-double.h,
24479         test-math-no-inline.h and test-math-vector.h.
24480         (FLOAT): Remove macro.
24481         (FUNC): Likewise.
24482         (MATHCONST): Likewise.
24483         (PRINTF_EXPR): Likewise.
24484         (PRINTF_XEXPR): Likewise.
24485         (PRINTF_NEXPR): Likewise.
24486         (TEST_DOUBLE): Likewise.
24487         (TEST_MATHVEC): Likewise.
24488         (__NO_MATH_INLINES): Likewise.
24489         (CNCT): Likewise.
24490         (CONCAT): Likewise.
24491         (WRAPPER_NAME): Likewise.
24492         (WRAPPER_DECL): Likewise.
24493         (WRAPPER_DECL_ff): Likewise.
24494         (WRAPPER_DECL_fFF): Likewise.
24495         (VECTOR_WRAPPER): Likewise.
24496         (VECTOR_WRAPPER_ff): Likewise.
24497         (VECTOR_WRAPPER_fFF): Likewise.
24498         (VEC_LEN): New macro.
24499         * math/test-double-vlen4.h: Include test-double.h,
24500         test-math-no-inline.h and test-math-vector.h.
24501         (FLOAT): Remove macro.
24502         (FUNC): Likewise.
24503         (MATHCONST): Likewise.
24504         (PRINTF_EXPR): Likewise.
24505         (PRINTF_XEXPR): Likewise.
24506         (PRINTF_NEXPR): Likewise.
24507         (TEST_DOUBLE): Likewise.
24508         (TEST_MATHVEC): Likewise.
24509         (__NO_MATH_INLINES): Likewise.
24510         (CNCT): Likewise.
24511         (CONCAT): Likewise.
24512         (WRAPPER_NAME): Likewise.
24513         (WRAPPER_DECL): Likewise.
24514         (WRAPPER_DECL_ff): Likewise.
24515         (WRAPPER_DECL_fFF): Likewise.
24516         (VECTOR_WRAPPER): Likewise.
24517         (VECTOR_WRAPPER_ff): Likewise.
24518         (VECTOR_WRAPPER_fFF): Likewise.
24519         (VEC_LEN): New macro.
24520         * math/test-double-vlen8.h: Include test-double.h,
24521         test-math-no-inline.h and test-math-vector.h.
24522         (FLOAT): Remove macro.
24523         (FUNC): Likewise.
24524         (MATHCONST): Likewise.
24525         (PRINTF_EXPR): Likewise.
24526         (PRINTF_XEXPR): Likewise.
24527         (PRINTF_NEXPR): Likewise.
24528         (TEST_DOUBLE): Likewise.
24529         (TEST_MATHVEC): Likewise.
24530         (__NO_MATH_INLINES): Likewise.
24531         (CNCT): Likewise.
24532         (CONCAT): Likewise.
24533         (WRAPPER_NAME): Likewise.
24534         (WRAPPER_DECL): Likewise.
24535         (WRAPPER_DECL_ff): Likewise.
24536         (WRAPPER_DECL_fFF): Likewise.
24537         (VECTOR_WRAPPER): Likewise.
24538         (VECTOR_WRAPPER_ff): Likewise.
24539         (VECTOR_WRAPPER_fFF): Likewise.
24540         (VEC_LEN): New macro.
24541         * math/test-float-vlen4.h: Include test-float.h,
24542         test-math-no-inline.h and test-math-vector.h.
24543         (FLOAT): Remove macro.
24544         (FUNC): Likewise.
24545         (MATHCONST): Likewise.
24546         (PRINTF_EXPR): Likewise.
24547         (PRINTF_XEXPR): Likewise.
24548         (PRINTF_NEXPR): Likewise.
24549         (TEST_FLOAT): Likewise.
24550         (TEST_MATHVEC): Likewise.
24551         (__NO_MATH_INLINES): Likewise.
24552         (CNCT): Likewise.
24553         (CONCAT): Likewise.
24554         (WRAPPER_NAME): Likewise.
24555         (WRAPPER_DECL): Likewise.
24556         (WRAPPER_DECL_ff): Likewise.
24557         (WRAPPER_DECL_fFF): Likewise.
24558         (VECTOR_WRAPPER): Likewise.
24559         (VECTOR_WRAPPER_ff): Likewise.
24560         (VECTOR_WRAPPER_fFF): Likewise.
24561         (VEC_LEN): New macro.
24562         * math/test-float-vlen8.h: Include test-float.h,
24563         test-math-no-inline.h and test-math-vector.h.
24564         (FLOAT): Remove macro.
24565         (FUNC): Likewise.
24566         (MATHCONST): Likewise.
24567         (PRINTF_EXPR): Likewise.
24568         (PRINTF_XEXPR): Likewise.
24569         (PRINTF_NEXPR): Likewise.
24570         (TEST_FLOAT): Likewise.
24571         (TEST_MATHVEC): Likewise.
24572         (__NO_MATH_INLINES): Likewise.
24573         (CNCT): Likewise.
24574         (CONCAT): Likewise.
24575         (WRAPPER_NAME): Likewise.
24576         (WRAPPER_DECL): Likewise.
24577         (WRAPPER_DECL_ff): Likewise.
24578         (WRAPPER_DECL_fFF): Likewise.
24579         (VECTOR_WRAPPER): Likewise.
24580         (VECTOR_WRAPPER_ff): Likewise.
24581         (VECTOR_WRAPPER_fFF): Likewise.
24582         (VEC_LEN): New macro.
24583         * math/test-float-vlen16.h: Include test-float.h,
24584         test-math-no-inline.h and test-math-vector.h.
24585         (FLOAT): Remove macro.
24586         (FUNC): Likewise.
24587         (MATHCONST): Likewise.
24588         (PRINTF_EXPR): Likewise.
24589         (PRINTF_XEXPR): Likewise.
24590         (PRINTF_NEXPR): Likewise.
24591         (TEST_FLOAT): Likewise.
24592         (TEST_MATHVEC): Likewise.
24593         (__NO_MATH_INLINES): Likewise.
24594         (CNCT): Likewise.
24595         (CONCAT): Likewise.
24596         (WRAPPER_NAME): Likewise.
24597         (WRAPPER_DECL): Likewise.
24598         (WRAPPER_DECL_ff): Likewise.
24599         (WRAPPER_DECL_fFF): Likewise.
24600         (VECTOR_WRAPPER): Likewise.
24601         (VECTOR_WRAPPER_ff): Likewise.
24602         (VECTOR_WRAPPER_fFF): Likewise.
24603         (VEC_LEN): New macro.
24604         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24605         test-vec-loop.h.
24606         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24607         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24608         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24609         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24610         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24611         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24612         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24614 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24616         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24617         (__getlogin_r): ... this.
24619 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24621         [BZ #18594]
24622         * math/s_ccosh.c (__ccosh): Compare with least normal value
24623         instead of comparing class with FP_SUBNORMAL.
24624         * math/s_ccoshf.c (__ccoshf): Likewise.
24625         * math/s_ccoshl.c (__ccoshl): Likewise.
24626         * math/s_cexp.c (__cexp): Likewise.
24627         * math/s_cexpf.c (__cexpf): Likewise.
24628         * math/s_cexpl.c (__cexpl): Likewise.
24629         * math/s_csin.c (__csin): Likewise.
24630         * math/s_csinf.c (__csinf): Likewise.
24631         * math/s_csinh.c (__csinh): Likewise.
24632         * math/s_csinhf.c (__csinhf): Likewise.
24633         * math/s_csinhl.c (__csinhl): Likewise.
24634         * math/s_csinl.c (__csinl): Likewise.
24635         * math/s_ctan.c (__ctan): Likewise.
24636         * math/s_ctanf.c (__ctanf): Likewise.
24637         * math/s_ctanh.c (__ctanh): Likewise.
24638         * math/s_ctanhf.c (__ctanhf): Likewise.
24639         * math/s_ctanhl.c (__ctanhl): Likewise.
24640         * math/s_ctanl.c (__ctanl): Likewise.
24641         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24642         csin, csinh, ctan and ctanh.
24643         * math/auto-libm-test-out: Regenerated.
24644         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24645         * sysdeps/i386/fpu/libm-test-ulps: Update.
24646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24648 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24650         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24651         return value is wrong, print the expected value too.
24653 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24655         [BZ #18585]
24656         * elf/readlib.c (is_gdb_python_file): New.
24657         (process_file): Don't issue errors on filenames with -gdb.py
24658         suffix.
24660 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24662         * math/auto-libm-test-in: Add more tests of csin and csinh.
24663         * math/auto-libm-test-out: Regenerated.
24664         * math/libm-test.inc (csin_test_data): Remove tests moved to
24665         auto-libm-test-in.
24666         (csinh_test_data): Likewise.
24668         [BZ #18593]
24669         * math/s_csin.c (__csin): Negate before rather than after possibly
24670         overflowing multiplication.
24671         * math/s_csinf.c (__csinf): Likewise.
24672         * math/s_csinh.c (__csinh): Likewise.
24673         * math/s_csinhf.c (__csinhf): Likewise.
24674         * math/s_csinhl.c (__csinhl): Likewise.
24675         * math/s_csinl.c (__csinl): Likewise.
24676         * math/auto-libm-test-in: Add some tests of csin and csinh.
24677         * math/auto-libm-test-out: Regenerated.
24678         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24679         (csinh_test_data): Likewise.
24680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24682         [BZ #18586]
24683         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24684         underflow exception for small results.
24686 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
24688         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24689         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24690         variable and included header.
24691         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24692         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24693         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24694         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24695         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24696         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24697         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24698         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24699         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24700         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24701         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24702         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24703         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24704         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24705         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24706         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24708 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24710         [BZ #16526]
24711         [BZ #16538]
24712         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24713         (__sin): Force underflow exception for arguments with small
24714         absolute value.
24715         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24716         (__kernel_sinf): Force underflow exception for arguments with
24717         small absolute value.
24718         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24719         (__kernel_sincosl): Force underflow exception for arguments with
24720         small absolute value.
24721         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24722         (__kernel_sinl): Force underflow exception for arguments with
24723         small absolute value.
24724         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24725         (__kernel_sincosl): Force underflow exception for arguments with
24726         small absolute value.
24727         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24728         (__kernel_sinl): Force underflow exception for arguments with
24729         small absolute value.
24730         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24731         (__kernel_sinl): Force underflow exception for arguments with
24732         small absolute value.
24733         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24734         (__kernel_sinf): Force underflow exception for arguments with
24735         small absolute value.
24736         * math/auto-libm-test-in: Add more tests of sin and sincos.
24737         * math/auto-libm-test-out: Regenerated.
24739         [BZ #18245]
24740         [BZ #18583]
24741         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24742         (__kernel_standard_l): Use feholdexcept and fesetenv around
24743         conversion to double instead of special-casing overflow and
24744         underflow.
24745         * math/libm-test.inc (fmod_test_data): Add more tests.
24746         (remainder_test_data): Likewise.
24747         (sqrt_test_data): Likewise.
24749 2015-06-23  Torvald Riegel  <triegel@redhat.com>
24751         [BZ #17403]
24752         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24753         atomic_read_barrier, atomic_write_barrier): Define.
24754         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24755         atomic_read_barrier, atomic_write_barrier): Define.
24757 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24759         * math/Makefile [$(PERL) != no]
24760         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24761         dependency on libm-test.stmp below the inclusion of Rules.
24763 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
24765         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24766         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24767         and included header.
24768         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24769         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24770         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24771         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24772         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24773         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24774         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24775         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24776         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24777         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24778         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24779         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24780         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24781         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24782         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24783         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24784         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24785         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24786         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24788 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24790         [BZ #18371]
24791         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24792         intermediate but not final result might underflow.
24793         * math/s_csqrtf.c (__csqrtf): Likewise.
24794         * math/s_csqrtl.c (__csqrtl): Likewise.
24795         * math/auto-libm-test-in: Add more tests of csqrt.
24796         * math/auto-libm-test-out: Regenerated.
24797         * sysdeps/i386/fpu/libm-test-ulps: Update.
24799         [BZ #18219]
24800         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24801         threshold on absolute value of exponent for which scaling is used.
24802         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24803         * math/auto-libm-test-in: Add more tests of exp2.
24804         * math/auto-libm-test-out: Regenerated.
24806 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
24808         [BZ #17977]
24809         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24810         when initializing interface list, based on the bug analysis
24811         and the patch proposed by Eric Newton.
24812         * resolv/tst-res_hconf_reorder.c: New test.
24813         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24814         tst-res_hconf_reorder.
24815         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24816         and $(shared-thread-library).
24817         (tst-res_hconf_reorder-ENV): New variable.
24819         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24820         in comment.
24822 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
24824         [BZ #16353]
24825         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24826         (__expm1): Force underflow exception for arguments with small
24827         absolute value.
24828         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24829         (__expm1f): Force underflow exception for arguments with small
24830         absolute value.
24831         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24832         (__expm1): Force underflow exception for arguments with small
24833         absolute value.
24834         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24835         (__expm1f): Force underflow exception for arguments with small
24836         absolute value.
24837         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24838         Check for small arguments before calling __expm1.
24839         * math/auto-libm-test-in: Do not mark underflow exceptions as
24840         possibly missing for bug 16353.
24841         * math/auto-libm-test-out: Regenerated.
24843 2015-06-22  Andreas Schwab  <schwab@suse.de>
24845         [BZ #18513]
24846         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24847         PTR queries.
24849 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
24851         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24853         * string/strcoll_l.c: Remove unused struct element idxnow.
24855 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
24857         [BZ #18569]
24858         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24859         underflow and return argument in case of subnormal argument.
24860         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24861         Likewise.
24862         * math/auto-libm-test-in: Add more tests of expm1.
24863         * math/auto-libm-test-out: Regenerated.
24865         [BZ #16361]
24866         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24867         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24868         tiny results.
24869         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24870         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24871         tiny results.
24872         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
24873         mark underflow exceptions as possibly missing for bug 16361.
24874         * math/auto-libm-test-out: Regenerated.
24876 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
24878         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24879         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24880         Remove variable.
24881         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24882         (test-xfail-XOPEN2K8/utmpx.h/conform).
24884         * conform/conformtest.pl ($xerrors): New variable.
24885         (note_error): New function.
24886         (compiletest): New argument $xfail.  Use not_error.
24887         (runtest): Likewise.
24888         (top level): Handle xfail- lines.  Update calls to compiletest and
24889         runtest.  Handle xfail- and optional- in headers listed with
24890         allow-header.
24891         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24892         (O_EXEC): Likewise.
24893         (O_SEARCH): Likewise.
24894         * conform/data/stropts.h-data (ioctl): Likewise.
24895         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24896         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24897         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24898         (msghdr.msg_controllen): Likewise.
24899         (cmsghdr.cmsg_len): Likewise.
24900         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24901         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24902         variable.
24903         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24904         (test-xfail-XPG4/stropts.h/conform): Likewise.
24905         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24906         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24907         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24908         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24909         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24910         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24911         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24912         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24913         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24914         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24915         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24916         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24917         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24918         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24919         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24920         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24921         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24922         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24923         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24925 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24927         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24928         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24929         definitions for proper unfolding of __MATHDECL_VEC.
24931 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24933         * benchtests/bench-strcoll.c:
24934         Include string.h.
24935         (main): Remove unused variable res.
24937 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24939         * timezone/Makefile (%/UTC %/Universal):
24940         Generate test-result files for UTC and Universal.
24942 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24944         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24946 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
24948         [BZ #16350]
24949         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24950         for arguments with small absolute value.
24951         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24952         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24953         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24954         (__asinh): Force underflow exception for arguments with small
24955         absolute value.
24956         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24957         (__asinhf): Force underflow exception for arguments with small
24958         absolute value.
24959         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24960         (__asinhl): Force underflow exception for arguments with small
24961         absolute value.
24962         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24963         (__asinhl): Force underflow exception for arguments with small
24964         absolute value.
24965         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24966         (__asinhl): Force underflow exception for arguments with small
24967         absolute value.
24968         * math/auto-libm-test-in: Do not mark underflow exceptions as
24969         possibly missing for bug 16350.
24970         * math/auto-libm-test-out: Regenerated.
24972         * include/bits/ipc.h: Remove file.
24973         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24974         variable.
24975         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24976         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24977         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24978         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24979         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24980         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24981         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24982         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24983         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24985         * math/auto-libm-test-in: Remove spurious underflow allowance for
24986         tests of cexp.
24987         * math/auto-libm-test-out: Regenerated.
24989         [BZ #18558]
24990         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24991         unconditional definition.
24992         (MCAST_BLOCK_SOURCE): Likewise.
24993         (MCAST_UNBLOCK_SOURCE): Likewise.
24994         (MCAST_LEAVE_GROUP): Likewise.
24995         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24996         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24997         (MCAST_MSFILTER): Likewise.
24998         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24999         Remove variable.
25000         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25001         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25002         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25003         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25004         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25006 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
25008         * NEWS: Mention addition of x86_64 vector sincosf.
25009         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
25010         * math/test-float-vlen4.h: Likewise.
25011         * math/test-float-vlen8.h: Likewise.
25012         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25013         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
25014         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25015         * sysdeps/x86_64/fpu/Versions: New versions added.
25016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25017         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25018         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25019         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
25020         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
25021         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
25022         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
25023         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
25024         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
25025         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
25026         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
25027         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
25028         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
25029         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
25030         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
25031         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
25032         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
25033         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25034         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25035         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25036         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25037         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25038         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25039         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25041         * NEWS: Mention addition of x86_64 vector sincos.
25042         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
25043         * math/math.h (__MATHDECL_VEC): New macro.
25044         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
25045         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
25046         declaration under condition.
25047         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
25048         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
25049         TEST_VEC_LOOP change.
25050         * math/test-double-vlen4.h: Likewise.
25051         * math/test-double-vlen8.h: Likewise.
25052         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
25053         * math/test-float-vlen4.h: Likewise.
25054         * math/test-float-vlen8.h: Likewise.
25055         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25056         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
25057         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25058         * sysdeps/x86_64/fpu/Versions: New versions added.
25059         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25060         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25061         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25062         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
25063         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
25064         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
25065         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
25066         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
25067         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
25068         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
25069         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
25070         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
25071         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
25072         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
25073         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
25074         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
25075         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
25076         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25077         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25078         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25079         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25080         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25081         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25082         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25084         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25085         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25086         redirections for powf.
25087         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25088         * sysdeps/x86_64/fpu/Versions: New versions added.
25089         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25090         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25091         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25092         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
25093         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
25094         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
25095         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
25096         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
25097         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
25098         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
25099         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
25100         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
25101         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
25102         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
25103         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
25104         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
25105         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
25106         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25107         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25108         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25109         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25110         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25111         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25112         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25113         * math/test-float-vlen16.h: Fixed 2 argument macro.
25114         * math/test-float-vlen4.h: Likewise.
25115         * math/test-float-vlen8.h: Likewise.
25116         * NEWS: Mention addition of x86_64 vector powf.
25118 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
25120         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25121         and redefine.
25122         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25123         and redefine.
25124         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
25125         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25126         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25128         [BZ #18553]
25129         * resource/getpriority.c (getpriority): Rename to __getpriority
25130         and define as weak alias of __getpriority.
25131         * resource/setpriority.c (setpriority): Rename to __setpriority
25132         and define as weak alias of __setpriority.
25133         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
25134         __getpriority and define as weak alias of __getpriority.
25135         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
25136         __setpriority and define as weak alias of __setpriority.
25137         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
25138         strong name.
25139         (setpriority): Use __setpriority as strong name.
25140         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
25141         __getpriority and define as weak alias of __getpriority.
25142         * include/sys/resource.h (__getpriority): Declare.  Use
25143         libc_hidden_proto.
25144         (__setpriority): Likewise.
25145         (getpriority): Don't use libc_hidden_proto.
25146         (setpriority): Likewise.
25147         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25148         getpriority.  Call __setpriority instead of setpriority.
25149         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25150         Remove variable.
25152         [BZ #18547]
25153         * misc/getttyent.c (getttynam): Rename to __getttynam and define
25154         as weak alias of __getttynam.  Use prototype function definition.
25155         Call __setttyent, __getttyent and __endttyent instead of
25156         setttyent, getttyent and endttyent.
25157         (getttyent): Rename to __getttyent and define as weak alias of
25158         __getttyent.  Call __setttyent instead of setttyent.  Call
25159         __fgets_unlocked instead of fgets_unlocked.
25160         (setttyent): Rename to __setttyent and define as weak alias of
25161         __setttyent.
25162         (endttyent): Rename to __endttyent and define as weak alias of
25163         __endttyent.
25164         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
25165         (__setttyent): Likewise.
25166         (__endttyent): Likewise.
25167         (getttyent): Don't use libc_hidden_proto.
25168         (setttyent): Likewise.
25169         (endttyent): Likewise.
25170         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25171         __endttyent instead of setttyent, getttyent and endttyent.
25172         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25173         Remove variable.
25175         [BZ #18546]
25176         * socket/recv.c (__recv): Use libc_hidden_def.
25177         * socket/socket.c (__socket): Likewise.
25178         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25179         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25180         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25181         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25182         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25183         libc_hidden_def.
25184         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25185         libc_hidden_weak.
25186         * include/sys/socket.h (__socket): Do not use attribute_hidden.
25187         Use libc_hidden_proto.
25188         (__recv): Likewise.
25189         * socket/Versions (libc): Export __recv and __socket at version
25190         GLIBC_PRIVATE.
25191         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25192         instead of recv.
25193         (init_mq_netlink): Call __socket instead of socket.
25194         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25195         Remove variable.
25197         [BZ #18545]
25198         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25199         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
25200         hidden_weak.
25201         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25202         define as alias of __mq_timedsend.  Use hidden_weak.
25203         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25204         __mq_timedsend as strong name.
25205         (mq_timedreceive): Use __mq_timedreceive as strong name.
25206         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
25207         (__mq_timedreceive): Likewise.
25208         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25209         __mq_timedreceive instead of mq_timedreceive.
25210         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25211         instead of mq_timedsend.
25212         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25213         Remove variable.
25215         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25216         hidden_def and hidden_weak instead of libc_hidden_def and
25217         libc_hidden_weak.
25218         (top level): Refer to hidden_def in comment.
25219         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25220         macro.  Use it instead of libc_hidden_def.
25221         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25222         specify __GI_* name explicitly.
25223         (mq_timedreceive): Likewise.
25224         (mq_setattr): Likewise.
25226         [BZ #18544]
25227         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25228         __pthread_barrier_init and define as weak alias of
25229         __pthread_barrier_init.
25230         * sysdeps/sparc/nptl/pthread_barrier_init.c
25231         (pthread_barrier_init): Likewise.
25232         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25233         __pthread_barrier_wait and define as weak alias of
25234         __pthread_barrier_wait.
25235         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25236         (pthread_barrier_wait): Likewise.
25237         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25238         (pthread_barrier_wait): Likewise.
25239         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25240         (pthread_barrier_wait): Likewise.
25241         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25242         (pthread_barrier_wait): Likewise.
25243         * nptl/Versions (libpthread): Export __pthread_barrier_init and
25244         __pthread_barrier_wait at version GLIBC_PRIVATE.
25245         * include/pthread.h (__pthread_barrier_init): Declare.
25246         (__pthread_barrier_wait): Likewise.
25247         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25248         Call __pthread_barrier_wait instead of pthread_barrier_wait.
25249         (helper_thread): Likewise.
25250         (init_mq_netlink): Call __pthread_barrier_init instead of
25251         pthread_barrier_init.
25253         [BZ #18542]
25254         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25255         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25256         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
25257         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25258         vswscanf.
25259         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25260         Remove variable.
25262         [BZ #18540]
25263         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25264         strong alias of _IO_fflush.  Use libc_hidden_def.
25265         * libio/iofflush_u.c (fflush_unlocked): Rename to
25266         __fflush_unlocked and define as weak alias of __fflush_unlocked.
25267         Use libc_hidden_weak.
25268         * include/stdio.h (__fflush_unlocked): Declare.  Use
25269         libc_hidden_proto.
25270         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25271         fflush_unlocked.
25272         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25273         Remove variable.
25275         [BZ #18539]
25276         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25277         define as weak alias of __addseverity.
25278         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25279         Remove variable.
25280         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25281         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25282         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25284         [BZ #18536]
25285         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25286         (__tfind): Likewise.
25287         (__tdelete): Likewise.
25288         (__twalk): Likewise.
25289         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25290         __twalk to GLIBC_PRIVATE.
25291         * include/search.h (__tsearch): Use libc_hidden_proto.
25292         (__tfind): Likewise.
25293         (__tdelete): Likewise.
25294         (__twalk): Likewise.
25295         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25296         Call __tdelete instead of tdelete.
25297         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25298         tfind.  Call __tsearch instead of tsearch.
25299         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25300         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25301         Remove variable.
25302         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25304         [BZ #18534]
25305         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25306         (dprintf): Define as a weak alias of __dprintf, not a strong
25307         alias.
25308         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
25309         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25310         dprintf.
25311         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25312         Remove variable.
25313         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25314         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25316         [BZ #18533]
25317         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25318         not a strong alias.
25319         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25320         Remove variable.
25322         [BZ #18532]
25323         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25324         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
25325         (in6addr_loopback): Rename to __in6addr_loopback and define as
25326         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
25327         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
25328         libc_hidden_proto.
25329         (__in6addr_any): Likewise.
25330         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25331         in6addr_any.
25332         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25333         variable.
25334         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25336 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
25338         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25339         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25340         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25341         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25342         redirections for pow.
25343         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25344         * sysdeps/x86_64/fpu/Versions: New versions added.
25345         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25346         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25347         build of SSE, AVX2 and AVX512 IFUNC versions.
25348         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25350         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25351         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25352         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25353         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25354         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25355         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25356         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25357         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25358         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25359         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25360         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25361         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25362         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25363         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25364         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25365         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25366         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25367         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25368         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25369         * NEWS: Mention addition of x86_64 vector pow.
25371         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25372         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25373         redirections for expf.
25374         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25375         * sysdeps/x86_64/fpu/Versions: New versions added.
25376         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25377         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25378         build of SSE, AVX2 and AVX512 IFUNC versions.
25379         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25380         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25381         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25382         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25383         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25384         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25385         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25386         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25387         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25388         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25389         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25390         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25391         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25392         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25393         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25394         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25395         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25396         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25397         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25398         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25399         * NEWS: Mention addition of x86_64 vector expf.
25401         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25402         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25403         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25404         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25405         redirections for exp.
25406         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25407         * sysdeps/x86_64/fpu/Versions: New versions added.
25408         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25409         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25410         build of SSE, AVX2 and AVX512 IFUNC versions.
25411         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25412         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25413         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25414         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25415         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25416         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25417         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25418         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25419         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25420         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25421         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25422         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25423         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25424         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25425         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25426         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25427         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25428         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25429         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25430         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25431         * NEWS: Mention addition of x86_64 vector exp.
25433         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25434         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25435         redirections for logf.
25436         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25437         * sysdeps/x86_64/fpu/Versions: New versions added.
25438         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25439         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25440         build of SSE, AVX2 and AVX512 IFUNC versions.
25441         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25442         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25443         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25444         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25445         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25446         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25447         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25448         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25449         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25450         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25451         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25452         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25453         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25454         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25455         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25456         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25457         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25459         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25460         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25461         * NEWS: Mention addition of x86_64 vector logf.
25463         * bits/libm-simd-decl-stubs.h: Added stubs for log.
25464         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25465         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25466         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25467         redirections for log.
25468         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25469         * sysdeps/x86_64/fpu/Versions: New versions added.
25470         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25471         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25472         build of SSE, AVX2 and AVX512 IFUNC versions.
25473         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25474         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25475         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25476         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25477         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25478         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25479         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25480         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25481         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25482         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25483         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25484         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25485         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25486         test.
25487         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25488         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25489         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25490         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25491         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25492         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25493         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25494         * NEWS: Mention addition of x86_64 vector log.
25496 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25498         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25499         cfi_adjust_cfa_offset argument.
25500         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25501         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25503         [BZ #18034]
25504         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25505         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25506         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25507         ordering using ldar.
25508         (_dl_tlsdesc_dynamic): Likewise.
25509         (_dl_tlsdesc_return_lazy): Likewise.
25510         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25511         relaxed atomics instead of volatile and synchronize with release store.
25512         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25513         volatile.
25514         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25516 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
25518         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25519         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25520         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25521         * sysdeps/x86_64/fpu/Versions: New versions added.
25522         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25523         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25524         build of SSE, AVX2 and AVX512 IFUNC versions.
25525         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25526         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25527         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25528         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25529         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25530         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25531         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25532         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25533         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25534         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25535         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25536         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25537         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25538         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25539         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25540         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25541         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25542         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25543         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25544         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25545         * NEWS: Mention addition of x86_64 vector sinf.
25547 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
25549         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25550         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25551         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25552         Remove variable.
25553         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25554         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25556 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25558         [BZ #18530]
25559         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25560         strong alias of _IO_fputs.  Use libc_hidden_def.
25561         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25562         and define as weak alias of __fputs_unlocked.  Use
25563         libc_hidden_weak.
25564         * include/stdio.h (__fputs_unlocked): Declare.  Use
25565         libc_hidden_proto.
25566         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25567         fputs_unlocked.
25569         [BZ #18529]
25570         * resolv/netdb.h [__USE_POSIX]: Change condition to
25571         [__USE_XOPEN2K].
25572         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25573         not expect.
25574         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25575         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25576         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25577         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25578         [XPG4 || UNIX98] (AI_ALL): Likewise.
25579         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25580         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25581         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25582         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25583         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25584         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25585         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25586         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25587         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25588         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25589         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25590         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25591         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25592         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25593         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25594         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25595         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25596         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25597         [XPG4 || UNIX98] (gai_strerror): Likewise.
25598         [XPG4 || UNIX98] (getaddrinfo): Likewise.
25599         [XPG4 || UNIX98] (getnameinfo): Likewise.
25601         [BZ #18528]
25602         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25603         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25604         __USE_XOPEN2K8].
25605         (getgrent): Likewise.
25606         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25607         expect.
25608         [XPG3 || POSIX2008] (endgrent): Likewise.
25609         [XPG3] (setgrent): Likewise.
25610         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25611         variable.
25612         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25614         [BZ #18527]
25615         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25616         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
25617         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25618         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25619         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25620         * include/unistd.h (__getlogin_r): Declare.  Use
25621         libc_hidden_proto.
25622         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25623         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25624         variable.
25625         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25626         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25627         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25629 2015-06-12  Martin Sebor  <msebor@redhat.com>
25631         [BZ #18512]
25632         * Makerules (check-install-supported): New target.
25633         (install): Add check-install-supported as a dependency.
25634         * manual/install.texi (Installing the C Library): Document
25635         that overriding prefix and exec_prefix is not supported.
25636         Mention DESTDIR.
25637         * INSTALL: Regenerate from the above.
25639 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25641         [BZ #18519]
25642         * posix/Versions (libc): Export __libc_pread at version
25643         GLIBC_PRIVATE.
25644         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25645         instead of pread.
25646         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25647         variable.
25649         [BZ #18522]
25650         * misc/efgcvt_r.c
25651         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25652         (cvt_symbol): Use weak_alias instead of strong_alias.
25653         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25654         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25655         Remove variable.
25656         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25657         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25659         [BZ #18520]
25660         * inet/herrno.c (h_errno): Rename to __h_errno.
25661         (__libc_h_errno): Define as alias of __h_errno not h_errno.
25662         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25663         to __h_errno instead of h_errno.
25664         * nptl/herrno.c (h_errno): Rename to __h_errno.
25665         (__h_errno_location): Refer to __h_errno not h_errno.
25666         * resolv/Versions (h_errno): Rename to __h_errno.
25667         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25668         Remove variable.
25669         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25671 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
25673         * configure.ac: More strict check for AVX512 assembler support.
25674         * configure: Regenerated.
25676         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25677         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25678         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25679         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25680         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25681         * sysdeps/x86_64/fpu/Versions: New versions added.
25682         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25683         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25684         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25685         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25686         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25687         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25688         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25689         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25690         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25691         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25692         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25693         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25694         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25695         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25696         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25697         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25698         test.
25699         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25700         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25701         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25702         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25703         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25704         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25705         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25706         * NEWS: Mention addition of x86_64 vector sin.
25708 2015-06-11  Florian Weimer  <fweimer@redhat.com>
25710         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25711         comment.
25713 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25715         [BZ #18479]
25716         * nptl/pt-interp.c: New file.
25717         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25718         Add pt-interp.
25719         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25720         $(common-objpfx)runtime-linker.h.
25722 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
25724         * Makeconfig (+interp): Remove unused variable.
25725         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25726         only.  Depend on $(common-objpfx)runtime-linker.h instead of
25727         $(elf-objpfx)runtime-linker.h.
25728         ($(elf-objpfx)runtime-linker.h): Rename to
25729         $(common-objpfx)runtime-linker.h and move ...
25730         * Makerules [$(build-shared) = yes]: ... here.
25731         * elf/interp.c: Include <runtime-linker.h> instead of
25732         <elf/runtime-linker.h>.
25734 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25736         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25737         (__gettimeofday_syscall): Remove vsyscall fallback.
25738         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25739         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25740         Add syscall fallback function.
25741         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25742         if vDSO is not present.
25743         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25744         fallback function.
25745         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25746         present.
25747         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25748         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25750 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
25752         [BZ #18497]
25753         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25754         of wcscmp.
25755         (wcscmp): Define as weak alias of WCSCMP.
25756         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25757         wcscoll.
25758         (USE_HIDDEN_DEF): Define.
25759         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25760         __wcscoll.  Don't use libc_hidden_weak.
25761         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25762         wcscmp.
25763         * sysdeps/i386/i686/multiarch/wcscmp-c.c
25764         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25765         __GI_wcscmp.
25766         (weak_alias): Undefine and redefine.
25767         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25768         __wcscmp and define as weak alias of __wcscmp.
25769         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25770         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
25771         (__wcscoll): Likewise.
25772         (wcscmp): Don't use libc_hidden_proto.
25773         (wcscoll): Likewise.
25774         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25775         wcscoll.
25776         * posix/regexec.c (check_node_accept_bytes): Likewise.
25777         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25778         variable.
25779         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25780         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25782         [BZ #18507]
25783         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25784         __fstatvfs and define as weak alias of __fstatvfs.  Use
25785         libc_hidden_weak.
25786         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25787         and define as weak alias of __statvfs.  Use libc_hidden_weak.
25788         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25789         Define as alias of __fstatvfs, not fstatvfs.
25790         (fstatvfs64): Likewise.
25791         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25792         Define as alias of __statvfs, not statvfs.
25793         (statvfs64): Likewise.
25794         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25795         Remove variable.
25797 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25800         (HAVE_GETCPU_VSYSCALL): Define.
25801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25802         (HAVE_GETCPU_VSYSCALL): Likewise.
25803         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25804         * sysdeps/unix/sysv/linux/sched_getcpu.c
25805         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25806         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25807         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25808         prototype.
25809         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25810         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25811         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25813         Define.
25814         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25815         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25816         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25817         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25819 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
25821         * sysdeps/x86_64/fpu/Makefile: New file.
25822         * sysdeps/x86_64/fpu/Versions: New file.
25823         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25824         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25825         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25826         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25827         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25828         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25829         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25830         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25831         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25832         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25833         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25834         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25835         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25836         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25837         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25838         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25839         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25840         * sysdeps/x86_64/configure.ac: Options for libmvec build.
25841         * sysdeps/x86_64/configure: Regenerated.
25842         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25843         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25844         * manual/install.texi (Configuring and compiling): Document
25845         --disable-mathvec.
25846         * INSTALL: Regenerated.
25847         * NEWS: Mention addition of libmvec and x86_64 vector cos.
25849         * math/Makefile: Added rules for vector tests.
25850         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25851         declaration under condition.
25852         * math/test-double-vlen2.h: New file.
25853         * math/test-double-vlen4.h: New file.
25854         * math/test-double-vlen8.h: New file.
25855         * math/test-vec-loop.h: Added initialization macro.
25856         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25857         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25858         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25859         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25860         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25861         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25862         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25863         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25864         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25865         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25866         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25868         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25869         * sysdeps/x86_64/fpu/Versions: New versions added.
25870         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25871         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25872         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25873         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25874         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25875         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25876         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25877         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25878         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25879         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25880         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25881         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25882         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25883         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25884         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25885         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25886         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25887         * NEWS: Mention addition of x86_64 vector cosf.
25889         * math/Makefile: Added CFLAGS for new tests.
25890         * math/test-float-vlen16.h: New file.
25891         * math/test-float-vlen4.h: New file.
25892         * math/test-float-vlen8.h: New file.
25893         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25894         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25895         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25896         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25897         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25898         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25899         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25900         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25901         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25902         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25903         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25905 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
25907         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25908         * locale/programs/ld-ctype.c: Likewise.
25910 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
25912         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25913         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25914         bit_ZMM16_31_state): New macro.
25915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25916         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25918 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
25920         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25922 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
25924         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25926 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
25928         [BZ #18498]
25929         * libio/memstream.c (open_memstream): Rename to __open_memstream
25930         and define as weak alias of __open_memstream.
25931         * include/stdio.h (__open_memstream): Declare.  Use
25932         libc_hidden_proto.
25933         (open_memstream): Don't use libc_hidden_proto.
25934         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25935         open_memstream.
25936         * posix/getopt.c (_getopt_internal_r): Likewise.
25937         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25938         variable.
25939         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25940         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25941         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25943         [BZ #18496]
25944         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25945         instead of wcrtomb.
25947         [BZ #18483]
25948         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25949         [__USE_XOPEN2K8].  Remove redundant #endif.
25950         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25951         Remove redundant #if.
25952         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25953         Remove variable.
25954         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25955         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25957         [BZ #18495]
25958         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25959         (__iswlower): Likewise.
25960         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
25961         (__iswlower): Likewise.
25962         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25963         instead of towlower.
25964         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25965         instead of iswlower.  Call __towupper instead of towupper.
25966         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25967         instead of iswalnum.
25969 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25971         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25972         errors to stderr.
25974 2015-06-05  Florian Weimer  <fweimer@redhat.com>
25976         [BZ #15661]
25977         [BZ #17322]
25978         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25979         Check for overflow properly.  Check for O_APPEND.  Ignore large
25980         file system block sizes.  Add comments about problems.
25981         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25982         * manual/filesys.texi (Storage Allocation): New node.
25984 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25986         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25987         cancellable syscalls.
25988         (SYS_ify): Add guard to no redefine it.
25989         (INLINE_SYSCALL): Likewise.
25990         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25991         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25992         SYSCALL_CANCEL instead.
25993         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25994         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25995         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25996         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25997         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25998         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25999         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
26000         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
26001         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26002         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26003         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
26004         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
26005         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
26006         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
26007         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
26008         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26009         Likewise.
26010         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26011         (__libc_pread64): Likewise.
26012         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
26013         (__libc_preadv): Likewise.
26014         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
26015         (__libc_readv64): Likewise.
26016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26017         (__libc_pwrite): Likewise.
26018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26019         (__libc_pwrite64): Likewise.
26020         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
26021         (__libc_pwritev): Likewise.
26022         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
26023         (__libc_pwritev64): Likewise.
26024         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
26025         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26026         (sync_file_range): Likewise.
26027         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
26028         Likewise.
26029         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
26030         Likewise.
26031         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26032         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26033         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26034         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26035         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26036         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26037         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26038         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
26039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26040         Likewise.
26041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26042         (__libc_read64): Likewise.
26043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
26044         Likewise.
26045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
26046         Likewise.
26047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
26048         Likewise.
26049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
26050         Likewise.
26051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26052         (__libc_pread64): Likewise.
26053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
26054         Likewise.
26055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26056         (__libc_pwrite64): Likewise.
26057         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
26058         (sync_file_range): Likewise.
26059         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
26060         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26061         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26062         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
26063         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
26064         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26065         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26066         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
26067         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
26068         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26069         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26070         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26071         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26072         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26073         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
26074         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26075         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26076         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26077         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26078         Likewise.
26079         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
26080         Likewise.
26081         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
26082         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
26083         Likewise.
26084         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
26085         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
26086         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
26087         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
26088         Likewise.
26089         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
26090         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
26091         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
26092         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
26093         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
26095 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
26097         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
26098         Include dl-vdso.
26099         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
26100         Use VDSO routines for gettimeofday, clock_gettime if
26101         available.
26102         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
26103         Declare VDSO symbols.
26104         * sysdeps/unix/sysv/linux/arm/sysdep.h:
26105         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
26106         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26107         * sysdeps/unix/sysv/linux/arm/Versions: Add
26108         __vdso_clock_gettime.
26110 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26112         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
26113         be an inline implementation regardless of library is built within.
26114         (open_not_cancel_2): Likewise.
26115         (__read_nocancel): Likewise.
26116         (__write_nocancel): Likewise.
26117         (openat_not_cancel): Likewise.
26118         (openat_not_cancel_3): Likewise.
26119         (openat64_not_cancel): Likewise.
26120         (openat64_not_cancel_3): Likewise.
26121         (__close_nocancel): Likewise.
26122         (pause_not_cancel): Likewise.
26123         (nanosleep_not_cancel): Likewise.
26124         (sigsuspend_not_cancel): Likewise.
26126 2015-06-04  Torvald Riegel  <triegel@redhat.com>
26128         [BZ #14958]
26129         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
26130         wake-up.
26131         (__pthread_rwlock_rdlock_slow): Likewise.
26132         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26133         Likewise.
26134         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26135         Likewise.
26136         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
26137         * nptl/tst-rwlock16.c: New file.
26138         * nptl/Makefile (tests): Add new test.
26140 2015-06-04  Torvald Riegel  <triegel@redhat.com>
26142         [BZ #18324]
26143         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
26144         missing wake-up of readers.
26145         * nptl/tst-rwlock15.c: New file.
26146         * nptl/Makefile (tests): Add new test.
26148 2015-06-03  Roland McGrath  <roland@hack.frob.com>
26150         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26151         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26152         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26153         and __nacl_supply_interface_rtld.
26154         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26155         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26156         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26157         Add __nacl_supply_interface_rtld.
26158         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26160 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26162         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26163         isfinite.
26164         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26165         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26167 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26169         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26170         __signbit* with standard C99 macros.
26171         * math/e_exp10l.c: Likewise.
26172         * math/e_exp2l.c: Likewise.
26173         * math/e_scalb.c: Likewise.
26174         * math/e_scalbf.c: Likewise.
26175         * math/e_scalbl.c: Likewise.
26176         * math/s_ldexp.c: Likewise.
26177         * math/s_ldexpf.c: Likewise.
26178         * math/s_ldexpl.c: Likewise.
26179         * math/w_atan2.c: Likewise.
26180         * math/w_atan2f.c: Likewise.
26181         * math/w_atan2l.c: Likewise.
26182         * math/w_cosh.c: Likewise.
26183         * math/w_coshf.c: Likewise.
26184         * math/w_coshl.c: Likewise.
26185         * math/w_exp10.c: Likewise.
26186         * math/w_exp10f.c: Likewise.
26187         * math/w_exp10l.c: Likewise.
26188         * math/w_exp2.c: Likewise.
26189         * math/w_exp2f.c: Likewise.
26190         * math/w_exp2l.c: Likewise.
26191         * math/w_fmod.c: Likewise.
26192         * math/w_fmodf.c: Likewise.
26193         * math/w_fmodl.c: Likewise.
26194         * math/w_hypot.c: Likewise.
26195         * math/w_hypotf.c: Likewise.
26196         * math/w_hypotl.c: Likewise.
26197         * math/w_jnl.c: Likewise.
26198         * math/w_lgamma.c: Likewise.
26199         * math/w_lgamma_r.c: Likewise.
26200         * math/w_lgammaf.c: Likewise.
26201         * math/w_lgammaf_r.c: Likewise.
26202         * math/w_lgammal.c: Likewise.
26203         * math/w_lgammal_r.c: Likewise.
26204         * math/w_pow.c: Likewise.
26205         * math/w_powf.c: Likewise.
26206         * math/w_powl.c: Likewise.
26207         * math/w_remainder.c: Likewise.
26208         * math/w_remainderf.c: Likewise.
26209         * math/w_remainderl.c: Likewise.
26210         * math/w_scalb.c: Likewise.
26211         * math/w_scalbf.c: Likewise.
26212         * math/w_scalbl.c: Likewise.
26213         * math/w_scalbln.c: Likewise.
26214         * math/w_scalblnf.c: Likewise.
26215         * math/w_scalblnl.c: Likewise.
26216         * math/w_sinh.c: Likewise.
26217         * math/w_sinhf.c: Likewise.
26218         * math/w_sinhl.c: Likewise.
26219         * math/w_tgamma.c: Likewise.
26220         * math/w_tgammaf.c: Likewise.
26221         * math/w_tgammal.c: Likewise.
26222         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26223         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26224         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26225         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26226         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26227         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26228         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26229         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26230         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26231         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26232         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26233         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26234         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26235         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26236         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26237         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26238         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26239         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26240         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26241         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26242         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26243         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26244         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26245         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26246         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26247         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26248         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26249         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26250         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26251         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26252         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26253         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26254         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26255         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26256         * stdio-common/printf_fp.c: Likewise.
26257         * stdio-common/printf_fphex.c: Likewise.
26258         * stdio-common/printf_size.c: Likewise.
26260 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
26262         [BZ #18470]
26263         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26264         strnlen.
26265         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26266         Remove variable.
26267         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26268         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26269         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26270         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26271         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26272         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26273         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26274         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26275         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26276         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26278         [BZ #18468]
26279         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26280         weak alias of __wmemchr.  Use libc_hidden_weak.
26281         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
26282         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26283         instead of wmemchr.
26285 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26287         [BZ #18383]
26288         * elf/tst-tlsalign-extern.c: New file.
26289         * elf/tst-tlsalign-extern-static.c: New file.
26290         * elf/tst-tlsalign-vars.c: New file.
26291         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26292         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26293         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26294         ($(objpfx)tst-tlsalign-extern-static): Likewise.
26295         (test-xfail-tst-tlsalign-extern-static): New variable.
26297 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
26299         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26300         Use variable name _sc_err instead of err.
26301         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26302         instead of ret.
26303         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26304         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26305         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26306         (INLINE_SYSCALL): Likewise.
26308         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26309         * include/string.h (__strnlen): Use libc_hidden_proto.
26310         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26311         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26312         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26313         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26314         (libc_hidden_def): Undefine and redefine.
26315         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26316         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26317         __GI_strnlen.
26318         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26319         libc_hidden_def.
26320         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26322         [BZ #18469]
26323         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26324         weak alias of __towlower.  Use libc_hidden_weak.
26325         (towupper): Rename to __towupper and define as weak alias of
26326         __towupper.  Use libc_hidden_weak.
26327         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
26328         (__towupper): Likewise.
26329         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26330         __towlower instead of towlower.
26332 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26334         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26335         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26337 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26339         * sysdeps/aarch64/libm-test-ulps: Update.
26341 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26343         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26344         Define.
26345         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26347         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26348         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26349         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26350         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26351         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26353 2015-06-01  Martin Sebor  <msebor@redhat.com>
26355         [BZ #18116]
26356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26357         (__setcontext): Use extended four-operand version of mtsf whenever
26358         possible.
26359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26360         (__novec_swapcontext): Likewise.
26362 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26364         * benchtests/scripts/compare_bench.py: New file.
26365         * benchtests/scripts/import_bench.py (mean): New function.
26366         (split_list): Likewise.
26367         (do_for_all_timings): Likewise.
26368         (compress_timings): Likewise.
26370         * benchtests/scripts/import_bench.py: New file.
26371         * benchtests/scripts/validate_benchout.py: Import import_bench
26372         instead of jsonschema.
26373         (validate_bench): Remove function.
26374         (main): Use import_bench.
26376 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
26378         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26379         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26381 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26385 2015-05-28  Roland McGrath  <roland@hack.frob.com>
26387         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26388         set THREAD_SELF->tid to a magic value and futex-wake it.
26389         Pass its address to the thread_exit system call.
26390         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26391         bit is clear.
26392         * sysdeps/nacl/lowlevellock.h: New file.
26393         * sysdeps/nacl/lll_timedwait_tid.c: New file.
26395         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26396         Add TIMEOUT to current time, don't subtract it.
26398 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
26400         [BZ #2981]
26401         [BZ #18422]
26402         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26403         ($(objpfx)tst-audit2.out): Also depend on
26404         $(objpfx)tst-auditmod9b.so.
26405         * elf/tst-audit2.c: Include <dlfcn.h>.
26406         (calloc_called): New.
26407         (calloc): Allow to be called more than once.
26408         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26410 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
26412         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26413         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26415 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
26417         * stdlib/monetary.h: Fix comment.
26419 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
26421         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26422         Avoid using variables in #defines that might cause shadowing.
26423         (INTERNAL_VSYSCALL_CALL): Likewise.
26425 2015-05-26  Roland McGrath  <roland@hack.frob.com>
26427         * sysdeps/nacl/lll_timedlock_wait.c: New file.
26429         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26430         * nptl/lll_timedlock_wait.c: ... to this new file.
26431         * nptl/Makefile (libpthread-routines): Add it.
26432         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26433         * nptl/lll_timedwait_tid.c: ... to this new file.
26434         * nptl/Makefile (libpthread-routines): Add it.
26435         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26436         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26437         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26438         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26439         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26440         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26441         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26442         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26443         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26444         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26446 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26448         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26449         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26450         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26451         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26452         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26453         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26454         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26455         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26456         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26457         * sysdeps/unix/sysv/linux/tile/sysdep.h
26458         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26459         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26460         using vDSO syscall macro.
26462 2015-05-26  Andriy Rysin  <arysin@gmail.com>
26464         [BZ #17293]
26465         * uk_UA: Fix sorting order for Ukrainian locale
26467 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
26469         * stdlib/monetary.h: Fix comment.
26471 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26473         [BZ #18234]
26474         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26475         st_mtim and st_ctim members.
26476         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26477         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26478         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26479         (struct stat64): Likewise.
26480         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26481         (struct stat64): Likewise.
26482         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26483         (struct stat64): Likewise.
26485 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26487         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26488         Define and include sysdep-vdso.h.
26489         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26490         Likewise.
26491         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26492         Likewise.
26493         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26494         Define with VDSO_SYMBOL and use PTR_MANGLE.
26495         (__vdso_clock_gettime): Likewise.
26496         (__vdso_clock_getres): Likewise.
26497         (_libc_vdso_platform_setup): Likewise.
26498         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26499         Likewise.
26500         (_libc_vdso_platform_setup): Likewise.
26501         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26502         Likewise.
26503         (__vdso_clock_gettime): Likewise.
26504         (__vdso_clock_getres): Likewise.
26505         (__vdso_get_tbfreq): Likewise.
26506         (__vdso_getcpu): Likewise.
26507         (__vdso_time): Likewise.
26508         (__vdso_sigtramp_rt64): Likewise.
26509         (__vdso_signtramp32): Likewise.
26510         (__vdso_sigtramp_rt32): Likewise.
26511         (_libc_vdso_platform_setup): Likewise.
26512         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26513         Likewise.
26514         (__vdso_clock_gettime): Likewise.
26515         (__vdso_clock_getres): Likewise.
26516         (_libc_vdso_platform_setup): Likewise.
26517         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26518         Likewise.
26519         (__vdso_clock_gettime): Likewise.
26520         (_libc_vdso_platform_setup): Likewise.
26521         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26522         Likewise.
26523         (__vdso_getcpu): Likewise.
26524         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26525         Use VDSO_SYMBOL macro to define.
26526         (__vdso_clock_gettime): Likewise.
26527         (__vdso_clock_getres): Likewise.
26528         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26529         Likewise.
26530         (__vdso_clock_gettime): Likewise.
26531         (__vdso_clock_getres): Likewise.
26532         (__vdso_get_tbfreq): Likewise.
26533         (__vdso_getcpu): Likewise.
26534         (__vdso_time): Likewise.
26535         (__vdso_sigtramp_rt64): Likewise.
26536         (__vdso_signtramp32): Likewise.
26537         (__vdso_sigtramp_rt32): Likewise.
26538         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26539         Likewise.
26540         (__vdso_clock_gettime): Likewise.
26541         (__vdso_clock_getres): Likewise.
26542         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26543         Likewise.
26544         (__vdso_clock_gettime): Likewise.
26545         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26546         Likewise.
26547         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
26548         macro.
26549         (INTERNAL_VSYSCALL): Likewise.
26550         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26551         Remove macro.
26552         (INTERNAL_VSYSCALL): Likewise.
26553         (INTERNAL_VSYSCALL_NCS): Likewise.
26554         (INTERNAL_VSYSCALL_CALL): New macro.
26555         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26556         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26557         Likewise.
26558         (INTERNAL_VSYSCALL): Likewise.
26559         (INTERNAL_VSYSCALL_NCS): Likewise.
26560         (INTERNAL_VSYSCALL_CALL): New macro.
26561         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26563         (INLINE_VSYSCALL): Remove macro.
26564         (INTERNAL_VSYSCALL): Remove macro.
26565         (INTERNAL_VSYSCALL_NCS): Remove macro.
26566         (INTERNAL_VSYSCALL_CALL): New macro.
26567         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26568         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26569         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26570         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26571         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26573         (INLINE_VSYSCALL): Remove macro.
26574         (INTERNAL_VSYSCALL): Likewise.
26575         (INTERNAL_VSYSCALL_NCS): Likewise.
26576         (INTERNAL_VSYSCALL_CALL): New macro.
26577         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26578         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26579         PTR_DEMANGLE on vDSO pointer.
26580         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26581         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26582         macro.
26583         (INTERNAL_SYSCALL): Likewise.
26584         (INTERNAL_VSYSCALL_NCS): Remove macro.
26585         (INTERNAL_VSYSCALL_CALL): New macro.
26586         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26587         Remove macro.
26588         (INTERNAL_VSYSCALL): Likewise.
26589         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26590         sysdep-vdso.h instead of libc-vdso.h.
26591         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26592         definition.
26593         (INLINE_VSYSCALL): Likewise.
26594         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26595         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26596         definition.
26597         (INLINE_VSYSCALL): Likewise.
26598         (INTERNAL_VSYSCALL): Likewise.
26599         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26600         * sysdeps/unix/sysv/linux/timespec_get.c
26601         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26602         (timespec_get): Use ANSI prototype.
26603         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26604         and definition for Linux.
26606 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26608         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26609         * include/libc-symbols.h: libmvec_hidden_* macro series added.
26611 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26613         [BZ #2981]
26614         [BZ #18410]
26615         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26616         for missing DT_PLTRELSZ.
26618 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26620         Remove obsolete aliases that broke 'locale -a'
26621         [BZ #18412]
26622         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26623         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26624         breaking some applications that use 'locale -a' output.
26625         Change the encoding of this file from Latin-1 to ASCII to avoid
26626         other potential problems with people grepping this file.
26628 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26630         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26631         -fasynchronous-unwind-tables.
26632         (CFLAGS-sendto.c): Likewise.
26633         (CFLAGS-sendmsg.c): Likewise.
26634         (CFLAGS-connect.c): Likewise.
26635         (CFLAGS-recvmsg.c): Likewise.
26636         (CFLAGS-recvfrom.c): Likewise.
26637         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26638         (SOCKETCALL): New macro: non-cancellable socketcall.
26639         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26640         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26641         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26642         * sysdeps/unix/sysv/linux/accept.c: New file.
26643         * sysdeps/unix/sysv/linux/bind.c: Likewise.
26644         * sysdeps/unix/sysv/linux/connect.c: Likewise.
26645         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26646         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26647         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26648         * sysdeps/unix/sysv/linux/listen.c: Likewise.
26649         * sysdeps/unix/sysv/linux/recv.c: Likewise.
26650         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26651         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26652         * sysdeps/unix/sysv/linux/send.c: Likewise.
26653         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26654         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26655         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26656         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26657         * sysdeps/unix/sysv/linux/socket.c: Likewise.
26658         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26659         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26660         prototype.
26661         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26662         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26663         instead of __internal_xxx function.
26664         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26665         prototype.
26666         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26667         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26668         instead of __internal_xxx function.
26669         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26670         prototype.
26671         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26672         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26673         instead of __internal_xxx function.
26674         * sysdeps/unix/sysv/linux/accept.S: Remove file.
26675         * sysdeps/unix/sysv/linux/bind.S: Likewise.
26676         * sysdeps/unix/sysv/linux/connect.S: Likewise.
26677         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26678         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26679         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26680         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26681         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26682         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26683         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26684         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26685         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26686         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26687         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26688         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26689         * sysdeps/unix/sysv/linux/listen.S: Likewise.
26690         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26691         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26692         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26693         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26696         * sysdeps/unix/sysv/linux/recv.S: Likewise.
26697         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26698         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26699         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26700         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26701         * sysdeps/unix/sysv/linux/send.S: Likewise.
26702         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26703         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26704         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26705         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26706         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26707         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26708         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26709         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26710         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26711         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26712         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26713         socketcall is implemented in GLIBC.
26715 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26717         * soft-fp/fmadf4.c: Include <libc-internal.h>.
26718         (__fma): Ignore uninitialized warnings around packing.
26719         * soft-fp/fmasf4.c: Include <libc-internal.h>.
26720         (__fmaf): Ignore uninitialized warnings around packing.
26721         * soft-fp/fmatf4.c: Include <libc-internal.h>.
26722         (__fmal): Ignore uninitialized warnings around packing.
26724         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26725         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26726         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26727         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26729         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26730         switch statement into default case.
26731         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26733         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26734         a conditional in forcing "inexact".
26735         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26736         Likewise.
26738 2015-05-22  Roland McGrath  <roland@hack.frob.com>
26740         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26741         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26742         for each INTERNAL_SYSCALL use.
26744 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26746         [BZ #438]
26747         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26748         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26749         variable.
26751         [BZ #18444]
26752         * string/basename.c (basename): Rename to __basename and define as
26753         weak alias of __basename.  Use libc_hidden_weak.
26754         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
26755         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26756         __basename instead of basename.
26757         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26758         Remove variable.
26759         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26761 2015-05-18  Florian Weimer  <fweimer@redhat.com>
26763         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26764         (_IO_JUMPS_FILE_plus): New.
26765         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26766         _IO_CAST_FIELD_ACCESS.
26767         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26768         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26769         * libio/freopen.c (freopen): Likewise.
26770         * libio/freopen64.c (freopen64): Likewise.
26771         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26772         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26773         * libio/iofwide.c (_IO_fwide): Likewise.
26774         * libio/memstream.c (open_memstream): Likewise.
26775         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26776         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26777         * libio/oldiopopen.c (_IO_old_popen): Likewise.
26779 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
26781         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26782         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26783         NADJ.
26784         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26785         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26786         NADJ.
26787         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26788         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26789         NADJ.
26791         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26792         (p == 4) case.
26794         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26795         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26796         Remove variable.
26797         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26798         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26799         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26801 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26803         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26804         Adjust jump table label generation macros.
26806 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26808         * stdio-common/vfprintf.c (vfprintf): Move local variables
26809         args_malloced, specs, specs_malloced, and the code after
26810         do_positional to the printf_positional function.
26811         (printf_positional): New function.
26813 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26815         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26816         function.
26817         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26818         STEP4_TABLE, process_arg): Move macro definitions
26819         out of the vfprintf function.  (Cosmetic change only.)
26821 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
26823         * benchtests/Makefile (stdio-common-bench): Define.
26824         (benchset): Add stdio-common-bench.
26825         * sprintf-inputs: New file.
26826         * sprintf-source.c: New file.
26828 2015-05-21  Andreas Schwab  <schwab@suse.de>
26830         [BZ #13028]
26831         [BZ #17053]
26832         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26833         of struct __res_state.
26834         * resolv/res_send.c (__libc_res_nsend): Likewise.
26835         (get_nsaddr): New function.
26836         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26837         statp directly.
26839 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
26841         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26842         -D_POSIX_C_SOURCE=199506L.
26844         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26846         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26847         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26848         Do not mention otherwise.
26849         [POSIX] (_XOPEN_VERSION): Do not expect.
26850         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26851         [POSIX] (_POSIX2_C_BIND): Likewise.
26852         [POSIX] (_POSIX2_VERSION): Likewise.
26853         [POSIX] (_XOPEN_XPG2): Likewise.
26854         [POSIX] (_XOPEN_XPG3): Likewise.
26855         [POSIX] (_XOPEN_XPG4): Likewise.
26856         [POSIX] (_XOPEN_UNIX): Likewise.
26857         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26858         [POSIX] (_POSIX_BARRIERS): Likewise.
26859         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26860         [POSIX] (_POSIX_CPUTIME): Likewise.
26861         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26862         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26863         [POSIX] (_POSIX_SHELL): Likewise.
26864         [POSIX] (_POSIX_SPAWN): Likewise.
26865         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26866         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26867         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26868         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26869         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26870         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26871         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26872         [POSIX] (_XBS5_LP64_OFF64): Likewise.
26873         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26874         [POSIX] (_POSIX_TIMEOUTS): Likewise.
26875         [POSIX] (_POSIX2_PBS): Likewise.
26876         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26877         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26878         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26879         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26880         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26881         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26882         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26883         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26884         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26885         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26886         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26887         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26888         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26889         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26890         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26891         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26892         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26893         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26894         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26895         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26896         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26897         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26898         [POSIX] (_SC_2_C_BIND): Likewise.
26899         [POSIX] (_SC_2_C_VERSION): Likewise.
26900         [POSIX] (_SC_2_PBS): Likewise.
26901         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26902         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26903         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26904         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26905         [POSIX] (_SC_2_PBS_TRACK): Likewise.
26906         [POSIX] (_SC_ATEXIT_MAX): Likewise.
26907         [POSIX] (_SC_BARRIERS): Likewise.
26908         [POSIX] (_SC_BASE): Likewise.
26909         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26910         [POSIX] (_SC_DEVICE_IO): Likewise.
26911         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26912         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26913         [POSIX] (_SC_FD_MGMT): Likewise.
26914         [POSIX] (_SC_FIFO): Likewise.
26915         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26916         [POSIX] (_SC_FILE_LOCKING): Likewise.
26917         [POSIX] (_SC_FILE_SYSTEM): Likewise.
26918         [POSIX] (_SC_IOV_MAX): Likewise.
26919         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26920         [POSIX] (_SC_NETWORKING): Likewise.
26921         [POSIX] (_SC_PAGE_SIZE): Likewise.
26922         [POSIX] (_SC_PASS_MAX): Likewise.
26923         [POSIX] (_SC_PIPE): Likewise.
26924         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26925         [POSIX] (_SC_REGEXP): Likewise.
26926         [POSIX] (_SC_SHELL): Likewise.
26927         [POSIX] (_SC_SIGNALS): Likewise.
26928         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26929         [POSIX] (_SC_SPIN_LOCKS): Likewise.
26930         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26931         [POSIX] (_SC_USER_GROUPS): Likewise.
26932         [POSIX] (_SC_USER_GROUPS_R): Likewise.
26933         [POSIX] (_SC_STREAMS): Likewise.
26934         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26935         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26936         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26937         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26938         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26939         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26940         [POSIX] (_PC_FILESIZEBITS): Likewise.
26941         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26942         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26943         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26944         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26945         [POSIX] (uid_t): Likewise.
26946         [POSIX] (gid_t): Likewise.
26947         [POSIX] (off_t): Likewise.
26948         [POSIX] (pid_t): Likewise.
26949         [POSIX] (cuserid): Allow.
26950         (_SC_2_CHAR_TERM): Require constant.
26951         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26952         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26953         variable.
26955 2015-05-20  Roland McGrath  <roland@hack.frob.com>
26957         * sysdeps/nacl/pthread-pids.h: New file.
26958         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26959         (create_thread): Use __nacl_get_tid to initialize PD->tid.
26961         * nptl/pthread-pids.h: New file.
26962         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26963         * nptl/nptl-init.c: Include <pthread-pids.h>.
26964         (__pthread_initialize_minimal_internal):
26965         Call __pthread_initialize_pids instead of set_tid_address syscall.
26967         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26968         * sysdeps/posix/usleep.c: ... here.
26970 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26972         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26973         call_pselect6 object.
26974         [$(subdir) = io]: Remove call_sync_file_range object.
26975         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26976         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26977         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26978         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26980 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
26982         * math/s_cproj.c: Add include "math_private.h".
26983         * math/s_cprojf.c: Likewise.
26984         * math/s_cprojl.c: Likewise.
26986 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
26988         [BZ #18244]
26989         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26990         high mantissa bit when testing whether P is a NaN.
26991         * math/libm-test.inc (remainder_test_data): Add more tests.
26992         (remquo_test_data): Likewise.
26994         [BZ #18049]
26995         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26996         below -32, return the argument, with underflow if subnormal.
26997         * math/auto-libm-test-in: Add more tests of atanh.
26998         * math/auto-libm-test-out: Regenerated.
27000 2015-05-19  Roland McGrath  <roland@hack.frob.com>
27002         [BZ #18434]
27003         * nptl/tst-sem15.c: New file.
27004         * nptl/Makefile (tests): Add it.
27005         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
27006         s/<</>>/ to fix typo in EOVERFLOW check.
27007         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
27009 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27011         * manual/strings.texi (envz_remove): Fix typo in safety
27012         annotations.
27014 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
27015             Steve Ellcey  <sellcey@imgtec.com>
27017         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27018         in order to avoid strict alias warnings.
27019         (iruserok_af): Ditto for ra.
27021 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
27023         [BZ #17581]
27024         * malloc/hooks.c
27025         (magicbyte): Convert to a function and avoid returning 0x01.
27026         (mem2mem_check): Avoid using a length byte equal to the magic byte.
27027         (mem2chunk_check): Fix unsigned comparisons to zero.
27028         Hoist defs of sz and magic.
27030 2015-05-19  Richard Henderson  <rth@redhat.com>
27032         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
27034         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27036 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27038         [BZ #16159]
27039         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
27040         * malloc/arena.c (arena_lock): Check if arena is corrupt.
27041         (reused_arena): Find a non-corrupt arena.
27042         (heap_trim): Pass arena to unlink.
27043         * malloc/hooks.c (malloc_check_get_size): Pass arena to
27044         malloc_printerr.
27045         (top_check): Likewise.
27046         (free_check): Likewise.
27047         (realloc_check): Likewise.
27048         * malloc/malloc.c (malloc_printerr): Add arena argument.
27049         (unlink): Likewise.
27050         (munmap_chunk): Adjust.
27051         (ARENA_CORRUPTION_BIT): New macro.
27052         (arena_is_corrupt): Likewise.
27053         (set_arena_corrupt): Likewise.
27054         (sysmalloc): Use mmap if there are no usable arenas.
27055         (_int_malloc): Likewise.
27056         (__libc_malloc): Don't fail if arena_get returns NULL.
27057         (_mid_memalign): Likewise.
27058         (__libc_calloc): Likewise.
27059         (__libc_realloc): Adjust for additional argument to
27060         malloc_printerr.
27061         (_int_free): Likewise.
27062         (malloc_consolidate): Likewise.
27063         (_int_realloc): Likewise.
27064         (_int_memalign): Don't touch corrupt arenas.
27065         * malloc/tst-malloc-backtrace.c: New test case.
27067         * Makefile (summarize-tests): Fix return value on success.
27069         * manual/string.texi (Envz Functions): Add envz_remove.
27071 2015-05-18  Roland McGrath  <roland@hack.frob.com>
27073         * sysdeps/posix/opendir.c: Include <stdbool.h>.
27074         (invalid_name): New function, broken out of ...
27075         (__opendirat): ... here.  Call it.
27076         (need_isdir_precheck): New function, broken out of ...
27077         (__opendirat): ... here.  Call it.
27078         Use __fxstatat64, not __xstatat64.
27079         (opendir_oflags): New function, broken out of ...
27080         (__opendirat): ... here.  Call it.
27081         (opendir_tail): New function, broken out of ...
27082         (__opendirat): ... here.  Call it.
27083         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
27084         opendir_tail, rather than punting to __opendirat.
27085         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
27087 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27089         * .gitignore: Ignore generated *.pyc.
27091 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
27093         * include/stdio.h: Define __need_wint_t.
27094         * test-skeleton.c: Avoid `for' loop initial declaration.
27095         * nptl/tst-initializers1.c: Use test-skeleton.c.
27097 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27099         [BZ #18418]
27100         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
27102 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27104         [BZ #16352]
27105         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
27106         (__ieee754_atanh): Force underflow exception for results with
27107         small absolute value.
27108         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
27109         (__ieee754_atanhf): Force underflow exception for results with
27110         small absolute value.
27111         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
27112         (__ieee754_atanh): Force underflow exception for results with
27113         small absolute value.
27114         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
27115         (__ieee754_atanhf): Force underflow exception for results with
27116         small absolute value.
27117         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
27118         (__ieee754_atanhl): Force underflow exception for results with
27119         small absolute value.
27120         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
27121         (__ieee754_atanhl): Force underflow exception for results with
27122         small absolute value.
27123         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
27124         (__ieee754_atanhl): Force underflow exception for results with
27125         small absolute value.
27126         * math/auto-libm-test-in: Do not allow missing underflow
27127         exceptions from atanh.
27128         * math/auto-libm-test-out: Regenerated.
27130         [BZ #18221]
27131         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
27132         2**-28 as threshold for returning x or +/- 1/x.
27133         * math/auto-libm-test-in: Add more tests of tan.
27134         * math/auto-libm-test-out: Regenerated.
27136         [BZ #18220]
27137         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27138         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
27139         * math/auto-libm-test-in: Add another test of lgamma.
27140         * math/auto-libm-test-out: Regenerated.
27142 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
27144         * stdio-common/printf_fp.c (___printf_fp): Use abs.
27145         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
27146         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27147         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27148         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
27149         (ADD2A): Use fabs.  (SUB2A): Use fabs.
27150         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27151         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27152         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27153         (log1): Use fabs.  (my_log2): Use fabs.
27154         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27155         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27156         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27157         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27158         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27159         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
27160         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
27161         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
27162         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
27163         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27164         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27166 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27168         [BZ #18217]
27169         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27170         as threshold for returning 1 - x.
27171         * math/auto-libm-test-in: Add more tests of erfc.
27172         * math/auto-libm-test-out: Regenerated.
27174 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
27176         [BZ #18196]
27177         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27178         threshold for large arguments.
27179         * math/auto-libm-test-in: Add another test of atan.
27180         * math/auto-libm-test-out: Regenerated.
27182         [BZ #16339]
27183         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27184         (__log1p): Force underflow exception for results with small
27185         absolute value.
27186         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27187         (__log1pf): Force underflow exception for results with small
27188         absolute value.
27189         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27190         (__log1p): Force underflow exception for results with small
27191         absolute value.
27192         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27193         (__log1pf): Force underflow exception for results with small
27194         absolute value.
27195         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27196         (__log1pl): Force underflow exception for results with small
27197         absolute value.
27198         * math/auto-libm-test-in: Do not allow missing underflow
27199         exceptions from log1p.
27200         * math/auto-libm-test-out: Regenerated.
27202 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
27203             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27205         [BZ #16704]
27206         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27208 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
27210         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27211         (libmvec): New variable.
27212         * configure.ac: Added option for mathvec build.
27213         * configure: Regenerated.
27214         * mathvec/Depend: New file.
27215         * mathvec/Makefile: New file.
27216         * shlib-versions: Added libmvec.
27217         * math/Makefile: Added rule for libm.so installation.
27219         * bits/math-vector.h: New file.
27220         * bits/libm-simd-decl-stubs.h: New header.
27221         * math/Makefile (headers): Added new header
27222         libm-simd-decl-stubs.h.
27223         * math/math.h (__MATHCALL_VEC): New macro.
27225         * math/gen-libm-have-vector-test.sh: Script generates series of macros
27226         for conditions in testing functions.
27227         * math/Makefile: Added call of libm-have-vector-test.sh.
27228         * math/libm-test.inc (HAVE_VECTOR): New macros.
27230         * math/libm-test.inc: START refactored.
27231         * math/test-double.c (TEST_MATHVEC): Add define.
27232         * math/test-float.c: Likewise.
27233         * math/test-idouble.c: Likewise.
27234         * math/test-ifloat.c: Likewise.
27235         * math/test-ildoubl.c: Likewise.
27236         * math/test-ldouble.c: Likewise.
27237         * sysdeps/generic/math-tests-arch.h
27238         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27239         architecture check.
27241         * math/test-double.c (FUNC_TEST): New macro.
27242         * math/test-float.c: Likewise.
27243         * math/test-idouble.c: Likewise.
27244         * math/test-ifloat.c: Likewise.
27245         * math/test-ildoubl.c: Likewise.
27246         * math/test-ldouble.c: Likewise.
27247         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27249 2015-05-13  Roland McGrath  <roland@hack.frob.com>
27251         * sysdeps/nacl/fdopendir.c: New file.
27253         * dirent/scandir-tail.c: New file.
27254         * dirent/scandir64-tail.c: New file.
27255         * dirent/Makefile (routines): Add them.
27256         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27257         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27258         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27259         [!SCANDIR] (SCANDIR_TAIL): New macro.
27260         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27261         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27262         (SCANDIRAT): Macro removed.
27263         (SCANDIR_TAIL): New macro.
27264         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27265         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27266         (SCANDIRAT): Just call __opendirat and __scandir_tail.
27267         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27268         (READDIR): Macro removed.
27269         (SCANDIR_TAIL): New macro.
27270         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27271         (SCANDIR_TAIL): New macro.
27273         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27274         * dirent/scandir-cancel.c: ... to this new file.
27275         * dirent/Makefile (routines): Add it.
27276         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27277         * sysdeps/unix/sysv/linux/i386/scandir64.c
27278         (SKIP_SCANDIR_CANCEL): Macro removed.
27279         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27281         * dirent/tst-scandir.c: New file.
27282         * dirent/tst-scandir64.c: New file.
27283         * dirent/Makefile (tests): Add them.
27285 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
27287         [BZ #18409]
27288         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27290 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27292         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27293         list.
27295 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
27297         * benchtests/bench-strcoll.c: New benchmark.
27298         * benchtests/Makefile: Generate locales and run benchmark.
27299         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27300         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27301         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27302         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27303         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27304         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27305         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27306         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27307         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27308         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27309         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27310         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27311         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27312         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27313         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27314         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27315         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27316         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27317         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27318         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27319         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27320         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27321         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27322         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27324 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
27326         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27327         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27329 2015-05-12  Roland McGrath  <roland@hack.frob.com>
27331         * posix/uname-values.h: New file.
27332         * posix/uname.c: Include that instead of <config-name.h>.
27333         * sysdeps/nacl/uname-values.h: New file.
27334         * sysdeps/arm/nacl/uname-values.h: New file.
27336 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
27338         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27339         splitting into fields.
27341 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
27343         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27344         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27345         * locale/localeinfo.h: Add enum collation_encoding_type.
27346         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27347         * programs/ld-collate.c (collate_output): Add encoding type info.
27348         * string/strcoll_l.c (STRDIFF): New function.
27349         * (STRCOLL): Use STRDIFF to skip over equal prefix.
27350         * wcsmbs/wcscoll_l.c: Define STRDIFF.
27352 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
27354         [BZ #18397]
27355         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27356         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
27357         <fpu_control.h> instead of <math/fpu_control.c>.
27358         * sysdeps/mips/mips32/fpu/Makefile: New file.
27360 2015-05-11  Andreas Schwab  <schwab@suse.de>
27362         [BZ #18007]
27363         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27364         nss_endgrent.
27365         (_nss_compat_endgrent): Call nss_endgrent.
27366         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27367         nss_endpwent.
27368         (_nss_compat_endpwent): Call nss_endpwent.
27369         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27370         needent, call nss_setspent only if non-zero.
27371         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27372         (internal_endspent): Don't call nss_endspent.
27373         (_nss_compat_endspent): Call nss_endspent.
27374         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27375         Remove.  All uses removed.
27376         (internal_setent): Remove parameter stayopen, add parameter
27377         stream.  Use it instead of global variable.
27378         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27379         (internal_endent, internal_getent): Add parameter stream.  Use it
27380         instead of global variable.
27381         (CONCAT(_nss_files_end,ENTNAME))
27382         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27383         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
27384         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
27385         uses removed.
27386         (internal_setent, internal_endent): Add parameter stream.  Use it
27387         instead of global variable.
27388         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27389         stream.
27390         (get_next_alias): Add parameter stream.
27391         (_nss_files_getaliasent_r): Pass global stream.
27392         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
27393         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27394         (_nss_files_gethostbyname4_r): Pass local stream to
27395         internal_setent, internal_getent and internal_endent.  Remove
27396         locking.
27398 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27400         * tst-strfmon1.c (tests): Update expected currency symbol.
27402 2015-05-08  Roland McGrath  <roland@hack.frob.com>
27404         * sysdeps/nacl/gethostname.c: New file.
27406 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
27408         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27409         and sinh.
27410         * math/auto-libm-test-out: Regenerated.
27411         * sysdeps/i386/fpu/libm-test-ulps: Update.
27412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27414 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
27416         [BZ #18125]
27417         * stdlib/tst-setcontext3.c: New file.
27418         * stdlib/tst-setcontext3.sh: New file.
27419         * stdlib/Makefile (tests): Add tst-setcontext3.
27420         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27421         to verify test program created output file.
27422         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27423         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27424         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27425         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27427 2015-05-06  Roland McGrath  <roland@hack.frob.com>
27429         [BZ #18383]
27430         * elf/tst-tlsalign.c: New file.
27431         * elf/tst-tlsalign-static.c: New file.
27432         * elf/tst-tlsalign-lib.c: New file.
27433         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27434         (tests-static): Add tst-tlsalign-static.
27435         (modules-names): Add tst-tlsalign-lib.
27436         (test-xfail-tst-tlsalign): New variable.
27437         (test-xfail-tst-tlsalign-static): New variable.
27439         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27440         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27442 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
27444         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27445         csqrt, erfc, sin and sincos.
27446         * math/auto-libm-test-out: Regenerated.
27447         * sysdeps/i386/fpu/libm-test-ulps: Update.
27448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27450 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27452         * sysdeps/aarch64/libm-test-ulps: Update.
27454 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
27456         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27457         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27458         * math/auto-libm-test-out: Regenerated.
27459         * sysdeps/i386/fpu/libm-test-ulps: Update.
27460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27462 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27464         [BZ #18265]
27465         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27466         (wcsncpy): Likewise.
27468 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27470         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27471         Assume __ASSUME_FALLOCATE is always true.
27472         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27473         (__posix_fallocate64_l64): Likewise.
27474         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27475         (posix_fallocate): Likewise.
27476         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27477         (__posix_fallocate64_l64): Likewise.
27478         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27479         [!__ASSUME_FALLOCATE]: Add comment.
27481 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27483         * sysdeps/unix/sysv/linux/i386/Makefile
27484         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27485         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27486         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27487         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27488         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27489         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27490         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27492 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
27494         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27495         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27496         tgamma.
27497         * math/auto-libm-test-out: Regenerated.
27498         * sysdeps/i386/fpu/libm-test-ulps: Update.
27499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27501 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27503         * math/auto-libm-test-in: Add more tests of tgamma.
27504         * math/auto-libm-test-out: Regenerated.
27505         * sysdeps/i386/fpu/libm-test-ulps: Update.
27506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27508         * math/auto-libm-test-in: Add more tests of tanh.
27509         * math/auto-libm-test-out: Regenerated.
27510         * sysdeps/i386/fpu/libm-test-ulps: Update.
27511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27513         * math/auto-libm-test-in: Add more tests of tan.
27514         * math/auto-libm-test-out: Regenerated.
27515         * sysdeps/i386/fpu/libm-test-ulps: Update.
27516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27518         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27519         * math/auto-libm-test-out: Regenerated.
27520         * sysdeps/i386/fpu/libm-test-ulps: Update.
27521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27523         * math/auto-libm-test-in: Add another test of pow.
27524         * math/auto-libm-test-out: Regenerated.
27525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27527         * math/auto-libm-test-in: Add more tests of lgamma.
27528         * math/auto-libm-test-out: Regenerated.
27529         * sysdeps/i386/fpu/libm-test-ulps: Update.
27530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27532         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27533         log1p.
27534         * math/auto-libm-test-out: Regenerated.
27535         * sysdeps/i386/fpu/libm-test-ulps: Update.
27536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27538 2015-05-01  Mark Wielaard  <mjw@redhat.com>
27540         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27541         Elf64_Chdr structs and ELFCOMPRESS constants.
27543 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27545         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27546         expm1.
27547         * math/auto-libm-test-out: Regenerated.
27548         * sysdeps/i386/fpu/libm-test-ulps: Update.
27549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27551         * math/auto-libm-test-in: Add more tests of erf and erfc.
27552         * math/auto-libm-test-out: Regenerated.
27553         * sysdeps/i386/fpu/libm-test-ulps: Update.
27554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27556 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27558         * config.h.in (HAVE_AARCH64_BE): Add.
27560 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
27562         * math/auto-libm-test-in: Add more tests of csqrt.
27563         * math/auto-libm-test-out: Regenerated.
27564         * sysdeps/i386/fpu/libm-test-ulps: Update.
27565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27567         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27568         * math/auto-libm-test-out: Regenerated.
27569         * sysdeps/i386/fpu/libm-test-ulps: Update.
27570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27572         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27574 2015-04-29  Roland McGrath  <roland@hack.frob.com>
27576         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27577         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27579         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27580         (euidaccess, eaccess): Define as weak aliases.
27582         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27583         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
27584         but __suseconds_t is often 'long int' so some sources assume that
27585         type is being used (e.g. they use %ld to print tv_usec).
27587 2015-04-29  Florian Weimer  <fweimer@redhat.com>
27589         [BZ #18007]
27590         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27591         (CVE-2014-8121)
27592         * nss/tst-nss-getpwent.c: New file.
27593         * nss/Makefile (tests): Add new test.
27595 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
27597         [BZ #18346]
27598         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27599         exponents less than 48 as cases where high part of mantissa needs
27600         examining to determine whether argument is integral.
27601         * math/libm-test.inc (round_test_data): Add more tests.
27603 2015-04-28  Mark Wielaard  <mjw@redhat.com>
27605         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27607 2015-04-27  David S. Miller  <davem@davemloft.net>
27609         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27610         __tls_get_addr.
27611         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27613 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
27615         [BZ#18333]
27616         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27618 2015-04-27  Florian Weimer  <fweimer@redhat.com>
27620         [BZ#18333]
27621         * time/tzset.c (parse_tzname): Return error on memory allocation
27622         failure.
27623         * test-skeleton.c (struct temp_name_list): Change type of name
27624         member to non-const.
27625         (add_temp_file): Create a copy of the file name.
27626         (delete_temp_files): Deallocate memory.
27627         (create_temp_file): Add comment.
27629 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27631         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27632         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27634 2015-04-24  Roland McGrath  <roland@hack.frob.com>
27636         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27637         * sysdeps/arm/configure: Regenerated.
27639 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27641         [BZ #17715]
27642         * time/tzfile.c (__tzfile_read): Check for large values of
27643         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
27644         * time/tzset.c (__tzstring_len): New function, based on the old
27645         __tzstring function.
27646         (__tzstring): Call __tzstring_len.
27647         (parse_tzname): New helper function extracted from
27648         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
27649         the input string.
27650         (parse_offset): New helper function extracted from
27651         __tzset_parse_tz.  Replace switch with fallthrough with
27652         initialization before sscanf.
27653         (parse_rule): Likewise.
27654         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
27655         new-style function definition.
27656         * timezone/Makefile (tests): Add tst-tzset.
27657         (tst-tzset.out): Dependencies on time zone files.
27658         (tst-tzset-ENV): Set TZDIR.
27659         (testdata/XT%): Copy crafted time zone files.
27660         * timezone/README: Mention crafted time zone files.
27661         * timezone/testdata/XT1, timezone/testdata/XT2,
27662         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27663         files.
27664         * timezone/tst-tzset.c: New test.
27666 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27668         * Makeconfig (+gccwarn): Remove -Winline.
27670 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27672         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27674 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27676         * NEWS: Mention sysconf() cache information support for s390.
27677         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27679 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
27681         * math/k_casinh.c (__kernel_casinh): Use __copysign.
27682         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27683         (__nearbyint): Likewise.
27684         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27685         (copysignl): Likewise.
27687 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
27689         [BZ #18287]
27690         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27691         based on padding.  (CVE-2015-1781)
27693 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27695         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27696         libc-vdso.h.
27697         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27698         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27699         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27700         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27701         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27702         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27703         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27704         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27705         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27706         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27707         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27708         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27709         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27710         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27711         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27712         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27713         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27714         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27715         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27716         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27717         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27718         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27719         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27721 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
27723         * stdlib/setenv.c (__add_to_environ):
27724         Dump core quickly if setenv (..., NULL, ...) is called.
27725         This time, do it the right way, and pacify GCC with a pragma.
27727 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27729         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27730         IMAP->l_prev cannot be null, and #if out the code for the contrary
27731         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27732         believe that NS (&_dl_ns[NSID]) could point outside the array.
27734         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27735         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27736         before using NSID as an index.
27738 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
27740         [BZ #17825]
27741         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27742         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27743         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27745 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27747         Add preliminary port to Google Native Client on ARM.
27748         * abi-tags (.*-.*-nacl.*): New entry.
27749         * sysdeps/arm/nacl: New directory.
27750         * sysdeps/nacl: New directory.
27752 2015-04-16  David S. Miller  <davem@davemloft.net>
27754         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27755         lowlevellock-futex.h
27757 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
27759         * sysdeps/tile/configure.ac: New file.
27760         * sysdeps/tile/configure: Regenerated.
27762 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27764         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
27765         conditionals for weak_alias and libc_hidden_weak.
27766         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27767         libc_hidden_weak and weak_alias.
27768         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27769         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27770         and weak_alias for static one.
27772 2015-04-15  David S. Miller  <davem@davemloft.net>
27774         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27776 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27778         [BZ #18206]
27779         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27780           Use signed comparision instead of substraction to avoid
27781           overflow bug.
27782         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27783           Take the sign of ret.
27784         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27785           Do not expect precise return values. Only the sign matters.
27786         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27787         * wcsmbs/test-wcsncmp.c: New File.
27788         * string/test-strncmp.c: Add wcsncmp support.
27790 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27792         [BZ #6792]
27793         * math/w_log1p.c: New file.
27794         * math/w_log1pf.c: Likewise.
27795         * math/w_log1pl.c: Likewise.
27796         * math/Makefile (libm-calls): Add w_log1p.
27797         * math/s_log1pl.c (log1pl): Remove weak_alias.
27798         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27799         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27800         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27801         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27802         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27803         [NO_LONG_DOUBLE] (log1pl): Likewise.
27804         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27805         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27806         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27807         (log1p): Remove long_double_symbol.
27808         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27809         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27810         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27811         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27812         remove weak_alias for corresponding log1p function.
27813         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27814         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27815         * sysdeps/ia64/fpu/w_log1p.c: New file.
27816         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27817         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27818         * math/libm-test.inc (log1p_test_data): Add errno expectations.
27820 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
27822         [BZ #18247]
27823         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27824         decimal exponent by 1.
27825         * stdlib/tst-strtod-round-data: Add more tests.
27826         * stdlib/tst-strtod-round.c (tests): Regenerated.
27828 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
27830         * math/auto-libm-test-in: Add more tests of clog and clog10.
27831         * math/auto-libm-test-out: Regenerated.
27832         * sysdeps/i386/fpu/libm-test-ulps: Update.
27833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27835 2015-04-09  Roland McGrath  <roland@hack.frob.com>
27837         * Makeconfig (module-cppflags): Exclude all .v.i files.
27838         (skip-module-cppflags): Variable removed.
27840         * configure.ac (libc_config_ok): Initialize before reading
27841         preconfigure scripts, not after.
27842         * configure: Regenerated.
27844         * test-skeleton.c (TIMEOUT): Move #define to top level.
27845         (main): Grok environment variable TEST_DIRECT.  If set, print
27846         test expectation details into that file and then behave as if
27847         given --direct.
27849 2015-04-09  Florian Weimer  <fweimer@redhat.com>
27851         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27852         warning on 32-bit.
27854 2015-04-08  David S. Miller  <davem@davemloft.net>
27856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27858 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27860         * math/auto-libm-test-in: Add more tests of atanh.
27861         * math/auto-libm-test-out: Regenerated.
27862         * sysdeps/i386/fpu/libm-test-ulps: Update.
27863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27865         * math/auto-libm-test-in: Add more tests of atan.
27866         * math/auto-libm-test-out: Regenerated.
27867         * sysdeps/i386/fpu/libm-test-ulps: Update.
27868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27870 2015-04-08  Florian Weimer  <fweimer@redhat.com>
27872         * elf/pldd.c (main): Rewrite to use struct
27873         scratch_buffer instead of extend_alloca.
27874         * elf/pldd-xx.c (find_maps): Likewise.
27875         * grp/initgroups.c: Include <scratch_buffer.h> instead of
27876         <alloca.h>.
27877         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27878         scratch_buffer instead of extend_alloca.
27879         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27880         grp/compat-initgroups.c.
27881         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27882         Rewrite to use struct scratch_buffer instead of extend_alloca.
27883         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27884         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27886 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27888         * math/auto-libm-test-in: Add more tests of cbrt.
27889         * math/auto-libm-test-out: Regenerated.
27890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27892         * math/auto-libm-test-in: Add more tests of cabs.
27893         * math/auto-libm-test-out: Regenerated.
27894         * sysdeps/i386/fpu/libm-test-ulps: Update.
27895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27897         [BZ #18210]
27898         [BZ #18211]
27899         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27900         (__ieee754_atan2): Set FE_TONEAREST mode for internal
27901         computations.
27902         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27903         clog10.
27904         * math/auto-libm-test-out: Regenerated.
27905         * sysdeps/i386/fpu/libm-test-ulps: Update.
27906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27908         [BZ #18197]
27909         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27910         (atan): Set FE_TONEAREST mode for internal computations.
27911         * math/auto-libm-test-in: Add more tests of atan.
27912         * math/auto-libm-test-out: Regenerated.
27914 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
27916         [BZ #17930]
27917         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27919 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27921         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27923 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27925         * include/scratch_buffer.h: New file.
27926         * malloc/scratch_buffer_grow.c: Likewise.
27927         * malloc/scratch_buffer_grow_preserve.c: Likewise.
27928         * malloc/scratch_buffer_set_array_size.c: Likewise.
27929         * malloc/tst-scratch_buffer.c: Likewise.
27930         * malloc/Makefile (routines): Add scratch_buffer_grow.
27931         (tests): Add test case.
27932         * malloc/Versions (GLIBC_PRIVATE): Export
27933         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27934         __libc_scratch_buffer_set_array_size.
27936 2015-04-06  Richard Henderson  <rth@redhat.com>
27938         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27939         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27941         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27942         unsigned int before printing.
27944 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27946         [BZ #17596]
27947         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27948         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27950 2015-04-02  Florian Weimer  <fweimer@redhat.com>
27952         * include/libc-internal.h (libc_max_align_t): Define.
27954 2015-04-02  Andreas Schwab  <schwab@suse.de>
27956         [BZ #16850]
27957         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27959 2015-04-02  Mel Gorman  <mgorman@suse.de>
27961         [BZ #17195]
27962         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27963         as well as the main arena.
27965 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27967         [BZ #18185]
27968         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27969         sharing L2 cache to 2 for Silvermont/Knights Landing.
27971 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27973         [BZ #17711]
27974         * config.make.in (have-protected-data): New.
27975         * configure.ac: Check linker support for protected data symbol.
27976         * configure: Regenerated.
27977         * elf/Makefile (modules-names): Add tst-protected1moda and
27978         tst-protected1modb if $(have-protected-data) is yes.
27979         (tests): Add tst-protected1a and tst-protected1b if
27980         $(have-protected-data) is yes.
27981         ($(objpfx)tst-protected1a): New.
27982         ($(objpfx)tst-protected1b): Likewise.
27983         (tst-protected1modb.so-no-z-defs): Likewise.
27984         * elf/tst-protected1a.c: New file.
27985         * elf/tst-protected1b.c: Likewise.
27986         * elf/tst-protected1mod.h: Likewise.
27987         * elf/tst-protected1moda.c: Likewise.
27988         * elf/tst-protected1modb.c: Likewise.
27990 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27992         [BZ #17711]
27993         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27994         indicates it is called from do_lookup_x on relocation against
27995         protected data, skip the data definion in the executable from
27996         copy reloc.
27997         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27998         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27999         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
28000         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
28001         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
28002         otherwise to 0.
28003         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28004         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
28005         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
28006         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28007         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
28008         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
28010 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
28012         * sysdeps/nptl/pthread.h: Remove duplicate definition of
28013         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
28015 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
28017         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
28018         THREAD_SETMEM_NC.
28019         * sysdeps/x86_64/nptl/tls.h: Ditto.
28021 2015-03-27  Roland McGrath  <roland@hack.frob.com>
28023         * dlfcn/tststatic.c (main): Converted to ...
28024         (do_test): ... this.
28025         (TEST_FUNCTION): New macro.
28026         Include test-skeleton.c.
28028 2015-03-26  Alan Modra  <amodra@gmail.com>
28030         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
28031         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
28032         zero for undefined weak.
28033         (elf_machine_plt_conflict): Similarly.
28035 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
28037         * math/auto-libm-test-in: Add more tests of acosh, asinh and
28038         atanh.
28039         * math/auto-libm-test-out: Regenerated.
28040         * sysdeps/i386/fpu/libm-test-ulps: Update.
28041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28043         * math/auto-libm-test-in: Add another test of asin.
28044         * math/auto-libm-test-out: Regenerated.
28045         * sysdeps/i386/fpu/libm-test-ulps: Update.
28046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28048         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
28049         Remove macro.
28050         (LLL_EBX_REG): Likewise.
28051         (LLL_ENTER_KERNEL): Likewise.
28053         * math/auto-libm-test-in: Add more tests of asin.
28054         * math/auto-libm-test-out: Regenerated.
28055         * sysdeps/i386/fpu/libm-test-ulps: Update.
28056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28058         [BZ #18138]
28059         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
28060         libc_do_syscall_args): New structure.
28061         (INTERNAL_SYSCALL_MAIN_0): New macro.
28062         (INTERNAL_SYSCALL_MAIN_1): Likewise.
28063         (INTERNAL_SYSCALL_MAIN_2): Likewise.
28064         (INTERNAL_SYSCALL_MAIN_3): Likewise.
28065         (INTERNAL_SYSCALL_MAIN_4): Likewise.
28066         (INTERNAL_SYSCALL_MAIN_5): Likewise.
28067         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
28068         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
28069         Replace conditional definitions by conditional definitions of ....
28070         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
28071         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
28072         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28073         (libpthread-sysdep_routines): Add libc-do-syscall.
28074         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
28075         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
28076         to __NR_futex not 240.
28078 2015-03-25  Alan Modra  <amodra@gmail.com>
28080         * NEWS: Advertise TLS optimization.
28081         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
28082         (DT_PPC_NUM): Increment.
28083         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
28084         (CHECK_STATIC_TLS): Use here.
28085         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
28086         TLS descriptors.
28087         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28088         * sysdeps/powerpc/dl-tls.c: New file.
28089         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
28090         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
28091         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
28092         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
28093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
28094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
28095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
28097 2015-03-25  Alan Modra  <amodra@gmail.com>
28099         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
28100         for overlapping .opd entries" to "support...".
28101         * sysdeps/powerpc/powerpc64/configure: Regenerate
28103 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
28105         * math/auto-libm-test-in: Add more tests of acos.
28106         * math/auto-libm-test-out: Regenerated.
28107         * sysdeps/i386/fpu/libm-test-ulps: Update.
28108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28110         * math/auto-libm-test-in: Add more tests of expm1.
28111         * math/auto-libm-test-out: Regenerated.
28112         * sysdeps/i386/fpu/libm-test-ulps: Update.
28113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28115 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
28117         * math/auto-libm-test-in: Add more tests of cosh and sinh.
28118         * math/auto-libm-test-out: Regenerated.
28119         * sysdeps/i386/fpu/libm-test-ulps: Update.
28120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28122         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28125         * math/auto-libm-test-in: Add more tests of log2.
28126         * math/auto-libm-test-out: Regenerated.
28127         * sysdeps/i386/fpu/libm-test-ulps: Update.
28128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28130 2015-03-23  Roland McGrath  <roland@hack.frob.com>
28132         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
28133         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
28134         _IO_IS_APPENDING bit in READ_WRITE instead.
28136 2015-03-23  Florian Weimer  <fweimer@redhat.com>
28138         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
28139         (__determine_cpumask_size): Replace extend_alloca with a
28140         variable-length array.  Do not treat res == 0 as an error.
28142 2015-03-23  Florian Weimer  <fweimer@redhat.com>
28144         [BZ #18100]
28145         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28146         and integer overflow.
28147         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28148         (main): Add integer overflow tests.
28149         * manual/pattern.texi (Calling Wordexp): Document additional use
28150         for WRDE_SYNTAX.
28152 2015-03-23  Alan Modra  <amodra@gmail.com>
28154         * config.h.in: Remove HAVE_ASM_PPC_REL16.
28155         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28156         and false branch of conditional.
28157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28158         Likewise.
28160 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
28162         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28163         libc-modules.h
28164         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28165         unused declaration of _hurd_intr_rpc_msg_in_trap.
28166         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28167         defined instead of whether it is non-zero.
28168         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28169         input constraint instead of both input and output constraint.  Use ecx
28170         clobber instead of %ecx.
28171         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28172         mutex_unlock): Use a statement expression instead of an expression list.
28173         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28174         type to vm_size_t instead of vm_address_t.
28175         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28176         defined instead of whether it is non-zero.
28177         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28178         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28179         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28180         comparisons with mapaddr.
28181         * nscd/nscd-client.h: Include <time.h>.
28182         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28183         9th parameter to __vm_region instead of int.
28184         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28185         * scripts/check-local-headers.sh (exclude): Add device/,
28186         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28187         cthreads.h.
28189 2015-03-19  Roland McGrath  <roland@hack.frob.com>
28191         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28192         to account for alignment padding.
28193         * sysdeps/arm/memmove.S: Likewise.
28195 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
28197         * sysdeps/unix/sysv/linux/generic/README: New file.
28199 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
28201         [BZ #18138]
28202         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28203         (futex_abstimed_wait)
28204         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28205         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28206         of lll_futex_timed_wait.
28208 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
28210         [BZ #17542]
28211         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28213 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
28215         [BZ #17090]
28216         [BZ #17620]
28217         [BZ #17621]
28218         [BZ #17628]
28219         * NEWS: Update.
28220         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28221         entries with Static TLS too.  Skip entries past the end of the
28222         allocated DTV, from Alan Modra.
28223         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
28224         Static TLS DTV entry set up from...
28225         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28226         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28227         * nptl/allocatestack.c (init_one_static_tls): ... and here...
28228         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28229         for Static TLS.
28230         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
28231         that the slot we find is associated with the given map before
28232         using its generation count.
28233         * nptl_db/db_info.c: Include ldsodefs.h.
28234         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28235         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28236         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28237         (link_map::l_tls_offset): New struct field.
28238         (dtv_t::counter): Likewise.
28239         (rtld_global): New struct.
28240         (_rtld_global): New rtld variable.
28241         (dl_tls_dtv_slotinfo_list): New rtld global field.
28242         (dtv_slotinfo_list): New struct.
28243         (dtv_slotinfo): Likewise.
28244         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28245         (td_lookup): Rename to...
28246         (td_mod_lookup): ... this.  Use new mod parameter instead of
28247         LIBPTHREAD_SO.
28248         * nptl_db/td_thr_tlsbase.c: Include link.h.
28249         (dtv_slotinfo_list, dtv_slotinfo): New functions.
28250         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
28251         addresses even if the DTV is out of date or missing them.
28252         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28253         index zero-length arrays.
28254         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28255         (td_lookup): Make it a macro implemented in terms of...
28256         (td_mod_lookup): ... this declaration.
28257         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28258         (DB_MAIN_VARIABLE): Likewise.
28260 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28262         [BZ #18134]
28263         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28265 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
28267         * stdlib/setenv.c (__add_to_environ): Revert previous change.
28269 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
28271         [BZ #18128]
28272         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28273         (atomic_add, atomic_increment_and_test)
28274         (atomic_decrement_and_test): Fix 64-bit arithmetic.
28276 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
28278         * stdlib/setenv.c (__add_to_environ):
28279         Dump core quickly if setenv (..., NULL, ...) is called.
28281 2015-03-13  Roland McGrath  <roland@hack.frob.com>
28283         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28284         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28285         all the necessary asm magic in one place.
28286         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28287         using those.
28289 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
28291         [BZ #14906]
28292         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28293         traced file mtime. Use consistent log message.
28294         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28295         (register_traced_file): Call install_watches. Always set mtime.
28296         (invalidate_cache): Iterate over all trace files. Call install_watches.
28297         (inotify_check_files): Don't inline. Handle watching parent
28298         directories and configuration file movement in and out.
28299         (handle_inotify_events): New function.
28300         (main_loop_poll): Call handle_inotify_events.
28301         (main_loop_epoll): Likewise.
28302         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28303         (struct traced_file): Use array of inotify fds. Add parent directory,
28304         and basename.
28305         (struct database_dyn): Remove unused file_mtime.
28306         (init_traced_file): New inline function.
28307         (define_traced_file): New macro.
28308         * nss/nss_db/db-init.c: Use define_traced_file.
28309         (_nss_db_init): Use init_traced_file.
28310         * nss/nss_files/files-init.c: Use define_traced_file.
28311         (_nss_files_init): Use init_traced_file.
28313 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
28315         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28316         [_LIBC]: Do not include <stdlib.h>.
28317         [!_LIBC] (abort): Remove declaration.
28318         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28319         _FP_STATIC_ASSERT instead of conditionally calling abort.
28320         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28321         (_FP_EXTEND_CNAN): Likewise.
28322         (FP_TRUNC): Likewise.
28323         (__FP_CLZ): Likewise.
28324         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28326 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
28328         * manual/string.texi (XPG basename): Fix prototype.
28330 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28332         [BZ #18080]
28333         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28334         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28335         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28336         (__setcontext): Likewise.
28337         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28338         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28339         Call rt_sigprocmask syscall one time to set new signal mask
28340         and retrieve the current signal mask instead of two calls.
28341         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28342         (__swapcontext): Likewise.
28343         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28344         * stdlib/tst-setcontext2.c: New file.
28346 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28348         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28350 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
28352         [BZ #18093]
28353         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28354         the wrong size.
28356 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28358         [BZ #18043]
28359         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28361 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28363         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28364         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28365         Remove define.
28366         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28367         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28368         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28369         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28370         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28371         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28372         define.
28373         * nptl_db/td_symbol_list.c (td_lookup): Remove
28374         HAVE_ASM_GLOBAL_DOT_NAME code.
28375         * sysdeps/powerpc/powerpc64/configure.ac: Remove
28376         HAVE_ASM_GLOBAL_DOT_NAME check.
28377         * sysdeps/powerpc/powerpc64/configure: Regenerate.
28378         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28379         (DOT_LABEL): Remove define.
28380         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28381         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28382         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28383         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28384         (__TLS_GET_ADDR): Likewise.
28385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28386         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28388 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
28390         [BZ #18111]
28391         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28392         (_FPU_SETCW): Initialize cw from fpsr before storing.
28393         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28394         (fesetexceptflag): Rewrite using fpu_control.h.
28395         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28397 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
28399         [BZ #18110]
28400         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28401         asms.
28402         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28404 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
28406         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28407         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28408         abort.
28409         (_FP_FMA): Likewise.
28410         (_FP_DIV): Likewise.
28412 2015-03-10  Roland McGrath  <roland@hack.frob.com>
28414         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28415         with 0 in that case.
28416         * Makefile (summarize-tests): New canned sequence, factored out of
28417         commands for targets tests and xtests.  Display summary lines that
28418         don't start with PASS: or XFAIL: rather than ones that do start with
28419         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
28420         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28421         do start with ERROR: or FAIL:.
28422         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28423         (except for [$(build-shared) = yes]).
28424         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28425         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28426         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28427         * nptl/Makefile: Revert 2015-03-04 changes.
28428         [$(CXX) empty] (tests-unsupported): New variable.
28429         * debug/Makefile: Likewise.
28431         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28432         gnulib file.  Replace __attribute with __attribute__ throughout.
28434 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
28436         * sysdeps/hppa/fpu/libm-test-ulps: Update.
28438 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28440         [BZ #18104]
28441         * math/auto-libm-test-in: Add another test of pow.
28442         * math/auto-libm-test-out: Regenerated.
28444 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28446         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28447         $(config-cflags-nofma).
28449 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28451         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28452         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28453         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28454         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28455         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28456         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28457         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28458         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28459         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28460         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28461         Add comment on closing #endif.
28463 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28465         * posix/wordexp.c (CHAR_IN_SET): New macro.
28466         (parse_param): Use it.
28468 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28470         * sysdeps/powerpc/fpu/libm-test-ulps: update.
28472 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28474         [BZ #18043]
28475         * posix/wordexp.c (parse_param): Fix buffer overflow.
28476         * posix/wordexp-test.c (test_case): Add test case.
28478 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28480         [BZ #18042]
28481         * posix/wordexp.c (parse_backtick): Fix off-by-one.
28482         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28484 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28486         [BZ #18043]
28487         * posix/wordexp-test.c (test_case): Add test for BZ #18043
28488         (do_bz18043): Delete.
28489         (at_page_end): New.
28490         (testit): Refactor to have words at the edge of unreadable page.
28492 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28494         [BZ #16734]
28495         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28496         Cleanup read-only streams as well.
28497         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28499 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28501         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28502         <bits/libc-lockP.h>
28504 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
28506         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
28507         on [__KERNEL__].
28508         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28509         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28510         * soft-fp/op-common.h (_FP_DECL): Likewise.
28512 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
28514         * elf/ifuncdep2.c (global): Replace
28515         __attribute__((visibility("protected"))) with
28516         asm (".protected global").
28517         * elf/ifuncmod1.c (global): Likewise.
28518         * elf/ifuncmod5.c (global): Likewise.
28520 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
28522         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28523         <asm/sfp-machine.h> instead of <sfp-machine.h>.
28525 2015-03-06  Roland McGrath  <roland@hack.frob.com>
28527         * manual/install.texi (Configuring and compiling):
28528         Document test-wrapper-env-only.
28529         * INSTALL: Regenerated.
28531 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28533         [BZ #18043]
28534         * posix/wordexp.c (parse_param): Fix buffer overflow.
28535         * posix/wordexp-test.c (do_bz18043): Add test case.
28537 2015-03-06  Vincent Bernat  <vincent@bernat.im>
28539         * time/tst-strptime2.c (do_test): Ensure failing tests are
28540         reported correctly.
28541         * time/tst-strptime3.c (do_test): Likewise.
28543 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
28545         Fix aio_error thread-safety.
28546         * sysdeps/pthread/aio_error.c: New file
28547         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28548         synchronization.
28550 2015-03-06  Florian Weimer  <fweimer@redhat.com>
28552         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28553         (group_number, vfprintf): Use it.
28554         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28555         (JUMP, REF): Use it.
28556         (WORK_BUFFER_SIZE): New enum constant.
28557         (process_arg, vfprintf): Use it.
28559 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
28561         * manual/errno.texi (Error Messages): Complete example function
28562         by adding missing #define.
28563         (program_invocation_name): Add statement indicating GNU
28564         extension and reference which header file declares the variable.
28565         (program_invocation_short_name): Likewise.
28567 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
28569         * manual/errno.texi (Error Messages): Delete strerror ISO C89
28570         compatibility note.
28572 2015-03-05  Roland McGrath  <roland@hack.frob.com>
28574         * Makeconfig (test-wrapper-env-only): New variable.
28575         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28576         then use that with $(test-wrapper-env-only) rather than using
28577         $(test-wrapper-env) $(run-program-env) $($*-ENV).
28579 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28581         [BZ #18082]
28582         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28583         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28584         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28585         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28586         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28587         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28588         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28589         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28590         Likewise.
28591         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28592         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28593         Likewise.
28594         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28595         Likewise.
28596         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28597         Likewise.
28598         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28599         Likewise.
28600         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28601         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28602         Likewise.
28603         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28604         Likewise.
28605         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28606         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28608 2015-03-04  Roland McGrath  <roland@hack.frob.com>
28610         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28611         (ETH_ALEN): New macro.
28612         (struct ether_addr): Use it for length of ether_addr_octet.
28614         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28615         (setdb): Don't call __nss_configure_lookup for "rpc".
28616         (do_test): Don't call test_rpc.
28617         (output_rpcent, test_rpc): Functions moved ...
28618         * sunrpc/test-rpcent.c: ... to this new file.
28619         * sunrpc/Makefile (tests): Add it.
28621         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28622         __xpg_sigpause.
28623         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28624         * nptl/tst-signal6.c: Likewise.
28625         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28626         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28628         * configure.ac (libc_cv_cxx_link_ok): New check.
28629         Reset CXX to empty if it fails to link.
28630         * configure: Regenerated.
28631         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28632         bug-atexit3-lib only if $(CXX) is nonempty.
28633         * nptl/Makefile (tests): Likewise for tst-cancel24.
28634         (tests, tests-static): Likewise for tst-cancel24-static.
28635         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28636         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28637         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28638         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28640 2015-03-04  Andreas Schwab  <schwab@suse.de>
28642         [BZ #17631]
28643         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28644         for non-GCC compilers.
28645         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28646         Likewise.
28648 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28650         [BZ #17776]
28651         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28652         integer before bitwise and assembly operations.
28653         (feclearexcept): Likewise.
28654         * math/test-fenvinline.c: New file.
28655         * math/Makefile: Add test-fenvinline test.
28657 2015-03-03  Alan Modra  <amodra@gmail.com>
28659         [BZ #16512]
28660         * scripts/localplt.awk: Strip off symbol version.
28661         * NEWS: Mention bug fix.
28663 2015-03-02  Roland McGrath  <roland@hack.frob.com>
28665         * sysdeps/pthread/timer_routines.c
28666         (timer_free_list, thread_free_list, thread_active_list): Make static.
28668 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
28670         [BZ #17779]
28671         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28672         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28673         Undefine.
28674         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28675         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28676         Likewise.
28677         * sysdeps/unix/sysv/linux/sh/kernel-features.h
28678         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28679         Likewise.
28681 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
28683         [BZ #18036]
28684         * posix/fnmatch_loop.c (END): Detect invalid pattern.
28685         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28687 2015-03-02  Andreas Schwab  <schwab@suse.de>
28689         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28690         variable name.
28692 2015-03-02  Florian Weimer  <fweimer@redhat.com>
28694         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28695         Return error status.
28697 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
28699         [BZ #15969]
28700         * locale/findlocale.c (_nl_find_locale): Introduce const
28701         version of loc_name and drop unsafe type casts.
28703 2015-02-27  Roland McGrath  <roland@hack.frob.com>
28705         * dlfcn/tststatic2.c (main): Converted to ...
28706         (do_test): ... this.
28707         (TEST_FUNCTION): New macro.
28708         Include test-skeleton.c.
28710 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
28712         [BZ #17711]
28713         * elf/Makefile (tests): Add vismain only if PIE is enabled.
28714         (tests-pie): Add vismain.
28715         (CFLAGS-vismain.c): New.
28716         * elf/vismain.c: Add comments for PIE requirement.
28718 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28720         [BZ #18046]
28721         [BZ #18047]
28722         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28723         0x1p-56L as threshold for just returning the argument.
28724         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28725         0x1p-32L as threshold for just returning the argument.
28726         * math/auto-libm-test-in: Add more tests of atanh.
28727         * math/auto-libm-test-out: Regenerated.
28728         * sysdeps/i386/fpu/libm-test-ulps: Update.
28729         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28731 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28733         * string/bcopy.c (bcopy): Call memmove for performance.
28735 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28737         * string/bzero.c (__bzero): Call memset for performance.
28739 2015-02-27  John David Anglin  <dave.anglin@bell.net>
28741         [BZ #18068]
28742         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28743         to 00100000.
28745 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28747         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28749 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28751         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28752         (__kernel_standard): Use CSTR macro when setting exc.name.
28753         * sysdeps/ieee754/Makefile [$(subdir) = math]
28754         (CFLAGS-k_standard.c): Remove variable.
28756         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28757         setting p and q from "else if" to "else".
28758         (qzero): Likewise.
28759         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28760         (qone): Likewise.
28761         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28762         (qzerof): Likewise.
28763         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28764         (qonef): Likewise.
28765         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28766         (qzero): Likewise.
28767         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28768         (qone): Likewise.
28770         [BZ #18038]
28771         [BZ #18039]
28772         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28773         return pi/2 for arguments below 0x1p-113L.
28774         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28775         return pi/2 for arguments below 0x1p-106L.
28776         * math/auto-libm-test-in: Add more tests of acos.
28777         * math/auto-libm-test-out: Regenerated.
28779         [BZ #16351]
28780         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28781         (MO): New macro.
28782         (__ieee754_asin): Force underflow exception for results with small
28783         absolute value.
28784         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28785         (MO): New macro.
28786         (__ieee754_asinf): Force underflow exception for results with
28787         small absolute value.
28788         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28789         (__ieee754_asin): Force underflow exception for results with small
28790         absolute value.
28791         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28792         (__ieee754_asinf): Force underflow exception for results with
28793         small absolute value.
28794         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28795         (__ieee754_asinl): Force underflow exception for results with
28796         small absolute value.
28797         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28798         (__ieee754_asinl): Force underflow exception for results with
28799         small absolute value.
28800         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28801         (__ieee754_asinl): Force underflow exception for results with
28802         small absolute value.
28803         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28804         Include <math.h>.
28805         * math/auto-libm-test-in: Do not mark underflow exceptions as
28806         possibly missing for bug 16351.
28807         * math/auto-libm-test-out: Regenerated.
28809         [BZ #18030]
28810         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28811         of power of 2 down when low part has opposite sign.
28812         * math/libm-test.inc (logb_test_data): Add more tests.
28814 2015-02-26  Andreas Schwab  <schwab@suse.de>
28816         [BZ #18032]
28817         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28818         over collating symbol inside a bracket expression.  Minor cleanup.
28819         * posix/tst-fnmatch3.c (do_test): Add test case.
28821 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28823         [BZ #18029]
28824         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28825         Adjust exponent of power of 2 down when low part has opposite
28826         sign.
28827         * math/libm-test.inc (ilogb_test_data): Add more tests.
28829 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
28831         [BZ #15969]
28832         * locale/findlocale.c (_nl_find_locale): Fix constness error in
28833         the previous change.
28835         [BZ #15969]
28836         * locale/findlocale.c (_nl_find_locale): Retry archive search
28837         after alias expansion.
28839 2015-02-25  Roland McGrath  <roland@hack.frob.com>
28841         * iconv/tst-iconv3.c (main): Converted to ...
28842         (do_test): ... this.
28843         (TEST_FUNCTION): New macro.
28844         Include test-skeleton.c.
28846         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28847         (convert): Make function static.
28848         (test_unalign): Likewise.  Add const to argument pointee types.
28849         (main): Replace with static function do_test.
28850         Print "Succeeded." only if RET is zero.
28851         (TEST_FUNCTION): New macro.
28852         Include test-skeleton.c.
28854         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28855         returns a null pointer.
28857 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28859         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28860         to __memcpy_ppc only for static builds.
28862 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
28864         [BZ #18020]
28865         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28866         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28867         * math/auto-libm-test-in: Add more tests of asinh.
28868         * math/auto-libm-test-out: Regenerated.
28869         * sysdeps/i386/fpu/libm-test-ulps: Update.
28870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28872 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
28874         [BZ #15850]
28875         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28876         and ip6_mtuinfo definitions here.
28877         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28878         in this define too.  Update comment.
28880 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
28882         * elf/sprof.c (load_shobj): Tweak error message to match others.
28884 2015-02-24  Kevin Easton  <kevin@guarana.org>
28886         [BZ #16145] (partial fix)
28887         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28888         to reduce lock contention.
28890 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
28892         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28893         (struct timex): Update time comment.
28894         (ADJ_SETOFFSET): Define.
28896 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28898         [BZ #18019]
28899         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28900         2**56 not 2**28 as threshold for log (2x) formula.
28901         * math/auto-libm-test-in: Add more tests of acosh.
28902         * math/auto-libm-test-out: Regenerated.
28903         * sysdeps/i386/fpu/libm-test-ulps: Update.
28904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28906 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28908         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28909         parenthesis around the buf assignment.
28910         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28912 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28914         [BZ #16783]
28915         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28916         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28917         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28918         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28919         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28920         * math/libm-test.inc (scalb_test_data): Add more tests.
28922 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28924         [BZ #17916]
28925         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28926         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28928 2015-02-24  Eric Rannaud  <e@nanocritical.com>
28930         [BZ #17523]
28931         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28932         * io/bits/fcntl2.h (open): Use it.
28933         (openat): Likewise.
28934         * io/open.c (__libc_open): Likewise.
28935         * io/open64.c (__libc_open64): Likewise.
28936         * io/open64_2.c (__open64_2): Likewise.
28937         * io/open_2.c (__open_2): Likewise.
28938         * io/openat.c (__openat): Likewise.
28939         * io/openat64.c (__openat64): Likewise.
28940         * io/openat64_2.c (__openat64_2): Likewise.
28941         * io/openat_2.c (__openat_2): Likewise.
28942         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28943         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28944         * sysdeps/posix/open64.c (__libc_open64): Likewise.
28945         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28946         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28947         (__open_nocancel): Likewise.
28948         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28949         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28950         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28952 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28954         [BZ #14841]
28955         * resolv/gethnamaddr.c (getanswer): Skip logging if
28956         RES_USE_DNSSEC is set.
28957         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28959 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28961         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28963 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
28965         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28966         201304L, for Unicode 7.
28968 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
28970         [BZ #17836]
28971         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28972         shared library.  Add gmon-start.os otherwise.
28973         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28974         $(objpfx)gmon-start.os if builing shared library.
28975         ($(objpfx)g$(static-start-installed-name)): Likewise.
28977 2015-02-23  Andreas Schwab  <schwab@suse.de>
28979         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28981 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28983         [BZ #17269]
28984         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28985         (enlarge_userbuf): Likewise.
28987 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
28989         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28990         * math/atest-exp.c (TIMEOUT): Adjust to 200.
28991         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28992         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28994 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
28996         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28997         expression inside statement expression.
28999 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29001         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
29002         <sysdeps/nptl/lowlevellock.h> and remove macros and
29003         functions that are now defined there.
29004         (SYS_futex): Remove.
29005         (lll_compare_and_swap): Remove.
29006         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
29008 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
29010         [BZ #17999]
29011         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
29012         instead of scandirat.
29013         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
29014         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
29015         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
29016         __scandirat.
29017         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
29018         (__scandirat): Declare.  Use libc_hidden_proto.
29019         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
29020         Remove variable.
29021         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29023 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
29025         [BZ #15319]
29026         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
29027         (MO): New macro.
29028         (__ieee754_atan2): For results with small absolute value, force
29029         underflow exception and remove excess range and precision from
29030         return value.
29031         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
29032         (MO): New macro.
29033         (__ieee754_atan2f): For results with small absolute value, force
29034         underflow exception and remove excess range and precision from
29035         return value.
29036         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
29037         (MO): New macro.
29038         (__atan): For results with small absolute value, force underflow
29039         exception and remove excess range and precision from return value.
29040         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
29041         (MO): New macro.
29042         (__atanf): For results with small absolute value, force underflow
29043         exception and remove excess range and precision from return value.
29044         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
29045         <math.h>.
29046         (__ieee754_atan2): Force underflow exception for results with
29047         small absolute value.
29048         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
29049         <math_private.h>.
29050         (atan): Force underflow exception for results with small absolute
29051         value.
29052         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
29053         (__atanf): Force underflow exception for results with small
29054         absolute value.
29055         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
29056         <math.h>.
29057         (__atanl): Force underflow exception for results with small
29058         absolute value.
29059         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
29060         (__atanl): Force underflow exception for results with small
29061         absolute value.
29062         * sysdeps/x86/fpu/bits/mathinline.h
29063         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
29064         (__ieee754_atan2): Only define inline for long double.
29065         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29066         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
29067         * math/auto-libm-test-in: Do not mark underflow exceptions as
29068         possibly missing for bug 15319.  Add more tests of atan2.
29069         * math/auto-libm-test-out: Regenerated.
29070         * math/libm-test.inc (casin_test_data): Do not mark underflow
29071         exceptions as possibly missing for bug 15319.
29072         (casinh_test_data): Likewise.
29073         * sysdeps/i386/fpu/libm-test-ulps: Update.
29075 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
29077         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
29078         * sysdeps/mips/bits/endian.h: Fix comments.
29080 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
29082         [BZ #17996]
29083         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
29084         (hdestroy_r): Likewise.
29085         (hsearch_r): Likewise.
29086         (__hcreate_r): Declare and use libc_hidden_proto.
29087         (__hdestroy_r): Likewise.
29088         (__hsearch_r): Likewise.
29089         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
29090         (hcreate): Call __hcreate_r instead of hcreate_r.
29091         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
29092         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
29093         as weak alias of __hcreate_r.
29094         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
29095         __hdestroy_r.
29096         (hsearch_r): Rename to __hsearch_r and define as weak alias of
29097         __hsearch_r.
29098         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
29099         Remove variable.
29100         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29101         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29102         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29103         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29105 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29107         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
29108         arena_lock into a single arena_get.
29110 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
29112         * dl-reloc.c: Inlucde libc-internal.h.
29113         (_dl_try_allocate_static_tls): Call ALIGN_UP.
29114         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
29115         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
29116         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
29117         (grow_heap): Likewise.
29118         * malloc/malloc.c: Include libc-internal.h.
29119         (do_check_malloc): Call powerof2.
29120         (sysmalloc): Use pagesize. Call ALIGN_UP.
29121         (systrim): Use pagesize.
29122         (mremap_chunk): Use pagesize. Call ALIGN_UP.
29123         (__libc_valloc): Use pagesize.
29124         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
29126 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29128         [BZ #17991]
29129         * include/sys/resource.h (__getrlimit64): Declare.  Use
29130         libc_hidden_proto.
29131         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
29132         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
29133         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
29134         getrlimit64.
29135         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
29136         __getrlimit64.
29137         [!getrlimit64] (getrlimit64): Define as weak alias of
29138         __getrlimit64.  Use libc_hidden_weak.
29139         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
29140         using __getrlimit64 not __new_getrlimit64.
29141         (__GI_getrlimit64): Likewise.
29142         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
29143         Likewise.
29144         (__GI_getrlimit64): Likewise.
29145         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29147         (getrlimit): Add __getrlimit64 alias.
29148         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29149         Likewise.
29150         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29151         Remove variable.
29152         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29153         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29155 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
29157         * libio/fileops.c: Add missing sys/mman.h
29158         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29160 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29162         * manual/math.texi (Errors in Math Functions): Clarify goals
29163         regarding inexact and underflow exceptions.
29165 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29167         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29168         * sysdeps/mips/memset.S: Ditto.
29170 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29172         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29174 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29176         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29177         (__v1longjmp): Remove versioned symbol.
29178         (__v1siglongjmp): Remove alias and versioned symbol.
29179         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29180         (__v2siglongjmp): Likewise.
29182 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29184         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29186 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
29188         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29190 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29192         [BZ #17987]
29193         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29194         zero result does not depend on the sign resulting from
29195         subtraction.
29196         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29197         Likewise.
29198         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29199         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29200         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29201         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29202         * math/libm-test.inc (remquo_test_data): Add more tests.
29204 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
29206         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29207         Problem reported by J William Piggott.
29209 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29211         [BZ #17978]
29212         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29213         products 4 * y and 2 * y where those would overflow.
29214         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29215         Likewise.
29216         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29217         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29218         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29219         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29220         * math/libm-test.inc (remquo_test_data): Add more tests.
29222         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29224         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29225         [defined _COMPILING_NEWLIB].
29226         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29227         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29229         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29230         [!defined __mips_isa_rev || __mips_isa_rev < 6].
29232 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29234         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29235         acquired.
29237 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
29239         [BZ #17792]
29240         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29241         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29242         HOST_STACK_END_ADDR): Likewise.
29244 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
29246         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29247         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29248         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29250 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29252         * sysdeps/generic/c++-types.data: New file.
29253         * sysdeps/generic/ld.abilist: New file.
29254         * sysdeps/generic/libBrokenLocale.abilist: New file.
29255         * sysdeps/generic/libanl.abilist: New file.
29256         * sysdeps/generic/libc.abilist: New file.
29257         * sysdeps/generic/libcrypt.abilist: New file.
29258         * sysdeps/generic/libdl.abilist: New file.
29259         * sysdeps/generic/libm.abilist: New file.
29260         * sysdeps/generic/libpthread.abilist: New file.
29261         * sysdeps/generic/libresolv.abilist: New file.
29262         * sysdeps/generic/librt.abilist: New file.
29264 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29266         [BZ #17569]
29267         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29268         Compute absolute value of x as modified by fmod, not original
29269         value of x.
29270         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29271         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
29272         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
29273         RUN_TEST_ffI_f1_mod8.
29274         (remquo_test_data): Add more tests.
29276 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29278         * sysdeps/init_array/pt-crti.S: New file.
29280 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29282         [BZ #17967]
29283         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29284         __builtin_fmaf instead of relying on contraction of a * b + c.
29286 2015-02-12  J William Piggott  <elseifthen@gmx.com>
29288         [BZ #17969]
29289         * manual/time.texi: correct the zoneinfo path in the TZ Variable
29290         node.
29292 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29294         [BZ #17964]
29295         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29296         __builtin_fma instead of relying on contraction of a * b + c.
29298 2015-02-12  Roland McGrath  <roland@hack.frob.com>
29300         * Makeconfig (ASFLAGS): Add -Werror=undef.
29301         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29302         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29303         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29305         * Makeconfig (after-link): New variable.
29306         (+link-pie, +link-pie-tests): Use it.
29307         (+link-static, +link-static-tests): Likewise.
29308         (+link, +link-tests): Likewise.
29309         * Makerules (build-module, build-module-asneeded): Likewise.
29310         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29311         Likewise.
29312         * elf/Makefile ($(objpfx)ld.so): Likewise.
29314 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
29316         [BZ #17965]
29317         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29318         both struct timeval and struct timespec.
29320 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29322         [BZ #16560]
29323         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29324         and redefine.
29325         (__ieee754_exp2l): Do not multiply small fractional parts by
29326         M_LN2l.
29327         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29328         small argument.
29329         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29330         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29331         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29332         * math/auto-libm-test-in: Add more tests of exp2.
29333         * math/auto-libm-test-out: Regenerated.
29335 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29337         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29338         unaligned path.
29340 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29342         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29343         little endian.
29345 2015-02-12  Andreas Schwab  <schwab@suse.de>
29347         [BZ #15790]
29348         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29349         Filter out elision flags from value returned in kind.
29350         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29351         * nptl/tst-pthread-mutexattr.c: New file.
29353 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29355         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29356         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29357         into gnu-gnu, and update comment to refer to abi-tags.
29359 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
29361         [BZ #15467]
29362         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29363         (__sincos): Set errno to EDOM for infinite argument.
29364         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29365         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29366         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29367         (__sincosl): Set errno to EDOM for infinite argument.
29368         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29369         (__sincosl): Set errno to EDOM for infinite argument.
29370         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29371         (__sincosl): Set errno to EDOM for infinite argument.
29372         * math/libm-test.inc (sincos_test_data): Test errno setting.
29374 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
29376         * string/strxfrm_l.c: Remove #define STRCMP.
29377         * string/strcoll_l.c: Remove #define STRLEN.
29378         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29379         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29381 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
29383         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29384         * sysdeps/mips/mips32/sfp-machine.h: ... here.
29385         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29386         * sysdeps/mips/mips64/Makefile: ... here.
29387         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29388         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29389         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29390         * sysdeps/mips/mips64/sfp-machine.h: ... here.
29391         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29392         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29393         * sysdeps/mips/mips64/n64/Implies: Likewise.
29395 2015-02-10  Roland McGrath  <roland@hack.frob.com>
29397         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29398         <sys/time.h>, <string.h>, and <errno.h>.
29399         (dest_offset, dest_address, value, zero): Remove unused variables.
29400         (ldouble): Remove typedef.
29401         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29402         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
29403         1).  Fix code style.
29404         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29405         (check): Function removed.
29406         (CHECK): New macro.
29407         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
29408         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29409         Don't call set_sigaction_FP and remove_sigaction_FP here.
29410         (ldouble_test): Just use 'long double' as macro argument, no need for
29411         the 'ldouble' typedef.
29412         (do_test): Set up SIGFPE handler at start, using plain signal rather
29413         than sigaction.  Fix code style.
29415 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
29417         [BZ #17949]
29418         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29419         jump label.
29421 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29423         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29424         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29426         * sysdeps/powerpc/configure.ac: Remove file.
29427         * sysdeps/powerpc/configure: Likewise.
29429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29430         [sysdep_routines]: Remove wordcopy-power6 object.
29431         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29432         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29433         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29434         (__memmove_ppc32): Likewise.
29435         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29436         file.
29437         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29438         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29439         Remove preprocessor.
29441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29442         [sysdep_routines]: Remove wide chars objects.
29443         [wcsmbs]: New rule for wide char objects.
29445         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29446         Remove wordcopy-power6 obejct.
29447         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29448         Use local call for wordcopy and memcpy symbols.
29449         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29450         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29451         implementation for loader.
29452         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29454         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29455         Remove wordcopy-power7 object.
29456         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29457         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29458         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29459         (_wordcopy_fwd_dest_aligned): Likewise.
29460         (_wordcopy_bwd_aligned): Likewise.
29461         (_wordcopy_bwd_dest_aligned): Likewise.
29463         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29464         Rewrite to call __memmove_ppc instead of include default
29465         implementation.
29467         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29468         Remove wide chars objects.
29469         [wcsmbs]: New rule for wide char objects.
29471 2015-02-09  Andreas Schwab  <schwab@suse.de>
29473         [BZ #17912]
29474         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29475         in terms of __O_DIRECTORY.
29477 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29479         * time/getdate.c: Include <stdbool.h>.
29480         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29481         call PTR_MANGLE.
29482         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29483         PTR_DEMANGLE.
29485 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
29487         Add ersatz _Static_assert on older C hosts
29488         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29489         pre-C11 C platform that is not known to support _Static_assert.
29491 2015-02-07  Richard Braun  <rbraun@sceen.net>
29493         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29494         sigstate.
29495         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29497 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29499         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29500         priority against unexistent AIO_PRIO_DELTA_MAX.
29501         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29502         instead of int.
29503         * misc/fchflags.c (fchflags): Likewise.
29504         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29505         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29506         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29507         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29508         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29509         Declare macros.
29510         [__USE_MISC] (chflags, fchflags): Declare functions.
29511         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29512         EINVAL when nfds is greater than FD_SETSIZE.
29513         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29514         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29515         45.
29516         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29517         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29518         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29519         MACH_RCV_TIMED_OUT.
29520         * hurd/hurd/signal.h (_hurd_self_sigstate,
29521         _hurd_critical_section_lock, _hurd_critical_section_unlock):
29522         Explicit casts from void *.
29523         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29524         * abi-tags: Rename gnu-gnu os into gnu.
29526         [BZ #4719]
29527         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29528         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29529         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29530         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29531         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29532         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29534         [BZ #17944]
29535         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29536         duplicates ADDR->sun_path with sockaddr LEN limitation.
29537         * sysdeps/mach/hurd/connect.c: Include <string.h>
29538         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29539         * sysdeps/mach/hurd/sendmsg.c: Likewise.
29540         * sysdeps/mach/hurd/sendto.c: Likewise.
29541         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29542         implementing it by hand.
29544 2015-02-06  Roland McGrath  <roland@hack.frob.com>
29546         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29547         Use sfi_breg on ldr.
29548         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29549         Likewise.
29551         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29552         it's defined.
29553         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29554         Test SIGSETXID only if it's defined.
29556         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29558         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29559         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
29561         * nptl/tst-align2.c: Moved ...
29562         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29563         * nptl/Makefile (tests): Remove tst-align2.
29564         * sysdeps/unix/sysv/linux/Makefile
29565         [$(subdir) = nptl] (tests): Add tst-align-clone.
29566         * nptl/tst-getpid1.c: Moved ...
29567         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29568         * nptl/tst-getpid2.c: Moved ...
29569         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29570         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29571         * sysdeps/unix/sysv/linux/Makefile
29572         [$(subdir) = nptl] (tests): ... here.
29573         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29574         * sysdeps/unix/sysv/linux/Makefile
29575         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29577         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29578         Drop trailing \n from perror argument.  Use return rather than exit.
29580         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29581         on [SA_SIGINFO].
29582         * nptl/tst-cancel21.c (do_test): Likewise.
29583         * debug/tst-backtrace6.c: Include <signal.h> first thing.
29584         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29585         [!SA_SIGINFO]: Make it a stub test.
29587         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29588         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29590         * posix/tst-getlogin.c: Move to ...
29591         * login/tst-getlogin.c: ... here.
29592         * posix/Makefile (tests): Move tst-getlogin to ...
29593         * login/Makefile (tests): ... here.
29595         * libio/tst-atime.c (do_test): Move local variables SV and E
29596         inside [ST_NOATIME] conditional.
29598         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29600         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29602         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29603         (wait_code): New function replaces macro.
29604         Call nanosleep rather than syscall.
29606         * nptl/pt-system.c: Rewritten.  Put everything under
29607         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29608         Use IFUNC to redirect when possible.
29610         * nptl/pt-longjmp.c: Rewritten.  Put everything under
29611         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29612         Use IFUNC to redirect when possible.
29614         * nptl/pt-fork.c: Rewritten.  Put everything under
29615         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29616         Use IFUNC to redirect when possible.
29617         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29619         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29620         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29621         unconditionally nowadays.  This included the only reference to
29622         __vdso_clock_gettime that appears outside libc proper.
29623         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29624         Remove version set (containing only __vdso_clock_gettime).
29625         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29626         Add attribute_hidden.
29627         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29628         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29629         libc_hidden_data_def.
29630         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29631         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29633         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29634         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29635         setrpcent, and getrpcport to ...
29636         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29637         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29638         getrpcbynumber_r, and getrpcent_r to ...
29639         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29640         * inet/getrpcbyname.c: Moved ...
29641         * sunrpc/getrpcbyname.c: ... here.
29642         * inet/getrpcbyname_r.c: Moved ...
29643         * sunrpc/getrpcbyname_r.c: ... here.
29644         * inet/getrpcbynumber.c: Moved ...
29645         * sunrpc/getrpcbynumber.c: ... here.
29646         * inet/getrpcbynumber_r.c: Moved ...
29647         * sunrpc/getrpcbynumber_r.c: ... here.
29648         * inet/getrpcent.c: Moved ...
29649         * sunrpc/getrpcent.c: ... here.
29650         * inet/getrpcent_r.c: Moved ...
29651         * sunrpc/getrpcent_r.c: ... here.
29652         * inet/Makefile (routines): Move those to ...
29653         * sunrpc/Makefile (routines): ... here.
29654         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29655         the $(subdirs) list.
29656         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
29657         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29658         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29659         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29661         * elf/Makefile (routines): Include $(all-dl-routines), not just
29662         $(dl-routines).
29663         (rtld-routines): Likewise.  Use = rather than :=.
29664         * sysdeps/aarch64/Makefile [$(subdir) = elf]
29665         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29666         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29667         * sysdeps/arm/Makefile: Likewise.
29668         * sysdeps/i386/Makefile: Likewise.
29669         * sysdeps/x86_64/Makefile: Likewise.
29670         * sysdeps/hppa/Makefile [$(subdir) = elf]
29671         (sysdep_routines, sysdep-rtld-routines): Don't add
29672         $(sysdep-dl-routines) to these.
29673         * sysdeps/ia64/Makefile: Likewise.
29674         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29675         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29676         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29677         Don't add dl-static to these; sysdep-dl-routines alone is enough.
29678         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29679         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29680         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29681         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29682         * sysdeps/powerpc/Makefile [$(subdir) = elf]
29683         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29684         these; sysdep-dl-routines alone is enough.
29686 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
29688         [BZ #17932]
29689         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29690         where multiplication results in zero and third argument is finite
29691         and nonzero.
29692         * math/auto-libm-test-in: Add more tests of fma.
29693         * math/auto-libm-test-out: Regenerated.
29695         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29696         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29697         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29698         (_FP_CMP_EQ): Likewise.
29699         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29701         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29702         extra argument CHECK_NAN.  Redefine as wrapper around
29703         _FP_EXTEND_CNAN.
29705 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
29707         * version.h (RELEASE): Set to "stable".
29708         (VERSION): Set to "2.21"
29709         * include/features.h (__GLIBC_MINOR__): Set to 21.
29711         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29713 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29714             Paul Eggert  <eggert@cs.ucla.edu>
29716         [BZ #16618]
29717         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29718         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29719         size in bytes. Store needed elements in wpmax. Use needed size
29720         in bytes for extend_alloca.
29722 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
29724         * manual/install.texi: Latest tested versions are GCC 4.9.2,
29725         binutls 2.25, and texinfo 5.2.
29726         * INSTALL: Regenerate.
29727         * sysdeps/nios2/configure: Regenerate.
29728         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29729         * manual/contrib.texi: Update.
29730         * po/be.po: Update.
29731         * po/bg.po: Update.
29732         * po/ca.po: Update.
29733         * po/cs.po: Update.
29734         * po/da.po: Update.
29735         * po/de.po: Update.
29736         * po/el.po: Update.
29737         * po/eo.po: Update.
29738         * po/es.po: Update.
29739         * po/fi.po: Update.
29740         * po/fr.po: Update.
29741         * po/gl.po: Update.
29742         * po/hr.po: Update.
29743         * po/hu.po: Update.
29744         * po/ia.po: Update.
29745         * po/id.po: Update.
29746         * po/it.po: Update.
29747         * po/ja.po: Update.
29748         * po/ko.po: Update.
29749         * po/lt.po: Update.
29750         * po/nb.po: Update.
29751         * po/nl.po: Update.
29752         * po/pl.po: Update.
29753         * po/pt_BR.po: Update.
29754         * po/ru.po: Update.
29755         * po/rw.po: Update.
29756         * po/sk.po: Update.
29757         * po/sl.po: Update.
29758         * po/sv.po: Update.
29759         * po/tr.po: Update.
29760         * po/uk.po: Update.
29761         * po/vi.po: Update.
29762         * po/zh_CN.po: Update.
29763         * po/zh_TW.po: Update.
29765         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29766         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29767         * sysdeps/hppa/dl-irel.h: Remove #warning.
29768         * sysdeps/hppa/entry.h: Provide prototype for
29769         __canonicalize_funcptr_for_compare and cast argument.
29770         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29771         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29772         * sysdeps/hppa/sotruss-lib.c: New file.
29773         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29774         (atomic_compare_and_exchange_val_acq): Use __typeof__.
29775         (atomic_compare_and_exchange_bool_acq): Likewise.
29776         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29777         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29779         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29780         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29781         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29783 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
29785         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29786         called function in non-PIC case.
29788 2015-01-31  David S. Miller  <davem@davemloft.net>
29790         * sysdeps/sparc/sparc32/bits/atomic.h
29791         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29792         unlock not after it.
29793         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29794         volatile register usage warnings from the compiler.
29796         * sysdeps/sparc/nptl/sem_init.c: Delete.
29797         * sysdeps/sparc/nptl/sem_post.c: Delete.
29798         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29799         * sysdeps/sparc/nptl/sem_wait.c: Delete.
29800         * sysdeps/sparc/sparc32/sem_init.c: New file.
29801         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29802         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29803         padding explicitly initialized.
29804         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29805         padding for in-semaphore spinlock.
29806         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29807         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29808         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29809         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29810         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29811         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29812         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29813         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29814         version.
29815         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29816         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29818 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
29820         [BZ #17801]
29821         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29822         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29823         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29824         New.
29825         (index_AVX_Fast_Unaligned_Load): Likewise.
29826         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29827         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29828         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29829         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29830         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29831         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29832         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29833         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29834         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29836 2015-01-29  Andreas Schwab  <schwab@suse.de>
29838         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29840 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
29842         [BZ #17892]
29843         * nscd/nscd_stat.c (send_stats): Initialize DATA.
29845 2015-01-28  Martin Sebor  <msebor@redhat.com>
29847         * math/README.libm-test: Clarify. Add "How to read the test output."
29849 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
29851         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29852         Define to 0.
29854 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
29856         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29857         (__HAVE_64B_ATOMICS): Define to 0.
29859 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29861         [BZ #17885]
29862         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29863         value to set as new flag.
29865         [BZ #16576]
29866         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29867         and use _ARCH_PPCSQ instead.
29868         (__ieee754_sqrt): Likewise.
29869         (__ieee754_sqrtf): Likewise.
29870         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29871         _ARCH_PPCSQ is defined.
29872         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29873         fsqrt instruction.
29874         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29875         _ARCH_PPCSQ is defined.
29876         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29877         fsqrts instruction.
29878         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29880 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29882         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29883         bug (GCC BZ #64739).
29885 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
29887         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29888         Mark _retval as used.
29889         (lll_futex_wake_unlock): Likewise.
29890         (lll_futex_timed_wait_requeue_pi): Likewise.
29892         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29893         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29894         register variables.
29896         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29897         libm_hidden_def.
29899         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29900         (__bswap_64): Mark as __always_inline.
29902 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
29904         [BZ #15378]
29905         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29906         when none of the search directories exist.
29908 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29910         [BZ #17869]
29911         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29912         power8 in .machine directive.
29914         [BZ #17868]
29915         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29916         set dependency from opd value.
29918 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29921         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29922         architecture.
29924 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29926         [BZ #17870]
29927         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29928         with uint64_t.
29929         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29930         (uint64_t) 1.
29931         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29932         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29933         Replace 1UL with (uint64_t) 1.
29934         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29935         int with uint64_t.
29937 2015-01-23  Roland McGrath  <roland@hack.frob.com>
29939         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29940         (if_freenameindex): Likewise.
29942         * resource/getrlimit64.c: Add missing libc_hidden_def.
29944 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
29946         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29947         __label__.
29948         (_FP_FMA): Likewise.
29949         (_FP_TO_INT_ROUND): Likewise.
29950         (_FP_FROM_INT): Likewise.
29952 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29954         [BZ #16418]
29955         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29956         Make code racy and cancel safe.
29958 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
29960         * sysdeps/arm/unwind-resume.h: Fix copyright year.
29961         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29962         attribution.
29964         * pwd/tst-getpw.c: Rewrite.
29966         [BZ #17702]
29967         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29968         (modules-names): Add moddummy1 and moddummy2.
29969         ($(objpfx)tst-rec-dlopen): Define.
29970         * dlfcn/moddummy1.c: New file.
29971         * dlfcn/moddummy2.c: New file.
29972         * dlfcn/tst-rec-dlopen.c: New file.
29973         * elf/dl-cache.c (_dl_load_cache_lookup):
29974         Return char*. Copy result with alloca/strcpy/strdup.
29975         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29976         returns char*. Free cached. If not saving realname
29977         free cached.
29978         * elf/dl-open.c (dl_open_worker): Do not assert that
29979         _r_debug->r_state is RT_CONSISTENT.
29980         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29981         returns char*.
29983 2015-01-21  Torvald Riegel  <triegel@redhat.com>
29984             Carlos O'Donell  <carlos@redhat.com>
29986         [BZ #12674]
29987         * nptl/sem_waitcommon.c: New file.
29988         * nptl/sem_wait.c: Include sem_waitcommon.c.
29989         (__sem_wait_cleanup, do_futex_wait): Remove.
29990         (__new_sem_wait): Adapt.
29991         (__new_sem_trywait): New function.
29992         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29993         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29994         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29995         (sem_timedwait): Adapt.
29996         * nptl/sem_post.c (__new_sem_post): Adapt.
29997         (futex_wake): New function.
29998         (__old_sem_post): Add release MO fence.
29999         * nptl/sem_open.c (sem_open): Adapt.
30000         * nptl/sem_init.c (__new_sem_init): Adapt.
30001         (futex_private_if_supported): New function.
30002         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
30003         (__old_sem_getvalue): Add using previous code.
30004         * sysdeps/nptl/internaltypes.h: Adapt.
30005         * nptl/tst-sem13.c (do_test): Adapt.
30006         * nptl/tst-sem11.c (main): Adapt.
30007         * nptl/sem_trywait.c: Remove.
30008         * nptl/DESIGN-sem.txt: Remove.
30009         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
30010         (gen-as-const-headers): Remove structsem.sym.
30011         * nptl/structsem.sym: Remove.
30012         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
30013         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
30014         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
30015         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
30016         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
30017         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
30018         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
30019         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
30020         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
30021         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
30022         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
30023         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
30024         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
30025         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
30026         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
30027         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
30028         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
30029         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
30030         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
30031         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
30032         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
30033         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
30035 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
30037         * INSTALL: Regenerated.
30039         * po/libc.pot: Regenerated.
30041 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
30042             Sandra Loosemore  <sandra@codesourcery.com>
30043             Andrew Jenner  <andrew@codesourcery.com>
30044             Joseph Myers  <joseph@codesourcery.com>
30045             Nathan Sidwell  <nathan@codesourcery.com>
30047         * NEWS: Mention new Nios II port.
30048         * sysdeps/nios2/Implies: New file.
30049         * sysdeps/nios2/Makefile: New file.
30050         * sysdeps/nios2/Subdirs: New file.
30051         * sysdeps/nios2/Versions: New file.
30052         * sysdeps/nios2/__longjmp.S: New file.
30053         * sysdeps/nios2/abort-instr.h: New file.
30054         * sysdeps/nios2/backtrace.c: New file.
30055         * sysdeps/nios2/bits/endian.h: New file.
30056         * sysdeps/nios2/bits/fenv.h: New file.
30057         * sysdeps/nios2/bits/link.h: New file.
30058         * sysdeps/nios2/bits/setjmp.h: New file.
30059         * sysdeps/nios2/bsd-_setjmp.S: New file.
30060         * sysdeps/nios2/bsd-setjmp.S: New file.
30061         * sysdeps/nios2/configure: New generated file.
30062         * sysdeps/nios2/configure.ac: New file.
30063         * sysdeps/nios2/crti.S: New file.
30064         * sysdeps/nios2/crtn.S: New file.
30065         * sysdeps/nios2/dl-init.c: New file.
30066         * sysdeps/nios2/dl-machine.h: New file.
30067         * sysdeps/nios2/dl-sysdep.h: New file.
30068         * sysdeps/nios2/dl-tls.h: New file.
30069         * sysdeps/nios2/dl-trampoline.S: New file.
30070         * sysdeps/nios2/gccframe.h: New file.
30071         * sysdeps/nios2/gmp-mparam.h: New file.
30072         * sysdeps/nios2/jmpbuf-offsets.h: New file.
30073         * sysdeps/nios2/jmpbuf-unwind.h: New file.
30074         * sysdeps/nios2/ldsodefs.h: New file.
30075         * sysdeps/nios2/libc-tls.c: New file.
30076         * sysdeps/nios2/libm-test-ulps: New file.
30077         * sysdeps/nios2/machine-gmon.h: New file.
30078         * sysdeps/nios2/math-tests.h: New file.
30079         * sysdeps/nios2/math_private.h: New file.
30080         * sysdeps/nios2/memusage.h: New file.
30081         * sysdeps/nios2/nptl/Makefile: New file.
30082         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
30083         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
30084         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
30085         * sysdeps/nios2/nptl/pthreaddef.h: New file.
30086         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
30087         * sysdeps/nios2/nptl/tls.h: New file.
30088         * sysdeps/nios2/preconfigure: New file.
30089         * sysdeps/nios2/s_fma.c: New file.
30090         * sysdeps/nios2/s_fmaf.c: New file.
30091         * sysdeps/nios2/setjmp.S: New file.
30092         * sysdeps/nios2/sfp-machine.h: New file.
30093         * sysdeps/nios2/sotruss-lib.c: New file.
30094         * sysdeps/nios2/stackguard-macros.h: New file.
30095         * sysdeps/nios2/stackinfo.h: New file.
30096         * sysdeps/nios2/start.S: New file.
30097         * sysdeps/nios2/sysdep.h: New file.
30098         * sysdeps/nios2/tls-macros.h: New file.
30099         * sysdeps/nios2/tst-audit.h: New file.
30100         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
30101         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
30102         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
30103         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
30104         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
30105         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
30106         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
30107         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
30108         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
30109         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
30110         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
30111         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
30112         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
30113         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
30114         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
30115         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
30116         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
30117         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
30118         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
30119         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
30120         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
30121         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
30122         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
30123         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
30124         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
30125         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
30126         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
30127         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
30128         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
30129         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
30130         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
30131         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
30132         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
30133         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
30134         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
30135         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
30136         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
30137         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
30138         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
30139         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
30140         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
30141         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
30142         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
30143         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
30145 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30147         [BZ #17844]
30148         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30149         (getutent): Use weak_alias in non SHARED case
30150         and default_symbol_version in SHARED case.
30151         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30152         (getutent_r, pututline): Likewise.
30153         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30154         (getutid): Likewise.
30155         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30156         (getutid_r): Likewise.
30157         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30158         (getutline): Likewise.
30159         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30160         (getutline_r): Likewise.
30161         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30162         (updwtmp): Likewise.
30164 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30166         [BZ #17848]
30167         * sysdeps/s390/s390-32/memcmp.S
30168         (memcmp_g5): Rename to __memcmp_g5.
30169         * sysdeps/s390/s390-32/memcpy.S
30170         (memcpy_g5): Rename to __memcpy_g5.
30171         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30172         (memcpy_mvcle) Rename to __memcpy_mvcle.
30173         * sysdeps/s390/s390-32/memset.S
30174         (memset_g5): Rename to __memset_g5.
30175         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30176         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30177         and use prefixed functions.
30178         * sysdeps/s390/s390-32/multiarch/memcmp.S
30179         (memcmp_z196): Rename to __memcmp_z196.
30180         (memcmp_z10): Rename to __memcmp_z10.
30181         (memcmp): Set alias to __memcmp_g5.
30182         (bcmp): Set alias to __memcmp_g5.
30183         * sysdeps/s390/s390-32/multiarch/memcpy.S
30184         (memcpy_z196): Rename to __memcpy_z196.
30185         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30186         (memcpy_z10): Rename to __memcpy_z10.
30187         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30188         (memcpy): Set alias to __memcpy_g5.
30189         * sysdeps/s390/s390-32/multiarch/memset.S
30190         (memset_z196): Rename to __memset_z196.
30191         Jump to __memset_mvcle instead of memset_mvcle.
30192         (memset_z10): Rename to __memset_z10.
30193         Jump to __memset_mvcle instead of memset_mvcle.
30194         (memset_mvcle) Rename to __memset_mvcle.
30195         (memset): Set alias to __memset_g5.
30196         * sysdeps/s390/s390-64/memcmp.S
30197         (memcmp_z900): Rename to __memcmp_z900.
30198         * sysdeps/s390/s390-64/memcpy.S
30199         (memcpy_z900): Rename to __memcpy_z900.
30200         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30201         (memcpy_mvcle) Rename to __memcpy_mvcle.
30202         * sysdeps/s390/s390-64/memset.S
30203         (memset_z900): Rename to __memset_z900.
30204         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30205         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30206         and use prefixed functions.
30207         * sysdeps/s390/s390-64/multiarch/memcmp.S
30208         (memcmp_z196): Rename to __memcmp_z196.
30209         (memcmp_z10): Rename to __memcmp_z10.
30210         (memcmp): Set alias to __memcmp_z900.
30211         (bcmp): Set alias to __memcmp_z900.
30212         * sysdeps/s390/s390-64/multiarch/memcpy.S
30213         (memcpy_z196): Rename to __memcpy_z196.
30214         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30215         (memcpy_z10): Rename to __memcpy_z10.
30216         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30217         (memcpy): Set alias to __memcpy_z900.
30218         * sysdeps/s390/s390-64/multiarch/memset.S
30219         (memset_z196): Rename to __memset_z196.
30220         Jump to __memset_mvcle instead of memset_mvcle.
30221         (memset_z10): Rename to __memset_z10.
30222         Jump to __memset_mvcle instead of memset_mvcle.
30223         (memset_mvcle) Rename to __memset_mvcle.
30224         (memset): Set alias to __memset_z900.
30226 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
30228         [BZ #17748]
30229         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30230         __fesetenv instead of fesetenv.
30232 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30234         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30235         macro.
30237 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30239         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30240         regression on LE.
30242         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30243         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30244         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30245         strncmp-power8 object.
30246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30247         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30248         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30249         * NEWS: Update.
30251 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30252             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30254         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30255         trailing byte check.
30257 2015-01-13  David S. Miller  <davem@davemloft.net>
30259         * include/signal.h (__sigreturn): Guard with __USE_MISC.
30261 2015-01-13  Roland McGrath  <roland@hack.frob.com>
30263         * login/logout.c (logout): Use memset rather than bzero.
30264         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30265         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30266         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30267         (_gethtbyaddr): Likewise.
30268         * locale/programs/simple-hash.c (bcopy): Macro removed.
30270 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30272         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30273         Add strcmp-power8 object.
30274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30275         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30276         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30277         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30278         __strcmp_power8 implementation.
30279         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30280         * NEWS: Update.
30282         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30283         Add strncpy-power8 and stpncpy-power8 objects.
30284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30285         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30286         implementations.
30287         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30288         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30289         __stpncpy_power8 implementation.
30290         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30291         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30292         __strncpy_power8 implementation.
30293         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30294         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30295         * NEWS: Update.
30297         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30298         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30299         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30301         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30302         strncat-power8 object.
30303         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30304         __strcat_power8 implementation.
30305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30306         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30307         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30308         optimized strcat for power8.
30310         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30311         strcpy-power8 and stpcpy-power8 objects.
30312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30313         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30314         implementations.
30315         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30316         multiarch stpcpy implementation for POWER8.
30317         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30318         multiarch strcpy implementation for POWER8.
30319         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30320         __strcpy_power8 function.
30321         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30322         stpcpy for POWER8.
30323         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30324         strcpy for POWER8.
30325         * NEWS: Update.
30327 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
30329         [BZ #16009]
30330         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30331         weights and rules. Use do_xfrm_cached if data fits in cache,
30332         do_xfrm otherwise.  Moved former main loop to...
30333         * (do_xfrm_cached): New function.
30334         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30335         find_idx, find_position and stack_push.
30336         * (find_idx): New function.
30337         * (find_position): Likewise.
30338         * localedata/sort-test.sh: Added test run for do_xfrm.
30339         * localedata/xfrm-test.c (main): Added command line option
30340         -nocache to run the test with strings that are too large for
30341         the STRXFRM cache.
30343 2015-01-13  Torvald Riegel  <triegel@redhat.com>
30345         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30346         variable to lll_futex_wake call, not the value itself.
30348 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
30350         [BZ #17803]
30351         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30352         twom64.  Adjust value to 0x1p-64L.
30353         (__scalblnl): Only return standard underflowing result for K <=
30354         -64 not K <= -63; adjust exponent for underflowing result by 64
30355         not 63.
30356         * math/libm-test.inc (scalbn_test_data): Add more tests.
30357         (scalbln_test_data): Likewise.
30359         [BZ #17834]
30360         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30361         0x1p63L.
30362         (__scalblnl): Get new exponent of adjusted subnormal value from ES
30363         not HX.
30364         * math/libm-test.inc (scalbn_test_data): Add more tests.
30365         (scalbln_test_data): Likewise.
30367 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30368             Stefani Seibold  <stefani@seibold.net>
30370         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30371         (sysdep_routines): Add dl-vdso here, ...
30372         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30373         (sysdep_routines): ... not here.
30374         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30375         fallback when vDSO is not presented.
30376         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30377         Define with libc_hidden_proto/libc_hidden_data_def definitions.
30378         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30379         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30380         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30381         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30382         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30383         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30384         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30385         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30386         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
30387         fallback configurable symbol when vDSO is not available.
30388         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30389         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
30390         be able to redefine fallback symbol when vDSO is not available.
30391         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30392         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30394 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30396         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30397         (TLS_INIT_TP): Add tm_capable initialization.
30398         (TLS_DEFINE_INIT_TP): Likewise.
30399         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30400         TCB.
30401         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30402         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30403         calculation.
30404         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30405         transactoion is lock elision is built and TCB tm_capable is set.
30406         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30408         (INTERNAL_SYSCALL_NCS): Likewise.
30409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30410         (INTERNAL_SYSCALL_NCS): Likewise.
30411         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30413         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30414         for powerpc.
30415         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30416         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30417         and remove it for 32 bits case.
30418         [pthread_rwlock_t] (__rwelision): New field for lock elision.
30419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30420         initialization.
30421         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30422         Disable lock elision with rdlocks if elision is not available.
30424         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30425         (sysdep_routines): Add lock elision objects.
30426         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30427         [pthread_mutex_t] (__spins): Rework to add lock elision field.
30428         [pthread_mutex_t] (__elision): Add field.
30429         [__PTHREAD_SPINS]: Adjust to init lock elision field.
30430         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30431         elision definitions for powerpc.
30432         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30433         implementation of lock elision for powerpc.
30434         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30435         implementation of timed lock elision for powerpc.
30436         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30437         implementation of trylock with lock elision for powerpc.
30438         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30439         implementaion of unlock for lock elision for powerpc.
30440         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30441         automatic enable lock elision for mutexes.
30442         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30443         transaction execution definitions for powerpc.
30444         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30445         definitions.
30446         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30447         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30448         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30449         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30450         * NEWS: Update.
30452 2015-01-09  Roland McGrath  <roland@hack.frob.com>
30454         * sysdeps/posix/shm-directory.c: Use <> rather than ""
30455         for #include of <shm-directory.h>.
30457 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
30459         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30460         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30462 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
30464         [BZ #17791]
30465         * NEWS: Mention bug fix.
30466         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30467         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30468         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30470 2015-01-09  Torvald Riegel <triegel@redhat.com>
30472         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30474 2015-01-09  Torvald Riegel <triegel@redhat.com>
30476         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30478 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30480         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30481         pointer and cast to uintptr_t.
30483 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30485         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30486         removed.
30487         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30489 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30491         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30492         of 0.
30494 2015-01-08  Roland McGrath  <roland@hack.frob.com>
30496         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30497         <nptl/pthreadP.h> instead.
30498         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30500         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30501         already defined.
30502         [__SIGRTMIN] (init): Function removed.
30503         [__SIGRTMIN] (initialized): Variable removed.
30504         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30505         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30506         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30507         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30508         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30509         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30510         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30511         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30512         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30513         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30514         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30515         * sysdeps/nptl/allocrtsig.c: New file.
30516         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30517         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30518         * sysdeps/generic/testrtsig.h: File removed.
30520         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30521         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30523         * nptl/nptl-init.c (pthread_functions): Conditionalize
30524         .ptr__nptl_setxid initialization on [SIGSETXID].
30526         * sysdeps/nptl/sys/procfs.h: New file.
30527         * nptl_db/Makefile (headers): Add it.
30528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30530         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30531         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30532         * nptl/pthread_attr_setaffinity.c: Include it.
30533         * nptl/pthread_setattr_default_np.c: Likewise.
30534         * nptl/check-cpuset.h: New file.
30536 2015-01-08  Richard Henderson  <rth@redhat.com>
30538         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30539         (CFLAGS-tst-execstack-prog.c): Likewise.
30540         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30542 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
30543             Sandra Loosemore  <sandra@codesourcery.com>
30544             Andrew Jenner  <andrew@codesourcery.com>
30545             Joseph Myers  <joseph@codesourcery.com>
30546             Nathan Sidwell  <nathan@codesourcery.com>
30548         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30549         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30550         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30551         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30552         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30553         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30554         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30555         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30556         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30557         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30558         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30559         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30560         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30561         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30562         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30563         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30564         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30566 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30568         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30569         timespec struct member in syscall macro.
30570         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30571         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30572         first timeval struct member in syscall macro.
30573         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30575 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
30577         [BZ #17748]
30578         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30579         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30580         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30581         __feupdateenv and define as weak alias of __feupdateenv.  Use
30582         libm_hidden_weak.
30583         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30584         libm_hidden_def.
30585         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30586         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
30587         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30588         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30589         libm_hidden_def.
30590         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30591         __feupdateenv and define as weak alias of __feupdateenv.  Use
30592         libm_hidden_weak.
30593         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30594         libm_hidden_def.
30595         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30596         __feupdateenv and define as weak alias of __feupdateenv.  Use
30597         libm_hidden_weak.
30598         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30599         libm_hidden_def.
30600         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30601         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30602         (__feupdateenv): Likewise.
30603         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30604         __feupdateenv and define as weak alias of __feupdateenv.  Use
30605         libm_hidden_weak.
30606         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30607         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30608         libm_hidden_def.
30609         * sysdeps/tile/math_private.h (__feupdateenv): New inline
30610         function.
30611         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30612         libm_hidden_def.
30613         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30614         __feupdateenv instead of feupdateenv.
30615         (default_libc_feupdateenv_test): Likewise.
30616         (libc_feresetround_ctx): Likewise.
30618 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30620         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30621         prototype.
30623 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
30625         * posix/regcomp.c (parse_bracket_exp): Initialize type to
30626         COLL_SYM in a couple of places to avoid uninitialized variable
30627         wanings on tilegx gcc 4.8.2.
30629 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30631         * sysdeps/aarch64/strcpy.S: New file.
30632         * sysdeps/aarch64/stpcpy.S: New file.
30633         * NEWS: Updated.
30635 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30637         * sysdeps/aarch64/strrchr.S: New file.
30638         * NEWS: Updated.
30640 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
30642         [BZ #17658]
30643         * stdlib/setenv.c: Fix memory leak when setting large,
30644         duplicate string.
30646 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
30648         [BZ #17273]
30649         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30650         and tabs from buffer before parsing fstab entry.
30651         * misc/tst-mntent.c (main): Add test for mount entry with
30652         trailing spaces and tabs.
30654 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
30656         [BZ #17748]
30657         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
30658         * math/fesetround.c (fesetround): Rename to __fesetround and
30659         define as weak alias of __fesetround.  Use libm_hidden_weak.
30660         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30661         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30662         * sysdeps/arm/fesetround.c (fesetround): Likewise.
30663         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30664         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30665         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30666         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30667         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30668         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30669         __fesetround_inline.
30670         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30671         __fesetround_inline instead of __fesetround.
30672         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30673         __fesetround and define as weak alias of __fesetround.  Use
30674         libm_hidden_weak.  Call __fesetround_inline instead of
30675         __fesetround.
30676         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30677         __fesetround and define as weak alias of __fesetround.  Use
30678         libm_hidden_weak.
30679         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30680         Likewise.
30681         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30682         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30683         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30684         * sysdeps/tile/math_private.h (__fesetround): New inline function.
30685         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30686         __fesetround and define as weak alias of __fesetround.  Use
30687         libm_hidden_weak.
30688         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30689         __fesetround instead of fesetround.
30690         (default_libc_feholdexcept_setround): Likewise.
30691         (libc_feholdsetround_ctx): Likewise.
30692         (libc_feholdsetround_noex_ctx): Likewise.
30694         [BZ #17748]
30695         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30696         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30697         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30698         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30699         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30700         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30701         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30702         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30703         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30704         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30705         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30706         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30707         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30708         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30709         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30710         libm_hidden_def.
30711         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30712         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30713         Likewise.
30714         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30715         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30716         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30717         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30718         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30719         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30720         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30721         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30722         __fesetenv instead of fesetenv.
30723         (libc_feresetround_noex_ctx): Likewise.
30724         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30725         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30726         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30727         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30728         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30729         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30730         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30731         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30732         (__feupdateenv): Likewise.
30733         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30734         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30735         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30736         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30738 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30740         [BZ #17806]
30741         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30742         addresses have been freed.
30744 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30746         * resolv/res_init.c (__res_vinit): Improve comments about nserv
30747         and nservall.
30749 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
30751         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30752         Clean up check_pf allocation pattern. addresses
30754 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30756         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30757         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30758         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30759         * nptl/pthread_exit.c (__pthread_exit): Likewise.
30760         * nptl/pthread_join.c (pthread_join): Likewise.
30761         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30762         * sysdeps/posix/waitid.c (__waitid): Likewise.
30763         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30764         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30765         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30766         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30768         Likewise.
30769         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30770         (__libc_pread64): Likewise.
30771         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30772         (__libc_pwrite): Likewise.
30773         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30774         (__libc_pwrite64): Likewsie.
30775         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30776         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30777         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30778         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30779         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30780         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30781         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30783         Likewise.
30784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30785         (__libc_pread64): Likewise.
30786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30787         Likewise.
30788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30789         (__libc_pwrite64): Likewise.
30790         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30791         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30792         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30793         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30794         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30795         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30796         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30797         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30798         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30799         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30800         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30801         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30802         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30803         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30804         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30805         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30806         Likewise.
30808 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30810         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30811         (CFLAGS-test-double.c): Likewise.
30812         (CFLAGS-test-ldouble.c): Likewise.
30813         (CPPFLAGS-test-ifloat.c): Likewise.
30814         (CPPFLAGS-test-idouble.c): Likewise.
30815         (CPPFLAGS-test-ildoubl.c): Likewise.
30816         (CFLAGS-test-test-fenv.c): Remove variable.
30817         (CFLAGS-test-misc.c): Likewise.
30819 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
30821         [BZ #17797]
30822         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30823         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30824         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30825         CLOCKS_PER_SEC == 1000000.
30826         * time/clocktest.c (main): Replace %ld with %jd and cast to
30827         intmax_t.
30829 2015-01-05  Roland McGrath  <roland@hack.frob.com>
30831         * sysdeps/generic/unwind-resume.h: New file.
30832         * sysdeps/gnu/unwind-resume.c: Include it.
30833         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30834         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30835         argument list.
30836         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30837         global rather than static.
30838         (_Unwind_Resume): Update user.
30839         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30840         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
30841         rather than static.  Add __attribute__ ((cold)).
30842         (_Unwind_Resume, __gcc_personality_v0): Update callers.
30843         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30844         * sysdeps/arm/arm-unwind-resume.S: New file.
30845         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30846         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30847         * sysdeps/arm/Makefile [$(subdir) = csu]
30848         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30849         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30850         Add rt-arm-unwind-resume.
30851         [$(subdir) = nptl]
30852         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30853         Add pt-arm-unwind-resume.
30854         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30855         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30857 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30859         [BZ #17748]
30860         * include/fenv.h (__feholdexcept): Declare.  Use
30861         libm_hidden_proto.
30862         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30863         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
30864         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30865         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30866         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30867         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30868         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30869         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30870         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30871         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30872         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30873         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30874         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30875         (feholdexcept): Likewise.
30876         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30877         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30878         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30879         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30880         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30881         __feholdexcept instead of feholdexcept.
30882         (default_libc_feholdexcept_setround): Likewise.
30884 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30886         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30887         to avoid using stl/str to align destination.
30889 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30891         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30893 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30895         [BZ #17796]
30896         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30897         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30898         Define as weak alias not strong alias.
30900 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30902         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30903         bltzal with addiupc.
30904         (RTLD_START): Ditto.
30906 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
30908         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30909         for __vdso_* functions in declarations.
30910         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30911         definitions.
30912         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30913         INTERNAL_VSYSCALL): Use struct return types to check for error.
30915         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30916         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30917         function with cast from llround().
30918         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30919         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30920         Define.
30922 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30924         [BZ #17793]
30925         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30926         Define as weak alias not strong alias.
30928         [BZ #17635]
30929         * ctype/ctype-c99.c: New file.  isblank implementation moved from
30930         ...
30931         * ctype/ctype-extn.c: ... here.
30932         (__isblank_l): Move to ...
30933         * ctype/ctype-c99_l.c: ... here.  New file.
30934         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30935         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30936         Remove variable.
30937         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30938         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30939         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30940         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30941         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30943         [BZ #17777]
30944         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30945         (posix_fadvise64): Define as weak alias not strong alias.
30946         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30947         (posix_fallocate64): Likewise.
30948         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30949         Remove variable.
30950         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30951         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30952         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30953         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30954         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30956 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
30958         [BZ #16191]
30959         * NEWS: Mention bug fix.
30960         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30961         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30962         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30963         (HOST_STACK_END_ADDR): Likewise.
30965 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30967         [BZ #17748]
30968         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
30969         * math/fegetround.c (fegetround): Rename to __fegetround and
30970         define as weak alias of __fegetround.  Use libm_hidden_weak.
30971         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30972         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30973         * sysdeps/arm/fegetround.c (fegetround): Likewise.
30974         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30975         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30976         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30977         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30978         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30979         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30980         Undefine after rather than before function definition; use
30981         parentheses around function name in definition.
30982         (__fegetround): Also undefine macro after function definition.
30983         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30984         __fegetround and define as weak alias of __fegetround.  Use
30985         libm_hidden_weak.  Do not undefine as macro.
30986         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30987         Likewise.
30988         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30989         __fegetround and define as weak alias of __fegetround.  Use
30990         libm_hidden_weak.
30991         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30992         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30993         * sysdeps/tile/math_private.h (__fegetround): New inline function.
30994         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30995         __fegetround and define as weak alias of __fegetround.  Use
30996         libm_hidden_weak.
30997         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30998         __fegetround instead of fegetround.
31000         [BZ #17782]
31001         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
31002         Condition macro definition on [__USE_MISC].
31004         [BZ #17781]
31005         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31006         (struct sigaction): Change type of sa_flags field to int.
31008         [BZ #17780]
31009         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
31010         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
31011         __glibc_reserved0.
31013         * nptl/version.c (banner): Use single year in copyright notice.
31015         * NEWS: Update copyright dates.
31016         * catgets/gencat.c (print_version): Likewise.
31017         * csu/version.c (banner): Likewise.
31018         * debug/catchsegv.sh: Likewise.
31019         * debug/pcprofiledump.c (print_version): Likewise.
31020         * debug/xtrace.sh (do_version): Likewise.
31021         * elf/ldconfig.c (print_version): Likewise.
31022         * elf/ldd.bash.in: Likewise.
31023         * elf/pldd.c (print_version): Likewise.
31024         * elf/sotruss.sh: Likewise.
31025         * elf/sprof.c (print_version): Likewise.
31026         * iconv/iconv_prog.c (print_version): Likewise.
31027         * iconv/iconvconfig.c (print_version): Likewise.
31028         * locale/programs/locale.c (print_version): Likewise.
31029         * locale/programs/localedef.c (print_version): Likewise.
31030         * login/programs/pt_chown.c (print_version): Likewise.
31031         * malloc/memusage.sh (do_version): Likewise.
31032         * malloc/memusagestat.c (print_version): Likewise.
31033         * malloc/mtrace.pl: Likewise.
31034         * manual/libc.texinfo: Likewise.
31035         * nptl/version.c (banner): Likewise.
31036         * nscd/nscd.c (print_version): Likewise.
31037         * nss/getent.c (print_version): Likewise.
31038         * nss/makedb.c (print_version): Likewise.
31039         * posix/getconf.c (main): Likewise.
31040         * scripts/test-installation.pl: Likewise.
31041         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
31043 2015-01-02  Will Newton  <will.newton@linaro.org>
31045         * sysdeps/arm/armv7/configure: Removed.
31046         * sysdeps/arm/armv7/configure.ac: Likewise.
31048 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
31050         * All files with FSF copyright notices: Update copyright dates
31051         using scripts/update-copyrights.
31052         * intl/plural.c: Regenerated.
31053         * locale/programs/charmap-kw.h: Likewise.
31054         * locale/programs/locfile-kw.h: Likewise.
31056 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31058         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
31060 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31062         [BZ #17748]
31063         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
31064         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
31065         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31066         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
31067         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31068         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
31069         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31070         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
31071         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31072         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31073         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31074         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31075         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31076         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31077         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31078         libm_hidden_def.
31079         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
31080         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
31081         Likewise.
31082         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31083         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31084         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31085         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31086         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
31087         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31088         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
31089         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31090         __fegetenv instead of fegetenv.
31091         (libc_feholdsetround_noex_ctx): Likewise.
31093 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31095         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
31096         (Elf_MIPS_ABIFlags_v0): New structure.
31097         (EF_MIPS_FP64): Define.
31098         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
31099         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
31100         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
31101         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
31102         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
31103         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
31104         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
31105         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
31106         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
31107         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
31108         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
31109         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
31110         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
31111         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
31112         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
31113         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
31114         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
31115         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
31116         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
31117         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
31118         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
31119         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
31120         field.
31121         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
31122         EF_MIPS_FP64.
31123         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
31124         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
31125         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
31126         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
31127         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
31128         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
31129         * sysdeps/mips/tst-abi-interlink.c: Likewise.
31130         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
31131         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
31132         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
31133         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
31134         record the current FP ABI extension.
31135         (mips-mode-switch): Define to show if kernel headers support mode
31136         switching.
31137         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31138         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
31139         supported SYSV ABI version to 3.
31140         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
31141         feature.
31143 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31144             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31146         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31147         path.
31148         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31150 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31152         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31153         __fegetround and redefine to call __fegetround.  Remove condition
31154         on [!__NO_MATH_INLINES].
31155         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31156         function.
31157         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31158         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31159         Remove macro.
31160         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31161         instead of <fenv_libc.h>.
31162         (__llrintl): Call fegetround instead of __fegetround.
31163         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31164         instead of <fenv_libc.h>.
31165         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31166         (__lrintl): Call fegetround instead of __fegetround.
31167         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31168         instead of <fenv_libc.h>.
31169         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31170         (__rintl): Call fegetround instead of __fegetround.
31172 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31174         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31175         arrays.
31177 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31179         [BZ #17775]
31180         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31181         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31182         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31184 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31186         * sysdeps/i386/tls-macros.h: Include <features.h>.
31187         (TLS_LE): Use non-PIC version for GCC >= 5.0.
31188         (TLS_IE): Likewise.
31189         (TLS_LD): Likewise.
31190         (TLS_GD): Likewise.
31191         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31192         define for GCC >= 5.0.
31194 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
31196         * math/test-fenv.c (test_single_exception, set_single_exc,
31197         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31198         feexcp_mask_test, feenable_test, fe_single_test): Add
31199         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31200         case where they are not used.
31201         * math/libm-test.inc: Likewise.
31202         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31203         unused in the absence of FP rounding/exception support.
31204         * stdio-common/tst-printf-round.c: Likewise.
31205         * stdlib/tst-strtod-round.c: Likewise.
31206         * stdlib/tst-strtod-underflow.c: Likewise.
31208 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
31210         [BZ #17723]
31211         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31212         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31213         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31214         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31215         libm_hidden_weak.
31216         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31217         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31218         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31219         libm_hidden_def.
31220         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31221         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31222         libm_hidden_weak.
31223         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31224         Likewise.
31225         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31226         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31227         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31228         libm_hidden_weak.
31229         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31230         libm_hidden_def.
31231         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31232         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31233         (__feraiseexcept): Likewise.
31234         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31235         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31236         libm_hidden_weak.
31237         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31238         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31239         libm_hidden_def.
31240         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31241         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31242         Use libm_hidden_def.
31243         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31244         libm_hidden_def.
31245         (feraiseexcept): Define as weak not strong alias.  Use
31246         libm_hidden_weak.
31247         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31248         New inline function.  Factored out of ...
31249         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
31250         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31251         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31252         feraiseexcept.
31253         * math/w_acos.c (__acos): Likewise.
31254         * math/w_asin.c (__asin): Likewise.
31255         * math/w_ilogb.c (__ilogb): Likewise.
31256         * math/w_j0.c (y0): Likewise.
31257         * math/w_j1.c (y1): Likewise.
31258         * math/w_jn.c (yn): Likewise.
31259         * math/w_log.c (__log): Likewise.
31260         * math/w_log10.c (__log10): Likewise.
31261         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31262         * sysdeps/aarch64/fpu/math_private.h
31263         (libc_feupdateenv_test_aarch64): Likewise.
31264         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31265         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31266         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31267         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31268         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31269         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31270         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31271         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31272         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31273         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31275 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31277         [BZ #17732]
31278         * io/test-utime.c (main): Replace %ld with %jd and cast to
31279         intmax_t.
31280         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31281         * nptl/tst-mutex5.c: Include <stdint.h>.
31282         (do_test): Replace %ld with %jd and cast to intmax_t.
31283         * posix/tst-regex.c (run_test): Likewise.
31284         (run_test_backwards): Likewise.
31285         * rt/tst-clock.c: Include <stdint.h>.
31286         (clock_test): Replace %ld with %jd and cast to intmax_t.
31287         * rt/tst-cpuclock1.c: Include <stdint.h>.
31288         (do_test): Replace %lu with %ju and cast to uintmax_t.
31289         * rt/tst-cpuclock2.c: Include <stdint.h>.
31290         (do_test): Replace %lu with %ju and cast to uintmax_t.
31291         * rt/tst-mqueue1.c: Include <stdint.h>.
31292         (check_attrs): Replace %ld with %jd and cast to intmax_t.
31293         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31294         intmax_t.
31295         * rt/tst-mqueue4.c (do_test): Likewise.
31296         * rt/tst-timer4.c: Include <stdint.h>.
31297         (check_ts): Replace %ld with %jd and cast to intmax_t.
31298         (do_test): Likewise.
31299         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31300         and cast to intmax_t.
31301         * sysdeps/pthread/tst-timer.c (main): Likewise.
31302         * time/clocktest.c (main): Likewise.
31303         * time/tst-posixtz.c (do_test): Likewise.
31304         * timezone/tst-timezone.c (main): Likewise.
31306 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31307             H.J. Lu  <hongjiu.lu@intel.com>
31309         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31310         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31311         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31312         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31313         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31314         version if bit_Fast_Unaligned_Load is set.
31315         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31316         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31317         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31318         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31319         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31320         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31321         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31322         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31323         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31324         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31325         to 4.
31326         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31327         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31328         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31329         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31331 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
31333         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31334         instead of #if to avoid a Wundef warning.
31335         * stdlib/tst-limits.c (do_test): Likewise.
31337         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31338         parallel other exception macros.
31339         (fegetenv): Convert from macro to extern inline so that it applies
31340         retroactively to inline functions already seen by the compiler.
31341         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31343         * posix/Makefile (before-compile): Use $(objpfx) for
31344         posix-conf-vars-def.h.
31346 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31348         * posix/getconf.c (main): Use size_t for type of I.
31349         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31350         NSPEC.
31352         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31353         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31354         * posix/posix-envs.def: Likewise.
31355         * sysdeps/posix/sysconf.c: Likewise.
31356         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31357         (specs): Remove array.
31358         * scripts/gen-posix-conf-vars.awk: Support generation of specs
31359         array.
31361         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31362         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31363         (__sysconf): Use CONF_IS_* macros.
31365         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31366         ($(objpfx)posix-conf-vars-def.h): New target.
31367         * posix/posix-conf-vars.list: New file.
31368         * posix/posix-conf-vars.h: New file.
31369         * posix/confstr.c: Include posix-conf-vars.h.
31370         (confstr): Use CONF_IS_* macros.
31371         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
31372         CONF_IS_* macros.
31373         * scripts/gen-posix-conf-vars.awk: New file.
31375 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
31377         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31378         fegetround): Add no-op macros to avoid linknamespace issues.
31380         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31381         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31383         * sysdeps/unix/sysv/linux/tile/sysdep.h
31384         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31385         assembly-specific section to avoid a redefinition warning.
31387         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31388         long before casting to pointer to avoid a cast warning.
31390 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
31392         * sysdeps/tile/tilegx/Implies: New file.
31394 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
31396         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31398 2014-12-23  Florian Weimer  <fweimer@redhat.com>
31400         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31402 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31404         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31405         not define.
31406         * sysdeps/unix/sysv/linux/utimes.c: Do not include
31407         <kernel-features.h>.
31408         (__utimes) [__NR_utimes]: Make code unconditional.
31409         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31410         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31411         (__ASSUME_UTIMES): Do not undefine.
31412         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31413         (__ASSUME_UTIMES): Likewise.
31414         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31415         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31416         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31417         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31419 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31421         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31423 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
31425         [BZ #17747]
31426         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31427         alias to weak alias for j0l, y0l.
31428         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31429         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31431         [BZ #17746]
31432         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31433         conversion.
31435 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31437         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31438         to zero if not already defined.
31440 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31442         [BZ #17724]
31443         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31444         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
31445         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
31446         (char *) casts added.
31447         * sysdeps/ieee754/k_standardf.c: New file.
31448         * sysdeps/ieee754/k_standardl.c: Likewise.
31449         * math/Makefile (libm-support): Remove k_standard.
31450         (libm-calls): Add k_standard.
31452 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31454         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31455         Optimize to avoid an unnecessary FPCR read.
31457 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31459         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31460         Optimize to reduce FPCR/FPSR accesses.
31462 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31464         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31465         Call libc_fetestexcept_aarch64.
31467 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31469         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31470         Call libc_fesetround_aarch64.
31472 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31474         [BZ #17733]
31475         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31476         (__bind): Do not define as weak alias.
31477         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31478         define.
31479         (__getsockname): Do not define as weak alias.
31481 2014-12-22  Will Newton  <will.newton@linaro.org>
31483         * manual/install.texi: Document that we require bison 2.7
31484         or above.
31485         * INSTALL: Regenerate.
31486         * configure.ac: Use AC_CHECK_PROG_VER instead of
31487         AC_PATH_PROG when checking for bison and check for
31488         version 2.7 or above.
31489         * configure: Regenerate.
31491 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
31493         [BZ #17745]
31494         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31495         * sysdeps/tile/ffsll.c (ffsll): To here.
31497         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31499 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31501         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31502         if not defined.
31503         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31504         definition.
31505         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31506         hidden ___tls_get_addr.
31507         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31508         hidden __tls_get_addr.
31509         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31510         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31511         Likewise.
31513 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31515         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31516         _dl_init call.
31518 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31520         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31521         from "call _dl_init@PLT".
31522         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31524 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
31526         * manual/search.texi: (Array Sort Function): Clarify stable sorting
31527         guarantees.
31529 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
31531         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31533 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31535         [BZ #17744]
31536         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31537         strnlen.
31539 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31541         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31542         of multu on MIPSr6.
31543         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31544         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31545         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31546         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31547         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31549 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31551         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31552         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31553         (PTR_SUBU): Use subu for mips32r6/mips64r6.
31554         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31555         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31556         mips32r6/mips64r6.
31557         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31559 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
31561         * string/strncat.c (STRNCAT): Simplify implementation.
31563 2014-12-19  David S. Miller  <davem@davemloft.net>
31565         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31566         access the quad as both a long double and as a series of 4 words.
31568         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31569         link_map->l_info array access.
31571 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31573         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31575         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31576         * math/atest-exp2.c (TIMEOUT): Likewise.
31577         * math/atest-sincos.c (TIMEOUT): Likewise.
31579 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31581         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31582         -Wno-error with -fno-builtin-lround.
31584 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31586         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31587         Contains futex constants and functions moved over from ...
31588         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
31589         <lowlevellock-futex.h>.
31590         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31591         (lll_timedwait_tid): Add comments and parentheses around macro
31592         arguments.
31594 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31596         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31597         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
31598         (__lll_private_flag): Remove.
31599         (lll_futex_wait): Likewise.
31600         (lll_futex_timed_wait): Likewise.
31601         (lll_futex_wake): Likewise.
31602         (lll_futex_requeue): Likewise.
31603         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31604         (__lll_timedwait_tid): Spell out argument names.
31605         (lll_timedwait_tid): Add comments and parentheses around macro
31606         arguments.
31607         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31608         LLL_SHARED and LLL_PRIVATE usable from assembly code.
31610 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31612         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31613         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31614         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31615         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31616         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31617         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31618         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31619         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31620         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31621         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31622         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31623         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31624         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31625         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31626         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31627         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31628         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31629         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31630         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31632 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31634         * sysdeps/x86_64/x32/Makefile: New file.
31636 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31638         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31639         1L with (mp_limb_t) 1.
31641 2014-12-17  Roland McGrath  <roland@hack.frob.com>
31643         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31644         * nptl/libc_pthread_init.c: ... here.
31645         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31646         * nptl/register-atfork.c: ... here.
31648         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31649         Use pthread_sigmask rather than INTERNAL_SYSCALL.
31650         Use assert_perror to check its return value.
31651         (__gai_create_helper_thread): Likewise.
31653         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31655         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31657 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
31659         [BZ #17725]
31660         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31661         __profil_counter.
31662         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31663         Likewise.
31664         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31665         Likewise.
31666         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31667         Likewise.
31668         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31669         (profil_counter): Likewise.
31670         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31671         (profil_counter): Likewise.
31672         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31673         Likewise.
31674         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31675         Likewise.
31676         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31677         (profil_counter): Likewise.
31678         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31679         Likewise.
31680         [!__profil_counter] (profil_counter): Define as weak alias of
31681         __profil_counter.
31682         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31683         (profil_counter): Rename to __profil_counter.
31684         [!__profil_counter] (profil_counter): Define as weak alias of
31685         __profil_counter.
31686         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31687         (profil_counter): Rename to __profil_counter.
31688         [!__profil_counter] (profil_counter): Define as weak alias of
31689         __profil_counter.
31690         * sysdeps/posix/profil.c: Update comment referring to
31691         profil_counter.
31692         (__profil): Use __profil_counter instead of profil_counter.
31693         * sysdeps/posix/sprofil.c (profil_counter): Rename to
31694         __profil_counter.  Use __profil_counter_ushort and
31695         __profil_counter_uint in definitions.
31696         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31697         instead of profil_counter_uint and profil_counter_ushort.
31699         [BZ #17722]
31700         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31701         define as weak alias of __inet_makeaddr.
31702         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31703         as weak alias of __inet_addr.
31704         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31705         as weak alias of __inet_pton.  Use libc_hidden_weak.
31706         * include/arpa/inet.h (__inet_pton): Declare.  Use
31707         libc_hidden_proto.
31708         (inet_makeaddr): Don't use libc_hidden_proto.
31709         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
31710         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31711         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
31712         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31713         Remove variable.
31714         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31715         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31717 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
31719         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31721 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31723         * stdio-common/bug-vfprintf-nargs.c (do_test):
31724         Cast value to intptr_t to avoid format warning
31725         for usage with PRIdPTR printing macro.
31727 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31729         * libio/tst-widetext.c (do_test):
31730         Use format type %td instead of %Zd for ptrdiff_t
31731         in order to avoid format warning.
31733 2014-12-17  Andreas Schwab  <schwab@suse.de>
31735         * nscd/mem.c (gc): Add size_t cast to match printf format.
31737 2014-12-16  Roland McGrath  <roland@hack.frob.com>
31739         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31740         (init): Apply PTR_MANGLE to pointers before storing them.
31741         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31742         before using them.
31744 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
31746         [BZ #17719]
31747         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31748         define as weak alias of __memrchr.
31749         (__memrchr): Do not define as strong alias of memrchr.
31750         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31751         Remove variable.
31752         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31753         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31754         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31756         [BZ #17717]
31757         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31758         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
31759         (if_indextoname): Rename to __if_indextoname and define as weak
31760         alias of __if_indextoname.  Use libc_hidden_weak.
31761         (if_freenameindex): Rename to __if_freenameindex and define as
31762         weak alias of __if_freenameindex.
31763         (if_nameindex): Rename to __if_nameindex and define as weak alias
31764         of __if_nameindex.
31765         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31766         __if_nametoindex and define as weak alias of __if_nametoindex.
31767         Use libc_hidden_weak.
31768         (if_freenameindex): Rename to __if_freenameindex and define as
31769         weak alias of __if_freenameindex.
31770         (if_nameindex): Rename to __if_nameindex and define as weak alias
31771         of __if_nameindex.
31772         (if_indextoname): Rename to __if_indextoname and define as weak
31773         alias of __if_indextoname.  Use libc_hidden_weak.
31774         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31775         __if_nametoindex and define as weak alias of __if_nametoindex.
31776         Use libc_hidden_weak.
31777         (if_freenameindex): Rename to __if_freenameindex and define as
31778         weak alias of __if_freenameindex.  Use libc_hidden_weak.
31779         (if_nameindex_netlink): Use __if_freenameindex instead of
31780         if_freenameindex.
31781         (if_nameindex): Rename to __if_nameindex and define as weak alias
31782         of __if_nameindex.  Use libc_hidden_weak.
31783         (if_indextoname): Rename to __if_indextoname and define as weak
31784         alias of __if_indextoname.  Use libc_hidden_weak.
31785         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31786         libc_hidden_proto.
31787         [!_ISOMAC] (__if_freenameindex): Likewise.
31788         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31789         if_nametoindex.
31790         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31791         variable.
31792         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31793         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31794         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31795         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31796         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31797         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31798         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31800         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31801         Remove variable.
31802         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31803         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31805 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31807         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31808         subscript above bounds'
31810         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31811         bounds.
31813 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
31815         * libio/tst-fopenloc.c: Use test-skeleton.c.
31817         * stdlib/tst-bsearch.c: Use test-skeleton.c.
31818         (entry): Rename to ITEM.
31819         (do_test, comp): Adjust.
31821         * stdio-common/tst-fseek.c: Use test-skeleton.c.
31823 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31825         * string/tester.c: Include <libc-internal.h>.
31826         (test_memset): Ignore -Wmemset-transposed-args.
31828 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31830         * misc/tst-mntent2.c (do_test): Fix warning.
31832 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31834         * elf/tst-unique4lib.cc(a): Mark as used.
31836 2014-12-16  Florian Weimer  <fweimer@redhat.com>
31838         [BZ #17630]
31839         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31840         names.
31842 2014-12-16  Allan McRae  <allan@archlinux.org>
31844         * stdio-common/Makefile (tests): Re-add bug26.
31846 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
31848         [BZ #17657]
31849         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31850         static array.
31852 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
31854         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31855         (__lll_lock_wait): Likewise.
31856         (__lll_timedlock_wait): Likewise.
31857         (__lll_timedwait_tid): Likewise.
31858         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31859         (__lll_robust_timedlock_wait): Likewise.
31860         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31861         (lll_cond_trylock): Likewise.
31862         (__lll_lock): Likewise.
31863         (__lll_robust_lock): Likewise.
31864         (__lll_cond_lock): Likewise.
31865         (lll_robust_cond_lock): Likewise.
31866         (__lll_timedlock): Likewise.
31867         (__lll_robust_timedlock): Likewise.
31868         (__lll_unlock): Likewise.
31869         (__lll_robust_unlock): Likewise.
31870         (lll_wait_tid): Likewise.
31871         (lll_timedwait_tid): Likewise.
31873 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31875         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31877 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31879         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31881 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31883         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31884         * stdio-common/tst-sprintf.c: Likewise.
31886 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31888         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31890 2014-12-15  Jeff Law  <law@redhat.com>
31892         [BZ #16617]
31893         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31894         on the heap.  (CVE-2012-3406)
31895         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31896         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
31897         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31899 2014-12-15  Will Newton  <will.newton@linaro.org>
31901         * manual/install.texi: Bump required version of texinfo
31902         to 4.7 from 4.5.
31903         * INSTALL: Regenerated.
31904         * configure.ac: Check for makeinfo version 4.7 and above.
31905         * configure: Regenerated.
31907 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31909         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31910         PREFIX, string constant to insert between directory and name.
31911         * sysdeps/posix/shm_open.c: Update caller.
31912         * sysdeps/posix/shm_unlink.c: Likewise.
31913         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31914         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31915         (SEM_SHM_PREFIX): New macro.
31916         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31917         [$(have-thread-library) = no].
31918         * nptl/Makefile (libpthread-routines): Add shm-directory.
31919         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31920         * sysdeps/nptl/shm-directory.h: New file.
31921         * sysdeps/posix/shm-directory.c
31922         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31923         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31924         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31925         INTERNAL_SYSCALL.
31926         (__where_is_shmfs): Function removed.
31927         (mountpoint, defaultmount, defaultdir, __namedsem_once):
31928         Variables removed.
31929         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31930         Use SHM_GET_NAME.
31931         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
31933         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31934         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31935         unconditional for use inside libpthread.
31936         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31938 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31940         * nptl/pthread_getaffinity.c: New file.
31941         * nptl/pthread_setaffinity.c: New file.
31942         * nptl/pthread_getname.c: New file.
31943         * nptl/pthread_setname.c: New file.
31945         * nptl/pthread_create.c (START_THREAD_DEFN)
31946         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31948 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31949             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31951         * resolv/res_send.c (send_vc): Disable warning resplen may
31952         be used uninitialized.
31954 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31956         * nptl/tst-mutex6.c
31957         (ATTR_NULL): New define checks ATTR against NULL.
31958         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31959         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31961 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
31963         [BZ #17581]
31964         * malloc/hooks.c
31965         (mem2mem_check): Revert my previous change.
31966         (malloc_check_get_size): Revert my previous change.
31967         (mem2chunk_check): Revert my previous change.
31969 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31971         * sysdeps/posix/shm-directory.c: New file.
31972         * sysdeps/posix/shm-directory.h: New file.
31973         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31974         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31975         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
31976         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31977         Transmute EPERM to EACCES.
31978         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31979         from ...
31980         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
31981         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31983 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31985         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31986         pointer and cast to uintptr_t.
31987         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31988         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31989         Add cast to avoid warning.
31990         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31992 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31994         * nptl/semaphore.h: Move to ...
31995         * sysdeps/pthread/semaphore.h: ... here.
31996         * Makefile (installed-headers): Change nptl/semaphore.h to
31997         sysdeps/pthread/semaphore.h.
31999 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32001         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
32002         generated error format strings.
32004         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
32005         -Wformat-extra-args warnings for scanf formats.
32006         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
32007         test of zero-length format (duh).
32008         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
32009         corner-case scanf format test.
32010         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
32011         generated fprintf format string.
32012         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
32013         corner-case sprintf format tests.
32014         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
32015         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
32016         -Wformat-extra-args warnings throughout.
32017         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
32018         (CFLAGS-scanf4.c): Likewise.
32019         (CFLAGS-scanf7.c): Likewise.
32020         (CFLAGS-tst-sprintf.c): Likewise.
32021         (CFLAGS-tst-printf.c): Likewise.
32022         (CFLAGS-tst-printfsz.c): Likewise.
32024 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
32026         * include/cpio.h: New file.
32027         * include/fmtmsg.h: Likewise.
32029         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
32030         corresponding format argument to size_t.
32031         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
32032         arguments.
32033         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
32034         corresponding format argument to size_t.
32035         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
32036         arguments.
32037         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
32038         corresponding format argument to size_t.
32039         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
32040         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
32041         (CFLAGS-tst-mbswcs2.c): Likewise.
32042         (CFLAGS-tst-mbswcs3.c): Likewise.
32043         (CFLAGS-tst-mbswcs4.c): Likewise.
32044         (CFLAGS-tst-mbswcs5.c): Likewise.
32045         (CFLAGS-tst-trans.c): Likewise.
32047 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32049         * posix/regexbug1.c (main): Use "%s" format with regerror results,
32050         rather than assuming they won't contain any '%'s.
32052 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
32054         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32055         inhibit_loop_to_libcall to avoid recursive calls.
32056         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
32057         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
32059 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
32061         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
32062         prototype.
32064 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
32066         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
32067         integer value instead of boolean.
32069 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
32071         * malloc/malloc.c: Fix powerof2 check.
32073 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32075         * locale/programs/locfile.h (maybe_swap_uint32):
32076         Remove inline and add unused attribute.
32078 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32080         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32081         Truncating assembler expression to a .long expression.
32083 2014-12-11  Andreas Schwab  <schwab@suse.de>
32085         * elf/rtld.c (struct map_args): Constify str member.
32086         (do_preload): Constify fname argument.
32088 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32090         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
32091         constants definition.
32093 2014-12-11  Andreas Schwab  <schwab@suse.de>
32095         [BZ #16657]
32096         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
32097         FORCE_ELISION instead of DO_ELISION.
32098         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
32099         Remove.
32100         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
32101         Likewise.
32103         * iconvdata/gconv-modules: Remove duplicate entry.
32105 2014-12-11  Will Newton  <will.newton@linaro.org>
32107         Merge gettext 0.19.3 into intl/.
32109         This involves a number of cosmetic changes to comments
32110         and ANSI function definitions and prototypes throughout
32111         all the files. The gettext copyright header is used but
32112         with the date ranges taken from the glibc copy.
32114         * NEWS: Add gettext merge to 2.21.
32115         * intl/bindtextdom.c: Switch to gettext copyright.
32116         Use ANSI definitions and prototypes.
32117         Use gl_* locking primitives rather than __libc_* ones.
32118         Use __builtin_expect rather than __glibc_likely/unlikely.
32119         * intl/dcgettext.c: Switch to gettext copyright.
32120         Use ANSI definitions and prototypes.
32121         * intl/dcigettext.c: Switch to gettext copyright.
32122         Use ANSI definitions and prototypes.
32123         (INTDIV0_RAISES_SIGFPE): New define.
32124         Use gl_* locking primitives rather than __libc_* ones.
32125         Include eval-plural.h instead of plural-eval.c.
32126         Use __builtin_expect rather than __glibc_likely/unlikely.
32127         * intl/dcngettext.c: Switch to gettext copyright.
32128         Use ANSI definitions and prototypes.
32129         * intl/dgettext.c: Likewise.
32130         * intl/dngettext.c: Likewise.
32131         * intl/plural-eval.c: Renamed to...
32132         * intl/eval-plural.h: ...this.
32133         * intl/explodename.c: Switch to gettext copyright.
32134         Use ANSI definitions and prototypes.
32135         (_nl_explode_name): Use strchr instead of __rawmemchr.
32136         * intl/finddomain.c: Switch to gettext copyright.
32137         Use ANSI definitions and prototypes.
32138         Use gl_* locking primitives rather than __libc_* ones.
32139         (_nl_find_domain): Use malloc rather than alloca for
32140         allocation of temporary locale name.
32141         * intl/gettext.c: Switch to gettext copyright.
32142         Use ANSI definitions and prototypes.
32143         * intl/gettextP.h: Switch to gettext copyright.
32144         Use ANSI definitions and prototypes.
32145         Use gl_* locking primitives rather than __libc_* ones.
32146         * intl/gmo.h: Switch to gettext copyright.
32147         (struct sysdep_string): Move struct segment_pair outside of
32148         struct definition.
32149         * intl/hash-string.c: Use ANSI definitions and prototypes.
32150         * intl/hash-string.h: Switch to gettext copyright.
32151         Use ANSI definitions and prototypes.
32152         * intl/l10nflist.c: Switch to gettext copyright.
32153         Use ANSI definitions and prototypes.
32154         (_nl_normalize_codeset): Avoid integer overflow.
32155         * intl/loadinfo.h: Switch to gettext copyright.
32156         Use ANSI definitions and prototypes.
32157         (LIBINTL_DLL_EXPORTED): New define.
32158         (PATH_SEPARATOR): New define.
32159         * intl/loadmsgcat.c: Switch to gettext copyright.
32160         * intl/localealias.c: Switch to gettext copyright.
32161         Use ANSI definitions and prototypes.
32162         (_nl_expand_alias): Use PATH_SEPARATOR.
32163         * intl/ngettext.c: Switch to gettext copyright.
32164         Use ANSI definitions and prototypes.
32165         * intl/plural-exp.c: Likewise.
32166         * intl/plural-exp.h: Switch to gettext copyright.
32167         Use ANSI definitions and prototypes.
32168         (struct expression): Move definition of enum operator outside
32169         of struct definition.
32170         * intl/plural.c: Regenerate.
32171         * intl/plural.y: Switch to gettext copyright.
32172         Use ANSI definitions and prototypes.
32173         Port to bison 3.0.
32174         * intl/textdomain.c: Switch to gettext copyright.
32175         Use ANSI definitions and prototypes.
32176         Use gl_* locking primitives rather than __libc_* ones.
32178 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
32180         * debug/warning-nop.c: Add used atrribute.
32182 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32184         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32186         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32187         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32188         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32190 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32191             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32193         [BZ #17634]
32194         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32195         Undefine after defining function.  Define as weak alias of
32196         __wcschr.  Use libc_hidden_weak.
32197         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
32198         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32199         (libc_hidden_def): Also define __GI___wcschr alias.
32200         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32201         __wcschr and define as weak alias of __wcschr.
32202         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32203         __wcschr.
32204         [!WCSCHR] (DEFAULT_WCSCHR): Define.
32205         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32206         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
32207         libc_hidden_weak.  Do not use libc_hidden_def.
32208         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32209         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32210         __GI___wcschr alias.
32211         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32212         [IS_IN (libc)] (wcschr): Define as macro expanding to
32213         __redirect_wcschr.
32214         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32215         [IS_IN (libc)] (__wcschr_power6): Likewise.
32216         [IS_IN (libc)] (__wcschr_power7): Likewise.
32217         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
32218         instead of wcschr.
32219         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32220         __libc_wcschr.
32221         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32222         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32223         __wcschr and define as weak alias of __wcschr.  Use
32224         libc_hidden_builtin_def.
32225         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32226         as weak alias of __wcschr.  Use libc_hidden_weak.
32227         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32228         wcschr.
32229         * time/era.c (_nl_init_era_entries): Likewise.
32230         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32231         variable.
32232         (test-xfail-XPG3/time.h/linknamespace): Likewise.
32233         (test-xfail-XPG4/time.h/linknamespace): Likewise.
32235 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32237         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32238         format for long int variable.
32240 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
32242         [BZ #10672]
32243         * manual/search.texi: (Array Sort Function): Remove claim how to make
32244         qsort stable.
32246 2014-12-10  Andreas Schwab  <schwab@suse.de>
32248         [BZ #12847]
32249         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32250         user-controlled locks.
32252 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
32254         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32255         register.
32257 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32259         * configure.ac (--disable-werror): New configure option.
32260         (enable_werror): New AC_SUBST.
32261         * configure: Regenerated.
32262         * config.make.in (enable-werror): New variable.
32263         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32264         -Wno-error=undef.
32265         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32266         * manual/install.texi (Configuring and compiling): Document
32267         --disable-werror.
32268         * INSTALL: Regenerated.
32269         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32270         (CFLAGS-tst-chk2.c): Likewise.
32271         (CFLAGS-tst-chk3.c): Likewise.
32272         (CFLAGS-tst-chk4.cc): Likewise.
32273         (CFLAGS-tst-chk5.cc): Likewise.
32274         (CFLAGS-tst-chk6.cc): Likewise.
32275         (CFLAGS-tst-lfschk1.c): Likewise.
32276         (CFLAGS-tst-lfschk2.c): Likewise.
32277         (CFLAGS-tst-lfschk3.c): Likewise.
32278         (CFLAGS-tst-lfschk4.cc): Likewise.
32279         (CFLAGS-tst-lfschk5.cc): Likewise.
32280         (CFLAGS-tst-lfschk6.cc): Likewise.
32282         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32283         (main): Disable -Wdeprecated-declarations around calls to
32284         register_printf_function.
32286         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32287         (do_test): Disable -Wdiv-by-zero around some calls to
32288         fwrite_unlocked and fread_unlocked.
32290         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32291         (DIAG_POP_NEEDS_COMMENT): Likewise.
32292         (_DIAG_STR1): Likewise.
32293         (_DIAG_STR): Likewise.
32294         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32295         * stdio-common/bug21.c: Include <libc-internal.h>.
32296         (do_test): Disable -Wformat around call to sscanf.
32297         * stdio-common/scanf14.c: Include <libc-internal.h>.
32298         (main): Disable -Wformat around some calls to scanf functions.
32300 2014-12-09  Torvald Riegel  <triegel@redhat.com>
32302         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32304 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32306         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32307         stack variable alignment.
32309 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
32311         [BZ #17682]
32312         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32313         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32314         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32315         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32316         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32317         __getrlimit instead of getrlimit.
32318         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32319         __gettimeofday instead of gettimeofday.
32320         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32321         Likewise.
32322         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32323         Likewise.
32324         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32325         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32326         Remove variable.
32327         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32328         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32330 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32332         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32333         for wide-character tests.
32335 2014-12-04  Roland McGrath  <roland@hack.frob.com>
32337         * io/openat64.c: #include <libc-internal.h>
32338         (__openat64): Prototypify.  Use ignore_value on MODE.
32339         * io/openat.c: Likewise.
32340         * misc/reboot.c: #include <libc-internal.h>
32341         (reboot): Prototypify.  Use ignore_value on HOWTO.
32342         * misc/ptrace.c: #include <libc-internal.h>
32343         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
32345 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
32347         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32348         XPG4, UNIX98 and XOPEN2K.
32349         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32350         Remove variable.
32351         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32353 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32355         * libio/fileops.c: Use ISO C style for function definitions.
32356         * libio/iofopen.c: Likewise.
32357         * libio/wfileops.c: Likewise.
32359         [BZ #17653]
32360         * libio/fileops.c (_IO_new_file_underflow): Unset cached
32361         offset on EOF.
32362         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32363         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32364         (fgets_func): Function pointer to fgets and fgetws.
32365         (do_ftell_test): Add test to verify ftell value after read
32366         EOF.
32367         (do_test): Set fgets_func.
32369         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32370         O_TRUNC flag for w and w+ modes.
32371         (do_rewind_test): Likewise.
32372         (do_ftell_test): Likewise.
32373         (do_write_test): Likewise.
32375         [BZ #17647]
32376         * libio/fileops.c (do_ftell): Seek only when there are
32377         unflushed writes.
32378         * libio/wfileops.c (do_ftell_wide): Likewise.
32379         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32380         test case.
32381         (do_one_test): Call it.
32383 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
32385         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32386         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32387         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32388         Remove variable.
32389         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32390         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32391         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32393 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32395         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32396         Remove variable.
32397         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32399         [BZ #17668]
32400         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32401         as weak alias of __getifaddrs.  Use libc_hidden_weak.
32402         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32403         __freeifaddrs.  Use libc_hidden_weak.
32404         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32405         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
32406         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32407         __freeifaddrs.  Use libc_hidden_weak.
32408         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32409         __getifaddrs and define as weak alias of __getifaddrs.  Use
32410         libc_hidden_weak.
32411         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32412         __freeifaddrs.  Use libc_hidden_weak.
32413         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32414         Remove variable.
32415         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32416         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32418 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32420         [BZ #17601]
32421         * sysdeps/mips/start.S (__start): Use indirect jump to call
32422         __libc_start_main.
32424 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32426         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32428         * nptl/tst-mutex1.c: Include <stdbool.h>.
32429         [!ATTR] (ATTR_NULL): New macro.
32430         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32431         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32432         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32434         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32435         to char *.
32437         [BZ #17665]
32438         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32439         Change conditional to [__USE_MISC].
32441         [BZ #17664]
32442         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32443         fgets_unlocked.
32444         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32445         __fgets_unlocked.
32446         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32447         fgets_unlocked.
32448         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32449         Remove variable.
32450         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32451         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32452         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32453         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32454         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32455         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32456         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32457         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32458         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32460         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32462 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32464         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32465         Remove strpbrk objects.
32466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32467         (__libc_ifunc_impl_list): Remove strpbrk implementation.
32468         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32469         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32470         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32471         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32473         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32474         Remove strcspn objects.
32475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32476         (__libc_ifunc_impl_list): Remove strcspn implementation.
32477         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32478         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32479         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32480         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32482         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32483         Remove strspn objetcs.
32484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32485         (__libc_ifunc_impl_list): Remove strspn implementation.
32486         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32487         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32488         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32489         * sysdeps/powerpc/powerpc64/strspn.S: New file.
32491 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
32493         [BZ #17581]
32494         * malloc/hooks.c
32495         (mem2mem_check): Add a terminator to the chain of checking blocks.
32496         (malloc_check_get_size): Use it here.
32497         (mem2chunk_check): Ditto.
32499 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32501         * sysdeps/powerpc/powerpc64/strtok.S: New file.
32502         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32504 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
32506         * bits/ioctl-types.h: Indent preprocessor directives correctly.
32508         * nptl/nptl-init.c: Include libc-internal.h.
32509         (__pthread_initialize_minimal_internal): Use ROUND_UP.
32511         * elf/ldconfig.c (search_dir): Expand comment.
32513 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
32515         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32516         variable.
32517         (linknamespace-symlist-stdlibs-tests): Likewise.
32518         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32519         instead of $(objpfx)symlist-stdlibs.
32520         (linknamespace-libs-isoc): New variable.
32521         (linknamespace-libs): Use $(linknamespace-libs-isoc).
32522         (linknamespace-libs-ISO): New variable.
32523         (linknamespace-libs-ISO99): Likewise.
32524         (linknamespace-libs-ISO11): Likewise.
32525         (linknamespace-libs-XPG3): Likewise.
32526         (linknamespace-libs-XPG4): Likewise.
32527         (linknamespace-libs-POSIX): Likewise.
32528         (linknamespace-libs-UNIX98): Likewise.
32529         (linknamespace-libs-XOPEN2K): Likewise.
32530         (linknamespace-libs-POSIX2008): Likewise.
32531         (linknamespace-libs-XOPEN2K8): Likewise.
32532         ($(objpfx)symlist-stdlibs): Replace by
32533         $(linknamespace-symlist-stdlibs-tests).  Use
32534         $(linknamespace-libs-$*) as set of libraries.
32535         ($(linknamespace-header-tests)): Update dependencies.  Use
32536         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32537         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32538         * conform/linknamespace.pl: Remove comment about considering
32539         definitions of symbols from irrelevant libraries.
32541 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
32543         [BZ #13862]
32544         * elf/dl-tls.c: Include <atomic.h>.
32545         (oom): Remove #ifdef SHARED/#endif.
32546         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32547         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
32548         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32549         big enough.
32550         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32551         * nptl/Makefile (tests): Add tst-stack4.
32552         (modules-names): Add tst-stack4mod.
32553         ($(objpfx)tst-stack4): New.
32554         (tst-stack4mod.sos): Likewise.
32555         ($(objpfx)tst-stack4.out): Likewise.
32556         ($(tst-stack4mod.sos)): Likewise.
32557         (clean): Likewise.
32558         * nptl/tst-stack4.c: New file.
32559         * nptl/tst-stack4mod.c: Likewise.
32561 2014-11-27  J. Brown  <jb999@gmx.de>
32563         * sysdeps/x86/bits/string.h: Add recent CPUs.
32565 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32567         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32568         sigblock.
32570         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32571         feof.
32573         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32574         variable.
32576 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
32578         * nscd/connections.c: Include libc-internal.h because of macro
32579         usage ignore_value.
32581 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32583         * string/bits/string3.h (__warn_memset_zero_len): Don't
32584         declare for gcc newer than 5.0.
32585         (memset): Don't test for zero-length __LEN for gcc newer than
32586         5.0.
32588 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32590         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32591         size_t for %zu format.
32593         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32594         difference, not %ju.
32596 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32598         * include/libc-internal.h (ignore_value): New macro.
32599         * nscd/connections.c (restart): Wrap calls to setuid and setgid
32600         with ignore_value.
32602         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32603         definition.
32605         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32606         pthread_cleanup_push to void *.
32608         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32609         Undefine.
32611         [BZ #16619]
32612         [BZ #16740]
32613         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32614         instead of 1L << 52.
32616         * libio/bug-rewind.c (do_test): Check fwscanf return values.
32617         * libio/bug-rewind2.c (do_test): Likewise.
32619         * debug/test-stpcpy_chk-ifunc.c: Remove file.
32620         * debug/test-strcpy_chk-ifunc.c: Likewise.
32621         * wcsmbs/test-wcschr-ifunc.c: Likewise.
32622         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32623         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32624         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32625         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32626         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32627         * Rules [$(multi-arch) = no] (tests): Do not filter out
32628         $(tests-ifunc).
32629         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32630         * debug/Makefile (tests-ifunc): Remove variable.
32631         (tests): Do not add $(tests-ifunc).
32632         * wcsmbs/Makefile (tests-ifunc): Remove variable.
32633         (tests): Do not add $(tests-ifunc).
32634         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32635         [TEST_IFUNC]: Remove conditionals.
32636         * string/test-string.h (TEST_IFUNC): Remove macro.
32637         [TEST_IFUNC]: Remove conditionals.
32639         * string/test-strchr.c [!WIDE] (L): New macro.
32640         [WIDE] (L): Likewise.
32641         (check1): Use CHAR instead of char.  Use L on string and character
32642         constants.
32644 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
32646         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32647         tests.
32648         * sysdeps/powerpc/bits/atomic.h
32649         (__arch_atomic_exchange_and_add_32_acq): Add definition.
32650         (__arch_atomic_exchange_and_add_32_rel): Likewise.
32651         (atomic_exchange_and_add_acq): Likewise.
32652         (atomic_exchange_and_add_rel): Likewise.
32653         * sysdeps/powerpc/powerpc32/bits/atomic.h
32654         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32655         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32656         * sysdeps/powerpc/powerpc64/bits/atomic.h
32657         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32658         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32660 2014-11-26  Torvald Riegel  <triegel@redhat.com>
32662         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32663         Change synchronization of __sched_fifo_min_prio and
32664         __sched_fifo_max_prio.
32665         * nptl/pthread_mutexattr_getprioceiling.c
32666         (pthread_mutexattr_getprioceiling): Likewise.
32667         * nptl/pthread_mutexattr_setprioceiling.c
32668         (pthread_mutexattr_setprioceiling): Likewise.
32669         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32670         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32671         Likewise.
32673 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32675         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32676         void.
32678 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32680         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32681         third argument const.
32683 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
32685         fnmatch: work around GCC compiler warning bug with uninit var
32686         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32687         This works around a bug with x86-64 GCC 4.9.2 and earlier
32688         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32689         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32690         used uninitialized in this function [-Wmaybe-uninitialized]".
32692 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32694         * posix/bug-regex31.c (main): Return RES not 0.
32696 2014-11-25  Anton Blanchard <anton@samba.org>
32698         * sysdeps/powerpc/bits/atomic.h
32699         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32701 2014-11-24  Sterling Augustine  <saugustine@google.com>
32703         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32705 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
32707         [BZ #17608]
32708         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32710 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
32712         [BZ #17633]
32713         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32714         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32715         variable.
32716         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32717         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32719 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32721         * string/strncpy.c (strncpy): Improve performance by using memset.
32723 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32725         * string/strcpy.c (strcpy):
32726         Improve performance by using strlen and memcpy.
32728 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
32730         * string/strcoll_l.c (get_next_seq): __always_inline.
32731         * string/strcoll_l.c (do_compare): __always_inline.
32733 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32735         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32736         defined.
32737         * include/mqueue.h: Likewise.
32738         * include/stdlib.h: Likewise.
32740         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32741         (get_null_defines): Adjust.
32742         * sunrpc/Makefile: Adjust comment.
32743         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32744         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32745         (CFLAGS-interp.c): Likewise.
32746         (CFLAGS-ldconfig.c): Likewise.
32747         (CPPFLAGS-.os): Likewise.
32748         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32749         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32750         * extra-modules.mk (extra-modules.mk): Likewise.
32751         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32752         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32753         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32754         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32755         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32756         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32757         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32758         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32759         * iconvdata/Makefile (CPPFLAGS): Likewise.
32760         (cpp-srcs-left): Add libof for all iconvdata routines.
32761         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32762         * include/assert.h: Likewise.
32763         * include/ctype.h: Likewise.
32764         * include/errno.h: Likewise.
32765         * include/libc-symbols.h: Likewise.
32766         * include/math.h: Likewise.
32767         * include/netdb.h: Likewise.
32768         * include/resolv.h: Likewise.
32769         * include/stdio.h: Likewise.
32770         * include/stdlib.h: Likewise.
32771         * include/string.h: Likewise.
32772         * include/sys/stat.h: Likewise.
32773         * include/wctype.h: Likewise.
32774         * intl/l10nflist.c: Likewise.
32775         * libidn/idn-stub.c: Likewise.
32776         * libio/libioP.h: Likewise.
32777         * nptl/libc_multiple_threads.c: Likewise.
32778         * nptl/pthreadP.h: Likewise.
32779         * posix/regex_internal.h: Likewise.
32780         * resolv/res_hconf.c: Likewise.
32781         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32782         * sysdeps/arm/memmove.S: Likewise.
32783         * sysdeps/arm/sysdep.h: Likewise.
32784         * sysdeps/generic/_itoa.h: Likewise.
32785         * sysdeps/generic/symbol-hacks.h: Likewise.
32786         * sysdeps/gnu/errlist.awk: Likewise.
32787         * sysdeps/gnu/errlist.c: Likewise.
32788         * sysdeps/i386/i586/memcpy.S: Likewise.
32789         * sysdeps/i386/i586/memset.S: Likewise.
32790         * sysdeps/i386/i686/memcpy.S: Likewise.
32791         * sysdeps/i386/i686/memmove.S: Likewise.
32792         * sysdeps/i386/i686/mempcpy.S: Likewise.
32793         * sysdeps/i386/i686/memset.S: Likewise.
32794         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32795         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32796         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32797         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32798         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32799         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32800         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32801         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32802         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32803         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32804         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32805         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32806         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32807         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32808         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32809         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32810         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32811         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32812         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32813         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32814         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32815         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32816         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32817         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32818         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32819         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32820         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32821         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32822         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32823         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32824         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32825         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32826         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32827         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32828         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32829         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32830         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32831         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32832         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32833         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32834         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32835         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32836         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32837         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32838         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32839         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32840         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32841         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32842         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32843         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32844         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32845         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32846         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32847         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32848         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32849         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32850         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32851         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32852         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32853         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32854         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32855         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32856         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32857         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32858         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32859         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32860         * sysdeps/posix/closedir.c: Likewise.
32861         * sysdeps/posix/opendir.c: Likewise.
32862         * sysdeps/posix/readdir.c: Likewise.
32863         * sysdeps/posix/rewinddir.c: Likewise.
32864         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32865         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32866         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32867         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32868         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32869         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32870         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32871         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32872         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32873         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32874         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32875         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32876         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32877         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32878         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32879         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32880         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32881         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32882         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32883         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32884         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32885         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32886         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32887         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32888         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32889         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32890         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32892         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32894         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32896         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32897         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32898         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32899         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32900         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32901         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32902         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32903         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32904         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32905         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32906         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32907         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32908         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32909         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32910         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32911         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32912         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32913         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32914         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32915         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32916         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32917         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32918         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32919         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32920         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32921         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32922         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32923         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32924         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32925         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32926         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32927         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32928         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32929         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32930         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32931         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32932         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32933         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32934         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32935         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32936         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32937         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32938         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32939         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32940         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32941         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32942         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32943         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32944         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32945         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32946         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32947         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32948         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32949         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32950         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32951         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32952         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32953         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32954         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32955         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32956         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32957         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32958         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32959         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32960         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32962         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32963         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32964         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32965         * sysdeps/unix/alpha/sysdep.S: Likewise.
32966         * sysdeps/unix/alpha/sysdep.h: Likewise.
32967         * sysdeps/unix/make-syscalls.sh: Likewise.
32968         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32969         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32970         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32971         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32972         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32973         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32974         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32975         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32976         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32977         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32978         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32979         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32980         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32981         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32982         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32983         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32984         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32985         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32986         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32987         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32988         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32989         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32990         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32991         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32992         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32993         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32994         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32997         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32998         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32999         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33000         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33001         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33002         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33003         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33004         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33006         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33007         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33008         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33009         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33010         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33011         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33012         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33013         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33014         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33015         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33016         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33017         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33018         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33019         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33020         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33021         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33022         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
33023         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33024         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33025         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33026         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
33027         * sysdeps/x86_64/memcpy.S: Likewise.
33028         * sysdeps/x86_64/memmove.c: Likewise.
33029         * sysdeps/x86_64/memset.S: Likewise.
33030         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
33031         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33032         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33033         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
33034         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
33035         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33036         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33037         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33038         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33039         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33040         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33041         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33042         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
33043         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33044         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33045         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
33046         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33047         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33048         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33049         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33050         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
33051         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33052         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33053         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33054         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33055         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33056         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33057         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
33058         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33059         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33060         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
33061         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33062         * sysdeps/x86_64/strcmp.S: Likewise.
33064         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
33066         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
33067         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
33068         * elf/rtld-Rules: Likewise.
33069         * elf/setup-vdso.h: Likewise.
33070         * include/assert.h: Likewise.
33071         * include/bits/stdlib-float.h: Likewise.
33072         * include/errno.h: Likewise.
33073         * include/sys/stat.h: Likewise.
33074         * include/unistd.h: Likewise.
33075         * sysdeps/aarch64/setjmp.S: Likewise.
33076         * sysdeps/alpha/setjmp.S: Likewise.
33077         * sysdeps/arm/__longjmp.S: Likewise.
33078         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
33079         * sysdeps/arm/setjmp.S: Likewise.
33080         * sysdeps/arm/sysdep.h: Likewise.
33081         * sysdeps/generic/_itoa.h: Likewise.
33082         * sysdeps/generic/dl-sysdep.h: Likewise.
33083         * sysdeps/generic/ldsodefs.h: Likewise.
33084         * sysdeps/i386/dl-tls.h: Likewise.
33085         * sysdeps/i386/setjmp.S: Likewise.
33086         * sysdeps/m68k/setjmp.c: Likewise.
33087         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
33088         * sysdeps/mach/hurd/opendir.c: Likewise.
33089         * sysdeps/posix/getcwd.c: Likewise.
33090         * sysdeps/posix/opendir.c: Likewise.
33091         * sysdeps/posix/profil.c: Likewise.
33092         * sysdeps/powerpc/dl-procinfo.h: Likewise.
33093         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33094         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33095         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33096         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33097         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
33098         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33099         * sysdeps/s390/dl-tls.h: Likewise.
33100         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33101         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33102         * sysdeps/sh/sh3/setjmp.S: Likewise.
33103         * sysdeps/sh/sh4/setjmp.S: Likewise.
33104         * sysdeps/unix/alpha/sysdep.h: Likewise.
33105         * sysdeps/unix/arm/sysdep.S: Likewise.
33106         * sysdeps/unix/i386/sysdep.S: Likewise.
33107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33108         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33109         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33110         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33111         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33112         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33113         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33114         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33115         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33116         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33117         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
33118         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33119         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33122         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33123         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33125         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33126         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33127         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33130         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33131         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33132         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33134         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33135         * sysdeps/x86_64/setjmp.S: Likewise.
33137         * include/math.h: Use IS_IN instead of IS_IN_libm.
33138         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
33139         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33140         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33141         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
33142         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33143         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33144         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33145         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33146         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33147         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33148         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33149         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33150         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33151         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33152         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33153         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33154         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33155         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33156         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33157         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33158         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33159         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33160         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33161         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33162         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33163         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33164         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33165         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33166         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33167         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33168         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33169         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33170         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33172         Likewise.
33173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33174         Likewise.
33175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33176         Likewise.
33177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33178         Likewise.
33179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33180         Likewise.
33181         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33182         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33183         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33184         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33185         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33186         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33192         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33193         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33194         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33195         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33196         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33197         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33198         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33199         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33200         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33201         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33202         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33203         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33204         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33205         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33207         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33209         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33210         * nptl/pthreadP.h: Likewise.
33211         * nptl_db/structs.def: Likewise.
33212         * sysdeps/arm/sysdep.h: Likewise.
33213         * sysdeps/nptl/bits/libc-lock.h: Likewise.
33214         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33215         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33216         * sysdeps/unix/alpha/sysdep.h: Likewise.
33217         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33218         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33219         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33220         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33221         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33222         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33223         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33224         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33225         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33226         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33227         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33228         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33229         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33230         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33234         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33235         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33236         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33237         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33238         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33239         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33240         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33241         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33242         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33244         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33245         * nptl/pthreadP.h: Likewise.
33246         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33247         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33248         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33249         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33250         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33251         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33252         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33253         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33254         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33255         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33256         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33257         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33259         Likewise.
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33261         Likewise.
33262         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33263         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33264         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33265         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33266         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33267         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33268         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33269         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33271         * dlfcn/dladdr.c: Use IS_IN.
33272         * dlfcn/dladdr1.c: Likewise.
33273         * dlfcn/dlclose.c: Likewise.
33274         * dlfcn/dlerror.c: Likewise.
33275         * dlfcn/dlinfo.c: Likewise.
33276         * dlfcn/dlmopen.c: Likewise.
33277         * dlfcn/dlopen.c: Likewise.
33278         * dlfcn/dlsym.c: Likewise.
33279         * dlfcn/dlvsym.c: Likewise.
33281         * include/ifaddrs.h: Use IS_IN.
33282         * inet/check_pf.c: Likewise.
33283         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33284         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33286         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33287         IS_IN_ldconfig.
33288         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33289         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33291         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33292         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33293         IS_IN (libc).
33295         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33297         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33298         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33299         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33300         * include/libc-symbols.h (IS_IN_LIB): New macro.
33301         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33302         * include/netdb.h: Likewise.
33303         * include/stap-probe.h: Remove all uses of IN_LIB.
33305         * Makeconfig (module-cppflags-real): Define MODULE_NAME
33306         instead of IN_MODULE.
33307         * include/libc-symbols.h (IN_MODULE): Define using
33308         MODULE_NAME.
33309         (PASTE_NAME, PASTE_NAME1): New macros.
33310         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33311         of IN_LIB.
33312         (STAP_PROBE_ASM): Likewise.
33314 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33316         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33317         __mach_init in dlopened libc.
33319 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
33321         * sysdeps/arm/preconfigure.ac: Delete EABI check.
33322         * sysdeps/arm/preconfigure: Regenerate.
33324 2014-11-21  Roland McGrath  <roland@hack.frob.com>
33326         * nptl/pthread_create.c (__pthread_create_2_1): Set
33327         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33328         when copying values from IATTR into PD.
33330 2014-11-21  Will Newton  <will.newton@linaro.org>
33331             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
33333         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33334         Refactor inline-asm.  Also add comment.
33336         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33337         ElfW macro instead of hardcoded Elf64 types.
33338         (la_aarch64_gnu_pltenter): Likewise.
33339         * sysdeps/aarch64/dl-machine.h
33340         (elf_machine_runtime_setup): Use ElfW(Addr).
33342         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33343         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33344         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33345         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33346         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33347         (R_AARCH64_TLS_DTPMOD64): Rename to ..
33348         (R_AARCH64_TLS_DTPMOD): This.
33349         (R_AARCH64_TLS_DTPREL64): Rename to ...
33350         (R_AARCH64_TLS_DTPREL): This.
33351         (R_AARCH64_TLS_TPREL64): Rename to ...
33352         (R_AARCH64_TLS_TPREL): This.
33353         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33354         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33355         R_AARCH64_TLS_TPREL64.
33356         (elf_machine_rela): Likewise.
33358 2014-11-21  Torvald Riegel  <triegel@redhat.com>
33360         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33361         by setting it to 0.  64b atomics are not supported currently.
33363 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33365         [BZ #16469]
33366         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33367         search domain names.
33369 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33371         [BZ #16469]
33372         * NEWS: Update.
33373         * resolv/res_query.c (__libc_res_nquerydomain): Retain
33374         trailing dot.
33375         * posix/tst-getaddrinfo5.c: New.
33376         * posix/Makefile (tests): Add it.
33378 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33380         [BZ #14498]
33381         * NEWS: Fixed.
33382         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33383         after parsing line but before break_if_match.
33384         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33385         if there is a protocol mismatch.
33387 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33389         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33390         because the potential race is on the user-supplied stream.
33392 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33394         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33395         string literal if not passed a buffer.
33396         * manual/job.texi (ctermid): Update reasoning, note deviation
33397         from posix, suggest mtasurace when not passed a buffer, for
33398         future non-preliminary safety notes.
33400 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33402         * manual/users.texi (cuserid): Fix MT-Safety note for the case
33403         of not passing it a buffer.
33404         Reported by Peng Haitao.
33406 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33408         * manual/Makefile ($(objpfx)stamp-summary): Require
33409         check-safety.sh to pass.
33410         * manual/check-safety.sh: Wish for verification that every
33411         @deftypefn and @deftypefun is followed by a @safety remark.
33413 2014-11-20  Roland McGrath  <roland@hack.frob.com>
33415         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33417         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33418         PTHREAD_CANCEL_ASYNCHRONOUS.
33419         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33420         send SIGCANCEL.
33422         * nptl/default-sched.h: New file.
33423         * sysdeps/unix/sysv/linux/default-sched.h: New file.
33424         * nptl/pthread_create.c: Include it.
33425         (__pthread_create_2_1): Use collect_default_sched instead of making
33426         Linux syscalls here directly.
33428 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33430         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33431         __pthread_once): Use C11 atomics.
33433 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33435         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33437 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33439         * include/atomic.h (__atomic_link_error, __atomic_check_size,
33440         atomic_thread_fence_acquire, atomic_thread_fence_release,
33441         atomic_thread_fence_seq_cst, atomic_load_relaxed,
33442         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33443         atomic_compare_exchange_weak_relaxed,
33444         atomic_compare_exchange_weak_acquire,
33445         atomic_compare_exchange_weak_release,
33446         atomic_exchange_acquire, atomic_exchange_release,
33447         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33448         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33449         atomic_fetch_and_acquire,
33450         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33452 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33454         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33455         USE_ATOMIC_COMPILER_BUILTINS): Define.
33456         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33457         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33458         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33459         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33460         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33461         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33462         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33463         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33464         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33465         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33466         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33467         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33468         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33469         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33470         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33471         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33472         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33473         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33474         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33475         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33476         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33477         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33478         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33479         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33480         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33481         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33482         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33483         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33484         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33486         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33488         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33490         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33491         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33492         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33494         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33497 2014-11-19  Roland McGrath  <roland@hack.frob.com>
33499         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33500         the sched_priority value here.  It was already checked when the user
33501         called pthread_attr_setschedparam.
33503         * nptl/tst-bad-schedattr.c: New file.
33504         * nptl/Makefile (tests): Add it.
33506 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
33507             Florian Weimer  <fweimer@redhat.com>
33508             Joseph Myers  <joseph@codesourcery.com>
33509             Adam Conrad  <adconrad@0c3.net>
33510             Andreas Schwab  <schwab@suse.de>
33511             Brooks  <bmoses@google.com>
33513         [BZ #17625]
33514         * wordexp-test.c (__dso_handle): Add prototype.
33515         (__register_atfork): Likewise.
33516         (__app_register_atfork): New function.
33517         (registered_forks): New global.
33518         (register_fork): New function.
33519         (test_case): Add 3 new tests for WRDE_CMDSUB.
33520         (main): Call __app_register_atfork.
33521         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33522         fork count is non-zero fail the test.
33523         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33524         is set.
33525         (parse_dollars): Remove check for WRDE_NOCMD.
33526         (parse_dquote): Likewise.
33528 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33530         * Makeconfig (built-modules): List non-library modules to be
33531         built.
33532         (module-cppflags): Include libc-modules.h for
33533         everything except shlib-versions.v.i.
33534         (CPPFLAGS): Use it.
33535         (before-compile): Add libc-modules.h.
33536         ($(common-objpfx)libc-modules.h,
33537         $(common-objpfx)libc-modules.stmp): New targets.
33538         (common-generated): Add libc-modules.h and libc-modules.stmp.
33539         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33540         * include/libc-symbols.h: Don't include libc-modules.h.
33541         * include/libc-modules.h: Remove file.
33542         * scripts/gen-libc-modules.awk: New script to generate
33543         libc-modules.h.
33544         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33545         Depend on libc-modules.stmp.
33547         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33549         * Makeconfig (in-module): Get value of libof set for the
33550         translation unit.
33551         (CPPFLAGS): Use $(in-module).
33552         * Makerules: Don't suffix routine names for nonlib.
33553         * include/libc-modules.h: New file.
33554         * include/libc-symbols.h: Include libc-modules.h
33555         (IS_IN): New macro to replace IS_IN_* macros.
33556         * elf/Makefile: Set libof-* for each routine.
33557         * elf/rtld-Rules: Likewise.
33558         * extra-modules.mk: Likewise.
33559         * iconv/Makefile: Likewise.
33560         * iconvdata/Makefile: Likewise.
33561         * locale/Makefile: Likewise.
33562         * malloc/Makefile: Likewise.
33563         * nss/Makefile: Likewise.
33564         * sysdeps/gnu/Makefile: Likewise.
33565         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33566         * sysdeps/unix/sysv/linux/Makefile: Likewise.
33567         * sysdeps/s390/s390-64/Makefile: Likewise.
33568         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
33569         CPPFLAGS for nscd instead of nonlib.
33571 2014-11-18  Roland McGrath  <roland@hack.frob.com>
33573         * nptl/createthread.c: New file.
33575         * nptl/createthread.c: Moved ...
33576         * sysdeps/unix/sysv/linux/createthread.c: ... here.
33578         * nptl/createthread.c: Add proper top-line comment.
33579         (do_clone): Folded into ...
33580         (create_thread): ... here.  Take new arguments STOPPED_START and
33581         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
33582         increment __nptl_threads, do event-reporting logic, do
33583         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33584         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
33585         resource cleanup if sched_setaffinity or sched_setscheduler fails,
33586         just send SIGCANCEL.
33587         * nptl/pthread_create.c: Forward-declare create_thread before
33588         including createthread.c.
33589         (start_thread): Use new macro START_THREAD_DEFN to replace defining
33590         declaration, and new macro START_THREAD_SELF to replace argument.
33591         Remove return statement.
33592         (report_thread_creation): New function.
33593         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
33594         synchronization logic, and __nptl_nthreads increment here, around
33595         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
33596         PD->parent_cancelhandling here, before create_thread.  When
33597         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33598         __deallocate_stack, and ENOMEM translation here.
33600 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
33602         [BZ #17616]
33603         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33604         (mptwo): Rename to __mptwo.
33605         (__inv): Use __mptwo instead of mptwo.
33606         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33607         (mptwo): Rename to __mptwo.
33608         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33609         of mpone and __mptwo instead of mptwo.
33610         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33611         instead of mpone.
33612         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33613         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33614         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33615         of mpone and __mptwo instead of mptwo.
33616         (__mpranred): Use __mpone instead of mpone.
33617         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33618         variable.
33619         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33620         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33621         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33622         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33623         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33624         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33625         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33626         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33627         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33628         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33629         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33630         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33631         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33632         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33633         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33634         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33635         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33636         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33637         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33639 2014-11-18  Tom de Vries  <tom@codesoucery.com>
33641         * manual/signal.texi (Primitives Interrupted by Signals): In section,
33642         replace BSD Handler xref with BSD Signal Handling.
33644 2014-11-17  Richard Henderson  <rth@redhat.com>
33646         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33647         (_FP_PACK_RAW_2): Remove.
33648         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33649         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33650         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33651         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33652         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33653         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33654         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33655         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33656         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33657         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33658         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33659         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33660         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33661         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33662         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33663         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33665 2014-11-14  Roland McGrath  <roland@hack.frob.com>
33667         * signal/signal.h [__USE_MISC]
33668         (struct sigvec): Remove type.
33669         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33670         (sigvec): Remove declaration.
33671         * sysdeps/posix/sigvec.c: Moved ...
33672         * signal/sigvec.c: ... here, replacing old file.
33673         (struct sigvec): New type, copied from old signal.h definition.
33674         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33675         (__sigvec): Convert definition to prototype.
33676         (sigvec): Replace weak_alias with compat_symbol.
33677         * signal/Versions (libc: GLIBC_2.21): New version set.
33678         * include/signal.h: Remove __sigvec declaration.
33679         * sysdeps/unix/bsd/sigvec.c: Remove file.
33680         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33681         * manual/signal.texi (BSD Handler): Remove subsection.
33682         Move siginterrupt up to ...
33683         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
33684         (Blocking in BSD): Fold subsection into its parent.
33685         * NEWS: Mention sigvec removal.
33687 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33689         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33690         (DLA_FMS): Make definition conditional only on [__FMA4__].
33691         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33692         definition.
33694         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33695         Make definition conditional only on [PROF].
33696         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33697         definition.
33698         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33699         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33701         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33702         !__GNUC__].
33703         * include/signal.h (__sigpause): Move declaration above call to
33704         libc_hidden_proto.
33705         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33706         variable.
33707         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33708         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33710 2014-11-14  David S. Miller  <davem@davemloft.net>
33712         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33713         Define before including <string/memcpy.c> and <string/mempcpy.c>.
33715 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33717         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33718         * configure: Regenerated.
33719         * manual/install.texi (Tools for Compilation): Document a
33720         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33721         compiler verified to work.
33722         * INSTALL: Regenerated.
33724         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33725         redeclare with asm name.
33726         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33727         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33728         including <string.h>.
33729         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33730         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33731         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33732         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33733         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33734         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33735         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33737 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
33739         * stdlib/strtol.c (__strtol): Use prototype definition.
33741         [BZ #17594]
33742         * stdlib/strtol.c (SYM__): New macro.
33743         (SYM__1): Likewise.
33744         (__strtol): Likewise.
33745         (strtol): Rename to __strtol and define as weak alias of
33746         __strtol.  Use libc_hidden_weak.
33748 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33750         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33751         Use numbered labels in inline assembly.
33753 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33755         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33756         Add setjmp LIBC_PROBE.
33757         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33758         Likewise.
33759         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33760         Add longjmp, longjmp_target LIBC_PROBE.
33761         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33762         Likewise.
33764 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33766         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33767         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33768         to get rid of unused variable warning.
33770 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33772         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33773         Check for unwind_backtrace ==  NULL only in SHARED case.
33774         (__backchain_backtrace): Compile only in SHARED case.
33775         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33776         Likewise.
33777         (__backchain_backtrace): Declare as static.
33779 2014-11-12  Roland McGrath  <roland@hack.frob.com>
33781         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33782         (__libc_multiple_threads_ptr): Variable moved ...
33783         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33785 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
33787         * conform/GlibcConform.pm: New file.
33788         * conform/conformtest.pl: Use GlibcConform module.
33789         * conform/linknamespace.pl: New file.
33790         * conform/list-header-symbols.pl: Likewise.
33791         * conform/Makefile (linknamespace-symlists-base): New variable.
33792         (linknamespace-symlists-tests): Likewise.
33793         (linknamespace-header-base): Likewise.
33794         (linknamespace-header-tests): Likewise.
33795         (tests-special): Add new tests.
33796         ($(linknamespace-symlists-tests)): New rule.
33797         (linknamespace-libs): New variable.
33798         ($(objpfx)symlist-stdlibs): New rule.
33799         ($(linknamespace-header-tests)): Likewise.
33800         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33801         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33802         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33803         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33804         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33805         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33806         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33807         (test-xfail-ISO/math.h/linknamespace): Likewise.
33808         (test-xfail-ISO/signal.h/linknamespace): Likewise.
33809         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33810         (test-xfail-ISO/time.h/linknamespace): Likewise.
33811         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33812         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33813         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33814         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33815         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33816         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33817         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33818         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33819         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33820         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33821         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33822         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33823         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33824         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33825         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33826         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33827         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33828         (test-xfail-XPG3/search.h/linknamespace): Likewise.
33829         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33830         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33831         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33832         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33833         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33834         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33835         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33836         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33837         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33838         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33839         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33840         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33841         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33842         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33843         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33844         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33845         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33846         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33847         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33848         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33849         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33850         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33851         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33852         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33853         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33854         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33855         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33856         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33857         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33858         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33859         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33860         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33861         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33862         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33863         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33864         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33865         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33866         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33867         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33868         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33869         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33870         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33871         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33872         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33873         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33874         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33875         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33876         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33877         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33878         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33879         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33880         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33881         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33882         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33883         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33884         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33885         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33886         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33887         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33888         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33889         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33890         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33891         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33892         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33893         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33894         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33895         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33896         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33897         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33898         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33899         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33900         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33901         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33902         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33903         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33904         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33905         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33906         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33907         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33908         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33909         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33910         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33911         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33912         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33913         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33914         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33915         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33916         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33917         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33918         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33919         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33920         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33921         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33922         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33923         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33924         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33925         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33926         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33927         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33928         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33929         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33930         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33931         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33932         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33933         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33934         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33935         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33936         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33937         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33938         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33939         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33940         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33941         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33942         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33943         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33944         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33945         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33946         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33947         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33948         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33949         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33950         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33951         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33952         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33953         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33954         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33955         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33956         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33957         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33958         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33959         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33960         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33962         [BZ #17589]
33963         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33964         of fgets_unlocked.
33966         [BZ #17585]
33967         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33968         (memmem): Rename to __memmem and define as weak alias of
33969         __memmem.  Use libc_hidden_weak.
33970         (__memmem): Use libc_hidden_def.
33971         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
33972         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33973         memmem.
33975         [BZ #17582]
33976         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33977         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
33978         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33979         and define as weak alias of __fgets_unlocked.  Use
33980         libc_hidden_weak.
33981         (__fgets_unlocked): Use libc_hidden_def.
33982         * include/stdio.h (__fgets_unlocked): Declare.  Use
33983         libc_hidden_proto.
33984         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33985         __fgets_unlocked instead of fgets_unlocked.
33986         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33987         (GET_NPROCS_CONF_PARSER): Likewise.
33988         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33989         (GET_NPROCS_CONF_PARSER): Likewise.
33991         [BZ #17574]
33992         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33993         weak alias of __wmemset.  Use libc_hidden_weak.
33994         (__wmemset): Use libc_hidden_def.
33995         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
33996         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33997         of wmemset.
33999         [BZ #17573]
34000         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
34001         with asm name __mempcpy.
34002         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
34004         [BZ #17572]
34005         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
34006         and define as weak alias of __rawmemchr.
34007         (__rawmemchr): Do not define as strong alias of rawmemchr.
34009         [BZ #17571]
34010         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
34011         alias of __qsort_r.
34012         (qsort): Call __qsort_r instead of qsort_r.
34013         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
34014         (__qsort_r): Declare.  Call libc_hidden_proto.
34015         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
34016         instead of qsort_r.
34017         * nscd/gai.c (__qsort_r): Define to qsort_r.
34018         * posix/tst-rfc3484.c (__qsort_r): Likewise.
34019         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
34020         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
34022         [BZ #17570]
34023         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
34024         define as weak alias of __malloc_info.
34026         [BZ #17584]
34027         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
34028         as weak alias of __rewinddir.  Don't use libc_hidden_def.
34029         (__rewinddir): Use libc_hidden_def.
34030         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
34031         as weak alias of __rewinddir.  Don't use libc_hidden_def.
34032         (__rewinddir): Use libc_hidden_def.
34033         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
34034         weak alias of __rewinddir.  Don't use libc_hidden_def.
34035         (__rewinddir): Use libc_hidden_def.
34036         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
34037         (__rewinddir): Use libc_hidden_proto.
34038         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
34039         rewinddir.
34040         (__getcwd): Use __rewinddir instead of rewinddir.
34042         [BZ #17583]
34043         * libio/fileno.c (fileno): Rename to __fileno and define as weak
34044         alias of __fileno.  Use libc_hidden_weak.
34045         (__fileno): Use libc_hidden_def.
34046         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
34047         * libio/ftello.c (ftello): Rename to __ftello and define as weak
34048         alias of __ftello.
34049         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
34050         __ftello.
34051         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
34052         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
34053         libc_hidden_def.
34054         (fread_unlocked): Don't use libc_hidden_ver.
34055         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
34056         and define as weak alias of __fread_unlocked.  Don't use
34057         libc_hidden_def.
34058         (__fread_unlocked): Use libc_hidden_def.
34059         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
34060         (ftello): Don't use libc_hidden_proto.
34061         (__ftello): Declare.  Use libc_hidden_proto.
34062         (fread_unlocked): Don't use libc_hidden_proto.
34063         (__fread_unlocked): Declare.  Use libc_hidden_proto.
34064         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
34065         and __ftello instead of fileno, fread_unlocked and ftello.
34067 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34069         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
34070         GOT12.
34071         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34072         Likewise.
34073         (_dl_start_user): Likewise.
34074         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
34076 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
34077             Siddhesh Poyarekar  <siddhesh@redhat.com>
34079         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
34080         Move argv and envp down instead of moving argc up.
34081         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
34083 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
34085         [BZ #17506]
34086         * test-skeleton.c (main): Return successful if one of
34087         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
34088         * string/tst-strcoll-overflow.c: Define expected status.
34090 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
34092         [BZ #17475]
34093         * locale/iso-639.def: Define Bhili and Tulu language codes.
34095 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
34097         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
34099 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
34101         [BZ #17555]
34102         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
34104 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34106         * configure.ac: Updated check of minimal required version to
34107         2.22.
34108         * manual/install.texi (Tools for Compilation): Updated version
34109         number.
34110         * configure: Regenerated.
34111         * INSTALL: Likewise.
34113 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
34115         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
34116         __tls_get_addr.
34118 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
34120         * include/sys/wait.h (__libc_waitpid): Remove declaration.
34121         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
34122         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34123         libc_hidden_weak.
34124         (waitpid): Define as alias of __waitpid.
34125         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
34126         __waitpid.
34127         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34128         libc_hidden_weak.
34129         (waitpid): Define as alias of __waitpid.
34130         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
34131         __libc_waitpid alias.
34132         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
34133         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
34134         Likewise.
34135         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
34136         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
34137         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
34138         alias.
34139         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
34140         __waitpid.
34141         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34142         libc_hidden_weak.
34143         (waitpid): Define as alias of __waitpid.
34145 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
34147         * manual/llio.texi: Add comment that write safety has been
34148         fixed in Linux.
34150         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34151         (localplt-build-dso): Add elf/ld.so.
34152         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34153         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34154         and free for ld.so.
34155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34156         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34158         Likewise.
34159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34160         Likewise.
34161         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34162         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34163         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34164         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34165         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34166         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34167         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34168         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34169         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34170         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34171         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34173 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
34175         [BZ #14132]
34176         * include/libc-symbols.h (INTUSE): Remove macro.
34177         (INTDEF): Likewise.
34178         (INTVARDEF): Likewise.
34179         (_INTVARDEF): Likewise.
34180         (INTDEF2): Likewise.
34181         (INTVARDEF2): Likewise.
34182         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34183         rtld_hidden_def instead of INTVARDEF.
34184         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34185         (_dl_starting_up_internal): Remove declaration.
34186         (_dl_starting_up): Use rtld_hidden_proto.
34187         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34188         declaration.
34189         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34190         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34191         _dl_starting_up.
34192         * elf/dl-writev.h (_dl_writev): Likewise.
34193         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34194         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34195         _dl_starting_up_internal.
34197 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34199         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34200         test-skeleton.c.
34202 2014-11-05  Will Newton  <will.newton@linaro.org>
34204         * benchtests/Makefile: (bench-malloc): Add malloc thread
34205         scalability benchmark.
34206         * benchtests/bench-malloc-threads.c: New file.
34208 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
34210         * sysdeps/aarch64/strchrnul.S: New file.
34212 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34214         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34215         definition.
34216         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34217         Likewise.
34218         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34219         Likewise.
34220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34221         Likewise.
34222         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34223         Likewise.
34224         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34225         Likewise.
34227 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
34229         * catgets/test-gencat.c: Use test-skeleton.c.
34230         * catgets/tst-catgets.c: Likewise.
34231         * csu/tst-empty.c: Likewise.
34232         * elf/tst-audit2.c: Likewise.
34233         * elf/tst-global1.c: Likewise.
34234         * elf/tst-pathopt.c: Likewise.
34235         * elf/tst-piemod1.c: Likewise.
34236         * elf/tst-tls10.c: Likewise.
34237         * elf/tst-tls11.c: Likewise.
34238         * elf/tst-tls12.c: Likewise.
34239         * gnulib/tst-gcc.c: Likewise.
34240         * iconvdata/tst-e2big.c: Likewise.
34241         * iconvdata/tst-loading.c: Likewise.
34242         * iconv/tst-iconv1.c: Likewise.
34243         * iconv/tst-iconv2.c: Likewise.
34244         * inet/test-inet6_opt.c: Likewise.
34245         * inet/tst-gethnm.c: Likewise.
34246         * inet/tst-network.c: Likewise.
34247         * inet/tst-ntoa.c: Likewise.
34248         * intl/tst-codeset.c: Likewise.
34249         * intl/tst-gettext2.c: Likewise.
34250         * intl/tst-gettext3.c: Likewise.
34251         * intl/tst-ngettext.c: Likewise.
34252         * intl/tst-translit.c: Likewise.
34253         * io/test-stat.c: Likewise.
34254         * libio/test-fmemopen.c: Likewise.
34255         * libio/tst-freopen.c: Likewise.
34256         * libio/tst-sscanf.c: Likewise.
34257         * libio/tst-ungetwc1.c: Likewise.
34258         * libio/tst-ungetwc2.c: Likewise.
34259         * libio/tst-widetext.c: Likewise.
34260         * localedata/tst-ctype.c: Likewise.
34261         * localedata/tst-digits.c: Likewise.
34262         * localedata/tst-leaks.c: Likewise.
34263         * localedata/tst-mbswcs1.c: Likewise.
34264         * localedata/tst-mbswcs2.c: Likewise.
34265         * localedata/tst-mbswcs3.c: Likewise.
34266         * localedata/tst-mbswcs4.c: Likewise.
34267         * localedata/tst-mbswcs5.c: Likewise.
34268         * localedata/tst-setlocale.c: Likewise.
34269         * localedata/tst-trans.c: Likewise.
34270         * localedata/tst-wctype.c: Likewise.
34271         * localedata/tst-xlocale1.c: Likewise.
34272         * login/tst-grantpt.c: Likewise.
34273         * malloc/tst-calloc.c: Likewise.
34274         * malloc/tst-malloc.c: Likewise.
34275         * malloc/tst-mallocstate.c: Likewise.
34276         * malloc/tst-mcheck.c: Likewise.
34277         * malloc/tst-mtrace.c: Likewise.
34278         * malloc/tst-obstack.c: Likewise.
34279         * math/atest-exp2.c: Likewise.
34280         * math/atest-exp.c: Likewise.
34281         * math/atest-sincos.c: Likewise.
34282         * math/test-matherr.c: Likewise.
34283         * math/test-misc.c: Likewise.
34284         * math/test-powl.c: Likewise.
34285         * math/tst-definitions.c: Likewise.
34286         * misc/tst-dirname.c: Likewise.
34287         * misc/tst-efgcvt.c: Likewise.
34288         * misc/tst-fdset.c: Likewise.
34289         * misc/tst-hsearch.c: Likewise.
34290         * misc/tst-mntent2.c: Likewise.
34291         * nptl/tst-sem7.c: Likewise.
34292         * nptl/tst-sem8.c: Likewise.
34293         * nptl/tst-sem9.c: Likewise.
34294         * nss/test-netdb.c: Likewise.
34295         * posix/tst-fnmatch.c: Likewise.
34296         * posix/tst-getlogin.c: Likewise.
34297         * posix/tst-gnuglob.c: Likewise.
34298         * posix/tst-mmap.c: Likewise.
34299         * pwd/tst-getpw.c: Likewise.
34300         * resolv/tst-inet_ntop.c: Likewise.
34301         * rt/tst-timer.c: Likewise.
34302         * stdio-common/test-fseek.c: Likewise.
34303         * stdio-common/test-popen.c: Likewise.
34304         * stdio-common/test-vfprintf.c: Likewise.
34305         * stdio-common/tst-cookie.c: Likewise.
34306         * stdio-common/tst-fileno.c: Likewise.
34307         * stdio-common/tst-gets.c: Likewise.
34308         * stdio-common/tst-obprintf.c: Likewise.
34309         * stdio-common/tst-perror.c: Likewise.
34310         * stdio-common/tst-sprintf2.c: Likewise.
34311         * stdio-common/tst-sprintf3.c: Likewise.
34312         * stdio-common/tst-sprintf.c: Likewise.
34313         * stdio-common/tst-swprintf.c: Likewise.
34314         * stdio-common/tst-tmpnam.c: Likewise.
34315         * stdio-common/tst-unbputc.c: Likewise.
34316         * stdio-common/tst-wc-printf.c: Likewise.
34317         * stdlib/tst-environ.c: Likewise.
34318         * stdlib/tst-fmtmsg.c: Likewise.
34319         * stdlib/tst-limits.c: Likewise.
34320         * stdlib/tst-rand48-2.c: Likewise.
34321         * stdlib/tst-rand48.c: Likewise.
34322         * stdlib/tst-random2.c: Likewise.
34323         * stdlib/tst-random.c: Likewise.
34324         * stdlib/tst-strtol.c: Likewise.
34325         * stdlib/tst-strtoll.c: Likewise.
34326         * stdlib/tst-tls-atexit.c: Likewise.
34327         * stdlib/tst-xpg-basename.c: Likewise.
34328         * string/test-ffs.c: Likewise.
34329         * string/tst-bswap.c: Likewise.
34330         * string/tst-inlcall.c: Likewise.
34331         * string/tst-strtok.c: Likewise.
34332         * string/tst-strxfrm.c: Likewise.
34333         * sysdeps/x86_64/tst-audit10.c: Likewise.
34334         * sysdeps/x86_64/tst-audit3.c: Likewise.
34335         * sysdeps/x86_64/tst-audit4.c: Likewise.
34336         * sysdeps/x86_64/tst-audit5.c: Likewise.
34337         * time/tst-ftime_l.c: Likewise.
34338         * time/tst-getdate.c: Likewise.
34339         * time/tst-mktime3.c: Likewise.
34340         * time/tst-mktime.c: Likewise.
34341         * time/tst-posixtz.c: Likewise.
34342         * time/tst-strptime2.c: Likewise.
34343         * time/tst-strptime3.c: Likewise.
34344         * wcsmbs/tst-btowc.c: Likewise.
34345         * wcsmbs/tst-mbrtowc.c: Likewise.
34346         * wcsmbs/tst-mbsrtowcs.c: Likewise.
34347         * wcsmbs/tst-wchar-h.c: Likewise.
34348         * wcsmbs/tst-wcpncpy.c: Likewise.
34349         * wcsmbs/tst-wcrtomb.c: Likewise.
34350         * wcsmbs/tst-wcsnlen.c: Likewise.
34351         * wcsmbs/tst-wcstof.c: Likewise.
34353 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
34355         [BZ #14132]
34356         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34357         INTDEF.
34358         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34359         declaration.
34360         (_dl_mcount): Use rtld_hidden_proto.
34361         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34362         _dl_mcount.
34363         * elf/rtld.c (_rtld_global_ro): Likewise.
34365         [BZ #14132]
34366         * elf/dl-init.c (_dl_init): Don't use INTDEF.
34367         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34368         of _dl_init_internal.
34369         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34370         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34371         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34372         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34373         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34374         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34375         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34376         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34377         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34378         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34379         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34380         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34381         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34382         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34383         * sysdeps/tile/dl-start.S (_start): Likewise.
34384         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34385         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34387         [BZ #14132]
34388         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34389         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34390         (rtld_progname): Make macro definition unconditional.
34391         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34392         INTDEF.
34393         (dlmopen_doit): Do not use INTUSE with _dl_argv.
34394         (dl_main): Likewise.
34395         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34396         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34397         instead of _dl_argv_internal.
34398         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34399         __GI__dl_argv instead of INTUSE(_dl_argv).
34400         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34401         __GI__dl_argv instead of _dl_argv_internal.
34403         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34404         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34405         macro.
34406         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34407         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34408         New macro.
34409         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34410         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34411         macro.
34412         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34413         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34415 2014-11-04  Andreas Schwab  <schwab@suse.de>
34417         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34419 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34421         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34422         mtvsrd instruction in binary form.
34424 2014-11-03  Andreas Schwab  <schwab@suse.de>
34426         [BZ #17522]
34427         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34428         for less than MB_LEN_MAX use a local buffer of that size.
34429         * libio/tst-fputws.c: New file.
34430         * libio/Makefile (tests): Add tst-fputws.
34432 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
34434         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34435         the size of the fpu_fr.fpu_dregs[] array.
34437 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
34439         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34440         (__nanosleep): Do not define as alias.
34441         (nanosleep): Define as alias of __nanosleep.
34442         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34443         __libc_nanosleep name.
34445 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34447         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34448         install.texi in comment.
34450 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34452         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34453         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34454         ... add here and use lwsync or sync ...
34455         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34456         ... and add here using lwsync.
34458 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34460         * elf/dl-machine-reject-phdr.h: New file.
34461         * elf/dl-load.c: #include that.
34462         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34463         if that returned true.
34465 2014-10-31  Roland McGrath  <roland@hack.frob.com>
34467         [BZ #17496]
34468         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34469         gen-as-const-headers chunk.  Add a big scare comment after the last
34470         safe place to touch before-compile.
34472 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34474         * manual/install.texi (Tools for Compilation): Update autoconf
34475         version requirements.
34476         * INSTALL: Regenerated.
34478         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34479         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34480         (__libc_pselect): Likewise.
34482         [BZ #14138]
34483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34488 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34490         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34491         correct barrier instruction.
34492         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34493         Likewise.
34494         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34495         Likewise.
34497 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34499         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34500         after defining inlines.  Instead, just use parens to defeat macro
34501         expansion of __isctype in its declaration.
34503 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34505         * include/sys/uio.h (__libc_readv): Remove declaration.
34506         (__libc_writev): Likewise.
34507         * misc/readv.c (__libc_readv): Rename to __readv.
34508         (__readv): Do not define as alias.
34509         (readv): Define as alias of __readv.
34510         * misc/writev.c (__libc_writev): Rename to __writev.
34511         (__writev): Do not define as alias.
34512         (writev): Define as alias of __writev.
34513         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34514         (__readv): Do not define as alias.
34515         (readv): Define unconditionally as alias of __readv.
34516         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34517         (__writev): Do not define as alias.
34518         (writev): Define unconditionally as alias of __writev.
34519         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34520         name.
34521         (writev): Do not define __libc_writev name.
34523 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34525         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34526         (convert_charseq): New function, broken out of ...
34527         (use_from_charmap): ... here.  Call it.
34528         (use_to_charmap): Use convert_charseq and free instead of duplicating
34529         its code with a variable-length stack struct.
34531 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34533         * include/fcntl.h (__libc_creat): Remove declaration.
34534         * io/creat.c (__libc_creat): Rename to creat.
34535         (creat): Do not define as alias.
34536         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34537         of creat instead of __libc_creat.
34538         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34539         to creat.
34540         (creat): Do not define as alias.
34541         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34542         __libc_creat.
34543         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34544         __libc_creat name.
34545         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34546         Likewise.
34548 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
34550         * manual/llio.texi: Add comments discussing why write() may be
34551         considered MT-unsafe on Linux.
34553 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
34555         * dl-load.c (local_strdup): Remove.
34556         (expand_dynamic_string_token): Use __strdup.
34557         (decompose_rpath): Likewise.
34558         (_dl_map_object): Likewise.
34560 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
34562         [BZ #14132]
34563         * sysdeps/generic/unwind-dw2-fde.c
34564         (__register_frame_info_bases_internal): Do not declare.
34565         (__register_frame_info_table_bases_internal): Likewise.
34566         (__deregister_frame_info_bases_internal): Likewise.
34567         (__register_frame_info_bases): Declare and use hidden_proto before
34568         definition.  Use hidden_def instead of INTDEF.
34569         (__register_frame_info_table_bases): Likewise.
34570         (__deregister_frame_info_bases): Likewise.
34571         (__register_frame_info): Do not use INTUSE.
34572         (__register_frame): Likewise.
34573         (__register_frame_info_table): Likewise.
34574         (__register_frame_table): Likewise.
34575         (__deregister_frame_info): Likewise.
34576         (__deregister_frame): Likewise.
34578 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
34580         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34581         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34582         not undefine.
34583         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34584         Likewise.
34585         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34586         Likewise.
34588 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
34590         [BZ #14138]
34591         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34592         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34593         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34594         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34595         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34596         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34597         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34598         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34599         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34600         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34601         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34602         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34603         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34604         syscall.
34605         (setfsuid): Likewise.
34606         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34607         (setfsuid): Likewise.
34608         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34609         (setfsuid): Likewise.
34610         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34611         Likewise.
34612         (setfsuid): Likewise.
34613         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34614         (setfsuid): Likewise.
34615         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34616         Likewise.
34617         (setfsuid): Likewise.
34619 2014-10-27  Andreas Schwab  <schwab@suse.de>
34621         [BZ #17501]
34622         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34623         check for Slow_SSE4_2 feature bit.
34624         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34625         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34626         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34627         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
34629 2014-10-24  Roland McGrath  <roland@hack.frob.com>
34631         * configure.ac: Validate compiler version with a empirical test of
34632         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34633         $CC -v output.
34634         * configure: Regenerated.
34636         * inet/htons.c (htons): Prototypify.
34637         * inet/htonl.c (htonl): Likewise.
34639 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34641         * string/strncat.c (strncat): Improve performance by using strlen.
34643 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34645         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34647 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34649         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34650         Call libc_fetestexcept_aarch64.
34652 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34654         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34655         Call libc_feholdexcept_aarch64.
34657 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34659         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34660         Call get_rounding_mode.
34662 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34664         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34665         Simplify logic.
34667 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34669         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34670         Simplify logic.
34672 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
34674         [BZ #14138]
34675         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34676         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34677         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34678         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34679         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34680         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34681         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34682         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34683         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34684         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34685         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34686         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34687         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34688         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34689         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34690         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34691         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34692         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34693         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34694         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34695         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34696         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34697         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34698         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34699         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34700         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34701         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34702         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34703         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34704         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34705         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34706         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34707         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34708         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34709         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34710         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34711         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34712         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34713         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34714         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34715         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34716         syscall.
34717         (geteuid): Likewise.
34718         (getgid): Likewise.
34719         (getuid): Likewise.
34720         (getresgid): Likewise.
34721         (getresuid): Likewise.
34722         (getgroups): Likewise.
34723         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34724         (geteuid): Likewise.
34725         (getgid): Likewise.
34726         (getuid): Likewise.
34727         (getresgid): Likewise.
34728         (getresuid): Likewise.
34729         (getgroups): Likewise.
34730         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34731         (geteuid): Likewise.
34732         (getgid): Likewise.
34733         (getuid): Likewise.
34734         (getresgid): Likewise.
34735         (getresuid): Likewise.
34736         (getgroups): Likewise.
34737         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34738         Likewise.
34739         (geteuid): Likewise.
34740         (getgid): Likewise.
34741         (getuid): Likewise.
34742         (getresgid): Likewise.
34743         (getresuid): Likewise.
34744         (getgroups): Likewise.
34745         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34746         (geteuid): Likewise.
34747         (getgid): Likewise.
34748         (getuid): Likewise.
34749         (getresgid): Likewise.
34750         (getresuid): Likewise.
34751         (getgroups): Likewise.
34752         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34753         Likewise.
34754         (geteuid): Likewise.
34755         (getgid): Likewise.
34756         (getuid): Likewise.
34757         (getgroups): Likewise.
34759         [BZ #14138]
34760         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34761         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34762         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34763         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34764         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34765         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34766         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34767         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34768         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34769         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34770         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34771         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34772         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34773         __chown.
34774         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34775         (lchown): Likewise.
34776         (fchown): Likewise.
34777         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34778         Likewise.
34779         (lchown): Likewise.
34780         (fchown): Likewise.
34781         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34782         (lchown): Likewise.
34783         (fchown): Likewise.
34784         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34785         Likewise.
34786         (lchown): Likewise.
34787         (fchown): Likewise.
34789 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34791         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34792         Simplify logic.
34794 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34796         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34797         Cleanup logic.
34799 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34801         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34802         Remove unused include.
34804 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34806         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34807         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34808         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34809         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34811 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
34812             Helge Deller <deller@gmx.de>
34814         [BZ #17508]
34815         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34816         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34817         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34819 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
34821         [BZ #14132]
34822         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34823         Remove macro definition.
34824         (__ashrdi3_v_glibc20): Likewise.
34825         (__lshrdi3_v_glibc20): Likewise.
34826         (__cmpdi2_v_glibc20): Likewise.
34827         (__ucmpdi2_v_glibc20): Likewise.
34828         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34829         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34830         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34831         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34832         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34833         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34835 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34837         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34838         old GNU extension [0] syntax.
34839         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34840         alloca rather than an array member with variable length.
34841         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34842         * nscd/nscd.c (invalidate_db): New function, broken out of ...
34843         (parse_opt): ... here.  Likewise use alloca there.
34844         Validate the -i argument before checking for rootness.
34845         (send_shutdown): New function, broken out of ...
34846         (parse_opt): ... here.
34848 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34850         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34851         macro to get at the _rt_local_ro field.
34852         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34853         ([PIC] case) or _dl_hwcap ([!PIC] case).
34854         * sysdeps/arm/setjmp.S: Likewise.
34856         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34857         * sysdeps/arm/configure.ac: New check to define it.
34858         * sysdeps/arm/configure: Regenerated.
34859         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34860         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34861         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34862         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34863         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34864         Use move/movt pair instead of a load.
34865         (LDST_GLOBAL): Macro removed.
34866         (LDR_GLOBAL): New macro replaces it.
34867         (LDR_HIDDEN): New macro.
34868         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34869         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34871         * setjmp/tst-setjmp-static.c: New file.
34872         * setjmp/Makefile (tests): Add it.
34873         (tests-static): New variable.
34875 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
34877         [BZ #17485]
34878         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34880 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
34882         [BZ #14132]
34883         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34885 2014-10-21  Roland McGrath  <roland@hack.frob.com>
34887         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34889 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34891         * io/fts.c (dirent_not_directory): New function.
34892         (fts_build): Call it.
34894 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34896         * nptl/version.c (__nptl_main): Use normal __write rather than
34897         INTERNAL_SYSCALL.
34898         (banner): Update copyright years.
34900         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34901         gettimeofday.
34902         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34903         * nptl/pthread_cond_timedwait.c: Likewise.
34904         * nptl/pthread_mutex_timedlock.c: Likewise.
34905         * nptl/sem_timedwait.c: Likewise.
34907         * sysdeps/nptl/bits/libc-lock.h
34908         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34909         (__libc_lock_init_recursive): Return void, not 0.
34910         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34911         (__libc_rwlock_init): Likewise.
34912         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34914 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34916         [BZ #15215]
34917         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34918         (__pthread_once_slow): ... here.
34919         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34920         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34922 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34924         [BZ #15215]
34925         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34926         __PTHREAD_ONCE_FORK_GEN_INCR): New.
34927         * sysdeps/nptl/fork.c (__libc_fork): Use them.
34928         * nptl/pthread_once.c (__pthread_once): Likewise.
34929         Update comments.
34931 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
34933         [BZ #14138]
34934         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34935         name.
34936         (writev): Use __libc_writev as strong name.
34937         * sysdeps/unix/sysv/linux/readv.c: Remove file.
34938         * sysdeps/unix/sysv/linux/writev.c: Likewise.
34940 2014-10-17  Roland McGrath  <roland@hack.frob.com>
34942         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34944         * sysdeps/i386/nptl/tls.h
34945         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34946         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34947         New macros.
34948         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34949         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34950         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34951         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34952         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34953         Call CHECK_THREAD_SYSINFO instead of doing an assert.
34955         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34956         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34957         on [__NR_futex].
34958         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34959         broken out of ...
34960         (__pthread_mutex_init): ... here.  Call it.
34961         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34962         Conditionalize PI cases on [__NR_futex].
34963         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34964         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34965         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34967         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34968         conditional on [SIGSETXID].
34969         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34970         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34971         is defined.  Likewise for SIGSETXID.
34972         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34973         Conditionalize definitions on [SIGSETXID].
34974         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34975         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34976         unblocking on [SIGCANCEL].
34978         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34979         [__NR_set_robust_list].
34981 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34983         * string/strcoll_l.c (get_next_seq): Fix up formatting.
34984         (do_compare): Likewise.
34986 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
34988         [BZ #15884]
34989         * string/strcoll_l.c: Don't include stdio.h.
34990         (coll_seq): Remove members idxarr and rulearr.
34991         (get_next_seq_cached): Remove function.
34992         (get_next_seq): Likewise.
34993         (get_next_seq_nocache): Rename to get_next_seq.
34994         (do_compare): Remove function.
34995         (do_compare_nocache): Rename to do_compare.
34996         (STRCOLL): Remove weight and rules cache.
34998 2014-10-16  Roland McGrath  <roland@hack.frob.com>
35000         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
35001         * sysdeps/arm/sfp-machine.h: ... to here.
35002         * sysdeps/arm/Implies: Remove arm/soft-fp.
35004 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
35006         * conform/data/sys/utsname.h-data (*_t): Allow.
35007         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
35008         [POSIX] (WEXITED): Do not expect constant.
35009         [POSIX] (WSTOPPED): Likewise.
35010         [POSIX] (WNOHANG): Likewise.
35011         [POSIX] (WNOWAIT): Likewise.
35012         [POSIX] (siginfo_t): Do not expect type or elements.
35013         [POSIX] (pid_t): Do not expect type.
35014         [POSIX] (signal.h): Do not allow header.
35015         [POSIX] (sys/resource.h): Likewise.
35016         [POSIX] (si_*): Do not allow pattern.
35017         [POSIX] (W*): Likewise.
35018         [POSIX] (P_*): Likewise.
35019         [POSIX] (BUS_*): Likewise.
35020         [POSIX] (CLD_*): Likewise.
35021         [POSIX] (FPE_*): Likewise.
35022         [POSIX] (ILL_*): Likewise.
35023         [POSIX] (POLL_*): Likewise.
35024         [POSIX] (SEGV_*): Likewise.
35025         [POSIX] (SI_*): Likewise.
35026         [POSIX] (TRAP_*): Likewise.
35027         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
35028         variable.
35030 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
35032         [BZ #12926]
35033         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
35034         infinite loop when __recvmsg returns 0.
35036 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
35038         * CANCEL-FCT-WAIVE: Remove file.
35039         * CANCEL-FILE-WAIVE: Likewise.
35041         [BZ #14132]
35042         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
35043         instead of INTVARDEF.
35044         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35045         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
35046         rtld_hidden_data_def instead of INTVARDEF.
35047         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35048         * elf/dl-deps.c (expand_dst): Likewise.
35049         * elf/dl-load.c (_dl_dst_count): Likewise.
35050         (_dl_dst_substitute): Likewise.
35051         (decompose_rpath): Likewise.
35052         (_dl_init_paths): Likewise.
35053         (open_path): Likewise.
35054         (_dl_map_object): Likewise.
35055         * elf/rtld.c (dl_main): Likewise.
35056         (process_dl_audit): Likewise.
35057         (process_envvars): Likewise.
35058         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
35059         Remove declaration.
35060         (__libc_enable_secure): Use rtld_hidden_proto.
35062 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35064         * elf/dl-load.c
35065         (add_path): New function broken out of _dl_rtld_di_serinfo.
35066         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
35068 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35070         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
35071         parentheses around macro arguments.
35072         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
35073         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
35074         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
35075         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
35076         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
35077         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35078         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35079         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
35080         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
35081         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
35082         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
35083         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
35084         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
35085         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
35086         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
35087         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
35088         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
35089         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
35090         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
35091         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
35092         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
35093         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
35094         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
35095         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35096         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35097         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
35098         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
35099         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
35100         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
35101         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35102         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
35103         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
35104         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
35105         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
35106         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
35107         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
35108         Likewise.
35109         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
35110         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35111         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35112         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
35113         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
35114         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
35115         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
35116         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
35117         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
35118         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
35119         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
35120         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
35121         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
35122         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
35123         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
35124         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35125         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35126         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
35127         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
35128         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
35129         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
35130         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
35131         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
35132         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
35133         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
35134         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
35135         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
35136         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
35137         (_FP_FRAC_SRS_1): Likewise.
35138         (_FP_FRAC_CLZ_1): Likewise.
35139         (_FP_MUL_MEAT_1_imm): Likewise.
35140         (_FP_MUL_MEAT_1_wide): Likewise.
35141         (_FP_MUL_MEAT_1_hard): Likewise.
35142         (_FP_SQRT_MEAT_1): Likewise.
35143         (_FP_FRAC_ASSEMBLE_1): Likewise.
35144         (_FP_FRAC_DISASSEMBLE_1): Likewise.
35145         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35146         (__FP_CLZ_2): Likewise.
35147         (_FP_MUL_MEAT_2_wide): Likewise.
35148         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35149         (_FP_MUL_MEAT_2_gmp): Likewise.
35150         (_FP_MUL_MEAT_2_120_240_double): Likewise.
35151         (_FP_SQRT_MEAT_2): Likewise.
35152         (_FP_FRAC_ASSEMBLE_2): Likewise.
35153         (_FP_FRAC_DISASSEMBLE_2): Likewise.
35154         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35155         (_FP_FRAC_CLZ_4): Likewise.
35156         (_FP_MUL_MEAT_4_wide): Likewise.
35157         (_FP_MUL_MEAT_4_gmp): Likewise.
35158         (_FP_SQRT_MEAT_4): Likewise.
35159         (_FP_FRAC_ASSEMBLE_4): Likewise.
35160         (_FP_FRAC_DISASSEMBLE_4): Likewise.
35161         * soft-fp/op-common.h (_FP_CMP): Likewise.
35162         (_FP_CMP_EQ): Likewise.
35163         (_FP_CMP_UNORD): Likewise.
35164         (_FP_TO_INT): Likewise.
35165         (_FP_FROM_INT): Likewise.
35166         [!__FP_CLZ] (__FP_CLZ): Likewise.
35167         (_FP_DIV_HELP_imm): Likewise.
35168         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35169         Likewise.
35170         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35171         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35172         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35173         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35174         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35175         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35176         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35177         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35178         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35179         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35180         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35181         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35182         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35183         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35184         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35185         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35186         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35188         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35189         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35190         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35191         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35192         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35193         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35194         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35195         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35196         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35197         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35198         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35199         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35200         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35201         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35202         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35203         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35204         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35205         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35206         (FP_UNPACK_RAW_SP): Likewise.
35207         (FP_PACK_RAW_S): Likewise.
35208         (FP_PACK_RAW_SP): Likewise.
35209         (FP_UNPACK_S): Likewise.
35210         (FP_UNPACK_SP): Likewise.
35211         (FP_UNPACK_SEMIRAW_S): Likewise.
35212         (FP_UNPACK_SEMIRAW_SP): Likewise.
35213         (FP_PACK_S): Likewise.
35214         (FP_PACK_SP): Likewise.
35215         (FP_PACK_SEMIRAW_S): Likewise.
35216         (FP_PACK_SEMIRAW_SP): Likewise.
35217         (_FP_SQRT_MEAT_S): Likewise.
35218         (FP_CMP_S): Likewise.
35219         (FP_CMP_EQ_S): Likewise.
35220         (FP_CMP_UNORD_S): Likewise.
35221         (FP_TO_INT_S): Likewise.
35222         (FP_FROM_INT_S): Likewise.
35224         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35226         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35227         (FP_EX_INVALID_IMZ): Likewise.
35228         (FP_EX_INVALID_IMZ_FMA): Likewise.
35229         (FP_EX_INVALID_ISI): Likewise.
35230         (FP_EX_INVALID_ZDZ): Likewise.
35231         (FP_EX_INVALID_IDI): Likewise.
35232         (FP_EX_INVALID_SQRT): Likewise.
35233         (FP_EX_INVALID_CVI): Likewise.
35234         (FP_EX_INVALID_VC): Likewise.
35235         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35236         "invalid" exceptions.
35237         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35238         (_FP_ADD_INTERNAL): Likewise.
35239         (_FP_MUL): Likewise.
35240         (_FP_FMA): Likewise.
35241         (_FP_DIV): Likewise.
35242         (_FP_CMP_CHECK_NAN): Likewise.
35243         (_FP_SQRT): Likewise.
35244         (_FP_TO_INT): Likewise.
35245         (FP_EXTEND): Likewise.
35247 2014-10-09  Allan McRae  <allan@archlinux.org>
35249         * po/fr.po: Update French translation from translation project.
35251 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35253         [BZ #14132]
35254         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35255         of INTDEF.
35256         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35257         (__cxa_atexit): Use libc_hidden_proto.
35258         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35260         [BZ #14132]
35261         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35262         declaration.
35263         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35264         [!_ISOMAC] (__iswspace_l_internal): Likewise.
35265         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35266         [!_ISOMAC] (__iswctype_internal): Likewise.
35267         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35268         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35269         alias.
35270         (fcntl): Remove __fcntl_internal alias.
35271         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35272         __connect_internal alias.
35273         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35274         Likewise.
35276         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35277         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35278         FP_DENORM_ZERO.
35279         (_FP_CHECK_FLUSH_ZERO): New macro.
35280         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35281         (_FP_CMP): Likewise.
35282         (_FP_CMP_EQ): Likewise.
35283         (_FP_TO_INT): Do not set inexact for subnormal arguments if
35284         FP_DENORM_ZERO.
35285         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35286         (FP_TRUNC): Likewise.
35288         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35289         treated as invalid conversion, not as normal exponent.
35291         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35292         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
35293         (_FP_CMP_EQ): Likewise.
35294         (_FP_CMP_UNORD): Likewise.
35295         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35296         (FP_CMP_EQ_D): Likewise.
35297         (FP_CMP_UNORD_D): Likewise.
35298         * soft-fp/extended.h (FP_CMP_E): Likewise.
35299         (FP_CMP_EQ_E): Likewise.
35300         (FP_CMP_UNORD_E): Likewise.
35301         * soft-fp/quad.h (FP_CMP_Q): Likewise.
35302         (FP_CMP_EQ_Q): Likewise.
35303         (FP_CMP_UNORD_Q): Likewise.
35304         * soft-fp/single.h (FP_CMP_S): Likewise.
35305         (FP_CMP_EQ_S): Likewise.
35306         (FP_CMP_UNORD_S): Likewise.
35307         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35308         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35309         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35310         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35311         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35312         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35313         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35314         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35315         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35316         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35317         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35318         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35319         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35320         to FP_CMP_Q.
35321         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35322         FP_CMP_Q.
35323         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35324         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35325         FP_CMP_EQ_Q.
35326         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35327         FP_CMP_Q.
35328         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35329         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35330         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35331         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35332         FP_CMP_EQ_Q.
35333         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35334         FP_CMP_Q.
35335         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35336         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35337         FP_CMP_EQ_Q.
35338         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35339         FP_CMP_Q.
35340         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35341         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35342         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35343         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35344         FP_CMP_EQ_Q.
35346         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35347         a subnormal result, set the underflow exception if trapping on
35348         underflow is enabled.
35349         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35350         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35351         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35352         redefine to 0.
35353         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35354         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35355         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35356         * soft-fp/extendxftf2.c (__extendxftf2): Use
35357         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35359         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35360         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35361         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35362         FP_HANDLE_EXCEPTIONS.
35363         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35364         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35365         FP_HANDLE_EXCEPTIONS.
35366         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35367         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35368         FP_HANDLE_EXCEPTIONS.
35369         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35370         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35371         FP_HANDLE_EXCEPTIONS.
35373 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
35375         [BZ #14132]
35376         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35377         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35378         use INTUSE.
35379         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35380         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35381         Remove alias.
35382         (__adjtimex): Define using libc_hidden_ver.
35383         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35384         Remove declaration.
35385         (ntp_gettime): Call __adjtimex directly.
35386         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35387         Remove declaration.
35388         (ntp_gettimex): Call __adjtimex directly.
35389         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35390         __adjtimex_internal alias.
35392 2014-10-08  Roland McGrath  <roland@hack.frob.com>
35394         [BZ #17460]
35395         * nscd/nscd.c (more_help): Rewrite list of tables collection
35396         using xstrdup and asprintf.
35398         * nscd/nscd_conf.c: Remove local xstrdup declaration.
35400 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35401             Roland McGrath  <roland@hack.frob.com>
35403         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35404         (do_lookup_unique): ... local function 'enter' here; update callers.
35406 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
35408         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35409         compat_symbol calls on [SHARED].
35410         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35411         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35412         Remove.
35413         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35414         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35415         (oldsetrlimit): Remove.
35416         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35418         (lchown): New syscall entry.
35419         (oldsetrlimit): Remove.
35420         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35421         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35422         (oldsetrlimit): Remove.
35423         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35425         [BZ #14138]
35426         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35427         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35428         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35429         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35430         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35431         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35432         (fchown): Likewise.
35433         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35434         (fchown): Likewise.
35435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35436         Likewise.
35438 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35440         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35441         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35442         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35443         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35444         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35445         Likewise.
35446         (__old_sem_post): Likewise.
35448 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
35450         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35451         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35452         HAVE_CLOCK_GETTIME_VSYSCALL macros.
35453         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35454         Use INLINE_VSYSCALL macro.
35455         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35456         __vdso_clock_gettime.
35457         * sysdeps/unix/sysv/linux/tile/init-first.c
35458         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35459         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35460         __vdso_clock_gettime.
35462         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35463         to set up frame more cleanly.
35465         * sysdeps/tile/memcmp.c: New file.
35467         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35469         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35470         * sysdeps/tile/tilegx/strcasestr.c: New file.
35471         * sysdeps/tile/tilegx/strnlen.c: New file.
35472         * sysdeps/tile/tilegx/strstr.c: New file.
35474         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35476 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
35478         * nptl/tst-setuid3.c: Write errors to stdout.
35480 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35482         * elf/dl-deps.c
35483         (preload): New functions broken out of _dl_map_object_deps.
35484         (_dl_map_object_deps):  Remove a nested function. Update call sites.
35486 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
35488         [BZ #14138]
35489         * sysdeps/unix/sysv/linux/execve.c: Remove file.
35490         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35492 2014-10-01  Steve Ellcey  <sellcey@mips.com>
35494         * sysdeps/mips/strcmp.S: New.
35496 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
35498         [BZ #14138]
35499         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35500         (linkat): Likewise.
35501         (mkdirat): Likewise.
35502         (readlinkat): Likewise.
35503         (renameat): Likewise.
35504         (symlinkat): Likewise.
35505         (unlinkat): Likewise.
35506         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35507         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35508         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35509         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35510         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35511         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35512         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35514 2014-09-30  Will Newton  <will.newton@linaro.org>
35516         * math/math.h: Define long double math functions if
35517         _LIBC_TEST is defined.
35518         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35520         * localedata/Makefile: Move assignment to tests-special
35521         into an ifdef testing run-built-tests.
35522         * timezone/Makefile: Likewise.
35524 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
35526         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35527         with $(BASH) not $(SHELL).
35529 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
35530             Matthew LeGendre  <legendre1@llnl.gov>
35532         [BZ #17411]
35533         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35534         l_reloc_result.
35536 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35538         * stdio-common/printf_fp.c
35539         (hack_digit): New function, broken out of ...
35540         (__printf_fp): ... local function here.  Update call sites.
35541         hack_digit now takes an additional parameter that is a pointer
35542         to a struct of the referenced locals.  Those locals moved inside
35543         the struct and references updated.
35545 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
35547         * aclocal.m4: Require autoconf 2.69.
35548         * configure: Regenerated.
35549         * sysdeps/aarch64/configure: Likewise.
35550         * sysdeps/alpha/configure: Likewise.
35551         * sysdeps/arm/armv7/configure: Likewise.
35552         * sysdeps/arm/configure: Likewise.
35553         * sysdeps/ia64/configure: Likewise.
35554         * sysdeps/mach/configure: Likewise.
35555         * sysdeps/mips/configure: Likewise.
35556         * sysdeps/s390/configure: Likewise.
35557         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35560         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35561         file.
35562         * sysdeps/ia64/configure.ac: Likewise.
35564 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
35566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35567         specify symbol version for ld.so.  Do not include entry for
35568         libpthread.
35569         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35570         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35571         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35573         [BZ #14171]
35574         * Makeconfig [$(build-shared) = yes]
35575         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35576         makefiles.
35577         [$(build-shared) = yes && $(soversions.mk-done) = t]
35578         ($(common-objpfx)gnu/lib-names.h): Remove rule.
35579         [$(build-shared) = yes && $(soversions.mk-done) = t]
35580         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
35581         to Makerules.
35582         [$(build-shared) = yes && $(soversions.mk-done) = t]
35583         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35584         here.
35585         [$(build-shared) = yes && $(soversions.mk-done) = t]
35586         (common-generated): Don't append gnu/lib-names.h and
35587         gnu/lib-names.stmp here.
35588         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35589         (lib-names-h-abi): New variable.
35590         [$(build-shared) = yes && $(soversions.mk-done) = t]
35591         (lib-names-stmp-abi): Likewise.
35592         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35593         abi-variants] (before-compile): Append
35594         $(common-objpfx)$(lib-names-h-abi).
35595         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35596         abi-variants] (common-generated): Append gnu/lib-names.h.
35597         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35598         abi-variants] (install-others-nosubdir): Depend on
35599         $(inst_includedir)/$(lib-names-h-abi).
35600         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35601         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35602         [$(build-shared) = yes && $(soversions.mk-done) = t]
35603         ($(common-objpfx)$(lib-names-h-abi)): New rule.
35604         [$(build-shared) = yes && $(soversions.mk-done) = t]
35605         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35606         [$(build-shared) = yes && $(soversions.mk-done) = t]
35607         (common-generated): Append $(lib-names-h-abi) and
35608         $(lib-names-stmp-abi).
35609         * scripts/lib-names.awk: Do not handle multi being set.
35610         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35611         Remove variable.
35612         (abi-lp64_be-ld-soname): Likewise.
35613         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35614         Likewise.
35615         (abi-hard-ld-soname): Likewise.
35616         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35617         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35618         Remove variable.
35619         (abi-o32_hard-ld-soname): Likewise.
35620         (abi-o32_soft_2008-ld-soname): Likewise.
35621         (abi-o32_hard_2008-ld-soname): Likewise.
35622         (abi-n32_soft-ld-soname): Likewise.
35623         (abi-n32_hard-ld-soname): Likewise.
35624         (abi-n32_soft_2008-ld-soname): Likewise.
35625         (abi-n32_hard_2008-ld-soname): Likewise.
35626         (abi-n64_soft-ld-soname): Likewise.
35627         (abi-n64_hard-ld-soname): Likewise.
35628         (abi-n64_soft_2008-ld-soname): Likewise.
35629         (abi-n64_hard_2008-ld-soname): Likewise.
35630         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35631         Likewise.
35632         (abi-64-v2-ld-soname): Likewise.
35633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35634         ld.so entries.
35635         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35636         variable.
35637         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35638         entry.
35639         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35640         variable.
35641         (abi-64-ld-soname): Likewise.
35642         (abi-x32-ld-soname): Likewise.
35643         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35644         entry.
35645         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35647 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
35649         [BZ #14138]
35650         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35651         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35652         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35653         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35654         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35655         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35656         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35657         syscall entry for GLIBC_2.2 symbol version.
35658         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35659         Likewise.
35660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35661         (setrlimit): Likewise.
35662         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35663         Likewise.
35665 2014-09-23  Will Newton  <will.newton@linaro.org>
35667         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35668         _LINUX_ARM_SYSDEP_H include guard too.
35669         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35670         define.
35672 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35674         * sysdeps/unix/sysv/linux/eventfd.c:
35675         Make first argument unsigned.
35676         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35677         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35679 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
35681         [BZ #16852]
35682         * socket/recvmmsg.c (recvmmsg): Drop const argument.
35683         * socket/sys/socket.h: Likewise.
35684         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35686 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35688         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35690 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
35692         * time/tst-ftime.c: New test.
35693         * time/Makefile (tests): Add tst-ftime.
35695 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
35697         * soft-fp/extended.h: Fix comment formatting.
35698         * soft-fp/op-1.h: Likewise.
35699         * soft-fp/op-2.h: Likewise.
35700         * soft-fp/op-4.h: Likewise.
35701         * soft-fp/op-8.h: Likewise.
35702         * soft-fp/op-common.h: Likewise.
35703         * soft-fp/soft-fp.h: Likewise.
35705         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35707 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
35709         [BZ #6652]
35710         * Makeconfig (soversions-default-setname): Remove variable.
35711         ($(common-objpfx)soversions.i): Don't pass default_setname to
35712         soversions.awk.
35713         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35714         oldest_abi to abi-versions.awk.
35715         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35716         * config.make.in (oldest-abi): Remove variable.
35717         * configure.ac (--enable-oldest-abi): Remove configure option.
35718         * configure: Regenerated.
35719         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35720         text.
35721         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35722         * scripts/soversions.awk: Do not handle default_setname variable.
35723         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35724         variable.
35725         * sysdeps/mach/hurd/configure: Regenerated.
35726         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35727         variable.
35728         * sysdeps/unix/sysv/linux/configure: Regenerated.
35730 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35732         * elf/Makefile (CFLAGS-interp.c): Remove.
35733         ($(elf-objpfx)runtime-linker.h): Generate header with linker
35734         path string.
35735         * elf/interp.c: Include generated runtime-linker.h
35737         * Makerules (lib%.so): Don't include $(+interp) in
35738         prerequisites.
35739         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35740         * dlfcn/eval.c: Remove file.
35742         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35743         macros.
35745         [BZ #17266]
35746         * misc/sys/cdefs.h: Define __extern_always_inline for clang
35747         4.2 and newer.
35749         [BZ #17370]
35750         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35752 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35753             Jakub Jelinek  <jakub@redhat.com>
35755         [BZ #17266]
35756         * libio/stdio.h: Check definition of __fortify_function
35757         instead of __extern_always_inline to include bits/stdio2.h.
35758         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35759         check if __extern_always_inline is defined.
35760         [__USE_MISC || __USE_XOPEN]: Likewise.
35761         [__USE_ISOC99] Likewise.
35762         * misc/sys/cdefs.h (__fortify_function): Define only if
35763         __extern_always_inline is defined.
35764         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35765         __extern_always_inline and __extern_inline only for g++-4.3
35766         and newer or a compatible gcc.
35768 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
35770         [BZ #17371]
35771         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35772         last change to handle zero prefix length.
35774 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35776         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35777         _SC_REGEX_VERSION.
35779         * posix/getconf.c (vars): Add _POSIX_IPV6 and
35780         _POSIX_RAW_SOCKETS.
35782 2014-09-13  Allan McRae  <allan@archlinux.org>
35784         * po/ru.po: Update Russian translation from translation project.
35786 2014-09-12  Roland McGrath  <roland@hack.frob.com>
35788         * locale/programs/locale.c (show_locale_vars): Inline local function
35789         into its sole call site.  Clean up some style nits.
35790         (print_item): New function, broken out of ...
35791         (show_info): ... local function here.  Clean up style nits.
35793         * locale/programs/ld-ctype.c (set_one_default): New function, broken
35794         out of ...
35795         (set_class_defaults): ... local function set_default here.
35796         Define set_default as a macro locally to pass constant parameters.
35797         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35798         rather than a shared local.
35800         * stdlib/rpmatch.c (try): New function, broken out of ...
35801         (rpmatch): ... local function here.  Also, prototypify definition.
35803 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
35805         * scripts/soversions.awk: Do not handle configuration names.
35806         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35807         vendor and os variables to soversions.awk.
35808         * configure.ac: Do not modify gnu-* host_os.
35809         * configure: Regenerated
35810         * shlib-versions: Remove first column with configuration names.
35811         * nptl/shlib-versions: Likewise.
35812         * nptl_db/shlib-versions: Likewise.
35813         * sysdeps/hppa/shlib-versions: Likewise.
35814         * sysdeps/m68k/shlib-versions: Likewise.
35815         * sysdeps/mach/hurd/shlib-versions: Likewise.
35816         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35817         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35818         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35819         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35820         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35821         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35822         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35823         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35825         Likewise.
35826         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35827         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35828         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35829         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35830         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35831         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35832         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35833         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35836         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35838         Regenerated.
35839         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35841         Condition symbol version definitions on [HAVE_ELFV2_ABI].
35843         * shlib-versions: Remove OS-specific entries.  Moved to files in
35844         sysdeps.
35845         * sysdeps/mach/hurd/shlib-versions: New file.
35846         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35848         * nptl/shlib-versions: Remove architecture-specific entries.
35849         Moved to files in sysdeps.
35850         * shlib-versions: Likewise.
35851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35852         file.
35853         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35854         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35855         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35856         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35858         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35859         (UDP_NO_CHECK6_RX): Likewise.
35861 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35863         * sysdeps/posix/sysconf.c (__sysconf): Spell
35864         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35866 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35868         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35869         loading.
35870         * iconv/Versions (__gconv_transliterate): Export for use from
35871         gconv modules.
35872         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35873         (struct __gconv_trans_data, __gconv_trans_fct,
35874         __gconv_trans_context_fct, __gconv_trans_query_fct,
35875         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35876         definitions.
35877         (struct __gconv_step_data): Remove __trans member.
35878         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
35879         longer hidden.  Remove unused trans_data argument.
35880         * iconv/gconv_int.h (struct trans_struct): Remove definition.
35881         (__gconv_translit_find): Remove declaration.
35882         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35883         prototype.
35884         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35885         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35886         trans_data argument.  Add hidden definition.
35887         (__gconv_translit_find): Remove.
35888         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35889         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35890         * iconv/skeleton.c: Remove transliteration initialization.
35891         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35892         __gconv_step_data initialization.
35893         * libio/iofwide.c (__libio_translit_): Remove.
35894         (_IO_fwide): Adjust struct __gconv_step_data initialization.
35895         * wcsmbs/btowc.c (__btowc): Likewise.
35896         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35897         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35898         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35899         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35900         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35901         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35902         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35903         * wcsmbs/wctob.c (wctob): Likewise.
35905 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35907         [BZ #16194]
35908         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35909         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
35910         register usage.
35911         * sysdeps/x86/Makefile: Adjust.
35913 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35914             Roland McGrath  <roland@hack.frob.com>
35916         * locale/weight.h: Add include guard.
35917         (findidx): Make static rather than auto; take new parameters
35918         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35919         * locale/weightwc.h: Likewise.
35920         * posix/fnmatch_loop.c
35921         (FCT): Change type of EXTRA from int32_t to wint_t.
35922         Don't include either header inside the function.
35923         Call FINDIDX rather than findidx, and pass new arguments.
35924         #undef FINDIDX at the end of the file.
35925         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35926         FINDIDX before including fnmatch_loop.c for the non-wide version.
35927         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35928         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35929         for the wide version.
35930         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35931         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35932         Pass new arguments to findidx.
35933         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35934         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35935         Don't #include it inside the function.  Pass new arguments to findidx.
35936         * posix/regex_internal.h
35937         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35938         (re_string_elem_size_at): Don't #include it inside the function.
35939         Pass new arguments to findidx.
35940         * string/strcoll_l.c: #include WEIGHT_H at top level.
35941         (get_next_seq): Don't #include it inside the function.
35942         Pass new arguments to findidx.
35943         (get_next_seq_nocache): Likewise.
35944         * string/strxfrm_l.c: #include WEIGHT_H at top level.
35945         (STRXFRM): Don't #include it inside the function.
35946         Pass new arguments to findidx.
35948 2014-09-11  Florian Weimer  <fweimer@redhat.com>
35950         [BZ #17344]
35951         * malloc/malloc.c (unlink): Turn asserts into a call to
35952         malloc_printerr.
35954 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
35956         [BZ #17370]
35957         * libio/wfileops (do_ftell_wide): Free OUT.
35959 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
35961         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35963 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35965         [BZ #17363]
35966         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35967         group if the current group is empty.
35969 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35971         * benchtests/bench-memset.c (test_main): Add more test from size
35972         from 32 to 512 bytes.
35973         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35974         Add POWER8 memset object.
35975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35976         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35977         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35978         implementation.
35979         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35980         Likewise.
35981         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35982         multiarch POWER8 memset optimization.
35983         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35984         POWER8 memset optimization.
35986         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35987         Remove bzero multiarch objects.
35988         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35989         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35990         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35991         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35992         Remove define.
35993         [__bzero]: Redefine to specific name.
35994         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35995         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35996         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35997         define.
35998         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35999         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36001 2014-09-10  Florian Weimer  <fweimer@redhat.com>
36003         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
36004         warnings into errors.
36006         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
36007         __cxa_thread_atexit_impl prototype.
36009 2014-09-09  Steve Ellcey  <sellcey@mips.com>
36011         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
36012         Fix capitalization of error message.
36014 2014-09-09  Steve Ellcey  <sellcey@mips.com>
36016         * sysdeps/mips/preconfigure: Modify ABI tests.
36018 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
36020         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
36022 2014-09-07  Roland McGrath  <roland@hack.frob.com>
36023             Carlos O'Donell  <carlos@systemhalted.org>
36025         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
36026         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
36027         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
36028         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
36029         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
36030         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
36031         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
36032         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
36033         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
36034         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
36035         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
36036         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
36037         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
36038         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
36039         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
36040         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
36041         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
36042         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
36043         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
36044         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
36045         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
36046         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
36047         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
36048         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
36049         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
36050         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
36051         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
36052         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
36053         Deconditionalize the code that was previously under [RESET_PID].
36054         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
36055         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
36056         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
36057         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
36058         include sysdep.h.
36060 2014-09-08  Allan McRae  <allan@archlinux.org>
36062         * version.h (RELEASE): Set to "development".
36063         (VERSION): Set to "2.20.90"
36065 2014-09-07  Allan McRae  <allan@archlinux.org
36067         * version.h (RELEASE): Set to "stable".
36068         (VERSION): Set to "2.20"
36069         * include/features.h (__GLIBC_MINOR__): Set to 20.
36071         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
36072         Liebler.
36074         * po/ko.po: Update Korean translation from translation project.
36076 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
36078         [BZ #17354]
36079         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
36080         macro for handling signed relocations.
36082 2014-09-03  Florian Weimer  <fweimer@redhat.com>
36084         [BZ #17325]
36085         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
36086         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
36087         assert.
36088         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
36089         * iconvdata/ibm935.c (BODY): Likewise.
36090         * iconvdata/ibm937.c (BODY): Likewise.
36091         * iconvdata/ibm939.c (BODY): Likewise.
36092         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
36093         assert.
36094         * iconvdata/Makefile (iconv-test.out): Pass module list to test
36095         script.
36096         * iconvdata/run-iconv-test.sh: New test loop for checking for
36097         decoder crashers.
36099 2014-09-02  Khem Raj  <raj.khem@gmail.com>
36101         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
36102         libm_hidden_ver.
36104 2014-09-01  Allan McRae  <allan@archlinux.org>
36106         * po/eo.po: Update Esperanto translation from translation project.
36108         * po/ca.po: Update Catalan translation from translation project.
36110 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36112         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
36113         __proc_dostop call.
36115 2014-08-27  Mark Wielaard  <mjw@redhat.com>
36117         [BZ #17319]
36118         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
36119         to call set_thread_area instead of hand written asm.
36120         (__NR_set_thread_area): Removed define.
36121         (TLS_FLAG_WRITABLE): Likewise.
36122         (__ASSUME_SET_THREAD_AREA): Remove check.
36123         (TLS_EBX_ARG): Remove define.
36124         (TLS_LOAD_EBX): Likewise.
36126 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36128         Simplify atomicity of socket creation in bind.
36130         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
36131         looking up the name after linking the file.
36133 2014-08-27  Allan McRae  <allan@archlinux.org>
36135         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36137 2014-08-26  Florian Weimer  <fweimer@redhat.com>
36139         [BZ #17187]
36140         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
36141         trans_compare, open_translit, __gconv_translit_find):
36142         Remove module loading code.
36144 2014-08-26  Allan McRae  <allan@archlinux.org>
36146         * po/vi.po: Update Vietnamese translation from translation project.
36148         * po/uk.po: Update Ukrainian translation from translation project.
36150         * po/fr.po: Update French translation from translation project.
36152         * po/ru.po: Update Russian translation from translation project.
36154         * po/pl.po: Update Polish translation from translation project.
36156         * po/cs.po: Update Czech translation from translation project.
36158         * po/de.po: Update German translation from translation project.
36160         * po/bg.po: Update Bulgarian translation from translation project.
36162         * po/sv.po: Update Sweedish translation from translation project.
36164         * po/nl.po: Update Dutch translation from translation project.
36166         * po/es.po: Update Spanish translation from translation project.
36168 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36170         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36172         * catgets/Makefile (CPPFLAGS-gencat): Remove.
36173         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36174         (CPPFLAGS-iconvconfig): Likewise.
36175         * timezone/Makefile (CPPFLAGS-zic): Likewise.
36177         * include/libc-symbols.h: Remove unnecessary check for
36178         NOT_IN_libc.
36179         * nptl/pthreadP.h: Likewise.
36180         * sysdeps/aarch64/setjmp.S: Likewise.
36181         * sysdeps/alpha/setjmp.S: Likewise.
36182         * sysdeps/arm/sysdep.h: Likewise.
36183         * sysdeps/i386/setjmp.S: Likewise.
36184         * sysdeps/m68k/setjmp.c: Likewise.
36185         * sysdeps/posix/getcwd.c: Likewise.
36186         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36187         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36188         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36189         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36190         * sysdeps/sh/sh3/setjmp.S: Likewise.
36191         * sysdeps/sh/sh4/setjmp.S: Likewise.
36192         * sysdeps/unix/alpha/sysdep.h: Likewise.
36193         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36194         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36195         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36196         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36199         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36200         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36201         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36202         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36203         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36204         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36206         * sysdeps/x86_64/setjmp.S: Likewise.
36208 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
36210         [BZ #17263]
36211         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36212         <stdint.h>.
36213         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36214         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36216 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36218         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36220         [BZ #17262]
36221         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36222         and __x86_64__ when disabling x87 inline functions.
36224 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36226         [BZ #17259]
36227         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36228         asm statement with __cpuid_count.
36230 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
36232         * configure.ac: Change __ehdr_start code to dereference the struct.
36233         Run readelf on the output to look for relocations.
36234         * configure: Regenerated.
36236 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
36238         [BZ #17261]
36239         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36240         value to 0.
36241         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36243 2014-08-12  Roland McGrath  <roland@hack.frob.com>
36245         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36247 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
36249         [BZ #16892]
36250         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36251         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36253 2014-08-12  Sean Anderson  <seanga2@gmail.com>
36255         * malloc/malloc.c: Fix typo in comment.
36257 2014-08-09  Allan McRae  <allan@archlinux.org>
36259         * Regenerate libc.po.
36261 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
36263         * intl/tst-gettext2.sh: Check every lang file for creation.
36265 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36267         * sysdeps/aarch64/fpu/math_private.h
36268         (libc_feholdsetround_noex_aarch64_ctx): New function.
36270 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36272         * sysdeps/arm/armv6/strcpy.S (strcpy):
36273         Fix performance issue in misaligned cases.
36275 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36277         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36278         Move definition from termios.h.
36279         (struct termio): Likewise.
36280         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36281         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36282         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36283         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36284         Likewise.
36285         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36286         Move definition to ioctl-types.h
36287         (struct termio): Likewise.
36288         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36289         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36290         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36291         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36292         Likewise.
36294 2014-08-05  Richard Henderson  <rth@redhat.com>
36296         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36297         exceptions.
36298         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36299         Add fraiseexcpt.
36300         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36301         Use __feraiseexcept.
36302         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36303         Protect libm symbols with IS_IN_libm.
36305         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36307 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
36309         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36311 2014-08-04  Will Newton  <will.newton@linaro.org>
36313         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36314         file.
36316 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
36318         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36319         variants for each function.
36321 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36323         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36324         appended ...
36325         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36326         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36327         appended ...
36328         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36329         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36330         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36331         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36332         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36333         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36334         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36335         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36336         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36337         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36338         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36339         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36340         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36341         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36342         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36343         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36344         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36345         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36346         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36347         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36348         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36349         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36350         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36351         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36352         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36353         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36354         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36355         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36356         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36357         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36358         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36359         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36360         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36361         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36362         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36363         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36364         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36365         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36366         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36367         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36368         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36369         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36370         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36371         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36372         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36373         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36374         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36375         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36376         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36377         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36378         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36379         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36380         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36381         Update #include.
36382         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36383         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36385 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36387         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36388         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36389         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36390         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36391         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36392         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36394 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36396         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36397         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36398         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36399         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36401 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36403         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36404         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36405         (__libc_vfork): Define function under this name.
36406         (__vfork): Define as an alias.
36407         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36408         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36410 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36412         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36413         that was previously under [RESET_PID].
36414         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36416 2014-08-04  Andreas Schwab  <schwab@suse.de>
36418         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36420 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
36422         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36423         (main): Likewise.
36425 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36427         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36429 2014-08-01  Richard Henderon  <rth@redhat.com>
36431         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36432         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36433         typo in exact zero test.
36434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36435         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36436         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36438 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36440         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36441         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36442         * sysdeps/arm/sysdep.h: ... here.
36443         [!__ASSEMBLER__]: Include <stdint.h>.
36445 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36447         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36448         (HAVE_WCTYPE_H): Likewise.
36449         (HAVE_ISWCTYPE): Likewise.
36450         (ENABLE_NLS): Likewise.
36451         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36452         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36454         * posix/regex_internal.c: Check if DEBUG is defined and is
36455         set.
36457         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36458         (HAVE_MBSRTOWCS): Likewise.
36459         * posix/fnmatch.c: Include string.h unconditionally.
36461 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36463         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36464         reversal.
36466 2014-07-31  Roland McGrath  <roland@hack.frob.com>
36468         * sysdeps/generic/safe-fatal.h: New file.
36469         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36470         * nptl/forward.c: Include it.
36471         (__pthread_unwind): Use __safe_fatal as default action, rather
36472         than a bogus use of INTERNAL_SYSCALL that could never work.
36474         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36475         * configure.ac (libc_cv_builtin_trap): New test.
36476         * configure: Regenerated.
36477         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36478         (ABORT_INSTRUCTION): Define using __builtin_trap.
36480         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36481         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36482         * sysdeps/nptl/nptl-signals.h: New file.
36483         * nptl/pthreadP.h: Include <nptl-signals.h>.
36485 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36487         * sysdeps/s390/s390-64/utf16-utf32-z9.c
36488         (ONE_DIRECTION): Define.
36489         * sysdeps/s390/s390-64/utf8-utf16-z9.c
36490         (ONE_DIRECTION): Define.
36491         * sysdeps/s390/s390-64/utf8-utf32-z9.c
36492         (ONE_DIRECTION): Define.
36494 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36496         * sysdeps/s390/Makefile: Delete file.
36497         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36498         * sysdeps/s390/__longjmp.c: Delete file.
36499         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36500         Remove fields __flags and __reserved.
36501         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36502         and add versioning.
36503         * sysdeps/s390/rtld-__longjmp.c: Delete file.
36504         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36505         * sysdeps/s390/rtld-setjmp.S: Likewise.
36506         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36507         * sysdeps/s390/s390-32/__longjmp.c: ... here.
36508         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36509         * sysdeps/s390/s390-32/setjmp.S: ... here.
36510         Add versioning.
36511         (__sigsetjmp): Remove setting __flags field.
36512         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36513         * sysdeps/s390/s390-64/__longjmp.c: ... here.
36514         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36515         * sysdeps/s390/s390-64/setjmp.S: ... here.
36516         Add versioning.
36517         (__sigsetjmp): Remove setting __flags field.
36518         * sysdeps/s390/setjmp.S: Delete file.
36519         * sysdeps/s390/sigjmp.c: Likewise.
36520         * sysdeps/s390/v1-longjmp.c: Likewise.
36521         * sysdeps/s390/v1-setjmp.h: Likewise.
36522         * sysdeps/s390/v1-sigjmp.c: Likewise.
36523         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36524         Remove v1-longjmp_chk.
36525         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36526         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36527         Include debug/longjmp_chk.c and add versioning.
36528         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36529         Include nptl/pt-longjmp.c and add versioning.
36530         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36531         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36532         Include __longjmp.c.
36533         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36534         Move to ...
36535         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36536         (__getcontext): Remove setting __flags field.
36537         Add versioning.
36538         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36539         Don't restore upper high grps.
36540         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36541         Likewise.
36542         (__swapcontext): Remove setting uc_flags field.
36543         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36544         Delete file.
36545         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36546         Include __longjmp.c.
36547         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36548         Move to ...
36549         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36550         (__getcontext): Remove setting __flags field.
36551         Add versioning.
36552         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36553         (__swapcontext): Remove setting uc_flags field.
36554         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36555         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36556         Remove fields uc_high_gprs and __reserved.
36557         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36558         New file with reverted content.
36559         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36560         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36561         Regenerated.
36562         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36563         Regenerated.
36565 2014-07-31  Andreas Schwab  <schwab@suse.de>
36567         * config.h.in (HAVE_IFUNC): Define to 0.
36568         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36569         definedness.
36571 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
36573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36574         memmove-avx-unaligned, memcpy-avx-unaligned and
36575         mempcpy-avx-unaligned.
36576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36577         Add tests for AVX memcpy functions.
36578         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36579         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36580         memcpy_chk.
36581         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36582         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36583         memmove_chk.
36584         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36585         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36586         mempcpy_chk.
36587         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36588         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36589         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36591 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36593         [BZ #17213]
36594         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36595         powerpc64le.
36597 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
36599         [BZ #16839]
36600         * manual/llio.texi: Add section about open file description locks.
36601         * manual/examples/ofdlocks.c: Example of open file description
36602         lock usage.
36603         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36604         F_OFD_SETLK, and F_OFD_SETLKW.
36606 2014-07-23  Allan McRae  <allan@archlinux.org>
36608         * po/es.po: Update Spanish translation from translation project.
36610 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
36612         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36614 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
36616         [BZ #17078]
36617         * sysdeps/arm/dl-machine.h (elf_machine_rela)
36618         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36619         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36621 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
36623         [BZ #17088]
36624         * math/fesetenv.c (__fesetenv)
36625         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36626         * math/feupdateenv.c (__feupdateenv)
36627         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36629         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36630         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36631         (__ASSUME_SOCKETCALL): Do not define.
36633         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36634         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36635         (__ASSUME_SOCKETCALL): Do not define.
36636         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36637         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36638         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36639         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36640         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36641         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36642         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36643         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36645         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36646         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36647         (__ASSUME_SOCKETCALL): Do not define.
36648         (__ASSUME_IPC64): Define unconditionally.
36649         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36650         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36651         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36652         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36653         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36654         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36655         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36656         Likewise.
36658         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36659         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36660         (__ASSUME_SOCKETCALL): Do not define.
36661         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36662         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36663         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36664         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36665         (__ASSUME_REQUEUE_PI): Define unconditionally.
36666         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36667         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36668         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36669         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36670         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36671         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36673         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36674         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36675         (__ASSUME_SOCKETCALL): Do not define.
36676         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36677         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36678         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36679         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36680         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36681         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36683         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36684         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36685         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36686         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36687         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36688         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36689         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36690         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36691         (__ASSUME_GETCPU_SYSCALL): Likewise.
36693         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36694         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
36695         cases for individual architectures.
36696         * sysdeps/gnu/configure: Regenerated.
36697         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36698         LIBC_SLIBDIR_RTLDDIR.
36699         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36700         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36701         LIBC_SLIBDIR_RTLDDIR.
36702         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36704         LIBC_SLIBDIR_RTLDDIR.
36705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36706         Regenerated.
36707         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36708         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36709         file.
36710         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36711         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36712         file.
36713         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36714         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36715         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36716         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36718         * sysdeps/aarch64/shlib-versions: Move to ...
36719         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36720         * sysdeps/alpha/shlib-versions: Move to ...
36721         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36722         * sysdeps/arm/shlib-versions: Move to ...
36723         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36724         * sysdeps/hppa/shlib-versions: Move all contents except for
36725         libgcc_s entry to ...
36726         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
36727         entry from ...
36728         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
36729         * sysdeps/ia64/shlib-versions: Move to ...
36730         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
36731         entry from ...
36732         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
36733         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36734         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36735         * sysdeps/microblaze/shlib-versions: Move to ...
36736         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36737         * sysdeps/mips/shlib-versions: Move to ...
36738         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
36739         entry from ...
36740         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
36741         * sysdeps/tile/shlib-versions: Move to ...
36742         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36743         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36744         from ...
36745         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
36746         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36747         entry from ...
36748         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
36750 2014-07-17  Will Newton  <will.newton@linaro.org>
36752         * sysdeps/arm/bits/atomic.h
36753         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36754         (__arch_compare_and_exchange_bool_16_int): Likewise.
36755         (__arch_compare_and_exchange_bool_64_int): Likewise.
36757         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36758         into an #else block.
36760 2014-07-16  Roland McGrath  <roland@hack.frob.com>
36762         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36763         just Linux configurations.  Test empirically that the compiler sets
36764         __ARM_EABI__, rather than using the tuple to decide.
36765         * sysdeps/arm/preconfigure: Regenerated.
36766         * sysdeps/unix/sysv/linux/arm/configure: File removed.
36767         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36768         contents appended ...
36769         * sysdeps/arm/configure.ac: ... here.
36770         * sysdeps/arm/configure: Regenerated.
36772 2014-07-15  Roland McGrath  <roland@hack.frob.com>
36774         * nptl/pthread_kill.c: New file.
36775         * nptl/pthread_sigmask.c: New file.
36776         * nptl/pthread_sigqueue.c: New file.
36778         * sysdeps/nptl/lowlevellock.h: New file.
36779         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36780         * sysdeps/nptl/lowlevellock-futex.h: New file.
36782         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36783         Remove dead declarations.
36785 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
36787         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36788         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36789         config-cflags-avx2.
36790         * sysdeps/x86_64/configure.ac: Likewise.
36791         * sysdeps/i386/configure: Regenerated.
36792         * sysdeps/x86_64/configure: Likewise.
36793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36794         memset-avx2 only if config-cflags-avx2 is yes.
36795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36796         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36797         defined.
36798         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36799         only if HAVE_AVX2_SUPPORT is defined.
36800         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36802 2014-07-14  Alan Modra  <amodra@gmail.com>
36804         [BZ #17153]
36805         * elf/elf.h (DT_PPC64_NUM): Correct value.
36806         * NEWS: Add to fixed bug list.
36808 2014-07-13  Jim Meyering  <meyering@fb.com>
36810         [BZ 17150]
36811         regex: don't deref NULL upon heap allocation failure
36812         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36813         failure in one more place.
36814         To trigger the segfault, configure grep -with-included-regex,
36815         build it, and run these commands:
36816         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36818 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36820         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36822 2014-07-11  Richard Henderson  <rth@redhat.com>
36824         * sysdeps/aarch64/libm-test-ulps: Update.
36826 2014-07-10  Florian Weimer  <fweimer@redhat.com>
36828         [BZ #17135]
36829         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36830         * nptl/allocatestack.c (__nptl_setxid_error): New function.
36831         (__nptl_setxid): Initialize error member.  Call
36832         __nptl_setxid_error.
36833         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36834         * nptl/descr.h (struct xid_command): Add error member.
36835         * nptl/tst-setuid3.c: New file.
36836         * nptl/Makefile (tests): Add it.
36838 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36840         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36841         New define.
36842         (__lll_trylock): Use __lll_base_trylock.
36843         (__lll_cond_trylock): Likewise.
36845 2014-07-10  Roland McGrath  <roland@hack.frob.com>
36847         * nptl/pthread_create.c (start_thread): Use atomic_or and
36848         lll_futex_wake directly rather than lll_robust_dead.
36849         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36850         (lll_robust_dead): Macro removed.
36851         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36852         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36853         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36854         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36855         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36856         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36857         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36858         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36859         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36860         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36861         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36862         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36863         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36864         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36865         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36867         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36868         Use atomic_compare_and_exchange_val_acq directly rather than
36869         lll_robust_trylock.
36870         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36871         (__lll_robust_trylock, lll_robust_trylock): Removed.
36872         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36873         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36874         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36875         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36876         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36877         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36878         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36879         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36880         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36881         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36882         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36883         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36884         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36885         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36887 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36889         * manual/locale.texi (Locale Names): New section documenting
36890         locale name syntax.  Adjust menu and node chaining accordingly.
36891         (Choosing Locale): Reference Locale Names, Locale Categories.
36892         Mention setting LC_ALL=C.  Reflect that name syntax is now
36893         documented.
36894         (Locale Categories): New section title.  Reference Locale Names.
36895         LC_ALL is an environment variable, but not a category.
36896         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36897         description, now in Locale Name.  Reference that section.  Locale
36898         name syntax is now documented.
36900 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36902         [BZ #17137]
36903         * locale/findlocale.c (name_present, valid_locale_name): New
36904         functions.
36905         (_nl_find_locale): Use the loc_name variable to store name
36906         candidates.  Call name_present and valid_locale_name to check and
36907         validate locale names.  Return an error if the locale is invalid.
36909 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36911         * locale/setlocale.c (setlocale): Use strdup for allocating
36912         composite name copy.
36914 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36916         Sync up with gnulib.
36917         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36918         [!_LIBC && ENABLE_NLS]: Include gettext.h.
36919         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36920         and _GL_ARG_NONNULL.
36921         [USE_UNLOCKED_IO]: Include unlocked-io.h.
36922         [!_LIBC]: Include code for Windows and Cygwin.
36923         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36924         Include prototype for int strerror_r.
36925         [!_LIBC] (is_open): New function.
36926         (flush_stdout): New function.
36927         (print_errno_message): Use it.
36928         (error): Likewise.
36929         (error_at_line): Likewise.
36930         (error_tail) Add function attribute macros.  Use
36931         __builtin_expect.
36933         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36935         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36937         * io/ftw.c: Include sys/param.h unconditionally.
36939         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36941         [BZ #17125]
36942         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36943         libc_freeres_ptr.
36944         (freecache): New function to free CACHE on exit.
36946         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36947         initialization.
36949 2014-07-09  David S. Miller  <davem@davemloft.net>
36951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36953         * sysdeps/sparc/nptl/internaltypes.h: Delete.
36954         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36955         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36956         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36957         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36958         * sysdeps/sparc/nptl/sem_init.c: Likewise.
36959         * sysdeps/sparc/nptl/sem_post.c: Likewise.
36960         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36961         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36962         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36963         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36964         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36965         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36967 2014-07-09  Andreas Schwab  <schwab@suse.de>
36969         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36970         output.
36971         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36972         (do_test): Likewise.
36974         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36976 2014-07-09  Will Newton  <will.newton@linaro.org>
36978         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36979         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36980         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36981         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36982         * sysdeps/hppa/start.S (_start): Likewise.
36984 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36986         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36988         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36989         defined.
36991 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36993         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36994         after checking that it is non-NULL.
36996         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36998 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37000         * sysdeps/powerpc/memmove.c: Remove file.
37001         * sysdeps/powerpc/powerpc32/power4/memcopy.h
37002         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
37003         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37004         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
37005         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
37006         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
37007         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
37008         string memmove instead of removed powerpc one.
37010         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37011         [weak_alias]: Fix compiler warning due trailing data.
37012         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
37013         [weak_alias]: Likewise.
37014         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
37015         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
37017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37018         (__libc_ifunc_impl_list): Add memmove functions.
37020 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37022         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
37023         Remove code.
37024         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
37025         Likewise.
37026         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
37027         Likewise.
37028         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
37029         Likewise.
37030         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
37031         Likewise.
37032         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
37033         Likewise.
37034         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
37035         Likewise.
37036         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
37037         Likewise.
37038         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
37039         Likewise.
37040         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
37041         Likewise.
37042         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
37043         Likewise.
37044         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
37045         Likewise.
37046         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
37047         Likewise.
37048         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
37049         Likewise.
37050         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37051         Likewise.
37052         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
37053         Likewise.
37054         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
37055         Likewise.
37057 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37059         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
37060         to avoid alignment traps in non-cacheable memory.
37061         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
37064         multiarch objects.
37065         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
37066         file: multiarch power7 memmove.
37067         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
37068         multiarch default memmove.
37069         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
37070         multiarch memove for powerpc32/power4.
37072         * string/bcopy.c: Use full path to include memmove.c.
37073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
37074         multiarch objects.
37075         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
37076         bcopy for powerpc64.
37077         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
37078         bcopy for powerpc64.
37079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
37080         and memmove implementations.
37081         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
37082         optimized multiarch memmove for POWER7/powerpc64.
37083         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
37084         default multiarch memmove for powerpc64.
37085         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
37086         multiarch for powerpc64.
37087         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
37088         for POWER7/powerpc64.
37089         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
37090         memmove for POWER7/powerpc64.
37092         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
37093         glibc default one.
37095         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
37096         __ELF_NATIVE_CLASS equal to 64.
37098 2014-07-07  Roland McGrath  <roland@hack.frob.com>
37100         * sysdeps/nptl/lowlevellock.h: File removed.
37102         * NEWS: NPTL is no longer an add-on!
37103         * nptl/internaltypes.h: Moved ...
37104         * sysdeps/nptl/internaltypes.h: ... here.
37105         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
37106         * sysdeps/nptl/fork.c: Likewise.
37107         * sysdeps/nptl/gai_misc.h: Likewise.
37108         * sysdeps/nptl/librt-cancellation.c: Likewise.
37109         * sysdeps/nptl/jmp-unwind.c: Likewise.
37110         * sysdeps/nptl/setxid.h: Likewise.
37111         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
37112         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
37113         * sysdeps/unix/sysv/linux/arm/Implies: New file.
37114         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
37115         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
37116         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
37117         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
37118         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
37119         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
37120         * sysdeps/unix/sysv/linux/mips/Implies: New file.
37121         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
37122         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
37123         * sysdeps/unix/sysv/linux/sh/Implies: New file.
37124         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
37125         * sysdeps/unix/sysv/linux/tile/Implies: New file.
37126         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
37127         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
37128         * nptl/Makeconfig: Moved ...
37129         * sysdeps/nptl/Makeconfig: ... here.
37130         * nptl/configure: File removed.
37131         * nptl/ANNOUNCE: File removed.
37132         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
37133         * sysdeps/unix/sysv/linux/configure: Regenerated.
37135         * nptl/Makefile (routines): Add libc_pthread_init,
37136         libc_multiple_threads, register-atfork and unregister-atfork.
37137         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
37138         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
37139         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
37140         pthread-pi-defines.sym, structsem.sym.
37141         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
37142         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
37143         [$(subdir) = nptl] (tests): Add tst-setgetname.
37144         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
37145         * sysdeps/unix/sysv/linux/sigaction.c: Just include
37146         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37147         [!LIBC_SIGACTION]: Remove aliases.
37148         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37149         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37150         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37151         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37152         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37153         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37154         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37155         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37156         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37157         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37158         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37159         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37160         __libc_allocate_rtsig_private.
37161         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37162         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37163         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37164         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37165         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37166         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37167         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37168         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37169         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37170         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37171         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37172         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37173         * nptl/internaltypes.h: ... here.
37174         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37175         * sysdeps/nptl/jmp-unwind.c: ... here.
37176         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37177         * nptl/libc-lowlevellock.c: ... here.
37178         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37179         * nptl/libc_multiple_threads.c: ... here.
37180         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37181         * nptl/libc_pthread_init.c: ... here.
37182         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37183         * nptl/lowlevelbarrier.sym: ... here.
37184         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37185         * nptl/lowlevelcond.sym: ... here.
37186         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37187         * nptl/lowlevellock.c: ... here.
37188         * nptl/lowlevellock.h: Moved ...
37189         * sysdeps/nptl/lowlevellock.h: ... here.
37190         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37191         * nptl/lowlevelrobustlock.c: ... here.
37192         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37193         * nptl/lowlevelrobustlock.sym: ... here.
37194         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37195         * nptl/lowlevelrwlock.sym: ... here.
37196         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37197         * nptl/pt-fork.c: ... here.
37198         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37199         * nptl/pthread-pi-defines.sym: ... here.
37200         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37201         * nptl/pthread_attr_getaffinity.c: ... here.
37202         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37203         * nptl/pthread_attr_setaffinity.c: ... here.
37204         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37205         * nptl/pthread_mutex_cond_lock.c: ... here.
37206         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37207         Update #include.
37208         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37209         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37210         * nptl/pthread_once.c: ... here, replacing old file.
37211         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37212         * nptl/pthread_yield.c: ... here.
37213         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37214         * nptl/register-atfork.c: ... here.
37215         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37216         * nptl/sem_post.c: ... here.
37217         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37218         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37219         * nptl/sem_timedwait.c: ... here.
37220         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37221         * nptl/sem_trywait.c: ... here.
37222         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37223         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37224         * nptl/sem_wait.c: ... here.
37225         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37226         * nptl/structsem.sym: ... here.
37227         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37228         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37229         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37230         * nptl/unregister-atfork.c: ... here.
37231         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37232         * nptl/unwindbuf.sym: ... here.
37233         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37234         * sysdeps/nptl/fork.c: ... here.
37235         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37236         * sysdeps/nptl/fork.h: ... here.
37237         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37238         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37239         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37240         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37241         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37242         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37243         * sysdeps/unix/sysv/linux/getpid.c: ... here.
37244         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37245         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37246         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37247         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37248         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37249         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37250         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37251         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37252         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37253         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37254         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37255         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37256         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37257         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37258         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37259         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37260         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37261         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37262         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37263         * sysdeps/unix/sysv/linux/raise.c: ... here.
37264         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37265         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37266         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37267         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37268         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37269         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37270         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37271         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37272         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37273         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37274         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37275         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37276         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37277         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37278         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37280 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37282         * sysdeps/generic/memcopy.h: Add comment for
37283         MEMCPY_OK_FOR_FWD_MEMMOVE.
37285 2014-07-04  Will Newton  <will.newton@linaro.org>
37287         * string/memchr.c: Merge from gnulib.
37288         [_LIBC]: Remove conditionals.
37289         (__ptr_t): Remove define.
37290         (LONG_MAX_32_BITS): Likewise.
37291         (LONG_MAX): Likewise.
37292         (MEMCHR): Use ANSI prototype and optimize algorithm.
37294         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37296 2014-07-03  Roland McGrath  <roland@hack.frob.com>
37298         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37299         (lll_futex_timed_wait_bitset): Fix syscall argument count.
37301         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37302         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37303         in a bare environment with no <stdlib.h> installed.
37304         * sysdeps/nptl/configure: Regenerated.
37306         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37308         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37309         AC_EGREP_CPP for kernel header checks, so they only succeed if
37310         including <linux/version.h> actually works right.
37311         * sysdeps/unix/sysv/linux/configure: Regenerated.
37313         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37314         value so it's not diagnosed as unused.
37316         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37317         thing) with "ifeq ($(subdir),rt)".
37319 2014-07-03  Richard Henderson  <rth@redhat.com>
37321         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37322         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37323         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37325         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37326         (math_force_eval): New.
37328         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37329         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37331         * sysdeps/alpha/fpu/s_round.c: Remove file.
37332         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37334         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37335         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37336         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37337         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37338         (_dl_start, print_statistics): Likewise.
37339         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37340         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37342         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37343         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37344         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37345         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37346         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37347         (HP_SMALL_TIMING_AVAIL): Define.
37348         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37349         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37350         (HP_SMALL_TIMING_AVAIL): Define.
37351         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37352         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37354         * sysdeps/aarch64/hp-timing.h: New file.
37356         * sysdeps/generic/hp-timing.h: Remove dead comment.
37357         * sysdeps/generic/hp-timing-common.h: New file.
37358         * sysdeps/alpha/hp-timing.h: Include it.
37359         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37360         * sysdeps/i386/i686/hp-timing.h: Likewise.
37361         * sysdeps/ia64/hp-timing.h: Likewise.
37362         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37363         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37364         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37365         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37366         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37367         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37368         (hp_timing_t): New.
37370         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37371         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37372         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37373         * elf/rtld.c (_dl_start_final): Likewise.
37374         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37375         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37376         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37377         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37378         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37379         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37380         (HP_TIMING_DIFF_INIT): Remove.
37381         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37382         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37383         (HP_TIMING_DIFF_INIT): Remove.
37384         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37385         * sysdeps/i386/i686/hp-timing.c: Remove file.
37386         * sysdeps/x86_64/hp-timing.c: Remove file.
37387         * sysdeps/ia64/hp-timing.c: Remove file.
37388         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37389         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37390         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37391         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37393         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37394         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37395         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37396         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37397         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37398         (HP_TIMING_ACCUM): Remove.
37399         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37400         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37401         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37403         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37404         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37405         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37406         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37407         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37408         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37409         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37410         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37412         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37414 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
37416         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37418 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37420         Sync up with gettext.
37421         * intl/loadmsgcat.c: Define O_BINARY if not defined.
37422         [_MSC_VER]: Include malloc.h
37423         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37424         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37425         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
37426         TEMP_FAILURE_RETRY.  Cast return of alloca.
37427         [!_LIBC] Call gl_rwlock_init.
37428         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37430 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37432         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37433         before checking its value.
37435 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37437         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37439         * debug/memcpy_chk.c: Don't include pagecopy.h.
37440         * debug/mempcpy_chk.c: Likewise.
37441         * string/memcpy.c: Likewise.
37442         * string/memmove.c: Likewise.
37443         * sysdeps/powerpc/memmove.c: Likewise.
37444         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
37445         definition of PAGE_COPY_FWD_MAYBE here...
37446         * sysdeps/generic/pagecopy.h: ... from here.
37447         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37449 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37450             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37452         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37454         optimizations.
37455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37456         (__libc_ifunc_impl_list): Likewise.
37457         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37458         multiarch strcat for PPC64.
37459         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37460         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37462 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37464         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37466 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37468         * intl/loadmsgcat.c: Remove declaration of
37469         get_sysdep_segment_value.
37470         (get_sysdep_segment_value): Use ISO C style.
37471         (_nl_load_domain): Use ISO C style.  Get rid of redundant
37472         semicolon.  Fix typo and formatting in comment.
37473         (_nl_unload_domain): Use ISO C style.
37475         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37477 2014-07-02  Will Newton  <will.newton@linaro.org>
37479         * malloc/obstack.c: Merge from gnulib master.
37480         [HAVE_CONFIG_H]: Remove conditional code.
37481         [!_LIBC]: Include config.h.
37482         [!ELIDE_CODE]: Don't include inttypes.h, include
37483         stdint.h unconditionally.
37484         (print_and_abort): Mark as _Noreturn.
37485         (_obstack_allocated_p): Mark as __attribute_pure__.
37486         (obstack_free): Rename to __obstack_free.
37487         [!__attribute__]: Remove conditional code.
37488         * malloc/obstack.h: Merge from gnulib master.
37489         [__cplusplus]: Move conditional down.
37490         [!__attribute_pure__]: Define __attribute_pure__ here
37491         if it is not already defined.
37492         (_obstack_memory_used): Mark as __attribute_pure__.
37493         [!__obstack_free]: Define as obstack_free.
37494         [__GNUC__]: Remove check for ancient NeXT gcc.
37496 2014-07-02  Will Newton  <will.newton@linaro.org>
37497             Paul Eggert  <eggert@cs.ucla.edu>
37499         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37501 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37503         * resolv/gethnamaddr.c: Add comment warning that the file is
37504         not maintained.
37506 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
37508         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37509         entries.
37511         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37512         entry for aio_cancel and aio_cancel64.
37513         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37514         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37515         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37516         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37517         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37518         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37519         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37520         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37521         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37522         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37523         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37524         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37525         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37527 2014-07-01  Roland McGrath  <roland@hack.frob.com>
37529         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37530         * nptl/pthread_mutex_lock.c: Likewise.
37531         * nptl/pthread_mutex_timedlock.c: Likewise.
37532         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37534 2014-07-01  Richard henderson  <rth@redhat.com>
37536         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37537         (__isnan, __isnanl): Remove.
37538         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37540         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37542 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37544         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37546 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37548         * resolv/nss_dns/dns-host.c (getanswer_r)
37549         [MULTI_PTRS_ARE_ALIASES]: Remove code.
37551 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
37553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37554         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37555         undefine.
37556         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37557         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37559 2014-07-01  Roland McGrath <roland@hack.frob.com>
37561         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37562         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37564         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37565         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37567         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37568         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37569         ... here.
37570         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37571         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37573         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37574         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37575         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37576         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37578         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37579         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37580         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37581         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37582         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37583         Moved ...
37584         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37585         ... here.
37586         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37587         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37588         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37589         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37590         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37591         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37592         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37593         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37594         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37595         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37596         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37597         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37598         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37599         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37600         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37601         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37602         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37603         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37604         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37605         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37606         ... here.
37607         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37608         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37609         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37610         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37611         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37612         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37613         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37614         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37616 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
37618         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37619         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37620         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37621         Add sysdep.
37623 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37627 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37629         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37630         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37632         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37634         * sysdeps/arm/libm-test-ulps: Regenerated.
37636 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37637             Roland McGrath <roland@hack.frob.com>
37639         * test-skeleton.c (signal_handler): Kill the whole process group
37640         before killing the child individually.
37641         (main): Report any failure on `setpgid'.
37643 2014-06-30  Roland McGrath  <roland@hack.frob.com>
37645         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37646         from _TLS_H to _ARM_NPTL_TLS_H.
37647         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37648         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37650 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37652         [BZ #16539]
37653         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37654         (__expm1l): Return argument unchanged when small but not
37655         subnormal.
37657         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37658         include macro name.
37659         (_FP_UNPACK_RAW_1_P): Likewise.
37660         (_FP_PACK_RAW_1): Likewise.
37661         (_FP_PACK_RAW_1_P): Likewise.
37662         (_FP_MUL_MEAT_1_wide): Likewise.
37663         (_FP_MUL_MEAT_DW_1_hard): Likewise.
37664         (_FP_MUL_MEAT_1_hard): Likewise.
37665         (_FP_DIV_MEAT_1_imm): Likewise.
37666         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37667         (_FP_DIV_MEAT_1_udiv): Likewise.
37668         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37669         (_FP_UNPACK_RAW_2): Likewise.
37670         (_FP_UNPACK_RAW_2_P): Likewise.
37671         (_FP_PACK_RAW_2): Likewise.
37672         (_FP_PACK_RAW_2_P): Likewise.
37673         (_FP_MUL_MEAT_DW_2_wide): Likewise.
37674         (_FP_MUL_MEAT_2_wide): Likewise.
37675         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37676         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37677         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37678         (_FP_MUL_MEAT_2_gmp): Likewise.
37679         (_FP_DIV_MEAT_2_udiv): Likewise.
37680         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37681         (_FP_FRAC_SRL_4): Likewise.
37682         (_FP_FRAC_SRST_4): Likewise.
37683         (_FP_FRAC_SRS_4): Likewise.
37684         (_FP_UNPACK_RAW_4): Likewise.
37685         (_FP_UNPACK_RAW_4_P): Likewise.
37686         (_FP_PACK_RAW_4): Likewise.
37687         (_FP_PACK_RAW_4_P): Likewise.
37688         (_FP_MUL_MEAT_DW_4_wide): Likewise.
37689         (_FP_MUL_MEAT_4_wide): Likewise.
37690         (_FP_MUL_MEAT_4_gmp): Likewise.
37691         (umul_ppppmnnn): Likewise.
37692         (_FP_DIV_MEAT_4_udiv): Likewise.
37693         (__FP_FRAC_ADD_4): Likewise.
37694         (__FP_FRAC_SUB_3): Likewise.
37695         (__FP_FRAC_SUB_4): Likewise.
37696         (__FP_FRAC_DEC_3): Likewise.
37697         (__FP_FRAC_DEC_4): Likewise.
37698         (__FP_FRAC_ADDI_4): Likewise.
37699         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37700         (_FP_FRAC_SRL_8): Likewise.
37701         (_FP_FRAC_SRS_8): Likewise.
37703         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37704         include macro name.
37705         (FP_UNPACK_RAW_EP): Likewise.
37706         (FP_PACK_RAW_E): Likewise.
37707         (FP_PACK_RAW_EP): Likewise.
37708         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37709         (_FP_ISSIGNAN): Likewise.
37710         (_FP_ADD_INTERNAL): Likewise.
37711         (_FP_FMA): Likewise.
37712         (_FP_CMP): Likewise.
37713         (_FP_SQRT): Likewise.
37714         (_FP_TO_INT): Likewise.
37715         (_FP_FROM_INT): Likewise.
37716         (FP_EXTEND): Likewise.
37717         (_FP_DIV_MEAT_N_loop): Likewise.
37719 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37721         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37722         throughout.
37724 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
37726         [BZ #17097]
37727         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37728         result with correct sign in case of exponents that produce
37729         overflow except for X very close to 1.
37731 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
37733         mktime: merge #if/#ifdef usage from glibc
37734         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37735         as that works with both Glibc's and Gnulib's style.
37736         See thread starting at Siddhesh Poyarekar's bug report at:
37737         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37739 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37741         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37742         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37743         * sysdeps/tile/tilegx/memmove.c: Remove file.
37745 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37747         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37748         abi-name definition.
37749         * scripts/soversions.awk: Do not handle or generate ABI lines.
37750         * shlib-versions: Remove ABI entries.
37751         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37752         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37754 2014-06-27  Roland McGrath  <roland@hack.frob.com>
37756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37757         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37758         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37759         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37760         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37761         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37762         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37763         Moved ...
37764         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37765         ... here.
37766         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37767         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37768         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37769         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37770         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37771         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37772         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37773         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37774         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37775         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37776         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37777         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37778         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37779         Moved ...
37780         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37782         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37783         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37784         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37786         Moved ...
37787         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37788         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37789         Moved ...
37790         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37792         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37793         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37794         Moved ...
37795         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37797         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37799         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37801         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37802         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37803         Moved ...
37804         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37805         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37806         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37807         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37808         Moved ...
37809         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37810         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37811         Moved ...
37812         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37813         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37814         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37815         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37816         Moved ...
37817         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37818         ... here.
37819         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37820         Identical file removed.
37821         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37822         Moved ...
37823         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37824         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37825         Identical file removed.
37826         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37827         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37828         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37829         Moved ...
37830         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37831         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37832         Identical file removed.
37833         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37834         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37835         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37836         Identical file removed.
37837         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37838         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37839         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37840         Identical file removed.
37841         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37842         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37843         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37844         Identical file removed.
37845         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37846         Moved ...
37847         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37849         Identical file removed.
37850         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37851         Moved ...
37852         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37854         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37855         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37856         Identical file removed.
37857         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37858         Moved ...
37859         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37860         ... here.
37861         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37862         Identical file removed.
37863         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37864         Moved ...
37865         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37866         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37867         Identical file removed.
37868         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37869         Moved ...
37870         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37871         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37872         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37873         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37874         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37875         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37876         Moved ...
37877         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37878         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37879         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37881         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37882         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37883         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37884         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37885         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37887 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
37889         [BZ #17092]
37890         * nscd/nscd.c (monitor_child): Return exit status of child
37891         instead of return value from wait syscall.
37893 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37895         * configure.ac (libc_commonpagesize): Remove variable.
37896         (libc_relro_required): Likewise.
37897         (libc_cv_z_relro): Remove configure test.
37898         * configure: Regenerated.
37899         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37900         variable.
37901         (libc_relro_required): Likewise.
37902         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37903         (libc_relro_required): Likewise.
37904         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37905         (libc_relro_required): Likewise.
37906         * sysdeps/arm/preconfigure: Regenerated.
37907         * sysdeps/ia64/preconfigure: Remove file.
37908         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37909         variable.
37910         (libc_relro_required): Likewise.
37912         [BZ #16561]
37913         [BZ #16562]
37914         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37915         (__ieee754_yn): Set FE_TONEAREST mode internally and then
37916         recompute overflowing results in original rounding mode.
37917         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37918         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37919         recompute overflowing results in original rounding mode.
37920         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37921         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37922         recompute overflowing results in original rounding mode.
37923         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37924         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37925         recompute overflowing results in original rounding mode.
37926         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37927         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37928         recompute overflowing results in original rounding mode.
37929         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37930         (libc_feholdsetround_ctx): New macro.
37931         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37932         * sysdeps/i386/fpu/libm-test-ulps: Update.
37933         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37935 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37937         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37938         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37939         corresponding .cpsetup call.
37941 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37943         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37944         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37945         * sysdeps/arm/Makefile [$(subdir) = csu]
37946         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37947         (static-only-routines): Add aeabi_read_tp here.
37948         (shared-only-routines): Add libc-aeabi_read_tp here.
37949         (CFLAGS-libc-start.c): Add -fexceptions here.
37950         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37951         (sysdep_routines, static-only-routines, shared-only-routines):
37952         Don't add to these here.
37953         (CFLAGS-libc-start.c): Likewise.
37955         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37956         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37957         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37958         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37959         * sysdeps/arm/Makefile [$(subdir) = rt]
37960         (librt-sysdep_routines, librt-shared-only-routines):
37961         Append rt-aeabi_unwind_cpp_pr1 here.
37962         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37963         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37964         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37965         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37966         Append nptl-aeabi_unwind_cpp_pr1 here.
37967         (tests): Filter out tst-cleanupx4 here.
37968         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37969         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37970         Don't do those here.
37972 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37974         * scripts/list-sources.sh: Do not handle ports specially.
37976 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37978         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37979         * sysdeps/arm/feupdateenv.c: Likewise.
37981         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37983 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37985         * manual/texinfo.tex: Update to version 2014-05-05.10 with
37986         trailing whitespace removed.
37987         * scripts/config.guess: Update to version 2014-03-23.
37988         * scripts/config.sub: Update to version 2014-05-01
37989         * scripts/install-sh: Update to version 2013-12-25.23.
37990         * scripts/move-if-change: Update from gnulib.
37992 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37994         * debug/memmove_chk.c: Remove pagecopy.h include.
37996 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
37998         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
37999         identical to gnulib mktime.
38001 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38003         * configure.ac: Do not test for machine being rs6000.  Do not test
38004         for powerpc*-*soft.
38005         * configure: Regenerated.
38007         [BZ #11505]
38008         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
38009         test.
38010         * configure: Regenerated.
38011         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
38012         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
38013         Remove configure test.
38014         * sysdeps/arm/configure: Regenerated.
38015         * sysdeps/nptl/configure.ac: Do not check
38016         libc_cv_asm_cfi_directives.
38017         * sysdeps/nptl/configure: Regenerated.
38018         * sysdeps/x86_64/nptl/configure.ac: Remove file.
38019         * sysdeps/x86_64/nptl/configure: Remove generated file.
38020         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
38021         unconditional.
38022         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
38024 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38026         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
38027         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
38028         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
38029         it is defined.
38031         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
38032         instead of whether it is defined.
38033         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38034         * sysdeps/hppa/dl-machine.h: Likewise.
38035         * sysdeps/ia64/dl-machine.h: Likewise.
38036         * sysdeps/m68k/dl-machine.h: Likewise.
38037         * sysdeps/microblaze/dl-machine.h: Likewise.
38038         * sysdeps/mips/dl-machine.: Likewise.
38039         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38040         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38041         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38042         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38043         * sysdeps/sh/dl-machine.h: Likewise.
38044         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38045         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38046         * sysdeps/tile/dl-machine.h: Likewise.
38047         * sysdeps/x86_64/dl-machine.h: Likewise.
38049         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
38050         code.
38051         (verify_persistent_db): Likewise.
38053 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
38056         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
38057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
38058         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
38059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38060         Moved ...
38061         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
38062         ... here.
38063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
38064         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
38065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38066         Identical file removed.
38067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
38068         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
38069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
38070         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
38071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
38072         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
38073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
38074         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
38075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
38076         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
38077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38078         Moved ...
38079         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
38080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
38081         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
38082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
38083         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
38084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38085         Moved ...
38086         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
38087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
38088         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
38089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38090         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
38091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38092         Identical file removed.
38093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
38094         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
38095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
38096         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
38097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38098         Moved ...
38099         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
38100         ... here.
38101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
38102         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
38103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
38104         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
38105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
38106         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
38107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
38108         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
38109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
38110         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
38111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38112         Moved ...
38113         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
38114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
38115         Moved ...
38116         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
38117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
38118         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
38119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38120         Moved ...
38121         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
38122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
38123         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
38125         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
38126         folded into ...
38127         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
38128         * sysdeps/unix/sysv/linux/s390/Versions
38129         (libpthread: GLIBC_2.19): New version set.
38130         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
38131         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
38132         (librt: GLIBC_2.3.3): New version set.
38133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
38134         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
38135         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
38136         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
38137         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
38138         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
38139         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
38140         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
38141         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
38142         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
38143         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
38144         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
38145         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38146         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38147         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38148         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38149         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38150         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38151         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38152         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38153         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38154         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38155         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38156         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38157         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38158         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38159         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38160         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38161         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38162         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38163         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38164         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38165         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38167         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38168         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38169         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38170         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38171         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38172         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38173         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38175         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38177         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38179         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38180         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38181         (__libc_vfork): Define the function under this name.
38182         [!NOT_IN_libc] (__vfork): Make this an alias.
38183         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38185         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38186         (__libc_vfork): Define the function under this name.
38187         [!NOT_IN_libc] (__vfork): Make this an alias.
38188         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38189         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38190         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38191         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38192         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38193         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38195         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38196         code that was previously under [RESET_PID].
38197         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38198         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38201         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38202         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38203         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38204         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38205         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38206         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38207         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38208         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38209         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38210         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38211         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38212         Moved ...
38213         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38214         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38215         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38216         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38217         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38218         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38219         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38220         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38221         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38222         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38223         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38224         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38225         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38226         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38227         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38228         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38229         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38230         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38231         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38232         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38233         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38234         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38235         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38236         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38237         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38238         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38239         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38240         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38241         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38243 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38245         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38246         that was previously under [RESET_PID].
38247         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38249 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38251         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38252         not undefine and redefine.
38253         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38254         [O_CLOEXEC]: Make code unconditional.
38255         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38256         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38257         <kernel-features.h>.
38258         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38259         conditional variable definition.
38260         (shm_open) [O_CLOEXEC]: Make code unconditional.
38261         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38262         code.
38264         * configure.ac (USE_REGPARMS): Don't define here.
38265         * configure: Regenerated.
38266         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38267         * sysdeps/i386/configure: Regenerated.
38269         * nptl/createthread.c: Don't include kernel-features.h.
38270         * nptl/pthread_cancel.c: Likewise.
38271         * nptl/pthread_condattr_setclock.c: Likewise.
38272         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38273         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38274         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38275         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38276         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38277         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38278         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38280         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38281         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38282         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38283         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38284         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38285         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38286         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38287         * nscd/gai.c: Likewise.
38288         * nss/nss_db/db-open.c: Likewise.
38289         * sysdeps/generic/ldsodefs.h: Likewise.
38290         * sysdeps/sh/nptl/tls.h: Likewise.
38291         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38292         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38293         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38294         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38295         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38296         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38297         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38298         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38299         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38300         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38301         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38302         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38303         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38304         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38305         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38306         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38307         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38308         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38309         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38310         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38311         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38312         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38313         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38314         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38315         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38316         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38317         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38318         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38319         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38320         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38321         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38322         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38323         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38324         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38325         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38326         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38327         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38328         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38329         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38330         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38331         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38332         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38333         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38334         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38335         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38336         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38337         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38338         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38339         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38340         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38341         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38342         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38343         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38344         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38345         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38346         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38347         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38348         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38371         * sysdeps/unix/sysv/linux/pread.c: Likewise.
38372         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38373         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38374         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38375         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38376         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38377         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38378         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38379         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38380         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38381         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38382         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38383         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38384         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38385         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38386         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38387         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38388         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38389         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38390         * sysdeps/unix/sysv/linux/system.c: Likewise.
38391         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38392         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38393         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38394         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38395         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38396         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38397         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38399         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38400         * configure: Regenerated.
38401         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38403         * configure.ac (base_machine): Do not set specially for particular
38404         machines here.
38405         * configure: Regenerated.
38406         * sysdeps/powerpc/preconfigure: Move machine and base_machine
38407         settings from configure.ac.
38408         * sysdeps/i386/preconfigure: New file.
38409         * sysdeps/s390/preconfigure: Likewise.
38410         * sysdeps/sh/preconfigure: Likewise.
38411         * sysdeps/sparc/preconfigure: Likewise.
38413 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38415         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38416         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38417         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38418         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38419         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38420         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38421         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38422         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38423         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38424         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38425         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38426         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38427         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38428         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38429         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38430         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38431         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38432         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38433         * sysdeps/sparc/sparc64/Makefile: ... appended here.
38435         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38436         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38437         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38438         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38439         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38440         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38441         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38442         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38443         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38444         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38445         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38446         * sysdeps/sparc/sparc32/sem_post.c: ... here.
38447         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38448         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38449         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38450         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38451         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38452         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38453         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38454         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38455         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38456         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38457         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38458         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38459         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38460         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38461         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38462         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38463         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38464         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38465         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38466         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38467         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38468         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38469         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38470         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38471         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38472         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38475         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38477         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38479         Moved ...
38480         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38481         ... here.
38482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38483         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38485         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38487         Moved ...
38488         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38490         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38492         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38494         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38496         Moved ...
38497         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38499         Moved ...
38500         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38502         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38504         Moved ...
38505         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38507         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38509         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38511         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38513         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38515         Moved ...
38516         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38517         ... here.
38518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38519         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38521         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38523         Moved ...
38524         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38526         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38528         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38530         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38532         Moved ...
38533         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38535         Moved ...
38536         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38538         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38540         Moved ...
38541         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38543         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38545         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38547 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38549         * timezone/checktab.awk: Update from tzcode 2014e.
38550         * timezone/private.h: Likewise.
38551         * timezone/tzfile.h: Likewise.
38552         * timezone/zdump.c: Likewise.
38553         * timezone/zic.c: Likewise.
38555         * sysdeps/unix/sysv/linux/kernel-features.h
38556         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38557         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38558         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38559         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38560         Remove conditional code.
38562 2014-06-25  Will Newton  <will.newton@linaro.org>
38564         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38565         (_dl_arm_cap_flags): Add HWCAP2 values.
38566         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38567         (_DL_HWCAP_COUNT): Increase to 37.
38568         (_DL_HWCAP_LAST): New define.
38569         (_DL_HWCAP2_LAST): New define.
38570         (_dl_procinfo): Add support for printing
38571         AT_HWCAP2 entries.
38572         (_dl_string_hwcap): Use _dl_hwcap_string.
38574 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38578 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38580         * README: Do not mention ports directory.
38582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38583         Remove macro.
38584         * sysdeps/unix/sysv/linux/futimes.c: Do not include
38585         <kernel-features.h>.
38586         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38587         conditional variable definition.
38588         (__futimes): Update comment.
38589         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38590         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38592         [BZ #16560]
38593         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38594         arguments close to 0.
38595         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38596         Likewise.
38597         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38598         Likewise.
38599         * math/auto-libm-test-in: Add more tests of exp10.
38600         * math/auto-libm-test-out: Regenerated.
38601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38603         * sysdeps/unix/sysv/linux/kernel-features.h
38604         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38605         * sysdeps/unix/sysv/linux/readv.c: Do not include
38606         <kernel-features.h>.
38607         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38608         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38609         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38610         unconditional.
38611         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38612         conditional code.
38613         * sysdeps/unix/sysv/linux/writev.c: Do not include
38614         <kernel-features.h>.
38615         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38616         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38617         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38618         unconditional.
38619         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38620         conditional code.
38622 2014-06-25  Will Newton  <will.newton@linaro.org>
38624         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38625         comment changes throughout the file.  Remove checks
38626         for HAVE_*_H definitions that are not required.
38627         (__gen_tempname): Call abort if an unknown kind value is
38628         passed.
38630 2014-06-25  Andreas Schwab  <schwab@suse.de>
38632         [BZ #17086]
38633         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38634         scalbln, scalblnf, scalblnl in libc.
38636 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38638         [BZ #17086]
38639         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38640         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38641         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38643 2014-06-24  Roland McGrath  <roland@hack.frob.com>
38645         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38646         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38647         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38648         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38649         Update #include.
38650         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38651         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38652         Update #include.
38653         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38654         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38655         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38656         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38657         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38658         * sysdeps/x86/bits/pthreadtypes.h: ... here.
38659         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38660         * sysdeps/x86/bits/semaphore.h: ... here.
38661         * sysdeps/x86/nptl/elide.h: Moved ...
38662         * sysdeps/x86/elide.h: ... here.
38663         * sysdeps/x86_64/nptl/Implies: File removed.
38664         * sysdeps/i386/nptl/Implies: File removed.
38666 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
38668         [BZ #16539]
38669         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38670         return the argument for normal arguments with exponent below -64.
38671         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38672         Likewise.
38673         * math/auto-libm-test-in: Add another test of expm1.
38674         * math/auto-libm-test-out: Regenerated.
38676         [BZ #16287]
38677         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38678         calling __erfcl for arguments at least 16.
38679         * math/auto-libm-test-in: Add more tests of erf.
38680         * math/auto-libm-test-out: Regenerated.
38682         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38683         individual architectures.
38684         * sysdeps/unix/sysv/linux/configure: Regenerated.
38685         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38686         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38687         * sysdeps/unix/sysv/linux/powerpc/configure.ac
38688         (ldd_rewrite_script): Define variable.
38689         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38691         file.
38692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38693         generated file.
38694         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38695         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38696         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38697         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38698         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38699         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38700         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38701         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38703 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38705         [BZ #17084]
38706         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38707         Rename member __data.d to __data.__elision_data.
38709 2014-06-24  Wilco  <wdijkstr@arm.com>
38711         * NEWS: Add 16918 to fixed bug list.
38713 2014-06-24  Wilco  <wdijkstr@arm.com>
38715         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38717 2014-06-24  Wilco  <wdijkstr@arm.com>
38719         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38720         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38721         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38722         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38723         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38724         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38725         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38726         Use _FPU_MASK_RM.
38728 2014-06-24  Wilco  <wdijkstr@arm.com>
38730         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38732 2014-06-24  Wilco  <wdijkstr@arm.com>
38734         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38735         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38736         * sysdeps/arm/fesetround.c (fesetround): Remove space.
38737         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38739 2014-06-24  Wilco  <wdijkstr@arm.com>
38741         [BZ #16918]
38742         * sysdeps/arm/feupdateenv.c (feupdateenv):
38743         Rewrite to reduce FPSCR accesses and fix return value.
38745 2014-06-24  Wilco  <wdijkstr@arm.com>
38747         * sysdeps/arm/fclrexcpt.c (feclearexcept):
38748         Optimize to avoid unnecessary FPSCR writes.
38749         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38750         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38751         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38752         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38754 2014-06-24  Wilco  <wdijkstr@arm.com>
38756         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38757         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38758         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38759         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38760         Call libc_fetestexcept_vfp.
38761         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38762         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38763         __SOFTFP__ ifdef so that they can be built for softfp.
38765 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38767         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38768         argument type signed char.
38770         * Makerules (check-abi): Dump diff of symlist if the test
38771         fails.
38773 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38775         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38776         using abort.
38778         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38779         Remove unused variable ST.
38781 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38783         [BZ #16354]
38784         [BZ #17061]
38785         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38786         small arguments before calling __expm1.
38787         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38788         small arguments before calling __expm1f.
38789         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38790         small arguments before calling __expm1l.
38791         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38792         Likewise.
38793         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38794         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
38795         spurious underflow for some cosh tests.
38796         * math/auto-libm-test-out: Regenerated.
38797         * sysdeps/i386/fpu/libm-test-ulps: Update.
38799         [BZ #17050]
38800         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38801         (__ieee754_y1): Set errno if return value overflows.
38802         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38803         (__ieee754_y1f): Set errno if return value overflows.
38804         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38805         (__ieee754_y1l): Set errno if return value overflows.
38806         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38807         (__ieee754_y1l): Set errno if return value overflows.
38808         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38809         * math/auto-libm-test-out: Regenerated.
38811         * math/gen-auto-libm-tests.c: Document use of
38812         ignore-zero-inf-sign.
38813         (input_flag_type): Add value flag_ignore_zero_inf_sign.
38814         (input_flags): Add ignore-zero-inf-sign.
38815         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38816         * math/gen-libm-test.pl (generate_testfile): Handle
38817         ignore-zero-inf-sign.
38818         * math/auto-libm-test-in: Mark some cpow tests with
38819         ignore-zero-inf-sign and some with xfail-rounding.
38820         * math/auto-libm-test-out: Regenerated.
38821         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38822         * sysdeps/i386/fpu/libm-test-ulps: Update.
38823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38825         [BZ #16315]
38826         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38827         overflowing or underflowing operations take place with sign of
38828         result.
38829         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38830         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38831         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38832         (__ieee754_pow): Recompute overflowing and underflowing results in
38833         original rounding mode.
38834         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38835         (__powl_helper): Allow negative argument X and scale negated value
38836         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
38837         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38838         overflowing or underflowing operations take place with sign of
38839         result.
38840         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38841         Include <math.h>.
38842         * math/auto-libm-test-in: Add more tests of pow.
38843         * math/auto-libm-test-out: Regenerated.
38844         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38845         (pow_tonearest_test_data): Remove.
38846         (pow_test_tonearest): Likewise.
38847         (pow_towardzero_test_data): Likewise.
38848         (pow_test_towardzero): Likewise.
38849         (pow_downward_test_data): Likewise.
38850         (pow_test_downward): Likewise.
38851         (pow_upward_test_data): Likewise.
38852         (pow_test_upward): Likewise.
38853         (main): Don't call removed functions.
38854         * sysdeps/i386/fpu/libm-test-ulps: Update.
38855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38857 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38860         Moved ...
38861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38863         Moved ...
38864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38866         Moved ...
38867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38869         Moved ...
38870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38872         File removed.
38873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38874         File removed.
38875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38876         File removed.
38877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38878         File removed.
38879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38880         File removed.
38881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38882         File removed.
38883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38884         File removed.
38885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38886         File removed.
38887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38888         File removed.
38889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38890         File removed.
38891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38892         File removed.
38893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38894         File removed.
38895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38896         Moved ...
38897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38899         Moved ...
38900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38901         ... here.
38902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38903         Moved ...
38904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38906         Moved ...
38907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38909         Moved ...
38910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38912         Moved ...
38913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38915         Moved ...
38916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38918         Moved ...
38919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38921         Moved ...
38922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38925         ... here.
38926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38927         Moved ...
38928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38930         Moved ...
38931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38932         ... here.
38933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38934         Moved ...
38935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38936         ... here.
38937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38938         Moved ...
38939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38940         ... here.
38941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38942         Moved ...
38943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38945         Moved ...
38946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38950         Moved ...
38951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38952         ... here.
38953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38954         Moved ...
38955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38956         ... here.
38957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38958         Moved ...
38959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38961         Moved ...
38962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38964         Moved ...
38965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38967         Moved ...
38968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38970         Moved ...
38971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38972         ... here.
38973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38974         Moved ...
38975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38977         Moved ...
38978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38980         Moved ...
38981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38983         Moved ...
38984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38988         Moved ...
38989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38991         Moved ...
38992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38994         Moved ...
38995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38996         ... here.
38997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38998         Moved ...
38999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
39000         ... here.
39001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39002         Moved ...
39003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
39004         ... here.
39005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39006         Moved ...
39007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
39008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39009         Moved ...
39010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
39011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39012         Moved ...
39013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
39014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39015         Moved ...
39016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
39017         ... here.
39018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39019         Moved ...
39020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
39021         ... here.
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39023         Moved ...
39024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
39025         ... here.
39026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39027         Moved ...
39028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
39029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39030         Moved ...
39031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
39033 2014-06-23  Will Newton  <will.newton@linaro.org>
39034             Wilco  <wdijkstr@arm.com>
39036         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
39037         implementation.  Include get-rounding-mode.h.
39038         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
39039         [!libc_feholdsetround_noex_ctx]: Define
39040         libc_feholdsetround_noex_ctx.
39041         [!libc_feholdsetround_noexf_ctx]: Define
39042         libc_feholdsetround_noexf_ctx.
39043         [!libc_feholdsetround_noexl_ctx]: Define
39044         libc_feholdsetround_noexl_ctx.
39045         (libc_feholdsetround_ctx): New function.
39046         (libc_feresetround_ctx): New function.
39047         (libc_feholdsetround_noex_ctx): New function.
39048         (libc_feresetround_noex_ctx): New function.
39050 2014-06-23  Roland McGrath  <roland@hack.frob.com>
39052         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
39053         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
39054         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
39055         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
39056         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
39057         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
39059         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
39060         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
39061         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
39062         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
39063         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
39064         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
39065         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
39066         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
39067         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
39068         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
39069         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
39070         Moved ...
39071         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
39072         ... here.
39073         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
39074         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
39075         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
39076         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
39077         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
39078         Moved ...
39079         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
39080         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
39081         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
39082         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
39083         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
39084         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
39085         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
39086         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39087         Moved ...
39088         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
39089         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
39090         Moved ...
39091         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
39092         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
39093         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
39094         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39095         Moved ...
39096         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
39097         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
39098         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
39099         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
39100         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
39101         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
39102         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
39103         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
39104         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
39105         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
39106         Moved ...
39107         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
39108         ... here.
39109         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
39110         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
39111         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
39112         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
39113         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
39114         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
39115         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
39116         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
39117         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
39118         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
39119         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
39120         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
39121         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
39122         Moved ...
39123         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
39124         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
39125         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
39126         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
39127         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
39128         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
39129         Moved ...
39130         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
39131         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
39132         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
39133         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
39134         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
39136         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
39137         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
39138         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
39139         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
39140         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
39141         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
39142         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
39143         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
39144         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
39145         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39146         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39147         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39148         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39149         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39150         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39151         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39152         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39153         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39154         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39155         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39156         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39157         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39158         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39159         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39160         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39161         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39162         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39163         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39165 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
39167         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39168         (FALLOC_FL_COLLAPSE_RANGE): New macro.
39169         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39170         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39171         (IPV6_PMTUDISC_INTERFACE): Likewise.
39172         (IPV6_PMTUDISC_OMIT): Likewise.
39174 2014-06-23  Andreas Schwab  <schwab@suse.de>
39176         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39177         Remove unused errout label.
39179 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39181         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39182         macro: hardware supports Vector Crypto instructions.
39184 2014-06-23  Will Newton  <will.newton@linaro.org>
39186         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39187         rather than __builtin_expect.
39189         * elf/dl-lookup.c (undefined_msg): Remove variable.
39190         (_dl_lookup_symbol_x): Replace undefined_msg with string
39191         literal.
39193         * elf/dl-lookup.c (do_lookup_unique): New function.
39194         (do_lookup_x): Move STB_GNU_UNIQUE handling code
39195         to a separate function.
39197 2014-06-23  Andreas Schwab  <schwab@suse.de>
39199         [BZ #17079]
39200         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39201         before reading the next line.
39203 2014-06-23  Will Newton  <will.newton@linaro.org>
39205         * test-skeleton.c (signal_handler): Use printf and %m
39206         rather than perror.  Use printf rather than fprintf to
39207         stderr.  Use puts rather than fputs to stderr.
39208         (main): Likewise.
39210 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
39212         * nscd/nscd.c (thread_info_t): Remove typedef.
39213         (thread_info): Remove variable.
39215 2014-06-21  Allan McRae  <allan@archlinux.org>
39217         * NEWS: Mention CVE-2014-4043.
39219 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39221         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39222         * nptl/smp.h: ... here.
39224         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39226         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39227         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39228         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39229         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39231         * nptl/allocatestack.c: Include <stack-aliasing.h>.
39232         * nptl/stack-aliasing.h: New file.
39233         * sysdeps/i386/i686/stack-aliasing.h: New file.
39234         * sysdeps/i386/i686/nptl/Makefile: File removed.
39235         * sysdeps/x86_64/stack-aliasing.h: New file.
39236         * sysdeps/x86_64/nptl/Makefile
39237         (CFLAGS-pthread_create.c): Variable removed.
39239         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39240         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39241         old file.
39242         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39243         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39244         old file.
39246 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
39248         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39249         (__ASSUME_SIGFRAME_V2): Remove macro.
39250         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39251         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39252         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39253         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39254         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39255         Declare as function.  Remove conditional macro definitions.
39256         (__default_rt_sa_restorer): Likewise.
39257         (__default_sa_restorer_v1): Remove declaration.
39258         (__default_sa_restorer_v2): Likewise.
39259         (__default_rt_sa_restorer_v1): Likewise.
39260         (__default_rt_sa_restorer_v2): Likewise.
39261         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39262         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39263         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39265 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39267         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39268         (libpthread-routines): Add sysdep.
39269         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39270         * sysdeps/unix/sysv/linux/sparc/Versions
39271         (libpthread: GLIBC_2.3.3): New version set.
39272         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39273         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39274         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39275         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39276         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
39277         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39278         Moved ...
39279         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39280         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39281         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39282         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39283         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39284         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39285         * sysdeps/sparc/nptl/sem_init.c: ... here.
39286         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39287         * sysdeps/sparc/nptl/sem_post.c: ... here.
39288         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39289         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39290         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39291         * sysdeps/sparc/nptl/sem_wait.c: ... here.
39292         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39293         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39294         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39295         (libpthread-routines): Add cpu_relax.
39296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39297         File removed.
39298         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39299         (librt: GLIBC_2.3.3): New version set.
39300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39301         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39302         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39303         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39306         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39308         Moved ...
39309         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39310         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39311         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39313         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39315         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39317         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39319         Moved ...
39320         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39321         Update #include.
39322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39323         Moved ...
39324         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39325         Update #include.
39326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39327         Moved ...
39328         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39329         Update #include.
39330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39331         Moved ...
39332         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39333         Update #include.
39334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39335         Moved ...
39336         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39337         Update #include.
39338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39339         Moved ...
39340         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39341         Update #include.
39342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39343         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39345         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39349         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39351         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39353         Moved ...
39354         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39356         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39358         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39360 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39362         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39363         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39364         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39365         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39366         * nscd/nscd.c: Likewise.
39367         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39368         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39369         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39370         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39372         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39373         <kernel-features.h>.
39374         (init_mq_netlink): Remove conditional have_sock_cloexec
39375         definitions.  Remove code conditional on have_sock_cloexec < 0.
39376         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39377         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39378         * sysdeps/unix/sysv/linux/opensock.c: Do not include
39379         <kernel-features.h>.
39380         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39381         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39383 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39386         Add tests for memset_chk and memset.
39388         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39389         with AVX2_Usable.
39391 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39393         [BZ #16046]
39394         * elf/tst-dl-iter-static.c: New file.
39395         * elf/Makefile (tests-static): Add tst-dl-iter-static.
39397         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39398         error.
39400 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39402         * sysdeps/unix/sysv/linux/kernel-features.h
39403         (__ASSUME_F_GETOWN_EX): Remove macro.
39404         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39405         <kernel-features.h>.
39406         (miss_F_GETOWN_EX): Remove variable or macro.
39407         (do_fcntl): Do not check miss_F_GETOWN_EX.
39408         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39410         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39411         Remove macro.
39412         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39413         [!__ASSUME_AT_RANDOM]: Remove conditional code.
39414         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39416         * sysdeps/unix/sysv/linux/kernel-features.h
39417         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39418         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39419         [ADJ_OFFSET_SS_READ]: Make code unconditional.
39420         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39422 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39424         [BZ #17075]
39425         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39426         Fix calculation of the symbol's value.
39427         * sysdeps/arm/tst-armtlsdescloc.c: New file.
39428         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39429         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39430         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39431         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39432         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39433         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39434         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39435         (modules-names): Add `tst-armtlsdescmod',
39436         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39437         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39438         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39439         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39440         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39441         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39442         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39443         ($(objpfx)tst-armtlsdescloc): New dependency.
39444         ($(objpfx)tst-armtlsdescextnow): Likewise.
39445         ($(objpfx)tst-armtlsdescextlazy): Likewise.
39446         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39447         TLS scheme support.
39448         * sysdeps/arm/configure: Regenerate.
39450 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39452         * include/fcntl.h (__atfct_seterrno): Remove prototype.
39453         (__atfct_seterrno_2): Likewise.
39454         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39455         <kernel-features.h>.
39456         (__ASSUME_ATFCTS): Do not undefine and redefine.
39457         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39458         (__have_atfcts): Remove conditional definition.
39459         (__fxstatat([__NR_fstatat64]: Make code unconditional.
39460         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39461         unreachable if [__ASSUME_ATFCTS].
39462         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39463         not undefine and redefine.
39464         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39465         <kernel-features.h>.
39466         (faccessat) [__NR_faccessat]: Make code unconditional.
39467         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39468         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39469         <kernel-features.h>.
39470         (fchmodat) [__NR_fchmodat]: Make code unconditional.
39471         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39472         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39473         <kernel-features.h>.
39474         (fchownat) [__NR_fchownat]: Make code unconditional.
39475         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39476         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39477         <kernel-features.h>.
39478         (futimesat) [__NR_futimesat]: Make code unconditional.
39479         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39480         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39481         <kernel-features.h>.
39482         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39483         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39484         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39485         <kernel-features.h>.
39486         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39487         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39488         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39489         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39490         <kernel-features.h>.
39491         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39492         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39493         * sysdeps/unix/sysv/linux/linkat.c: Do not include
39494         <kernel-features.h>.
39495         (linkat) [__NR_linkat]: Make code unconditional.
39496         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39497         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39498         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39499         <kernel-features.h>.
39500         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39501         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39502         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39503         <kernel-features.h>.
39504         (mkdirat) [__NR_mkdirat]: Make code unconditional.
39505         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39506         * sysdeps/unix/sysv/linux/openat.c: Do not include
39507         <kernel-features.h>.
39508         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39509         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39510         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39511         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39512         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39513         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39514         <kernel-features.h>.
39515         (readlinkat) [__NR_readlinkat]: Make code unconditional.
39516         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
39517         result of INLINE_SYSCALL directly, not via int variable.
39518         * sysdeps/unix/sysv/linux/renameat.c: Do not include
39519         <kernel-features.h>.
39520         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39521         (renameat) [__NR_renameat]: Make code unconditional.
39522         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39523         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39524         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39525         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39526         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39527         (__ASSUME_ATFCTS): Do not undefine and redefine.
39528         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39529         <kernel-features.h>.
39530         (symlinkat) [__NR_symlinkat]: Make code unconditional.
39531         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39532         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39533         <kernel-features.h>.
39534         (unlinkat) [__NR_unlinkat]: Make code unconditional.
39535         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39536         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39537         (__ASSUME_ATFCTS): Do not undefine and redefine.
39538         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39539         <kernel-features.h>.
39540         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39541         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39542         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39543         <kernel-features.h>.
39544         (__xmknodat) [__NR_mknodat]: Make code unconditional.
39545         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39547 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39549         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39551 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
39553         [BZ #17069]
39554         * posix/regcomp.c (parse_reg_exp): Deallocate partially
39555         constructed tree before returning error.
39556         * posix/bug-regexp36.c: Expand test case.
39558 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39560         [BZ #6803]
39561         * math/libm-test.inc (scalbln_test_date):
39562         Add errno expectations.
39563         * math/w_scalblnf.c: New File.
39564         Add wrapper which checks for setting errno to ERANGE.
39565         Add weak_alias for corresponding scalbln function.
39566         * math/w_scalbln.c: Likewise.
39567         * math/w_scalblnl.c: Likewise.
39568         * math/Makefile (libm-calls): Add w_scalbln.
39569         * sysdeps/ieee754/flt-32/s_scalblnf.c:
39570         Remove weak_alias for corresponding scalbln function.
39571         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39572         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39573         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39574         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39575         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39576         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39577         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39578         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39579         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39580         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39581         Remove long_double_symbol for scalblnl function in libm, libc.
39582         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39583         Add wrapper which checks for setting errno to ERANGE.
39584         Add long_double_symbol for scalblnl function in libm, libc.
39585         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39586         Remove long_double_symbol for scalblnl in libm.
39587         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39588         Add wrapper which checks for setting errno to ERANGE.
39589         Add long_double_symbol for scalblnl function in libm.
39590         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39591         Do not use wrapper because of own implementation.
39593 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
39595         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39596         3 bytes for __pad1 for x32.
39597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39599 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
39600             H.J. Lu  <hongjiu.lu@intel.com>
39602         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39603         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39604         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39605         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39606         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39608 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
39610         [BZ #17069]
39611         * posix/regcomp.c (parse_expression): Deallocate partially
39612         constructed tree before returning error.
39613         * posix/Makefile.c (tests): Add bug-regex36.
39614         (generated): Add bug-regex36.mtrace.
39615         (tests-special): Add $(objpfx)bug-regex36-mem.out
39616         (bug-regex36-ENV): New variable.
39617         ($(objpfx)bug-regex36-mem.out): New rule.
39618         * posix/bug-regex36.c: New file.
39620 2014-06-19  Will Newton  <will.newton@linaro.org>
39622         * malloc/malloc.c (systrim): If extra is zero then return
39623         early.
39625 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39627         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39629 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
39631         * sysdeps/aarch64/strchr.S: New file.
39633 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39635         [BZ #17022]
39636         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39637         from arguments -2 or below.
39638         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39639         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39641 2014-06-18  Andreas Schwab  <schwab@suse.de>
39643         [BZ #17062]
39644         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39645         of a bracket expr not to run off the end of the string.
39646         * posix/Makefile (tests): Add tst-fnmatch3.
39647         * posix/tst-fnmatch3.c: New file.
39649 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39651         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39652         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39653         [$(cross-compiling) = no]: Likewise.
39654         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39655         [$(cross-compiling) = no]: Likewise.
39657 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39659         [BZ #17031]
39660         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39661         double, adjusted for any remainder from the high double.
39662         * math/libm-test.inc (nearbyint): Add tests.
39663         (rint): Likewise.
39665 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39667         * nptl/sysdeps/powerpc/Makefile: Moved ...
39668         * sysdeps/powerpc/nptl/Makefile: ... here.
39669         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39670         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39671         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39672         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39673         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39674         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39675         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39676         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39677         * nptl/sysdeps/powerpc/tls.h: Moved ...
39678         * sysdeps/powerpc/nptl/tls.h: ... here.
39680 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
39682         [BZ #16681]
39683         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39684         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39685         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39686         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39687         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39688         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39689         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39690         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39691         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39693 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
39695         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39697 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
39699         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39700         defined operator.
39702         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39703         $TIMEOUTFACTOR.
39705 2014-06-16  Florian Weimer  <fweimer@redhat.com>
39707         [BZ #17058]
39708         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39709         non-executed part of the test.
39711 2014-06-16  Andreas Schwab  <schwab@suse.de>
39713         * string/bits/string2.h (strdup, strndup): Update feature guard.
39715 2014-06-14  David S. Miller  <davem@davemloft.net>
39717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39719 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
39721         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39722         that was previously under [RESET_PID].
39723         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39725         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39726         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39727         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39728         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39729         (__libc_vfork): New strong alias.
39730         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39732 2014-06-14 Andi Kleen  <ak@linux.intel.com>
39734         * sysdeps/generic/elide.h: New file.
39736 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39738         * Makefile (installed-headers): Adjust path of pthread.h header.
39740 2014-06-13  Roland McGrath  <roland@hack.frob.com>
39742         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39743         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39744         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39745         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39747         * nptl/sysdeps/s390/Makefile: Moved ...
39748         * sysdeps/s390/nptl/Makefile: ... here.
39749         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39750         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39751         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39752         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39753         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39754         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39755         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39756         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39757         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39758         * sysdeps/s390/nptl/pthreaddef.h: ... here.
39759         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39760         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39761         * nptl/sysdeps/s390/tls.h: Moved ...
39762         * sysdeps/s390/nptl/tls.h: ... here.
39764         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39765         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39767 2014-06-13  David S. Miller  <davem@davemloft.net>
39769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39772         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39776         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39777         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39778         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39779         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39780         Remove RESET_PID cpp guards.
39781         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39782         Remove RESET_PID cpp guards.
39783         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39785 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
39787         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39788         __sp to uintptr_t.
39790 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39792         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39793         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39794         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39795         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39796         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39797         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39798         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39799         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39800         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39801         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39802         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39803         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39804         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39805         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39806         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39807         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39808         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39809         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39810         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39811         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39813         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39814         (pthread_rwlock_rdlock): Add elision.
39815         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39816         (pthread_rwlock_wrlock): Add elision.
39817         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39818         (pthread_rwlock_trywrlock): Add elision.
39819         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39820         (pthread_rwlock_tryrdlock): Add elision.
39821         * nptl/pthread_rwlock_unlock.c: Include elide.h.
39822         (pthread_rwlock_tryrdlock): Add elision unlock.
39823         * nptl/sysdeps/pthread/pthread.h:
39824         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39825         (PTHREAD_RWLOCK_INITIALIZER,
39826         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39827         Handle new elision field.
39828         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39829         * sysdeps/arm/nptl/bits/pthreadtypes.h
39830         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39831         * sysdeps/sh/nptl/bits/pthreadtypes.h
39832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39833         * sysdeps/tile/nptl/bits/pthreadtypes.h
39834         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39835         * sysdeps/a/nptl/bits/pthreadtypes.h
39836         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39837         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39838         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39839         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39841         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39843         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39844         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39845         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39846         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39847         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39849         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39851         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39853         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39854         (elision_init): Set try_xbegin to zero when no RTM.
39855         * sysdeps/x86/nptl/bits/pthreadtypes.h
39856         (pthread_rwlock_t): Change __pad1 to __rwelision.
39857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39859 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39861         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39862         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39863         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39864         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39866 2014-06-13  Meador Inge  <meadori@codesourcery.com>
39868         [BZ #16996]
39869         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39870         that the cached result has been set before returning it.
39872 2014-06-12  Roland McGrath  <roland@hack.frob.com>
39874         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39875         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39876         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39877         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39878         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39879         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39881         * nptl/sysdeps/sparc/Makefile: Moved ...
39882         * sysdeps/sparc/nptl/Makefile: ... here.
39883         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39884         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39885         * nptl/sysdeps/sparc/tls.h: Moved ...
39886         * sysdeps/sparc/nptl/tls.h: ... here.
39887         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39888         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39889         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39890         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39891         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39892         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39893         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39894         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39895         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39896         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39897         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39898         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39899         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39900         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39901         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39902         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39903         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39904         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39905         Update #include.
39906         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39907         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39908         Update #include.
39909         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39910         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39911         Update #include.
39912         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39913         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39914         Update #include.
39916         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39918         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39919         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39921         * sysdeps/pthread/posix-timer.h: Include <list.h>.
39922         (struct list_links): Type removed.
39923         (struct thread_node, struct timer_node): Replace struct list_links
39924         with struct list_head.
39925         (list_unlink_ip): Likewise.
39926         * sysdeps/pthread/timer_routines.c
39927         (timer_free_list, thread_free_list, thread_active_list): Likewise.
39928         (list_append, list_insbefore): Likewise.
39929         (list_init): Function removed.
39930         (thread_init, init_module): Use INIT_LIST_HEAD instead.
39931         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39932         * sysdeps/pthread/Makefile: ... here, new file.
39934         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39935         * sysdeps/nptl/Implies: ... here.
39936         * sysdeps/unix/sysv/linux/Implies: Add nptl.
39937         * nptl/sysdeps/pthread/list.h: Moved ...
39938         * include/list.h: ... here.
39939         * nptl/sysdeps/pthread/createthread.c: Moved ...
39940         * nptl/createthread.c: ... here.
39941         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39942         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39943         * nptl/pt-longjmp.c: ... here.
39944         * nptl/sysdeps/pthread/Makefile: Moved ...
39945         * sysdeps/nptl/Makefile: ... here.
39946         * nptl/sysdeps/pthread/Subdirs: Moved ...
39947         * sysdeps/nptl/Subdirs: ... here.
39948         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39949         * sysdeps/nptl/aio_misc.h: ... here.
39950         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39951         * sysdeps/nptl/bits/libc-lock.h: ... here.
39952         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39953         * sysdeps/nptl/bits/libc-lockP.h: ... here.
39954         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39955         * sysdeps/nptl/bits/stdio-lock.h: ... here.
39956         * nptl/sysdeps/pthread/configure: Moved ...
39957         * sysdeps/nptl/configure: ... here.
39958         * nptl/sysdeps/pthread/configure.ac: Moved ...
39959         * sysdeps/nptl/configure.ac: ... here.
39960         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39961         * sysdeps/nptl/gai_misc.h: ... here.
39962         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39963         * sysdeps/nptl/librt-cancellation.c: ... here.
39964         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39965         * sysdeps/nptl/malloc-machine.h: ... here.
39966         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39967         * sysdeps/nptl/pthread-functions.h: ... here.
39968         * nptl/sysdeps/pthread/pthread.h: Moved ...
39969         * sysdeps/nptl/pthread.h: ... here.
39970         * nptl/sysdeps/pthread/setxid.h: Moved ...
39971         * sysdeps/nptl/setxid.h: ... here.
39972         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39973         * sysdeps/nptl/sigfillset.c: ... here.
39974         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39975         * sysdeps/nptl/tcb-offsets.h: ... here.
39976         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39977         * sysdeps/nptl/tst-mqueue8x.c: ... here.
39978         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39979         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39980         * nptl/sysdeps/pthread/allocalim.h: Moved ...
39981         * sysdeps/pthread/allocalim.h: ... here.
39982         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39983         * sysdeps/pthread/bits/sigthread.h: ... here.
39984         * nptl/sysdeps/pthread/flockfile.c: Moved ...
39985         * sysdeps/pthread/flockfile.c: ... here.
39986         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39987         * sysdeps/pthread/ftrylockfile.c: ... here.
39988         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39989         * sysdeps/pthread/funlockfile.c: ... here.
39990         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39991         * sysdeps/pthread/posix-timer.h: ... here.
39992         * nptl/sysdeps/pthread/timer_create.c: Moved ...
39993         * sysdeps/pthread/timer_create.c: ... here.
39994         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39995         * sysdeps/pthread/timer_delete.c: ... here.
39996         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39997         * sysdeps/pthread/timer_getoverr.c: ... here.
39998         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39999         * sysdeps/pthread/timer_gettime.c: ... here.
40000         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
40001         * sysdeps/pthread/timer_routines.c: ... here.
40002         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
40003         * sysdeps/pthread/timer_settime.c: ... here.
40004         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
40005         * sysdeps/pthread/tst-timer.c: ... here.
40006         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
40007         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
40009         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
40010         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
40012         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
40013         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
40014         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
40015         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
40016         Update #include target.
40017         * nptl/sysdeps/i386/i686/Makefile: Moved ...
40018         * sysdeps/i386/i686/nptl/Makefile: ... here.
40019         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
40020         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
40021         Update #include target.
40022         * nptl/sysdeps/i386/i686/tls.h: Moved ...
40023         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
40024         * nptl/sysdeps/i386/Makefile: Moved ...
40025         * sysdeps/i386/nptl/Makefile: ... here.
40026         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
40027         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
40028         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
40029         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
40030         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
40031         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
40032         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
40033         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
40034         * sysdeps/i386/nptl/pthreaddef.h: ... here.
40035         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
40036         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
40037         * nptl/sysdeps/i386/tls.h: Moved ...
40038         * sysdeps/i386/nptl/tls.h: ... here.
40040         * sysdeps/sh/Makefile [$(subdir) = csu]
40041         (gen-as-const-headers): Add tcb-offsets.sym.
40042         * nptl/sysdeps/sh/Makefile: File removed.
40043         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
40044         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
40045         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40046         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
40047         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
40048         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
40049         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
40050         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
40051         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
40052         * sysdeps/sh/nptl/pthreaddef.h: ... here.
40053         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
40054         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
40055         * nptl/sysdeps/sh/tls.h: Moved ...
40056         * sysdeps/sh/nptl/tls.h: ... here.
40057         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
40058         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
40059         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
40060         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
40061         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
40062         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
40063         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
40064         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
40065         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
40066         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
40067         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
40068         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
40069         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
40070         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
40071         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
40072         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
40073         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
40074         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
40075         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
40076         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
40077         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
40078         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
40079         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
40080         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
40081         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
40082         Moved ...
40083         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
40084         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
40085         Moved ...
40086         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
40087         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
40088         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
40089         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
40090         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
40091         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
40092         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
40093         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
40094         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
40095         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
40096         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
40097         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
40098         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
40099         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
40100         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
40101         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
40102         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
40103         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
40104         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
40106 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40108         * posix/spawn_faction_addopen.c: Include string.h.
40110 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40112         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
40113         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
40114         * nptl/sysdeps/x86_64/Makefile: Moved ...
40115         * sysdeps/x86_64/nptl/Makefile: ... here.
40116         * nptl/sysdeps/x86_64/configure: Moved ...
40117         * sysdeps/x86_64/nptl/configure: ... here.
40118         * nptl/sysdeps/x86_64/configure.ac: Moved ...
40119         * sysdeps/x86_64/nptl/configure.ac: ... here.
40120         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
40121         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
40122         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
40123         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
40124         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
40125         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
40126         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
40127         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
40128         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
40129         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
40130         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
40131         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
40132         * nptl/sysdeps/x86_64/tls.h: Moved ...
40133         * sysdeps/x86_64/nptl/tls.h: ... here.
40134         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
40135         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
40136         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
40137         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
40139         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
40141 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40145 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
40147         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40148         type.
40149         [POSIX] (off_t): Likewise.
40150         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40151         [POSIX] (S_ISBLK): Require macro.
40152         [POSIX] (S_ISCHR): Likewise.
40153         [POSIX] (S_ISDIR): Likewise.
40154         [POSIX] (S_ISFIFO): Likewise.
40155         [POSIX] (S_ISREG): Likewise.
40156         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40157         optional-macro.
40158         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40159         type.
40160         [POSIX] (time_t): Likewise.
40161         [POSIX] (timer_t): Likewise.
40163 2014-06-11  Florian Weimer  <fweimer@redhat.com>
40165         [BZ #17048]
40166         * posix/spawn_int.h (struct __spawn_action): Make the path string
40167         non-const to support deallocation.
40168         * posix/spawn_faction_addopen.c
40169         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40170         * posix/spawn_faction_destroy.c
40171         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
40172         path in all spawn_do_open actions.
40173         * posix/tst-spawn.c (do_test): Exercise the copy operation in
40174         posix_spawn_file_actions_addopen.
40176 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
40178         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40179         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40180         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40181         conditional code always true.
40182         (__libc_vfork): New alias.
40184 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40186         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40187         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40189         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40191         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40192         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40194         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40195         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40197         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40198         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40200 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40202         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40203         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40204         multiarch strcmp for PPC64.
40205         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40206         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40208         multiarch optimizations.
40209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40210         (__libc_ifunc_impl_list): Likewise.
40212 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40214         * benchtests/scripts/validate_benchout.py: New script.
40215         * benchtests/Makefile (bench-func): Call it.
40216         * benchtests/scripts/benchout.schema.json: New file.
40218 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
40220         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40221         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40222         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40223         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40224         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40225         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40226         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40227         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40228         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40229         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40230         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40231         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40232         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40233         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40234         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40235         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40237         Moved ...
40238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40239         ... here.
40240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40241         Moved ...
40242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40244         Moved ...
40245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40246         ... here.
40247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40248         Moved ...
40249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40250         ... here.
40251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40252         Moved ...
40253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40255         Moved ...
40256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40257         ... here.
40258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40259         Moved ...
40260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40261         ... here.
40262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40263         Moved ...
40264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40266         Moved ...
40267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40268         ... here.
40269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40270         Moved ...
40271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40272         ... here.
40273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40274         Moved ...
40275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40276         ... here.
40277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40278         Moved ...
40279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40281         Moved ...
40282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40283         ... here.
40284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40285         Moved ...
40286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40287         ... here.
40288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40289         Moved ...
40290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40291         ... here.
40292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40293         Moved ...
40294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40296         Moved ...
40297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40298         ... here.
40299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40300         Moved ...
40301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40302         ... here.
40303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40304         Moved ...
40305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40307         Moved ...
40308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40309         ... here.
40310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40311         Moved ...
40312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40314         Moved ...
40315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40317         Moved ...
40318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40319         ... here.
40320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40321         Moved ...
40322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40323         ... here.
40324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40325         Moved ...
40326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40327         ... here.
40328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40329         Moved ...
40330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40332         Moved ...
40333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40334         ... here.
40335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40336         Moved ...
40337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40338         ... here.
40339         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40340         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40341         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40342         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40343         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40344         Moved ...
40345         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40346         ... here.
40347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40348         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40350         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40351         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40352         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40353         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40354         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40355         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40356         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40357         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40358         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40360         Moved ...
40361         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40362         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40363         Moved ...
40364         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40366         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40368         Moved ...
40369         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40370         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40371         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40372         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40373         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40374         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40375         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40377 2014-06-10  Wilco  <wdijkstr@arm.com>
40379         * math/test-fenv-return.c: New file.
40380         * math/Makefile: Add new test test-fenv-return.
40382 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
40384         [BZ #17042]
40385         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40386         when x - 1 is zero.
40387         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40388         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40389         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40390         0.0L for an argument of 1.0L.
40391         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40392         Likewise.
40393         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40394         value when x - 1 is zero.
40395         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40396         * sysdeps/i386/fpu/libm-test-ulps: Update.
40397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40399 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
40401         [BZ #15119]
40402         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40404 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40406         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40407         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40409 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40411         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40412         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40414         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40415         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40417         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40418         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40420         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40421         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40423         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40424         if not already defined.
40425         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40426         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40427         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40428         (TLS_INIT_TP): Use it.
40429         (TLS_DEFINE_INIT_TP): New macro.
40430         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40432 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
40434         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40435         constant.
40436         [POSIX] (IXANY): Likewise.
40437         [POSIX] (OLCUC): Likewise.
40438         [POSIX || POSIX2008] (CBAUD): Do not allow.
40439         [POSIX || POSIX2008] (DEFECHO): Likewise.
40440         [POSIX || POSIX2008] (ECHOCTL): Likewise.
40441         [POSIX || POSIX2008] (ECHOKE): Likewise.
40442         [POSIX || POSIX2008] (ECHOPRT): Likewise.
40443         [POSIX || POSIX2008] (EXTA): Likewise.
40444         [POSIX || POSIX2008] (EXTB): Likewise.
40445         [POSIX || POSIX2008] (FLUSHO): Likewise.
40446         [POSIX || POSIX2008] (LOBLK): Likewise.
40447         [POSIX || POSIX2008] (PENDIN): Likewise.
40448         [POSIX || POSIX2008] (SWTCH): Likewise.
40449         [POSIX || POSIX2008] (VDISCARD): Likewise.
40450         [POSIX || POSIX2008] (VDSUSP): Likewise.
40451         [POSIX || POSIX2008] (VLNEXT): Likewise.
40452         [POSIX || POSIX2008] (VREPRINT): Likewise.
40453         [POSIX || POSIX2008] (VSTATUS): Likewise.
40454         [POSIX || POSIX2008] (VWERASE): Likewise.
40455         (B*): Change to B[0123456789]*.
40456         * conform/data/time.h-data [POSIX || UNIX98]
40457         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40458         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40459         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40460         [POSIX] (tm_*): Do not allow.
40462 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
40464         * Makefile (install): Don't set LANGUAGE.
40465         * Makefile.in (install): Likewise.
40466         * assert/Makefile (test-assert-ENV): Remove variable.
40467         (test-assert-perr-ENV): Likewise.
40468         * elf/Makefile (neededtest4-ENV): Likewise.
40469         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40470         [$(cross-compiling) = no]: Don't set LANGUAGE.
40471         * io/ftwtest-sh (LANG): Remove variable.
40472         * libio/Makefile (tst-widetext-ENV): Likewise.
40473         * manual/install.texi (Running make install): Don't refer to
40474         environment settings for make install.
40475         * INSTALL: Regenerated.
40476         * nptl/tst-tls6.sh: Don't set LANG.
40477         * posix/globtest.sh (LANG): Remove variable.
40478         * string/Makefile (tester-ENV): Likewise.
40479         (inl-tester-ENV): Likewise.
40480         (noinl-tester-ENV): Likewise.
40481         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40482         [$(cross-compiling) = no]: Don't set LANGUAGE.
40483         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40484         without explicit environment settings.
40486 2014-06-06  Roland McGrath  <roland@hack.frob.com>
40488         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40489         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40490         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40491         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40493 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
40495         * crypt/crypt-private.h [DOS]: Add some includes taken from the
40496         other files in the crypt directory.
40497         * crypt/crypt.c: Remove duplicate includes.
40498         * crypt/crypt-entry.c: Likewise.
40499         * crypt/crypt_util.c: Likewise.
40501 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
40503         * Makeconfig (run-program-env): New variable.
40504         (run-program-prefix-before-env): Likewise.
40505         (run-program-prefix-after-env): Likewise.
40506         (run-program-prefix): Define in terms of new variables.
40507         (built-program-cmd-before-env): New variable.
40508         (built-program-cmd-after-env): Likewise.
40509         (built-program-cmd): Define in terms of new variables.
40510         (test-program-prefix-before-env): New variable.
40511         (test-program-prefix-after-env): Likewise.
40512         (test-program-prefix): Define in terms of new variables.
40513         (test-program-cmd-before-env): New variable.
40514         (test-program-cmd-after-env): Likewise.
40515         (test-program-cmd): Define in terms of new variables.
40516         * Rules (make-test-out): Use $(run-program-env).
40517         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40518         (help): Do not mention environment variables.  Mention
40519         --timeoutfactor option.
40520         (timeoutfactor): New variable.
40521         (blacklist_exports): Remove function.
40522         (exports): Remove variable.
40523         (command): Do not include ${exports}.
40524         * manual/install.texi (Configuring and compiling): Do not mention
40525         test wrappers preserving environment variables.  Mention that last
40526         assignment to a variable must take precedence.
40527         * INSTALL: Regenerated.
40528         * benchtests/Makefile (run-bench): Use $(run-program-env).
40529         * catgets/Makefile ($(objpfx)test1.cat): Use
40530         $(built-program-cmd-before-env), $(run-program-env) and
40531         $(built-program-cmd-after-env).
40532         ($(objpfx)test2.cat): Do not specify environment variables
40533         explicitly.
40534         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40535         $(run-program-env) and $(built-program-cmd-after-env).
40536         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40537         $(run-program-env) and $(test-program-cmd-after-env).
40538         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40539         explicitly.
40540         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40541         run_program_env and test_program_cmd_after_env arguments.
40542         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40543         * elf/tst-pathopt.sh: Use run_program_env argument.
40544         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40545         $(test-wrapper-env) and $(run-program-env).
40546         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40547         run_program_env arguments.
40548         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40549         * intl/Makefile ($(objpfx)tst-gettext.out): Use
40550         $(test-program-prefix-before-env), $(run-program-env) and
40551         $(test-program-prefix-after-env).
40552         ($(objpfx)tst-gettext2.out): Likewise.
40553         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40554         run_program_env and test_program_prefix_after_env arguments.
40555         * intl/tst-gettext2.sh: Likewise.
40556         * intl/tst-gettext4.sh: Do not set environment variables
40557         explicitly.
40558         * intl/tst-gettext6.sh: Likewise.
40559         * intl/tst-translit.sh: Likewise.
40560         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40561         $(test-program-prefix-before-env), $(run-program-env) and
40562         $(test-program-prefix-after-env).
40563         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40564         run_program_env and test_program_prefix_after_env arguments.
40565         * math/Makefile (run-regen-ulps): Use $(run-program-env).
40566         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40567         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
40568         explicitly with each use of ${test_wrapper_env}.
40569         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40570         $(test-program-prefix-before-env), $(run-program-env) and
40571         $(test-program-prefix-after-env).
40572         * posix/tst-getconf.sh: Do not set environment variables
40573         explicitly.
40574         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40575         run_program_env and test_program_prefix_after_env arguments.
40576         * stdio-common/tst-printf.sh: Do not set environment variables
40577         explicitly.
40578         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40579         $(test-program-prefix-before-env), $(run-program-env) and
40580         $(test-program-prefix-after-env).
40581         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40582         run_program_env and test_program_prefix_after_env arguments.
40583         Split $test calls into $test_pre and $test.
40584         * timezone/Makefile (build-testdata): Use
40585         $(built-program-cmd-before-env), $(run-program-env) and
40586         $(built-program-cmd-after-env).
40588 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40590         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40591         strlen for non SHARED builds.
40593 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40595         * nptl/allocatestack.c (check_list): Inlined function...
40596         (__reclaim_stacks): ... here.
40598 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40600         [BZ #15698]
40601         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40602         memory overrun.
40604 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
40606         * Rules (make-test-out): Include
40607         LOCPATH=$(common-objpfx)localedata in default environment.
40608         * debug/Makefile (tst-chk1-ENV): Remove variable.
40609         (tst-chk2-ENV): Likewise.
40610         (tst-chk3-ENV): Likewise.
40611         (tst-chk4-ENV): Likewise.
40612         (tst-chk5-ENV): Likewise.
40613         (tst-chk6-ENV): Likewise.
40614         (tst-lfschk1-ENV): Likewise.
40615         (tst-lfschk2-ENV): Likewise.
40616         (tst-lfschk3-ENV): Likewise.
40617         (tst-lfschk4-ENV): Likewise.
40618         (tst-lfschk5-ENV): Likewise.
40619         (tst-lfschk6-ENV): Likewise.
40620         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40621         (tst-iconv7-ENV): Likewise.
40622         * intl/Makefile (LOCPATH-ENV): Likewise.
40623         (tst-codeset-ENV): Likewise.
40624         (tst-gettext3-ENV): Likewise.
40625         (tst-gettext5-ENV): Likewise.
40626         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40627         (tst-fopenloc-ENV): Likewise.
40628         (tst-fgetws-ENV): Remove variable.
40629         (tst-ungetwc1-ENV): Likewise.
40630         (tst-ungetwc2-ENV): Likewise.
40631         (bug-ungetwc2-ENV): Likewise.
40632         (tst-swscanf-ENV): Likewise.
40633         (bug-ftell-ENV): Likewise.
40634         (tst-fgetwc-ENV): Likewise.
40635         (tst-fseek-ENV): Likewise.
40636         (tst-ftell-partial-wide-ENV): Likewise.
40637         (tst-ftell-active-handler-ENV): Likewise.
40638         (tst-ftell-append-ENV): Likewise.
40639         * posix/Makefile (tst-fnmatch-ENV): Likewise.
40640         (tst-regexloc-ENV): Likewise.
40641         (bug-regex1-ENV): Likewise.
40642         (tst-regex-ENV): Likewise.
40643         (tst-regex2-ENV): Likewise.
40644         (bug-regex5-ENV): Likewise.
40645         (bug-regex6-ENV): Likewise.
40646         (bug-regex17-ENV): Likewise.
40647         (bug-regex18-ENV): Likewise.
40648         (bug-regex19-ENV): Likewise.
40649         (bug-regex20-ENV): Likewise.
40650         (bug-regex22-ENV): Likewise.
40651         (bug-regex23-ENV): Likewise.
40652         (bug-regex25-ENV): Likewise.
40653         (bug-regex26-ENV): Likewise.
40654         (bug-regex30-ENV): Likewise.
40655         (bug-regex32-ENV): Likewise.
40656         (bug-regex33-ENV): Likewise.
40657         (bug-regex34-ENV): Likewise.
40658         (bug-regex35-ENV): Likewise.
40659         (tst-rxspencer-ENV): Likewise.
40660         (tst-rxspencer-no-utf8-ENV): Likewise.
40661         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40662         (tst-sscanf-ENV): Likewise.
40663         (tst-swprintf-ENV): Likewise.
40664         (tst-swscanf-ENV): Likewise.
40665         (test-vfprintf-ENV): Likewise.
40666         (scanf13-ENV): Likewise.
40667         (bug14-ENV): Likewise.
40668         (tst-grouping-ENV): Likewise.
40669         * stdlib/Makefile (tst-strtod-ENV): Likewise.
40670         (tst-strtod3-ENV): Likewise.
40671         (tst-strtod4-ENV): Likewise.
40672         (tst-strtod5-ENV): Likewise.
40673         (testmb2-ENV): Likewise./
40674         * string/Makefile (tst-strxfrm-ENV): Likewise.
40675         (tst-strxfrm2-ENV): Likewise.
40676         (bug-strcoll1-ENV): Likewise.
40677         (test-strcasecmp-ENV): Likewise.
40678         (test-strncasecmp-ENV): Likewise.
40679         * time/Makefile (tst-strptime-ENV): Likewise.
40680         (tst-ftime_l-ENV): Likewise.
40681         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40682         (tst-mbrtowc-ENV): Likewise.
40683         (tst-wcrtomb-ENV): Likewise.
40684         (tst-mbrtowc2-ENV): Likewise.
40685         (tst-c16c32-1-ENV): Likewise.
40686         (tst-mbsnrtowcs-ENV): Likewise.
40688 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40690         * manual/resource.texi (How to get information about the memory
40691         subsystem?): Fix typo.
40692         Reported by Peon de la Parra Ivan <peon@keba.com>
40694 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
40696         [BZ #16882]
40697         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40698         (pthread_spin_lock): Branch out of spin loop to proper location.
40699         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40700         (pthread_spin_lock): Likewise.
40702         * nptl/tst-spin4.c: New test.
40703         * nptl/Makefile (tests): Add tst-spin4.
40705 2014-06-03  Andreas Schwab  <schwab@suse.de>
40707         [BZ #15946]
40708         * resolv/res_send.c (send_dg): Reload file descriptor after
40709         calling reopen.
40711 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
40713         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40715 2014-06-03  Richard Henderson  <rth@redhat.com>
40717         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40718         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40719         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40720         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
40721         in the SAVE_PID block.
40722         (__libc_vfork): New alias.
40723         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40725         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40726         child in registers, not on the stack.  Remove RESET_PID conditionals.
40727         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40729 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40731         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40733 2014-06-03  Wilco  <wdijkstr@arm.com>
40735         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40736         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40737         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40738         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40739         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40740         Likewise.
40742 2014-06-03  Wilco  <wdijkstr@arm.com>
40744         * sysdeps/aarch64/fpu/math_private.h
40745         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40746         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40747         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40748         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40749         Fix declarations.
40751 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40753         * crypt/crypt-private.h: Include ufc-crypt.h.
40754         (__b64_from_24bit): Declare extern.
40755         * crypt/crypt_util.c(__b64_from_24bit): New function.
40756         (b64t): New static const variable.
40757         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40758         (b64t): Remove variable.
40759         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40760         * crypt/sha256-crypt.c: Include crypt-private.h.
40761         (b64t): Remove variable.
40762         (__sha256_crypt_r): Remove b64_from_24bit and replace
40763         with __b64_from_24bit.
40764         * crypt/sha512-crypt.c: Likewise.
40766 2014-06-02  Roland McGrath  <roland@hack.frob.com>
40768         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40769         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40770         Label the code __libc_vfork rather than __vfork.
40771         [!NOT_IN_libc] (vfork): Define as weak alias.
40772         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40773         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40774         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40776 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40778         * malloc/malloc.c (malloc_info): Fix format specifier for
40779         n_mmaps.
40781 2014-06-02  Wilco  <wdijkstr@arm.com>
40783         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40784         FPCR write.
40786 2014-06-02  Wilco  <wdijkstr@arm.com>
40788         [BZ #17009]
40789         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40790         Rewrite to reduce FPCR/FPSR accesses.
40792 2014-06-01  David S. Miller  <davem@davemloft.net>
40794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40796 2014-05-31  David S. Miller  <davem@davemloft.net>
40798         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40799         to occur in round to nearest mode when |x| >= 2.0
40801 2014-05-30  Richard Henderson  <rth@twiddle.net>
40803         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40804         (PSEUDO_RET_NOERRNO): Remove.
40805         (ret): Don't redefine.
40806         (ret_NOERRNO): Define in terms of ret.
40807         (ret_ERRVAL): Likewise.
40809         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40810         use of PSEUDO_RET; perform the error check directly.
40812 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
40814         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40815         with __int128_t.
40817 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40819         * malloc/malloc (malloc_info): Fix formatting.
40821 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40822             Roland McGrath  <roland@hack.frob.com>
40824         * malloc/malloc (malloc_info): Also print mmapped statistics.
40826 2014-05-30  Roland McGrath  <roland@hack.frob.com>
40828         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40829         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40831 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
40833         * malloc/malloc.c (malloc_info): Inline mi_arena.
40835 2014-05-29  Richard Henderson  <rth@twiddle.net>
40837         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40838         Remove comma before expanding ASM_ARGS_##nr.
40839         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40840         Make _x0 a strict output; make _x8 a strict input; adjust expansion
40841         of ASM_ARGS_##nr.
40842         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40843         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40844         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40845         (ASM_ARGS_1): Add leading comma.
40847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40848         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40849         to __errno_location.
40850         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40851         Remove the expected plt for __errno_location.
40853         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40854         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40855         call to __read_tp.
40857         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40858         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
40859         it and break it down.
40860         (DOCARGS_0, DOCARGS_1): Do nothing.
40861         (DOCARGS_2): Update to store into the new stack frame.
40862         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40863         (UNDOCARGS_1): Update to restore from the new stack frame.
40864         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40865         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40867         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40868         (SINGLE_THREAD_P): New parameter for result regno.
40869         (PSEUDO): Update to match; use cbz instead of beq.
40871         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40872         Use ENTRY to define the _nocancel entry point.  Share the syscall
40873         and syscall error check paths with the cancel path.
40874         (PSEUDO_END): New.
40876         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40877         whitespace; tabs before and after asm mnemonics.
40879 2014-05-29  Eric Wong  <normalperson@yhbt.net>
40881         [BZ #15132]
40882         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40883         Call fstat64 or stat64 internally, depending on arguments passed.
40884         Replace stat buffer argument with file descriptor argument.
40885         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40886         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40887         Pass fd to __internal_statvfs instead of calling fstat64.
40888         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40889         Pass fd to __internal_statvfs64 instead of calling fstat64.
40890         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40891         Pass -1 to __internal_statvfs instead of calling stat64.
40892         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40893         Pass -1 to __internal_statvfs64 instead of calling stat64.
40895 2014-05-28  Roland McGrath  <roland@hack.frob.com>
40897         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40898         that was previously under [RESET_PID].
40899         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40901         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40902         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40904 2014-05-27  Roland McGrath  <roland@hack.frob.com>
40906         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40908         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40909         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40911 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
40913         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40915 2014-05-27  Andreas Schwab  <schwab@suse.de>
40917         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40918         TLS_INIT_TP macro.
40919         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40920         * elf/rtld.c (init_tls, dl_main): Likewise.
40921         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40922         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40923         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40924         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40925         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40926         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40927         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40928         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40929         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40930         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40931         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40932         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40933         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40934         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40935         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40936         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40937         * sysdeps/generic/tls.h: Update description.
40939 2014-05-27  Will Newton  <will.newton@linaro.org>
40941         [BZ #16990]
40942         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40943         and restore r2 rather than just restoring.
40945 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40947         [BZ #16724]
40948         * libio/tst-ftell-append.c: New test case.
40949         * libio/Makefile (tests): Add test case.
40950         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40951         append mode.
40952         * libio/wfileops.c (do_ftell_wide): Likewise.
40954 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40958         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40959         ...
40960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40962         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40963         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40964         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40965         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40966         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40967         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40969         Moved ...
40970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40971         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40972         Moved ...
40973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40974         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40975         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40976         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40977         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40978         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40979         ...
40980         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40981         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40982         Moved ...
40983         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40984         here.
40985         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40986         ...
40987         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40988         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40989         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40991         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40992         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40993         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40994         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40997         merge into ...
40998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
41000         ...
41001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
41002         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
41003         ...
41004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
41005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41006         Moved ...
41007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
41008         here.
41009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41010         Moved ...
41011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
41012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41013         Moved ...
41014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
41016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
41017         conditional [RESET_PID].
41018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
41019         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
41020         removed.
41021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
41022         removed.
41024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
41025         <tcb-offsets.h>.
41026         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41027         (__libc_vfork): New strong alias.
41028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
41029         removed.
41030         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
41031         Removed.
41033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
41034         <tcb-offsets.h>.
41035         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
41036         (__libc_vfork): New strong alias.
41037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
41038         removed.
41039         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
41040         removed.
41042 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
41044         * malloc/malloc.c (mi_arena): New function.
41045         (malloc_info): Remove nested function mi_arena. Call non-nosted
41046         function mi_arena.
41048 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41050         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
41051         by insrwi.
41052         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
41053         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41054         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41055         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
41056         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
41057         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
41058         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
41060 2014-05-26  Andreas Schwab  <schwab@suse.de>
41062         [BZ #16984]
41063         * locale/programs/repertoire.c (repertoire_read): Add slash
41064         between I18NPATH element and file name.
41065         * locale/programs/locfile.c (locfile_read): Likewise.
41067 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
41069         * nptl/pthread_mutexattr_settype.c
41070         (__pthread_mutexattr_settype):
41071         Disable lock elision for PTHREAD_MUTEX_NORMAL.
41073 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
41075         * nptl/tst-mutex5 (do_test):
41076         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
41078 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41080         * benchtests/README: Document 'init' directive.
41081         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
41082         BENCH_INIT.
41083         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
41084         (parse_file): Recognize 'init' directive.
41086 2014-05-26  Kyle McMartin  <kyle@redhat.com>
41088         [BZ #16796]
41089         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
41090         alignment of struct pthread.
41092 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41094         [BZ #16878]
41095         * nscd/netgroupcache.c (addgetnetgrentX): Look for
41096         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41097         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
41098         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41100 2014-05-25  Richard Henderson  <rth@twiddle.net>
41102         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41103         (SINGLE_THREAD_P_PIC): Remove.
41104         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
41105         (SINGLE_THREAD_P_PIC): Remove.
41107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
41108         branch to syscall error ...
41109         (PSEUDO): ... here.
41110         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
41111         from __local_syscall_error to .Lsyscall_error.
41112         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41113         (SYSCALL_ERROR): Update label name.
41115         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41116         Do not use DOARGS/UNDOARGS.
41117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
41118         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
41119         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
41120         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
41121         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
41123         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
41124         block comment.
41126         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
41127         define if !NOT_IN_libc.
41128         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
41129         define with non-default symbol versions.
41131 2014-05-23  Richard Henderson  <rth@twiddle.net>
41133         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
41134         (vfork, __vfork): Define via compat_symbol.
41136         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
41137         [!HAVE_IFUNC] (vfork_compat): Remove.
41138         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
41140 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41142         [BZ #16978]
41143         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
41144         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41145         variable.
41147 2014-05-23  Richard Henderson  <rth@twiddle.net>
41149         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41150         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41151         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41152         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41154         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41155         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41156         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41157         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41158         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41159         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41160         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41161         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41162         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41163         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41164         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41165         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41166         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41167         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41168         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41169         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41170         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41171         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41172         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41173         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41174         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41175         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41176         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41177         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41178         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41179         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41180         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41181         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41182         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41183         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41184         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41185         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41186         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41187         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41188         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41189         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41190         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41191         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41192         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41193         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41194         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41195         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41196         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41197         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41198         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41199         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41200         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41201         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41202         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41203         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41204         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41205         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41206         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41207         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41208         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41209         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41211         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41212         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41213         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
41214         before exiting on error.
41215         (__libc_vfork): New strong alias.
41216         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41217         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41219         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41220         that was previously under [RESET_PID].
41221         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41223         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41225 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41227         [BZ #16977]
41228         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41229         value when x - 1 is zero.
41230         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41231         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41232         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41233         0.0L for an argument of 1.0L.
41234         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41235         Likewise.
41236         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41237         value when x - 1 is zero.
41238         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41239         * sysdeps/i386/fpu/libm-test-ulps: Update.
41240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41242 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41244         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41245         alphasort and versionsort.
41247 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41249         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41250         macro.
41251         [copysignf]: Likewise.
41253 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41255         * crypt/md5-crypt.c: Fix formatting.
41257 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41259         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41260         (b64_from_24bit): New function.
41262 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41264         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41265         libc_hidden_builtin_def to ifunc.
41266         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41267         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41269 2014-05-21  Roland McGrath  <roland@hack.frob.com>
41271         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41272         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41274 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
41276         * nscd/Depend (linuxthreads): Remove.
41277         (nptl): Add.
41278         * resolv/Depend (linuxthreads): Remove.
41279         * rt/Depend (linuxthreads): Remove.
41281         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41282         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41283         $(common-objpfx)elf/.
41284         (link-libc-before-gnulib): Likewise.
41285         (elfobjdir): Remove variable.
41286         * Makefile (install): Use $(elf-objpfx) instead of
41287         $(common-objpfx)elf/.
41288         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41289         $(elfobjdir)/.
41290         (link-libc-deps): Likewise.
41291         ($(common-objpfx)libc.so): Likewise.
41292         ($(common-objpfx)linkobj/libc.so): Likewise.
41293         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41294         instead of $(common-objpfx)elf/.
41295         (symbolic-link-list): Likewise.
41296         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41297         [$(cross-compiling) = no]: Likewise.
41298         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41299         $(elfobjdir)/.
41300         (static-gnulib-arch): Likewise.
41301         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41302         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41303         $(common-objpfx)elf/.
41305 2014-05-21  Richard Henderson  <rth@redhat.com>
41307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41308         (SINGLE_THREAD_P): Use the correct width load.  Fold
41309         into the ldr offset.
41311         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41312         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41314 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
41316         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41317         (libgcc_s_resume): Use __attribute_used__.
41318         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41319         Likewise.
41321 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41323         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41324         optimization when used with float constants.
41326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41328 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
41330         [BZ #16915]
41331         * locale/nl_langinfo_l.c: Make direct reference to every
41332         _nl_current_CATEGORY symbol.
41333         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41334         (tests-static): Add tst-langinfo-static.
41335         (tests-special): Add tst-langinfo-static.out.
41336         ($(objpfx)tst-langinfo.out): Redirect output.
41337         ($(objpfx)tst-langinfo-static.out): New.
41338         * localedata/tst-langinfo.sh: Send output to stdout.
41339         * localedata/tst-langinfo-static.c: New file.
41341         [BZ #16965]
41342         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41343         when the shift amount is modulo the limb size.
41345 2014-05-20  Richard Henderson  <rth@redhat.com>
41347         [BZ #16967]
41348         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41349         Change type of sa_flags from unsigned int to int.
41351         [BZ #16966]
41352         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41354         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41356 2014-05-20  Will Newton  <will.newton@linaro.org>
41358         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41359         Test the return value of the system call in the nocancel case.
41361 2014-05-20  Will Newton  <will.newton@linaro.org>
41362             Yvan Roux  <yvan.roux@linaro.org>
41364         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41365         #include of asm/ptrace.h.
41366         (PTRACE_GET_THREAD_AREA): Remove #undef.
41367         (PTRACE_GETHBPREGS): Likewise.
41368         (PTRACE_SETHBPREGS): Likewise.
41369         (struct user_regs_struct): New structure.
41370         (struct user_fpsimd_struct): New structure.
41371         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41372         #include of asm/ptrace.h and second #include of sys/user.h.
41373         (PTRACE_GET_THREAD_AREA): Remove #undef.
41374         (PTRACE_GETHBPREGS): Likewise.
41375         (PTRACE_SETHBPREGS): Likewise.
41376         (ELF_NGREG): Use new struct user_regs_struct.
41377         (elf_fpregset_t): Use new struct user_fpsimd_struct.
41379 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41381         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41382         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41384 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
41386         [BZ #16958]
41387         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41388         membar to avoid block loads/stores to overlap previous stores.
41390 2014-05-17  Richard Henderson  <rth@redhat.com>
41392         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41393         Create the __##syscall_name##_nocancel entry point.
41394         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41395         Remove; let the sysdep-cancel.h code create it.
41397 2014-05-17  David S. Miller  <davem@davemloft.net>
41399         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41400         Protect with __USE_GNU.
41401         (TIOCSET_TEMPT): Likewise.
41402         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41403         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41404         these are already provided in bits/ioctl-types.h
41406 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41408         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41409         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41411         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41412         Use wait4 regardless of [__NR_waitpid].
41414 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41416         PR libgcc/60166
41417         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41418         (_FP_NANSIGN_Q): Set the quiet bit.
41420 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
41422         * benchtests/Makefile
41423         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41424         not $(common-objpfx)math/libm.so.
41425         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41426         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41427         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41428         $(common-objpfx)dlfcn/libdl.so.
41429         ($(objpfx)tst-audit8): Depend on $(libm), not
41430         $(common-objpfx)math/libm.so.
41431         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41432         not $(common-objpfx)dlfcn/libdl.so.
41433         * math/Makefile
41434         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41435         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
41436         [$(build-shared) = yes].
41437         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41438         $(common-objpfx)nptl/libpthread.so.
41439         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41440         $(common-objpfx)math/libm.so$(libm.so-version) or
41441         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41442         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41443         $(common-objpfx)dlfcn/libdl.so.
41444         * setjmp/Makefile (link-libm): Remove variable.
41445         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41446         * stdio-common/Makefile (link-libm): Remove variable.
41447         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41448         * stdlib/Makefile (link-libm): Remove variable.
41449         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41450         ($(objpfx)tst-strtod-round): Likewise.
41451         ($(objpfx)tst-tininess): Likewise.
41452         ($(objpfx)tst-strtod-underflow): Likewise.
41453         ($(objpfx)tst-strtod6): Likewise.
41454         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41455         $(libdl), not $(common-objpfx)nptl/libpthread.so and
41456         $(common-objpfx)dlfcn/libdl.so.
41458 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41460         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41461         BSD terminal modes definitions.
41463 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41465         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41466         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41468         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41469         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41470         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41471         Don't do #include_next.
41472         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41473         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41474         Don't do #include_next.
41475         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41476         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41477         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41478         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41480 2014-05-16  Allan McRae  <allan@archlinux.org>
41482         * po/sv.po: Update Swedish translation from translation project.
41484         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41485         in sed expression.
41487 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
41489         [BZ #16917]
41490         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41491         errno if the TIOCGPTN ioctl fails with an error different than
41492         EINVAL.
41493         * login/tst-ptsname.c: New file.
41494         * login/Makefile (tests): Add tst-ptsname.
41496         [BZ #16943]
41497         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41498         and prlimit64.
41500 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41502         [BZ #16849]
41503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41504         herrno to return EAI_AGAIN.
41506 2014-05-14  Roland McGrath  <roland@hack.frob.com>
41508         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41509         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41510         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41511         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41512         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41513         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41514         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41515         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41516         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41517         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41518         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41519         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41520         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41521         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41522         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41523         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41524         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41525         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41526         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41527         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41528         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41529         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41530         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41531         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41532         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41533         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41534         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41535         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41536         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41537         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41539         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41541         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41543         Moved ...
41544         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41546         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41548         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41550         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41552         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41554         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41556         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41558         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41560         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41562         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41564         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41566         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41568         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41570         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41572         Moved ...
41573         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41575         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41577         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41579         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41581         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41583         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41585         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41587         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41589         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41591         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41593         Moved ...
41594         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41596         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41598         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41599         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41600         (libpthread-sysdep_routines): Add elision-related stuff here instead.
41601         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41602         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41603         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41604         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41605         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41606         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41607         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41608         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41609         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41610         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41611         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41612         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41613         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41614         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41615         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41616         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41617         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41618         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41619         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41620         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41621         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41622         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41623         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41624         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41625         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41626         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41627         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41628         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41630         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41631         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41633         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41634         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41635         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41636         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41637         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41638         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41639         Moved ...
41640         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41641         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41642         Moved ...
41643         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41644         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41645         Moved ...
41646         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41647         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41648         Moved ...
41649         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41650         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41651         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41652         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41653         Moved ...
41654         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41655         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41656         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41657         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41658         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41659         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41660         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41661         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41662         Moved ...
41663         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41664         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41665         Moved ...
41666         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41667         ... here.
41668         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41669         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41670         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41671         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41672         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41673         Moved ...
41674         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41675         ... here.
41676         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41677         Moved ...
41678         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41679         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41680         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41681         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41682         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41683         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41684         Moved ...
41685         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41686         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41687         Moved ...
41688         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41689         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41690         Moved ...
41691         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41692         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41693         Moved ...
41694         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41695         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41696         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41697         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41698         Moved ...
41699         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41700         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41701         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41702         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41703         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41704         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41705         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41706         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41707         Moved ...
41708         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41709         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41710         Moved ...
41711         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41712         ... here.
41713         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41714         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41715         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41716         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41717         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41718         Moved ...
41719         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41720         ... here.
41721         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41722         Moved ...
41723         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41724         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41725         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41726         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41727         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41728         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41729         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41730         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41731         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41732         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41733         Moved ...
41734         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41735         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41736         Moved ...
41737         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41738         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41739         Moved ...
41740         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41741         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41742         Moved ...
41743         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41744         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41745         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41746         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41747         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41748         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41749         Moved ...
41750         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41751         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41752         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41753         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41754         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41755         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41756         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41757         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41758         Moved ...
41759         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41760         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41761         Moved ...
41762         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41763         ... here.
41764         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41765         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41766         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41767         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41768         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41769         Moved ...
41770         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41771         ... here.
41772         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41773         Moved ...
41774         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41775         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41776         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41777         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41778         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41779         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41780         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41781         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41782         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41783         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41784         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41786         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41787         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41789         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41790         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41792         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41793         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41794         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41795         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41796         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41797         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41798         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41799         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41800         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41801         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41802         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41803         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41804         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41805         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41806         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41807         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41808         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41809         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41810         Moved ...
41811         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41812         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41813         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41814         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41815         Moved ...
41816         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41817         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41818         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41819         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41820         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41821         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41822         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41824         Moved ...
41825         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41826         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41827         Moved ...
41828         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41829         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41830         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41831         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41832         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41834         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41835         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41836         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41837         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41838         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41839         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41840         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41841         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41842         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41843         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41844         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41846         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41847         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41848         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41849         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41850         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41852         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41853         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41854         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41855         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41856         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41857         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41858         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41859         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41860         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41861         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41863         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41866         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41867         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41868         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41869         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41870         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41871         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41872         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41873         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41874         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41875         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41876         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41877         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41878         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41879         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41881         Update #include.
41882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41883         Likewise.
41884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41885         Likewise.
41886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41887         Likewise.
41888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41889         Likewise.
41890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41891         Likewise.
41892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41893         Likewise.
41894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41895         Likewise.
41896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41897         Likewise.
41898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41899         Likewise.
41900         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41901         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41902         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41903         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41904         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41905         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41906         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41907         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41908         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41909         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41910         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41911         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41912         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41913         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
41914         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
41916         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41917         that was previously under [RESET_PID].
41918         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41919         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41920         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41922         * sysdeps/i386/nptl/Implies: New file.
41923         * sysdeps/x86_64/nptl/Implies: New file.
41924         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41925         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41926         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41927         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41929         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41930         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41931         (__libc_vfork): New strong alias.
41932         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41933         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41935         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41936         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41937         (__libc_vfork): New strong alias.
41938         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41939         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41941         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41942         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41943         (__libc_vfork): New strong alias.
41944         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41945         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41946         * nptl/pt-vfork.c: New file.
41947         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41948         (libpthread: GLIBC_2.20): New version set (empty).
41950 2014-05-14  Will Newton  <will.newton@linaro.org>
41952         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41953         rather than #if.
41955 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41957         [BZ #16564]
41958         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41959         arguments with exponent 65 or above.
41960         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41961         arguments 0x1p113L or above.
41962         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41963         to arguments 0x1p107L or above.
41964         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41965         positive arguments with exponent 65 or above.
41966         * math/auto-libm-test-in: Add more tests of log1p.
41967         * math/auto-libm-test-out: Regenerated.
41969         [BZ #16928]
41970         * math/s_cacos.c (__cacos): Ensure zero real part of result from
41971         non-finite arguments is +0.
41972         * math/s_cacosf.c (__cacosf): Likewise.
41973         * math/s_cacosl.c (__cacosl): Likewise.
41974         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41975         * sysdeps/i386/fpu/libm-test-ulps: Update.
41976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41978         [BZ #16927]
41979         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41980         value.
41981         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41982         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41983         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41984         for explicit high bit of mantissa when testing for argument equal
41985         to 1.
41986         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41987         * sysdeps/i386/fpu/libm-test-ulps: Update.
41988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41990         [BZ #16516]
41991         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41992         (__erf): Scale by 16 instead of 8 in potentially underflowing
41993         case.  Ensure exception if result actually underflows.
41994         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41995         (__erff): Scale by 16 instead of 8 in potentially underflowing
41996         case.  Ensure exception if result actually underflows.
41997         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41998         (efx8): Remove variable.
41999         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42000         case.  Ensure exception if result actually underflows.
42001         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
42002         (efx8): Remove variable.
42003         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42004         case.  Ensure exception if result actually underflows.
42005         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
42006         (efx8): Remove variable.
42007         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42008         case.  Ensure exception if result actually underflows.
42009         * math/auto-libm-test-in: Add more tests of erf.
42010         * math/auto-libm-test-out: Regenerated.
42012 2014-05-14  Andreas Schwab  <schwab@suse.de>
42014         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
42015         Remove code conditionalized on USE___THREAD.
42017         * config.h.in (HAVE_PT_CHOWN): Define as 0.
42018         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
42019         not definedness.
42021 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
42023         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
42024         Define unconditionally.
42025         (__ASSUME_O_CLOEXEC): Likewise.
42026         (__ASSUME_SOCK_CLOEXEC): Likewise.
42027         (__ASSUME_IN_NONBLOCK): Likewise.
42028         (__ASSUME_PIPE2): Likewise.
42029         (__ASSUME_EVENTFD2): Likewise.
42030         (__ASSUME_SIGNALFD4): Likewise.
42031         (__ASSUME_DUP3): Likewise.
42032         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42033         (__ASSUME_DUP3): Do not define.
42034         (__ASSUME_EVENTFD2): Likewise.
42035         (__ASSUME_IN_NONBLOCK): Likewise.
42036         (__ASSUME_O_CLOEXEC): Likewise.
42037         (__ASSUME_PIPE2): Likewise.
42038         (__ASSUME_SIGNALFD4): Likewise.
42039         (__ASSUME_SOCK_CLOEXEC): Likewise.
42040         (__ASSUME_UTIMES): Undefine.
42041         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42042         (__ASSUME_UTIMES): Do not define.
42043         (__ASSUME_O_CLOEXEC): Likewise.
42044         (__ASSUME_SOCK_CLOEXEC): Likewise.
42045         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
42046         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
42047         0x020621].
42048         (__ASSUME_PIPE2): Likewise.
42049         (__ASSUME_EVENTFD2): Likewise.
42050         (__ASSUME_SIGNALFD4): Likewise.
42051         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
42052         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42053         Do not define.
42054         (__ASSUME_EVENTFD2): Likewise.
42055         (__ASSUME_SIGNALFD4): Likewise.
42056         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42057         (__ASSUME_32BITUIDS): Likewise.
42058         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42059         (__ASSUME_IPC64): Likewise.
42060         (__ASSUME_ST_INO_64_BIT): Likewise.
42061         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42062         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
42063         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42064         (__ASSUME_UTIMES): Do not define.
42065         (__ASSUME_PSELECT): Likewise.
42066         (__ASSUME_PPOLL): Likewise.
42067         (__ASSUME_O_CLOEXEC): Likewise.
42068         (__ASSUME_SOCK_CLOEXEC): Likewise.
42069         (__ASSUME_IN_NONBLOCK): Likewise.
42070         (__ASSUME_PIPE2): Likewise.
42071         (__ASSUME_EVENTFD2): Likewise.
42072         (__ASSUME_SIGNALFD4): Likewise.
42073         (__ASSUME_DUP3): Likewise.
42074         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42075         (__ASSUME_UTIMES): Likewise.
42076         (__ASSUME_O_CLOEXEC): Likewise.
42077         (__ASSUME_SOCK_CLOEXEC): Likewise.
42078         (__ASSUME_IN_NONBLOCK): Likewise.
42079         (__ASSUME_PIPE2): Likewise.
42080         (__ASSUME_EVENTFD2): Likewise.
42081         (__ASSUME_SIGNALFD4): Likewise.
42082         (__ASSUME_DUP3): Likewise.
42083         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42084         (__ASSUME_UTIMES): Likewise.
42085         (__ASSUME_O_CLOEXEC): Likewise.
42086         (__ASSUME_SOCK_CLOEXEC): Likewise.
42087         (__ASSUME_IN_NONBLOCK): Likewise.
42088         (__ASSUME_PIPE2): Likewise.
42089         (__ASSUME_EVENTFD2): Likewise.
42090         (__ASSUME_SIGNALFD4): Likewise.
42091         (__ASSUME_DUP3): Likewise.
42092         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
42093         Likewise.
42094         (__ASSUME_UTIMES): Likewise.
42095         (__ASSUME_EVENTFD2): Likewise.
42096         (__ASSUME_SIGNALFD4): Likewise.
42097         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42098         (__ASSUME_O_CLOEXEC): Likewise.
42099         (__ASSUME_SOCK_CLOEXEC): Likewise.
42100         (__ASSUME_IN_NONBLOCK): Likewise.
42101         (__ASSUME_PIPE2): Likewise.
42102         (__ASSUME_EVENTFD2): Likewise.
42103         (__ASSUME_SIGNALFD4): Likewise.
42104         (__ASSUME_DUP3): Likewise.
42105         (__ASSUME_UTIMES): Undefine.
42107         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
42108         feclearexcept.  Remove symbol versioning code.
42109         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
42110         symbol versioning code.
42111         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
42112         symbol versioning code.
42113         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
42114         feupdateenv.  Remove symbol versioning code.
42115         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
42116         fegetexceptflag.  Remove symbol versioning code.
42117         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
42118         fesetexceptflag.  Remove symbol versioning code.
42119         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
42120         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
42121         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
42122         (__posix_fadvise64_l32): Remove prototype.
42123         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
42124         code.
42126 2014-05-13  Roland McGrath  <roland@hack.frob.com>
42128         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
42129         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
42130         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
42131         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
42133 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
42135         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
42136         current working directory
42138 2014-05-13  Roland McGrath  <roland@hack.frob.com>
42140         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
42141         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
42142         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
42143         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
42144         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
42145         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42146         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42147         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42148         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42149         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42150         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42151         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42152         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42153         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42154         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42155         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42156         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42157         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42158         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42159         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42160         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42161         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42162         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42163         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42164         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42165         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42166         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42167         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42168         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42169         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42170         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42171         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42172         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42173         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42174         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42175         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42176         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42177         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42178         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42179         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42180         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42181         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42183         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42184         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42186         * sysdeps/unix/sysv/linux/arm/Makefile
42187         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42188         Add rt-aeabi_unwind_cpp_pr1.
42189         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42190         Add nptl-aeabi_unwind_cpp_pr1.
42191         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42192         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42193         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42194         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42195         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42196         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42198         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42199         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42200         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42201         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42203         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42204         Deconditionalize the code that was previously under [RESET_PID].
42205         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42207         * sysdeps/generic/exit-thread.h: New file.
42208         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42209         * include/unistd.h (__exit_thread): Remove declaration.
42210         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42211         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42212         * csu/libc-start.c: Include <exit-thread.h>.
42213         (LIBC_START_MAIN): Pass no argument to __exit_thread.
42214         * nptl/pthread_create.c: Include <exit-thread.h>.
42215         (start_thread): Call __exit_thread in place of __exit_thread_inline.
42216         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42217         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42218         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42219         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42220         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42221         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42222         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42223         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42224         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42225         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42226         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42227         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42228         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42229         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42230         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42231         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42233 2014-05-13  Andreas Schwab  <schwab@suse.de>
42235         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42237 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
42239         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42240         (__ASSUME_UTIMES): Do not condition on kernel version.
42241         (__ASSUME_PSELECT): Define unconditionally.
42242         (__ASSUME_PPOLL): Likewise.
42243         (__ASSUME_ATFCTS): Likewise.
42244         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42245         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42246         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42247         (__ASSUME_UTIMENSAT): Define unconditionally.
42248         (__ASSUME_PRIVATE_FUTEX): Likewise.
42249         (__ASSUME_FALLOCATE): Likewise.
42250         (__ASSUME_O_CLOEXEC): Likewise.
42251         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42252         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42253         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42254         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42255         (__ASSUME_IN_NONBLOCK): Likewise.
42256         (__ASSUME_PIPE2): Likewise.
42257         (__ASSUME_EVENTFD2): Likewise.
42258         (__ASSUME_SIGNALFD4): Likewise.
42259         (__ASSUME_DUP3): Likewise.
42260         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42261         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42262         (__ASSUME_AT_RANDOM): Likewise.
42263         (__ASSUME_PREADV): Likewise.
42264         (__ASSUME_PWRITEV): Likewise.
42265         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42266         (__ASSUME_F_GETOWN_EX): Define unconditionally.
42267         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42268         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42269         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42270         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42271         (__ASSUME_O_CLOEXEC): Define unconditionally.
42272         (__ASSUME_PSELECT): Do not undefine conditionally.
42273         (__ASSUME_PPOLL): Likewise.
42274         (__ASSUME_ATFCTS): Likewise.
42275         (__ASSUME_SET_ROBUST_LIST): Likewise.
42276         (__ASSUME_UTIMENSAT): Likewise.
42277         (__ASSUME_FDATASYNC): Define unconditionally.
42278         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42279         (__ASSUME_SIGFRAME_V2): Likewise.
42280         )__ASSUME_EVENTFD2): Likewise.
42281         (__ASSUME_SIGNALFD4): Likewise.
42282         (__ASSUME_PSELECT): Do not undefine conditionally.
42283         (__ASSUME_PPOLL): Likewise.
42284         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42285         (__ASSUME_PSELECT): Define unconditionally.
42286         (__ASSUME_PPOLL): Likewise.
42287         (__ASSUME_O_CLOEXEC): Likewise.
42288         (__ASSUME_SOCK_CLOEXEC): Likewise.
42289         (__ASSUME_IN_NONBLOCK): Likewise.
42290         (__ASSUME_PIPE2): Likewise.
42291         (__ASSUME_EVENTFD2): Likewise.
42292         (__ASSUME_SIGNALFD4): Likewise.
42293         (__ASSUME_DUP3): Likewise.
42294         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42295         (__ASSUME_O_CLOEXEC): Likewise.
42296         (__ASSUME_SOCK_CLOEXEC): Likewise.
42297         (__ASSUME_IN_NONBLOCK): Likewise.
42298         (__ASSUME_PIPE2): Likewise.
42299         (__ASSUME_EVENTFD2): Likewise.
42300         (__ASSUME_SIGNALFD4): Likewise.
42301         (__ASSUME_DUP3): Likewise.
42302         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42303         (__ASSUME_EVENTFD2): Likewise.
42304         (__ASSUME_SIGNALFD4): Likewise.
42305         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42307 2014-05-12  Andreas Schwab  <schwab@suse.de>
42309         [BZ #16932]
42310         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42311         (_nss_nis_gethostbyname4_r): Return error if item length is larger
42312         than maximum RPC packet size.
42313         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42314         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42315         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42316         (_nss_nis_getservbyport_r): Likewise.
42318 2014-05-12  Will Newton  <will.newton@linaro.org>
42320         * malloc/Makefile (tests): Add tst-mallopt.
42321         * malloc/tst-mallopt.c: New file.
42323 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42325         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42326         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42328 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42330         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42331         (tst-tlsmod6.so): Likewise.
42333 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42335         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42337 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
42339         [BZ #16064]
42340         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42341         and <dl-procinfo.h>.
42342         (__fegetenv): Save SSE state in envp->__eip if supported.
42343         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42344         envp->__eip if supported.
42345         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42346         and <dl-procinfo.h>.
42347         (__fesetenv): Always set __eip, __cs_selector, __opcode,
42348         __data_offset and __data_selector in environment to 0.  Set SSE
42349         state if supported.
42350         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42351         test-fenv-sse.
42352         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42353         -mfpmath=sse.
42354         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42356 2014-05-09  Will Newton  <will.newton@linaro.org>
42358         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42359         and libc_relro_required for ARM.
42360         * sysdeps/arm/preconfigure: Regenerate.
42362 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
42363             Stefan Liebler  <stli@linux.vnet.ibm.com>
42365         * config.make.in (enable-lock-elision): New Makefile variable.
42366         * configure.ac: Likewise.
42367         * configure: Regenerate.
42368         * sysdeps/s390/configure.ac:
42369         Add check for gcc transactions support.
42370         * sysdeps/s390/configure: Regenerate.
42371         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42372         Build elision files if enabled.
42373         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42374         Add lock elision support for s390.
42375         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42376         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42377         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42378         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42379         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42380         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42381         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42382         Likewise.
42383         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42384         Likewise.
42385         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42386         Likewise.
42387         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42388         Likewise.
42389         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42390         (__lll_timedlock_elision, __lll_lock_elision)
42391         (__lll_unlock_elision, __lll_trylock_elision)
42392         (lll_timedlock_elision, lll_lock_elision)
42393         (lll_unlock_elision, lll_trylock_elision): Add.
42394         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42395         (pthread_mutex_t): Add lock elision support for s390.
42397 2014-05-14  Wilco  <wdijkstr@arm.com>
42399         * sysdeps/arm/fclrexcpt.c: Cleanup.
42400         * sysdeps/arm/fedisblxcpt.c: Cleanup.
42401         * sysdeps/arm/feenablxcpt.c: Cleanup.
42402         * sysdeps/arm/fegetenv.c: Cleanup.
42403         * sysdeps/arm/fegetexcept.c: Cleanup.
42404         * sysdeps/arm/fegetround.c: Cleanup.
42405         * sysdeps/arm/feholdexcpt.c: Cleanup.
42406         * sysdeps/arm/fesetenv.c: Cleanup.
42407         * sysdeps/arm/fesetround.c: Cleanup.
42408         * sysdeps/arm/feupdateenv.c: Cleanup.
42409         * sysdeps/arm/fgetexcptflg.c: Cleanup.
42410         * sysdeps/arm/fraiseexcpt.c: Cleanup.
42411         * sysdeps/arm/fsetexcptflg.c: Cleanup.
42412         * sysdeps/arm/ftestexcept.c: Cleanup.
42413         * sysdeps/arm/get-rounding-mode.h: Cleanup.
42414         * sysdeps/arm/setfpucw.c: Cleanup.
42416 2014-05-09  Will Newton  <will.newton@linaro.org>
42418         * sysdeps/arm/armv7/strcmp.S: New file.
42419         * NEWS: Mention addition of ARMv7 optimized strcmp.
42421 2014-05-08  Roland McGrath  <roland@hack.frob.com>
42423         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42424         look for %.ac rather than %.in.
42426         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42427         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42428         * sysdeps/mach/hurd/configure: Regenerated.
42429         * sysdeps/unix/sysv/linux/configure: Regenerated.
42431         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42433 2014-05-07  Steve Ellcey  <sellcey@mips.com>
42435         [BZ# 16922]
42436         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42437         (LONG_SUB): Ditto.
42438         (PTR_SUB): Ditto.
42440 2014-05-07  Andreas Schwab  <schwab@suse.de>
42442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42443         when skipping over non-matching result from nscd.
42445 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
42447         [BZ #16876]
42448         * nptl/sockperf.c (client): Check socket return value.
42450         [BZ #16877]
42451         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42452         nscd security class.
42454 2014-05-06  Roland McGrath  <roland@hack.frob.com>
42456         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42457         * sysdeps/arm/unwind.h: ... here.
42459 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
42461         [BZ# 16916]
42462         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42463         Define.
42465 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42467         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42468         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42469         multiarch strncpy for PPC64.
42470         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42471         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42473         multiarch optimizations.
42474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42475         (__libc_ifunc_impl_list): Likewise.
42476         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42477         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42478         multiarch stpncpy for PPC64.
42479         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42480         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42482 2014-05-06  Andreas Schwab  <schwab@suse.de>
42484         [BZ #16912]
42485         * gmon/mcount.c (_MCOUNT_DECL): Use
42486         atomic_compare_and_exchange_bool_acq instead of
42487         catomic_compare_and_exchange_bool_acq.
42489 2014-05-05  Roland McGrath  <roland@hack.frob.com>
42491         * elf/Makefile (others, install-bin): Remove pldd.
42492         (pldd-modules): Variable removed.
42493         ($(objpfx)pldd): Target removed.
42494         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42495         (others, install-bin): Append pldd here.
42496         ($(objpfx)pldd): New target.
42498         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42499         to 0, so the first #if test emitted later doesn't see it undefined.
42500         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42501         * sysdeps/gnu/errlist.c: Regenerated.
42503 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42505         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42506         [libc_hidden_builtin_def]: Define to empty value.
42507         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42508         [libc_hidden_builtin_def]: Likewise.
42509         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42510         [libc_hidden_builtin_def]: Likewise.
42511         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42512         [libc_hidden_builtin_def]: Likewise.
42513         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42514         __redirect_memcpy and define ifunc as default hidden symbol.
42515         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42516         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42518 2014-05-04  Adam Conrad  <adconrad@0c3.net>
42520         * locale/iso-4217.def: Reintroduce XDR currency.
42522 2014-05-04  Allan McRae  <allan@archlinux.org>
42524         * po/eo.po: Update Esperanto translation from translation project.
42526 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
42528         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42529         and FEATURE_INDEX_MAX to 1.
42530         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42532 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42534         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42535         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42536         * iconvdata/big5.c (ONE_DIRECTION): Define.
42537         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42538         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42539         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42540         * iconvdata/cp932.c (ONE_DIRECTION): Define.
42541         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42542         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42543         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42544         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42545         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42546         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42547         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42548         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42549         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42550         * iconvdata/gbk.c (ONE_DIRECTION): Define.
42551         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42552         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42553         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42554         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42555         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42556         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42557         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42558         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42559         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42560         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42561         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42562         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42563         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42564         * iconvdata/iso646.c (ONE_DIRECTION): Define.
42565         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42566         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42567         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42568         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42569         * iconvdata/johab.c (ONE_DIRECTION): Define.
42570         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42571         * iconvdata/sjis.c (ONE_DIRECTION): Define.
42572         * iconvdata/t.61.c (ONE_DIRECTION): Define.
42573         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42574         * iconvdata/tscii.c (ONE_DIRECTION): Define.
42575         * iconvdata/uhc.c (ONE_DIRECTION): Define.
42576         * iconvdata/unicode.c (ONE_DIRECTION): Define.
42577         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42578         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42579         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42581 2014-05-01  Roland McGrath  <roland@hack.frob.com>
42583         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42584         (_IO_JUMPS_OFFSET): Define to 0.
42586         * nptl/sysdeps/pthread/bits/libc-lock.h
42587         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42588         (__libc_lock_define_initialized_recursive): Always define using
42589         initializer.  Modern compilers treat uninitialized (implicit zero) and
42590         explicit zero initializers the same (i.e. put the datum in bss).
42592 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42594         * nscd/nscd-client.h: Include <string.h>.
42596 2014-05-01  David S. Miller  <davem@davemloft.net>
42598         [BZ #16885]
42599         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42600         multiple zero bytes exist at the end of a string.
42601         Reported by Aurelien Jarno <aurelien@aurel32.net>
42603         * string/test-strcmp.c (check): Add explicit test for situations where
42604         there are multiple zero bytes after the first.
42606 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42608         [BZ #16890]
42609         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42610         when compiling wprintf.
42611         * stdio-common/tstdiomisc.c (t3): New function.
42612         (main): Call it.
42614 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42616         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42617         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42618         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42619         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42621 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42623         * stdlib/longlong.h: Updated from GCC.
42625 2014-05-01  Will Newton  <will.newton@linaro.org>
42626             Bernard Ogden  <bernie.ogden@linaro.org>
42628         * NEWS: Update fixed bug list.
42630         [BZ #15119]
42631         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42633 2014-04-30  David S. Miller  <davem@davemloft.net>
42635         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42636         (libc_feholdexcept_setround_sparc_ctx): New function.
42637         (libc_fesetenv_sparc_ctx): Likewise.
42638         (libc_feupdateenv_sparc_ctx): Likewise.
42639         (libc_feholdsetround_sparc_ctx): Likewise.
42640         (libc_feholdexcept_setround_ctx): Define.
42641         (libc_feholdexcept_setroundf_ctx): Likewise.
42642         (libc_feholdexcept_setroundl_ctx): Likewise.
42643         (libc_fesetenv_ctx): Likewise.
42644         (libc_fesetenvf_ctx): Likewise.
42645         (libc_fesetenvl_ctx): Likewise.
42646         (libc_feupdateenv_ctx): Likewise.
42647         (libc_feupdateenvf_ctx): Likewise.
42648         (libc_feupdateenvl_ctx): Likewise.
42649         (libc_feresetround_ctx): Likewise.
42650         (libc_feresetroundf_ctx): Likewise.
42651         (libc_feresetroundl_ctx): Likewise.
42652         (libc_feholdsetround_ctx): Likewise.
42653         (libc_feholdsetroundf_ctx): Likewise.
42654         (libc_feholdsetroundl_ctx): Likewise.
42656         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42657         with __USE_GNU instead of XOPEN cpp guards.
42659         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42660         0.
42662         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42663         with XOPEN cpp guards.
42665 2014-04-30  Julian Brown  <julian@codesourcery.com>
42667         [BZ #16888]
42668         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42669         handling.
42671 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
42673         [BZ #9894]
42674         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42675         Change to 2.6.32.
42676         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42677         * sysdeps/unix/sysv/linux/configure: Regenerated.
42678         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42679         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42680         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42681         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42682         * README: Update reference to required Linux kernel version.
42683         * manual/install.texi (Linux): Update reference to required Linux
42684         kernel headers version.
42685         * INSTALL: Regenerated.
42687         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42688         header inclusion.
42689         [POSIX] (limits.h): Likewise.
42690         [POSIX] (math.h): Likewise.
42691         [POSIX] (sys/wait.h): Likewise.
42692         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42693         function.
42694         [POSIX] (stddef.h): Do not allow header inclusion.
42696 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42698         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42700 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
42702         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42703         Return immediately after lll_futex_wake.
42705 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42707         [BZ #16791]
42708         * nscd/nscd-client.h (datahead_init_common): Initialize entire
42709         structure.
42710         (datahead_init_pos): Call datahead_init_common early.
42711         (datahead_init_neg): Likewise.
42713         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42714         datahead_init_neg): New functions.
42715         * nscd/aicache.c (addhstaiX): Use them.
42716         * nscd/grpcache.c (cache_addgr): Likewise.
42717         * nscd/hstcache.c (cache_addhst): Likewise.
42718         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42719         * nscd/netgroupcache.c (do_notfound): Likewise.
42720         (addgetnetgrentX): Likewise.
42721         (addinnetgrX): Likewise.
42722         * nscd/pwdcache.c (cache_addpw): Likewise.
42723         * nscd/servicescache.c (cache_addserv): Likewise.
42725 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42726             Atsushi Onoe  <atsushi@onoe.org>
42728         [BZ #14308]
42729         [BZ #12994]
42730         [BZ #13651]
42731         * resolv/res_query.c (__libc_res_nsearch): Return if at least
42732         one response is valid.
42733         * resolv/res_send.c (send_dg): Check for validity of other
42734         response if the current response is a referral.
42736 2014-04-29  Steve Ellcey  <sellcey@mips.com>
42738         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42740 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
42742         [BZ #16823]
42743         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42744         Always divide by positive zero when computing -Inf result.
42745         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42746         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42748 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42750         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42751         FPSCR if value do not change.
42752         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42753         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42754         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42755         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42756         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42757         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42758         function.
42760 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
42762         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42763         * sysdeps/unix/sysv/linux/hppa: Move directory from
42764         ports/systeps/unix/sysv/linux/hppa.
42765         * README: Update listing for hppa-*-linux-gnu.
42767 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
42769         [BZ #16754]
42770         * manual/stdio.texi (Hook functions): Fix types of stream hook
42771         functions.
42772         [BZ #16854]
42773         * socket/sys/socket.h: Fix typo in comment.
42775 2014-04-28  Wilco  <wdijkstr@arm.com>
42777         * sysdeps/arm/fenv_private.h: New file.
42778         * sysdeps/arm/math_private.h: New file.
42779         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42781 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
42783         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42784         with __int128_t.
42785         (La_x86_64_retval): Likewise.
42787 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
42789         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42790         fpsr if value didn't change.
42791         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42792         to fpcr if value didn't change.
42793         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42794         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42795         fpsr or fpcr if value didn't change.
42796         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42797         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42798         fpcr if value didn't change.
42799         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42800         to fpsr if value didn't change.
42802 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42804         * nptl/tst-sem3.c: Use test-skeleton.c
42805         (main): Rename to do_test.  Use return instead of
42806         exit.
42807         * nptl/tst-sem4.c: Use test-skeleton.c
42808         (main): Rename to do_test.
42810 2014-04-22  David S. Miller  <davem@davemloft.net>
42812         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42813         (struct sigaction): New struct member __glibc_reserved0, change
42814         type of sa_flags to int.
42816 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
42818         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42819         (COUNT_LEADING_ZEROS_0): Define for AArch64.
42821 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42823         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42824         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42826 2014-04-22  Will Newton  <will.newton@linaro.org>
42827             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
42829         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42830         (__longjmp): Add longjmp and longjmp_target SystemTap
42831         probes.
42832         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42833         (__sigsetjmp): Add setjmp SystemTap probe.
42835 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
42837         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42838         match manual order.
42840 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42842         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42844         * sysdeps/powerpc/fpu/fenv_private.h
42845         (libc_feholdexcept_setroundl_ctx): Define to
42846         libc_feholdexcept_setround_ppc_ctx.
42847         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42848         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42849         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42850         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42852 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42854         * sysdeps/aarch64/math-tests.h: New file.
42856 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
42858         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42859         New.
42860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42861         Check and set bit_AVX2_Usable.
42862         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42863         macro.
42864         (bit_AVX2): Likewise.
42865         (index_AVX2_Usable): Likewise.
42866         (CPUID_AVX2): Likewise.
42867         (HAS_AVX2): Likewise.
42869 2014-04-17  Will Newton  <will.newton@linaro.org>
42871         * manual/setjmp.texi (System V contexts): Add note that
42872         calling setcontext on a context created by a call to a
42873         signal handler is undefined.  Update text to note that
42874         setcontext from a signal handler is possible but not
42875         recommended.
42877         [BZ #16629]
42878         * stdlib/tst-setcontext.c: Include signal.h.
42879         (main): Check that the signal stack before and
42880         after swapcontext is the same.
42882         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42883         Re-implement to restore registers in user code and avoid
42884         rt_sigreturn system call.
42886 2014-04-17  Wilco  <wdijkstr@arm.com>
42888         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42889         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42890         * math/test-fenv.c: Skip exception trap tests on targets which only
42891         support non-stop mode.
42893 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42894             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42896         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42897         (libc_feholdsetround_aarch64_ctx)
42898         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42899         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42900         (libc_feresetround_ctx, libc_feresetroundf_ctx)
42901         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42902         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42903         (libc_feresetround_noexl_ctx): Define.
42905 2014-04-16  Richard Henderson  <rth@redhat.com>
42907         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42909         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42910         unwind tables.
42912         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42913         const from the non-libc, non-ldso copy.
42915         * sysdeps/alpha/libm-test-ulps: Regenerate.
42917 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
42918             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42920         * sysdeps/aarch64/fpu/math_private.h: New file.
42922 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42924         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42926 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
42928         [BZ #16275]
42929         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42930         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42931         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42932         Intel MPX bound registers before _dl_profile_fixup.
42933         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42934         registers after _dl_profile_fixup.  Save and restore bound
42935         registers bnd0/bnd1 when calling _dl_call_pltexit.
42936         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42937         (LR_BND_OFFSET): Likewise.
42938         (LRV_BND0_OFFSET): Likewise.
42939         (LRV_BND1_OFFSET): Likewise.
42941 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42943         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42944         to...
42945         * sysdeps/mach/hurd/i386/tls.h: ... here.
42946         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42947         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42948         fields.
42950 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42952         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42954 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42956         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42958 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42960         [BZ #14770]
42961         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42962         * sysdeps/s390/configure: Regenerate.
42964         [BZ #16824]
42965         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42966         Set round-to-nearest internally to reduce error accumulation.
42968 2014-04-16  Alan Modra  <amodra@gmail.com>
42970         [BZ #16740]
42971         [BZ #16619]
42972         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42973         * math/libm-test.inc (frexp_test_data): Add tests.
42974         * NEWS: Update fixed bug list.
42976 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42978         * benchtests/Makefile: Depend on libraries in build directory.
42979         (bench-math): Separate out math tests.
42980         (bench-pthread): Separate out pthread tests.
42981         (bench): Include math and pthread tests.
42983 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
42985         [BZ #16831]
42986         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42987         _dl_debug_initialize.
42989         * configure.ac: Remove SELinux header check.
42990         * configure: Regenerate.
42991         * nscd/selinux.c (perms): Array of const char* to permission names.
42992         (nscd_request_avc_has_perm): Call security_deny_unknown to find
42993         default policy. Call string_to_security_class and string_to_av_perm to
42994         translate strings. Enforce default policy and call avs_has_perm with
42995         results of translated strings.
42997 2014-04-13  David S. Miller  <davem@davemloft.net>
42999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43001 2014-04-12  Allan McRae  <allan@archlinux.org>
43003         [BZ #16838]
43004         * manual/string.texi (Collation Functions): Fix qsort argument
43005         order in example.
43006         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43008 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
43010         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
43011         Make the test a no-op if there are no exceptions defined.
43013 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
43015         * elf/Makefile (tests): make tst-dlopen-aout conditional on
43016         enable-hardcoded-path-in-tests
43018 2014-04-11  Will Newton  <will.newton@linaro.org>
43020         * benchtests/Makefile (extra-objs): Add json-lib.o.
43021         (bench-func): Tidy up JSON output.
43022         * benchtests/bench-skeleton.c: Include json-lib.h.
43023         (main): Use JSON library functions to do output of
43024         benchmark results.
43025         * benchtests/bench-timing-type.c (main): Output the
43026         timing type simply, leaving formatting to the user.
43027         * benchtests/json-lib.c: New file.
43028         * benchtests/json-lib.h: Likewise.
43030 2014-04-11  Torvald Riegel  <triegel@redhat.com>
43032         [BZ #15215]
43033         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
43034         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
43035         memory barriers.  Add comments.
43036         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
43037         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
43038         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43039         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
43040         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
43041         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
43043 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43045         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
43046         * sysdeps/s390/s390-64/configure.ac: ... this ...
43047         * sysdeps/s390/configure.ac: ... to here.
43048         * sysdeps/s390/s390-32/configure: Delete file.
43049         * sysdeps/s390/s390-64/configure: Delete file.
43050         * sysdeps/s390/configure: Regenerate.
43052 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
43054         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
43056 2014-04-11  Will Newton  <will.newton@linaro.org>
43058         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
43059         to zero if it is not defined elsewhere.  (mtrim): Test
43060         the value of MALLOC_DEBUG with #if rather than #ifdef.
43062 2014-04-10 Torvald Riegel  <triegel@redhat.com>
43064         * benchtests/pthread_once-inputs: New file.
43065         * benchtests/pthread_once-source.c: New file.
43066         * benchtests/README: Update documentation.
43068 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
43069             H.J. Lu  <hongjiu.lu@intel.com>
43071         [BZ #16275]
43072         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43073         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
43074         * sysdeps/x86_64/configure: Regenerated.
43075         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
43076         macro.
43077         (REGISTER_SAVE_RAX): Likewise.
43078         (REGISTER_SAVE_RCX): Likewise.
43079         (REGISTER_SAVE_RDX): Likewise.
43080         (REGISTER_SAVE_RSI): Likewise.
43081         (REGISTER_SAVE_RDI): Likewise.
43082         (REGISTER_SAVE_R8): Likewise.
43083         (REGISTER_SAVE_R9): Likewise.
43084         (REGISTER_SAVE_BND0): Likewise.
43085         (REGISTER_SAVE_BND1): Likewise.
43086         (REGISTER_SAVE_BND2): Likewise.
43087         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
43088         bound registers when calling _dl_fixup.
43090 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43092         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
43093         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
43094         of its definition.
43095         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
43096         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
43097         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
43098         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43099         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
43100         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
43101         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
43103 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
43105         [BZ #15514]
43106         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
43107         pathconf(_PC_NAME_MAX).
43109 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43111         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
43112         Remove macro usage.
43113         (__PTHREAD_SPINS): Move definition to ...
43114         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43115         (__PTHREAD_SPINS): ... here.
43116         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43117         (__PTHREAD_SPIN): Likewise.
43118         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
43119         (__PTHREAD_SPIN): Likewise.
43120         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
43121         (__PTHREAD_SPIN): Likewise.
43122         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
43123         (__PTHREAD_SPIN): Likewise.
43124         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43125         (__PTHREAD_SPIN): Likewise.
43126         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43127         (__PTHREAD_SPIN): Likewise.
43128         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
43129         (__PTHREAD_SPIN): Likewise.
43130         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43131         (__PTHREAD_SPIN): Likewise.
43132         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43133         (__PTHREAD_SPIN): Likewise.
43134         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43135         (__PTHREAD_SPIN): Likewise.
43136         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43137         (__PTHREAD_SPIN): Likewise.
43138         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
43139         (__PTHREAD_SPIN): Likewise.
43141         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
43142         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43143         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
43144         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
43145         imply folder.
43146         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43147         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43148         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43149         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43150         correct imply path.
43151         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43152         strlen symbol for non multi-arch builds.
43153         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43154         missing hidden_def and weak_alias.
43156 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
43158         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43160 2014-04-07  Will Newton  <will.newton@linaro.org>
43162         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43163         and contents.  [!_LIBC] Remove #ifndef and contents.
43164         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
43165         * string/memccpy.c (__memccpy): Use ANSI prototype.
43166         * string/memfrob.c (memfrob): Likewise.
43167         * string/strcoll.c (STRCOLL): Likewise.
43168         * string/strlen.c (strlen): Likewise.
43169         * string/strtok.c (STRTOK): Likewise.
43170         * string/strcat.c: Remove unused #include of memcopy.h.
43171         (strcat): Use ANSI prototype.
43172         * string/strchr.c: Remove unused #include of memcopy.h.
43173         (strchr): Use ANSI prototype.
43174         * string/strcmp.c: Remove unused #include of memcopy.h.
43175         (strcmp): Use ANSI prototype.
43176         * string/strcpy.c: Remove unused #include of memcopy.h.
43177         (strcpy): Use ANSI prototype.
43179 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43181         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43182         * config.make.in (config-extra-cppflags): Set it from
43183         libc_extra_cppflags.
43184         * configure.ac (libc_extra_cflags): Make it accumulate over
43185         configure fragments.
43186         (libc_extra_cppflags): New flag.
43187         * configure. Regenerate.
43188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43189         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43190         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43193         [BZ #16815]
43194         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43195         result for FE_DOWNWARD rounding mode.
43196         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43197         Likewise.
43198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43200 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
43202         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43203         in function argument name.
43205 2014-04-03  David Svoboda  <svoboda@cert.org>
43207         [BZ #5666]
43208         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43209         explicitly.
43211 2014-04-03  Roland McGrath  <roland@hack.frob.com>
43213         * elf/dl-unmap-segments.h: New file.
43214         * sysdeps/generic/ldsodefs.h
43215         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43216         * elf/dl-close.c: Include <dl-unmap-segments.h>.
43217         * elf/dl-fptr.c: Likewise.
43218         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43219         * sysdeps/aarch64/tlsdesc.c: Likewise.
43220         * sysdeps/arm/tlsdesc.c: Likewise.
43221         * sysdeps/i386/tlsdesc.c: Likewise.
43222         * sysdeps/tile/dl-runtime.c: Likewise.
43223         * sysdeps/x86_64/tlsdesc.c: Likewise.
43224         * elf/dl-load.h: New file.
43225         * elf/dl-load.c: Include it.
43226         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43227         Macros moved to dl-load.h.
43228         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43229         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43230         Use _dl_unmap_segments in place of __munmap.
43231         Break out segment-mapping loop into ...
43232         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43234 2014-04-03  Will Newton  <will.newton@linaro.org>
43236         * elf/dl-lookup.c (do_lookup_x): Remove comment
43237         referring to nested function and move variable
43238         declarations down to before first use.
43240 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
43242         [BZ #16799]
43243         [BZ #16800]
43244         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43245         with 0 numerator.
43246         * math/s_catanf.c (__catanf): Likewise.
43247         * math/s_catanh.c (__catanh): Likewise.
43248         * math/s_catanhf.c (__catanhf): Likewise.
43249         * math/s_catanhl.c (__catanhl): Likewise.
43250         * math/s_catanl.c (__catanl): Likewise.
43251         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43252         by positive zero when computing -Inf result.
43253         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43254         (catanh_test): Likewise.
43255         * sysdeps/i386/fpu/libm-test-ulps: Update.
43256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43258         [BZ #16789]
43259         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43260         instead of using underflowing value in computing result.
43261         * math/s_clog10.c (__clog10): Likewise.
43262         * math/s_clog10f.c (__clog10f): Likewise.
43263         * math/s_clog10l.c (__clog10l): Likewise.
43264         * math/s_clogf.c (__clogf): Likewise.
43265         * math/s_clogl.c (__clogl): Likewise.
43266         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43267         (clog10_test): Likewise.
43268         * sysdeps/i386/fpu/libm-test-ulps: Update.
43269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43271 2014-04-02  Alan Modra  <amodra@gmail.com>
43273         [BZ #16739]
43274         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43275         output when value is near a power of two.  Use int64_t for lx and
43276         remove casts.  Use decimal rather than hex exponent constants.
43277         Don't use long double multiplication when double will suffice.
43278         * math/libm-test.inc (nextafter_test_data): Add tests.
43279         * NEWS: Add 16739 and 16786 to bug list.
43281         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43283         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43285 2014-04-01  Will Newton  <will.newton@linaro.org>
43287         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43288         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
43290 2014-04-01  Florian Weimer  <fweimer@redhat.com>
43292         [BZ #13347]
43293         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43294         * nptl/tst-setuid2.c: New file.
43295         * nptl/Makefile (xtests): Add tst-setuid2.
43297 2014-04-01  Alan Modra  <amodra@gmail.com>
43299         [BZ #16786]
43300         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43302 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43304         [BZ #6803]
43305         [BZ #6804]
43306         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43307         set errno as appropriate.
43308         * math/w_scalbf.c (__scalbf): Likewise.
43309         * math/w_scalbl.c (__scalbl): Likewise.
43310         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43311         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43312         * math/libm-test.inc (scalb_test_data): Add errno expectations.
43313         Add more NaN tests.
43315         [BZ #16349]
43316         * math/w_atan2.c: Include <errno.h>.
43317         (__atan2): Set errno for result underflowing to zero.
43318         * math/w_atan2f.c: Include <errno.h>.
43319         (__atan2f): Set errno for result underflowing to zero.
43320         * math/w_atan2l.c: Include <errno.h>.
43321         (__atan2l): Set errno for result underflowing to zero.
43322         * math/auto-libm-test-in: Don't allow missing errno for some atan2
43323         tests.
43324         * math/auto-libm-test-out: Regenerated.
43326 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43328         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43329         Encode instruction correctly in little endian.
43330         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43331         Likewise.
43332         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43333         Likewise.
43334         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43335         Likewise.
43336         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43337         Likewise.
43339 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43341         [BZ #9894]
43342         * sysdeps/unix/sysv/linux/kernel-features.h
43343         [__sparc__ && !__arch64__ && !__sparc_v9__]
43344         (__ASSUME_SET_ROBUST_LIST): Do not define.
43345         [__sparc__ && !__arch64__ && !__sparc_v9__]
43346         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43347         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43348         Likewise.
43349         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43350         (__ASSUME_FUTEX_LOCK_PI): Undefine.
43351         (__ASSUME_REQUEUE_PI): Likewise.
43352         (__ASSUME_SET_ROBUST_LIST): Likewise.
43353         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43354         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43355         Undefine.
43356         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43357         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43358         Likewise.
43359         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43360         Likewise.
43361         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43362         Likewise.
43363         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43364         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43365         Undefine.
43366         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43367         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43368         Likewise.
43370         [BZ #16648]
43371         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43372         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43373         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43375 2014-03-31  Will Newton  <will.newton@linaro.org>
43377         * benchtests/Makefile (bench): Add ffs and ffsll to list
43378         of tests.
43379         * benchtests/ffs-inputs: New file.
43380         * benchtests/ffsll-inputs: Likewise.
43382 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
43384         [BZ #16770]
43385         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43386         too large before casting to int.
43387         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43388         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43389         * math/libm-test.inc (scalb_test_data): Add more tests.
43391 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43393         * benchtests/Makefile (DETAILED_OPT): New make option.
43394         (bench-func): Run benchmark program with -d if DETAILED_OPT is
43395         set.
43396         * benchtests/bench-skeleton.c: Include stdbool.h.
43397         (main): Store and print timings per input.
43398         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43399         member to each argument value.
43400         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43401         (_print_arg_data): Initialize per-input timing to 0.
43403         * benchtests/Makefile (timing-type): New binary.
43404         (bench-clean): Also remove bench-timing-type.
43405         (bench): New target for timing-type.
43406         (bench-func): Print output in JSON format.
43407         * benchtests/bench-skeleton.c (main): Print output in JSON
43408         format.
43409         * benchtests/bench-timing-type.c: New file.
43410         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43411         (TIMING_PRINT_STATS): Remove.
43412         * benchtests/scripts/bench.py (_print_arg_data): Store variant
43413         name separately.
43415         * benchtests/bench-modf.c: Remove.
43416         * benchtests/modf-inputs: New inputs file.
43418 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
43420         [BZ #16362]
43421         * math/s_clog10.c (M_PI_LOG10E): New macro.
43422         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43423         imaginary parts are 0.
43424         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43425         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43426         imaginary parts are 0.
43427         * math/s_clog10l.c (M_PI_LOG10El): New macro.
43428         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43429         imaginary parts are 0.
43430         * math/libm-test.inc (clog10_test_data): Update expected results
43431         for when real and imaginary parts are 0.
43433 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
43435         * elf/dl-load.c: Finish conversion of __builtin_expect into
43436         __glibc_{un}likely.
43438 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
43440         [BZ #16348]
43441         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43442         1+x for argument with exponent below -67.
43443         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43444         Likewise.
43445         * math/auto-libm-test-in: Add more tests of exp.
43446         * math/auto-libm-test-out: Regenerated.
43448 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43450         [BZ #16759]
43451         * inet/getnetgrent_r.c (get_nonempty_val): New function.
43452         (nscd_getnetgrent): Use it.
43454         [BZ #16760]
43455         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43456         of stpcpy.
43458 2014-03-27  Andi Kleen  <ak@linux.intel.com>
43460         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43461         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43462         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43463         (lll_robust_unlock): Remove out of line section. Use cfi
43464         intrinsics.
43465         (LLL_STUB_UNWIND_INFO*): Remove.
43466         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43467         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43468         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43469         (lll_robust_unlock): Remove out of line section. Use cfi
43470         intrinsics.
43471         (LLL_STUB_UNWIND_INFO*): Remove.
43473 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43475         [BZ #16758]
43476         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43477         blank values.
43479 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
43481         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43483 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
43485         [BZ #16198]
43486         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43487         fnstenv.
43488         * math/test-fenv-preserve.c: New file.
43489         * math/Makefile (tests): Add test-fenv-preserve.
43491 2014-03-26  Will Newton <will.newton@linaro.org>
43493         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43495 2014-03-25  Roland McGrath  <roland@hack.frob.com>
43497         * scripts/versionlist.awk: Partition the version sets and emit all
43498         GLIBC_* (sorted) before all others (sorted).
43500 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43502         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43503         GLIBC_2.2.5 version.
43505 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43507         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43508         calls.
43510         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43511         previous change.
43513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43515 2014-03-25  Andreas Schwab  <schwab@suse.de>
43517         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43518         label to be used after in6ailist is initialized.
43520 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43522         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43523         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43525 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43527         [BZ #16357]
43528         [BZ #16599]
43529         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43530         min_plus_half.
43531         (fp_formats): Update initializers.
43532         (init_fp_formats): Initialize new field.
43533         (output_for_one_input_case): Allow underflow for results up to
43534         min_plus_half.
43535         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43536         * math/auto-libm-test-in: Don't mark some underflows from asin and
43537         atanh as spurious.
43538         * math/auto-libm-test-out: Regenerated.
43539         * sysdeps/i386/fpu/libm-test-ulps: Update.
43540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43542 2014-03-25  Andreas Schwab  <schwab@suse.de>
43544         * libio/Makefile (tst-ftell-partial-wide-ENV)
43545         (tst-ftell-active-handler-ENV): Define.
43547 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
43549         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43551 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43553         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43555 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43557         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43558         * sysdeps/x86_64/fpu/multiarch/e_exp.c
43559         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43561 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43563         [BZ #16634]
43564         * elf/dl-load.c (open_verify): Add mode parameter.
43565         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43566         (open_path): Change from boolean 'secure' to complete flag 'mode'
43567         (_dl_map_object): Adjust.
43568         * elf/Makefile (tests): Add tst-dlopen-aout.
43569         * elf/tst-dlopen-aout.c: New test.
43571 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
43573         [BZ #16714]
43574         * sysdeps/unix/sysv/linux/s390/bits/stat.h
43575         (struct stat): Rename member pad0 to __glibc_reserved0.
43577         [BZ #16712]
43578         * sysdeps/s390/s390-32/bits/wordsize.h
43579         (__WORDSIZE32_SIZE_ULONG): New define.
43580         * sysdeps/s390/s390-64/bits/wordsize.h
43581         (__WORDSIZE32_SIZE_ULONG): Likewise.
43582         * sysdeps/generic/stdint.h (SIZE_MAX):
43583         Define as UL if __WORDSIZE32_SIZE_ULONG.
43585         [BZ #16713]
43586         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43587         (__glibc_reserved0): New variable.
43588         (sa_flags): Change type to int.
43590         * posix/Makefile (before-compile): Use += before-compile instead
43591         of a :=.
43593         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43594         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43596 2014-03-20  Andreas Schwab  <schwab@suse.de>
43598         [BZ #16743]
43599         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43600         non-matching result from nscd.
43602 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43604         * scripts/bench.py: Moved to ...
43605         * benchtests/scripts/bench.py: ... here.
43606         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43608 2014-03-24  Andreas Schwab  <schwab@suse.de>
43610         [BZ #16002]
43611         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43612         alloca_account and account alloca use for struct in6ailist.
43614 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43616         [BZ #16284]
43617         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43618         rounding mode to recompute results that overflow to infinity or
43619         underflow to zero.
43620         * math/auto-libm-test-in: Don't mark tests as expected to fail for
43621         bug 16284.
43622         * math/auto-libm-test-out: Regenerated.
43623         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43624         (ccosh_test): Likewise.
43625         (csin_test_data): Use plus_oflow.
43626         (csin_test): Use ALL_RM_TEST.
43627         (csinh_test_data): Use plus_oflow.
43628         (csinh_test): Use ALL_RM_TEST.
43629         * sysdeps/i386/fpu/libm-test-ulps: Update.
43630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43632 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
43634         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43635         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43636         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43638         [BZ #16731]
43639         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43640         when x - 1 is zero.
43641         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43642         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43643         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43644         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43645         argument is 1.
43646         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43647         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43648         zero.
43649         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43650         * sysdeps/i386/fpu/libm-test-ulps: Update.
43651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43653 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43655         * scripts/bench.pl: Remove file.
43656         * scripts/bench.py: New benchmark script.
43657         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43658         * benchtests/README: Mention python dependency.
43659         * scripts/pylintrc: New file.
43660         * scripts/pylint: New file.
43662         * bits/mathdef.h: Use #ifdef instead of #if.
43663         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43664         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43665         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43666         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43667         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43668         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43670 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43671             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43673         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43675         and strpbrk-ppc64 objects.
43676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43677         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43678         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43679         multiarch strpbrk for POWER7.
43680         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43681         multiarch strpbrk for PPC64.
43682         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43683         ifunc selector.
43684         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43685         strpbrk for POWER7.
43687 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43689         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43690         (atan_test): Likewise.
43691         (atanh_test_data): Use NO_TEST_INLINE for two tests.
43692         (atanh_test): Use ALL_RM_TEST.
43693         (atan2_test_data): Likewise.
43694         (cabs_test): Likewise.
43695         (cacosh_test): Likewise.
43696         (carg_test): Likewise.
43697         (casin_test): Likewise.
43698         (casinh_test): Likewise.
43699         (cbrt_test): Likewise.
43700         (csqrt_test): Likewise.
43701         (erf_test): Likewise.
43702         (erfc_test): Likewise.
43703         (pow10_test): Likewise.
43704         (exp2_test): Likewise.
43705         (hypot_test): Likewise.
43706         (j0_test): Likewise.
43707         (j1_test): Likewise.
43708         (lgamma_test): Likewise.
43709         (gamma_test): Likewise.
43710         (sincos_test): Likewise.
43711         (tanh_test): Likewise.
43712         (y0_test): Likewise.
43713         (y1_test): Likewise.
43714         * sysdeps/i386/fpu/libm-test-ulps: Update.
43715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43717 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43719         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43721         and strcspn-ppc64 objects.
43722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43723         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43724         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43725         multiarch strcspn for POWER7.
43726         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43727         multiarch strcspn for PPC64.
43728         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43729         ifunc selector.
43730         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43731         strcspn for POWER7.
43733 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43735         * math/gen-libm-test.pl (generate_testfile): Expect only function
43736         name as argument to AUTO_TESTS_* and pass results for all rounding
43737         modes to parse_args.
43738         (parse_auto_input): Separate inputs of automatic tests from
43739         outputs before storing in %auto_tests.
43740         * math/libm-test.inc (acos_test_data): Update call to
43741         AUTO_TESTS_f_f.
43742         (acos_test): Use ALL_RM_TEST.
43743         (acos_tonearest_test_data): Remove.
43744         (acos_test_tonearest): Likewise.
43745         (acos_towardzero_test_data): Likewise.
43746         (acos_test_towardzero): Likewise.
43747         (acos_downward_test_data): Likewise.
43748         (acos_test_downward): Likewise.
43749         (acos_upward_test_data): Likewise.
43750         (acos_test_upward): Likewise.
43751         (acosh_test_data): Update call to AUTO_TESTS_f_f.
43752         (asin_test_data): Likewise.
43753         (asin_test): Use ALL_RM_TEST.
43754         (asin_tonearest_test_data): Remove.
43755         (asin_test_tonearest): Likewise.
43756         (asin_towardzero_test_data): Likewise.
43757         (asin_test_towardzero): Likewise.
43758         (asin_downward_test_data): Likewise.
43759         (asin_test_downward): Likewise.
43760         (asin_upward_test_data): Likewise.
43761         (asin_test_upward): Likewise.
43762         (asinh_test_data): Update call to AUTO_TESTS_f_f.
43763         (atan_test_data): Likewise.
43764         (atanh_test_data): Likewise.
43765         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43766         (cabs_test_data): Update call to AUTO_TESTS_c_f.
43767         (carg_test_data): Likewise.
43768         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43769         (ccos_test_data): Update call to AUTO_TESTS_c_c.
43770         (ccosh_test_data): Likewise.
43771         (cexp_test_data): Likewise.
43772         (clog_test_data): Likewise.
43773         (clog10_test_data): Likewise.
43774         (cos_test_data): Update call to AUTO_TESTS_f_f.
43775         (cos_test): Use ALL_RM_TEST.
43776         (cos_tonearest_test_data): Remove.
43777         (cos_test_tonearest): Likewise.
43778         (cos_towardzero_test_data): Likewise.
43779         (cos_test_towardzero): Likewise.
43780         (cos_downward_test_data): Likewise.
43781         (cos_test_downward): Likewise.
43782         (cos_upward_test_data): Likewise.
43783         (cos_test_upward): Likewise.
43784         (cosh_test_data): Update call to AUTO_TESTS_f_f.
43785         (cosh_test): Use ALL_RM_TEST.
43786         (cosh_tonearest_test_data): Remove.
43787         (cosh_test_tonearest): Likewise.
43788         (cosh_towardzero_test_data): Likewise.
43789         (cosh_test_towardzero): Likewise.
43790         (cosh_downward_test_data): Likewise.
43791         (cosh_test_downward): Likewise.
43792         (cosh_upward_test_data): Likewise.
43793         (cosh_test_upward): Likewise.
43794         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43795         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43796         (ctan_test_data): Likewise.
43797         (ctan_test): Use ALL_RM_TEST.
43798         (ctan_tonearest_test_data): Remove.
43799         (ctan_test_tonearest): Likewise.
43800         (ctan_towardzero_test_data): Likewise.
43801         (ctan_test_towardzero): Likewise.
43802         (ctan_downward_test_data): Likewise.
43803         (ctan_test_downward): Likewise.
43804         (ctan_upward_test_data): Likewise.
43805         (ctan_test_upward): Likewise.
43806         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43807         (ctanh_test): Use ALL_RM_TEST.
43808         (ctanh_tonearest_test_data): Remove.
43809         (ctanh_test_tonearest): Likewise.
43810         (ctanh_towardzero_test_data): Likewise.
43811         (ctanh_test_towardzero): Likewise.
43812         (ctanh_downward_test_data): Likewise.
43813         (ctanh_test_downward): Likewise.
43814         (ctanh_upward_test_data): Likewise.
43815         (ctanh_test_upward): Likewise.
43816         (erf_test_data): Update call to AUTO_TESTS_f_f.
43817         (erfc_test_data): Likewise.
43818         (exp_test_data): Likewise.
43819         (exp_test): Use ALL_RM_TEST.
43820         (exp_tonearest_test_data): Remove.
43821         (exp_test_tonearest): Likewise.
43822         (exp_towardzero_test_data): Likewise.
43823         (exp_test_towardzero): Likewise.
43824         (exp_downward_test_data): Likewise.
43825         (exp_test_downward): Likewise.
43826         (exp_upward_test_data): Likewise.
43827         (exp_test_upward): Likewise.
43828         (exp10_test_data): Update call to AUTO_TESTS_f_f.
43829         (exp10_test): Use ALL_RM_TEST.
43830         (exp10_tonearest_test_data): Remove.
43831         (exp10_test_tonearest): Likewise.
43832         (exp10_towardzero_test_data): Likewise.
43833         (exp10_test_towardzero): Likewise.
43834         (exp10_downward_test_data): Likewise.
43835         (exp10_test_downward): Likewise.
43836         (exp10_upward_test_data): Likewise.
43837         (exp10_test_upward): Likewise.
43838         (exp2_test_data): Update call to AUTO_TESTS_f_f.
43839         (expm1_test_data): Likewise.
43840         (expm1_test): Use ALL_RM_TEST.
43841         (expm1_tonearest_test_data): Remove.
43842         (expm1_test_tonearest): Likewise.
43843         (expm1_towardzero_test_data): Likewise.
43844         (expm1_test_towardzero): Likewise.
43845         (expm1_downward_test_data): Likewise.
43846         (expm1_test_downward): Likewise.
43847         (expm1_upward_test_data): Likewise.
43848         (expm1_test_upward): Likewise.
43849         (fma_test_data): Update call to AUTO_TESTS_fff_f.
43850         (fma_test): Use ALL_RM_TEST.
43851         (fma_towardzero_test_data): Remove.
43852         (fma_test_towardzero): Likewise.
43853         (fma_downward_test_data): Likewise.
43854         (fma_test_downward): Likewise.
43855         (fma_upward_test_data): Likewise.
43856         (fma_test_upward): Likewise.
43857         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43858         (j0_test_data): Update call to AUTO_TESTS_f_f.
43859         (j1_test_data): Likewise.
43860         (jn_test_data): Update call to AUTO_TESTS_if_f.
43861         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43862         (log_test_data): Update call to AUTO_TESTS_f_f.
43863         (log10_test_data): Likewise.
43864         (log1p_test_data): Likewise.
43865         (log2_test_data): Likewise.
43866         (pow_test_data): Update call to AUTO_TESTS_ff_f.
43867         (pow_tonearest_test_data): Likewise.
43868         (sin_test_data): Update call to AUTO_TESTS_f_f.
43869         (sin_test): Use ALL_RM_TEST.
43870         (sin_tonearest_test_data): Remove.
43871         (sin_test_tonearest): Likewise.
43872         (sin_towardzero_test_data): Likewise.
43873         (sin_test_towardzero): Likewise.
43874         (sin_downward_test_data): Likewise.
43875         (sin_test_downward): Likewise.
43876         (sin_upward_test_data): Likewise.
43877         (sin_test_upward): Likewise.
43878         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43879         (sinh_test_data): Update call to AUTO_TESTS_f_f.
43880         (sinh_test): Use ALL_RM_TEST.
43881         (sinh_tonearest_test_data): Remove.
43882         (sinh_test_tonearest): Likewise.
43883         (sinh_towardzero_test_data): Likewise.
43884         (sinh_test_towardzero): Likewise.
43885         (sinh_downward_test_data): Likewise.
43886         (sinh_test_downward): Likewise.
43887         (sinh_upward_test_data): Likewise.
43888         (sinh_test_upward): Likewise.
43889         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43890         (sqrt_test): Use ALL_RM_TEST.
43891         (sqrt_tonearest_test_data): Remove.
43892         (sqrt_test_tonearest): Likewise.
43893         (sqrt_towardzero_test_data): Likewise.
43894         (sqrt_test_towardzero): Likewise.
43895         (sqrt_downward_test_data): Likewise.
43896         (sqrt_test_downward): Likewise.
43897         (sqrt_upward_test_data): Likewise.
43898         (sqrt_test_upward): Likewise.
43899         (tan_test_data): Update call to AUTO_TESTS_f_f.
43900         (tan_test): Use ALL_RM_TEST.
43901         (tan_tonearest_test_data): Remove.
43902         (tan_test_tonearest): Likewise.
43903         (tan_towardzero_test_data): Likewise.
43904         (tan_test_towardzero): Likewise.
43905         (tan_downward_test_data): Likewise.
43906         (tan_test_downward): Likewise.
43907         (tan_upward_test_data): Likewise.
43908         (tan_test_upward): Likewise.
43909         (tanh_test_data): Update call to AUTO_TESTS_f_f.
43910         (tgamma_test_data): Likewise.
43911         (y0_test_data): Likewise.
43912         (y1_test_data): Likewise.
43913         (yn_test_data): Update call to AUTO_TESTS_if_f.
43914         (main): Do not call removed functions.
43916 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43918         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43919         (ldexp_test_data): Remove.
43920         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
43921         scalbn_test_data.
43922         (scalb_test): Use ALL_RM_TEST.
43924 2014-03-19  Andreas Schwab  <schwab@suse.de>
43926         * nscd/nscd.service: Also invalidate netgroup cache on reload.
43928 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43930         [BZ #16649]
43931         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43932         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43933         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43935         (__ASSUME_PREADV): Undefine.
43936         (__ASSUME_PWRITEV): Likewise.
43938 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43940         * bits/mman-linux.h: Add comment about non-Linux use.
43941         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43942         bits/mman-linux.h resting place.
43944         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43945         * bits/mman-linux.h: ... here.
43947 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43949         * conform/conformtest.pl: Add standard definition when calling C
43950         preprocessor on data files.
43951         (checknamespace): Remove unused variable.
43953 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43955         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43956         minus_oflow, plus_uflow and minus_uflow in expected results.
43957         * math/libm-test.inc (scalbn_test_data): Add more tests of
43958         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
43959         minus_uflow.
43960         (scalbn_test): Use ALL_RM_TEST.
43961         (scalbln_test_data): Add more tests of negative arguments.  Use
43962         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43963         (scalbln_test): Use ALL_RM_TEST.
43965 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43967         * scripts/abilist.awk: Ignore symbols marked with .hidden.
43969 2014-03-18  Will Newton  <will.newton@linaro.org>
43971         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43972         inaccurate comment.
43974 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43976         * Makerules [!subdir] (check-abi): Exit with error status if a
43977         test failed.
43979 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43981         * math/libm-test.inc (nearbyint_test_data): Include all tests used
43982         for rint.  Include results for all rounding modes.
43983         (nearbyint_test): Use ALL_RM_TEST.
43984         (rint_test_data): Include all tests used for nearbyint.
43986 2014-03-17  Will Newton  <will.newton@linaro.org>
43988         * nptl/sysdeps/pthread/pthread.h: Revert previous
43989         change.
43991         * sysdeps/generic/ldsodefs.h: Revert previous
43992         change.
43994         * libio/genops.c: Revert previous change.
43995         * libio/libioP.h: Likewise.
43996         * stdio-common/vfprintf.c: Likewise.
43998         * sysdeps/generic/math_private.h: Revert previous
43999         change.
44001         * sysdeps/generic/math_private.h: Check whether
44002         HAVE_RM_CTX is defined with #ifdef rather
44003         than #if.
44005         * argp/argp-fmtstream.h: Check whether
44006         __STRICT_ANSI__ is defined with #ifdef rather
44007         than #if.
44008         * argp/argp.h: Likewise.
44010         * libio/genops.c: Check whether
44011         _IO_JUMPS_OFFSET is defined with #ifdef rather
44012         than #if.
44013         * libio/libioP.h: Likewise.
44014         * stdio-common/vfprintf.c: Likewise.
44016         * sysdeps/generic/ldsodefs.h: Check whether
44017         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
44018         than #if.
44020         * nptl/sysdeps/pthread/pthread.h: Check
44021         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44022         its value.
44024 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44026         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
44027         setting O_APPEND.
44028         * libio/tst-ftell-active-handler.c (do_append_test): Add a
44029         test case.
44031         [BZ #16680]
44032         * libio/fileops.c (_IO_file_open): Seek to end of file but
44033         don't cache the offset.
44034         (get_file_offset): Remove function.
44035         (do_ftell): Use cached offset when available.
44036         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
44037         don't cache the offset.
44038         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
44039         case.
44040         (do_one_test): Call it.
44041         (do_ftell_test): Fix up expected old offset for a+ mode.
44042         * libio/wfileops.c (do_ftell_wide): Used cached offset when
44043         available.
44045         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44046         up test status with function return status.
44047         (do_write_test): Likewise.
44048         (do_append_test): Likewise.
44050         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44051         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
44052         Remove.
44054 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
44056         * math/gen-libm-test.pl (parse_args): Handle results specified for
44057         each rounding mode separately.
44058         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
44059         tests and results from lrint_tonearest_test_data,
44060         lrint_towardzero_test_data, lrint_downward_test_data and
44061         lrint_upward_test_data.
44062         (lrint_test): Use ALL_RM_TEST.
44063         (lrint_tonearest_test_data): Remove.
44064         (lrint_test_tonearest): Likewise.
44065         (lrint_towardzero_test_data): Likewise.
44066         (lrint_test_towardzero): Likewise.
44067         (lrint_downward_test_data): Likewise.
44068         (lrint_test_downward): Likewise.
44069         (lrint_upward_test_data): Likewise.
44070         (lrint_test_upward): Likewise.
44071         (llrint_test_data): Merge in per-rounding-mode tests and results
44072         from llrint_tonearest_test_data, llrint_towardzero_test_data,
44073         llrint_downward_test_data and llrint_upward_test_data.
44074         (llrint_test): Use ALL_RM_TEST.
44075         (llrint_tonearest_test_data): Remove.
44076         (llrint_test_tonearest): Likewise.
44077         (llrint_towardzero_test_data): Likewise.
44078         (llrint_test_towardzero): Likewise.
44079         (llrint_downward_test_data): Likewise.
44080         (llrint_test_downward): Likewise.
44081         (llrint_upward_test_data): Likewise.
44082         (llrint_test_upward): Likewise.
44083         (rint_test_data): Merge in per-rounding-mode tests and results
44084         from rint_tonearest_test_data, rint_towardzero_test_data,
44085         rint_downward_test_data and rint_upward_test_data.  Add
44086         per-rounding-mode results for tests not in those arrays.
44087         (rint_test): Use ALL_RM_TEST.
44088         (rint_tonearest_test_data): Remove.
44089         (rint_test_tonearest): Likewise.
44090         (rint_towardzero_test_data): Likewise.
44091         (rint_test_towardzero): Likewise.
44092         (rint_downward_test_data): Likewise.
44093         (rint_test_downward): Likewise.
44094         (rint_upward_test_data): Likewise.
44095         (rint_test_upward): Likewise.
44096         (main): Don't call removed functions.
44098 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44100         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
44101         "Compiled on ..." crapola.  It is anti-useful.
44103 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
44105         * scripts/evaluate-test.sh: Handle fourth argument to determine
44106         whether test run should stop on failure.
44107         * Makeconfig (stop-on-test-failure): New variable.
44108         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
44109         $(stop-on-test-failure).
44110         * Makefile (tests): Give a summary of results from testing and
44111         exit with failure status if they include an ERROR or FAIL.
44112         (xtests): Likewise.
44113         * manual/install.texi (Configuring and compiling): Mention
44114         stop-on-test-failure=y.
44115         * INSTALL: Regenerated.
44117 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44119         * scripts/versionlist.awk: New file.
44120         * Makerules [$(build-shared) = yes]
44121         (postclean-generated): Add Versions.def, not Versions.def.v and
44122         Versions.def.v.i.
44123         ($(common-objpfx)Versions.def.v.i): Target removed.
44124         ($(common-objpfx)Versions.def): New target.
44125         ($(common-objpfx)Versions.all): Depend on that rather that
44126         $(common-objpfx)Versions.def.v.
44127         * Versions.def: File removed.
44129         * Makeconfig (+gccwarn): Add -Wundef.
44130         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
44131         a dl-sysdep.h breaking its contract.
44132         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
44133         * include/stackinfo.h: New file.
44134         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
44135         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
44136         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
44137         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
44138         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
44139         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
44140         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44141         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44142         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44143         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44144         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44145         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44146         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44147         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44148         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44150 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44152         [BZ #16707]
44153         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44154         implementation.
44155         * math/libm-test.inc (round_test_data): Add more tests.
44157         [BZ #16706]
44158         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44159         implementation.
44160         * math/libm-test.inc (nearbyint_test_data): Add more tests.
44162         [BZ #16701]
44163         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44164         implementation.
44165         * math/libm-test.inc (ceil_test_data): Add more tests.
44167         * math/libm-test.inc (trunc_test_data): Add more tests related to
44168         BZ#16414.
44170 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44172         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44173         with #if rather than #ifdef.
44174         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44176 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
44178         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44179         first.  Disable AVX-512 GCC support if assembler doesn't support
44180         it.
44181         * sysdeps/x86_64/configure: Regenerated.
44183 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
44185         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44186         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44187         (__old_pthread_attr_setstack): Likewise.
44188         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44189         [!_STACK_GROWS_DOWN]: Likewise.
44191 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
44193         * config.make.in (have-bash2): Delete.
44194         * configure.ac (libc_cv_have_bash2): Delete.
44195         * configure: Regenerate.
44196         * elf/Makefile (common-ldd-rewrite): Rename to ...
44197         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
44198         (sh-ldd-rewrite): Delete.
44199         (bash-ldd-rewrite): Delete.
44200         (have-bash2): Delete checks.
44201         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44202         ldd-rewrite.
44204         * config.make.in (have-ksh): Delete.
44205         (KSH): Delete.
44206         * configure.ac (libc_cv_have_ksh): Delete.
44207         * configure: Regenerate.
44209         * elf/Makefile: Delete $(have-ksh) check.
44210         ($(objpfx)sotruss): Change KSH to BASH.
44211         * elf/sotruss.ksh: Rename to ...
44212         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
44213         function style to match POSIX.  Drop ksh vim mode setting.
44215         * manual/time.texi (Specifying the Time Zone with TZ): Change
44216         Tuesday to Thursday.
44218         * debug/tst-longjmp_chk2.c: Update header comment.
44219         (stackoverflow_handler): Add comment.  Call assert on pass value.
44221 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
44223         [BZ #16194]
44224         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44225         (HAVE_AVX512_ASM_SUPPORT): Likewise.
44226         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44227         (La_x86_64_vector): Add zmm.
44228         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44229         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44230         ($(objpfx)tst-audit10): New target.
44231         ($(objpfx)tst-audit10.out): Likewise.
44232         (tst-audit10-ENV): New.
44233         (AVX512-CFLAGS): Likewise.
44234         (CFLAGS-tst-audit10.c): Likewise.
44235         (CFLAGS-tst-auditmod10a.c): Likewise.
44236         (CFLAGS-tst-auditmod10b.c): Likewise.
44237         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44238         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44239         * sysdeps/x86_64/configure: Regenerated.
44240         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44241         AVX-512 zmm register support.
44242         (_dl_x86_64_save_sse): Likewise.
44243         (_dl_x86_64_restore_sse): Likewise.
44244         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44245         size vector registers.
44246         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44247         (ZMM_SIZE): Likewise.
44248         * sysdeps/x86_64/tst-audit10.c: New file.
44249         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44250         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44252 2014-03-13  Roland McGrath  <roland@hack.frob.com>
44254         * configure.ac (HAVE_EHDR_START): New check.
44255         * configure: Regenerated.
44256         * config.h.in (HAVE_EHDR_START): New #undef.
44257         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44258         assuming the lowest-addressed segment maps the start of the file.
44260 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
44262         * INSTALL: Regenerated.
44264 2014-03-13  Will Newton  <will.newton@linaro.org>
44266         * manual/setjmp.texi (System V contexts): Improve
44267         clarity and grammar of documentation.
44269 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
44271         [BZ #16381]
44272         * elf/Makefile (tests): Add tst-pie2.
44273         (tests-pie): Add tst-pie2.
44274         * elf/tst-pie2.c: New file.
44275         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44276         for ET_EXEC.
44277         * elf/rtld.c (map_doit): Load executable as lt_executable.
44278         (dl_main): Likewise.
44280 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
44282         [BZ #16642]
44283         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44284         (__ASSUME_PSELECT): Undefine.
44286 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44288         [BZ #16689]
44289         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44290         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44291         static build.
44292         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44293         selector for static builds.
44295 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44297         [BZ #16695]
44298         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44299         key in the buffer.
44301 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44303         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44304         IFUNC selector for static builds.
44306 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
44308         * sysdeps/mips/math_private.h [__mips_hard_float]
44309         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44310         libc_feresetround_mips_ctx.
44311         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44312         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44313         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44315         [BZ #16677]
44316         * math/s_nextafter.c (__nextafter): Do not return value from
44317         overflowing computation.
44318         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44319         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44320         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44321         Likewise.
44322         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44323         Likewise.
44324         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44325         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44327 2014-03-11  Roland McGrath  <roland@hack.frob.com>
44329         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44330         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44331         Move sfi_sp use from the load-multiple (that no longer sets sp) to
44332         the new mov targetting sp.
44334 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44336         [BZ #16683]
44337         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44338         Define it for static builds as well.
44339         (NO_BZERO_IMPL): Likewise.
44341 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44343         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44344         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44345         multiarch strspn for PPC64.
44346         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44347         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44349         (__libc_ifunc_impl_list): Likewise.
44350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44351         multiarch optimizations
44352         * string/strspn.c (strspn): Using macro to redefine symbol name.
44354 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44355             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44357         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44358         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44359         multiarch strncat for PPC64.
44360         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44361         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44363         (__libc_ifunc_impl_list): Likewise.
44364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44365         multiarch optimizations
44367 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44369         [BZ #16639]
44370         * nscd/nscd.service: Make service type forking.
44372 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44374         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44375         sign in non default rounding modes.
44376         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44378 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
44380         * math/libm-test.inc (ALL_RM_TEST): New macro.
44381         (ceil_test): Use ALL_RM_TEST.
44382         (cimag_test): Likewise.
44383         (conj_test): Likewise.
44384         (copysign_test): Likewise.
44385         (cproj_test): Likewise.
44386         (creal_test): Likewise.
44387         (fabs_test): Likewise.
44388         (floor_test): Likewise.
44389         (fmax_test): Likewise.
44390         (fmin_test): Likewise.
44391         (fmod_test): Likewise.
44392         (fpclassify_test): Likewise.
44393         (frexp_test): Likewise.
44394         (ilogb_test): Likewise.
44395         (isfinite_test): Likewise.
44396         (finite_test): Likewise.
44397         (isgreater_test): Likewise.
44398         (isgreaterequal_test): Likewise.
44399         (isinf_test): Likewise.
44400         (isless_test): Likewise.
44401         (islessequal_test): Likewise.
44402         (islessgreater_test): Likewise.
44403         (isnan_test): Likewise.
44404         (isnormal_test): Likewise.
44405         (issignaling_test): Likewise.
44406         (isunordered_test): Likewise.
44407         (logb_test): Likewise.
44408         (logb_downward_test_data): Remove.
44409         (logb_test_downward): Likewise.
44410         (lround_test): Use ALL_RM_TEST.
44411         (llround_test): Likewise.
44412         (modf_test): Likewise.
44413         (nexttoward_test): Likewise.
44414         (remainder_test): Likewise.
44415         (drem_test): Likewise.
44416         (remainder_tonearest_test_data): Likewise.
44417         (remainder_test_tonearest): Likewise.
44418         (drem_test_tonearest): Likewise.
44419         (remainder_towardzero_test_data): Likewise.
44420         (remainder_test_towardzero): Likewise.
44421         (drem_test_towardzero): Likewise.
44422         (remainder_downward_test_data): Likewise.
44423         (remainder_test_downward): Likewise.
44424         (drem_test_downward): Likewise.
44425         (remainder_upward_test_data): Likewise.
44426         (remainder_test_upward): Likewise.
44427         (drem_test_upward): Likewise.
44428         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
44429         (round_test): Use ALL_RM_TEST.
44430         (signbit_test): Likewise.
44431         (trunc_test): Likewise.
44432         (significand_test): Likewise.
44433         (main): Don't call removed functions.
44435 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44437         [BZ #16674]
44438         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44439         || __USE_XOPEN2K8].
44440         (ILL_ILLOPN): Likewise.
44441         (ILL_ILLADR): Likewise.
44442         (ILL_ILLTRP): Likewise.
44443         (ILL_PRVOPC): Likewise.
44444         (ILL_PRVREG): Likewise.
44445         (ILL_COPROC): Likewise.
44446         (ILL_BADSTK): Likewise.
44447         (FPE_INTDIV): Likewise.
44448         (FPE_INTOVF): Likewise.
44449         (FPE_FLTDIV): Likewise.
44450         (FPE_FLTOVF): Likewise.
44451         (FPE_FLTUND): Likewise.
44452         (FPE_FLTRES): Likewise.
44453         (FPE_FLTINV): Likewise.
44454         (FPE_FLTSUB): Likewise.
44455         (SEGV_MAPERR): Likewise.
44456         (SEGV_ACCERR): Likewise.
44457         (BUS_ADRALN): Likewise.
44458         (BUS_ADRERR): Likewise.
44459         (BUS_OBJERR): Likewise.
44460         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44461         (TRAP_TRACE): Likewise.
44462         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44463         __USE_XOPEN2K8].
44464         (CLD_KILLED): Likewise.
44465         (CLD_DUMPED): Likewise.
44466         (CLD_TRAPPED): Likewise.
44467         (CLD_STOPPED): Likewise.
44468         (CLD_CONTINUED): Likewise.
44469         (POLL_IN): Likewise.
44470         (POLL_OUT): Likewise.
44471         (POLL_MSG): Likewise.
44472         (POLL_ERR): Likewise.
44473         (POLL_PRI): Likewise.
44474         (POLL_HUP): Likewise.
44475         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44476         Likewise.
44477         (ILL_ILLOPN): Likewise.
44478         (ILL_ILLADR): Likewise.
44479         (ILL_ILLTRP): Likewise.
44480         (ILL_PRVOPC): Likewise.
44481         (ILL_PRVREG): Likewise.
44482         (ILL_COPROC): Likewise.
44483         (ILL_BADSTK): Likewise.
44484         (FPE_INTDIV): Likewise.
44485         (FPE_INTOVF): Likewise.
44486         (FPE_FLTDIV): Likewise.
44487         (FPE_FLTOVF): Likewise.
44488         (FPE_FLTUND): Likewise.
44489         (FPE_FLTRES): Likewise.
44490         (FPE_FLTINV): Likewise.
44491         (FPE_FLTSUB): Likewise.
44492         (SEGV_MAPERR): Likewise.
44493         (SEGV_ACCERR): Likewise.
44494         (BUS_ADRALN): Likewise.
44495         (BUS_ADRERR): Likewise.
44496         (BUS_OBJERR): Likewise.
44497         (BUS_MCEERR_AR): Likewise.
44498         (BUS_MCEERR_AO): Likewise.
44499         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44500         (TRAP_TRACE): Likewise.
44501         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44502         __USE_XOPEN2K8].
44503         (CLD_KILLED): Likewise.
44504         (CLD_DUMPED): Likewise.
44505         (CLD_TRAPPED): Likewise.
44506         (CLD_STOPPED): Likewise.
44507         (CLD_CONTINUED): Likewise.
44508         (POLL_IN): Likewise.
44509         (POLL_OUT): Likewise.
44510         (POLL_MSG): Likewise.
44511         (POLL_ERR): Likewise.
44512         (POLL_PRI): Likewise.
44513         (POLL_HUP): Likewise.
44514         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44515         (ILL_ILLOPN): Likewise.
44516         (ILL_ILLADR): Likewise.
44517         (ILL_ILLTRP): Likewise.
44518         (ILL_PRVOPC): Likewise.
44519         (ILL_PRVREG): Likewise.
44520         (ILL_COPROC): Likewise.
44521         (ILL_BADSTK): Likewise.
44522         (FPE_INTDIV): Likewise.
44523         (FPE_INTOVF): Likewise.
44524         (FPE_FLTDIV): Likewise.
44525         (FPE_FLTOVF): Likewise.
44526         (FPE_FLTUND): Likewise.
44527         (FPE_FLTRES): Likewise.
44528         (FPE_FLTINV): Likewise.
44529         (FPE_FLTSUB): Likewise.
44530         (SEGV_MAPERR): Likewise.
44531         (SEGV_ACCERR): Likewise.
44532         (BUS_ADRALN): Likewise.
44533         (BUS_ADRERR): Likewise.
44534         (BUS_OBJERR): Likewise.
44535         (BUS_MCEERR_AR): Likewise.
44536         (BUS_MCEERR_AO): Likewise.
44537         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44538         (TRAP_TRACE): Likewise.
44539         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44540         __USE_XOPEN2K8].
44541         (CLD_KILLED): Likewise.
44542         (CLD_DUMPED): Likewise.
44543         (CLD_TRAPPED): Likewise.
44544         (CLD_STOPPED): Likewise.
44545         (CLD_CONTINUED): Likewise.
44546         (POLL_IN): Likewise.
44547         (POLL_OUT): Likewise.
44548         (POLL_MSG): Likewise.
44549         (POLL_ERR): Likewise.
44550         (POLL_PRI): Likewise.
44551         (POLL_HUP): Likewise.
44552         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44553         Likewise.
44554         (ILL_ILLOPN): Likewise.
44555         (ILL_ILLADR): Likewise.
44556         (ILL_ILLTRP): Likewise.
44557         (ILL_PRVOPC): Likewise.
44558         (ILL_PRVREG): Likewise.
44559         (ILL_COPROC): Likewise.
44560         (ILL_BADSTK): Likewise.
44561         (ILL_BADIADDR): Likewise.
44562         (ILL_BREAK): Likewise.
44563         (FPE_INTDIV): Likewise.
44564         (FPE_INTOVF): Likewise.
44565         (FPE_FLTDIV): Likewise.
44566         (FPE_FLTOVF): Likewise.
44567         (FPE_FLTUND): Likewise.
44568         (FPE_FLTRES): Likewise.
44569         (FPE_FLTINV): Likewise.
44570         (FPE_FLTSUB): Likewise.
44571         (FPE_DECOVF): Likewise.
44572         (FPE_DECDIV): Likewise.
44573         (FPE_DECERR): Likewise.
44574         (FPE_INVASC): Likewise.
44575         (FPE_INVDEC): Likewise.
44576         (SEGV_MAPERR): Likewise.
44577         (SEGV_ACCERR): Likewise.
44578         (SEGV_PSTKOVF): Likewise.
44579         (BUS_ADRALN): Likewise.
44580         (BUS_ADRERR): Likewise.
44581         (BUS_OBJERR): Likewise.
44582         (BUS_MCEERR_AR): Likewise.
44583         (BUS_MCEERR_AO): Likewise.
44584         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44585         (TRAP_TRACE): Likewise.
44586         (TRAP_BRANCH): Likewise.
44587         (TRAP_HWBKPT): Likewise.
44588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44589         __USE_XOPEN2K8].
44590         (CLD_KILLED): Likewise.
44591         (CLD_DUMPED): Likewise.
44592         (CLD_TRAPPED): Likewise.
44593         (CLD_STOPPED): Likewise.
44594         (CLD_CONTINUED): Likewise.
44595         (POLL_IN): Likewise.
44596         (POLL_OUT): Likewise.
44597         (POLL_MSG): Likewise.
44598         (POLL_ERR): Likewise.
44599         (POLL_PRI): Likewise.
44600         (POLL_HUP): Likewise.
44601         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44602         (ILL_ILLOPN): Likewise.
44603         (ILL_ILLADR): Likewise.
44604         (ILL_ILLTRP): Likewise.
44605         (ILL_PRVOPC): Likewise.
44606         (ILL_PRVREG): Likewise.
44607         (ILL_COPROC): Likewise.
44608         (ILL_BADSTK): Likewise.
44609         (FPE_INTDIV): Likewise.
44610         (FPE_INTOVF): Likewise.
44611         (FPE_FLTDIV): Likewise.
44612         (FPE_FLTOVF): Likewise.
44613         (FPE_FLTUND): Likewise.
44614         (FPE_FLTRES): Likewise.
44615         (FPE_FLTINV): Likewise.
44616         (FPE_FLTSUB): Likewise.
44617         (SEGV_MAPERR): Likewise.
44618         (SEGV_ACCERR): Likewise.
44619         (BUS_ADRALN): Likewise.
44620         (BUS_ADRERR): Likewise.
44621         (BUS_OBJERR): Likewise.
44622         (BUS_MCEERR_AR): Likewise.
44623         (BUS_MCEERR_AO): Likewise.
44624         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44625         (TRAP_TRACE): Likewise.
44626         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44627         __USE_XOPEN2K8].
44628         (CLD_KILLED): Likewise.
44629         (CLD_DUMPED): Likewise.
44630         (CLD_TRAPPED): Likewise.
44631         (CLD_STOPPED): Likewise.
44632         (CLD_CONTINUED): Likewise.
44633         (POLL_IN): Likewise.
44634         (POLL_OUT): Likewise.
44635         (POLL_MSG): Likewise.
44636         (POLL_ERR): Likewise.
44637         (POLL_PRI): Likewise.
44638         (POLL_HUP): Likewise.
44639         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44640         (ILL_ILLOPN): Likewise.
44641         (ILL_ILLADR): Likewise.
44642         (ILL_ILLTRP): Likewise.
44643         (ILL_PRVOPC): Likewise.
44644         (ILL_PRVREG): Likewise.
44645         (ILL_COPROC): Likewise.
44646         (ILL_BADSTK): Likewise.
44647         (FPE_INTDIV): Likewise.
44648         (FPE_INTOVF): Likewise.
44649         (FPE_FLTDIV): Likewise.
44650         (FPE_FLTOVF): Likewise.
44651         (FPE_FLTUND): Likewise.
44652         (FPE_FLTRES): Likewise.
44653         (FPE_FLTINV): Likewise.
44654         (FPE_FLTSUB): Likewise.
44655         (SEGV_MAPERR): Likewise.
44656         (SEGV_ACCERR): Likewise.
44657         (BUS_ADRALN): Likewise.
44658         (BUS_ADRERR): Likewise.
44659         (BUS_OBJERR): Likewise.
44660         (BUS_MCEERR_AR): Likewise.
44661         (BUS_MCEERR_AO): Likewise.
44662         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44663         (TRAP_TRACE): Likewise.
44664         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44665         __USE_XOPEN2K8].
44666         (CLD_KILLED): Likewise.
44667         (CLD_DUMPED): Likewise.
44668         (CLD_TRAPPED): Likewise.
44669         (CLD_STOPPED): Likewise.
44670         (CLD_CONTINUED): Likewise.
44671         (POLL_IN): Likewise.
44672         (POLL_OUT): Likewise.
44673         (POLL_MSG): Likewise.
44674         (POLL_ERR): Likewise.
44675         (POLL_PRI): Likewise.
44676         (POLL_HUP): Likewise.
44677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44678         (ILL_ILLOPN): Likewise.
44679         (ILL_ILLADR): Likewise.
44680         (ILL_ILLTRP): Likewise.
44681         (ILL_PRVOPC): Likewise.
44682         (ILL_PRVREG): Likewise.
44683         (ILL_COPROC): Likewise.
44684         (ILL_BADSTK): Likewise.
44685         (FPE_INTDIV): Likewise.
44686         (FPE_INTOVF): Likewise.
44687         (FPE_FLTDIV): Likewise.
44688         (FPE_FLTOVF): Likewise.
44689         (FPE_FLTUND): Likewise.
44690         (FPE_FLTRES): Likewise.
44691         (FPE_FLTINV): Likewise.
44692         (FPE_FLTSUB): Likewise.
44693         (SEGV_MAPERR): Likewise.
44694         (SEGV_ACCERR): Likewise.
44695         (BUS_ADRALN): Likewise.
44696         (BUS_ADRERR): Likewise.
44697         (BUS_OBJERR): Likewise.
44698         (BUS_MCEERR_AR): Likewise.
44699         (BUS_MCEERR_AO): Likewise.
44700         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44701         (TRAP_TRACE): Likewise.
44702         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44703         __USE_XOPEN2K8].
44704         (CLD_KILLED): Likewise.
44705         (CLD_DUMPED): Likewise.
44706         (CLD_TRAPPED): Likewise.
44707         (CLD_STOPPED): Likewise.
44708         (CLD_CONTINUED): Likewise.
44709         (POLL_IN): Likewise.
44710         (POLL_OUT): Likewise.
44711         (POLL_MSG): Likewise.
44712         (POLL_ERR): Likewise.
44713         (POLL_PRI): Likewise.
44714         (POLL_HUP): Likewise.
44715         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44716         (ILL_ILLOPN): Likewise.
44717         (ILL_ILLADR): Likewise.
44718         (ILL_ILLTRP): Likewise.
44719         (ILL_PRVOPC): Likewise.
44720         (ILL_PRVREG): Likewise.
44721         (ILL_COPROC): Likewise.
44722         (ILL_BADSTK): Likewise.
44723         (ILL_DBLFLT): Likewise.
44724         (ILL_HARDWALL): Likewise.
44725         (FPE_INTDIV): Likewise.
44726         (FPE_INTOVF): Likewise.
44727         (FPE_FLTDIV): Likewise.
44728         (FPE_FLTOVF): Likewise.
44729         (FPE_FLTUND): Likewise.
44730         (FPE_FLTRES): Likewise.
44731         (FPE_FLTINV): Likewise.
44732         (FPE_FLTSUB): Likewise.
44733         (SEGV_MAPERR): Likewise.
44734         (SEGV_ACCERR): Likewise.
44735         (BUS_ADRALN): Likewise.
44736         (BUS_ADRERR): Likewise.
44737         (BUS_OBJERR): Likewise.
44738         (BUS_MCEERR_AR): Likewise.
44739         (BUS_MCEERR_AO): Likewise.
44740         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44741         (TRAP_TRACE): Likewise.
44742         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44743         __USE_XOPEN2K8].
44744         (CLD_KILLED): Likewise.
44745         (CLD_DUMPED): Likewise.
44746         (CLD_TRAPPED): Likewise.
44747         (CLD_STOPPED): Likewise.
44748         (CLD_CONTINUED): Likewise.
44749         (POLL_IN): Likewise.
44750         (POLL_OUT): Likewise.
44751         (POLL_MSG): Likewise.
44752         (POLL_ERR): Likewise.
44753         (POLL_PRI): Likewise.
44754         (POLL_HUP): Likewise.
44755         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44756         (ILL_ILLOPN): Likewise.
44757         (ILL_ILLADR): Likewise.
44758         (ILL_ILLTRP): Likewise.
44759         (ILL_PRVOPC): Likewise.
44760         (ILL_PRVREG): Likewise.
44761         (ILL_COPROC): Likewise.
44762         (ILL_BADSTK): Likewise.
44763         (FPE_INTDIV): Likewise.
44764         (FPE_INTOVF): Likewise.
44765         (FPE_FLTDIV): Likewise.
44766         (FPE_FLTOVF): Likewise.
44767         (FPE_FLTUND): Likewise.
44768         (FPE_FLTRES): Likewise.
44769         (FPE_FLTINV): Likewise.
44770         (FPE_FLTSUB): Likewise.
44771         (SEGV_MAPERR): Likewise.
44772         (SEGV_ACCERR): Likewise.
44773         (BUS_ADRALN): Likewise.
44774         (BUS_ADRERR): Likewise.
44775         (BUS_OBJERR): Likewise.
44776         (BUS_MCEERR_AR): Likewise.
44777         (BUS_MCEERR_AO): Likewise.
44778         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44779         (TRAP_TRACE): Likewise.
44780         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44781         __USE_XOPEN2K8].
44782         (CLD_KILLED): Likewise.
44783         (CLD_DUMPED): Likewise.
44784         (CLD_TRAPPED): Likewise.
44785         (CLD_STOPPED): Likewise.
44786         (CLD_CONTINUED): Likewise.
44787         (POLL_IN): Likewise.
44788         (POLL_OUT): Likewise.
44789         (POLL_MSG): Likewise.
44790         (POLL_ERR): Likewise.
44791         (POLL_PRI): Likewise.
44792         (POLL_HUP): Likewise.
44793         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44794         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44796         [BZ #16670]
44797         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44798         before #include of <time.h>.
44799         [!__USE_XOPEN2K] (__need_timespec): Likewise.
44800         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44801         (test-xfail-UNIX98/sched.h/conform): Likewise.
44803 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44805         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44806         error absence of trapping exception support.
44807         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44809 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44811         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44812         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44813         * timezone/Makefile (testdata): Move definition above include of
44814         Rules.
44815         (test-zones): New variable.
44816         (tests-special): Add zone files.
44817         (build-testdata): Use $(evaluate-test).
44819         * elf/Makefile (tests-special): Rename tests to end with .out.
44820         ($(objpfx)noload-mem): Likewise.
44821         ($(objpfx)tst-leaks1-mem): Likewise.
44822         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44823         * iconv/Makefile (xtests-special): Change test-iconvconfig to
44824         $(objpfx)test-iconvconfig.out.
44825         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
44826         set -e inside subshell and redirect output to file.
44827         * iconvdata/Makefile (generated): Rename tests to end with .out.
44828         Correct type.
44829         (tests-special): Rename tests to end with .out.
44830         ($(objpfx)mtrace-tst-loading): Likewise.
44831         * intl/Makefile (generated): Likewise.
44832         (tests-special): Likewise.
44833         ($(objpfx)mtrace-tst-gettext): Likewise.
44834         * misc/Makefile (generated): Likewise.
44835         (tests-special): Likewise.
44836         ($(objpfx)tst-error1-mem): Likewise.
44837         * nptl/Makefile (tests-special): Likewise.
44838         ($(objpfx)tst-stack3-mem): Likewise.
44839         (generated): Likewise.
44840         * posix/Makefile (generated): Likewise.
44841         (tests-special): Likewise.
44842         (xtests-special): Likewise.
44843         ($(objpfx)tst-fnmatch-mem): Likewise.
44844         ($(objpfx)bug-regex2-mem): Likewise.
44845         ($(objpfx)bug-regex14-mem): Likewise.
44846         ($(objpfx)bug-regex21-mem): Likewise.
44847         ($(objpfx)bug-regex31-mem): Likewise.
44848         ($(objpfx)tst-vfork3-mem): Likewise.
44849         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44850         ($(objpfx)tst-pcre-mem): Likewise.
44851         ($(objpfx)tst-boost-mem): Likewise.
44852         ($(objpfx)bug-ga2-mem): Likewise.
44853         ($(objpfx)bug-glob2-mem): Likewise.
44854         * resolv/Makefile (generate): Likewise.
44855         (tests-special): Likewise.
44856         (xtests-special): Likewise.
44857         (generated): Likewise.
44858         ($(objpfx)mtrace-tst-leaks): Likewise.
44859         ($(objpfx)mtrace-tst-leaks2): Likewise.
44861         * scripts/merge-test-results.sh: New file.
44862         * Makefile (tests-special-notdir): New variable.
44863         (tests): Run merge-test-results.sh.
44864         (xtests): Likewise.
44865         * Rules (tests-special-notdir): New variable.
44866         (xtests-special-notdir): Likewise.
44867         (tests): Run merge-test-results.sh
44868         (xtests): Likewise.
44870         * Makeconfig (test-xfail-name): New variable.
44871         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44872         compute variable name for expected failures.
44873         * conform/Makefile (conformtest-headers-data): New variable.
44874         (conformtest-standards): Likewise.
44875         (conformtest-headers-ISO): Likewise.
44876         (conformtest-headers-ISO99): Likewise.
44877         (conformtest-headers-ISO11): Likewise.
44878         (conformtest-headers-POSIX): Likewise.
44879         (conformtest-headers-XPG3): Likewise.
44880         (conformtest-headers-XPG4): Likewise.
44881         (conformtest-headers-UNIX98): Likewise.
44882         (conformtest-headers-XOPEN2K): Likewise.
44883         (conformtest-headers-POSIX2008): Likewise.
44884         (conformtest-headers-XOPEN2K8): Likewise.
44885         (conformtest-header-list-base): Likewise.
44886         (conformtest-header-list-tests): Likewise.
44887         (conformtest-header-base): Likewise.
44888         (conformtest-header-tests): Likewise.
44889         (tests-special): Add $(conformtest-header-list-tests).  If
44890         [$(fast-check) && !$(cross-compiling)], add
44891         $(conformtest-header-tests) instead of
44892         $(objpfx)run-conformtest.out.
44893         (generated): Add $(conformtest-header-list-base).  If
44894         [$(fast-check) && !$(cross-compiling)], add
44895         $(conformtest-header-base).  Remove previous setting.
44896         ($(conformtest-header-list-tests)): New target.
44897         (test-xfail-run-conformtest): Remove variable.
44898         ($(objpfx)run-conformtest.out): Remove target.
44899         (test-xfail-ISO11/complex.h/conform): New variable.
44900         (test-xfail-ISO11/stdalign.h/conform): Likewise.
44901         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44902         (test-xfail-XPG3/varargs.h/conform): Likewise.
44903         (test-xfail-XPG4/varargs.h/conform): Likewise.
44904         (test-xfail-UNIX98/varargs.h/conform): Likewise.
44905         (test-xfail-XPG4/ndbm.h/conform): Likewise.
44906         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44907         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44908         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44909         (test-xfail-XPG3/fcntl.h/conform): Likewise.
44910         (test-xfail-XPG3/ftw.h/conform): Likewise.
44911         (test-xfail-XPG3/grp.h/conform): Likewise.
44912         (test-xfail-XPG3/langinfo.h/conform): Likewise.
44913         (test-xfail-XPG3/limits.h/conform): Likewise.
44914         (test-xfail-XPG3/pwd.h/conform): Likewise.
44915         (test-xfail-XPG3/search.h/conform): Likewise.
44916         (test-xfail-XPG3/signal.h/conform): Likewise.
44917         (test-xfail-XPG3/stdio.h/conform): Likewise.
44918         (test-xfail-XPG3/stdlib.h/conform): Likewise.
44919         (test-xfail-XPG3/string.h/conform): Likewise.
44920         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44921         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44922         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44923         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44924         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44925         (test-xfail-XPG3/sys/types.h/conform): Likewise.
44926         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44927         (test-xfail-XPG3/termios.h/conform): Likewise.
44928         (test-xfail-XPG3/time.h/conform): Likewise.
44929         (test-xfail-XPG3/unistd.h/conform): Likewise.
44930         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44931         (test-xfail-XPG4/fcntl.h/conform): Likewise.
44932         (test-xfail-XPG4/langinfo.h/conform): Likewise.
44933         (test-xfail-XPG4/netdb.h/conform): Likewise.
44934         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44935         (test-xfail-XPG4/signal.h/conform): Likewise.
44936         (test-xfail-XPG4/stdio.h/conform): Likewise.
44937         (test-xfail-XPG4/stdlib.h/conform): Likewise.
44938         (test-xfail-XPG4/stropts.h/conform): Likewise.
44939         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44940         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44941         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44942         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44943         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44944         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44945         (test-xfail-XPG4/sys/time.h/conform): Likewise.
44946         (test-xfail-XPG4/sys/types.h/conform): Likewise.
44947         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44948         (test-xfail-XPG4/termios.h/conform): Likewise.
44949         (test-xfail-XPG4/ucontext.h/conform): Likewise.
44950         (test-xfail-XPG4/unistd.h/conform): Likewise.
44951         (test-xfail-XPG4/utmpx.h/conform): Likewise.
44952         (test-xfail-POSIX/sched.h/conform): Likewise.
44953         (test-xfail-POSIX/signal.h/conform): Likewise.
44954         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44955         (test-xfail-POSIX/tar.h/conform): Likewise.
44956         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44957         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44958         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44959         (test-xfail-UNIX98/netdb.h/conform): Likewise.
44960         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44961         (test-xfail-UNIX98/sched.h/conform): Likewise.
44962         (test-xfail-UNIX98/signal.h/conform): Likewise.
44963         (test-xfail-UNIX98/stdio.h/conform): Likewise.
44964         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44965         (test-xfail-UNIX98/stropts.h/conform): Likewise.
44966         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44967         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44968         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44969         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44970         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44971         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44972         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44973         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44974         (test-xfail-UNIX98/unistd.h/conform): Likewise.
44975         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44976         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44977         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44978         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44979         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44980         (test-xfail-XOPEN2K/math.h/conform): Likewise.
44981         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44982         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44983         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44984         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44985         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44986         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44987         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44988         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44989         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44990         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44991         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44992         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44993         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44994         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44995         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44996         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44997         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44998         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44999         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
45000         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
45001         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
45002         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
45003         (test-xfail-POSIX2008/signal.h/conform): Likewise.
45004         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
45005         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
45006         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
45007         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
45008         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
45009         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
45010         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
45011         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
45012         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
45013         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
45014         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
45015         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
45016         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
45017         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
45018         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
45019         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
45020         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
45021         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
45022         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
45023         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
45024         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
45025         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
45026         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
45027         (conformtest-cc-flags): Likewise.
45028         ($(conformtest-header-tests): New target.
45029         * conform/check-header-lists.sh: New file.
45030         * conform/run-conformtest.sh: Remove.
45032         * conform/conformtest.pl: Allow ' and \ in values given for
45033         constants.
45034         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
45035         inclusion.
45036         [POSIX] (sys/types.h): Likewise.
45037         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
45038         inclusion.
45039         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
45040         inclusion.
45041         * conform/data/signal.h-data (SIGIO): Remove expectation.
45042         [XPG3] (SIGBUS): Do not expect.
45043         [POSIX || XPG3] (SIGPOLL): Likewise.
45044         [POSIX || XPG3] (SIGPROF): Likewise.
45045         [POSIX || XPG3] (SIGSYS): Likewise.
45046         [XPG3] (SIGTRAP): Likewise.
45047         [POSIX || XPG3] (SIGURG): Likewise.
45048         [POSIX || XPG3] (SIGVTALRM): Likewise.
45049         [POSIX || XPG3] (SIGXCPU): Likewise.
45050         [POSIX || XPG3] (SIGXFSZ): Likewise.
45051         [POSIX] (SA_SIGINFO): Expect.
45052         [XPG3] (siginfo_t): Do not expect type or contents.
45053         [POSIX] (si_pid): Do not expect element.
45054         [POSIX] (si_uid): Likewise.
45055         [POSIX] (si_addr): Likewise.
45056         [POSIX] (si_status): Likewise.
45057         [POSIX] (si_band): Likewise.
45058         [XPG4] (si_value): Likewise.
45059         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
45060         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
45061         [POSIX || XPG3] (ILL_ILLADR): Likewise.
45062         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
45063         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
45064         [POSIX || XPG3] (ILL_PRVREG): Likewise.
45065         [POSIX || XPG3] (ILL_COPROC): Likewise.
45066         [POSIX || XPG3] (ILL_BADSTK): Likewise.
45067         [POSIX || XPG3] (FPE_INTDIV): Likewise.
45068         [POSIX || XPG3] (FPE_INTOVF): Likewise.
45069         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
45070         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
45071         [POSIX || XPG3] (FPE_FLTUND): Likewise.
45072         [POSIX || XPG3] (FPE_FLTRES): Likewise.
45073         [POSIX || XPG3] (FPE_FLTINV): Likewise.
45074         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
45075         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
45076         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
45077         [POSIX || XPG3] (BUS_ADRALN): Likewise.
45078         [POSIX || XPG3] (BUS_ADRERR): Likewise.
45079         [POSIX || XPG3] (BUS_OBJERR): Likewise.
45080         [POSIX || XPG3] (CLD_EXITED): Likewise.
45081         [POSIX || XPG3] (CLD_KILLED): Likewise.
45082         [POSIX || XPG3] (CLD_DUMPED): Likewise.
45083         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
45084         [POSIX || XPG3] (CLD_STOPPED): Likewise.
45085         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
45086         [POSIX || XPG3] (POLL_IN): Likewise.
45087         [POSIX || XPG3] (POLL_OUT): Likewise.
45088         [POSIX || XPG3] (POLL_MSG): Likewise.
45089         [POSIX || XPG3] (POLL_ERR): Likewise.
45090         [POSIX || XPG3] (POLL_PRI): Likewise.
45091         [POSIX || XPG3] (POLL_HUP): Likewise.
45092         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
45093         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
45094         (SIG*): Do not allow.
45095         [XPG3] (si_*): Likewise.
45096         [XPG3] (SI_*): Likewise.
45097         [XPG3 || XPG4] (sigev_*): Likewise.
45098         [XPG3 || XPG4] (SIGEV_*): Likewise.
45099         [XPG3 || XPG4] (sival_*): Likewise.
45100         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
45101         [POSIX || XPG3] (BUS_*): Likewise.
45102         [POSIX || XPG3] (CLD_*): Likewise.
45103         [POSIX || XPG3] (FPE_*): Likewise.
45104         [POSIX || XPG3] (ILL_*): Likewise.
45105         [POSIX || XPG3] (POLL_*): Likewise.
45106         [POSIX || XPG3] (SEGV_*): Likewise.
45107         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
45108         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
45109         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
45110         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
45111         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
45112         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
45113         Specify type and value.
45114         (TVERSLEN): Likewise.
45115         (REGTYPE): Likewise.
45116         (AREGTYPE): Likewise.
45117         (LNKTYPE): Likewise.
45118         (SYMTYPE): Likewise.
45119         (CHRTYPE): Likewise.
45120         (BLKTYPE): Likewise.
45121         (DIRTYPE): Likewise.
45122         (FIFOTYPE): Likewise.
45123         (CONTTYPE): Likewise.
45124         (TSUID): Likewise.
45125         (TSGID): Likewise.
45126         (TSVTX): Likewise.
45127         (TUREAD): Likewise.
45128         (TUWRITE): Likewise.
45129         (TUEXEC): Likewise.
45130         (TGREAD): Likewise.
45131         (TGWRITE): Likewise.
45132         (TGEXEC): Likewise.
45133         (TOREAD): Likewise.
45134         (TOWRITE): Likewise.
45135         (TOEXEC): Likewise.
45136         [POSIX] (TSVTX): Expect constant.
45138 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
45140         * Makefile (tests): Change dependencies to ....
45141         (tests-special): ... additions to this variable.
45142         (tests): Depend on $(tests-special).
45143         * Makerules (check-abi-list): New variable.
45144         (check-abi): Depend on $(check-abi-list).
45145         [$(subdir) = elf] (tests-special): Add
45146         $(objpfx)check-abi-libc.out.
45147         [$(build-shared) = yes && subdir] (tests-special): Add
45148         $(check-abi-list).
45149         [$(build-shared) = yes && subdir] (tests): Do not depend on
45150         check-abi.
45151         * Rules (tests): Depend on $(tests-special).
45152         (xtests): Depend on $(xtests-special).
45153         * catgets/Makefile (tests): Change dependencies to ....
45154         (tests-special): ... additions to this variable.
45155         * conform/Makefile (tests): Change dependencies to ....
45156         (tests-special): ... additions to this variable.
45157         * elf/Makefile (tests): Change dependencies to ....
45158         (tests-special): ... additions to this variable.
45159         * grp/Makefile (tests): Change dependencies to ....
45160         (tests-special): ... additions to this variable.
45161         * iconv/Makefile (xtests): Change dependencies to ....
45162         (xtests-special): ... additions to this variable.
45163         * iconvdata/Makefile (tests): Change dependencies to ....
45164         (tests-special): ... additions to this variable.
45165         * intl/Makefile (tests): Change dependencies to ....
45166         (tests-special): ... additions to this variable.  Also add
45167         $(objpfx)tst-gettext.out.
45168         * io/Makefile (tests): Change dependencies to ....
45169         (tests-special): ... additions to this variable.
45170         * libio/Makefile (tests): Change dependencies to ....
45171         (tests-special): ... additions to this variable.
45172         * malloc/Makefile (tests): Change dependencies to ....
45173         (tests-special): ... additions to this variable.
45174         * misc/Makefile (tests): Change dependencies to ....
45175         (tests-special): ... additions to this variable.
45176         * nptl/Makefile (tests): Change dependencies to ....
45177         (tests-special): ... additions to this variable.
45178         * nptl_db/Makefile (tests): Change dependencies to ....
45179         (tests-special): ... additions to this variable.
45180         * posix/Makefile (tests): Change dependencies to ....
45181         (tests-special): ... additions to this variable.
45182         (xtests): Change dependencies to ....
45183         (xtests-special): ... additions to this variable.
45184         * resolv/Makefile (tests): Change dependencies to ....
45185         (tests-special): ... additions to this variable.
45186         (xtests): Change dependencies to ....
45187         (xtests-special): ... additions to this variable.
45188         * stdio-common/Makefile (tests): Change dependencies to ....
45189         (tests-special): ... additions to this variable.
45190         (do-tst-unbputc): Remove target.
45191         (do-tst-printf): Likewise.
45192         * stdlib/Makefile (tests): Change dependencies to ....
45193         (tests-special): ... additions to this variable.
45194         * string/Makefile (tests): Change dependencies to ....
45195         (tests-special): ... additions to this variable.
45196         * sysdeps/x86/Makefile (tests): Change dependencies to ....
45197         (tests-special): ... additions to this variable.
45199         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45200         whole file.
45201         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45202         whole file.
45203         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45204         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45206         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45207         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45208         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45209         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45210         * conform/data/libgen.h-data [XPG3]: Likewise.
45211         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45212         * conform/data/ndbm.h-data [XPG3]: Likewise.
45213         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45214         * conform/data/netdb.h-data [XPG3]: Likewise.
45215         * conform/data/netinet/in.h-data [XPG3]: Likewise.
45216         * conform/data/poll.h-data [XPG3]: Likewise.
45217         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45218         * conform/data/strings.h-data [XPG3]: Likewise.
45219         * conform/data/stropts.h-data [XPG3]: Likewise.
45220         * conform/data/sys/mman.h-data [XPG3]: Likewise.
45221         * conform/data/sys/resource.h-data [XPG3]: Likewise.
45222         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45223         Likewise.
45224         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45225         * conform/data/sys/time.h-data [XPG3]: Likewise.
45226         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45227         * conform/data/sys/uio.h-data [XPG3]: Likewise.
45228         * conform/data/sys/un.h-data [XPG3]: Likewise.
45229         * conform/data/syslog.h-data [XPG3]: Likewise.
45230         * conform/data/ucontext.h-data [XPG3]: Likewise.
45231         * conform/data/utmpx.h-data [XPG3]: Likewise.
45232         * conform/data/varargs.h-data [UNIX98]: Enable file.
45234         * manual/Makefile (INSTALL_INFO): Remove variable setting.
45236         * math/libm-test.inc (struct test_f_f_data): Move expected results
45237         into structure for each rounding mode.
45238         (struct test_ff_f_data): Likewise.
45239         (struct test_ff_f_data_nexttoward): Likewise.
45240         (struct test_fi_f_data): Likewise.
45241         (struct test_fl_f_data): Likewise.
45242         (struct test_if_f_data): Likewise.
45243         (struct test_fff_f_data): Likewise.
45244         (struct test_c_f_data): Likewise.
45245         (struct test_f_f1_data): Likewise.
45246         (struct test_fF_f1_data): Likewise.
45247         (struct test_ffI_f1_data): Likewise.
45248         (struct test_c_c_data): Likewise.
45249         (struct test_cc_c_data): Likewise.
45250         (struct test_f_i_data): Likewise.
45251         (struct test_ff_i_data): Likewise.
45252         (struct test_f_l_data): Likewise.
45253         (struct test_f_L_data): Likewise.
45254         (struct test_fFF_11_data): Likewise.
45255         (RM_): New macro.
45256         (RM_FE_DOWNWARD): Likewise.
45257         (RM_FE_TONEAREST): Likewise.
45258         (RM_FE_TOWARDZERO): Likewise.
45259         (RM_FE_UPWARD): Likewise.
45260         (RUN_TEST_LOOP_f_f): Update references to expected results.
45261         (RUN_TEST_LOOP_2_f): Likewise.
45262         (RUN_TEST_LOOP_fff_f): Likewise.
45263         (RUN_TEST_LOOP_c_f): Likewise.
45264         (RUN_TEST_LOOP_f_f1): Likewise.
45265         (RUN_TEST_LOOP_fF_f1): Likewise.
45266         (RUN_TEST_LOOP_fI_f1): Likewise.
45267         (RUN_TEST_LOOP_ffI_f1): Likewise.
45268         (RUN_TEST_LOOP_c_c): Likewise.
45269         (RUN_TEST_LOOP_cc_c): Likewise.
45270         (RUN_TEST_LOOP_f_i): Likewise.
45271         (RUN_TEST_LOOP_f_i_tg): Likewise.
45272         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45273         (RUN_TEST_LOOP_f_b): Likewise.
45274         (RUN_TEST_LOOP_f_b_tg): Likewise.
45275         (RUN_TEST_LOOP_f_l): Likewise.
45276         (RUN_TEST_LOOP_f_L): Likewise.
45277         (RUN_TEST_LOOP_fFF_11): Likewise.
45278         * math/gen-libm-test.pl (parse_args): Output four copies of
45279         expected results for each test.
45281         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45282         (__ASSUME_UTIMES): Remove.
45283         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45284         (__ASSUME_UTIMES): Likewise.
45286         * math/gen-auto-libm-tests.c: Update comment on output format.
45287         (output_for_one_input_case): Generate before-rounding and
45288         after-rounding information as conditions on output flags not
45289         floating-point format.
45290         * math/auto-libm-test-out: Regenerated.
45291         * math/gen-libm-test.pl (cond_value): New function.
45292         (or_cond_value): Use cond_value.
45293         (generate_testfile): Handle conditional exceptions.
45295 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
45297         * math/libm-test.inc (max_valid_error): New variable.
45298         (init_max_error): Take new argument specifying whether function
45299         results are exactly determined.  Set max_valid_error and bound
45300         other variables for errors based on this argument.
45301         (set_max_error): Do not record results above max_valid_error.
45302         (check_float_internal): Only accept errors of up to 0.5ulps if
45303         also at most max_valid_error.
45304         (START): Take new argument EXACT and pass it to init_max_error.
45305         (acos_test): Update call to START.
45306         (acos_test_tonearest): Likewise.
45307         (acos_test_towardzero): Likewise.
45308         (acos_test_downward): Likewise.
45309         (acos_test_upward): Likewise.
45310         (acosh_test): Likewise.
45311         (asin_test): Likewise.
45312         (asin_test_tonearest): Likewise.
45313         (asin_test_towardzero): Likewise.
45314         (asin_test_downward): Likewise.
45315         (asin_test_upward): Likewise.
45316         (asinh_test): Likewise.
45317         (atan_test): Likewise.
45318         (atanh_test): Likewise.
45319         (atan2_test): Likewise.
45320         (cabs_test): Likewise.
45321         (cacos_test): Likewise.
45322         (cacosh_test): Likewise.
45323         (carg_test): Likewise.
45324         (casin_test): Likewise.
45325         (casinh_test): Likewise.
45326         (catan_test): Likewise.
45327         (catanh_test): Likewise.
45328         (cbrt_test): Likewise.
45329         (ccos_test): Likewise.
45330         (ccosh_test): Likewise.
45331         (ceil_test): Likewise.
45332         (cexp_test): Likewise.
45333         (cimag_test): Likewise.
45334         (clog_test): Likewise.
45335         (clog10_test): Likewise.
45336         (conj_test): Likewise.
45337         (copysign_test): Likewise.
45338         (cos_test): Likewise.
45339         (cos_test_tonearest): Likewise.
45340         (cos_test_towardzero): Likewise.
45341         (cos_test_downward): Likewise.
45342         (cos_test_upward): Likewise.
45343         (cosh_test): Likewise.
45344         (cosh_test_tonearest): Likewise.
45345         (cosh_test_towardzero): Likewise.
45346         (cosh_test_downward): Likewise.
45347         (cosh_test_upward): Likewise.
45348         (cpow_test): Likewise.
45349         (cproj_test): Likewise.
45350         (creal_test): Likewise.
45351         (csin_test): Likewise.
45352         (csinh_test): Likewise.
45353         (csqrt_test): Likewise.
45354         (ctan_test): Likewise.
45355         (ctan_test_tonearest): Likewise.
45356         (ctan_test_towardzero): Likewise.
45357         (ctan_test_downward): Likewise.
45358         (ctan_test_upward): Likewise.
45359         (ctanh_test): Likewise.
45360         (ctanh_test_tonearest): Likewise.
45361         (ctanh_test_towardzero): Likewise.
45362         (ctanh_test_downward): Likewise.
45363         (ctanh_test_upward): Likewise.
45364         (erf_test): Likewise.
45365         (erfc_test): Likewise.
45366         (exp_test): Likewise.
45367         (exp_test_tonearest): Likewise.
45368         (exp_test_towardzero): Likewise.
45369         (exp_test_downward): Likewise.
45370         (exp_test_upward): Likewise.
45371         (exp10_test): Likewise.
45372         (exp10_test_tonearest): Likewise.
45373         (exp10_test_towardzero): Likewise.
45374         (exp10_test_downward): Likewise.
45375         (exp10_test_upward): Likewise.
45376         (pow10_test): Likewise.
45377         (exp2_test): Likewise.
45378         (expm1_test): Likewise.
45379         (expm1_test_tonearest): Likewise.
45380         (expm1_test_towardzero): Likewise.
45381         (expm1_test_downward): Likewise.
45382         (expm1_test_upward): Likewise.
45383         (fabs_test): Likewise.
45384         (fdim_test): Likewise.
45385         (floor_test): Likewise.
45386         (fma_test): Likewise.
45387         (fma_test_towardzero): Likewise.
45388         (fma_test_downward): Likewise.
45389         (fma_test_upward): Likewise.
45390         (fmax_test): Likewise.
45391         (fmin_test): Likewise.
45392         (fmod_test): Likewise.
45393         (fpclassify_test): Likewise.
45394         (frexp_test): Likewise.
45395         (hypot_test): Likewise.
45396         (ilogb_test): Likewise.
45397         (isfinite_test): Likewise.
45398         (finite_test): Likewise.
45399         (isgreater_test): Likewise.
45400         (isgreaterequal_test): Likewise.
45401         (isinf_test): Likewise.
45402         (isless_test): Likewise.
45403         (islessequal_test): Likewise.
45404         (islessgreater_test): Likewise.
45405         (isnan_test): Likewise.
45406         (isnormal_test): Likewise.
45407         (issignaling_test): Likewise.
45408         (isunordered_test): Likewise.
45409         (j0_test): Likewise.
45410         (j1_test): Likewise.
45411         (jn_test): Likewise.
45412         (ldexp_test): Likewise.
45413         (lgamma_test): Likewise.
45414         (gamma_test): Likewise.
45415         (lrint_test): Likewise.
45416         (lrint_test_tonearest): Likewise.
45417         (lrint_test_towardzero): Likewise.
45418         (lrint_test_downward): Likewise.
45419         (lrint_test_upward): Likewise.
45420         (llrint_test): Likewise.
45421         (llrint_test_tonearest): Likewise.
45422         (llrint_test_towardzero): Likewise.
45423         (llrint_test_downward): Likewise.
45424         (llrint_test_upward): Likewise.
45425         (log_test): Likewise.
45426         (log10_test): Likewise.
45427         (log1p_test): Likewise.
45428         (log2_test): Likewise.
45429         (logb_test): Likewise.
45430         (logb_test_downward): Likewise.
45431         (lround_test): Likewise.
45432         (llround_test): Likewise.
45433         (modf_test): Likewise.
45434         (nearbyint_test): Likewise.
45435         (nextafter_test): Likewise.
45436         (nexttoward_test): Likewise.
45437         (pow_test): Likewise.
45438         (pow_test_tonearest): Likewise.
45439         (pow_test_towardzero): Likewise.
45440         (pow_test_downward): Likewise.
45441         (pow_test_upward): Likewise.
45442         (remainder_test): Likewise.
45443         (drem_test): Likewise.
45444         (remainder_test_tonearest): Likewise.
45445         (drem_test_tonearest): Likewise.
45446         (remainder_test_towardzero): Likewise.
45447         (drem_test_towardzero): Likewise.
45448         (remainder_test_downward): Likewise.
45449         (drem_test_downward): Likewise.
45450         (remainder_test_upward): Likewise.
45451         (drem_test_upward): Likewise.
45452         (remquo_test): Likewise.
45453         (rint_test): Likewise.
45454         (rint_test_tonearest): Likewise.
45455         (rint_test_towardzero): Likewise.
45456         (rint_test_downward): Likewise.
45457         (rint_test_upward): Likewise.
45458         (round_test): Likewise.
45459         (scalb_test): Likewise.
45460         (scalbn_test): Likewise.
45461         (scalbln_test): Likewise.
45462         (signbit_test): Likewise.
45463         (sin_test): Likewise.
45464         (sin_test_tonearest): Likewise.
45465         (sin_test_towardzero): Likewise.
45466         (sin_test_downward): Likewise.
45467         (sin_test_upward): Likewise.
45468         (sincos_test): Likewise.
45469         (sinh_test): Likewise.
45470         (sinh_test_tonearest): Likewise.
45471         (sinh_test_towardzero): Likewise.
45472         (sinh_test_downward): Likewise.
45473         (sinh_test_upward): Likewise.
45474         (sqrt_test): Likewise.
45475         (sqrt_test_tonearest): Likewise.
45476         (sqrt_test_towardzero): Likewise.
45477         (sqrt_test_downward): Likewise.
45478         (sqrt_test_upward): Likewise.
45479         (tan_test): Likewise.
45480         (tan_test_tonearest): Likewise.
45481         (tan_test_towardzero): Likewise.
45482         (tan_test_downward): Likewise.
45483         (tan_test_upward): Likewise.
45484         (tanh_test): Likewise.
45485         (tgamma_test): Likewise.
45486         (trunc_test): Likewise.
45487         (y0_test): Likewise.
45488         (y1_test): Likewise.
45489         (yn_test): Likewise.
45490         (significand_test): Likewise.
45492         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45493         individual tests in comment.
45494         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45495         (prev_max_error): New variable.
45496         (prev_real_max_error): Likewise.
45497         (prev_imag_max_error): Likewise.
45498         (compare_ulp_data): Don't refer to test names in comment.
45499         (find_test_ulps): Remove function.
45500         (find_function_ulps): Likewise.
45501         (find_complex_function_ulps): Likewise.
45502         (init_max_error): Take function name as argument.  Look up ulps
45503         for that function.
45504         (print_ulps): Remove function.
45505         (print_max_error): Use prev_max_error instead of calling
45506         find_function_ulps.
45507         (print_complex_max_error): Use prev_real_max_error and
45508         prev_imag_max_error instead of calling find_complex_function_ulps.
45509         (check_float_internal): Take max_ulp parameter instead of calling
45510         find_test_ulps.  Don't call print_ulps.
45511         (check_float): Update call to check_float_internal.
45512         (check_complex): Update calls to check_float_internal.
45513         (START): Pass argument to init_max_error.
45514         * math/gen-libm-test.pl (%results): Don't include "kind"
45515         information.
45516         (parse_ulps): Don't handle ulps of individual tests.
45517         (print_ulps_file): Likewise.
45518         (output_ulps): Likewise.
45519         * math/README.libm-test: Update.
45520         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45521         individual tests.
45522         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45523         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45524         * sysdeps/arm/libm-test-ulps: Likewise.
45525         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45526         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45527         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45528         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45529         * sysdeps/microblaze/libm-test-ulps: Likewise.
45530         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45531         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45532         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45533         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45534         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45535         * sysdeps/sh/libm-test-ulps: Likewise.
45536         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45537         * sysdeps/tile/libm-test-ulps: Likewise.
45538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45540 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
45542         * math/libm-test.inc (print_complex_max_error): Check separately
45543         whether real and imaginary errors are within allowed range and
45544         pass 0 to print_complex_function_ulps instead of value within
45545         allowed range.
45547 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45549         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45550         formatting.
45551         (get_handles_fopen): Likewise.
45552         (do_write_test): Likewise.
45554         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45556         * libio/fileops.c (do_ftell): Use cached offset when
45557         available.
45558         * libio/iofwide.c (do_ftell_wide): Likewise.
45559         * libio/iofdopen.c (_IO_new_fdopen): Don't use
45560         _IO_file_attach.
45561         * libio/wfileops.c (_IO_fwide): Don't cache offset.
45563         [BZ #16532]
45564         * libio/libioP.h (get_file_offset): New function.
45565         * libio/fileops.c (get_file_offset): Likewise.
45566         (do_ftell): Likewise.
45567         (_IO_new_file_seekoff): Split out ftell logic.
45568         * libio/wfileops.c (do_ftell_wide): Likewise.
45569         (_IO_wfile_seekoff): Split out ftell logic.
45570         * libio/tst-ftell-active-handler.c: New test case.
45571         * libio/Makefile (tests): Add it.
45573 2014-03-03  Roland McGrath  <roland@hack.frob.com>
45575         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45576         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45578 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45580         [BZ #16639]
45581         * nscd/connections.c (nscd_init): Call do_exit.
45582         (start_threads): Call do_exit and notify_parent.
45583         (begin_drop_privileges): Call do_exit.
45584         (finish_drop_privileges): Likewise.
45585         * nscd/selinux.c (preserve_capabilities): Likewise.
45586         (install_real_capabilities): Likewise.
45587         (nscd_selinux_enabled): Likewise.
45588         (avc_create_thread): Likewise.
45589         (avc_alloc_lock): Likewise.
45590         (nscd_avc_init): Likewise.
45591         * nscd/nscd.c (parent_fd): New static variable.
45592         (main): Create a pipe between parent and child processes.
45593         Skip closing parent_fd.
45594         (monitor_child): New function.
45595         (do_exit): Likewise.
45596         (notify_parent): Likewise.
45597         * nscd/nscd.h (notify_parent): Likewise.
45598         (do_exit): Likewise.
45600 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
45602         * malloc/malloc.c (__libc_calloc): Revert last change.
45604 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45608 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45610         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45612         implementation.
45613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45614         (__libc_ifunc_impl_list): Likewise.
45615         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45616         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45617         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45618         * string/strrchr.c: Define STRRCHR.
45620 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
45622         * benchtest/bench-strtok.c (simple_strtok): Delete.
45623         (strtok_string): Use as benchmark.
45624         * string/strtok (STRTOK): New macro.
45626 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
45628         * manual/threads.texi: Add header and standard comments to all
45629         functions.
45631         * elf/dl-lookup.c (check_match): New function.
45632         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45633         (do_lookup_x): Remove nested function check_match. Use non-nested
45634         function check_match.
45636 2014-02-28  Roland McGrath  <roland@hack.frob.com>
45638         * csu/Makefile (generated, before-compile): Use += rather than =.
45639         * catgets/Makefile (generated, generated-dirs): Likewise.
45640         * debug/Makefile (generated): Likewise.
45641         * dlfcn/Makefile (generated): Likewise.
45642         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45643         * iconvdata/Makefile (before-compile, generated): Likewise.
45644         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45645         * libio/Makefile (generated): Likewise.
45646         * malloc/Makefile (generated): Likewise.
45647         * manual/Makefile (generated, generated-dirs): Likewise.
45648         * misc/Makefile (generated): Likewise.
45649         * posix/Makefile (generated): Likewise.
45650         * resolv/Makefile (generated): Likewise.
45651         * sunrpc/Makefile (generated, generated-dirs): Likewise.
45652         * timezone/Makefile (generated, generated-dirs): Likewise.
45654         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45656 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45658         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45659         power8 implementation.
45660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45661         file: POWER8 llround ifunc implementation.
45662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45663         (__lllround): Add POWER8 implementation.
45664         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45665         POWER8 llround implementation.
45667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45668         power8 implementation.
45669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45670         file: POWER8 llrint ifunc implementation.
45671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45672         Add POWER8 implementation.
45673         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45674         POWER8 llrint implementation.
45676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45677         power8 implementation.
45678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45679         file: POWER8 finite ifunc implementation.
45680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45681         Add POWER8 implementation.
45682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45683         Likewise.
45684         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45685         POWER8 finite implementation.
45686         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45689         power8 implementation.
45690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45691         file: POWER8 isinf ifunc implementation.
45692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45693         POWER8 implementation.
45694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45695         Likewise.
45696         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45697         isinf implementation.
45698         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45700         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45701         (INIT_ARCH): Add hwcap2 initialization.
45702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45703         power8 implementation.
45704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45705         file: POWER8 isnan ifunc implementation.
45706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45707         POWER8 implementation.
45708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45709         Likewise.
45710         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45711         isnan implementation.
45712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45714 2014-02-27  Joey Ye  <joey.ye@arm.com>
45716         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45717         (_FP_NANFRAC_Q): Set to zero.
45719 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45721         [BZ #16623]
45722         * math/auto-libm-test-in: New test inputs.
45723         * math/auto-libm-test-out: Regenerate.
45724         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45725         and DA.
45726         (__cos): Likewise.
45727         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45729 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
45731         * scripts/evaluate-test.sh: Take new argument indicating whether
45732         failure is expected.
45733         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45734         indicating whether failure is expected.
45735         * conform/Makefile (test-xfail-run-conformtest): New variable.
45736         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45737         level.
45738         * posix/Makefile (test-xfail-annexc): New variable.
45739         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45741 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
45743         * argp/Makefile: Include Makeconfig immediately after defining
45744         subdir.
45745         * assert/Makefile: Likewise.
45746         * benchtests/Makefile: Likewise.
45747         * catgets/Makefile: Likewise.
45748         * conform/Makefile: Likewise.
45749         * crypt/Makefile: Likewise.
45750         * csu/Makefile: Likewise.
45751         (all): Remove target.
45752         * ctype/Makefile: Include Makeconfig immediately after defining
45753         subdir.
45754         * debug/Makefile: Likewise.
45755         * dirent/Makefile: Likewise.
45756         * dlfcn/Makefile: Likewise.
45757         * gmon/Makefile: Likewise.
45758         * gnulib/Makefile: Likewise.
45759         * grp/Makefile: Likewise.
45760         * gshadow/Makefile: Likewise.
45761         * hesiod/Makefile: Likewise.
45762         * hurd/Makefile: Likewise.
45763         (all): Remove target.
45764         * iconvdata/Makefile: Include Makeconfig immediately after
45765         defining subdir.
45766         * inet/Makefile: Likewise.
45767         * intl/Makefile: Likewise.
45768         * io/Makefile: Likewise.
45769         * libio/Makefile: Likewise.
45770         (all): Remove target.
45771         * locale/Makefile: Include Makeconfig immediately after defining
45772         subdir.
45773         * login/Makefile: Likewise.
45774         * mach/Makefile: Likewise.
45775         (all): Remove target.
45776         * malloc/Makefile: Include Makeconfig immediately after defining
45777         subdir.
45778         (all): Remove target.
45779         * manual/Makefile: Include Makeconfig immediately after defining
45780         subdir.
45781         * math/Makefile: Likewise.
45782         * misc/Makefile: Likewise.
45783         * nis/Makefile: Likewise.
45784         * nss/Makefile: Likewise.
45785         * po/Makefile: Likewise.
45786         (all): Remove target.
45787         * posix/Makefile: Include Makeconfig immediately after defining
45788         subdir.
45789         * pwd/Makefile: Likewise.
45790         * resolv/Makefile: Likewise.
45791         * resource/Makefile: Likewise.
45792         * rt/Makefile: Likewise.
45793         * setjmp/Makefile: Likewise.
45794         * shadow/Makefile: Likewise.
45795         * signal/Makefile: Likewise.
45796         * socket/Makefile: Likewise.
45797         * soft-fp/Makefile: Likewise.
45798         * stdio-common/Makefile: Likewise.
45799         * stdlib/Makefile: Likewise.
45800         * streams/Makefile: Likewise.
45801         * string/Makefile: Likewise.
45802         * sunrpc/Makefile: Likewise.
45803         (all): Remove target.
45804         * sysvipc/Makefile: Include Makeconfig immediately after defining
45805         subdir.
45806         * termios/Makefile: Likewise.
45807         * time/Makefile: Likewise.
45808         * timezone/Makefile: Likewise.
45809         (all): Remove target.
45810         * wcsmbs/Makefile: Include Makeconfig immediately after defining
45811         subdir.
45812         * wctype/Makefile: Likewise.
45814 2014-02-26  Steve Ellcey  <sellcey@mips.com>
45816         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45817         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45818         (libc_feholdexcept_setround_mips): Ditto.
45819         (libc_feholdsetround): New.
45820         (libc_feholdsetroundf): New.
45821         (libc_feholdsetroundl): New.
45822         (libc_feupdateenv_test_mips): New.
45823         (libc_feupdateenv_test): New.
45824         (libc_feupdateenv_testf): New.
45825         (libc_feupdateenv_testl): New.
45826         (libc_feresetround): New.
45827         (libc_feresetroundf): New.
45828         (libc_feresetroundl): New.
45829         (libc_fetestexcept_mips): New.
45830         (libc_fetestexcept): New.
45831         (libc_fetestexceptf): New.
45832         (libc_fetestexceptl): New.
45833         (HAVE_RM_CTX): New.
45834         (libc_feholdexcept_setround_mips_ctx): New.
45835         (libc_feholdexcept_setround_ctx): New.
45836         (libc_feholdexcept_setroundf_ctx): New.
45837         (libc_feholdexcept_setroundl_ctx): New.
45838         (libc_fesetenv_mips_ctx): New.
45839         (libc_fesetenv_ctx): New.
45840         (libc_fesetenv_ctxf): New.
45841         (libc_fesetenv_ctxl): New.
45842         (libc_feupdateenv_mips_ctx): New.
45843         (libc_feupdateenv_ctx): New.
45844         (libc_feupdateenvf_ctx): New.
45845         (libc_feupdateenvl_ctx): New.
45846         (libc_feholdsetround_mips_ctx): New.
45847         (libc_feholdsetround_ctx): New.
45848         (libc_feholdsetroundf_ctx): New.
45849         (libc_feholdsetroundl_ctx): New.
45850         (libc_feresetround_mips_ctx): New.
45851         (libc_feresetround_ctx): New.
45852         (libc_feresetroundf_ctx): New.
45853         (libc_feresetroundl_ctx): New.
45855 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
45857         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45859         * manual/ipc.texi: New file.
45860         * manual/Makefile (chapters): Add ipc.
45861         * manual/job.texi: Add "Inter-Process Communication" to next.
45862         * manual/process.texi: Add "Inter-Process Communication" to prev.
45864 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45868 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
45870         * malloc/malloc.c (__libc_calloc): Simplify implementation.
45872         * manual/arith.texi: Fix spaces after sentences.
45873         * manual/charset.texi: Likewise.
45874         * manual/errno.texi: Likewise.
45875         * manual/install.texi: Likewise.
45876         * manual/llio.texi: Likewise.
45877         * manual/locale.texi: Likewise.
45878         * manual/maint.texi: Likewise.
45879         * manual/math.texi: Likewise.
45880         * manual/memory.texi: Likewise.
45881         * manual/message.texi: Likewise.
45882         * manual/probes.texi: Likewise.
45883         * manual/resource.texi: Likewise.
45884         * manual/signal.texi: Likewise.
45885         * manual/socket.texi: Likewise.
45886         * manual/stdio.texi: Likewise.
45887         * manual/string.texi: Likewise.
45888         * manual/time.texi: Likewise.
45889         * manual/users.texi: Likewise.
45891 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
45893         [BZ #16632]
45894         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45895         _DEFAULT_SOURCE is defined.
45897 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
45898             Carlos O'Donell  <carlos@redhat.com>
45900         [BZ #16613]
45901         * elf/dl-tls.c (_dl_count_modids): New function.
45902         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45903         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45904         audit library and increment generation counter.
45905         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45906         * elf/tst-audit9.c: New file.
45907         * elf/tst-auditmod9a.c: New file.
45908         * elf/tst-auditmod9b.c: New file.
45909         * elf/Makefile: Add rules to build and run tst-audit9.
45911 2014-02-25  Florian Weimer  <fweimer@redhat.com>
45913         [BZ #15347]
45914         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45916 2014-02-25  Will Newton  <will.newton@linaro.org>
45918         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45919         (__longjmp): Restore sp and lr before restoring callee
45920         saved registers.  Add longjmp and longjmp_target
45921         SystemTap probe point.
45922         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45923         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45924         Define to zero to match jmpbuf layout.
45925         * sysdeps/arm/setjmp.S: Include stap-probe.h.
45926         (__sigsetjmp): Save sp and lr before saving callee
45927         saved registers.  Add setjmp SystemTap probe point.
45929 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
45931         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45933 2014-02-24  Andreas Schwab  <schwab@suse.de>
45935         [BZ #15804]
45936         * elf/pldd.c (wait_for_ptrace_stop): New function.
45937         (main): Call it after attaching.
45939 2014-02-22  Roland McGrath  <roland@hack.frob.com>
45941         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45942         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45943         Versions files is now verboten.
45944         * hurd/Versions (libc: GLIBC_2.0):
45945         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45946         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45947         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45948         * mach/Versions: Likewise.
45950         * csu/Versions: Remove unused %include.
45951         * resolv/Versions: Likewise.
45953 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
45955         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45956         ($(objpfx)check-local-headers.out): Likewise.
45957         ($(objpfx)begin-end-check.out): Likewise.
45958         * Makerules (check-abi-%.out): Likewise.
45959         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45960         ($(objpfx)test2.cat): Likewise.
45961         ($(objpfx)de/libc.cat): Likewise.
45962         ($(objpfx)test-gencat.out): Likewise.
45963         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45964         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45965         ($(objpfx)noload-mem): Likewise.
45966         ($(objpfx)tst-pathopt.out): Likewise.
45967         ($(objpfx)tst-rtld-load-self.out): Likewise.
45968         ($(objpfx)tst-array1-cmp.out): Likewise.
45969         ($(objpfx)tst-array1-static-cmp.out): Likewise.
45970         ($(objpfx)tst-array2-cmp.out): Likewise.
45971         ($(objpfx)tst-array3-cmp.out): Likewise.
45972         ($(objpfx)tst-array4-cmp.out): Likewise.
45973         ($(objpfx)tst-array5-cmp.out): Likewise.
45974         ($(objpfx)tst-array5-static-cmp.out): Likewise.
45975         ($(objpfx)check-textrel.out): Likewise.
45976         ($(objpfx)check-execstack.out): Likewise.
45977         ($(objpfx)check-localplt.out): Likewise.
45978         ($(objpfx)order2-cmp.out): Likewise.
45979         ($(objpfx)tst-leaks1-mem): Likewise.
45980         ($(objpfx)tst-leaks1-static-mem): Likewise.
45981         ($(objpfx)tst-initorder-cmp.out): Likewise.
45982         ($(objpfx)tst-initorder2-cmp.out): Likewise.
45983         ($(objpfx)tst-unused-dep.out): Likewise.
45984         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45985         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45986         * iconv/Makefile (test-iconvconfig): Likewise.
45987         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45988         ($(objpfx)iconv-test.out): Likewise.
45989         ($(objpfx)tst-tables.out): Likewise.
45990         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45991         ($(objpfx)tst-gettext.out): Likewise.
45992         ($(objpfx)tst-translit.out): Likewise.
45993         ($(objpfx)tst-gettext2.out): Likewise.
45994         ($(objpfx)tst-gettext4.out): Likewise.
45995         ($(objpfx)tst-gettext6.out): Likewise.
45996         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45997         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45998         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45999         ($(objpfx)tst-fopenloc-mem.out): Likewise.
46000         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
46001         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
46002         * posix/Makefile ($(objpfx)globtest.out): Likewise.
46003         ($(objpfx)wordexp-tst.out): Likewise.
46004         ($(objpfx)annexc.out): Likewise.
46005         ($(objpfx)tst-fnmatch-mem): Likewise.
46006         ($(objpfx)bug-regex2-mem): Likewise.
46007         ($(objpfx)bug-regex14-mem): Likewise.
46008         ($(objpfx)bug-regex21-mem): Likewise.
46009         ($(objpfx)bug-regex31-mem): Likewise.
46010         ($(objpfx)tst-vfork3-mem): Likewise.
46011         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46012         ($(objpfx)tst-pcre-mem): Likewise.
46013         ($(objpfx)tst-boost-mem): Likewise.
46014         ($(objpfx)tst-getconf.out): Likewise.
46015         ($(objpfx)bug-ga2-mem): Likewise.
46016         ($(objpfx)bug-glob2-mem): Likewise.
46017         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
46018         ($(objpfx)mtrace-tst-leaks2): Likewise.
46019         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
46020         ($(objpfx)tst-printf.out): Likewise.
46021         ($(objpfx)tst-setvbuf1.out): Likewise.
46022         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
46023         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
46024         ($(objpfx)tst-fmtmsg.out): Likewise.
46025         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
46026         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
46028         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
46029         * bits/sigaction.h [__USE_MISC]: Likewise.
46030         * bits/waitstatus.h: Update #endif comments.
46031         * ctype/ctype.h: Likewise.
46032         * dirent/dirent.h: Likewise.
46033         [__USE_MISC]: Remove redundant conditionals.
46034         * grp/grp.h: Update #endif comments.
46035         [__USE_GNU]: Remove redundant conditionals.
46036         [__USE_MISC]: Likewise.
46037         * inet/netinet/in.h [__USE_GNU]: Likewise.
46038         * io/sys/stat.h [__USE_MISC]: Likewise.
46039         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
46040         * libio/bits/stdio.h: Update #endif comments.
46041         [__USE_MISC]: Remove redundant conditionals.
46042         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
46043         * libio/stdio.h: Update #endif comments.
46044         [__USE_MISC]: Remove redundant conditionals.
46045         * math/bits/math-finite.h [__USE_MISC]: Likewise.
46046         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
46047         * math/math.h: Update #else and #endif comments.
46048         [__USE_MISC]: Remove redundant conditionals.
46049         * misc/sys/uio.h: Update #endif comments.
46050         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
46051         * posix/glob.h [__USE_MISC]: Likewise.
46052         * posix/sys/types.h: Update #endif comments.
46053         [__USE_MISC]: Remove redundant conditionals.
46054         * posix/sys/wait.h: Update #endif comments.
46055         [__USE_MISC]: Remove redundant conditionals.
46056         * posix/unistd.h: Update #endif comments.
46057         [__USE_MISC]: Remove redundant conditionals.
46058         * pwd/pwd.h [__USE_GNU]: Likewise.
46059         [__USE_MISC]: Likewise.
46060         * resolv/netdb.h [__USE_GNU]: Likewise.
46061         * signal/signal.h: Update #endif comments.
46062         [__USE_MISC]: Remove redundant conditionals.
46063         * stdlib/stdlib.h: Update #else and #endif comments.
46064         [__USE_MISC]: Remove redundant conditionals.
46065         [__USE_GNU]: Likewise.
46066         * string/bits/string2.h [__USE_MISC]: Likewise.
46067         * string/string.h: Update #endif comments.
46068         [__USE_MISC]: Remove redundant conditionals.
46069         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
46070         Likewise.
46071         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
46072         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
46073         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
46074         Likewise.
46075         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
46076         Likewise.
46077         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
46078         comments.
46079         [__USE_MISC]: Remove redundant conditionals.
46080         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
46081         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
46082         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
46083         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
46084         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
46085         Likewise.
46086         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
46087         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
46088         Likewise.
46089         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
46090         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
46091         Likewise.
46092         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
46093         Likewise.
46094         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
46095         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
46096         Likewise.
46097         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
46098         Likewise.
46099         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
46100         * sysdeps/x86/bits/string.h: Update #endif comments.
46101         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
46102         conditionals.
46103         * time/sys/time.h: Update #endif comments.
46104         * time/time.h: Likewise.
46105         [__USE_MISC]: Remove redundant conditionals.
46107 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
46109         [BZ #16600]
46110         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
46112 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
46114         * Versions.def (librt): Add GLIBC_2.17.
46116 2014-02-21  Adam Conrad  <adconrad@0c3.net>
46118         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
46119         synonym for _SYS_AUXV_H to allow direct inclusion.
46120         * sysdeps/sparc/bits/hwcap.h: Likewise.
46121         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
46122         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
46123         * sysdeps/sparc/sysdep.h: Likewise.
46125 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46127         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
46129 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46131         * benchtests/bench-strrchr.c: Print length instead of position.
46133 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
46135         [BZ #16611]
46136         * sysdeps/unix/sysv/linux/kernel-features.h
46137         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
46138         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
46139         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
46140         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
46141         Likewise.
46142         [__i386__ || __powerpc__ || __sh__ || __sparc__]
46143         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46144         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
46145         (__ASSUME_SENDMMSG): Define instead of using previous
46146         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46147         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46148         (__ASSUME_SENDMMSG_SYSCALL): Define.
46149         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46150         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46151         Likewise.
46152         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46153         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46154         Likewise.
46155         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46156         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46157         Likewise.
46158         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46159         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46160         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46161         [__ASSUME_SENDMMSG]: Change conditionals to
46162         [__ASSUME_SENDMMSG_SOCKETCALL].
46163         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46164         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46165         Define.
46166         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46167         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46168         Likewise.
46169         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46170         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46171         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46172         [!__ASSUME_SENDMMSG]: Change conditional to
46173         [!__ASSUME_SENDMMSG_SOCKETCALL].
46174         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46175         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46176         Define.
46178         [BZ #16610]
46179         * sysdeps/unix/sysv/linux/kernel-features.h
46180         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46181         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46182         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46183         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46184         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46185         [__i386__ || __sparc__]
46186         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46187         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46188         (__ASSUME_RECVMMSG): Define instead of using previous
46189         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46190         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46191         (__ASSUME_RECVMMSG_SYSCALL): Define.
46192         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46193         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46194         Likewise.
46195         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46196         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46197         Likewise.
46198         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46199         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46200         Likewise.
46201         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46202         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46203         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46204         [__ASSUME_RECVMMSG]: Change condition to
46205         [__ASSUME_RECVMMSG_SOCKETCALL].
46206         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46207         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46208         Define.
46209         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46210         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46211         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46212         Likewise.
46213         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46214         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46215         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46216         [!__ASSUME_RECVMMSG]: Change condition to
46217         [!__ASSUME_RECVMMSG_SOCKETCALL].
46218         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46219         (__ASSUME_RECVMMSG_SYSCALL): Define.
46221         [BZ #16609]
46222         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46223         __powerpc__ || __s390__ || __sh__ || __sparc__]
46224         (__ASSUME_SOCKETCALL): Define.
46225         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46226         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46227         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46228         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46229         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46230         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46231         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46232         (__ASSUME_ACCEPT4): Define instead of using previous
46233         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46234         __powerpc__ || __sparc__ || __s390__)] condition.
46235         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46236         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46237         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46238         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46239         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46240         [!__ASSUME_ACCEPT4]: Change condition to
46241         [!__ASSUME_ACCEPT4_SOCKETCALL].
46242         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46243         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
46244         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46245         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46246         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46247         __ASSUME_ACCEPT4_SYSCALL.
46248         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46249         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46250         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46251         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46252         __ASSUME_ACCEPT4_SYSCALL.
46253         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46254         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46255         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46256         [__ASSUME_ACCEPT4]: Change condition to
46257         [__ASSUME_ACCEPT4_SOCKETCALL].
46258         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46259         (__ASSUME_SOCKETCALL): Define.
46260         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46262         (__ASSUME_SOCKETCALL): Define.
46263         (__ASSUME_ACCEPT4): Remove.
46264         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46265         Define.
46266         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46267         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46268         Likewise.
46269         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46270         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46272         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46273         macro.
46274         (HWCAP_ARM_LPAE): Likewise.
46275         (HWCAP_ARM_EVTSTRM): Likewise.
46276         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46277         Add vpfd32, lpae and evtstrm.
46278         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46279         Increase to 22.
46281 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
46283         * math/auto-libm-test-in: Add tests of clog10.
46284         * math/auto-libm-test-out: Regenerated.
46285         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46286         * sysdeps/i386/fpu/libm-test-ulps: Update.
46287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46289 2014-02-18  Andreas Schwab  <schwab@suse.de>
46291         [BZ #16574]
46292         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46293         Store non-zero if the second buffer was newly allocated.
46294         (send_dg): Likewise.
46295         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46296         to send_vc and send_dg.
46297         (res_nsend): Pass NULL for ansp2_malloced.
46298         * resolv/res_query.c (__libc_res_nquery): Add parameter
46299         answerp2_malloced and pass it down to __libc_res_nsend.
46300         (res_nquery): Pass additional NULL to __libc_res_nquery.
46301         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46302         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
46303         second answer buffer if answerp2_malloced was set.
46304         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46305         (__libc_res_nquerydomain): Add parameter
46306         answerp2_malloced and pass it down to __libc_res_nquery.
46307         (res_nquerydomain): Pass additional NULL to
46308         __libc_res_nquerydomain.
46309         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46310         additional NULL to __libc_res_nsend and __libc_res_nquery.
46311         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46312         additional NULL to __libc_res_nsearch.
46313         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
46314         parameter of __libc_res_nsearch to check for separately allocated
46315         second buffer.
46316         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46317         __libc_res_nquery.
46318         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46319         additional NULL to __libc_res_nquery.
46320         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46321         __libc_res_nsearch.
46322         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46323         * include/resolv.h: Update prototypes of __libc_res_nquery,
46324         __libc_res_nsearch, __libc_res_nsend.
46326 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
46328         * math/auto-libm-test-in: Add tests of fma.
46329         * math/auto-libm-test-out: Regenerated.
46330         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46331         (fma_towardzero_test_data): Likewise.
46332         (fma_downward_test_data): Likewise.
46333         (fma_upward_test_data): Likewise.
46334         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46335         mpc_mode.
46336         (rounding_modes): Add values for new field.
46337         (func_calc_method): Add value mpfr_fff_f.
46338         (func_calc_desc): Add mpfr_fff_f union field.
46339         (test_function): Add field exact_args.
46340         (FUNC): Add macro argument EXACT_ARGS.
46341         (FUNC_mpfr_f_f): Update call to FUNC.
46342         (FUNC_mpfr_f_f): Likewise.
46343         (FUNC_mpfr_ff_f): Likewise.
46344         (FUNC_mpfr_if_f): Likewise.
46345         (FUNC_mpc_c_f): Likewise.
46346         (FUNC_mpc_c_c): Likewise.
46347         (test_functions): Add fma.  Update calls to FUNC.
46348         (handle_input_arg): Add argument exact_args.
46349         (add_test): Update call to handle_input_arg.
46350         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
46351         (output_for_one_input_case): Update call to calc_generic_results.
46352         Recalculate exact zero results in each rounding mode.
46354         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46355         non-negative before setting low bit.
46356         * math/auto-libm-test-in: Mark one asin test possibly having
46357         spurious underflow.
46358         * math/auto-libm-test-out: Regenerated.
46359         * sysdeps/i386/fpu/libm-test-ulps: Update.
46360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46362 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
46364         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46365         * sysdeps/unix/sysv/linux/microblaze: Move directory from
46366         ports/sysdeps/unix/sysv/linux/microblaze.
46367         * README: Add missing listing for microblaze*-*-linux-gnu.
46369 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
46371         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46372         duplicate code
46374 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
46376         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46377         * sysdeps/unix/sysv/linux/ia64: Move directory from
46378         ports/sysdeps/unix/sysv/linux/ia64.
46379         * README: Update listing for ia64-*-linux-gnu.
46381 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
46382             Joseph Myers  <joseph@codesourcery.com>
46384         * Makeconfig (test-name): New variable.
46385         (evaluate-test): Likewise.
46386         * Makerules (do-test-clean): Remove .test-result files.
46387         (common-mostlyclean): Likewise.
46388         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46389         * scripts/evaluate-test.sh: New file.
46391 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
46393         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46394         separate $(objpfx)tst-fopenloc-cmp.out and
46395         $(objpfx)tst-fopenloc-mem.out targets.
46396         (tests): Update dependencies.
46397         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46398         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46399         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46400         (tst-rxspencer-no-utf8-ARGS): New variable.
46401         (tst-rxspencer-no-utf8-ENV): Likewise.
46402         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46403         instead of $(objpfx)tst-rxspencer-mem.
46404         ($(objpfx)tst-rxspencer-mem): Change target to
46405         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
46406         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46407         * posix/tst-rxspencer-no-utf8.c: New file.
46409         * elf/Makefile ($(objpfx)order.out): Remove rule.
46410         [$(run-built-tests) = yes] (tests): Depend on
46411         $(objpfx)order-cmp.out.
46412         ($(objpfx)order-cmp.out): New rule.
46413         [$(run-built-tests) = yes] (tests): Depend on
46414         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46415         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46416         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46417         $(objpfx)tst-array5-static-cmp.out.
46418         ($(objpfx)tst-array1.out): Remove rule.
46419         ($(objpfx)tst-array1-cmp.out): New rule.
46420         ($(objpfx)tst-array1-static.out): Remove rule.
46421         ($(objpfx)tst-array1-static-cmp.out): New rule.
46422         ($(objpfx)tst-array2.out): Remove rule.
46423         ($(objpfx)tst-array2-cmp.out): New rule.
46424         ($(objpfx)tst-array3.out): Remove rule.
46425         ($(objpfx)tst-array3-cmp.out): New rule.
46426         ($(objpfx)tst-array4.out): Remove rule.
46427         ($(objpfx)tst-array4-cmp.out): New rule.
46428         ($(objpfx)tst-array5.out): Remove rule.
46429         ($(objpfx)tst-array5-cmp.out): New rule.
46430         ($(objpfx)tst-array5-static.out): Remove rule.
46431         ($(objpfx)tst-array5-static-cmp.out): New rule.
46432         [$(run-built-tests) = yes] (tests): Depend on
46433         $(objpfx)order2-cmp.out.
46434         ($(objpfx)order2.out): Remove rule.
46435         ($(objpfx)order2-cmp.out): New rule.
46436         ($(objpfx)tst-initorder.out): Remove rule.
46437         [$(run-built-tests) = yes] (tests): Depend on
46438         $(objpfx)tst-initorder-cmp.out.
46439         ($(objpfx)tst-initorder-cmp.out): New rule.
46440         ($(objpfx)tst-initorder2.out): Remove rule.
46441         [$(run-built-tests) = yes] (tests): Depend on
46442         $(objpfx)tst-initorder2-cmp.out.
46443         ($(objpfx)tst-initorder2-cmp.out): New rule.
46444         [$(run-built-tests) = yes] (tests): Depend on
46445         $(objpfx)tst-unused-dep-cmp.out.
46446         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46447         ($(objpfx)tst-unused-dep-cmp.out): New rule.
46448         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46449         on $(objpfx)tst-setvbuf1-cmp.out.
46450         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46451         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46452         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46453         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46454         ($(objpfx)tst-svc.out): Remove rule.
46455         ($(objpfx)tst-svc-cmp.out): New rule.
46457 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
46459         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46460         * ctype/ctype.h [__USE_MISC]: Likewise.
46461         * dirent/dirent.h [__USE_MISC]: Likewise.
46462         * grp/grp.h [__USE_MISC]: Likewise.
46463         * io/fcntl.h [__USE_MISC]: Likewise.
46464         * io/sys/stat.h [__USE_MISC]: Likewise.
46465         * libio/stdio.h [__USE_MISC]: Likewise.
46466         * posix/unistd.h [__USE_MISC]: Likewise.
46467         * pwd/pwd.h [__USE_MISC]: Likewise.
46468         * stdlib.h [__USE_MISC]: Likewise.
46469         * string/bits/string2.h [__USE_MISC]: Likewise.
46470         * string/string.h [__USE_MISC]: Likewise.
46471         * time/time.h [__USE_MISC]: Likewise.
46473 2014-02-13  Andreas Schwab  <schwab@suse.de>
46475         [BZ #16574]
46476         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46477         second answer buffer if it was separately allocated.
46479 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
46481         * sysdeps/mips/math-tests.h: Include <features.h>.
46482         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46483         (ROUNDING_TESTS_long_double): Do not define.
46484         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46485         (EXCEPTION_TESTS_long_double): Likewise.
46486         * sysdeps/mips/mips64/libm-test-ulps: Update.
46488         * include/features.h (__USE_BSD): Remove macro definitions.
46489         (__USE_SVID): Likewise.
46490         (_BSD_SOURCE): Likewise.
46491         (_SVID_SOURCE): Likewise.
46492         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46493         from definition of _DEFAULT_SOURCE.
46494         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46495         [_DEFAULT_SOURCE].
46496         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46497         * bits/mman.h [__USE_BSD]: Likewise.
46498         * bits/termios.h [__USE_BSD]: Likewise.
46499         * bits/waitstatus.h [__USE_BSD]: Likewise.
46500         * ctype/ctype.h [__USE_SVID]: Likewise.
46501         * dirent/dirent.h [__USE_BSD]: Likewise.
46502         * grp/grp.h [__USE_SVID]: Likewise.
46503         [__USE_BSD]: Likewise.
46504         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46505         * io/fcntl.h [__USE_BSD]: Likewise.
46506         * io/ftw.h [__USE_BSD]: Likewise.
46507         * io/sys/stat.h [__USE_BSD]: Likewise.
46508         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46509         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46510         * libio/stdio.h [__USE_SVID]: Likewise.
46511         [__USE_BSD]: Likewise.
46512         * math/math.h [__USE_SVID]: Likewise.
46513         [__USE_BSD]: Likewise.
46514         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46515         * misc/bits/syslog.h [__USE_BSD]: Likewise.
46516         * misc/search.h [__USE_SVID]: Likewise.
46517         * misc/sys/mman.h [__USE_BSD]: Likewise.
46518         * misc/sys/syslog.h [__USE_BSD]: Likewise.
46519         * misc/sys/uio.h [__USE_BSD]: Likewise.
46520         * posix/bits/unistd.h [__USE_BSD]: Likewise.
46521         * posix/glob.h [__USE_BSD]: Likewise.
46522         * posix/regex.h [__USE_BSD]: Likewise.
46523         * posix/sys/types.h [__USE_BSD]: Likewise.
46524         [__USE_SVID]: Likewise.
46525         * posix/sys/utsname.h [__USE_SVID]: Likewise.
46526         * posix/sys/wait.h [__USE_BSD]: Likewise.
46527         [__USE_SVID]: Likewise.
46528         * posix/unistd.h [__USE_BSD]: Likewise.
46529         [__USE_SVID]: Likewise.
46530         * pwd/pwd.h [__USE_SVID]: Likewise.
46531         * resolv/netdb.h [__USE_BSD]: Likewise.
46532         * setjmp/setjmp.h [__USE_BSD]: Likewise.
46533         * signal/signal.h [__USE_BSD]: Likewise.
46534         [__USE_SVID]: Likewise.
46535         * socket/sys/socket.h [__USE_BSD]: Likewise.
46536         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46537         * stdlib/stdlib.h [__USE_BSD]: Likewise.
46538         [__USE_SVID]: Likewise.
46539         * string/bits/string2.h [__USE_BSD]: Likewise.
46540         [__USE_SVID]: Likewise.
46541         * string/bits/string3.h [__USE_BSD]: Likewise.
46542         * string/endian.h [__USE_BSD]: Likewise.
46543         * string/string.h [__USE_SVID]: Likewise.
46544         [__USE_BSD]: Likewise.
46545         * string/strings.h [__USE_BSD]: Likewise.
46546         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46547         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46548         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46549         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46550         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46551         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46552         Likewise.
46553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46554         Likewise.
46555         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46556         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46557         Likewise.
46558         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46559         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46560         Likewise.
46561         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46562         Likewise.
46563         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46564         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46565         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46566         Likewise.
46567         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46568         Likewise.
46569         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46570         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46571         * termios/termios.h [__USE_BSD]: Likewise.
46572         * time/sys/time.h [__USE_BSD]: Likewise.
46573         * time/time.h [__USE_BSD]: Likewise.
46574         [__USE_SVID]: Likewise.
46576         * Makefile (subdir_targets): Remove subdir_lint.out.
46578         * stdio-common/Makefile (do-tst-unbputc): Remove target.
46579         (do-tst-printf): Likewise.
46580         (tests): Depend directly on $(objpfx)tst-unbputc.out and
46581         $(objpfx)tst-printf.out.
46583         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46585         * Makerules (check-abi-%): Change target to
46586         $(objpfx)check-abi-%.out.
46587         (check-abi target): Update dependencies.
46588         (check-abi-pattern variable): Redirect output of diff to $@.
46589         (check-abi variable): Likewise.
46590         * elf/Makefile (check-abi): Update dependencies.
46592         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46593         unused.
46594         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46595         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46596         subnormal range.
46597         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46598         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46599         value has largest subnormal exponent.
46600         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46601         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46602         * sysdeps/aarch64/soft-fp/sfp-machine.h
46603         (_FP_TININESS_AFTER_ROUNDING): New macro.
46604         * sysdeps/alpha/soft-fp/sfp-machine.h
46605         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46606         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46607         Likewise.
46608         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46609         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46610         * sysdeps/mips/soft-fp/sfp-machine.h
46611         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46612         * sysdeps/powerpc/soft-fp/sfp-machine.h
46613         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46614         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46615         Likewise.
46616         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46617         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46618         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46619         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46620         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46621         Likewise.
46623 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
46625         [BZ #16545]
46626         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46627         model 1.
46629 2014-02-12  Richard Henderson  <rth@redhat.com>
46631         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46632         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46633         * sysdeps/unix/sysv/linux/alpha: Move directory from
46634         ports/sysdeps/unix/sysv/linux/alpha.
46635         * README: Update listing for alpha-*-linux-gnu.
46637 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
46639         * include/features.h: Update comment documenting feature test
46640         macros.
46641         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
46642         _DEFAULT_SOURCE.
46643         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46644         (_SVID_SOURCE): Likewise.
46645         (_DEFAULT_SOURCE): Update description of default features.
46646         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46647         with _GNU_SOURCE.
46648         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46649         (S_ISVTX): Likewise.
46650         * manual/math.texi (Mathematical Constants): Likewise.
46651         * manual/signal.texi (Interrupted Primitives): Likewise.
46652         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46653         * math/test-matherr.c (_SVID_SOURCE): Do not define.
46654         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46655         Don't refer to _SVID_SOURCE in warning text.
46657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46659         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46660         already defined.
46661         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46662         * sysdeps/mips/dl-lookup.c: Remove.
46663         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46665 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46667         [BZ #16447]
46668         * math/auto-libm-test-in: Add testcase for expl.
46669         * math/auto-libm-test-out: Regenerate.
46670         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46671         calculation of unsafe.
46672         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46674 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46676         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46677         * sysdeps/unix/sysv/linux/aarch64: Move directory from
46678         ports/sysdeps/unix/sysv/linux/aarch64.
46679         * README: Update listing for aarch64*-*-linux-gnu.
46681 2014-02-11  Will Newton  <will.newton@linaro.org>
46683         * manual/probes.texi (Mathematical Function Probes): Use
46684         "triggered" instead of "hit".
46686         * manual/probes.texi (Internal Probes): Add documentation
46687         of setjmp, longjmp and longjmp_target probes.
46689         * include/stap-probe.h: Add comment about probe argument
46690         format.
46692         * malloc/mtrace.c (attribute_hidden): Remove unused macro
46693         definition.  (tr_where, tr_freehook, tr_mallochook,
46694         tr_reallochook, tr_memalignhook): Use ANSI protoype.
46696 2014-02-11  David S. Miller  <davem@davemloft.net>
46698         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46699         processing int_tests.
46701 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
46703         * sysdeps/mips: Move directory from ports/sysdeps/mips.
46704         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46705         * sysdeps/unix/sysv/linux/mips: Move directory from
46706         ports/sysdeps/unix/sysv/linux/mips.
46707         * README: Update listing for mips-*-linux-gnu and
46708         mips64-*-linux-gnu.
46710 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
46712         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46713         * sysdeps/unix/sysv/linux/m68k: Move directory from
46714         ports/sysdeps/unix/sysv/linux/m68k.
46715         * README: Update listing for m68k-*-linux-gnu.
46717 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
46719         * sysdeps/tile: Move directory from ports/sysdeps/tile.
46720         * sysdeps/unix/sysv/linux/generic: Move directory from
46721         ports/sysdeps/unix/sysv/linux/generic.
46722         * sysdeps/unix/sysv/linux/tile: Move directory from
46723         ports/sysdeps/unix/sysv/linux/tile.
46724         * README: Update listing for tile*-*-linux-gnu.
46726 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
46728         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46729         __builtin_expect.
46730         * benchtests/bench-memmem.c (simple_memmem): Likewise.
46731         * catgets/open_catalog.c (__open_catalog): Likewise.
46732         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46733         * debug/confstr_chk.c: Likewise.
46734         * debug/fread_chk.c (__fread_chk): Likewise.
46735         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46736         * debug/getgroups_chk.c: Likewise.
46737         * debug/mbsnrtowcs_chk.c: Likewise.
46738         * debug/mbsrtowcs_chk.c: Likewise.
46739         * debug/mbstowcs_chk.c: Likewise.
46740         * debug/memcpy_chk.c: Likewise.
46741         * debug/memmove_chk.c: Likewise.
46742         * debug/mempcpy_chk.c: Likewise.
46743         * debug/memset_chk.c: Likewise.
46744         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46745         * debug/strcat_chk.c (__strcat_chk): Likewise.
46746         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46747         * debug/strncat_chk.c (__strncat_chk): Likewise.
46748         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46749         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46750         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46751         * debug/wcpncpy_chk.c: Likewise.
46752         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46753         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46754         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46755         * debug/wcsncpy_chk.c: Likewise.
46756         * debug/wcsnrtombs_chk.c: Likewise.
46757         * debug/wcsrtombs_chk.c: Likewise.
46758         * debug/wcstombs_chk.c: Likewise.
46759         * debug/wmemcpy_chk.c: Likewise.
46760         * debug/wmemmove_chk.c: Likewise.
46761         * debug/wmempcpy_chk.c: Likewise.
46762         * debug/wmemset_chk.c: Likewise.
46763         * dirent/scandirat.c (SCANDIRAT): Likewise.
46764         * dlfcn/dladdr1.c (dladdr1): Likewise.
46765         * dlfcn/dladdr.c (dladdr): Likewise.
46766         * dlfcn/dlclose.c (dlclose_doit): Likewise.
46767         * dlfcn/dlerror.c (__dlerror): Likewise.
46768         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46769         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46770         * dlfcn/dlopen.c (dlopen_doit): Likewise.
46771         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46772         * dlfcn/dlsym.c (dlsym_doit): Likewise.
46773         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46774         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46775         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46776         Likewise.
46777         * elf/dl-conflict.c: Likewise.
46778         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46779         * elf/dl-dst.h: Likewise.
46780         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46781         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46782         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46783         * elf/dl-init.c (call_init, _dl_init): Likewise.
46784         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46785         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46786         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46787         Likewise.
46788         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46789         Likewise.
46790         * elf/dl-minimal.c (__libc_memalign): Likewise.
46791         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46792         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46793         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46794         * elf/dl-sym.c (do_sym): Likewise.
46795         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46796         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46797         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46798         * elf/dl-writev.h (_dl_writev): Likewise.
46799         * elf/ldconfig.c (search_dir): Likewise.
46800         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46801         (dl_main): Likewise.
46802         * elf/setup-vdso.h (setup_vdso): Likewise.
46803         * grp/compat-initgroups.c (compat_call): Likewise.
46804         * grp/fgetgrent.c (fgetgrent): Likewise.
46805         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46806         * grp/putgrent.c (putgrent): Likewise.
46807         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46808         Likewise.
46809         * hurd/hurdinit.c: Likewise.
46810         * iconvdata/8bit-gap.c (struct): Likewise.
46811         * iconvdata/ansi_x3.110.c : Likewise.
46812         * iconvdata/big5.c : Likewise.
46813         * iconvdata/big5hkscs.c : Likewise.
46814         * iconvdata/cp1255.c: Likewise.
46815         * iconvdata/cp1258.c : Likewise.
46816         * iconvdata/cp932.c : Likewise.
46817         * iconvdata/euc-cn.c: Likewise.
46818         * iconvdata/euc-jisx0213.c : Likewise.
46819         * iconvdata/euc-jp.c: Likewise.
46820         * iconvdata/euc-jp-ms.c : Likewise.
46821         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46822         * iconvdata/gb18030.c : Likewise.
46823         * iconvdata/gbbig5.c (const): Likewise.
46824         * iconvdata/gbgbk.c: Likewise.
46825         * iconvdata/gbk.c : Likewise.
46826         * iconvdata/ibm1364.c : Likewise.
46827         * iconvdata/ibm930.c : Likewise.
46828         * iconvdata/ibm932.c: Likewise.
46829         * iconvdata/ibm933.c : Likewise.
46830         * iconvdata/ibm935.c : Likewise.
46831         * iconvdata/ibm937.c : Likewise.
46832         * iconvdata/ibm939.c : Likewise.
46833         * iconvdata/ibm943.c: Likewise.
46834         * iconvdata/iso_11548-1.c: Likewise.
46835         * iconvdata/iso-2022-cn.c : Likewise.
46836         * iconvdata/iso-2022-cn-ext.c : Likewise.
46837         * iconvdata/iso-2022-jp-3.c: Likewise.
46838         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46839         * iconvdata/iso-2022-kr.c : Likewise.
46840         * iconvdata/iso646.c (gconv_end): Likewise.
46841         * iconvdata/iso_6937-2.c : Likewise.
46842         * iconvdata/iso_6937.c : Likewise.
46843         * iconvdata/iso8859-1.c: Likewise.
46844         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46845         * iconvdata/shift_jisx0213.c : Likewise.
46846         * iconvdata/sjis.c : Likewise.
46847         * iconvdata/t.61.c : Likewise.
46848         * iconvdata/tcvn5712-1.c : Likewise.
46849         * iconvdata/tscii.c: Likewise.
46850         * iconvdata/uhc.c : Likewise.
46851         * iconvdata/unicode.c (gconv_end): Likewise.
46852         * iconvdata/utf-16.c (gconv_end): Likewise.
46853         * iconvdata/utf-32.c (gconv_end): Likewise.
46854         * iconvdata/utf-7.c (base64): Likewise.
46855         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46856         * iconv/gconv_close.c (__gconv_close): Likewise.
46857         * iconv/gconv_open.c (__gconv_open): Likewise.
46858         * iconv/gconv_simple.c (internal_ucs4_loop_single)
46859         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46860         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46861         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46862         (ucs4le_internal_loop_single): Likewise.
46863         * iconv/iconv.c (iconv): Likewise.
46864         * iconv/iconv_close.c: Likewise.
46865         * iconv/loop.c (SINGLE): Likewise.
46866         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46867         * include/atomic.h: Likewise.
46868         * inet/inet6_option.c (option_alloc): Likewise.
46869         * intl/bindtextdom.c (set_binding_values): Likewise.
46870         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46871         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46872         * intl/localealias.c (read_alias_file): Likewise.
46873         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46874         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46875         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46876         * libio/fmemopen.c (fmemopen): Likewise.
46877         * libio/iofgets.c (_IO_fgets): Likewise.
46878         * libio/iofgets_u.c (fgets_unlocked): Likewise.
46879         * libio/iofgetws.c (fgetws): Likewise.
46880         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46881         * libio/iogetdelim.c (_IO_getdelim): Likewise.
46882         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46883         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46884         * locale/findlocale.c (_nl_find_locale): Likewise.
46885         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46886         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46887         Likewise.
46888         * locale/setlocale.c (setlocale): Likewise.
46889         * login/programs/pt_chown.c (main): Likewise.
46890         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46891         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46892         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46893         (mmap, mmap64, mremap, munmap): Likewise.
46894         * math/e_exp2l.c: Likewise.
46895         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46896         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46897         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46898         * math/s_catan.c (__catan): Likewise.
46899         * math/s_catanf.c (__catanf): Likewise.
46900         * math/s_catanh.c (__catanh): Likewise.
46901         * math/s_catanhf.c (__catanhf): Likewise.
46902         * math/s_catanhl.c (__catanhl): Likewise.
46903         * math/s_catanl.c (__catanl): Likewise.
46904         * math/s_ccosh.c (__ccosh): Likewise.
46905         * math/s_ccoshf.c (__ccoshf): Likewise.
46906         * math/s_ccoshl.c (__ccoshl): Likewise.
46907         * math/s_cexp.c (__cexp): Likewise.
46908         * math/s_cexpf.c (__cexpf): Likewise.
46909         * math/s_cexpl.c (__cexpl): Likewise.
46910         * math/s_clog10.c (__clog10): Likewise.
46911         * math/s_clog10f.c (__clog10f): Likewise.
46912         * math/s_clog10l.c (__clog10l): Likewise.
46913         * math/s_clog.c (__clog): Likewise.
46914         * math/s_clogf.c (__clogf): Likewise.
46915         * math/s_clogl.c (__clogl): Likewise.
46916         * math/s_csin.c (__csin): Likewise.
46917         * math/s_csinf.c (__csinf): Likewise.
46918         * math/s_csinh.c (__csinh): Likewise.
46919         * math/s_csinhf.c (__csinhf): Likewise.
46920         * math/s_csinhl.c (__csinhl): Likewise.
46921         * math/s_csinl.c (__csinl): Likewise.
46922         * math/s_csqrt.c (__csqrt): Likewise.
46923         * math/s_csqrtf.c (__csqrtf): Likewise.
46924         * math/s_csqrtl.c (__csqrtl): Likewise.
46925         * math/s_ctan.c (__ctan): Likewise.
46926         * math/s_ctanf.c (__ctanf): Likewise.
46927         * math/s_ctanh.c (__ctanh): Likewise.
46928         * math/s_ctanhf.c (__ctanhf): Likewise.
46929         * math/s_ctanhl.c (__ctanhl): Likewise.
46930         * math/s_ctanl.c (__ctanl): Likewise.
46931         * math/w_pow.c: Likewise.
46932         * math/w_powf.c: Likewise.
46933         * math/w_powl.c: Likewise.
46934         * math/w_scalb.c (sysv_scalb): Likewise.
46935         * math/w_scalbf.c (sysv_scalbf): Likewise.
46936         * math/w_scalbl.c (sysv_scalbl): Likewise.
46937         * misc/error.c (error_tail): Likewise.
46938         * misc/pselect.c (__pselect): Likewise.
46939         * nis/nis_callback.c (__nis_create_callback): Likewise.
46940         * nis/nis_call.c (__nisfind_server): Likewise.
46941         * nis/nis_creategroup.c (nis_creategroup): Likewise.
46942         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46943         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46944         * nis/nis_getservlist.c (nis_getservlist): Likewise.
46945         * nis/nis_lookup.c (nis_lookup): Likewise.
46946         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46947         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46948         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46949         * nis/nis_xdr.c (xdr_endpoint): Likewise.
46950         * nis/nss_compat/compat-grp.c (getgrent_next_file)
46951         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46952         * nis/nss_compat/compat-initgroups.c (add_group)
46953         (internal_getgrent_r): Likewise.
46954         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46955         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46956         * nis/nss_compat/compat-spwd.c (getspent_next_file)
46957         (internal_getspnam_r): Likewise.
46958         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46959         (_nss_nis_getaliasbyname_r): Likewise.
46960         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46961         (_nss_nis_getntohost_r): Likewise.
46962         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46963         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46964         (_nss_nis_getgrgid_r): Likewise.
46965         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46966         (internal_nis_gethostent_r, internal_gethostbyname2_r)
46967         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46968         (_nss_nis_gethostbyname4_r): Likewise.
46969         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46970         (initgroups_netid): Likewise.
46971         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46972         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46973         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46974         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46975         (_nss_nis_getprotobynumber_r): Likewise.
46976         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46977         (_nss_nis_getsecretkey): Likewise.
46978         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46979         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46980         (_nss_nis_getpwuid_r): Likewise.
46981         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46982         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46983         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46984         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46985         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46986         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46987         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46988         Likewise.
46989         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46990         (_nss_nisplus_getntohost_r): Likewise.
46991         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46992         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46993         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46994         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46995         Likewise.
46996         * nis/nss_nisplus/nisplus-initgroups.c
46997         (_nss_nisplus_initgroups_dyn): Likewise.
46998         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46999         (_nss_nisplus_getnetbyaddr_r): Likewise.
47000         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
47001         (_nss_nisplus_getprotobynumber_r): Likewise.
47002         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
47003         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
47004         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
47005         Likewise.
47006         * nis/nss_nisplus/nisplus-service.c
47007         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
47008         (_nss_nisplus_getservbyport_r): Likewise.
47009         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
47010         (_nss_nisplus_getspnam_r): Likewise.
47011         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
47012         Likewise.
47013         * nscd/aicache.c (addhstaiX): Likewise.
47014         * nscd/cache.c (cache_search, prune_cache): Likewise.
47015         * nscd/connections.c (register_traced_file, send_ro_fd)
47016         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
47017         (main_loop_epoll): Likewise.
47018         * nscd/grpcache.c (addgrbyX): Likewise.
47019         * nscd/hstcache.c (addhstbyX): Likewise.
47020         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47021         * nscd/mem.c (gc, mempool_alloc): Likewise.
47022         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
47023         (addinnetgrX): Likewise.
47024         * nscd/nscd-client.h (__nscd_acquire_maplock)
47025         (__nscd_drop_map_ref): Likewise.
47026         * nscd/nscd_getai.c (__nscd_getai): Likewise.
47027         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
47028         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
47029         Likewise.
47030         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
47031         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47032         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
47033         (__nscd_get_map_ref): Likewise.
47034         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
47035         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
47036         Likewise.
47037         * nscd/pwdcache.c (addpwbyX): Likewise.
47038         * nscd/selinux.c (preserve_capabilities): Likewise.
47039         * nscd/servicescache.c (addservbyX): Likewise.
47040         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
47041         * posix/fnmatch.c (fnmatch): Likewise.
47042         * posix/getopt.c (_getopt_internal_r): Likewise.
47043         * posix/glob.c (glob, glob_in_dir): Likewise.
47044         * posix/wordexp.c (exec_comm_child): Likewise.
47045         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
47046         (getanswer_r, gaih_getanswer_slice): Likewise.
47047         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
47048         * resolv/res_init.c: Likewise.
47049         * resolv/res_mkquery.c (res_nmkquery): Likewise.
47050         * resolv/res_query.c (__libc_res_nquery): Likewise.
47051         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
47052         Likewise.
47053         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
47054         * stdio-common/perror.c (perror): Likewise.
47055         * stdio-common/printf_fp.c (___printf_fp): Likewise.
47056         * stdio-common/tmpnam.c (tmpnam): Likewise.
47057         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47058         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
47059         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
47060         Likewise.
47061         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
47062         * stdlib/putenv.c (putenv): Likewise.
47063         * stdlib/setenv.c (__add_to_environ): Likewise.
47064         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47065         * stdlib/strtol_l.c (INTERNAL): Likewise.
47066         * string/memmem.c (memmem): Likewise.
47067         * string/strerror.c (strerror): Likewise.
47068         * string/strnlen.c (__strnlen): Likewise.
47069         * string/test-memmem.c (simple_memmem): Likewise.
47070         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
47071         * sunrpc/pm_getport.c (__get_socket): Likewise.
47072         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
47073         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
47074         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
47075         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
47076         Likewise.
47077         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
47078         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
47079         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
47080         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
47081         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
47082         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
47083         Likewise.
47084         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
47085         Likewise.
47086         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
47087         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
47088         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47089         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
47090         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
47091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
47092         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47093         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
47094         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
47095         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
47096         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47097         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
47098         Likewise.
47099         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
47100         Likewise.
47101         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
47102         Likewise.
47103         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
47104         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47105         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
47106         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
47107         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
47108         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
47109         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47110         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
47111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
47112         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
47113         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
47114         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47115         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47116         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
47117         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47118         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
47119         Likewise.
47120         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
47121         Likewise.
47122         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
47123         Likewise.
47124         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
47125         Likewise.
47126         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47127         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47128         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
47129         Likewise.
47130         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
47131         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
47132         * sysdeps/posix/opendir.c (__opendirat): Likewise.
47133         * sysdeps/posix/sleep.c: Likewise.
47134         * sysdeps/posix/tempname.c: Likewise.
47135         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
47136         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47137         Likewise.
47138         * sysdeps/powerpc/powerpc32/dl-machine.h
47139         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
47140         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47141         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47142         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
47143         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
47144         Likewise.
47145         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47146         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47147         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47148         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47149         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47150         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47151         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47152         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47153         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47154         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47155         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47156         (elf_machine_lazy_rel): Likewise.
47157         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47158         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47159         (elf_machine_lazy_rel): Likewise.
47160         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47161         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47162         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47163         * sysdeps/unix/grantpt.c (grantpt): Likewise.
47164         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47165         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47166         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47168         Likewise.
47169         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47170         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47171         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47172         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47173         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47174         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47175         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47176         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47177         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47178         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47179         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47180         Likewise.
47181         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47182         (__posix_fallocate64_l64): Likewise.
47183         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47184         (posix_fallocate): Likewise.
47185         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47186         Likewise.
47187         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47188         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47189         (getifaddrs_internal): Likewise.
47190         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47191         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47192         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47193         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47194         * sysdeps/unix/sysv/linux/posix_fallocate64.c
47195         (__posix_fallocate64_l64): Likewise.
47196         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47197         Likewise.
47198         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47199         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47200         (__get_clockfreq): Likewise.
47201         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47202         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47203         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47205         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47206         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47207         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47208         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47209         Likewise.
47210         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47211         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47212         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47213         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47214         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47215         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47216         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47217         Likewise.
47218         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47219         (posix_fallocate): Likewise.
47220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47221         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47222         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47223         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47224         (elf_machine_rela, elf_machine_rela_relative)
47225         (elf_machine_lazy_rel): Likewise.
47226         * time/asctime.c (asctime_internal): Likewise.
47227         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47228         * time/tzset.c (__tzset_parse_tz): Likewise.
47229         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47230         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47231         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47232         * wcsmbs/wcsmbsload.h: Likewise.
47234         [BZ #15894]
47235         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47237         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47238         (arena_get2): Remove THREAD_STATS conditionals.
47239         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47240         (__malloc_stats, int): Likewise.
47242 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
47244         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47245         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
47247         * manual/setjmp.texi: Fix typos/grammar errors.
47249         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47250         Only return early when n is <= 0.  Delete unused return statement.
47252         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47253         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47254         * debug/tst-longjmp_chk3.c: New file.
47256         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47257         (test_main): Replace code with set_fortify_handler call.
47258         * debug/test-strcpy_chk.c: Likewise.
47259         * debug/tst-chk1.c: Likewise.
47260         * debug/tst-longjmp_chk.c: Likewise.
47261         * test-skeleton.c: Include fcntl.h & paths.h
47262         (set_fortify_handler): Define.
47264         * debug/tst-longjmp_chk.c: Add header comment and include
47265         ../test-skeleton.c.
47266         (do_test): Mark static.
47267         (TEST_FUNCTION): Define.
47269         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47270         (IP_PMTUDISC_INTERFACE): Likewise.
47271         (IP_MULTICAST_IF): Likewise.
47272         (IP_MULTICAST_TTL): Likewise.
47273         (IP_MULTICAST_LOOP): Likewise.
47274         (IP_ADD_MEMBERSHIP): Likewise.
47275         (IP_DROP_MEMBERSHIP): Likewise.
47276         (IP_UNBLOCK_SOURCE): Likewise.
47277         (IP_BLOCK_SOURCE): Likewise.
47278         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47279         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47280         (IP_MSFILTER): Likewise.
47281         (MCAST_JOIN_GROUP): Likewise.
47282         (MCAST_BLOCK_SOURCE): Likewise.
47283         (MCAST_UNBLOCK_SOURCE): Likewise.
47284         (MCAST_LEAVE_GROUP): Likewise.
47285         (MCAST_JOIN_SOURCE_GROUP): Likewise.
47286         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47287         (MCAST_MSFILTER): Likewise.
47288         (IP_MULTICAST_ALL): Likewise.
47289         (IP_UNICAST_IF): Likewise.
47291         * timezone/Makefile: Delete $(have-ksh) check.
47292         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47293         * timezone/tzselect.ksh: Add +x mode bits.
47295         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47296         (ANON_INODE_FS_MAGIC): Likewise.
47297         (BDEVFS_MAGIC): Likewise.
47298         (BINFMTFS_MAGIC): Likewise.
47299         (BTRFS_TEST_MAGIC): Likewise.
47300         (CRAMFS_MAGIC_WEND): Likewise.
47301         (DEBUGFS_MAGIC): Likewise.
47302         (ECRYPTFS_SUPER_MAGIC): Likewise.
47303         (EXT3_SUPER_MAGIC): Likewise.
47304         (EXT4_SUPER_MAGIC): Likewise.
47305         (FUTEXFS_SUPER_MAGIC): Likewise.
47306         (HOSTFS_SUPER_MAGIC): Likewise.
47307         (HUGETLBFS_MAGIC): Likewise.
47308         (MINIX3_SUPER_MAGIC): Likewise.
47309         (MTD_INODE_FS_MAGIC): Likewise.
47310         (NILFS_SUPER_MAGIC): Likewise.
47311         (OPENPROM_SUPER_MAGIC): Likewise.
47312         (PIPEFS_MAGIC): Likewise.
47313         (PSTOREFS_MAGIC): Likewise.
47314         (QNX6_SUPER_MAGIC): Likewise.
47315         (RAMFS_MAGIC): Likewise.
47316         (REISERFS_SUPER_MAGIC_STRING): Likewise.
47317         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47318         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47319         (SECURITYFS_MAGIC): Likewise.
47320         (SELINUX_MAGIC): Likewise.
47321         (SMACK_MAGIC): Likewise.
47322         (SOCKFS_MAGIC): Likewise.
47323         (SQUASHFS_MAGIC): Likewise.
47324         (STACK_END_MAGIC): Likewise.
47325         (TMPFS_MAGIC): Likewise.
47326         (USBDEVICE_SUPER_MAGIC): Likewise.
47327         (V9FS_MAGIC): Likewise.
47328         (XENFS_SUPER_MAGIC): Likewise.
47329         (CRAMFS_MAGIC): Fix typo in comment.
47330         (EXT2_SUPER_MAGIC): Update comment.
47331         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47333 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
47335         * sysdeps/arm: Move directory from ports/sysdeps/arm.
47336         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47337         * sysdeps/unix/sysv/linux/arm: Move directory from
47338         ports/sysdeps/unix/sysv/linux/arm.
47339         * README: Update listing for arm-*-linux-gnueabi.
47341         * README: Remove mention of am33.
47343 2014-02-07  Roland McGrath  <roland@hack.frob.com>
47345         * bits/sigset.h (__sigemptyset): Use a statement expression rather
47346         than the comma operator, to avoid "rhs of comma has no effect"
47347         compiler warnings.
47348         (__sigfillset, __sigandset, __sigorset): Likewise.
47349         * include/signal.h (__sigemptyset): Likewise.
47350         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47352 2014-02-07  Allan McRae  <allan@archlinux.org>
47354         * version.h (RELEASE): Set to "development".
47355         (VERSION): Set to "2.19.90"
47356         * NEWS: Add 2.20 section.
47358 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
47360         [BZ #16529]
47361         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47363 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47365         * manual/contrib.texi: Update entry for Carlos O'Donell,
47366         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47368 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
47370         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47372         * sysdeps/unix/sysv/linux/kernel-features.h
47373         [__LINUX_KERNEL_VERSION >= 0x020621]
47374         (__ASSUME_PROC_PID_TASK_COMM): Define.
47376 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47378         [BZ #16398]
47379         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47380         conversion when destination buffer does not have enough space.
47381         * libio/tst-ftell-partial-wide.c: New test case.
47382         * libio/Makefile (tests): Add tst-ftell-partial-wide.
47384         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47385         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
47386         Leonard and Allan McRae.
47388 2014-02-04  David S. Miller  <davem@davemloft.net>
47390         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47391         32-bit.
47393 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47396         New file
47397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47398         New file
47399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47400         New file.
47401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47402         New file.
47403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47404         New file.
47405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47406         New file.
47407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47408         New file.
47409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47410         New file.
47411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47412         New file.
47413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47414         New file.
47415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47416         New file.
47417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47418         New file.
47419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47420         New file.
47422 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47424         * nptl/shlib-versions: Change powerpc*le start to 2.17.
47425         * shlib-versions: Likewise.
47427 2014-02-04  Roland McGrath  <roland@hack.frob.com>
47428             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47430         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47431         (abilist-pattern): New variable, set to %-le.abilist.
47433         * Makerules (abilist-pattern): New variable.
47434         (vpath): Use $(abilist-pattern) in place of %.abilist.
47435         (check-abi-% pattern rule): Likewise.
47436         (check-abi, update-abi): Likewise.
47438 2014-02-04  Eric Wong  <normalperson@yhbt.net>
47440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47442 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
47444         * manual/startup.texi: Add next, previous, and top entries for
47445         the `Program Arguments' and `Environment Variables' nodes.
47447 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
47449         * manual/macros.texi: Add comments before MTASC-safety macros.
47451         * manual/users.texi: Document MTASC-safety properties.
47453         * manual/threads.texi (pthread_key_create, pthread_key_delete)
47454         (pthread_getspecific, pthread_setspecific): Format with
47455         @deftypefun, and add @safety note.
47456         * manual/signal.texi: Move comments that analyze the above
47457         functions to their home place.
47459 2014-02-03  Allan McRae  <allan@archlinux.org>
47461         * po/sl.po: Update Slovenian translation from translation project.
47463 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
47465         * manual/time.texi (timegm): Add missing blank after @c.
47466         Reported by Joseph Myers <joseph@codesourcery.com>.
47468 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
47470         * manual/check-safety.sh: New.
47471         * manual/Makefile ($(objpfx)stamp-summary): Run it.
47473         * manual/terminal.texi: Document MTASC-safety properties.
47475         * manual/filesys.texi: Document MTASC-safety properties.
47477         * manual/errno.texi: Document MTASC-safety properties.
47479         * manual/intro.texi: Document safety identifiers and
47480         conditionals.
47482         * manual/string.texi (wcstok): Fix prototype.
47483         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47485         * manual/time.texi: Document MTASC-safety properties.
47487         * manual/string.texi: Document MTASC-safety properties.
47489         * manual/threads.texi: Document MTASC-safety properties.
47491         * manual/stdio.texi: Document MTASC-safety properties.
47493         * manual/syslog.texi: Document MTASC-safety properties.
47495         * manual/sysinfo.texi: Document MTASC-safety properties.
47497         * manual/startup.texi: Document MTASC-safety properties.
47499         * manual/socket.texi: Document MTASC-safety properties.
47501         * manual/signal.texi: Document MTASC-safety properties.
47503 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
47505         * manual/setjmp.texi: Document MTASC-safety properties.
47507         * manual/search.texi: Document MTASC-safety properties.
47509         * manual/resource.texi: Document MTASC-safety properties.
47511         * manual/process.texi: Document MTASC-safety properties.
47513         * manual/platform.texi: Document MTASC-safety properties.
47515         * manual/pipe.texi: Document MTASC-safety properties.
47517         * manual/pattern.texi: Document MTASC-safety properties.
47519         * manual/message.texi: Document MTASC-safety properties.
47521         [BZ #12751]
47522         * manual/memory.texi: Document MTASC-safety properties.
47524         * manual/math.texi: Document MTASC-safety properties.
47526         * manual/locale.texi: Document MTASC-safety properties.
47528         * manual/llio.texi: Document MTASC-safety properties.
47530         * manual/libdl.texi: New.
47532         * manual/lang.texi: Document MTASC-safety properties.
47534         * manual/job.texi: Document MTASC-safety properties.
47536         * manual/getopt.texi: Document MTASC-safety properties.
47538         * manual/ctype.texi: Document MTASC-safety properties.
47540 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
47542         [BZ #16046]
47543         * csu/libc-tls.c (static_map): Remove variable.
47544         (__libc_setup_tls): Use main executable's link map for TLS data.
47545         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47546         casing for LM_ID_BASE and GL(dl_nns).
47547         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47548         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
47549         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47550         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47551         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47552         member.
47553         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47554         l_phnum members.
47556 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
47558         * manual/debug.texi: Document MTASC-safety properties.
47560 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
47562         [BZ #16510]
47563         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47564         of __x86_64__ when disabling x87 inline functions.
47566 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
47568         * manual/charset.texi: Document MTASC-safety properties.
47570         * manual/crypt.texi: Document MTASC-safety properties.
47572         * manual/conf.texi: Document MTASC-safety properties.
47574         * manual/arith.texi: Document MTASC-safety properties.
47576         * manual/argp.texi: Document MTASC-safety properties.
47578         * manual/macros.texi: Introduce macros to document multi
47579         thread, asynchronous signal and asynchronous cancellation
47580         safety properties.
47581         * manual/intro.texi: Introduce the properties themselves.
47583 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47585         * sysdeps/sh/sh4/Makefile: New file.
47587 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
47589         * math/gen-libm-test.pl ($srcdir): New variable.
47590         ($auto_input): Use it.
47592 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47594         [BZ #16506]
47595         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47596         access beyond array bounds when parsing netgroups file.
47598         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47599         the old buffer before realloc.
47601 2014-01-27  Allan McRae  <allan@archlinux.org>
47603         * po/fr.po: Update French translation from translation project.
47605 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47607         * sysdeps/sh/libm-test-ulps: Regenerate.
47609 2014-01-24  David S. Miller  <davem@davemloft.net>
47611         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47613 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47615         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47616         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47618 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47620         [BZ #16474]
47621         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47622         string pointers after reallocation.
47624 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47626         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47627         __SH4A__ instead of __SH_FPU_ANY__.
47629 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47631         * sysdeps/sh/fpu_control.h: New file.
47632         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47633         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47634         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47635         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47636         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47637         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47638         * sysdeps/sh/sys/ucontext.h: Remove.
47639         * sysdeps/sh/sys: Remove directory.
47641 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47643         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47644         s390/sys/ucontext.h.
47645         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47646         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47648 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
47650         [BZ #15605]
47651         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47653 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47655         [BZ#16431]
47656         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47657         Adjust the vDSO correctly for internal calls.
47658         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47660 2014-01-20  Allan McRae  <allan@archlinux.org>
47662         * po/ca.po: Update Catalan translation from translation project.
47664 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
47666         * sysdeps/s390/sotruss-lib.c: New file.
47668 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47670         [BZ#16430]
47671         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47672         (__GI___gettimeofday): Alias for a different internal symbol to avoid
47673         local calls issues by not having a PLT stub required for IFUNC calls.
47674         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47676 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
47678         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47679         * math/test-fpucw-static.c: Likewise.
47681 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47683         [BZ #16453]
47684         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47686 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47688         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47689         implementation for powerpc.
47691 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
47693         [BZ #14782]
47694         * sysdeps/posix/system.c (__libc_system): Do not enable
47695         asynchronous cancellation.
47697 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47699         [BZ #16427]
47700         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47701         handling only for numbers special also in the IEEE case.
47703 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47705         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47707 2014-01-11  Allan McRae  <allan@archlinux.org>
47709         * po/bg.po: Update Bulgarian translation from translation project.
47711         * po/de.po: Update German translation from translation project.
47713 2014-01-10  Roland McGrath  <roland@hack.frob.com>
47715         * sysdeps/generic/gcc-compat.h: New file.
47717 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47719         * benchtests/asin-inputs: Correct slow inputs.
47720         * benchtests/acos-inputs: Likewise.
47722 2014-01-10  Allan McRae  <allan@archlinux.org>
47724         * po:sv.po: Update Swedish translation from translation project.
47726         * po/vi.po: Update Vietnamese translation from translation project.
47728         * po/eo.po: Update Esperanto translation from translation project.
47730         * po/cs.po: Update Czech translation from translation project.
47732         * po/nl.po: Update Dutch translation from translation project.
47734         * po/pl.po: Update Polish translation from translation project.
47736         * po/ru.po: Update Russian translation from translation project.
47738         * po/uk.po: Update Ukrainian translation from translation project.
47740 2014-01-08  Brooks Moses  <bmoses@google.com>
47742         * elf/dl-load.c: Fix comment typo.
47744 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
47746         * po/header.pot: Rename to...
47747         * po/pot.header: ... this.
47748         * po/Makefile: Use pot.header.
47750 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
47751             Maxim Kuvyrkov  <maxim@kugelworks.com>
47753         [BZ #16394]
47754         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47755         SRC and DEST against LEN.
47757 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47759         [BZ #16414]
47760         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47761         implementation.
47762         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47764 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47768 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
47770         [BZ #16408]
47771         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47772         for large positive arguments.
47774 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
47776         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47778         * math/auto-libm-test-in: Mark various tests with
47779         xfail-rounding:ldbl-128ibm.
47780         * math/auto-libm-test-out: Regenerated.
47782         [BZ #16407]
47783         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47784         Increase overflow threshold.
47786 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
47788         [BZ #14286]
47789         * stdio-common/vfprintf.c: Check for integer overflow.
47791 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47793         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47794         the first argument and return value of __tls_get_addr_internal.
47796 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47798         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47799         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47801 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47803         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47804         * sysdeps/s390/rtld-global-offsets.sym: New file.
47805         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47806         GLIBC_2.19 symbol.
47807         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47808         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47809         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47810         ... this.
47811         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47812         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47813         ... this.
47814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47815         Regenerate.
47816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47817         Regenerate.
47818         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47819         halfs of GPRs for high_gprs contexts.
47820         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47821         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
47822         field.
47823         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47824         uc_flags field.
47825         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47826         64 bit versions:
47827         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47828         for high GPRs (uc_high_gprs) and for future extensions
47829         (__reserved).
47830         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47831         for future extensions (__reserved).
47832         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47833         64 bit versions:
47834         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47835         SC_HIGHGPRS offset definition.
47836         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47837         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47839         * Versions.def: Add GLIBC_2.19 for libpthread.
47840         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47841         siglongjmp for libpthread with GLIBC_2.19 symver.
47842         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47843         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47844         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47845         * sysdeps/s390/__longjmp.c: New file.
47846         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47847         * sysdeps/s390/longjmp.c: New file.
47848         * sysdeps/s390/setjmp.S: New file.
47849         * sysdeps/s390/sigjmp.S: New file.
47850         * sysdeps/s390/v1-longjmp.c: New file.
47851         * sysdeps/s390/v1-setjmp.h: New file.
47852         * sysdeps/s390/v1-sigjmp.c: New file.
47853         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47854         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47855         GLIBC_2.19 version.
47856         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47857         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47858         versioned symbols for ____longjmp_chk.
47859         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47860         Likewise.
47861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47862         Regenerate.
47863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47864         Regenerate.
47865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47866         Regenerate.
47867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47868         Regenerate.
47869         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47870         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47871         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47872         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47873         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47874         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47875         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47876         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47877         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47878         * sysdeps/s390/rtld-__longjmp.c: New file.
47879         * sysdeps/s390/rtld-setjmp.S: New file.
47881 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47883         [BZ #16400]
47884         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47885         Return -__logl (x) for small positive arguments without evaluating
47886         a polynomial.
47888 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
47890         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47891         Rename to ...
47892         (__ptrace_peeksiginfo_args): ... this.
47893         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47894         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47895         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47897 2014-01-06  Allan McRae  <allan@archlinux.org>
47899         * inet/netinet/in.h: Fix typo in comment.
47901 2014-01-05  Andreas Jaeger  <aj@suse.de>
47903         * sysdeps/i386/fpu/libm-test-ulps: Update.
47905 2014-01-05  Allan McRae  <allan@archlinux.org>
47907         * po/libc.pot: Regenerated.
47909         * malloc/memusagestat.c: Fix gettext call formatting.
47911 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
47913         * nscd/nscd.c: Improve usage() output.
47915 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
47917         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47918         * sysdeps/unix/sysv/linux/configure: Regenerated.
47919         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47920         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47922 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47924         [BZ #16390]
47925         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47926         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47928 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47930         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47931         extra tokens at end of #undef directive.
47932         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47933         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47934         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47936 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47938         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47940         * math/auto-libm-test-in: Mark various tests with
47941         xfail-rounding:ldbl-128ibm.
47942         * math/auto-libm-test-out: Regenerated.
47944 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
47946         [BZ #16386]
47947         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47948         numbers with subnormal high part when calculating exponent.
47950         [BZ #16385]
47951         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47952         fabs.
47954         [BZ #16384]
47955         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47956         M_LN2l.
47957         (__ieee754_acoshl): Use __log1pl not __log1p.
47959 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
47961         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47962         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47963         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47964         (grow_heap, heap_trim, _int_new_arena, get_free_list)
47965         (reused_arena, arena_get2): Convert to GNU style.
47966         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47967         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47968         (memalign_check, __malloc_set_state): Likewise.
47969         * malloc/mallocbug.c (main): Likewise.
47970         * malloc/malloc.c (__malloc_assert, malloc_init_state)
47971         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47972         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47973         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47974         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47975         (__posix_memalign, malloc_info): Likewise.
47976         * malloc/malloc.h: Likewise.
47977         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47978         (mallochook, memalignhook, reallochook, mabort): Likewise.
47979         * malloc/mcheck.h: Likewise.
47980         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47981         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47982         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47983         * malloc/morecore.c (__default_morecore): Likewise.
47984         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47985         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47986         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47987         (print_and_abort): Likewise.
47988         * malloc/obstack.h: Likewise.
47989         * malloc/set-freeres.c (__libc_freeres): Likewise.
47990         * malloc/tst-mallocstate.c (main): Likewise.
47991         * malloc/tst-mtrace.c (main): Likewise.
47992         * malloc/tst-realloc.c (do_test): Likewise.
47994 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47996         [BZ #16366]
47997         * nscd/netgroupcache.c (do_notfound): New function.
47998         (addgetnetgrentX): Use it.
48000         [BZ # 16365]
48001         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
48002         NSS_STATUS_NOTFOUND.
48004 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
48006         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48009 2014-01-01  Allan McRae  <allan@archlinux.org>
48011         * scripts/update-copyrights: Update configure input file suffix.
48013         * NEWS: Update copyright year.
48014         * catgets/gencat.c: Likewise.
48015         * csu/version.c: Likewise.
48016         * debug/catchsegv.sh: Likewise.
48017         * debug/pcprofiledump.c: Likewise.
48018         * debug/xtrace.sh: Likewise.
48019         * elf/ldconfig.c: Likewise.
48020         * elf/ldd.bash.in: Likewise.
48021         * elf/pldd.c: Likewise.
48022         * elf/sotruss.ksh: Likewise.
48023         * elf/sprof.c: Likewise.
48024         * iconv/iconv_prog.c: Likewise.
48025         * iconv/iconvconfig.c: Likewise.
48026         * locale/programs/locale.c: Likewise.
48027         * locale/programs/localedef.c: Likewise.
48028         * login/programs/pt_chown.c: Likewise.
48029         * malloc/memusage.sh: Likewise.
48030         * malloc/memusagestat.c: Likewise.
48031         * malloc/mtrace.pl: Likewise.
48032         * manual/libc.texinfo: Likewise.
48033         * nscd/nscd.c: Likewise.
48034         * nss/getent.c: Likewise.
48035         * nss/makedb.c: Likewise.
48036         * posix/getconf.c: Likewise.
48037         * scripts/test-installation.pl: Likewise.
48039         * All files with FSF copyright notices: Update copyright dates
48040         using scripts/update-copyrights.
48041         * intl/plural.c: Regenerated.
48042         * locale/programs/charmap-kw.h: Likewise.
48043         * locale/programs/locfile-kw.h: Likewise.
48045 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
48047         * sysdeps/unix/sysv/linux/configure: Regenerated.
48048         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
48049         the linux/fanotify.h header.
48050         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48051         HAVE_LINUX_FANOTIFY_H is defined.
48053 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48055         * benchtests/cos-inputs: New inputs.
48056         * benchtests/sin-inputs: Likewise.
48058         * benchtests/atan-inputs: New inputs. Fix name of multiple
48059         precision fallback inputs.
48061         * benchtests/atanh-inputs: New inputs.
48062         * benchtests/tanh-inputs: Likewise.
48064         * benchtests/acosh-inputs: New inputs.
48065         * benchtests/asinh-inputs: Likewise.
48067         * benchtests/cosh-inputs: New inputs.
48068         * benchtests/sinh-inputs: Likewise.
48070         * benchtests/acos-inputs: Add more inputs.
48071         * benchtests/asin-inputs: Likewise.
48073 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
48075         [BZ #16375]
48076         * manual/arith.texi: Fix spelling.
48077         * manual/charset.texi: Likewise.
48078         * manual/errno.texi: Likewise.
48079         * manual/filesys.texi: Likewise.
48080         * manual/lang.texi: Likewise.
48081         * manual/llio.texi: Likewise.
48082         * manual/locale.texi: Likewise.
48083         * manual/message.texi: Likewise.
48084         * manual/resource.texi: Likewise.
48085         * manual/search.texi: Likewise.
48086         * manual/setjmp.texi: Likewise.
48087         * manual/stdio.texi: Likewise.
48088         * manual/string.texi: Likewise.
48089         * manual/sysinfo.texi: Likewise.
48090         * manual/time.texi: Likewise.
48092 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
48094         * po/sl.po: New file.
48096 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
48098         * .gitignore: Add core/.gdbinit/.gdb_history.
48100 2013-12-27  Allan McRae  <allan@archlinux.org>
48102         [BZ #16369]
48103         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
48104         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
48106 2013-12-24  Brooks Moses  <bmoses@google.com>
48108         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48109         all compilers that claim C++98 compliance, not just GCC.
48110         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
48111         Likewise.
48113 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
48115         * NEWS: Restore accidentally deleted bug-fix entries.
48117 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
48118             Ondřej Bílka  <neleai@seznam.cz>
48120         [BZ #15073]
48121         * malloc/malloc.c (_int_free): Perform sanity check only if we
48122         have_lock.
48124 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
48126         [BZ #12986]
48127         * manual/stdio.texi (String Input Conversions): Clarify that character
48128         classes are not supported.
48130 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48134 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
48136         [BZ #16337]
48137         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48138         Calculate results for small negative arguments directly rather
48139         than using reflection formula with special underflow handling.
48141         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
48142         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
48143         sysdeps/unix/bsd/bsd4.4/syscalls.list.
48144         (fchflags): Likewise.
48145         (revoke): Likewise.
48146         (setlogin): Likewise.
48147         (sigaltstack): Likewise.
48148         (wait4): Likewise.
48149         (sigblock): Remove.
48150         (sigsetmask): Likewise.
48151         (wait3): Likewise.
48152         (waitpid): Likewise.
48153         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48154         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48155         file.
48156         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48157         * sysdeps/unix/bsd/Makefile: ... here.
48158         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48159         * sysdeps/unix/bsd/Versions: ... here.
48160         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48161         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48162         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48163         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48164         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48165         * sysdeps/unix/bsd/sigblock.c: ... here.
48166         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48167         * sysdeps/unix/bsd/sigsetmask.c: ... here.
48168         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48169         * sysdeps/unix/bsd/sigvec.c: ... here.
48170         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48171         * sysdeps/unix/bsd/tcdrain.c: ... here.
48172         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48173         * sysdeps/unix/bsd/tcgetattr.c: ... here.
48174         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48175         * sysdeps/unix/bsd/tcsetattr.c: ... here.
48176         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48177         * sysdeps/unix/bsd/wait.c: ... here.
48178         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48179         * sysdeps/unix/bsd/wait3.c: ... here.
48180         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48181         * sysdeps/unix/bsd/waitpid.c: ... here.
48183 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
48185         [BZ #16356]
48186         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48187         round-to-nearest for [!USE_AS_EXPM1L].
48188         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48189         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
48190         more tests of exp and exp10.  Expect some exp10 tests to miss
48191         exceptions or fail in directed rounding modes.
48192         * math/auto-libm-test-out: Regenerated.
48193         * math/libm-test.inc (exp10_tonearest_test_data): New array.
48194         (exp10_test_tonearest): New function.
48195         (exp10_towardzero_test_data): New array.
48196         (exp10_test_towardzero): New function.
48197         (exp10_downward_test_data): New array.
48198         (exp10_test_downward): New function.
48199         (exp10_upward_test_data): New array.
48200         (exp10_test_upward): New function.
48201         (main): Call the new functions.
48202         * sysdeps/i386/fpu/libm-test-ulps: Update.
48203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48205 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
48207         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48208         asinh, atan, atan2, atanh, cbrt, cos and cosh.
48209         * math/auto-libm-test-out: Regenerated.
48210         * math/libm-test.inc (acosh_test_data): Add more tests.
48211         (atanh_test_data): Likewise.
48212         (ceil_test_data): Likewise.
48213         (copysign_test_data): Likewise.
48214         * sysdeps/i386/fpu/libm-test-ulps: Update.
48215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48217         * timezone/checktab.awk: Update from tzcode 2013i.
48218         * timezone/private.h: Likewise.
48219         * timezone/scheck.c: Likewise.
48220         * timezone/tzfile.h: Likewise.
48221         * timezone/tzselect.ksh: Likewise.
48222         * timezone/zdump.c: Likewise.
48223         * timezone/zic.c: Likewise.
48225         * math/auto-libm-test-in: Add tests of cpow.
48226         * math/auto-libm-test-out: Regenerated.
48227         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48228         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48229         mpc_cc_c.
48230         (func_calc_desc): Add mpc_cc_c union field.
48231         (test_functions): Add cpow.
48232         (special_fill_2pi): New function.
48233         (special_real_inputs): Add 2pi.
48234         (calc_generic_results): Handle mpc_cc_c.
48235         * sysdeps/i386/fpu/libm-test-ulps: Update.
48236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48238         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48239         csqrt, ctan and ctanh.
48240         * math/auto-libm-test-out: Regenerated.
48241         * math/libm-test.inc (TEST_COND_x86_64): New macro.
48242         (TEST_COND_x86): Likewise.
48243         (ccos_test_data): Use AUTO_TESTS_c_c.
48244         (ccosh_test_data): Likewise.
48245         (cexp_test_data): Likewise.
48246         (clog_test_data): Likewise.
48247         (csqrt_test_data): Likewise.
48248         (ctan_test_data): Likewise.
48249         (ctan_tonearest_test_data): Likewise.
48250         (ctan_towardzero_test_data): Likewise.
48251         (ctan_downward_test_data): Likewise.
48252         (ctan_upward_test_data): Likewise.
48253         (ctanh_test_data): Likewise.
48254         (ctanh_tonearest_test_data): Likewise.
48255         (ctanh_towardzero_test_data): Likewise.
48256         (ctanh_downward_test_data): Likewise.
48257         (ctanh_upward_test_data): Likewise.
48258         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48259         mpc_c_c.
48260         (func_calc_desc): Add mpc_c_c union field.
48261         (FUNC_mpc_c_c): New macro.
48262         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48263         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48264         ctanh.
48265         (special_fill_min_subnorm_p120): New function.
48266         (special_real_inputs): Add min_subnorm_p120.
48267         (calc_generic_results): Handle mpc_c_c.
48268         * sysdeps/i386/fpu/libm-test-ulps: Update.
48269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48271 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48273         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48274         (do_sin_slow): New functions.
48275         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48276         (cslow2, csloww1, csloww2): Use the new functions.
48278         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48279         Use M to change sign of result instead of X.  Assume X is
48280         positive.
48281         (csloww1): Likewise.
48282         (__sin): Adjust.
48283         (__cos): Adjust.
48285         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48286         arguments A and DA.
48287         (__sin): Adjust.
48288         (__cos): Likewise.
48290         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48291         (__cos): Likewise.
48292         (sloww1): Don't adjust sign of DX.
48293         (csloww1): Likewise.
48294         (sloww2): Use X directly and don't adjust sign of DX.
48295         (csloww2): Likewise.
48297 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48299         * math/auto-libm-test-in: Add tests of cabs and carg.
48300         * math/auto-libm-test-out: Regenerated.
48301         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48302         (carg_test_data): Likewise.
48303         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48304         mpc_c_f.
48305         (func_calc_desc): Add mpc_c_f union field.
48306         (test_functions): Add cabs and carg.
48307         (calc_generic_results): Handle mpc_c_f.
48309         * sysdeps/powerpc/powerpc32/libgcc-compat.S
48310         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48311         as a macro and a compat symbol.
48312         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48313         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48314         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48315         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48316         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48317         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48318         not use .hidden.
48319         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48320         Likewise.
48321         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48322         Likewise.
48323         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48324         Likewise.
48325         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48326         Likewise.
48327         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48328         Likewise.
48329         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48330         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48331         from GLIBC_2.3.2.
48333 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48337 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48339         * manual/texinfo.tex: Update to version 2013-11-26.10 with
48340         trailing whitespace removed.
48341         * scripts/config.guess: Update to version 2013-11-29.
48342         * scripts/config.sub: Update to version 2013-10-01.
48344         * math/auto-libm-test-in: Add tests of sincos.
48345         * math/auto-libm-test-out: Regenerated.
48346         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48347         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48348         mpfr_f_11.
48349         (func_calc_desc): Add mpfr_f_11 union field.
48350         (test_functions): Add sincos.
48351         (calc_generic_results): Handle mpfr_f_11.
48352         * sysdeps/i386/fpu/libm-test-ulps: Update.
48353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48355 2013-12-19  Andreas Schwab  <schwab@suse.de>
48357         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48358         CALL_MCOUNT.
48359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48360         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48361         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48363 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48365         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48366         * sysdeps/i386/fpu/libm-test-ulps: Update.
48367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48369         [BZ #16293]
48370         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48371         round-to-nearest mode when using frndint.
48372         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48373         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48374         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48375         Likewise.
48376         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
48377         sinh test to fail.
48378         * math/auto-libm-test-out: Regenerated.
48379         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48380         (TEST_COND_x86): Likewise.
48381         (expm1_tonearest_test_data): New array.
48382         (expm1_test_tonearest): New function.
48383         (expm1_towardzero_test_data): New array.
48384         (expm1_test_towardzero): New function.
48385         (expm1_downward_test_data): New array.
48386         (expm1_test_downward): New function.
48387         (expm1_upward_test_data): New array.
48388         (expm1_test_upward): New function.
48389         (main): Run the new test functions.
48390         * sysdeps/i386/fpu/libm-test-ulps: Update.
48391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48393         * include/features.h: Update comment documenting feature test
48394         macros.  Mention _DEFAULT_SOURCE in comment.
48395         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48396         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48397         _BSD_SOURCE and _SVID_SOURCE.
48398         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48399         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48400         !_SVID_SOURCE]: Likewise.
48401         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48402         (__USE_POSIX_IMPLICITLY): Define.
48403         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48404         (_POSIX_SOURCE): Undefine and redefine.
48405         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48406         (_POSIX_C_SOURCE): Likewise.
48407         * manual/creature.texi (_DEFAULT_SOURCE): Document.
48408         (Feature Test Macros): Update documentation of default features.
48410 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48412         * benchtests/Makefile: Add bench-strtok.
48413         * benchtests/bench-strtok.c: New file: strtok benchtest.
48415 2013-12-19  Allan McRae  <allan@archlinux.org>
48417         * manual/install.texi: Suppress menu for plain text output.
48418         * INSTALL: Regenerated.
48420 2013-12-18  Brooks Moses  <bmoses@google.com>
48422         [BZ #15846]
48423         * misc/getauxval.c: Include errno.h.
48424         (__getauxval): Set errno to ENOENT if the requested type is not
48425         found.
48426         * misc/sys/auxv.h (getauxval): Document that it may set errno;
48427         don't declare with __attribute_const__.
48428         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48429         * manual/startup.texi: Document that getauxval sets errno.
48431 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48433         * math/auto-libm-test-in: Add tests of jn and yn.
48434         * math/auto-libm-test-out: Regenerated.
48435         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48436         (yn_test_data): Likewise.
48437         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48438         mpfr_if_f.
48439         (func_calc_desc): Add mpfr_if_f union field.
48440         (FUNC_mpfr_if_f): New macro.
48441         (test_functions): Add jn and yn.
48442         (calc_generic_results): Assert type of second input for
48443         mpfr_ff_f.  Handle mpfr_if_f.
48444         (output_for_one_input_case): Disable all checking for arguments
48445         fitting floating-point types in case of an integer argument.
48446         * sysdeps/i386/fpu/libm-test-ulps: Update.
48447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48450         Don't expect fegetround reference in libm.so.
48452 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48454         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48455         $(config-cflags-nofma).
48457 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48459         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48460         * math/auto-libm-test-out: Regenerated.
48462         [BZ #16338]
48463         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48464         to determine exponent and adjust argument to have exponent of -1.
48465         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48466         log2.
48467         * math/auto-libm-test-out: Regenerated.
48468         * sysdeps/i386/fpu/libm-test-ulps: Update.
48469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48471 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
48473         * manual/probes.texi: Remove cases when per-thread arenas are
48474         disabled.
48476 2013-12-18  Andreas Schwab  <schwab@suse.de>
48478         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48479         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48480         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48481         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48482         * sysdeps/i386/i686/multiarch/Makefile: Update.
48483         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48485 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48487         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48488         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48490 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
48492         [BZ #15968]
48493         Support TZ transition times < 00:00:00.
48494         This is needed for version-3 tz-format files; it supports time
48495         stamps past 2037 for America/Godthab (the only entry in the tz
48496         database for which this change is relevant).
48497         * manual/time.texi (TZ Variable): Document transition times
48498         from -167:59:59 through -00:00:01.
48499         * time/tzset.c (tz_rule): Time of day is now signed.
48500         (__tzset_parse_tz): Parse negative time of day.
48502         Document TZ transition times >= 25:00:00.
48503         * manual/time.texi (TZ Variable): Document transition times from
48504         25:00:00 through 167:59:59.  These are already supported, and this
48505         support will help with version-3 tz-format files.
48507         * manual/time.texi (TZ Variable): Modernize North America example
48508         to reflect current (i.e., 2007-and-later) daylight saving rules.
48510         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48512 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48514         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48515         * sysdeps/unix/bsd/bits/stat.h: Likewise.
48516         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48517         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48518         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48519         * sysdeps/unix/bsd/bsdstat.h: Likewise.
48520         * sysdeps/unix/bsd/clock.c: Likewise.
48521         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48522         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48523         * sysdeps/unix/bsd/init-posix.c: Likewise.
48524         * sysdeps/unix/bsd/poll.c: Likewise.
48525         * sysdeps/unix/bsd/ptsname.c: Likewise.
48526         * sysdeps/unix/bsd/seekdir.c: Likewise.
48527         * sysdeps/unix/bsd/setegid.c: Likewise.
48528         * sysdeps/unix/bsd/seteuid.c: Likewise.
48529         * sysdeps/unix/bsd/setgid.c: Likewise.
48530         * sysdeps/unix/bsd/setrgid.c: Likewise.
48531         * sysdeps/unix/bsd/setruid.c: Likewise.
48532         * sysdeps/unix/bsd/setsid.c: Likewise.
48533         * sysdeps/unix/bsd/setuid.c: Likewise.
48534         * sysdeps/unix/bsd/sigaction.c: Likewise.
48535         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48536         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48537         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48538         * sysdeps/unix/bsd/telldir.c: Likewise.
48539         * sysdeps/unix/bsd/times.c: Likewise.
48540         * sysdeps/unix/bsd/usleep.c: Likewise.
48542         * misc/Makefile (install-lib): Remove libbsd-compat.a.
48543         ($(objpfx)libbsd-compat.a): Remove rule.
48545         * include/features.h (__FAVOR_BSD): Do not define.
48546         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48547         features conflicting with POSIX.
48548         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48549         (_BSD_SOURCE): Remove description of not being a subset of other
48550         feature test macros.
48551         * manual/job.texi (getpgrp): Do not document BSD version.
48552         (getpgid): Do not document by reference to BSD getpgrp.
48553         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48554         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48555         * signal/signal.h [__FAVOR_BSD]: Likewise.
48556         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48557         instead of making contents conditional on [__FAVOR_BSD].
48558         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48560 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48564 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48566         [BZ #16314]
48567         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48568         values below 2**-450, not 2**-500.
48569         * math/auto-libm-test-in: Don't allow spurious underflow from
48570         hypot.
48571         * math/auto-libm-test-out: Regenerated.
48573         [BZ #16316]
48574         [BZ #16330]
48575         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48576         values of ha and hb and sort them after adjusting subnormal
48577         arguments.
48578         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48579         Likewise.
48580         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48581         values of ea and eb and sort them after adjusting subnormal
48582         arguments.
48583         * math/auto-libm-test-in: Do not expect some hypot tests of
48584         subnormals to fail.  Add more hypot tests.
48585         * math/auto-libm-test-out: Regenerated.
48587 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48589         [BZ #13304]
48590         * sysdeps/sh/s_fma.c: New file.
48591         * sysdeps/sh/s_fmaf.c: New file.
48592         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
48593         version.
48594         * sysdeps/sh/Implies: Add sh/soft-fp.
48596 2013-12-16  Roland McGrath  <roland@hack.frob.com>
48598         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
48599         level of indirection to members `objname', `errstring', `malloced'.
48600         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48601         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
48602         it as the __longjmp argument (just pass 1 instead).
48603         (_dl_catch_error): Initialize C with argument pointers and address of
48604         volatile local ERRCODE rather than copying values out of C at return.
48606 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
48608         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48609         * math/auto-libm-test-out: Regenerated.
48610         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48611         (hypot_test_data): Likewise.
48612         (pow_test_data): Likewise.
48613         (pow_tonearest_test_data): Likewise.
48614         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48615         mpfr_ff_f.
48616         (func_calc_desc): Add mpfr_ff_f union field.
48617         (FUNC_mpfr_ff_f): New macro.
48618         (test_functions): Add atan2, hypot and pow.
48619         (special_fill_min): New function.
48620         (special_fill_minus_min): Likewise.
48621         (special_fill_min_subnorm): Likewise.
48622         (special_fill_minus_min_subnorm): Likewise.
48623         (special_real_inputs): Add min, -min, min_subnorm and
48624         -min_subnorm.
48625         (calc_generic_results): Handle mpfr_ff_f.
48626         * sysdeps/i386/fpu/libm-test-ulps: Update.
48627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48629 2013-12-16  Will Newton  <will.newton@linaro.org>
48631         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48632         (Aligned Memory Blocks): Add documentation for aligned_alloc
48633         and suggest it as an alternative to posix_memalign.
48634         (Hooks for Malloc): Document __memalign_hook is also called
48635         for aligned_alloc.  (Summary of Malloc): Add summary for
48636         aligned alloc.  Document __memalign_hook is also called
48637         for aligned_alloc.
48639 2013-12-16  Will Newton  <will.newton@linaro.org>
48641         * manual/memory.texi (Malloc Examples): Clarify default
48642         alignment documentation.  Suggest posix_memalign rather
48643         than memalign or valloc.
48644         (Aligned Memory Blocks): Remove suggestion to use memalign
48645         or valloc.  Remove obsolete comment about BSD.
48646         Document memalign errno values and mark the function obsolete.
48647         Document posix_memalign returned error codes.  Mark valloc
48648         as obsolete.  (Hooks for Malloc): __memalign_hook is also
48649         called for posix_memalign and valloc.
48650         (Summary of Malloc): Add posix_memalign to function summary.
48651         __memalign_hook is also called for posix_memalign and valloc.
48653 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48655         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48656         TAYLOR_SIN.
48657         (__sin): Adjust.
48658         (__cos): Likewise.
48659         (sloww): Use mynumber union.  Expand ternary operator into
48660         if-else statements.
48661         (cslow): use mynumber union.
48663 2013-12-16  Allan McRae  <allan@archlinux.org>
48665         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48666         * configure: Regenerated.
48668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48670         [BZ #14120]
48671         * configure.ac: Added --enable-maintainer-mode. Check for
48672         autoconf when enabled.
48673         * configure: Regenerated.
48675         * nscd/nscd.service: New file.
48676         * nscd/nscd.tmpfiles: New file.
48678 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
48680         [BZ #12100]
48681         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48682         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48683         * sysdeps/x86_64/multiarch/strstr.c: ... here.
48684         (strstr): Add __strstr_sse2_unaligned ifunc.
48685         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48686         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48687         (strcasestr): Remove __strcasestr_sse42 ifunc.
48688         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48692 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48694         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48695         * sysdeps/sh/bits/fenv.h: ... here.
48696         * sysdeps/sh/sh4/fpu/bits: Remove directory.
48698 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48700         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48703         hypotf multiarch implementations.
48704         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48705         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48706         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48707         multiarch hypot for PPC64.
48708         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48709         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48710         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48711         multiarch hypotf for PPC64.
48713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48714         modff multiarch implementations.
48715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48718         multiarch modf for PPC64.
48719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48722         multiarch modff for PPC64.
48724         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48725         and logl multiarch implementations.
48726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48729         multiarch logb for PPC64.
48730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48733         multiarch logb for PPC64.
48734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48737         multiarch logb for PPC64.
48739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48740         isinff multiarch implementation.
48741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48742         file.
48743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48745         multiarch isinf for PPC64.
48746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48747         file.
48748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48749         multiarch isinff for PPC64.
48751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48752         finitef multiarch implementation.
48753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48754         file.
48755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48757         multiarch finite for PPC64.
48758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48759         file.
48760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48761         multiarch finitef for PPC64.
48763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48764         lrint multiarch implementation.
48765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48766         file.
48767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48769         multiarch llrint for PPC64.
48770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48771         multiarch lrint for PPC64.
48773         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48774         copysignf multiarch implementation.
48775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48776         file.
48777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48778         file.
48779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48780         multiarch copysign for PPC64.
48781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48782         multiarch copysignf for PPC64.
48784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48785         multiarch implementation.
48786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48787         file.
48788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48789         file.
48790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48791         file.
48792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48793         file.
48794         multiarch llround for PPC64.
48795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48796         multiarch trunc for PPC64.
48797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48798         multiarch truncf for PPC64.
48800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48801         multiarch implementation.
48802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48803         file.
48804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48805         file.
48806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48807         file.
48808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48809         file.
48810         multiarch llround for PPC64.
48811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48812         multiarch round for PPC64.
48813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48814         multiarch roundf for PPC64.
48816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48817         multiarch implementation.
48818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48819         file.
48820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48821         file.
48822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48823         file.
48824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48825         file.
48826         multiarch llround for PPC64.
48827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48828         multiarch floor for PPC64.
48829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48830         multiarch floorf for PPC64.
48832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48833         multiarch implementation.
48834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48835         file.
48836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48837         file.
48838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48839         file.
48840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48841         file.
48842         multiarch llround for PPC64.
48843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48844         multiarch ceil for PPC64.
48845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48846         multiarch ceilf for PPC64.
48848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48849         multiarch implementation.
48850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48851         file.
48852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48853         file.
48854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48855         file.
48856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48857         multiarch llround for PPC64.
48858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48859         multiarch lround for PPC64.
48861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48862         multiarch implementation.
48863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48866         file.
48867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48870         multiarch isnan for PPC64.
48871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48872         multiarch isnanf for PPC64.
48874         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48875         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48876         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48877         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48878         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48881         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48882         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48883         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48884         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48887         multiarch implementations.
48888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48889         (__libc_ifunc_impl_list): Likewise.
48890         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48891         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48892         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48893         multiarch stpcpy for PPC64.
48895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48896         multiarch implementations.
48897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48898         (__libc_ifunc_impl_list): Likewise.
48899         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48900         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48901         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48902         multiarch strcpy for PPC64.
48904         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48905         redefine function name.
48906         (_wordcopy_fwd_dest_aligned): Likewise.
48907         (_wordcopy_bwd_aligned): Likewise.
48908         (_wordcopy_bwd_dest_aligned): Likewise.
48909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48910         multiarch implementations.
48911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48912         (__libc_ifunc_impl_list): Likewise.
48913         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48914         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48915         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48916         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48917         multiarch wcscpy for PPC64.
48919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48920         multiarch implementations.
48921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48922         (__libc_ifunc_impl_list): Likewise.
48923         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48924         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48925         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48926         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48927         multiarch wcscpy for PPC64.
48929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48930         multiarch implementations.
48931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48932         (__libc_ifunc_impl_list): Likewise.
48933         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48934         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48935         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48936         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48937         multiarch wcsrchr for PPC64.
48939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48940         multiarch implementations.
48941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48942         (__libc_ifunc_impl_list): Likewise.
48943         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48944         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48945         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48946         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48947         multiarch wcschr for PPC64.
48949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48950         multiarch implementations.
48951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48952         (__libc_ifunc_impl_list): Likewise.
48953         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48954         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48955         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48956         multiarch strchrnul for PPC64.
48958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48959         implementations.
48960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48961         (__libc_ifunc_impl_list): Likewise.
48962         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48963         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48964         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48965         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48966         strchr for PPC64.
48968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48969         implementations.
48970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48971         (__libc_ifunc_impl_list): Likewise.
48972         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48973         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48974         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48975         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48976         strncmp for PPC64.
48978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48979         multiarch implementations.
48980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48981         (__libc_ifunc_impl_list): Likewise.
48982         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48983         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48984         strncasecmp for PPC64.
48985         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48986         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48987         multiarch strncasecmp_l for PPC64.
48989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48990         multiarch implementations.
48991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48992         (__libc_ifunc_impl_list): Likewise.
48993         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48994         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48995         multiarch strcasecmp for PPC64.
48996         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48997         file.
48998         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48999         multiarch strcasecmp_l for PPC64.
49001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
49002         implementations.
49003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49004         (__libc_ifunc_impl_list): Likewise.
49005         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
49006         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
49007         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
49008         strnlen for PPC64.
49010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
49011         implementations.
49012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49013         (__libc_ifunc_impl_list): Likewise.
49014         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
49015         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
49016         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
49017         strlen for PPC64.
49019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
49020         implementations.
49021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49022         (__libc_ifunc_impl_list): Likewise.
49023         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
49024         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
49025         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
49026         rawmemrchr for PPC64.
49028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
49029         implementation.
49030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49031         (__libc_ifunc_impl_list): Likewise.
49032         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
49033         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
49034         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
49035         memrchr for PPC64.
49037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
49038         implementation.
49039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49040         (__libc_ifunc_impl_list): Likewise.
49041         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
49042         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
49043         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
49044         memchr for PPC64.
49046         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
49047         implementation.
49048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49049         (__libc_ifunc_impl_list): Likewise.
49050         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
49051         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
49052         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
49053         mempcpy for PPC64.
49055         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
49056         avoid cretion of __bzero symbol.
49057         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
49058         Likewise.
49059         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
49060         Likewise.
49061         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
49062         Likewise.
49063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
49064         multiarch implementations.
49065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49066         (__libc_ifunc_impl_list): Likewise.
49067         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
49068         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
49069         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
49070         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
49071         bzero for PPC32.
49072         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
49073         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
49074         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
49075         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
49076         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
49077         memset for PPC64.
49078         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
49080         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
49081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
49082         implementations.
49083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49084         (__libc_ifunc_impl_list): Likewise.
49085         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
49086         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
49087         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49088         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
49089         memcmp for PPC64.
49091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
49092         multiarch for POWER/PPC64.
49093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
49094         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
49095         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
49096         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49097         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
49098         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
49099         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
49100         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
49101         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
49102         memcpy for PPC64.
49104         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
49105         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
49106         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
49107         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
49108         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
49109         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
49110         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
49111         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
49112         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
49113         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
49114         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
49115         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
49116         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
49117         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
49118         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
49119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
49120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
49121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
49122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
49123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
49124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
49125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
49127 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49129         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
49131 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49133         * benchtests/Makefile (bench): Add exp2 and log2.
49134         (LDLIBS-bench-exp2): Add -lm.
49135         (LDLIBS-bench-log2): Likewise.
49136         * benchtests/exp2-inputs: New inputs file.
49137         * benchtests/log2-inputs: New inputs file.
49138         * benchtests/log-inputs: Add new inputs.
49139         * benchtests/tan-inputs: Likewise.
49141 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49143         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
49144         definition...
49145         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49146         (csloww2): ... from here.
49148         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49149         instead of structures.
49150         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49151         (POLYNOMIAL): Likewise.
49152         (TAYLOR_SLOW): Likewise.
49153         (__sin): Likewise.
49154         (__cos): Likewise.
49155         (slow1): Likewise.
49156         (slow2): Likewise.
49157         (sloww): Likewise.
49158         (sloww1); Likewise.
49159         (sloww2): Likewise.
49160         (bsloww1): Likewise.
49161         (bsloww2): Likewise.
49162         (cslow2): Likewise.
49163         (csloww): Likewise.
49164         (csloww1): Likewise.
49165         (csloww2): Likewise.
49167 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
49169         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49170         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49171         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49172         * malloc/hooks.c (realloc_check): Likewise.
49174         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49175         * malloc/arena.c: Remove PER_THREAD conditional.
49176         [!PER_THREAD]: Remove code.
49177         (ptmalloc_unlock_all2): Likewise.
49178         (ptmalloc_init): Likewise.
49179         (_int_new_arena): Likewise.
49180         (arena_get2): Likewise.
49181         * malloc/hooks.c (__malloc_get_state): Likewise.
49182         (__malloc_set_state): Likewise.
49183         * malloc/malloc.c: Likewise.
49184         (struct malloc_state): Likewise.
49185         (struct malloc_par): Likewise.
49186         (__libc_realloc): Likewise.
49187         (__libc_mallopt): Likewise.
49189 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49191         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49193 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
49195         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49196         macro to a function.  Check for zero perturb_byte.
49197         (_int_malloc, _int_free): Remove zero perturb_byte checks.
49199         * malloc/malloc.c: (force_reg): Remove.
49200         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49201         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49202         force_reg by atomic_forced_read.
49203         * malloc/arena.c (ptmalloc_init): Likewise.
49204         * malloc/hooks.c (top_check): Likewise.
49206 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49210 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
49212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49214 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
49216         * math/auto-libm-test-in: Add tests of lgamma.
49217         * math/auto-libm-test-out: Regenerated.
49218         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49219         (M_LOG_2_SQRT_PIl): Likewise.
49220         (lgamma_test_data): Use AUTO_TESTS_f_f1.
49221         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49222         mpfr_f_f1.
49223         (func_calc_desc): Add mpfr_f_f1 union field.
49224         (ARGS1): New macro.
49225         (ARGS2): Likewise.
49226         (ARGS3): Likewise.
49227         (ARGS4): Likewise.
49228         (RET1): Likewise.
49229         (RET2): Likewise.
49230         (CALC): Likewise.
49231         (FUNC): Likewise.
49232         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49233         (test_functions): Add lgamma.
49234         (calc_generic_results): Handle mpfr_f_f1.
49235         * sysdeps/i386/fpu/libm-test-ulps: Update.
49236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49238 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49240         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49241         __mpn_add_n for PowerPC64/POWER7.
49242         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49243         __mpn_sub_n for PowerPC64/POWER7.
49245         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49246         __mpn_addmul_1 for PowerPC64.
49247         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49248         __mpn_submul_1 for PowerPC64.
49249         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49250         for PowerPC64.
49251         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49252         for PowerPC64.
49254 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
49256         [BZ #15089]
49257         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49259 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49261         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49263         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49264         add multiarch folders.
49265         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49266         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49267         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49268         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49269         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49270         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49271         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49272         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49273         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49274         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49275         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49284         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49286         New file.
49287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49288         New file.
49289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49290         multiarch __ieee754_hypot for PowerPC32.
49291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49292         New file.
49293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49294         New file.
49295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49296         multiarch __ieee754_hypotf for PowerPC32.
49298         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49299         long_double_symbol only if __logbl is defined.
49300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49301         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49302         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49303         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49304         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49305         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49306         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49307         path for implementation.
49308         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49309         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49311         logb, and logbl multiarch implementations for PowerPC32.
49312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49313         file.
49314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49315         file.
49316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49317         multiarch logb for PowerPC32.
49318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49319         file.
49320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49321         file.
49322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49323         multiarch logbf for PowerPC32.
49324         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49326         file.
49327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49328         multiarch logbl implementation for PowerPC32.
49330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49331         and modff multiarch implementations.
49332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49333         New file.
49334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49335         New file.
49336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49337         multiarch modf for PowerPC32.
49338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49339         New file.
49340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49341         New file.
49342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49343         multiarch modff for PowerPC32.
49345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49346         and lrintf multiarch implementations.
49347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49348         New file.
49349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49350         New file.
49351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49352         multiarch lrint for PowerPC32.
49353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49354         file: multiarch lrintf for PowerPC32.
49356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49357         and lroundf multiarch implementations.
49358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49359         New file.
49360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49361         New file.
49362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49363         New file.
49364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49365         multiarch lround for PowerPC32.
49366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49367         file: multiarch lroundf for PowerPC32.
49369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49370         copysign and copysignf multiarch implementations.
49371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49372         New file.
49373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49374         New file.
49375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49376         file: multiarch copysign for PowerPC32.
49377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49378         file: multiarch copysignf for PowerPC32.
49380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49381         and truncf multiarch implementations.
49382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49383         New file.
49384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49385         file.
49386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49387         multiarch trunc for PowerPC32.
49388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49389         New file.
49390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49391         New file.
49392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49393         multiarch truncf for PowerPC32.
49395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49396         and roundf multiarch implementations.
49397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49398         New file.
49399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49400         file.
49401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49402         multiarch round for PowerPC32.
49403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49404         New file.
49405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49406         New file.
49407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49408         multiarch roundf for PowerPC32.
49410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49411         and floorf multiarch implementations.
49412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49413         New file.
49414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49415         file.
49416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49417         multiarch floor for PowerPC32.
49418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49419         New file.
49420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49421         New file.
49422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49423         multiarch floorf for PowerPC32.
49425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49426         and ceilf multiarch implementations.
49427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49428         New file.
49429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49430         file.
49431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49432         multiarch ceil for PowerPC32.
49433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49434         New file.
49435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49436         file.
49437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49438         multiarch ceilf for PowerPC32.
49440         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49441         is defined.
49442         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49443         FINITEF is defined.
49444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49445         and finitef multiarch implementations.
49446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49447         New file.
49448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49449         file.
49450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49451         multiarch finite for PowerPC32.
49452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49453         New file.
49454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49455         file: multiarch finitef for PowerPC32.
49457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49458         and isinff multiarch implementations.
49459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49460         file.
49461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49462         file.
49463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49464         multiarch isinf for PowerPC32.
49465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49466         New file.
49467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49468         multiarch isinff for PowerPC32.
49470         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49471         alias when __isnan is defined.
49472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49473         and isnanf multiarch implementations.
49474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49475         file.
49476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49477         file.
49478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49479         file.
49480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49481         file.
49482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49483         multiarch isnan for PowerPC32.
49484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49485         New file.
49486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49487         New file.
49488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49489         multiarch isnanf for PowerPC32.
49491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49492         and sqrtf multiarch implementations.
49493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49494         file.
49495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49496         file.
49497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49498         multiarch sqrt for PowerPC32.
49499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49500         file.
49501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49502         file.
49503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49504         multiarch sqrtf for PowerPC32.
49506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49507         and llroundf multiarch implementations.
49508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49509         New file.
49510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49511         New file.
49512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49513         New file.
49514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49515         file: multiarch llround for PowerPC32.
49516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49517         file: multiarch llroundf for PowerPC32.
49519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49520         multiarch PowerPC32 fpu implementations.
49521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49522         New file.
49523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49524         New file.
49525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49526         multiarch llrint for PowerPC32.
49527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49528         New file.
49529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49530         New file.
49531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49532         file.
49534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49536         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49537         file.
49538         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49539         file.
49540         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49541         file.
49542         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49543         multiarch wordcopy for PPC32.
49544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49545         wordcopy objects.
49546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49547         (__libc_ifunc_impl_list): Likewise.
49548         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49549         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49550         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49551         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49552         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49553         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49555         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49557         file.
49558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49559         file.
49560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49561         file.
49562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49563         multiarch wcscpy for PPC32.
49564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49565         multiarch objects.
49566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49567         (__libc_ifunc_impl_list): Likewise.
49568         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49569         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49570         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49571         sysdeps/powerpc/power6/wcscpy.c.
49573         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49575         file.
49576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49577         file.
49578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49579         file.
49580         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49581         multiarch wcsrchr for PPC32.
49582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49583         multiarch objects.
49584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49585         (__libc_ifunc_impl_list): Likewise.
49586         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49587         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49588         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49589         sysdeps/powerpc/power6/wcsrchr.c.
49591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49592         file.
49593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49594         file.
49595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49597         multiarch wcschr for PPc32.
49598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49599         multiarch objects.
49600         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49601         (__libc_ifunc_impl_list): Likewise.
49602         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49603         * sysdeps/powerpc/power6/wcschr.c: ... to here.
49604         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49605         sysdeps/powerpc/power6/wcschr.c.
49607         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49608         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49609         file.
49610         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49611         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49612         file: multiarch strchr for PPC32.
49613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49614         multiarch objects.
49615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49616         (__libc_ifunc_impl_list): Likewise.
49618         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49619         name.
49620         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49621         file.
49622         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49623         file.
49624         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49625         multiarch strchrnul for PPC32.
49626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49627         multiarch objects.
49628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49629         (__libc_ifunc_impl_list): Likewise.
49631         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49632         file.
49633         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49634         multiarch strncasecmp for PPC32.
49635         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49636         file.
49637         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49638         multiarch strncasecmp_l for PPC32.
49639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49640         strncasecmp multiarch objects.
49641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49642         (__libc_ifunc_impl_list): Likewise.
49644         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49645         file.
49646         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49647         multiarch strncasecmp for PPC32.
49648         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49649         New file.
49650         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49651         multiarch strcasecmp_l for PPC32.
49652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49653         multiarch objects.
49654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49655         (__libc_ifunc_impl_list): Likewise.
49657         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49658         file.
49659         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49660         file.
49661         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49662         multiarch strncmp for PPC32.
49663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49664         multiarch objects.
49665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49666         (__libc_ifunc_impl_list): Likewise.
49668         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49669         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49670         file.
49671         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49672         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49674         multiarch objects.
49675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49676         (__libc_ifunc_impl_list): Likewise.
49678         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49679         file.
49680         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49681         file.
49682         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49684         multiarch objects.
49685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49686         (__libc_ifunc_impl_list): Likewise.
49688         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49689         file.
49690         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49691         file.
49692         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49693         multiarch rawmemchr for PPC32.
49694         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49695         multiarch objects.
49696         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49697         (__libc_ifunc_impl_list): Likewise.
49699         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49700         file.
49701         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49702         file.
49703         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49704         file: memrchr multiarch for PPC32.
49705         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49706         multiarch objects.
49707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49708         (__libc_ifunc_impl_list): Likewise.
49710         * string/memchr.c (__memchr): Using macro to redefine symbol name.
49711         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49712         file.
49713         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49714         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49715         multiarch memchr for PPC32.
49716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49717         multiarch objects.
49718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49719         (__libc_ifunc_impl_list): Likewise.
49721         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49722         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49723         file.
49724         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49725         file.
49726         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49727         file: multiarch mempcpy for PPC32.
49728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49729         multiarch objects.
49730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49731         (__libc_ifunc_impl_list): Likewise.
49733         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49734         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49735         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49736         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49737         multiarch bzero for PPC32.
49738         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49739         file.
49740         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49741         file.
49742         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49743         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49744         file: multiarch memset for PPC32.
49745         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49747         memset multiarch objects.
49748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49749         (__libc_ifunc_impl_list): Likewise.
49751         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49752         file.
49753         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49754         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49755         memcmp for PPC32.
49756         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49758         multiarch objects.
49759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49760         (__libc_ifunc_impl_list): Likewise.
49762         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49763         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49764         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49765         file.
49766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49767         file.
49768         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49769         file.
49770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49771         multiarch memcpy for PPC32.
49772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49773         multiarch objects.
49774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49775         (__libc_ifunc_impl_list): Likewise.
49777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49778         support multiarch for POWER/PPC32.
49779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49780         Likewise.
49781         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49783         Implies file to make multiarch folder appers before the fpu and
49784         default folder for power4 configuration.
49786 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49788         * scripts/bench.pl: Append volatile keyword to type.
49790 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49792         * sysdeps/sh/sotruss-lib.c: New file.
49793         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49795 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49799 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
49801         [BZ #6810]
49802         * math/w_tgamma.c: Include <errno.h>.
49803         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
49804         * math/w_tgammaf.c: Include <errno.h>.
49805         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
49806         * math/w_tgammal.c: Include <errno.h>.
49807         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
49808         * math/auto-libm-test-in: Do not allow missing errno on tgamma
49809         underflow.  Add more tgamma tests.
49810         * math/auto-libm-test-out: Regenerated.
49811         * sysdeps/i386/fpu/libm-test-ulps: Update.
49812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49814         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49815         sin, sinh, tan, tanh, tgamma, y0 and y1.
49816         * math/auto-libm-test-out: Regenerated.
49817         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49818         (TEST_COND_x86): Likewise.
49819         (M_E2l): Remove macro.
49820         (M_E3l): Likewise.
49821         (M_2_SQRT_PIl): Likewise.
49822         (M_SQRT_PIl): Likewise.
49823         (M_1_DIV_El): Likewise.
49824         (log_test_data): Use AUTO_TESTS_f_f.
49825         (log10_test_data): Likewise.
49826         (log1p_test_data): Likewise.
49827         (log2_test_data): Likewise.
49828         (sin_test_data): Likewise.
49829         (sin_tonearest_test_data): Likewise.
49830         (sin_towardzero_test_data): Likewise.
49831         (sin_downward_test_data): Likewise.
49832         (sin_upward_test_data): Likewise.
49833         (sinh_test_data): Likewise.
49834         (sinh_tonearest_test_data): Likewise.
49835         (sinh_towardzero_test_data): Likewise.
49836         (sinh_downward_test_data): Likewise.
49837         (sinh_upward_test_data): Likewise.
49838         (tan_test_data): Likewise.
49839         (tan_tonearest_test_data): Likewise.
49840         (tan_towardzero_test_data): Likewise.
49841         (tan_downward_test_data): Likewise.
49842         (tan_upward_test_data): Likewise.
49843         (tanh_test_data): Likewise.
49844         (tgamma_test_data): Likewise.
49845         (y0_test_data): Likewise.
49846         (y1_test_data): Likewise.
49847         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49848         (special_real_inputs): Add pi/4.
49849         * sysdeps/i386/fpu/libm-test-ulps: Update.
49850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49852 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49854         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49855         "longjmp_target" static probes.
49856         (__longjmp): Rename to __longjmp_symbol.
49857         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49858         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49859         on which longjmp to generate.
49860         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49862         probe.
49863         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49864         (__sigjmp_save): Rename to __sigjmp_save_symbol.
49865         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49866         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49867         and __sigjmp_save_symbol based on which sigsetjmp to generated.
49868         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49870         __longjmp_symbol based on which __longjmp to generate.
49871         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49872         probe.
49873         (setjmp): Rename to setjmp_symbol.
49874         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49875         (_setjmp): Rename to _setjmp_symbol.
49876         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49877         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49878         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49879         which setjmp to generate.
49880         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49881         "longjmp_target" static probes.
49883 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49885         * benchtests/README: Add note about output arguments.
49886         * benchtests/bench-sincos.c: Remove file.
49887         * benchtests/sincos-inputs: New file.
49888         * scripts/bench.pl: Identify output arguments and define
49889         static variables for them.
49891         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49893         [BZ #15941]
49894         * Makefile (INSTALL): Add install-plain.texi as the primary
49895         dependency.
49896         * manual/install-plain.texi: New file.
49897         * manual/install.texi: Include node directive only for
49898         non-plaintext output.
49900 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
49902         * stdlib/longlong.h: Update from GCC.
49904         [BZ #6807]
49905         [BZ #15901]
49906         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49907         * math/w_j0f.c (y0f): Likewise.
49908         * math/w_j0l.c (__y0l): Likewise.
49909         * math/w_j1.c (y1): Likewise.
49910         * math/w_j1f.c (y1f): Likewise.
49911         * math/w_j1l.c (__y1l): Likewise.
49912         * math/w_jn.c (yn): Likewise.
49913         * math/w_jnf.c (ynf): Likewise.
49914         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49915         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
49916         value for Bessel function domain errors outside _SVID_ mode.
49917         Adjust sign of return value for yn (negative integer, 0).
49918         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49919         by zero in return for negative x and set sign appropriately for
49920         negative n.
49921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49922         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49923         * math/libm-test.inc (y0_test_data): Add more tests and adjust
49924         expectations in error cases.
49925         (y1_test_data): Likewise.
49926         (yn_test_data): Likewise.
49927         * sysdeps/i386/fpu/libm-test-ulps: Update.
49928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49930 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49932         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49933         "64" to "64-v1".  Add "64-v2".
49934         (abi-64-options): Rename to ...
49935         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
49936         (abi-64-condition): Rename to ...
49937         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
49938         (abi-64-ld-soname): Rename to ...
49939         (abi-64-v1-ld-soname): ... this.
49940         (abi-64-v2-options): Define.
49941         (abi-64-v2-condition): Likewise.
49942         (abi-64-v2-ld-soname): Likewise.
49943         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49944         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49949 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49950             Alan Modra  <amodra@gmail.com>
49952         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49953         New versions for use with the ELFv2 ABI.
49954         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49955         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49956         declaration.
49957         (struct La_ppc64v2_retval): Likewise.
49958         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49959         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49960         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49961         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49962         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49963         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49964         Do not save or restore CR.
49965         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49966         (_dl_profile_resolve): Do no save or restore CR.  Support extended
49967         return values for ELFv2 ABI.  Fix location of FPR return registers.
49968         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49969         updated values for _CALL_ELF == 2.
49970         (La_regs, La_retval, int_retval): Likewise.
49972 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49974         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49975         (FRAME_MIN_SIZE_PARM): Likewise.
49976         (FRAME_BACKCHAIN): Likewise.
49977         (FRAME_CR_SAVE): Likewise.
49978         (FRAME_LR_SAVE): Likewise.
49979         (FRAME_TOC_SAVE): Likewise.
49980         (FRAME_PARM_SAVE): Likewise.
49981         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49982         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49983         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49984         (call_mcount_parm_offset): New macro.
49985         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49986         (PROF): Use symbolic stack frame offsets.
49987         (TAIL_CALL_SYSCALL_ERROR): Likewise.
49988         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49989         Redefine in terms of FRAME_MIN_SIZE.
49990         (_dl_runtime_resolve): Use symbolic stack frame offsets.
49991         (_dl_profile_resolve): Likewise.  Update comment.
49992         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49993         symbols stack frame offsets.
49994         (__sigsetjmp): Likewise.
49995         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49996         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49997         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49998         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
50000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
50001         (FRAME_BACKCHAIN): Remove.
50002         (FRAME_CR_SAVE): Likewise.
50003         (FRAME_LR_SAVE): Likewise.
50004         (FRAME_COMPILER_DW): Likewise.
50005         (FRAME_LINKER_DW): Likewise.
50006         (FRAME_TOC_SAVE): Likewise.
50007         (FRAME_PARM_SAVE): Likewise.
50008         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
50009         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
50010         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
50012         (CHECK_SP): Use symbolic stack frame offsets.
50013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
50014         zone" instead of caller's parameter save area for temp storage.
50015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50016         Likewise.  Also, use symbolic stack frame offsets.
50017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
50018         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
50019         our own stack frame instead of the caller's.
50020         (__socket): Use symbolic stack frame offsets.
50022 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50023             Alan Modra  <amodra@gmail.com>
50025         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
50026         Define.
50027         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
50028         (PPC64_LOCAL_ENTRY_OFFSET): Define.
50029         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
50030         New function.
50031         (elf_machine_fixup_plt): Call it.
50032         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
50033         reloc arguments.
50034         (elf_machine_rela): Update call to elf_machine_plt_conflict.
50035         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50036         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
50037         r2 before calling target.
50039 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50040             Alan Modra  <amodra@gmail.com>
50042         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
50043         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
50044         versions of macros to support ELFv2 ABI.
50045         (LOCALENTRY): New macro.
50046         (ENTRY, EALIGN): Use it.
50047         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
50048         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
50049         fall through into ENTRY entry point.
50050         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
50051         Only define if _CALL_ELF != 2.
50053         (elf_machine_matches_host): Verify ABI version matches.
50054         (RTLD_START): Use LOCALENTRY.
50055         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
50056         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
50057         (PLT_ENTRY_WORDS): New macro.
50058         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
50059         (elf_machine_runtime_setup): Support ELFv2 ABI.
50060         (elf_machine_fixup_plt): Likewise.
50061         (elf_machine_plt_conflict): Likewise.
50062         (resolve_ifunc): Likewise.
50063         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50064         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50065         Likewise.
50066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
50067         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
50068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50069         (makecontext): Support ELFv2 ABI.
50070         * elf/elf.h (EF_PPC64_ABI): Define.
50072 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50074         * sysdeps/powerpc/powerpc64/sysdep.h
50075         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
50076         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
50077         (ENTRY) [ASSEMBLER]: ... but instead here ...
50078         (EALIGN) [ASSEMBLER]: ... and here.
50079         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
50080         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
50081         (ENTRY_2) [!ASSEMBLER]: Use it.
50082         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
50083         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
50084         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50085         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
50086         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
50087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
50088         Use PPC64_LOAD_FUNCPTR.
50090         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
50092 2013-12-04  Alan Modra  <amodra@gmail.com>
50094         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
50095         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
50096         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
50097         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
50099         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
50100         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
50101         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
50102         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
50103         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
50104         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
50106 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50109         (__makecontext): Fix incorrect CFI when backtracing out of
50110         context created via makecontext.
50111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
50112         (__setcontext): Fix incorrect CFI during switch to new context.
50113         (__novec_setcontext): Likewise.
50115 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
50117         [BZ #4772]
50118         * time/strptime_l.c (__strptime_internal): Allow modifiers
50119         in strptime.
50120         * time/tst-strptime.c (day_tests): Add testcase.
50122 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50124         * scripts/bench.pl: Skip over blank lines.
50126 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
50128         [BZ #926]
50129         * manual/time.texi (Calendar Time): Clarify what timezone functions
50130         use.
50132 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50136 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
50138         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
50139         implementation.
50140         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
50141         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
50142         * debug/memset_chk.c (__memset_chk): Likewise.
50143         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
50144         * debug/strncpy_chk.c: Likewise.
50146 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50148         [BZ #15268]
50149         [BZ #15425]
50150         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50151         (__ieee754_exp): For possibly underflowing results, check size of
50152         result and force underflow exception if required.
50153         * math/auto-libm-test-in: Add more tests of exp.
50154         * math/auto-libm-test-out: Regenerated.
50155         * sysdeps/i386/fpu/libm-test-ulps: Update.
50156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50158         [BZ #16283]
50159         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50160         * math/w_exp2f.c (__exp2f): Likewise.
50161         * math/w_exp2l.c (__exp2l): Likewise.
50162         * math/auto-libm-test-in: Do not allow missing errno on exp2
50163         underflow.
50164         * math/auto-libm-test-out: Regenerated.
50166 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
50168         [BZ #16274]
50169         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50170         handle filename validation.
50171         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50172         (do_open): Delete.
50174 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50176         [BZ #6786]
50177         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50178         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50179         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50180         <float.h>.
50181         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50182         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50183         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50185         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50186         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50187         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50188         * math/auto-libm-test-in: Don't allow missing errno from erfc.
50189         Add more erfc tests.
50190         * math/auto-libm-test-out: Regenerated.
50191         * sysdeps/i386/fpu/libm-test-ulps: Update.
50192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50194         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50195         exp2, expm1, j0 and j1.
50196         * math/auto-libm-test-out: Regenerated.
50197         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50198         (erfc_test_data): Likewise.
50199         (exp_test_data): Likewise.
50200         (exp_tonearest_test_data): Likewise.
50201         (exp_towardzero_test_data): Likewise.
50202         (exp_downward_test_data): Likewise.
50203         (exp_upward_test_data): Likewise.
50204         (exp10_test_data): Likewise.
50205         (exp2_test_data): Likewise.
50206         (expm1_test_data): Likewise.
50207         (j0_test_data): Likewise.
50208         (j1_test_data): Likewise.
50209         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50210         (input_flag_type): Add flag_xfail_rounding.
50211         (input_flags): Add xfail-rounding.
50212         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50213         (output_for_one_input_case): Handle flag_xfail_rounding.
50214         * sysdeps/i386/fpu/libm-test-ulps: Update.
50215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50217 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
50219         [BZ #16289]
50220         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50221         division by 0.
50223 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50225         [BZ #16195]
50226         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50227         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50228         (STAP_PROBE0): New macro.
50229         (STAP_PROBE1): Likewise.
50230         (STAP_PROBE2): Likewise.
50231         (STAP_PROBE3): Likewise.
50232         (STAP_PROBE4): Likewise.
50234 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
50236         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50238 2013-12-02  Steve Ellcey  <sellcey@mips.com>
50240         * benchtests/Makefile (bench): Add sqrt.
50241         (LDLIBS-bench-sqrt): New.
50242         * benchtests/sqrt-input: New.
50244 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
50246         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50247         (GAIH_EAI): Likewise.
50248         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50249         (gaih_inet): Likewise.
50250         (getaddrinfo): Don't use GAIH_EAI.
50252         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50253         (struct gaih): Remove definition.
50255 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50257         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50258         Use HERRNOP directly.
50260 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50264 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
50266         * math/gen-auto-libm-tests.c (test_functions): Add more
50267         single-argument functions.
50268         (special_fill_pi_2): New function.
50269         (special_fill_minus_pi_2): Likewise.
50270         (special_fill_pi_6): Likewise.
50271         (special_fill_minus_pi_6): Likewise.
50272         (special_fill_pi_3): Likewise.
50273         (special_fill_2pi_3): Likewise.
50274         (special_fill_e): Likewise.
50275         (special_fill_1_e): Likewise.
50276         (special_fill_e_minus_1): Likewise.
50277         (special_real_inputs): Add more special inputs.
50278         (output_for_one_input_case): Do not require ERANGE on underflow to
50279         zero if round-to-nearest result does not underflow to zero, unless
50280         exact results required.
50281         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50282         atan, atanh, cbrt, cos and cosh.
50283         * math/auto-libm-test-out: Regenerated.
50284         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50285         (acos_tonearest_test_data): Likewise.
50286         (acos_towardzero_test_data): Likewise.
50287         (acos_downward_test_data): Likewise.
50288         (acos_upward_test_data): Likewise.
50289         (acosh_test_data): Likewise.
50290         (asin_test_data): Likewise.
50291         (asin_tonearest_test_data): Likewise.
50292         (asin_towardzero_test_data): Likewise.
50293         (asin_upward_test_data): Likewise.
50294         (asinh_test_data): Likewise.
50295         (atan_test_data): Likewise.
50296         (atanh_test_data): Likewise.
50297         (cbrt_test_data): Likewise.
50298         (cos_test_data): Likewise.
50299         (cos_tonearest_test_data): Likewise.
50300         (cos_towardzero_test_data): Likewise.
50301         (cos_downward_test_data): Likewise.
50302         (cos_upward_test_data): Likewise.
50303         (cosh_test_data): Likewise.
50304         (cosh_tonearest_test_data): Likewise.
50305         (cosh_towardzero_test_data): Likewise.
50306         (cosh_downward_test_data): Likewise.
50307         (cosh_upward_test_data): Likewise.
50308         * sysdeps/i386/fpu/libm-test-ulps: Update.
50309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50311 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
50313         [BZ #6787]
50314         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50315         * math/w_exp10f.c (__exp10f): Likewise.
50316         * math/w_exp10l.c (__exp10l): Likewise.
50317         * math/libm-test.inc (exp10_test_data): Add more tests and expect
50318         errno settings in existing tests.
50320         [BZ #14032]
50321         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50322         precision control set to double precision.
50323         * sysdeps/i386/fpu/w_sqrt.c: New file.
50324         * math/auto-libm-test-in: Add more tests.
50325         * math/auto-libm-test-out: Update.
50327         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50328         (sqrt_test_tonearest): New function.
50329         (sqrt_towardzero_test_data): New variable.
50330         (sqrt_test_towardzero): New function.
50331         (sqrt_downward_test_data): New variable.
50332         (sqrt_test_downward): New function.
50333         (sqrt_upward_test_data): New variable.
50334         (sqrt_test_upward): New function.
50335         (main): Call the new functions.
50337         * math/gen-auto-libm-tests.c: New file.
50338         * math/auto-libm-test-in: Likewise.
50339         * math/auto-libm-test-out: New generated file.
50340         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50341         variables.
50342         (%beautify): Add generated representations of zero.
50343         (top level): Set $auto_input and call parse_auto_input.
50344         (beautify): Remove trailing "f" from hex float constants.
50345         (parse_args): Handle XFAIL_TEST.
50346         (convert_condition): New function.
50347         (or_value): Likewise.
50348         (or_cond_value): Likewise.
50349         (generate_testfile): Handle AUTO_TESTS_* lines.
50350         (parse_auto_input): New function.
50351         * math/libm-test.inc (XFAIL_TEST): New macro.
50352         (ERRNO_UNCHANGED): Update value.
50353         (ERRNO_EDOM): Likewise.
50354         (ERRNO_ERANGE): Likewise.
50355         (IGNORE_RESULT): Likewise.
50356         (TEST_COND_flt_32): New macro.
50357         (TEST_COND_dbl_64): Likewise.
50358         (TEST_COND_ldbl_96_intel): Likewise.
50359         (TEST_COND_ldbl_96_m68k): Likewise.
50360         (TEST_COND_ldbl_128): Likewise.
50361         (TEST_COND_ldbl_128ibm): Likewise.
50362         (TEST_COND_long32): Likewise.
50363         (TEST_COND_long64): Likewise.
50364         (TEST_COND_before_rounding): Likewise.
50365         (TEST_COND_after_rounding): Likewise.
50366         (enable_test): Handle XFAIL_TEST flag.
50367         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50368         with finite results.
50369         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50370         auto-libm-test-out.
50372 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50373             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50375         [BZ #16214]
50376         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50377         __tls_get_addr_internal instead of __tls_get_offset in order to
50378         avoid GOT pointer dependency.  Make rtld export
50379         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50380         __tls_get_addr since we are a __tls_get_offset platform.
50381         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50382         GOT pointer being set up before.
50383         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50385 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
50387         * manual/math.texi (Errors in Math Functions): Document accuracy
50388         goals.
50390         [BZ #15004]
50391         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50392         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50393         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50394         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50395         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50396         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50397         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50398         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50399         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50400         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50401         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50402         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50403         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50404         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50405         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50406         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50408         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50409         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50410         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50411         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50412         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50413         Likewise.
50414         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50415         Likewise.
50416         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50417         Likewise.
50418         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50419         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50420         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50421         atomic-feupdateenv and flt-rounds.
50422         * sysdeps/powerpc/nofpu/Versions (libc): Add
50423         __atomic_feholdexcept, __atomic_feclearexcept,
50424         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50425         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50426         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50427         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50428         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50429         here.
50430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50431         Update.
50433         * manual/arith.texi (FP Exceptions): Document that exceptions may
50434         not be raised when matherr is used.
50435         (Math Error Reporting): Document overflow in directed rounding
50436         modes.  Document that errno may not be set when finite values are
50437         returned on overflow.  Document intent to set errno on underflow
50438         only for underflow to zero.
50440         [BZ #16271]
50441         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50442         round-to-nearest then adjust result for other rounding modes.
50443         * include/fenv.h (fegetround): Use libm_hidden_proto.
50444         * math/fegetround.c (fegetround): Use libm_hidden_def.
50445         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50446         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50447         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50448         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50449         Likewise.
50450         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50451         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50452         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50453         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50455 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50457         [BZ #16077]
50458         * nss/Versions (libnss_files): Add
50459         _nss_files_gethostbyname3_r.
50460         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50461         New function.
50462         (HOST_DB_LOOKUP): Remove macro.
50463         (_nss_files_gethostbyname_r): Implement function without the
50464         HOST_DB_LOOKUP macro.
50465         (_nss_files_gethostbyname2_r): Likewise.
50467 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
50469         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50471 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
50473         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50474         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50475         warning.
50477 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50479         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50480         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50481         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50482         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50483         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50484         __fe_nomask_env_priv and attribute_hidden.
50485         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50486         (libc_feupdateenv_test_ppc): Likewise.
50487         (libc_feresetround_ppc): Likewise.
50488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50489         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50490         compat_symbol macro.
50491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50492         (__fe_nomask_env): Likewise.
50493         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50495 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50497         * string/Makefile: Remove ifunc tests.
50498         * string/test-string.h: Define TEST_IFUNC.
50499         * string/test-bcopy-ifunc.c: Remove.
50500         * string/test-bzero-ifunc.c: Likewise.
50501         * string/test-memccpy-ifunc.c: Likewise.
50502         * string/test-memchr-ifunc.c: Likewise.
50503         * string/test-memcmp-ifunc.c: Likewise.
50504         * string/test-memcpy-ifunc.c: Likewise.
50505         * string/test-memmem-ifunc.c: Likewise.
50506         * string/test-memmove-ifunc.c: Likewise.
50507         * string/test-mempcpy-ifunc.c: Likewise.
50508         * string/test-memrchr-ifunc.c: Likewise.
50509         * string/test-memset-ifunc.c: Likewise.
50510         * string/test-rawmemchr-ifunc.c: Likewise.
50511         * string/test-stpcpy-ifunc.c: Likewise.
50512         * string/test-stpncpy-ifunc.c: Likewise.
50513         * string/test-strcasecmp-ifunc.c: Likewise.
50514         * string/test-strcasestr-ifunc.c: Likewise.
50515         * string/test-strcat-ifunc.c: Likewise.
50516         * string/test-strchr-ifunc.c: Likewise.
50517         * string/test-strchrnul-ifunc.c: Likewise.
50518         * string/test-strcmp-ifunc.c: Likewise.
50519         * string/test-strcpy-ifunc.c: Likewise.
50520         * string/test-strcspn-ifunc.c: Likewise.
50521         * string/test-strlen-ifunc.c: Likewise.
50522         * string/test-strncasecmp-ifunc.c: Likewise.
50523         * string/test-strncat-ifunc.c: Likewise.
50524         * string/test-strncmp-ifunc.c: Likewise.
50525         * string/test-strncpy-ifunc.c: Likewise.
50526         * string/test-strnlen-ifunc.c: Likewise.
50527         * string/test-strpbrk-ifunc.c: Likewise.
50528         * string/test-strrchr-ifunc.c: Likewise.
50529         * string/test-strspn-ifunc.c: Likewise.
50530         * string/test-strstr-ifunc.c: Likewise.
50532 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50534         * benchtests/Makefile: Remove ifunc tests.
50535         * benchtests/bench-string.h: Define TEST_IFUNC.
50536         * benchtests/bench-bcopy-ifunc.c: Remove.
50537         * benchtests/bench-bzero-ifunc.c: Likewise.
50538         * benchtests/bench-memccpy-ifunc.c: Likewise.
50539         * benchtests/bench-memchr-ifunc.c: Likewise.
50540         * benchtests/bench-memcmp-ifunc.c: Likewise.
50541         * benchtests/bench-memcpy-ifunc.c: Likewise.
50542         * benchtests/bench-memmem-ifunc.c: Likewise.
50543         * benchtests/bench-memmove-ifunc.c: Likewise.
50544         * benchtests/bench-mempcpy-ifunc.c: Likewise.
50545         * benchtests/bench-memrchr-ifunc.c: Likewise.
50546         * benchtests/bench-memset-ifunc.c: Likewise.
50547         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50548         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50549         * benchtests/bench-stpcpy-ifunc.c: Likewise.
50550         * benchtests/bench-stpncpy-ifunc.c: Likewise.
50551         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50552         * benchtests/bench-strcasestr-ifunc.c: Likewise.
50553         * benchtests/bench-strcat-ifunc.c: Likewise.
50554         * benchtests/bench-strchr-ifunc.c: Likewise.
50555         * benchtests/bench-strchrnul-ifunc.c: Likewise.
50556         * benchtests/bench-strcmp-ifunc.c: Likewise.
50557         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50558         * benchtests/bench-strcpy-ifunc.c: Likewise.
50559         * benchtests/bench-strcspn-ifunc.c: Likewise.
50560         * benchtests/bench-strlen-ifunc.c: Likewise.
50561         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50562         * benchtests/bench-strncat-ifunc.c: Likewise.
50563         * benchtests/bench-strncmp-ifunc.c: Likewise.
50564         * benchtests/bench-strncpy-ifunc.c: Likewise.
50565         * benchtests/bench-strnlen-ifunc.c: Likewise.
50566         * benchtests/bench-strpbrk-ifunc.c: Likewise.
50567         * benchtests/bench-strrchr-ifunc.c: Likewise.
50568         * benchtests/bench-strsep-ifunc.c: Likewise.
50569         * benchtests/bench-strspn-ifunc.c: Likewise.
50570         * benchtests/bench-strstr-ifunc.c: Likewise.
50572 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50574         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50576 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50578         * resolv/netdb.h: Use __glibc_reserved instead __unused.
50579         * rt/aio.h: Likewise.
50580         * sysdeps/gnu/bits/utmp.h: Likewise.
50581         * sysdeps/gnu/bits/utmpx.h: Likewise.
50582         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50583         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50584         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50585         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50586         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50587         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50588         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50589         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50590         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50591         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50592         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50593         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50594         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50596         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50597         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50598         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50599         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50600         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50601         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50602         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50603         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50604         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50605         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50606         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50608         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50609         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50610         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50611         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50612         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50613         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50614         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50615         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50616         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50617         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50618         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50619         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50620         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50621         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50622         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50623         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50625 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
50627         [BZ #16245]
50628         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50629         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50631 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
50633         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50634         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50635         Likewise.
50637 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50639         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50640         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50641         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50642         (__fesetround): Remove define.
50643         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50644         rounding and exceptions handling.
50645         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50646         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50647         (__fe_nomask_env): Likewise.
50648         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50649         __fegetround instead of fegetround.
50650         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50651         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50653 2013-11-21  Roland McGrath  <roland@hack.frob.com>
50655         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50656         it's there.
50658         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50660 2013-11-21  Meador Inge  <meadori@codesourcery.com>
50662         [BZ #11157]
50663         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50664         (encrypt_r): Likewise.
50665         * malloc/obstack.h (obstack_free): Likewise.
50666         * posix/unistd.h (encrypt): Likewise.
50668 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
50670         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50671         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50672         DL_CALL_DT_FINI() that call the functions directly.
50673         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50674         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50675         * elf/dl-fini.c: Likewise.
50677 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
50679         * malloc/hooks.c (memalign_check): Add alignment rounding.
50680         * malloc/malloc.c (_mid_memalign): New function.
50681         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50682         Implement by calling _mid_memalign.
50683         * manual/probes.texi (Memory Allocation Probes): Remove
50684         memory_valloc_retry and memory_pvalloc_retry.
50686 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50688         * locale/programs/locarchive.c (open_archive): Add const
50689         qualifier to ARCHIVEFNAME and copy default fname to
50690         DEFAULT_FNAME.
50692         [BZ #15601]
50693         * libio/tst-widetext.input: Rename Oriya to Odia.
50694         * locale/iso-639.def: Likewise.
50696         * manual/probes.texi (Mathematical Function Probes): Add
50697         documentation for sin, cos, asin and acos probes.
50698         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50699         (__sin32): Add slowasin probe.
50700         (__cos32): Add slowacos probe.
50701         (__mpsin): Add slowsin probe.
50702         (__mpcos): Add slowcos probe.
50704 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
50706         [BZ #15483]
50707         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50708         thread-local __sim_exceptions_thread and global
50709         __sim_exceptions_global.
50710         (__sim_disabled_exceptions): Change to thread-local
50711         __sim_disabled_exceptions_thread and global
50712         __sim_disabled_exceptions_global.
50713         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50714         and global __sim_round_mode_global.
50715         (__simulate_exceptions): Use thread-local floating-point state and
50716         set global state from it as needed.
50717         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50718         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50719         __sim_round_mode_thread.
50720         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50721         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50722         and global __sim_exceptions_global.
50723         (__sim_disabled_exceptions): Change to thread-local
50724         __sim_disabled_exceptions_thread and global
50725         __sim_disabled_exceptions_global.
50726         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50727         and global __sim_round_mode_global.
50728         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50729         (SIM_SET_GLOBAL): Likewise.
50730         * sysdeps/powerpc/soft-fp/sfp-machine.h
50731         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50732         __sim_round_mode_thread.
50733         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50734         __sim_disabled_exceptions_thread.
50735         (__sim_exceptions): Change to __sim_exceptions_thread.
50736         (__sim_disabled_exceptions): Change to
50737         __sim_disabled_exceptions_thread.
50738         (__sim_round_mode): Change to __sim_round_mode_thread.
50739         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50740         thread-local floating-point state and set global state from it as
50741         needed.
50742         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50743         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50744         (__sim_disabled_exceptions): Remove extern declaration.
50745         (feenableexcept): Use thread-local floating-point state and set
50746         global state from it as needed.
50747         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50748         extern declaration.
50749         (__sim_disabled_exceptions): Likewise.
50750         (__sim_round_mode): Likewise.
50751         (__fegetenv): Use thread-local floating-point state.
50752         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50753         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50754         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50755         floating-point state and set global state from it as needed.
50756         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50757         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50758         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50759         Likewise.
50760         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50761         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50762         Likewise.
50763         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50764         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50765         Use __sim_round_mode_thread.
50766         * math/test-fenv-tls.c: New file.
50767         * math/Makefile (tests): Add test-fenv-tls.
50768         ($(objpfx)test-fenv-tls): Depend on
50769         $(common-objpfx)nptl/libpthread.so.
50771 2013-11-19  Andreas Schwab  <schwab@suse.de>
50773         * locale/programs/locale.c (show_info): Decode wordarray elements.
50774         * locale/categories.def (LC_MONETARY): Add element for
50775         _NL_MONETARY_CRNCYSTR.
50776         * locale/C-monetary.c (conversion_rate): New variable.
50777         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50778         element.
50780 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
50782         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50783         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50785 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50787         * elf/Makefile (tst-auxv): New test.
50788         * elf/tst-auxv.c: New
50789         * elf/rtld.c (dl_main): Adjust AT_EXECFN
50791 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
50793         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50794         (hidden_proto): Caller changed.
50795         (hidden_tls_proto): New macro.
50796         (libc_hidden_tls_proto): Likewise.
50797         (rtld_hidden_tls_proto): Likewise.
50798         (libm_hidden_tls_proto): Likewise.
50799         (libresolv_hidden_tls_proto): Likewise.
50800         (librt_hidden_tls_proto): Likewise.
50801         (libdl_hidden_tls_proto): Likewise.
50802         (libnss_files_hidden_tls_proto): Likewise.
50803         (libnsl_hidden_tls_proto): Likewise.
50804         (libnss_nisplus_hidden_tls_proto): Likewise.
50805         (libutil_hidden_tls_proto): Likewise.
50807 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
50809         [BZ #10253]
50810         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50811         (decompose_rpath): Defer expansion to fillin_rpath.
50812         (_dl_init_paths): Pass linkmap to fillin_rpath.
50814 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50816         * benchtests/Makefile: Add strsep.
50817         * benchtests/bench-strsep.c: New file: strsep benchtest.
50818         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50820 2013-11-18  Andreas Schwab  <schwab@suse.de>
50822         * locale/programs/locale.c (show_info) [case byte]: Check for
50823         '\377' instead of '\177'.
50824         * locale/C-monetary.c (not_available): Always use "\377".
50825         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50826         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
50827         detect unavailable sign_posn locale elements.
50828         * locale/localeconv.c (__localeconv): For grouping and
50829         mon_grouping handle "\177" and "\377" like no grouping.
50830         (INT_ELEM): New macro.  Use it to set all numeric members.
50831         * locale/programs/ld-monetary.c (monetary_read)
50832         <tok_mon_grouping>: Normalize single -1 to the empty string.
50833         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50834         Likewise.
50836 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50838         [BZ #16055]
50839         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50840         when we match (nil).
50841         * stdio-common/tst-sscanf.c (struct test): Add testcase.
50843 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
50845         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50846         (NO_TEST_INLINE): Update value.
50847         (ERRNO_UNCHANGED): Likewise.
50848         (ERRNO_EDOM): Likewise.
50849         (ERRNO_ERANGE): Likewise.
50850         (IGNORE_RESULT): Likewise.
50851         (check_float_internal): Check signs of NaN results if
50852         TEST_NAN_SIGN used.
50853         (check_complex): Pass TEST_NAN_SIGN flag through to second
50854         check_float_internal call.
50855         (copysign_test_data): Add tests with quiet NaNs as second
50856         argument.  Use TEST_NAN_SIGN.
50857         (fabs_test_data): Add test of negative quiet NaN argument.  Use
50858         TEST_NAN_SIGN.
50859         (signbit_test_data): Add tests of quiet NaN argument.
50860         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50862         * math/gen-libm-test.pl (show_exceptions): Take extra argument
50863         $ignore_result.
50864         (parse_args): Handle function results specified as IGNORE.
50865         * math/libm-test.inc (IGNORE_RESULT): New macro.
50866         (check_float_internal): Do not check numerical result if flag
50867         IGNORE_RESULT set.
50868         (check_complex): Pass through IGNORE_RESULT to second
50869         check_float_internal call.
50870         (check_int): Do not check numerical result if flag IGNORE_RESULT
50871         set.
50872         (check_long): Likewise.
50873         (check_bool): Likewise.
50874         (check_longlong): Likewise.
50875         (lrint_test_data): Add tests of infinite and NaN arguments.
50876         (lrint_tonearest_test_data): Likewise.
50877         (lrint_towardzero_test_data): Likewise.
50878         (lrint_downward_test_data): Likewise.
50879         (lrint_upward_test_data): Likewise.
50880         (llrint_test_data): Likewise.
50881         (llrint_tonearest_test_data): Likewise.
50882         (llrint_towardzero_test_data): Likewise.
50883         (llrint_downward_test_data): Likewise.
50884         (llrint_upward_test_data): Likewise.
50885         (lround_test_data): Likewise.
50886         (llround_test_data): Likewise.
50888         * math/libm-test.inc (NO_TEST_INLINE): New macro.
50889         (ERRNO_UNCHANGED): Update value.
50890         (ERRNO_EDOM): Likewise.
50891         (ERRNO_ERANGE): Likewise.
50892         (NO_TEST_INLINE_FLOAT): New macro.
50893         (NO_TEST_INLINE_DOUBLE): Likewise.
50894         (enable_test): New function.
50895         (RUN_TEST_f_f): Check enable_test before running test.
50896         (RUN_TEST_2_f): Likewise.
50897         (RUN_TEST_fff_f): Likewise.
50898         (RUN_TEST_c_f): Likewise.
50899         (RUN_TEST_f_f1): Likewise.
50900         (RUN_TEST_fF_f1): Likewise.
50901         (RUN_TEST_fI_f1): Likewise.
50902         (RUN_TEST_ffI_f1): Likewise.
50903         (RUN_TEST_c_c): Likewise.
50904         (RUN_TEST_cc_c): Likewise.
50905         (RUN_TEST_f_i): Likewise.
50906         (RUN_TEST_f_i_tg): Likewise.
50907         (RUN_TEST_ff_i_tg): Likewise.
50908         (RUN_TEST_f_b): Likewise.
50909         (RUN_TEST_f_b_tg): Likewise.
50910         (RUN_TEST_f_l): Likewise.
50911         (RUN_TEST_f_L): Likewise.
50912         (RUN_TEST_fFF_11): Likewise.
50913         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50914         conditionals.
50915         (cosh_test_data): Likewise.
50916         (exp_test_data): Likewise.
50917         (expm1_test_data): Likewise.
50918         (hypot_test_data): Likewise.
50919         (pow_test_data): Likewise.
50920         (sinh_test_data): Likewise.
50921         (tanh_test_data): Likewise.
50922         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50923         flags argument.
50925         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50926         tests with quiet NaN input and output.
50927         (acosh_test_data): Likewise.
50928         (asin_test_data): Likewise.
50929         (asinh_test_data): Likewise.
50930         (atan_test_data): Likewise.
50931         (atanh_test_data): Likewise.
50932         (atan2_test_data): Likewise.
50933         (cbrt_test_data): Likewise.
50934         (cos_test_data): Likewise.
50935         (cosh_test_data): Likewise.
50936         (erf_test_data): Likewise.
50937         (erfc_test_data): Likewise.
50938         (exp_test_data): Likewise.
50939         (exp10_test_data): Likewise.
50940         (exp2_test_data): Likewise.
50941         (expm1_test_data): Likewise.
50942         (hypot_test_data): Likewise.
50943         (j0_test_data): Likewise.
50944         (j1_test_data): Likewise.
50945         (jn_test_data): Likewise.
50946         (lgamma_test_data): Likewise.
50947         (log_test_data): Likewise.
50948         (log10_test_data): Likewise.
50949         (log1p_test_data): Likewise.
50950         (log2_test_data): Likewise.
50951         (pow_test_data): Likewise.
50952         (scalb_test_data): Likewise.
50953         (sin_test_data): Likewise.
50954         (sincos_test_data): Likewise.
50955         (sinh_test_data): Likewise.
50956         (tan_test_data): Likewise.
50957         (tanh_test_data): Likewise.
50958         (tgamma_test_data): Likewise.
50959         (y0_test_data): Likewise.
50960         (y1_test_data): Likewise.
50961         (yn_test_data): Likewise.
50963         [BZ #16167]
50964         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50965         argument being NaN and avoid computations with second argument in
50966         that case.
50967         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50968         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50969         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50971 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
50973         * locale/iso-639.def: Add Chitwani Tharu (the).
50975 2013-11-14  Andreas Schwab  <schwab@suse.de>
50977         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50978         word instead of empty string.
50980 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50983         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50985         (__fe_nomask_env): Likewise.
50987 2013-11-13  Steve Ellcey  <sellcey@mips.com>
50989         * benchtests/bench-timing.h: Include time.h.
50991 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
50993         [BZ #15997]
50994         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50995         to 3.4.0 for x32.
50996         * sysdeps/unix/sysv/linux/configure: Regenerated.
50998 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
51000         [BZ #16151]
51001         * stdlib/strtod_l.c (round_and_return): Do not consider
51002         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
51003         exponent one less than half the least subnormal exponent.
51004         * stdlib/test-strtod-round-data: Add more tests.
51005         * stdlib/tst-strtod-round.c (tests): Regenerated.
51007 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51009         [BZ #14143]
51010         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51011         (__fe_mask_env): Likewise.
51012         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
51013         libm_hidden_proto and add function prototype.
51014         (__fe_mask_env): Add function prototype.
51015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51016         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
51017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51018         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
51019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51020         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
51022 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51024         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51025         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
51027 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51029         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51030         of htab_find_slot().
51032 2013-11-11  David S. Miller  <davem@davemloft.net>
51034         [BZ #16150]
51035         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
51036         symbol in the non-vis3 case in static builds.
51037         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
51038         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
51039         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
51040         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
51042 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
51044         [BZ #387]
51045         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
51046         it is empty.
51048 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51050         * benchtests/Makefile: Add bench-strtod.
51051         * benchtests/bench-strtod.c: New file: strtod benchtest
51053 2013-11-11  Andreas Schwab  <schwab@suse.de>
51055         [BZ #16153]
51056         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51057         terminating NUL in key length.
51059 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51061         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51062         Add artificial ODP entry for vDSO symbol for PPC64.
51063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
51064         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
51066 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
51068         [BZ #15374]
51069         * nss/getent.c (services_keys): Recognize services starting with digit.
51071 2013-11-06  David S. Miller  <davem@davemloft.net>
51073         [BZ #15985]
51074         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
51075         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
51077 2013-11-06  Will Newton  <will.newton@linaro.org>
51079         * manual/memory.texi (Malloc Examples): Remove register
51080         keyword from examples.
51082 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
51084         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
51086 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
51088         [BZ #6981]
51089         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
51090         depending on [__GCC_IEC_559 > 0].
51091         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
51092         depending on [__GCC_IEC_559_COMPLEX > 0].
51094 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
51096         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
51097         to iso-639.def.
51099 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
51101         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
51103 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
51105         [BZ #16112]
51106         * malloc/malloc (malloc_info): Do not handle first bin as
51107         special case.
51109 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
51111         * locale/iso-639.def: Add Central Nahuatl (nhn).
51113 2013-11-01  Bruno Haible  <bruno@clisp.org>
51115         [BZ #7003]
51116         * manual/math.texi (BSD Random): Specify range upper bound as
51117         in POSIX.
51119 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
51121         * locale/iso-639.def: Add Meadow Mari (mhr).
51123 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
51125         [BZ #14752], [BZ #15763]
51126         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
51127         Validate name.
51128         * rt/tst_shm.c: Add test for escaping directory.
51130 2013-10-31  Andreas Schwab  <schwab@suse.de>
51132         [BZ #15917]
51133         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
51134         followed by 'x' as part of digit sequence.
51135         * stdio-common/tst-sscanf.c (double_tests2): New tests.
51137 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
51139         [BZ #16037]
51140         * configure.ac: allow GNU Make 4.0 and greater.
51141         * configure: Regenerated.
51143 2013-10-30  Will Newton  <will.newton@linaro.org>
51145         [BZ #16038]
51146         * malloc/hooks.c (memalign_check): Limit alignment to the
51147         maximum representable power of two.
51148         * malloc/malloc.c (__libc_memalign): Likewise.
51149         * malloc/tst-memalign.c (do_test): Add test for very
51150         large alignment values.
51151         * malloc/tst-posix_memalign.c (do_test): Likewise.
51153 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51155         [BZ #11087]
51156         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51157         (munmap_chunk): Likewise.
51158         (mremap_chunk): Likewise.
51160 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51162         [BZ #15799]
51163         * stdlib/div.c (div): Remove obsolete code.
51164         * stdlib/ldiv.c (ldiv): Likewise.
51165         * stdlib/lldiv.c (lldiv): Likewise.
51167 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51169         [BZ #16071]
51170         * nss/nss_files/files-XXX.c (get_contents_ret): New
51171         enumerator.
51172         (get_contents): New function.
51173         (internal_getent): Use it.  Expand size of LINEBUFLEN.
51175 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
51177         * configure.in: Moved to ...
51178         * configure.ac: ... here. Change reference to configure.in
51179         to configure.ac.
51180         * sysdeps/arm/preconfigure.ac: ... here.
51181         configure.in to configure.ac.
51182         * sysdeps/gnu/configure.in: Moved to ...
51183         * sysdeps/gnu/configure.ac: ... here.
51184         * sysdeps/i386/configure.in: Moved to ...
51185         * sysdeps/i386/configure.ac: ... here.
51186         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51187         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51188         * sysdeps/mach/configure.in: Moved to ...
51189         * sysdeps/mach/configure.ac: ... here.
51190         * sysdeps/mach/hurd/configure.in: Moved to ...
51191         * sysdeps/mach/hurd/configure.ac: ... here.
51192         * sysdeps/powerpc/configure.in: Moved to ...
51193         * sysdeps/powerpc/configure.ac: ... here.
51194         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51195         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51196         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51197         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51198         * sysdeps/s390/s390-32/configure.in: Moved to ...
51199         * sysdeps/s390/s390-32/configure.ac: ... here.
51200         * sysdeps/s390/s390-64/configure.in: Moved to ...
51201         * sysdeps/s390/s390-64/configure.ac: ... here.
51202         * sysdeps/sh/configure.in: Moved to ...
51203         * sysdeps/sh/configure.ac: ... here.
51204         * sysdeps/sparc/configure.in: Moved to ...
51205         * sysdeps/sparc/configure.ac: ... here.
51206         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51207         * sysdeps/unix/sysv/linux/configure.ac: ... here.
51208         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51209         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51210         * sysdeps/x86_64/configure.in: Moved to ...
51211         * sysdeps/x86_64/configure.ac: ... here.
51212         * sysdeps/x86_64/preconfigure.in: Moved to ...
51213         * sysdeps/x86_64/preconfigure.ac: ... here.
51214         * aclocal.m4: Change reference to configure.in to configure.ac.
51215         * config.h.in: Likewise.
51216         * manual/install.texi: Likewise.
51217         * manual/maint.texi: Likewise.
51218         * Makefile: Likewise.
51219         * malloc/Makefile: Likewise.
51220         * nscd/Makefile: Likewise.
51221         * Makeconfig: Change reference to configure.in and
51222         preconfigure.in to configure.ac and preconfigure.ac
51223         respectively.
51224         * INSTALL: Regenerated.
51225         * configure: Likewise.
51226         * sysdeps/gnu/configure: Likewise.
51227         * sysdeps/i386/configure: Likewise.
51228         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51229         * sysdeps/mach/configure: Likewise.
51230         * sysdeps/mach/hurd/configure: Likewise.
51231         * sysdeps/powerpc/configure: Likewise.
51232         * sysdeps/powerpc/powerpc32/configure: Likewise.
51233         * sysdeps/powerpc/powerpc64/configure: Likewise.
51234         * sysdeps/s390/s390-32/configure: Likewise.
51235         * sysdeps/s390/s390-64/configure: Likewise.
51236         * sysdeps/sh/configure: Likewise.
51237         * sysdeps/sparc/configure: Likewise.
51238         * sysdeps/unix/sysv/linux/configure: Likewise.
51239         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51240         * sysdeps/x86_64/configure: Likewise.
51241         * sysdeps/x86_64/preconfigure: Likewise.
51243 2013-10-29  Andreas Schwab  <schwab@suse.de>
51245         * stdio-common/Makefile (tst-swscanf-ENV): Define.
51247 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51249         * benchtests/pow-inputs: Add new inputs.
51251         * benchtests/exp-inputs: Add new inputs.
51253         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51254         conditional check for return value.
51255         (__cos32): Likewise.
51257 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51259         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51260         to provide a boost for large inputs with word alignment.
51261         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51262         implementation based on optimized PPC64 strcpy.
51263         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51264         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51265         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51266         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51268 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51270         [BZ #2801]
51271         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51273 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51275         [BZ #14876]
51276         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51277         * time/tst-strptime.c (day_tests): Add testcase.
51279 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51281         [BZ #14029]
51282         * manual/pattern.texi: Acknowledge that fnmatch can fail.
51284 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
51286         [BZ #16074]
51287         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51288         MAP_FAILED on error.
51290 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51292         [BZ #16072]
51293         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51294         heap for large requests.
51296 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
51298         [BZ #9954]
51299         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51300         result if the result has no associated interface.
51301         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51302         interface for all 127.X.Y.Z addresses.
51304 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
51306         * locale/iso-639.def: Add Ligurian (lij)
51308 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
51310         [BZ #15825]
51311         * sunrpc/rpc_main.c: Document rpcgen -5.
51313 2013-10-19  Michael Stahl  <mstahl@redhat.com>
51315         * elf/rtld.c (do_preload): Print the reason why preloading failed.
51317 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51319         [BZ #10278]
51320         * posix/glob.c: Match only directories when trailing slash is present.
51321         * posix/tst-gnuglob.c (my_opendir): Do not open files.
51322         (main): Add testcase.
51324 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51326         [BZ #15670]
51327         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51329 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
51331         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51332         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51333         AUTH_DES and cindex for FIPS 140-2.
51334         (DES Encryption): Add cindex FIPS 46-3.
51336         * locale/locarchive.h (struct locarhandle): Add fname.
51337         * locale/programs/localedef.c (main): Pass ARGV[remaining]
51338         if an optional argument was specified to --list-archive,
51339         otherwise NULL.
51340         * locale/programs/locarchive.c (show_archive_content): Take new
51341         argument fname and pass it via ah.fname to open_archive.
51342         * locale/programs/localedef.h: Update decl.
51343         (open_archive): If AH->fname is non-null, open that file
51344         rather than the default file name, and don't ignore ENOENT.
51345         (create_archive): Set AH.fname to NULL.
51346         (delete_locales_from_archive): Likewise.
51347         (add_locales_to_archive): Likewise.
51348         * locale/programs/locfile.c (write_all_categories): Likewise.
51350 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
51351             Aldy Hernandez  <aldyh@redhat.com>
51353         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51354         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51355         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51356         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51357         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51358         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51359         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51360         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51361         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51362         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51363         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51364         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51365         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51366         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51367         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51368         Likewise.
51369         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51370         Likewise.
51371         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51372         Likewise.
51373         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51374         Likewise.
51375         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51376         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51377         Likewise.
51378         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51379         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51380         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51381         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51382         Likewise.
51383         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51384         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51385         * sysdeps/powerpc/preconfigure: Likewise.
51386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51387         Likewise.
51388         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51389         Replace contents of file by #include of <fenv_libc.h>.
51390         * sysdeps/powerpc/soft-fp/sfp-machine.h
51391         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51392         and <sys/prctl.h>.
51393         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51394         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51395         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51396         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51397         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51398         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51400         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51401         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51402         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51403         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51404         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51406         Allow copysignl PLT reference to be missing.
51408 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
51409             Joseph Myers  <joseph@codesourcery.com
51411         [BZ #15948]
51412         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51413         single character.
51414         (add_to_tablewc): Assert sequence of wide characters is nonempty.
51416 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51418         * elf/tst-tls-dlinfo.c: Don't include tls.h.
51419         * elf/tst-tls1.c: Likewise.
51420         * elf/tst-tls10.h: Likewise.
51421         * elf/tst-tls14.c: Likewise.
51422         * elf/tst-tls2.c: Likewise.
51423         * elf/tst-tls3.c: Likewise.
51424         * elf/tst-tls4.c: Likewise.
51425         * elf/tst-tls5.c: Likewise.
51426         * elf/tst-tls6.c: Likewise.
51427         * elf/tst-tls7.c: Likewise.
51428         * elf/tst-tls8.c: Likewise.
51429         * elf/tst-tls9.c: Likewise.
51430         * elf/tst-tlsmod1.c: Likewise.
51431         * elf/tst-tlsmod13.c: Likewise.
51432         * elf/tst-tlsmod13a.c: Likewise.
51433         * elf/tst-tlsmod14a.c: Likewise.
51434         * elf/tst-tlsmod16a.c: Likewise.
51435         * elf/tst-tlsmod16b.c: Likewise.
51436         * elf/tst-tlsmod2.c: Likewise.
51437         * elf/tst-tlsmod3.c: Likewise.
51438         * elf/tst-tlsmod4.c: Likewise.
51439         * elf/tst-tlsmod5.c: Likewise.
51440         * elf/tst-tlsmod6.c: Likewise.
51442 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
51444         [BZ #12486]
51445         * malloc/malloc.c: remove checks for statistics.
51447 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51449         [BZ #15277]
51450         * inet/inet_net.c (inet_network): Detect additional invalid strings.
51451         * inet/tst-network.c: Add testcase.
51453 2013-10-17  Andreas Schwab  <schwab@suse.de>
51455         [BZ #15218]
51456         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51457         to determine canonical name.
51459 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51461         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51462         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51464         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51466         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51467         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51468         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51469         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51470         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51471         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51472         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51473         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51474         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51475         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51476         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51477         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51478         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51479         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51480         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51481         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51482         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51483         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51484         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51485         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51486         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51487         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51488         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51489         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51490         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51491         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51492         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51493         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51494         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51495         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51496         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51497         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51498         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51499         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51500         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51501         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51502         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51503         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51504         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51505         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51506         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51507         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51508         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51509         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51510         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51511         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51512         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51513         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51514         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51515         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51516         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51517         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51518         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51520 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
51522         [BZ #16041]
51523         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51524         make result into a quiet NaN.
51526 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
51528         * soft-fp/adddf3.c: Fix horizontal whitespace.
51529         * soft-fp/addsf3.c: Likewise.
51530         * soft-fp/addtf3.c: Likewise.
51531         * soft-fp/divdf3.c: Likewise.
51532         * soft-fp/divsf3.c: Likewise.
51533         * soft-fp/divtf3.c: Likewise.
51534         * soft-fp/double.h: Likewise.
51535         * soft-fp/eqdf2.c: Likewise.
51536         * soft-fp/eqsf2.c: Likewise.
51537         * soft-fp/eqtf2.c: Likewise.
51538         * soft-fp/extenddftf2.c: Likewise.
51539         * soft-fp/extended.h: Likewise.
51540         * soft-fp/extendsfdf2.c: Likewise.
51541         * soft-fp/extendsftf2.c: Likewise.
51542         * soft-fp/extendxftf2.c: Likewise.
51543         * soft-fp/fixdfdi.c: Likewise.
51544         * soft-fp/fixdfsi.c: Likewise.
51545         * soft-fp/fixdfti.c: Likewise.
51546         * soft-fp/fixsfdi.c: Likewise.
51547         * soft-fp/fixsfsi.c: Likewise.
51548         * soft-fp/fixsfti.c: Likewise.
51549         * soft-fp/fixtfdi.c: Likewise.
51550         * soft-fp/fixtfsi.c: Likewise.
51551         * soft-fp/fixtfti.c: Likewise.
51552         * soft-fp/fixunsdfdi.c: Likewise.
51553         * soft-fp/fixunsdfsi.c: Likewise.
51554         * soft-fp/fixunsdfti.c: Likewise.
51555         * soft-fp/fixunssfdi.c: Likewise.
51556         * soft-fp/fixunssfsi.c: Likewise.
51557         * soft-fp/fixunssfti.c: Likewise.
51558         * soft-fp/fixunstfdi.c: Likewise.
51559         * soft-fp/fixunstfsi.c: Likewise.
51560         * soft-fp/fixunstfti.c: Likewise.
51561         * soft-fp/floatdidf.c: Likewise.
51562         * soft-fp/floatdisf.c: Likewise.
51563         * soft-fp/floatditf.c: Likewise.
51564         * soft-fp/floatsidf.c: Likewise.
51565         * soft-fp/floatsisf.c: Likewise.
51566         * soft-fp/floatsitf.c: Likewise.
51567         * soft-fp/floattidf.c: Likewise.
51568         * soft-fp/floattisf.c: Likewise.
51569         * soft-fp/floattitf.c: Likewise.
51570         * soft-fp/floatundidf.c: Likewise.
51571         * soft-fp/floatundisf.c: Likewise.
51572         * soft-fp/floatunditf.c: Likewise.
51573         * soft-fp/floatunsidf.c: Likewise.
51574         * soft-fp/floatunsisf.c: Likewise.
51575         * soft-fp/floatunsitf.c: Likewise.
51576         * soft-fp/floatuntidf.c: Likewise.
51577         * soft-fp/floatuntisf.c: Likewise.
51578         * soft-fp/floatuntitf.c: Likewise.
51579         * soft-fp/fmadf4.c: Likewise.
51580         * soft-fp/fmasf4.c: Likewise.
51581         * soft-fp/fmatf4.c: Likewise.
51582         * soft-fp/gedf2.c: Likewise.
51583         * soft-fp/gesf2.c: Likewise.
51584         * soft-fp/getf2.c: Likewise.
51585         * soft-fp/ledf2.c: Likewise.
51586         * soft-fp/lesf2.c: Likewise.
51587         * soft-fp/letf2.c: Likewise.
51588         * soft-fp/muldf3.c: Likewise.
51589         * soft-fp/mulsf3.c: Likewise.
51590         * soft-fp/multf3.c: Likewise.
51591         * soft-fp/negdf2.c: Likewise.
51592         * soft-fp/negsf2.c: Likewise.
51593         * soft-fp/negtf2.c: Likewise.
51594         * soft-fp/op-1.h: Likewise.
51595         * soft-fp/op-2.h: Likewise.
51596         * soft-fp/op-4.h: Likewise.
51597         * soft-fp/op-8.h: Likewise.
51598         * soft-fp/op-common.h: Likewise.
51599         * soft-fp/quad.h: Likewise.
51600         * soft-fp/single.h: Likewise.
51601         * soft-fp/soft-fp.h: Likewise.
51602         * soft-fp/sqrtdf2.c: Likewise.
51603         * soft-fp/sqrtsf2.c: Likewise.
51604         * soft-fp/sqrttf2.c: Likewise.
51605         * soft-fp/subdf3.c: Likewise.
51606         * soft-fp/subsf3.c: Likewise.
51607         * soft-fp/subtf3.c: Likewise.
51608         * soft-fp/truncdfsf2.c: Likewise.
51609         * soft-fp/trunctfdf2.c: Likewise.
51610         * soft-fp/trunctfsf2.c: Likewise.
51611         * soft-fp/trunctfxf2.c: Likewise.
51612         * soft-fp/unorddf2.c: Likewise.
51613         * soft-fp/unordsf2.c: Likewise.
51614         * soft-fp/unordtf2.c: Likewise.
51616 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
51618         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51619         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51621 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
51623         * elf/dl-libc.c: Clear initfini list after freeing.
51625 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
51627         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51628         * soft-fp/addsf3.c: Likewise.
51629         * soft-fp/addtf3.c: Likewise.
51630         * soft-fp/divdf3.c: Likewise.
51631         * soft-fp/divsf3.c: Likewise.
51632         * soft-fp/divtf3.c: Likewise.
51633         * soft-fp/double.h: Likewise.
51634         * soft-fp/eqdf2.c: Likewise.
51635         * soft-fp/eqsf2.c: Likewise.
51636         * soft-fp/eqtf2.c: Likewise.
51637         * soft-fp/extenddftf2.c: Likewise.
51638         * soft-fp/extended.h: Likewise.
51639         * soft-fp/extendsfdf2.c: Likewise.
51640         * soft-fp/extendsftf2.c: Likewise.
51641         * soft-fp/extendxftf2.c: Likewise.
51642         * soft-fp/fixdfdi.c: Likewise.
51643         * soft-fp/fixdfsi.c: Likewise.
51644         * soft-fp/fixdfti.c: Likewise.
51645         * soft-fp/fixsfdi.c: Likewise.
51646         * soft-fp/fixsfsi.c: Likewise.
51647         * soft-fp/fixsfti.c: Likewise.
51648         * soft-fp/fixtfdi.c: Likewise.
51649         * soft-fp/fixtfsi.c: Likewise.
51650         * soft-fp/fixtfti.c: Likewise.
51651         * soft-fp/fixunsdfdi.c: Likewise.
51652         * soft-fp/fixunsdfsi.c: Likewise.
51653         * soft-fp/fixunsdfti.c: Likewise.
51654         * soft-fp/fixunssfdi.c: Likewise.
51655         * soft-fp/fixunssfsi.c: Likewise.
51656         * soft-fp/fixunssfti.c: Likewise.
51657         * soft-fp/fixunstfdi.c: Likewise.
51658         * soft-fp/fixunstfsi.c: Likewise.
51659         * soft-fp/fixunstfti.c: Likewise.
51660         * soft-fp/floatdidf.c: Likewise.
51661         * soft-fp/floatdisf.c: Likewise.
51662         * soft-fp/floatditf.c: Likewise.
51663         * soft-fp/floatsidf.c: Likewise.
51664         * soft-fp/floatsisf.c: Likewise.
51665         * soft-fp/floatsitf.c: Likewise.
51666         * soft-fp/floattidf.c: Likewise.
51667         * soft-fp/floattisf.c: Likewise.
51668         * soft-fp/floattitf.c: Likewise.
51669         * soft-fp/floatundidf.c: Likewise.
51670         * soft-fp/floatundisf.c: Likewise.
51671         * soft-fp/floatunsidf.c: Likewise.
51672         * soft-fp/floatunsisf.c: Likewise.
51673         * soft-fp/floatuntidf.c: Likewise.
51674         * soft-fp/floatuntisf.c: Likewise.
51675         * soft-fp/floatuntitf.c: Likewise.
51676         * soft-fp/fmadf4.c: Likewise.
51677         * soft-fp/fmasf4.c: Likewise.
51678         * soft-fp/fmatf4.c: Likewise.
51679         * soft-fp/gedf2.c: Likewise.
51680         * soft-fp/gesf2.c: Likewise.
51681         * soft-fp/getf2.c: Likewise.
51682         * soft-fp/ledf2.c: Likewise.
51683         * soft-fp/lesf2.c: Likewise.
51684         * soft-fp/letf2.c: Likewise.
51685         * soft-fp/muldf3.c: Likewise.
51686         * soft-fp/mulsf3.c: Likewise.
51687         * soft-fp/multf3.c: Likewise.
51688         * soft-fp/negdf2.c: Likewise.
51689         * soft-fp/negsf2.c: Likewise.
51690         * soft-fp/negtf2.c: Likewise.
51691         * soft-fp/op-1.h: Likewise.
51692         * soft-fp/op-2.h: Likewise.
51693         * soft-fp/op-4.h: Likewise.
51694         * soft-fp/op-8.h: Likewise.
51695         * soft-fp/op-common.h: Likewise.
51696         * soft-fp/quad.h: Likewise.
51697         * soft-fp/single.h: Likewise.
51698         * soft-fp/soft-fp.h: Likewise.
51699         * soft-fp/sqrtdf2.c: Likewise.
51700         * soft-fp/sqrtsf2.c: Likewise.
51701         * soft-fp/sqrttf2.c: Likewise.
51702         * soft-fp/subdf3.c: Likewise.
51703         * soft-fp/subsf3.c: Likewise.
51704         * soft-fp/subtf3.c: Likewise.
51705         * soft-fp/truncdfsf2.c: Likewise.
51706         * soft-fp/trunctfdf2.c: Likewise.
51707         * soft-fp/trunctfsf2.c: Likewise.
51708         * soft-fp/trunctfxf2.c: Likewise.
51709         * soft-fp/unorddf2.c: Likewise.
51710         * soft-fp/unordsf2.c: Likewise.
51711         * soft-fp/unordtf2.c: Likewise.
51713 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
51715         [BZ #15672]
51716         * misc/error.c (error_tail): Fix possible buffer overflow.
51718 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
51720         [BZ #13028]
51721         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51722         address.
51724 2013-10-14  P. J. McDermott  <pj@pehjota.net>
51726         [BZ #832]
51727         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
51728         testing pipefail option.
51730 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51732         * soft-fp/double.h: Indent preprocessor directives inside #if.
51733         * soft-fp/extended.h: Likewise.
51734         * soft-fp/op-2.h: Likewise.
51735         * soft-fp/op-4.h: Likewise.
51736         * soft-fp/op-common.h: Likewise.
51737         * soft-fp/quad.h: Likewise.
51738         * soft-fp/single.h: Likewise.
51739         * soft-fp/soft-fp.h: Likewise.
51741 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
51743         * iconv/iconv_prog.c: Fix typos.
51744         * stdio-common/psiginfo-data.h: Likewise.
51746 2013-10-12   Reuben Thomas <rrt@sc3d.org>
51748         [BZ #15764]
51749         * locale/setlocale.c: Fix typo.
51751 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51753         [BZ #16036]
51754         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51755         signaling NaN arguments.
51756         * soft-fp/unordsf2.c (__unordsf2): Likewise.
51757         * soft-fp/unordtf2.c (__unordtf2): Likewise.
51759         [BZ #14910]
51760         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51761         unordered operands.
51762         * soft-fp/gesf2.c (__gesf2): Likewise.
51763         * soft-fp/getf2.c (__getf2): Likewise.
51764         * soft-fp/ledf2.c (__ledf2): Likewise.
51765         * soft-fp/lesf2.c (__lesf2): Likewise.
51766         * soft-fp/letf2.c (__letf2): Likewise.
51768         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51769         * soft-fp/eqsf2.c (__eqsf2): Likewise.
51770         * soft-fp/eqtf2.c (__eqtf2): Likewise.
51771         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51772         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51773         * soft-fp/fixdfti.c (__fixdfti): Likewise.
51774         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51775         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51776         * soft-fp/fixsfti.c (__fixsfti): Likewise.
51777         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51778         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51779         * soft-fp/fixtfti.c (__fixtfti): Likewise.
51780         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51781         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51782         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51783         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51784         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51785         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51786         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51787         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51788         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51789         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51790         * soft-fp/floatdisf.c (__floatdisf): Likewise.
51791         * soft-fp/floatsisf.c (__floatsisf): Likewise.
51792         * soft-fp/floattidf.c (__floattidf): Likewise.
51793         * soft-fp/floattisf.c (__floattisf): Likewise.
51794         * soft-fp/floattitf.c (__floattitf): Likewise.
51795         * soft-fp/floatundidf.c (__floatundidf): Likewise.
51796         * soft-fp/floatundisf.c (__floatundisf): Likewise.
51797         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51798         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51799         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51800         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51801         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51802         * soft-fp/gesf2.c (__gesf2): Likewise.
51803         * soft-fp/getf2.c (__getf2): Likewise.
51804         * soft-fp/ledf2.c (__ledf2): Likewise.
51805         * soft-fp/lesf2.c (__lesf2): Likewise.
51806         * soft-fp/letf2.c (__letf2): Likewise.
51808         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51809         Undefine and redefine.
51810         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51811         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51812         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51813         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51814         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51815         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51816         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51817         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51818         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51819         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51820         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51821         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51822         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51823         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51824         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51826         [BZ #16032]
51827         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51828         without decrementing exponent if mantissa >= that for the
51829         denominator, not >.
51830         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51831         denominator, not >.  Decrement exponent in < case instead of
51832         incrementing in >= case.
51833         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51834         without decrementing exponent if mantissa >= that for the
51835         denominator, not >.
51837         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51838         computing saturated result for unsigned overflow.
51840 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51841             Jeff Law  <law@redhat.com>
51843         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51844         (atan2Mp): Add systemtap probe marker.
51845         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51846         (__ieee754_log): Add systemtap probe marker.
51847         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51848         (atanMp): Add systemtap probe marker.
51849         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51850         (tanMp): Add systemtap probe marker.
51851         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51852         (__slowexp): Add systemtap probe marker.
51853         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51854         (__slowpow): Add systemtap probe marker.
51855         * manual/probes.texi: Document probes.
51857 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
51859         [BZ #15362]
51860         * libio/fileops.c (_IO_new_file_write): Return count of bytes
51861         written.
51862         (_IO_new_file_xsputn): Don't return EOF if nothing has been
51863         written.
51864         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51865         written to buffer but not flushed.
51866         * libio/iofwrite_u.c:  Likewise.
51867         * libio/iopadn.c:  Return bytes returned even if EOF was
51868         encountered.
51869         * libio/iowpadn.c:  Likewise.
51870         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51871         if _IO_padn does not write the whole buffer.
51872         [!COMPILE_WPRINTF] (PAD): Likewise.
51874 2013-10-10  David S. Miller  <davem@davemloft.net>
51876         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51877         directory block.
51879 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51881         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
51882         instead of FSF address.
51883         * soft-fp/fixdfti.c: Likewise.
51884         * soft-fp/fixsfti.c: Likewise.
51885         * soft-fp/fixtfti.c: Likewise.
51886         * soft-fp/fixunsdfti.c: Likewise.
51887         * soft-fp/fixunssfti.c: Likewise.
51888         * soft-fp/fixunstfti.c: Likewise.
51889         * soft-fp/floattidf.c: Likewise.
51890         * soft-fp/floattisf.c: Likewise.
51891         * soft-fp/floattitf.c: Likewise.
51892         * soft-fp/floatuntidf.c: Likewise.
51893         * soft-fp/floatuntisf.c: Likewise.
51894         * soft-fp/floatuntitf.c: Likewise.
51895         * soft-fp/trunctfxf2.c: Likewise.
51897         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
51898         * soft-fp/fixdfti.c: Likewise.
51899         * soft-fp/fixsfti.c: Likewise.
51900         * soft-fp/fixtfti.c: Likewise.
51901         * soft-fp/fixunsdfti.c: Likewise.
51902         * soft-fp/fixunssfti.c: Likewise.
51903         * soft-fp/fixunstfti.c: Likewise.
51904         * soft-fp/floattidf.c: Likewise.
51905         * soft-fp/floattisf.c: Likewise.
51906         * soft-fp/floattitf.c: Likewise.
51907         * soft-fp/floatuntidf.c: Likewise.
51908         * soft-fp/floatuntisf.c: Likewise.
51909         * soft-fp/floatuntitf.c: Likewise.
51910         * soft-fp/trunctfxf2.c: Likewise.
51912 2013-10-10  David S. Miller  <davem@davemloft.net>
51914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51916 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
51918         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51919         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51920         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51921         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51922         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51923         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51924         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51926         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51927         for NaNs before doing comparisons on argument.
51928         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51929         Likewise.
51931 2013-10-10  Will Newton  <will.newton@linaro.org>
51933         * malloc/hooks.c (memalign_check): Ensure the value of bytes
51934         passed to _int_memalign does not overflow.
51936 2013-10-10  Torvald Riegel  <triegel@redhat.com>
51938         * scripts/bench.pl: Add include-sources directive.
51939         * benchtests/README: Update documentation.
51941 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51943         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51944         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51945         instead of FP_INIT_ROUNDMODE.
51946         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51947         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51949         [BZ #16034]
51950         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
51951         copy class of input value.
51952         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
51953         not handle exceptions.
51954         * soft-fp/negsf2.c (__negsf2): Likewise.
51955         * soft-fp/negtf2.c (__negtf2): Likewise.
51956         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51958 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
51960         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51961         semicolon.  From Linux kernel.
51963 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
51965         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51967 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
51969         [BZ #156]
51970         * manual/socket.texi: Added statement about buffer
51971         for gethostbyname2_r.
51973 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
51975         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51976         Use .p2align directive instead, throughout.
51977         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51978         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51979         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51980         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51981         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51982         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51983         * sysdeps/x86_64/strchr.S: Likewise.
51984         * sysdeps/x86_64/strrchr.S: Likewise.
51986 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51988         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51990         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51992         * sysdeps/generic/math_private.h (__mpsin1): Remove
51993         declaration.
51994         (__mpcos1): Likewise.
51995         (__mpsin): New argument __range_reduce.
51996         (__mpcos): Likewise.
51997         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51998         (slow): Use __mpsin and __mpcos.
51999         (slow1): Likewise.
52000         (slow2): Likewise.
52001         (sloww): Likewise.
52002         (sloww1): Likewise.
52003         (sloww2): Likewise.
52004         (bsloww): Likewise.
52005         (bsloww1): Likewise.
52006         (bsloww2): Likewise.
52007         (cslow2): Likewise.
52008         (csloww): Likewise.
52009         (csloww1): Likewise.
52010         (csloww2): Likewise.
52011         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
52012         range_reduce.  Merge in __mpsin1.
52013         (__mpcos): Likewise.
52014         (__mpsin1): Remove.
52015         (__mpcos1): Likewise.
52017 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
52019         * locale/loadlocale.c (_nl_intern_locale_data): Use
52020         LOCFILE_ALIGNED_P.
52021         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
52022         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
52023         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52024         obstack data is appropriately aligned.
52025         (obstack_int32_grow_fast): Likewise.
52026         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
52027         * locale/programs/locfile.c (add_locale_uint32): Likewise.
52028         (add_locale_uint32_array): Likewise.
52030 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52032         * benchtests/Makefile: Remove ARGLIST and RET variables.
52033         ($(objpfx)bench-%.c): Pass only function name to the script.
52034         * benchtests/README: Update documentation.
52035         * benchtests/acos-inputs: Add new directives.
52036         * benchtests/acosh-inputs: Likewise.
52037         * benchtests/asin-inputs: Likewise.
52038         * benchtests/asinh-inputs: Likewise.
52039         * benchtests/atan-inputs: Likewise.
52040         * benchtests/atanh-inputs: Likewise.
52041         * benchtests/cos-inputs: Likewise.
52042         * benchtests/cosh-inputs: Likewise.
52043         * benchtests/exp-inputs: Likewise.
52044         * benchtests/log-inputs: Likewise.
52045         * benchtests/pow-inputs: Likewise.
52046         * benchtests/rint-inputs: Likewise.
52047         * benchtests/sin-inputs: Likewise.
52048         * benchtests/sinh-inputs: Likewise.
52049         * benchtests/tan-inputs: Likewise.
52050         * benchtests/tanh-inputs: Likewise.
52051         * scripts/bench.pl: Add support for new directives.
52053 2013-10-07  Alan Modra  <amodra@gmail.com>
52055         * README: Fix careless merge.
52057 2013-10-05  Alan Modra  <amodra@gmail.com>
52059         * NEWS: Mention powerpc64le support and bugs fixed.
52060         * README: Both big-endian and little-endian powerpc64 supported.
52062 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52064         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
52065         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
52066         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
52067         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
52069 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
52071         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
52072         match prototype.
52074 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
52076         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
52077         Move -mhard-float appending from
52078         ports/sysdeps/powerpc/powerpc32/Makefile.
52079         [$(with-fp) = yes] (ASFLAGS): Likewise.
52080         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
52081         * sysdeps/powerpc/nofpu: Move directory from
52082         ports/sysdeps/powerpc/nofpu.
52083         * sysdeps/powerpc/soft-fp: Move directory from
52084         ports/sysdeps/powerpc/soft-fp.
52085         * sysdeps/powerpc/powerpc32/405: Move directory from
52086         ports/sysdeps/powerpc/powerpc32/405.
52087         * sysdeps/powerpc/powerpc32/440: Move directory from
52088         ports/sysdeps/powerpc/powerpc32/440.
52089         * sysdeps/powerpc/powerpc32/464: Move directory from
52090         ports/sysdeps/powerpc/powerpc32/464.
52091         * sysdeps/powerpc/powerpc32/476: Move directory from
52092         ports/sysdeps/powerpc/powerpc32/476.
52093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
52094         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
52095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
52096         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
52097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
52098         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
52099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
52100         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
52101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
52102         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
52103         * README: Update for powerpc-*-linux-gnu software floating point
52104         support in libc.
52106         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
52107         case to powerpc/powerpc32*.
52108         * sysdeps/unix/sysv/linux/configure: Regenerated.
52110         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
52111         (_FPU_MASK_OM): Define as 0x04.
52112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
52114         0x00c10080.
52115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
52116         0x0000003c.
52117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
52119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
52120         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52121         getcontext_e500.
52122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
52123         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52124         setcontext_e500.
52125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
52126         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
52127         and setcontext_e500.
52129 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
52131         * locale/iso-3166.def: Update iso-1366.def and related occurrences
52133 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52135         * manual/threads.texi (Default Thread Attributes): Fix typo.
52137 2013-10-04  Will Newton  <will.newton@linaro.org>
52139         * malloc/Makefile: Add tst-memalign.
52140         * malloc/tst-memalign.c: New file.
52142         * malloc/tst-posix_memalign.c: Add comments.
52143         (do_test): Add comments and call free on all potentially
52144         allocated pointers. Add space after cast.
52146         * malloc/tst-pvalloc.c: Add comments.
52147         (do_test): Add comments and call free on all potentially
52148         allocated pointers. Remove duplicate check for NULL pointer.
52149         Add space after cast.
52151         * malloc/tst-valloc.c: Add comments.
52152         (do_test): Add comments and call free on all potentially
52153         allocated pointers. Remove duplicate check for NULL pointer.
52154         Add space after cast.
52156 2013-10-04  Alan Modra  <amodra@gmail.com>
52158         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52159         Use stdint types in rather than __attribute__((mode())).
52160         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52162 2013-10-04  Alan Modra  <amodra@gmail.com>
52164         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52165         Correct handling of unaligned relocs for little-endian.
52166         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52168 2013-10-04  Alan Modra  <amodra@gmail.com>
52170         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52171         * configure: Regenerate.
52172         * nptl/shlib-versions: Powerpc*le starts at 2.18.
52173         * shlib-versions: Likewise.
52175 2013-10-04  Alan Modra  <amodra@gmail.com>
52177         * string/tester.c (test_memrchr): Increment reported test cycle.
52179 2013-10-04  Alan Modra  <amodra@gmail.com>
52181         * string/test-memcpy.c (do_one_test): When reporting errors, print
52182         string address and don't overrun end of string.
52184 2013-10-04  Alan Modra  <amodra@gmail.com>
52186         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52187         insrdi.  Make better use of reg selection to speed exit slightly.
52188         Schedule entry path a little better.  Remove useless "are we done"
52189         checks on entry to main loop.  Handle wrapping around zero address.
52190         Correct main loop count.  Handle single left-over word from main
52191         loop inline rather than by using loop_small.  Remove extra word
52192         case in loop_small caused by wrong loop count.  Add little-endian
52193         support.
52194         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52195         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
52196         cache hint.
52197         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52198         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52199         support.  Avoid rlwimi.
52200         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52202 2013-10-04  Alan Modra  <amodra@gmail.com>
52204         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52205         insrdi.  Formatting.
52206         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52207         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52208         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52209         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52210         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52211         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52213 2013-10-04  Alan Modra  <amodra@gmail.com>
52215         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52216         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52217         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52218         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52219         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52220         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52221         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52222         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52223         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
52224         use of regs.  Use power7 mtocrf.  Tidy function tails.
52226 2013-10-04  Alan Modra  <amodra@gmail.com>
52228         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52229         Formatting.  Consistently use rXXX register defines or rN defines.
52230         Use early exit labels that avoid restoring unused non-volatile regs.
52231         Make cr field use more consistent with rWORDn compares.  Rename
52232         regs used as shift registers for unaligned loop, using rN defines
52233         for short lifetime/multiple use regs.
52234         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52235         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
52236         addi 1,1,64 to pop stack frame.  Simplify return value code.
52237         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52239 2013-10-04  Alan Modra  <amodra@gmail.com>
52241         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52242         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
52243         rather than rlwimi.
52244         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52245         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52246         little-endian support.  Correct typos.
52247         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
52248         rather than rlwimi.
52249         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
52250         in loop and entry code to keep "and." results.
52251         (strchr): Add little-endian support.  Comment.  Move cntlzd
52252         earlier in tail.
52253         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52255 2013-10-04  Alan Modra  <amodra@gmail.com>
52257         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52258         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52259         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52260         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52262 2013-10-04  Alan Modra  <amodra@gmail.com>
52264         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52265         (rTMP): Define as r11.
52266         (strcmp): Add little-endian support.  Optimise tail.
52267         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52268         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52269         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52270         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52271         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52272         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52273         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52275 2013-10-04  Alan Modra  <amodra@gmail.com>
52277         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52278         little-endian support.  Remove unnecessary "are we done" tests.
52279         Handle "s" wrapping around zero and extremely large "size".
52280         Correct main loop count.  Handle single left-over word from main
52281         loop inline rather than by using small_loop.  Correct comments.
52282         Delete "zero" tail, use "end_max" instead.
52283         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52285 2013-10-04  Alan Modra  <amodra@gmail.com>
52287         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52288         support.  Don't branch over align.
52289         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52290         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52291         support.  Rearrange tmp reg use to suit.  Comment.
52292         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52294 2013-10-04  Alan Modra  <amodra@gmail.com>
52296         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52298 2013-10-04  Alan Modra  <amodra@gmail.com>
52300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52301         conditional form of branch and link when obtaining pc.
52302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52304 2013-10-04  Alan Modra  <amodra@gmail.com>
52306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52307         HIWORD/LOWORD.
52308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52311 2013-10-04  Alan Modra  <amodra@gmail.com>
52313         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52314         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52315         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52316         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52317         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52318         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52319         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52320         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52321         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52322         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52324 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52325             Alistair Popple <alistair@ozlabs.au.ibm.com>
52326             Alan Modra <amodra@gmail.com>
52328         [BZ #15723]
52329         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52330         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52331         _dl_hwcap access for little-endian.
52332         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
52333         destroy vmx regs when saving unaligned.
52334         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52335         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
52336         destroy vmx regs when saving unaligned.
52338 2013-10-04  Alan Modra  <amodra@gmail.com>
52340         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52341         Don't use a union to pack hi/low value.
52343 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52345         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52346         for little-endian.
52347         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52348         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52349         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52350         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52351         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52353 2013-10-04  Alan Modra  <amodra@gmail.com>
52355         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52356         constants to usual value for .cst8 section, and remove redundant
52357         high address load.
52358         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52359         constant for 0x1p52.  Load little-endian words of double from
52360         correct stack offsets.
52362 2013-10-04  Alan Modra  <amodra@gmail.com>
52364         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52365         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52366         words of double from correct stack offsets.
52367         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52368         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52369         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52370         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52371         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52372         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52373         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52374         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52375         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52376         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52377         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52378         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52379         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52380         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52381         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52382         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52383         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52385 2013-10-04  Alan Modra  <amodra@gmail.com>
52387         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52388         64-bit int/double union.
52389         (_FPU_SETCW): Likewise.
52390         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52391         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52393 2013-10-04  Alan Modra  <amodra@gmail.com>
52395         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52396         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52398 2013-10-04  Alan Modra  <amodra@gmail.com>
52400         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52401         use vector int constants.
52402         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52404 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52406         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52407         array with long long.
52408         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52409         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52410         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52411         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52412         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52413         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52414         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52415         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52416         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52417         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52418         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52419         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52420         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52422 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52424         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52425         (__signbit): Likewise.  Correct for little-endian.
52426         (__signbitl): Call __signbit.
52427         (lrint): Correct for little-endian.
52428         (lrintf): Call lrint.
52430 2013-10-04  Alan Modra  <amodra@gmail.com>
52432         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52433         union 32-bit int array member with 64-bit int array.
52434         (t515, tm256): Double rather than long double.
52435         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52437 2013-10-04  Alan Modra  <amodra@gmail.com>
52439         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52440         Delete.
52441         (IEEE854_LONG_DOUBLE_BIAS): Delete.
52442         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52443         version of math_ldbl.h.
52445 2013-10-04  Alan Modra  <amodra@gmail.com>
52447         [BZ #15734], [BZ #15735]
52448         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52449         all uses of ieee875 long double macros and unions.  Simplify test
52450         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
52451         ldbl_extract_mantissa value for ix,iy exponents.  Properly
52452         normalize after ldbl_extract_mantissa, and don't add hidden bit
52453         already handled.  Don't treat low word of ieee854 mantissa like
52454         low word of IBM long double and mask off bit when testing for
52455         zero.
52456         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52457         all uses of ieee875 long double macros and unions.  Simplify tests
52458         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
52459         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
52460         two1022, instead use their values.  Recognise that tests for large
52461         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
52462         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52463         Rewrite all uses of ieee875 long double macros and unions.  Simplify
52464         test for 0.0L and nan.  Correct negation.
52465         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52466         ieee875 long double macros and unions.  Correct output for large
52467         magnitude x.  Correct absolute value calculation.
52468         (__erfcl): Likewise.
52469         * math/libm-test.inc: Add tests for errors discovered in IBM long
52470         double versions of fmodl, remainderl, erfl and erfcl.
52472 2013-10-04  Alan Modra  <amodra@gmail.com>
52474         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52475         all uses of ieee854 long double macros and unions.  Simplify tests
52476         for long doubles that are fully specified by the high double.
52477         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52478         Likewise.
52479         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52480         Remove dead code too.
52481         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52482         (__ieee754_ynl): Likewise.
52483         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52484         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52485         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52486         Remove dead code too.
52487         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52488         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52489         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52490         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52491         Simplify.
52492         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52493         Simplify.
52494         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52495         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52496         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52497         Comment on variable precision.
52498         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52499         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52500         Likewise.
52501         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52502         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52503         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52504         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52505         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52507 2013-10-04  Alan Modra  <amodra@gmail.com>
52509         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52510         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52511         all uses of ieee854 long double macros and unions.
52512         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52513         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52514         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52515         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52516         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52517         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52518         Likewise.
52519         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52520         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52521         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52522         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52523         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52524         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52525         Simplify sign and nan test too.
52526         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52527         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52528         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52529         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52530         Likewise.
52531         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52532         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52533         Likewise.
52534         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52535         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52536         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52537         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52538         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52539         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52541 2013-10-04  Alan Modra  <amodra@gmail.com>
52543         * stdio-common/printf_size.c (__printf_size): Don't use
52544         union ieee854_long_double in fpnum union.
52545         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
52546         signbit macro to retrieve sign from long double.
52547         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52548         retrieve sign from long double.
52549         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52550         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52551         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52552         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52553         * math/test-misc.c (main): Don't use union ieee854_long_double.
52555 2013-10-04  Alan Modra  <amodra@gmail.com>
52557         [BZ #15680]
52558         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52559         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52560         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52561         calculation.  Remove unnecessary test for denormal exponent.
52562         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52563         Correct handling of denormals.  Avoid undefined shift behaviour.
52564         Correct normalisation of low mantissa when low double is denormal.
52565         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52566         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
52567         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52568         Correct normalisation of low mantissa.  Test for overflow of high
52569         mantissa and normalise.
52570         (ldbl_nearbyint): Use more readable constant for two52.
52571         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52572         (__mpn_construct_long_double): Fix test for overflow of high
52573         mantissa and correct normalisation.  Avoid undefined shift.
52575 2013-10-04  Alan Modra  <amodra@gmail.com>
52577         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52578         (union ibm_extended_long_double): Define as an array of ieee754_double.
52579         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52580         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52581         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52582         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52583         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52584         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52585         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52586         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52587         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52588         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52589         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52591 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
52593         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52594         page size instead of calling getpagesize.
52596         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52597         (LOCFILE_ALIGN_MASK): Likewise.
52598         (LOCFILE_ALIGN_UP): Likewise.
52599         (LOCFILE_ALIGNED_P): Likewise.
52600         * locale/programs/ld-collate.c (collate_output): Use the new
52601         macros instead of __alignof__ (int32_t).
52602         * locale/weight.h (findidx): Likewise.
52604 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
52606         [BZ #431]
52607         * manual/string.texi: Fix strncat and wcsncat.
52609 2013-10-03  Brooks Moses  <bmoses@google.com>
52611         [BZ #15915]
52612         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52613         * Makerules: ...here, and adjust associated comments.
52615 2013-10-02  Will Newton  <will.newton@linaro.org>
52617         * malloc/Makefile: Add tst-pvalloc.
52618         * malloc/tst-pvalloc.c: New file.
52620 2013-10-02  Will Newton  <will.newton@linaro.org>
52622         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52623         improve test coverage.
52625 2013-10-02  Will Newton  <will.newton@linaro.org>
52627         * malloc/Makefile: Add tst-posix_memalign.
52628         * malloc/tst-posix_memalign.c: New file.
52630 2013-10-01  Eric Blake  <eblake@redhat.com>
52632         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52633         Use __THROWNL rather than __THROW on static functions.
52635 2013-09-30  Petr Machata  <pmachata@redhat.com>
52637         * elf/elf.h (R_AARCH64_ABS16): New macro.
52638         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52639         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52640         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52641         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52642         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52643         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52644         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52645         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52646         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52647         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52648         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52649         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52650         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52651         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52652         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52653         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52654         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52655         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52656         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52657         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52658         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52659         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52660         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52661         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52662         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52663         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52664         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52665         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52666         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52667         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52668         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52669         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52670         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52671         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52672         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52673         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52674         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52675         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52676         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52677         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52678         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52679         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52680         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52681         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52682         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52683         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52684         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52685         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52686         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52687         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52688         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52689         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52690         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52691         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52692         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52693         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52694         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52695         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52696         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52697         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52698         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52699         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52700         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52701         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52702         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52703         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52704         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52705         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52706         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52707         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52708         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52709         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52710         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52711         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52712         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52713         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52714         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52715         (R_AARCH64_TLSDESC_LDR): Likewise.
52716         (R_AARCH64_TLSDESC_ADD): Likewise.
52717         (R_AARCH64_TLSDESC_CALL): Likewise.
52719 2013-09-30  Andreas Schwab  <schwab@suse.de>
52721         [BZ #15048]
52722         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52723         the nss database lookup.
52724         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52727 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
52729         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52731 2013-09-28  P. J. McDermott  <pj@pehjota.net>
52733         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52734         ${Bash-specific parameter/pattern/string} parameter expansion.
52735         * sysdeps/unix/make-syscalls.sh: Likewise.
52737 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52739         * sysdeps/sh/stackguard-macros.h: New file.
52741 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
52743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52745         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52746         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52747         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52748         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52750 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52752         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52753         Fix thread ID register.
52755 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
52757         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52758         [POSIX || UNIX98]: Require rather than permitting all symbols from
52759         <time.h>.
52760         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52761         element of struct sched_param.
52762         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52763         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52764         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52765         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52766         constant.
52768 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
52770         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52771         argument calculation.
52773 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52775         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52776         Expect macro.
52777         [POSIX] (pthread_attr_t): Do not require type.
52778         [POSIX] (pthread_cond_t): Likewise.
52779         [POSIX] (pthread_condattr_t): Likewise.
52780         [POSIX] (pthread_key_t): Likewise.
52781         [POSIX] (pthread_mutex_t): Likewise.
52782         [POSIX] (pthread_mutexattr_t): Likewise.
52783         [POSIX] (pthread_once_t): Likewise.
52784         [POSIX] (pthread_t): Likewise.
52785         [POSIX-based standards] (pthread_atfork): Expect function.
52787 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52788             Richard Sandiford  <richard@codesourcery.com>
52790         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52791         (swap_endianness_p): New extern variable.
52792         (set_big_endian): New inline function.
52793         (maybe_swap_uint32): Likewise.
52794         (maybe_swap_uint32_array): Likewise.
52795         (maybe_swap_uint32_obstack): Likewise.
52796         * locale/programs/locfile.c: Include <stdbool.h>.
52797         (swap_endianness_p): New variable.
52798         (add_locale_uint32): Call maybe_swap_uint32.
52799         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52800         (write_locale_data): Call maybe_swap_uint32_array.
52801         * locale/programs/ld-collate.c (obstack_int32_grow): Call
52802         maybe_swap_uint32.
52803         (obstack_int32_grow_fast): Likewise.
52804         (output_weightwc): Call maybe_swap_uint32_obstack.
52805         (collate_output): Likewise.
52806         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52807         (OPT_LITTLE_ENDIAN): Likewise.
52808         (options): Add --little-endian and --big-endian options.
52809         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52810         * locale/programs/locarchive.c: Include "locfile.h".
52811         (GET): New macro.
52812         (SET): Likewise.
52813         (INC): Likewise.
52814         (create_archive): Use the new macros to access fields of
52815         structures directly mapped from or written to locale archives.
52816         (oldlocrecentcmp): Likewise.
52817         (enlarge_archive): Likewise.
52818         (insert_name): Likewise.
52819         (add_alias): Likewise.
52820         (add_locale): Likewise.
52821         (delete_locales_from_archive): Likewise.
52822         (show_archive_content): Likewise.
52823         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
52824         locale data.
52826 2013-09-24  Roland McGrath  <roland@hack.frob.com>
52828         * manual/freemanuals.texi: Updated from (newly) canonical copy at
52829         http://www.gnu.org/doc/freemanuals.texi.
52830         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52832 2013-09-24  Will Newton  <will.newton@linaro.org>
52834         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52835         macro.
52837 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
52839         * locale/hashval.h (compute_hashval): Interpret bytes of key as
52840         unsigned char.
52842 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
52844         * manual/threads.texi (POSIX Threads): Fix a typo.
52846 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52848         [BZ #14547]
52849         * string/tst-strcoll-overflow.c: New test case.
52850         * string/Makefile (xtests): Add tst-strcoll-overflow.
52851         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52852         cache if string sizes may cause integer overflow.
52854         [BZ #14547]
52855         * string/strcoll_l.c (coll_seq): New members rule, idx,
52856         save_idx and back_us.
52857         (get_next_seq_nocache): New function.
52858         (do_compare_nocache): New function.
52859         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52860         when malloc fails.
52862 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
52864         [BZ #15754]
52865         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52866         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52867         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52869         [BZ #15754]
52870         * elf/Makefile (tests): Add tst-ptrguard1.
52871         (tests-static): Add tst-ptrguard1-static.
52872         (tst-ptrguard1-ARGS): Define.
52873         (tst-ptrguard1-static-ARGS): Define.
52874         * elf/tst-ptrguard1.c: New file.
52875         * elf/tst-ptrguard1-static.c: New file.
52876         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52877         * sysdeps/i386/stackguard-macros.h: Likewise.
52878         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52879         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52880         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52881         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52882         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52883         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52885 2013-09-23  Hector Marco  <hecmargi@upv.es>
52886             Ismael Ripoll  <iripoll@disca.upv.es>
52887             Carlos O'Donell  <carlos@redhat.com>
52889         [BZ #15754]
52890         * sysdeps/generic/stackguard-macros.h: Define
52891         __pointer_chk_guard_local and POINTER_CHK_GUARD.
52892         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52893         Define __pointer_chk_guard_local.
52894         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52895         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52897 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
52899         [BZ #15859]
52900         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52902 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
52904         * include/string.h (__ffs): Declare as hidden.
52905         * string/ffs.c (__ffs): Define as hidden.
52906         * sysdeps/i386/ffs.c (__ffs): Likewise.
52907         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52908         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52909         * sysdeps/s390/ffs.c (__ffs): Likewise.
52910         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52912 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
52914         * NEWS: Mention malloc probes.
52916         * malloc/arena.c (new_heap): New memory_heap_new probe.
52917         (grow_heap): New memory_heap_more probe.
52918         (shrink_heap): New memory_heap_less probe.
52919         (heap_trim): New memory_heap_free probe.
52920         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52921         (systrim): New memory_sbrk_less probe.
52922         * manual/probes.texi: Document them.
52924         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52925         * manual/probes.texi: Document it.
52927         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52928         (__libc_realloc): Add memory_realloc_retry probe.
52929         (__libc_memalign): Add memory_memalign_retry probe.
52930         (__libc_valloc): Add memory_valloc_retry probe.
52931         (__libc_pvalloc): Add memory_pvalloc_retry probe.
52932         (__libc_calloc): Add memory_calloc_retry probe.
52933         * manual/probes.texi: Document them.
52935         * malloc/arena.c (get_free_list): Add probe
52936         memory_arena_reuse_free_list.
52937         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52938         and memory_arena_reuse.
52939         (arena_get2) [!PER_THREAD]: Likewise.
52940         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52941         memory_arena_reuse_realloc.
52942         * manual/probes.texi: Document them.
52944         * malloc/malloc.c (__libc_free): Add
52945         memory_mallopt_free_dyn_thresholds probe.
52946         (__libc_mallopt): Add multiple memory_mallopt probes.
52947         * manual/probes.texi: Document them.
52949         * malloc/malloc.c: Include stap-probe.h.
52950         (__libc_mallopt): Add memory_mallopt probe.
52951         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52952         * manual/probes.texi: New.
52953         * manual/Makefile (chapters): Add probes.
52954         * manual/threads.texi: Set next node.
52956 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
52958         [BZ #15963, #13985]
52959         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52960         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52961         Add `Chinese' to `nan' entry name.
52963 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52965         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52966         (POLYNOMIAL): Likewise.
52967         (TAYLOR_SINCOS): Likewise.
52968         (TAYLOR_SLOW): Likewise.
52969         (__sin): Use TAYLOR_SINCOS.
52970         (__cos): Likewise.
52971         (slow): Use TAYLOR_SLOW.
52972         (sloww): Likewise.
52973         (bsloww): Likewise.
52974         (csloww): Likewise.
52976 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52978         * stdlib/strtod_l.c: Fix buffer overrun.
52980 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52982         * benchtests/Makefile (bench): Add sincos.
52983         * benchtests/bench-sincos.c: New file.
52985         * math/libm-test.inc (cos_test_data): New test inputs.
52986         (sin_test_data): Likewise.
52988         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52989         macro.
52990         (__sin): Use it.
52991         (__cos): Likewise.
52992         (slow1): Likewise.
52993         (slow2): Likewise.
52994         (sloww1): Likewise.
52995         (sloww2): Likewise.
52996         (bsloww1): Likewise.
52997         (bsloww2): Likewise.
52998         (cslow2): Likewise.
52999         (csloww1): Likewise.
53000         (csloww2): Likewise.
53002         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
53003         function.
53004         (__sin): Use it.
53005         (__cos): Likewise.
53007         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
53008         gotos.
53009         (__cos): Likewise.
53011 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
53013         * config.h.in (HAVE_MIPS_NAN2008): New macro.
53014         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53015         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
53016         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
53017         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
53018         * elf/cache.c (print_entry): Handle the new cache flags.
53020 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
53021             Aldy Hernandez  <aldyh@redhat.com>
53023         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
53024         Change condition to [_SOFT_FLOAT].
53025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
53026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
53027         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
53028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
53029         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
53030         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
53031         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
53032         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
53033         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
53034         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
53036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
53037         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
53039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
53040         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
53041         declaration.
53043 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
53045         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
53046         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53047         (__longjmp): Use LOAD_GP to load saved GPRs.
53048         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
53049         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53050         (__sigsetjmp): Use SAVE_GP to save GPRs.
53052         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
53053         Do not append -msoft-float.
53054         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
53056 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53058         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
53060 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
53062         [BZ #15966]
53063         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
53064         (_FPU_GETCW): Use initial "__" on variable and field names but not
53065         on macro parameter name.
53066         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
53067         parentheses around reference to macro parameter.
53069 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
53071         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
53072         prototype.
53073         (ctype_startup): Use uint32_t in cast and sizeof for
53074         ctype->charnames.
53076 2013-09-11  Jia Liu  <proljc@gmail.com>
53078         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
53079         __daddr_t_defined.
53080         [__FreeBSD__]: Likewise.
53082 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
53084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
53085         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
53086         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
53087         (strchr): Remove __strchr_sse42 ifunc selection.
53088         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
53089         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
53091 2013-09-11  Will Newton  <will.newton@linaro.org>
53093         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
53094         parameter to RES. Remove hardcoded 1000 value.
53095         * benchtests/bench-skeleton.c (main): Pass RES parameter
53096         to TIMING_INIT and multiply result by 1000.
53098 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53102 2013-09-11  Andreas Schwab  <schwab@suse.de>
53104         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
53105         if not defined.
53106         (O_TMPFILE) [__USE_GNU]: Define.
53107         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
53108         Define.
53110 2013-09-11  Will Newton  <will.newton@linaro.org>
53112         [BZ #15857]
53113         * malloc/malloc.c (__libc_memalign): Check the value of bytes
53114         does not overflow.
53116 2013-09-11  Will Newton  <will.newton@linaro.org>
53118         [BZ #15856]
53119         * malloc/malloc.c (__libc_valloc): Check the value of bytes
53120         does not overflow.
53122 2013-09-11  Will Newton  <will.newton@linaro.org>
53124         [BZ #15855]
53125         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
53126         does not overflow.
53128 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
53130         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
53131         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53132         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53133         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53134         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53136 2013-09-10  Allan McRae  <allan@archlinux.org>
53138         [BZ #15748]
53139         * manual/arith.texi (Parsing of Floats): Clarify
53140         cross-reference.
53142         [BZ #15849]
53143         * manual/install.texi (Running make install): Mention
53144         --enable-pt-chown.
53145         * INSTALL: Regenerated.
53147 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
53149         * csu/init-first.c (_init): Remove the !SHARED condition around
53150         FPU control word initialization.
53151         * elf/dl-support.c (_dl_fpu_control): New variable.
53152         (_dl_aux_init) <AT_FPUCW>: Initialize it.
53153         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53154         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53155         * math/test-fpucw-static.c: New file.
53156         * math/test-fpucw-ieee.c: New file.
53157         * math/test-fpucw-ieee-static.c: New file.
53158         * math/Makefile (tests): Add `test-fpucw-ieee' and
53159         `$(tests-static)'.
53160         (tests-static): New variable.
53161         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53162         dependency to...
53163         [($(build-shared),yes)]
53164         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53165         ... this.
53166         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53167         New dependency.
53169 2013-09-09  Allan McRae  <allan@archlinux.org>
53171         [BZ #15939]
53172         * manual/string.texi (Collation Functions): Fix typo in
53173         strcoll example.
53174         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53176         [BZ #15893]
53177         * stdlib/isomac.c (get_null_defines): Fix memory leak.
53179         [BZ #15892]
53180         * libio/memstream.c (open_memstream): Fix memory leak.
53181         * libio/wmemstream.c (open_wmemstream): Likewise.
53183         [BZ #15895]
53184         * nscd/netgroupcache.c: Fix nesting of ifdefs.
53186 2013-09-09  Will Newton  <will.newton@linaro.org>
53188         * malloc/Makefile: Add tst-realloc to tests.
53189         * malloc/tst-realloc.c: New file.
53191 2013-09-09  Allan McRae  <allan@archlinux.org>
53193         [BZ #15844]
53194         * COPYING: Update from GNU website to fix FSF address.
53195         * COPYING.LIB: Likewise.
53197 2013-09-06  David S. Miller  <davem@davemloft.net>
53199         * po/zh_TW.po: Update Chinese (traditional) translation from
53200         translation project.
53202 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
53203             Joseph Myers  <joseph@codesourcery.com>
53205         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53206         "localeinfo.h".
53207         (obstack_chunk_alloc): New macro.
53208         (obstack_chunk_free): Likewise.
53209         (record_offset): New function.
53210         (init_locale_data): Likewise.
53211         (align_locale_data): Likewise.
53212         (add_locale_empty): Likewise.
53213         (add_locale_raw_data): Likewise.
53214         (add_locale_raw_obstack): Likewise.
53215         (add_locale_string): Likewise.
53216         (add_locale_wstring): Likewise.
53217         (add_locale_uint32): Likewise.
53218         (add_locale_uint32_array): Likewise.
53219         (add_locale_char): Likewise.
53220         (start_locale_structure): Likewise.
53221         (end_locale_structure): Likewise.
53222         (start_locale_prelude): Likewise.
53223         (end_locale_prelude): Likewise.
53224         (write_locale_data): Take locale_file structure rather than an
53225         iovec.
53226         * locale/programs/locfile.h: Include "obstack.h".
53227         (struct locale_file): Change to store locale file contents instead
53228         of header.
53229         (init_locale_data): New prototype.
53230         (align_locale_data): Likewise.
53231         (add_locale_empty): Likewise.
53232         (add_locale_raw_data): Likewise.
53233         (add_locale_raw_obstack): Likewise.
53234         (add_locale_string): Likewise.
53235         (add_locale_wstring): Likewise.
53236         (add_locale_uint32): Likewise.
53237         (add_locale_uint32_array): Likewise.
53238         (add_locale_char): Likewise.
53239         (start_locale_structure): Likewise.
53240         (end_locale_structure): Likewise.
53241         (start_locale_prelude): Likewise.
53242         (end_locale_prelude): Likewise.
53243         (write_locale_data): Update prototype.
53244         * locale/programs/3level.h (struct TABLE): Remove result field.
53245         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53246         Use new locale_file interface.
53247         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53248         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53249         * locale/programs/ld-address.c (address_output): Use new
53250         locale_file interface.
53251         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53252         NO_ADD_LOCALE.
53253         (collate_finish): Don't call collseq_table_finalize.
53254         (collate_output): Use new locale_file interface.
53255         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53256         in file.
53257         (NO_FINALIZE): Change to NO_ADD_LOCALE.
53258         (TABLE): Move defines earlier in file.
53259         (ELEMENT): Likewise.
53260         (DEFAULT): Likewise.
53261         (wctrans_table_add): Move macro and inline function earlier in
53262         file.
53263         (struct wctype_table): Move type earlier in file.
53264         (add_locale_wctype_table): New static prototype.
53265         (struct locale_ctype_t): Use logical types instead of struct iovec
53266         pointers for members.
53267         (ctype_output): Use new locale_file interface.
53268         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
53269         new locale_file interface.
53270         (allocate_arrays): Update for use of new locale_file interface.
53271         * locale/programs/ld-identification.c (identification_output): Use
53272         new locale_file interface.
53273         * locale/programs/ld-measurement.c (measurement_output): Likewise.
53274         * locale/programs/ld-messages.c (messages_output): Likewise.
53275         * locale/programs/ld-monetary.c (monetary_output): Likewise.
53276         * locale/programs/ld-name.c (name_output): Likewise.
53277         * locale/programs/ld-numeric.c (numeric_output): Likewise.
53278         * locale/programs/ld-paper.c (paper_output): Likewise.
53279         * locale/programs/ld-telephone.c (telephone_output): Likewise.
53280         * locale/programs/ld-time.c (time_output): Likewise.
53282 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53284         * benchtests/Makefile: Add memrchr benchmark.
53285         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53286         benchmark as memrchr.
53287         * benchtests/bench-memrchr-ifunc.c: New file.
53288         * benchtests/bench-memrchr.c: New file.
53290 2013-09-06   Will Newton  <will.newton@linaro.org>
53292         * benchtests/Makefile (string-bench): Add memcpy.
53294 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
53295             Cong Wang  <amwang@redhat.com>
53297         [BZ #15850]
53298         * sysdeps/unix/sysv/linux/bits/in.h
53299         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53300         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53301         before __USE_KERNEL_IPV6_DEFS uses.
53302         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53303         IPPROTO_BEETPH.
53304         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53305         sockaddr_in6, or ipv6_mreq.
53307 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53309         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53310         memory access for final bytes in some large inputs.
53311         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53313 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53315         * string/test-memrchr.c: New file.
53316         * string/test-memrchr-ifunc.c: New file.
53317         * string/Makefile: Add new memrchr testcase.
53319 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
53321         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53322         fanotify_init returns EPERM.
53324 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53326         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53327         errors.
53328         (top level): Treat second token from macro or constant entries for
53329         allowed headers as allowed.
53330         * include/complex.h: Condition internal declarations on
53331         [!_ISOMAC].
53332         * include/fenv.h: Condition include of <stdbool.h> and internal
53333         declarations on [!_ISOMAC].
53335 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
53337         [BZ #15923]
53338         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53340 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53342         * configure.in (--enable-versioning): Remove configure option.
53343         (libc_cv_asm_symver_directive): Remove configure test.
53344         (libc_cv_ld_version_script_option): Likewise.
53345         (VERSIONING): Remove variable and AC_SUBST.
53346         (DO_VERSIONING): Remove AC_DEFINE.
53347         * configure: Regenerated.
53348         * config.h.in (DO_VERSIONING): Remove macro.
53349         * Makerules [$(versioning) = yes]: Change conditionals to
53350         [$(build-shared) = yes].
53351         * config.make.in (versioning): Remove variable.
53352         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53353         [$(build-shared) = yes].
53354         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53355         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53356         * elf/Makefile [$(versioning) = yes]: Change conditionals to
53357         [$(build-shared) = yes].
53358         * extra-lib.mk [$(versioning) = yes]: Likewise.
53359         * hurd/Makefile [$(versioning) = yes]: Likewise.
53360         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53361         [SHARED].
53362         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53363         [SHARED].
53364         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53365         [SHARED && !NO_HIDDEN].
53366         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53367         [SHARED].
53368         [SHARED && DO_VERSIONING]: Likewise..
53369         * libio/Makefile [$(versioning) = yes]: Change conditionals to
53370         [$(build-shared) = yes].
53371         * manual/install.texi (--disable-versioning): Remove
53372         documentation.
53373         * INSTALL: Regenerated.
53374         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53375         to [SHARED].
53376         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53377         [$(build-shared) = yes].
53378         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53379         * sysdeps/i386/i686/multiarch/strstr-c.c
53380         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53381         [SHARED && !NO_HIDDEN].
53382         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53383         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53384         * sysdeps/powerpc/powerpc32/dl-machine.c
53385         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53386         * sysdeps/powerpc/powerpc32/sysdep.h
53387         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53388         to [SHARED && PIC && !NO_HIDDEN].
53389         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53390         conditional to [SHARED].
53392 2013-09-04   Will Newton  <will.newton@linaro.org>
53394         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53395         * benchtests/bench-string.h: Include bench-timing.h instead
53396         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53397         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53398         call to HP_TIMING_DIFF_INIT.
53399         * benchtests/bench-memccpy.c: Use bench-timing.h macros
53400         instead of hp-timing.h macros.
53401         * benchtests/bench-memchr.c: Likewise.
53402         * benchtests/bench-memcmp.c: Likewise.
53403         * benchtests/bench-memcpy.c: Likewise.
53404         * benchtests/bench-memmem.c: Likewise.
53405         * benchtests/bench-memmove.c: Likewise.
53406         * benchtests/bench-memset.c: Likewise.
53407         * benchtests/bench-rawmemchr.c: Likewise.
53408         * benchtests/bench-strcasecmp.c: Likewise.
53409         * benchtests/bench-strcasestr.c: Likewise.
53410         * benchtests/bench-strcat.c: Likewise.
53411         * benchtests/bench-strchr.c: Likewise.
53412         * benchtests/bench-strcmp.c: Likewise.
53413         * benchtests/bench-strcpy.c: Likewise.
53414         * benchtests/bench-strcpy_chk.c: Likewise.
53415         * benchtests/bench-strlen.c: Likewise.
53416         * benchtests/bench-strncasecmp.c: Likewise.
53417         * benchtests/bench-strncat.c: Likewise.
53418         * benchtests/bench-strncmp.c: Likewise.
53419         * benchtests/bench-strncpy.c: Likewise.
53420         * benchtests/bench-strnlen.c: Likewise.
53421         * benchtests/bench-strpbrk.c: Likewise.
53422         * benchtests/bench-strrchr.c: Likewise.
53423         * benchtests/bench-strspn.c: Likewise.
53424         * benchtests/bench-strstr.c: Likewise.
53426 2013-09-04  Will Newton  <will.newton@linaro.org>
53428         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53430 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
53432         [BZ #15427]
53433         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53434         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53435         * math/libm-test.inc (lgamma_test_data): Add more tests.
53436         * sysdeps/i386/fpu/libm-test-ulps: Update.
53437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53439 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
53441         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53443         Add ifunc.
53444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53445         Add strcmp-sse2-unaligned
53446         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53448 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53450         * Versions.def (libc): Add GLIBC_2.19.
53452 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53454         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53455         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53457 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
53459         [BZ #14155]
53460         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53461         intermediate calculations in recurrence.
53462         (__ieee754_ynf): Likewise.
53463         * math/libm-test.inc (jn_test_data): Do not allow spurious
53464         underflow exception.  Add more tests.
53465         (yn_test_data): Add more tests.
53466         * sysdeps/i386/fpu/libm-test-ulps: Update.
53467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53469 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
53471         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53473 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53475         * csu/init-first.c: Fix then/than typos.
53476         * locale/programs/ld-collate.c: Likewise.
53477         * locale/programs/linereader.h: Likewise.
53478         * manual/charset.texi: Likewise.
53479         * manual/filesys.texi: Likewise.
53480         * manual/stdio.texi: Likewise.
53481         * manual/string.texi: Likewise.
53482         * stdlib/fmtmsg.c: Likewise.
53483         * sysdeps/i386/stpncpy.S: Likewise.
53484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53485         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53486         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53487         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53489 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53491         * elf/dl-open.c: Fix typos.
53492         * iconvdata/gbbig5.c: Likewise.
53493         * iconvdata/iso-2022-jp.c: Likewise.
53494         * iconv/gconv_int.h: Likewise.
53495         * iconv/loop.c: Likewise.
53496         * nis/rpcsvc/nis.h: Likewise.
53497         * resolv/ns_name.c: Likewise.
53498         * stdio-common/vfscanf.c: Likewise.
53499         * streams/stropts.h: Likewise.
53500         * sunrpc/rpc_thread.c: Likewise.
53501         * sysdeps/i386/strpbrk.S: Likewise.
53502         * sysdeps/ieee754/k_standard.c: Likewise.
53503         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53504         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53505         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53506         * sysdeps/mach/hurd/profil.c: Likewise.
53507         * sysdeps/s390/dl-procinfo.h: Likewise.
53508         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53509         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53510         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53511         * sysdeps/x86_64/dl-trampoline.S: Likewise.
53512         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53514 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
53516         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53517         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53519 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
53521         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53522         aix specific files.
53523         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53524         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53525         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53526         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53527         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53528         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53529         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53530         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53532 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53533             Roland McGrath  <roland@hack.frob.com>
53535         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53536         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53538 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53540         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53541         __executable_start symbol instead of _start.
53543 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53545         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53546         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53547         Move macros to...
53548         * sysdeps/gnu/ldsodefs.h: ... this new file.
53550         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53551         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53552         instead of ELFOSABI_LINUX.
53554         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53555         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53556         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53557         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53558         Likewise.
53559         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53560         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53561         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53562         Likewise.
53563         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53564         (ibm_extended_long_double): Add ieee_nan member.
53565         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53566         (do_test): New function.
53568         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53569         TEST_TRUNC.
53570         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53571         functions, renamed from truncdfsf_test, trunctfsf_test,
53572         trunctfdf_test.
53573         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53574         functions.
53575         (do_test): Run all these.
53577 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
53579         * argp/argp-help.c: Fix typos.
53580         * argp/argp-parse.c: Likewise.
53581         * debug/backtracesyms.c: Likewise.
53582         * elf/elf.h: Likewise.
53583         * malloc/malloc.c: Likewise.
53584         * nis/nis_print.c: Likewise.
53585         * resolv/res_comp.c: Likewise.
53586         * stdlib/stdlib.h: Likewise.
53587         * sunrpc/clnt_tcp.c: Likewise.
53588         * sunrpc/clnt_udp.c: Likewise.
53589         * sunrpc/clnt_unix.c: Likewise.
53590         * sysdeps/unix/bsd/ptsname.c: Likewise.
53591         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53592         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53594         Likewise.
53595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53596         Likewise.
53597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53598         Likewise.
53599         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53601 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53603         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53606 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
53608         [BZ #15897]
53609         * dlfcn/Makefile (tests): Add bug-dl-leaf.
53610         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53611         ($(objpfx)bug-dl-leaf): New rule.
53612         ($(objpfx)bug-dl-leaf.so): Likewise.
53613         ($(objpfx)bug-dl-leaf.out): Likewise.
53614         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53615         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53616         * dlfcn/bug-dl-leaf.c: New test.
53617         * dlfcn/bug-dl-leaf-lib.c: Likewise.
53618         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53619         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53620         (dlclose): Likewise.
53621         (dlmopen): Likewise.
53623 2013-08-27  Roland McGrath  <roland@hack.frob.com>
53625         * include/netdb.h [!_ISOMAC]:
53626         Don't include <tls.h>.
53627         (h_errno, __libc_h_errno): Move declaration and macros out of
53628         [_LIBC_REENTRANT].
53630         * include/resolv.h [_RESOLV_H_]:
53631         Don't include <tls.h>.
53632         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53633         * resolv/res_libc.c: Don't include <tls.h>.
53634         (_res): Use __attribute__ ((nocommon)) in place of
53635         __attribute__ ((section (".bss"))).
53637         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53638         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53640         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53642         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53643         only under [SIOCGIFCONF && SIOCGIFNETMASK].
53645         * resolv/res_mkquery.c: Include <sys/time.h>.
53647         * inet/ifreq.c: Moved to ...
53648         * sysdeps/unix/ifreq.c: ... here.
53649         * inet/ifreq.c: New file, true stub version.
53651         * socket/sa_len.c: New file.
53652         * socket/Makefile (aux): Add it.
53653         * sysdeps/unix/sysv/linux/Makefile
53654         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53655         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53656         and #include <socket/sa_len.c>.
53657         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53658         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53660         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53661         * bits/socket.h: ... here.
53663         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53664         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53665         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53667 2013-08-27  Andreas Schwab  <schwab@suse.de>
53669         [BZ #15736]
53670         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53671         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53672         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53673         * string/test-strcasecmp.c (test_main): Run tests in several
53674         locales.
53675         * string/test-strncasecmp.c (test_main): Likewise.
53677         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53678         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53679         to __strcasecmp_nonascii and __strncasecmp_nonascii.
53680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53681         (__strncasecmp_ssse3) [PIC]: Likewise.
53683 2013-08-26  Roland McGrath  <roland@hack.frob.com>
53685         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53687         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53688         instead of explicitly declaring xdecrypt.
53689         * nis/nss_nis/nis-publickey.c: Likewise.
53691 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53693         [BZ #15890]
53694         * nscd/aicache.c: Include res_hconf.h.
53695         (addhstaiX): Initialize res_hconf.
53697 2013-08-26  Andreas Schwab  <schwab@suse.de>
53699         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53700         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53702 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53704         * nscd/aicache.c (addhstaiX): Fix indentation.
53706 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
53708         * configure.ac: Quote $build_pt_chown test.
53709         * configure: Regenerated.
53711 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
53713         [BZ #15532]
53714         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53715         * math/s_cexpf.c (__cexpf): Likewise.
53716         * math/s_cexpl.c (__cexpl): Likewise.
53717         * math/libm-test.inc (cexp_test_data): Correct expected return
53718         value for NaN + i0.  Add another test.
53720 2013-08-22  David S. Miller  <davem@davemloft.net>
53722         * po/ca.po: Update Catalan translation from translation project.
53723         * po/uk.po: Add Ukrainian translations from translation project.
53725 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
53727         [BZ #15797]
53728         * math/s_fdim.c (__fdim): Check for infinite arguments if result
53729         is infinite, not alongside NaN test.
53730         * math/s_fdimf.c (__fdimf): Likewise.
53731         * math/s_fdiml.c (__fdiml): Likewise.
53732         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
53733         errno is unchanged.
53735 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
53737         * argp/argp-help.c: Fix typos.
53738         * crypt/speeds.c: Likewise.
53739         * csu/check_fds.c: Likewise.
53740         * elf/dl-load.c: Likewise.
53741         * elf/dl-open.c: Likewise.
53742         * elf/reldep3.c: Likewise.
53743         * elf/reldep.c: Likewise.
53744         * elf/sprof.c: Likewise.
53745         * iconv/iconv_charmap.c: Likewise.
53746         * iconv/skeleton.c: Likewise.
53747         * iconv/strtab.c: Likewise.
53748         * io/lockf64.c: Likewise.
53749         * libio/libioP.h: Likewise.
53750         * resolv/gai_notify.c: Likewise.
53751         * resolv/ns_name.c: Likewise.
53752         * resolv/ns_samedomain.c: Likewise.
53753         * resolv/res_send.c: Likewise.
53754         * stdlib/random.c: Likewise.
53755         * sunrpc/rpc/xdr.h: Likewise.
53756         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53757         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53758         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53759         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53760         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53761         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53762         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53763         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53764         * sysdeps/mach/hurd/check_fds.c: Likewise.
53765         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53766         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53767         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53768         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53769         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53770         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53771         * sysdeps/pthread/aio_notify.c: Likewise.
53772         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53773         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53774         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53775         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53776         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53778 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53780         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53781         version if bit_Slow_SSE4_2 is set.
53782         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53783         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53785 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53787         [BZ #15867]
53788         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53789         trampoline stack frame information.
53790         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53791         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53792         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53793         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53794         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53795         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53796         (_libc_vdso_platform_setup): Initialize the signal trampolines.
53797         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53798         sa_flags value.
53799         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53800         interrupting a syscall and set with option SA_SIGINFO.
53802 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53804         [BZ #15531]
53805         * math/s_cproj.c (__cproj): Only return an infinity if one part of
53806         argument is infinite.
53807         * math/s_cprojf.c (__cprojf): Likewise.
53808         * math/s_cprojl.c (__cprojl): Likewise.
53809         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53810         * math/libm-test.inc (cproj_test_data): Add more tests.
53812         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53814         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53815         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53816         size.  Use __ffs to determine corresponding shift.
53818 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53819             Roland McGrath  <roland@hack.frob.com>
53821         * Makefile (INSTALL): Remove trailing blank lines from output of
53822         makeinfo.
53824 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53826         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53827         Align 32 bit compat elf_greg to 8 bytes.
53829 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
53831         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53833 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53835         * string/strcoll_l.c (coll_seq): New structure.
53836         (get_next_seq_cached): New function.
53837         (get_next_seq): New function.
53838         (do_compare): New function.
53839         (STRCOLL): Use GNU style definition.  Simplify implementation
53840         by using get_next_seq, get_next_seq_cached and do_compare.
53842 2013-08-16  Florian Weimer  <fweimer@redhat.com>
53844         [BZ #14699]
53845         CVE-2013-4237
53846         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53847         member.
53848         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53849         member.
53850         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53851         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53852         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
53853         conditional.
53854         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53855         GETDENTS_64BIT_ALIGNED.
53856         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53857         * manual/filesys.texi (Reading/Closing Directory): Document
53858         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
53859         strongly.
53860         * manual/conf.texi (Limits for Files): Add portability note to
53861         NAME_MAX, PATH_MAX.
53862         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53864 2013-08-13  Andreas Schwab  <schwab@suse.de>
53866         [BZ #15749]
53867         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53868         of fabs.
53869         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53870         LDBL_MAX_EXP >= 16384]: Add tests for it.
53872 2013-08-12  David S. Miller  <davem@davemloft.net>
53874         * version.h (RELEASE): Set to "development".
53875         (VERSION): Set to "2.18.90".
53876         * NEWS: Add 2.19 section.
53878 2013-08-03  David S. Miller  <davem@davemloft.net>
53880         * po/ko.po: Update Korean translation from translation project.
53882 2013-08-01  David S. Miller  <davem@davemloft.net>
53884         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53885         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53886         Bilka.
53888 2013-07-30  David S. Miller  <davem@davemloft.net>
53890         * po/fr.po: Update French translation from translation project.
53892 2013-07-28  David S. Miller  <davem@davemloft.net>
53894         * po/cs.po: Update Czech translation from translation project.
53896         * po/sv.po: Update Swedish translation from translation project.
53898 2013-07-27  David S. Miller  <davem@davemloft.net>
53900         * po/eo.po: Update Esperanto translation from translation project.
53902         * po/vi.po: Update Vietnamese translation from translation project.
53904         * po/de.po: Update German translation from translation project.
53906 2013-07-26  David S. Miller  <davem@davemloft.net>
53908         * po/bg.po: Update Bulgarian translation from translation project.
53910         * po/nl.po: Update Dutch translation from translation project.
53911         * po/pl.po: Update Polish translation from translation project.
53912         * po/ru.po: Update Russian translation from translation project.
53914 2013-07-24  David S. Miller  <davem@davemloft.net>
53916         * po/libc.pot: Update.
53918 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53920         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53921         variable page size.
53922         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53923         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53924         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53926 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53928         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53930 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53931             Andreas Schwab  <schwab@suse.de>
53932             Roland McGrath  <roland@hack.frob.com>
53933             Joseph Myers  <joseph@codesourcery.com>
53934             Carlos O'Donell  <carlos@redhat.com>
53936         [BZ #15755]
53937         * config.h.in: Define HAVE_PT_CHOWN.
53938         * config.make.in (build-pt-chown): New variable.
53939         * configure.in (--enable-pt_chown): New configure option.
53940         * configure: Regenerate.
53941         * login/Makefile: Include Makeconfig.  Build pt_chown only if
53942         build-pt-chown is enabled.
53943         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53944         pt_chown to fix pty ownership.
53945         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53946         CLOSE_ALL_FDS.
53947         * manual/install.texi (Configuring and compiling): Mention
53948         --enable-pt_chown. Add @findex for grantpt.
53949         * INSTALL: Regenerate.
53951 2013-07-20  David S. Miller  <davem@davemloft.net>
53953         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53954         difference between 32-bit and 64-bit.
53956 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
53958         [BZ #15711]
53959         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53960         Avoid system header dependency with -ffreestanding.
53961         ($(objpfx)bits/syscall%d): Likewise.
53963 2013-07-13  David S. Miller  <davem@davemloft.net>
53965         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53966         underflows from atanl/atan2l due to bug 15319.
53967         (casinh_test_data): Likewise.
53969 2013-07-07  David S. Miller  <davem@davemloft.net>
53971         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53973 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
53975         * sysdeps/i386/fpu/libm-test-ulps: Update.
53976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53978 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53980         * configure.in (--enable-lock-elision): Fix message text.
53981         * INSTALL: Regenerate.
53982         * configure: Regenerate.
53984 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53988 2013-07-03  Andreas Jaeger  <aj@suse.de>
53990         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53991         define.
53992         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53993         (ptrace_peeksiginfo_args): Add.
53994         (__ptrace_peeksiginfo_flags): Add.
53995         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53996         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53997         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53999 2013-07-03  Allan McRae  <allan@archlinux.org>
54001         * sysdeps/i386/fpu/libm-test-ulps: Update.
54003 2013-07-02  David S. Miller  <davem@davemloft.net>
54005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54007 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
54009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54011 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
54013         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54016 2013-07-02  Andi Kleen <ak@linux.intel.com>
54018         * config.h.in (ENABLE_LOCK_ELISION): Add.
54019         * configure.in (--enable-lock-elision): Add option.
54020         * manual/install.texi: Document --enable lock elision.
54021         * configure: Regenerate
54022         * INSTALL: Regenerate.
54024 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
54026         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
54027         SSE4.2 strcasecmp for libc.a.
54028         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
54030 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
54032         [BZ #13304]
54033         * soft-fp/op-common.h (_FP_FMA): New macro.
54034         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
54035         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
54036         (_FP_MUL_MEAT_1_imm): ... here.
54037         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
54038         (_FP_MUL_MEAT_1_wide): ... here.
54039         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
54040         (_FP_MUL_MEAT_1_hard): ... here.
54041         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
54042         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
54043         (_FP_MUL_MEAT_2_wide): ... here.
54044         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
54045         (_FP_MUL_MEAT_2_wide_3mul): ... here.
54046         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
54047         (_FP_MUL_MEAT_2_gmp): ... here.
54048         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
54049         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
54050         (_FP_MUL_MEAT_4_wide): ... here.
54051         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
54052         (_FP_MUL_MEAT_4_gmp): ... here.
54053         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
54054         (_FP_WFRACBITS_DW_S): Likewise.
54055         (_FP_WFRACXBITS_DW_S): Likewise.
54056         (_FP_HIGHBIT_DW_S): Likewise.
54057         (FP_FMA_S): Likewise.
54058         (_FP_FRAC_HIGH_DW_S): Likewise.
54059         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
54060         (_FP_WFRACBITS_DW_D): Likewise.
54061         (_FP_WFRACXBITS_DW_D): Likewise.
54062         (_FP_HIGHBIT_DW_D): Likewise.
54063         (FP_FMA_D): Likewise.
54064         (_FP_FRAC_HIGH_DW_D): Likewise.
54065         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
54066         (_FP_WFRACBITS_DW_E): Likewise.
54067         (_FP_WFRACXBITS_DW_E): Likewise.
54068         (_FP_HIGHBIT_DW_E): Likewise.
54069         (FP_FMA_E): Likewise.
54070         (_FP_FRAC_HIGH_DW_E): Likewise.
54071         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
54072         (_FP_WFRACBITS_DW_Q): Likewise.
54073         (_FP_WFRACXBITS_DW_Q): Likewise.
54074         (_FP_HIGHBIT_DW_Q): Likewise.
54075         (FP_FMA_Q): Likewise.
54076         (_FP_FRAC_HIGH_DW_Q): Likewise.
54077         * soft-fp/fmasf4.c: New file.
54078         * soft-fp/fmadf4.c: Likewise.
54079         * soft-fp/fmatf4.c: Likewise.
54081 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54084         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
54085         Silvermont.
54086         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
54087         macro.
54088         (index_Slow_SSE4_2): Likewise.
54089         (index_Prefer_PMINUB_for_stringop): Likewise.
54090         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
54091         bit_Slow_SSE4_2 is set.
54092         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54093         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54095 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54097         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
54098         rtld_global._dl_hwcap2.
54099         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
54100         POWER8.
54101         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
54102         POWER8 feature descriptions defined in _dl_hwcap2.
54103         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
54104         string handling for POWER8 feature bits.
54105         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
54106         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
54107         _dl_powerpc_cap_flags.
54108         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
54109         * sysdeps/powerpc/rtld-global-offsets.sym
54110         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
54111         _dl_hwcap2 in the rtld_global_ro structure.
54113 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54115         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
54116         hardware capabilities in support of AT_HWCAP2.
54117         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
54118         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
54119         GLRO(dl_hwcap2).
54120         (_dl_show_auxv): Add support for calling _dl_procinfo to display
54121         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
54122         explicitly the unknown a_type display mechanism is used.
54123         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
54124         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
54125         struct member.
54126         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
54127         to macro prototype for AT_HWCAP2 support.
54128         * sysdeps/i386/dl-procinfo.h: Likewise.
54129         * sysdeps/s390/dl-procinfo.h: Likewise.
54130         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
54131         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
54132         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
54133         return -1 for unknown a_type display fallback.
54134         * sysdeps/sparc/dl-procinfo.h: Likewise.
54135         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
54136         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
54138 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
54140         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
54141         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
54143 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
54145         [BZ #12492]
54146         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54147         mprotect making __stack_prot writable.
54149 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
54150             Joseph Myers  <joseph@codesourcery.com>
54152         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54153         as being properly aligned.
54155 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
54157         * dlfcn/modstatic5.c: New file.
54158         * dlfcn/tststatic5.c: New file.
54159         * dlfcn/Makefile (tests): Add tststatic5.
54160         (tests-static): Likewise.
54161         (modules-names): Add modstatic5.
54162         (tststatic5-ENV): New variable.
54163         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54165         [BZ #15022]
54166         * elf/dl-support.c (_dl_main_map): New variable.
54167         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54168         (_dl_nns, _dl_load_adds): Set to 1.
54169         (_dl_initial_searchlist): Refer to _dl_main_map.
54170         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54171         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54172         call to _dl_get_origin.
54173         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54174         around call_map.
54175         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54176         * dlfcn/modstatic3.c: New file.
54177         * dlfcn/tststatic3.c: New file.
54178         * dlfcn/tststatic4.c: New file.
54179         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54180         (tests-static): Likewise.
54181         (modules-names): Add modstatic3.
54182         (tststatic3-ENV, tststatic4-ENV): New variables.
54183         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54184         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54186 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
54188         * configure.in (CC): Require GCC version 4.4 or later.
54189         * configure: Regenerated.
54190         * manual/install.texi (Tools for Compilation): Update GCC version
54191         requirement.
54192         * INSTALL: Regenerated.
54194 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54196         [BZ #15674]
54197         * string/test-memcmp.c (check2): New.
54198         (main): Call check2.
54200         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54202 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
54204         [BZ #15022]
54205         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54206         over to...
54207         (dl_open_worker) [!SHARED]: ... here.
54209 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54211         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54213 2013-06-25  Richard Henderson  <rth@redhat.com>
54215         * locale/programs/locarchive.c: Include <libc-internal.h>
54217 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
54219         * manual/texinfo.tex: Update to version 2013-06-21.17, with
54220         trailing whitespace removed.
54222 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54224         [BZ #10283]
54225         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54226         * locale/programs/locarchive.c: Include libc-mmap.h.
54227         (prepare_address_space): Take two new outputs (the mmap base and len).
54228         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
54229         values.
54230         (create_archive): Declare new mmap base and len values for
54231         prepare_address_space, and store the result in ah.
54232         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54233         (enlarge_archive): If ah->mmap_base is not NULL, use that and
54234         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54235         Declare new mmap base and len values for
54236         prepare_address_space, and store the result in new_ah.
54237         (open_archive): Declare new mmap base and len values for
54238         prepare_address_space, and store the result in ah.
54239         (close_archive): If ah->mmap_base is not NULL, use that and
54240         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54241         * sysdeps/generic/libc-mmap.h: New file.
54243 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54245         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54246         (ALIGN_UP): Likewise.
54247         (PTR_ALIGN_DOWN): Likewise.
54248         (PTR_ALIGN_UP): Likewise.
54250 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54252         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54253         entry mapped to PPC_PLATFORM_POWER8.
54254         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54255         POWER8.
54256         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54257         (_dl_string_platform): Add case for exporting platform position for
54258         POWER8.
54259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54260         search path to sysdeps/powerpc/powerpc32/power8 directory.
54261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54262         search path to sysdeps/powerpc/powerpc64/power8 directory.
54263         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54264         power7 directories.
54265         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54266         power7 directories.
54268 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54270         * INSTALL: Regenerate.
54272         * nscd/connections.c (nscd_init): Fix comment.
54274 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
54276         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54278         [BZ #15667]
54279         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54280         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54282 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54284         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54285         DL_DST_REQ_STATIC.
54286         (DL_DST_REQ_STATIC): Remove macro.
54288 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
54290         [BZ #7006]
54291         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54292         with a shift of 0 bits.
54294 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54296         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54297         $(tststatic-ENV).
54299 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54301         [BZ #15655]
54302         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54304 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54306         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54307         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54308         accepts -fno-tree-loop-distribute-patterns.
54309         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54310         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54311         recursive call.
54312         * string/memset.c (memset): Likewise.
54313         * string/test-memmove.c (simple_memmove): Disable loop transformation
54314         to library calls.
54315         * string/test-memset.c (simple_memset): Likewise.
54316         * benchtests/bench-memmove.c (simple_memmove): Likewise.
54317         * benchtests/bench-memset.c (simple_memset): Likewise.
54318         * configure: Regenerated.
54320 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
54322         * math/test-misc.c (main): Ignore fesetround failure when failures
54323         of subsequent rounding tests would be ignored.
54325         [BZ #15654]
54326         * math/fedisblxcpt.c (fedisableexcept): Return 0.
54327         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54328         * math/fegetenv.c (__fegetenv): Return 0.
54329         * math/fegetexcept.c (fegetexcept): Return 0.
54330         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54331         FE_TONEAREST.
54332         * math/feholdexcpt.c (feholdexcept): Return 0.
54333         * math/fesetenv.c (__fesetenv): Return 0.
54334         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54335         argument FE_TONEAREST.
54336         * math/feupdateenv.c (__feupdateenv): Return 0.
54337         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54339 2013-06-18  Roland McGrath  <roland@hack.frob.com>
54341         * elf/rtld-Rules (rtld-compile-command.S): New variable.
54342         (rtld-compile-command.s, rtld-compile-command.c): New variables.
54343         ($(objpfx)rtld-%.os rules): Use them.
54345 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54347         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54348         fields.
54350 2013-06-17  Roland McGrath  <roland@hack.frob.com>
54352         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54353         length of target pattern, then descending length of dependency pattern.
54354         * configure.in (AWK): Require gawk 3.1.2 or newer.
54355         * manual/install.texi (Tools for Compilation): Say that we do.
54356         * configure: Regenerated.
54358         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54359         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54360         * scripts/sysd-rules.awk: ... this new script.
54361         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54362         than a glob-style pattern.
54364 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
54366         * math/test-misc.c (main): Do not treat incorrectly rounded
54367         conversions as failure unless ROUNDING_TESTS passes.
54369 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
54371         [BZ #15631]
54372         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54373         restore exception state around main square root computation, then
54374         check for inexactness explicitly.
54376         * math/libm-test.inc (fma_test_data): Add another test.
54378 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54380         * manual/threads.texi (Non-POSIX Extensions): New document
54381         node.  Document pthread_getattr_default_np and
54382         pthread_setattr_default_np.
54384         * Versions.def (libpthread): Add GLIBC_2.18.
54385         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54387         Likewise.
54388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54389         Likewise.
54390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54391         Likewise.
54392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54393         Likewise.
54394         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54395         Likewise.
54396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54397         Likewise.
54398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54399         Likewise.
54400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54401         Likewise.
54402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54403         Likewise.
54405 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54408         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54410 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54411             H.J. Lu  <hjl.tools@gmail.com>
54413         [BZ #15627]
54414         * sysdeps/x86_64/rtld-memset.c: Remove file.
54415         * sysdeps/x86_64/rtld-memset.S: New file.
54417 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
54419         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54420         (test_in_one_mode): Take arguments for whether the rounding mode
54421         is supported for each floating-point type.
54422         (do_test): Pass new arguments to test_in_one_mode using
54423         ROUNDING_TESTS.
54425 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54427         * posix/tst-waitid.c (do_test): Distinguish different instances of
54428         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
54429         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54430         before entering the kernel for waitpid.
54432 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54434         * NEWS: Fix note on clock function precision.  Text by Roland
54435         McGrath.
54437 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54439         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54440         it into place only when and if the sanity check passes.
54442 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
54444         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54445         output for whether conversion result is exact.  Take argument
54446         indicating whether type is IBM long double.
54447         (round_for_all): Change need_exact field to ibm_ld.
54448         * stdlib/tst-strtod-round.c (struct exactness): New type.
54449         (struct test): Change bool ld_ok field to struct exactness exact.
54450         (TEST): Update all definitions for change to field.
54451         (tests): Regenerate array contents.
54452         (test_in_one_mode): Take pointer to new field instead of old ld_ok
54453         field value.  Check for IBM long double here.
54454         (do_test): Update calls to test_in_one_mode.
54456 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54458         [BZ #12515]
54459         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54460         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54462 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54464         [BZ #15605]
54465         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54466         generated by the compiler on loop optimizations.
54467         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54468         general definitions.
54470 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
54472         * math/bug-nextafter.c: Include <math-tests.h>.
54473         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54474         the relevant type.
54475         * math/bug-nexttoward.c: Include <math-tests.h>.
54476         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54477         the relevant type.
54478         * math/test-misc.c: Include <math-tests.h>.
54479         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54480         the relevant type.
54482 2013-06-12  Andreas Jaeger  <aj@suse.de>
54484         * po/ia.po: Update Interlingua translation from translation
54485         project.
54487 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54489         * include/fenv.h: Include stdbool.h.
54490         (struct rm_ctx): New structure.
54491         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54492         Define macro.
54493         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54494         (SET_RESTORE_ROUNDF): Likewise.
54495         (SET_RESTORE_ROUNDL): Likewise.
54496         (SET_RESTORE_ROUND_NOEX): Likewise.
54497         (SET_RESTORE_ROUND_NOEXF): Likewise.
54498         (SET_RESTORE_ROUND_NOEXL): Likewise.
54499         (SET_RESTORE_ROUND_53BIT): Likewise.
54500         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54501         (libc_feresetround_noexf_ctx): Likewise.
54502         (libc_feresetround_noexl_ctx): Likewise.
54503         (libc_feholdsetround_53bit_ctx): Likewise.
54504         (libc_feresetround_53bit_ctx): Likewise.
54505         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54506         (libc_feholdexcept_setround_sse_ctx): New function.
54507         (libc_fesetenv_sse_ctx): Likewise.
54508         (libc_feupdateenv_sse_ctx): Likewise.
54509         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54510         (libc_feholdexcept_setround_387_ctx): Likewise.
54511         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54512         (libc_feholdsetround_387_prec_ctx): Likewise.
54513         (libc_feholdsetround_387_ctx): Likewise.
54514         (libc_feholdsetround_387_53bit_ctx): Likewise.
54515         (libc_feholdsetround_sse_ctx): Likewise.
54516         (libc_feresetround_sse_ctx): Likewise.
54517         (libc_feresetround_387_ctx): Likewise.
54518         (libc_feupdateenv_387_ctx): Likewise.
54519         (libc_feholdexcept_setroundf_ctx): Define macro.
54520         (libc_fesetenvf_ctx): Likewise.
54521         (libc_feupdateenvf_ctx): Likewise.
54522         (libc_feholdsetroundf_ctx): Likewise.
54523         (libc_feresetroundf_ctx): Likewise.
54524         (libc_feholdexcept_setround_ctx): Likewise.
54525         (libc_fesetenv_ctx): Likewise.
54526         (libc_feupdateenv_ctx): Likewise.
54527         (libc_feholdsetround_ctx): Likewise.
54528         (libc_feresetround_ctx): Likewise.
54529         (libc_feholdexcept_setroundl_ctx): Likewise.
54530         (libc_feupdateenvl_ctx): Likewise.
54531         (libc_feholdsetroundl_ctx): Likewise.
54532         (libc_feresetroundl_ctx): Likewise.
54533         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54534         (libc_feresetround_53bit_ctx): Likewise.
54536 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54538         * locale/iso-639.def: Convert to UTF-8.
54540 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
54542         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54543         (EXCEPTION_TESTS_double): Likewise.
54544         (EXCEPTION_TESTS_long_double): Likewise.
54545         (EXCEPTION_TESTS): Likewise.
54546         * math/libm-test.inc (test_exceptions): Only test exceptions if
54547         EXCEPTION_TESTS (FLOAT).
54549 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54551         * benchtests/Makefile (string-bench): Add strcpy_chk and
54552         stpcpy_chk.
54553         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54554         * benchtests/bench-stpcpy_chk.c: New file.
54555         * benchtests/bench-strcpy_chk-ifunc.c: New file.
54556         * benchtests/bench-strcpy_chk.c: New file.
54557         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54558         code.
54559         (do_test): Likewise.
54561 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54563         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54564         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54565         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54566         with tabs where appropriate.
54567         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54568         dl-procinfo.h.
54569         [PPC_PLATFORM_PPC440]: Likewise.
54570         [PPC_PLATFORM_PPC464]: Likewise.
54571         [PPC_PLATFORM_PPC476]: Likewise.
54572         (_dl_string_platform): Add support for detecting ppc405, ppc440,
54573         ppc464, and ppc476 platform strings merging from ports/
54574         dl-procinfo.h.
54576 2013-06-11  Andreas Schwab  <schwab@suse.de>
54578         [BZ #14991]
54579         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54580         (from_ucs4_idx): Regenerate.
54581         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54582         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54583         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54584         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54585         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54586         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54587         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54588         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54589         from FROM_LOOP and TO_LOOP specific macros.
54590         (BODY): Handle combining characters.
54591         * iconvdata/BIG5HKSCS.irreversible: Update.
54592         * iconvdata/BIG5HKSCS.precomposed: New file.
54593         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54594         characters.
54595         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54597 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54599         * include/sys/time.h: Fix indentation and add copyright header.
54601         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54602         (do_test): Likewise.
54603         * string/test-memchr.c (do_one_test): Likewise.
54604         (do_test): Likewise.
54605         * string/test-memcmp.c (do_one_test): Likewise.
54606         (do_test): Likewise.
54607         * string/test-memcpy.c (do_one_test): Likewise.
54608         (do_test): Likewise.
54609         * string/test-memmem.c (do_one_test): Likewise.
54610         (do_test): Likewise.
54611         (do_random_tests): Likewise.
54612         * string/test-memmove.c (do_one_test): Likewise.
54613         (do_test): Likewise.
54614         * string/test-memset.c (do_one_test): Likewise.
54615         (do_test): Likewise.
54616         * string/test-rawmemchr.c (do_one_test): Likewise.
54617         (do_test): Likewise.
54618         * string/test-strcasecmp.c (do_one_test): Likewise.
54619         (do_test): Likewise.
54620         * string/test-strcasestr.c (do_one_test): Likewise.
54621         (do_test): Likewise.
54622         * string/test-strcat.c (do_one_test): Likewise.
54623         (do_test): Likewise.
54624         * string/test-strchr.c (do_one_test): Likewise.
54625         (do_test): Likewise.
54626         * string/test-strcmp.c (do_one_test): Likewise.
54627         (do_test): Likewise.
54628         * string/test-strcpy.c (do_one_test): Likewise.
54629         (do_test): Likewise.
54630         * string/test-string.h: Likewise.
54631         (test_init): Likewise.
54632         * string/test-strlen.c (do_one_test): Likewise.
54633         (do_test): Likewise.
54634         * string/test-strncasecmp.c (do_one_test): Likewise.
54635         (do_test): Likewise.
54636         * string/test-strncat.c (do_one_test): Likewise.
54637         (do_test): Likewise.
54638         * string/test-strncmp.c (do_one_test): Likewise.
54639         (do_test_limit): Likewise.
54640         (do_test): Likewise.
54641         * string/test-strncpy.c (do_one_test): Likewise.
54642         (do_test): Likewise.
54643         * string/test-strnlen.c (do_one_test): Likewise.
54644         (do_test): Likewise.
54645         * string/test-strpbrk.c (do_one_test): Likewise.
54646         (do_test): Likewise.
54647         * string/test-strrchr.c (do_one_test): Likewise.
54648         (do_test): Likewise.
54649         * string/test-strspn.c (do_one_test): Likewise.
54650         (do_test): Likewise.
54651         * string/test-strstr.c (do_one_test): Likewise.
54652         (do_test): Likewise.
54654         * benchtests/Makefile (string-bench): Add string benchmarks.
54655         * benchtests/bench-bcopy-ifunc.c: New file.
54656         * benchtests/bench-bcopy.c: New file.
54657         * benchtests/bench-bzero-ifunc.c: New file.
54658         * benchtests/bench-bzero.c: New file.
54659         * benchtests/bench-memccpy-ifunc.c: New file.
54660         * benchtests/bench-memccpy.c: New file.
54661         * benchtests/bench-memchr-ifunc.c: New file.
54662         * benchtests/bench-memchr.c: New file.
54663         * benchtests/bench-memcmp-ifunc.c: New file.
54664         * benchtests/bench-memcmp.c: New file.
54665         * benchtests/bench-memmem-ifunc.c: New file.
54666         * benchtests/bench-memmem.c: New file.
54667         * benchtests/bench-memmove-ifunc.c: New file.
54668         * benchtests/bench-memmove.c: New file.
54669         * benchtests/bench-mempcpy-ifunc.c: New file.
54670         * benchtests/bench-mempcpy.c: New file.
54671         * benchtests/bench-memset-ifunc.c: New file.
54672         * benchtests/bench-memset.c: New file.
54673         * benchtests/bench-rawmemchr-ifunc.c: New file.
54674         * benchtests/bench-rawmemchr.c: New file.
54675         * benchtests/bench-stpcpy-ifunc.c: New file.
54676         * benchtests/bench-stpcpy.c: New file.
54677         * benchtests/bench-stpncpy-ifunc.c: New file.
54678         * benchtests/bench-stpncpy.c: New file.
54679         * benchtests/bench-strcasecmp-ifunc.c: New file.
54680         * benchtests/bench-strcasecmp.c: New file.
54681         * benchtests/bench-strcasestr-ifunc.c: New file.
54682         * benchtests/bench-strcasestr.c: New file.
54683         * benchtests/bench-strcat-ifunc.c: New file.
54684         * benchtests/bench-strcat.c: New file.
54685         * benchtests/bench-strchr-ifunc.c: New file.
54686         * benchtests/bench-strchr.c: New file.
54687         * benchtests/bench-strchrnul-ifunc.c: New file.
54688         * benchtests/bench-strchrnul.c: New file.
54689         * benchtests/bench-strcmp-ifunc.c: New file.
54690         * benchtests/bench-strcmp.c: New file.
54691         * benchtests/bench-strcpy-ifunc.c: New file.
54692         * benchtests/bench-strcpy.c: New file.
54693         * benchtests/bench-strcspn-ifunc.c: New file.
54694         * benchtests/bench-strcspn.c: New file.
54695         * benchtests/bench-strlen-ifunc.c: New file.
54696         * benchtests/bench-strlen.c: New file.
54697         * benchtests/bench-strncasecmp-ifunc.c: New file.
54698         * benchtests/bench-strncasecmp.c: New file.
54699         * benchtests/bench-strncat-ifunc.c: New file.
54700         * benchtests/bench-strncat.c: New file.
54701         * benchtests/bench-strncmp-ifunc.c: New file.
54702         * benchtests/bench-strncmp.c: New file.
54703         * benchtests/bench-strncpy-ifunc.c: New file.
54704         * benchtests/bench-strncpy.c: New file.
54705         * benchtests/bench-strnlen-ifunc.c: New file.
54706         * benchtests/bench-strnlen.c: New file.
54707         * benchtests/bench-strpbrk-ifunc.c: New file.
54708         * benchtests/bench-strpbrk.c: New file.
54709         * benchtests/bench-strrchr-ifunc.c: New file.
54710         * benchtests/bench-strrchr.c: New file.
54711         * benchtests/bench-strspn-ifunc.c: New file.
54712         * benchtests/bench-strspn.c: New file.
54713         * benchtests/bench-strstr-ifunc.c: New file.
54714         * benchtests/bench-strstr.c: New file.
54716         * benchtests/Makefile: Disable parallel execution of targets.
54717         (string-bench): Add memcpy.
54718         (benchset): New variable to store a list of benchmark sets.
54719         (bench-func): Renamed from bench.
54720         (bench-set): New target.
54721         (bench): Depend on bench-func and bench-set.
54722         * benchtests/README: Add section on benchmark sets.
54723         * benchtests/bench-memcpy-ifunc.c: New file.
54724         * benchtests/bench-memcpy.c: New file.
54725         * benchtests/bench-string.h: New file.
54727 2013-06-11  Andreas Schwab  <schwab@suse.de>
54729         [BZ #15577]
54730         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54731         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54732         values in the triple.
54733         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54734         terminator in the group key.
54736 2013-06-11  Andreas Jaeger  <aj@suse.de>
54738         * po/zh_TW.po: Update Chinese (traditional) translation from
54739         translation project.
54741 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54743         * include/time.h (__clock_gettime): Add libc_hidden_proto.
54744         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54745         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
54746         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54747         (clock_getcpuclockid): Likewise.
54748         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54749         Add weak_alias and libc_hidden_def.
54750         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54751         * rt/clock_gettime.c (clock_gettime): Rename to
54752         __clock_gettime.  Add weak_alias and libc_hidden_def.
54753         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54754         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54755         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
54756         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54757         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54758         Likewise.
54759         * rt/clock_settime.c (clock_settime): Rename to
54760         __clock_settime.  Add weak_alias and libc_hidden_def.
54761         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54763 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
54765         * mach/err_boot.sub: Remove trailing whitespace.
54766         * mach/err_ipc.sub: Likewise.
54767         * mach/err_mach.sub: Likewise.
54769         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54770         (ROUNDING_TESTS_double): Likewise.
54771         (ROUNDING_TESTS_long_double): Likewise.
54772         (ROUNDING_TESTS): Likewise.
54773         * math/libm-test.inc: Include <math-tests.h>.
54774         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54775         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54776         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54777         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54779 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54781         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54782         of assigning.
54784 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
54786         * sysdeps/gnu/errlist.awk: Do not generate space at end of
54787         otherwise empty TRANS lines.
54788         * sysdeps/gnu/errlist.c: Regenerated.
54790         * catgets/gencat.c (error_print): Use (void) in function
54791         definition.
54792         * crypt/crypt_util.c (__init_des): Likewise.
54793         * crypt/speeds.c (Stop): Likewise.
54794         (main): Likewise.
54795         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54796         * inet/ruserpass.c (token): Likewise.
54797         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54798         * intl/localealias.c (extend_alias_table): Likewise.
54799         * intl/plural-exp.c (init_germanic_plural): Likewise.
54800         * libio/fcloseall.c (__fcloseall): Likewise.
54801         * libio/genops.c (_IO_flush_all): Likewise.
54802         (_IO_flush_all_linebuffered): Likewise.
54803         (_IO_cleanup): Likewise.
54804         (_IO_iter_begin): Likewise.
54805         (_IO_iter_end): Likewise.
54806         (_IO_list_lock): Likewise.
54807         (_IO_list_unlock): Likewise.
54808         (_IO_list_resetlock): Likewise.
54809         * libio/getchar.c (getchar): Likewise.
54810         * libio/getchar_u.c (getchar_unlocked): Likewise.
54811         * libio/getwchar.c (getwchar): Likewise.
54812         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54813         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54814         * login/getpt.c (__getpt): Likewise.
54815         * login/tst-utmp.c (main): Likewise.
54816         * malloc/hooks.c (__malloc_check_init): Likewise.
54817         * malloc/malloc.c (__malloc_stats): Likewise.
54818         * malloc/mtrace.c (tr_break): Likewise.
54819         (mtrace): Likewise.
54820         (muntrace): Likewise.
54821         * misc/fstab.c (endfsent): Likewise.
54822         * misc/getclktck.c (__getclktck): Likewise.
54823         * misc/getdtsz.c (__getdtablesize): Likewise.
54824         * misc/gethostid.c (gethostid): Likewise.
54825         * misc/getpagesize.c (__getpagesize): Likewise.
54826         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54827         (__get_nprocs): Likewise.
54828         (__get_phys_pages): Likewise.
54829         (__get_avphys_pages): Likewise.
54830         * misc/getttyent.c (getttyent): Likewise.
54831         (setttyent): Likewise.
54832         (endttyent): Likewise.
54833         * misc/getusershell.c (getusershell): Likewise.
54834         (endusershell): Likewise.
54835         (setusershell): Likewise.
54836         (initshells): Likewise.
54837         * misc/hsearch.c (__hdestroy): Likewise.
54838         * misc/sync.c (sync): Likewise.
54839         * misc/syslog.c (closelog_internal): Likewise.
54840         (closelog): Likewise.
54841         * misc/ttyslot.c (ttyslot): Likewise.
54842         * misc/vhangup.c (vhangup): Likewise.
54843         * posix/fork.c (__fork): Likewise.
54844         * posix/getegid.c (__getegid): Likewise.
54845         * posix/geteuid.c (__geteuid): Likewise.
54846         * posix/getgid.c (__getgid): Likewise.
54847         * posix/getpid.c (__getpid): Likewise.
54848         * posix/getppid.c (__getppid): Likewise.
54849         * posix/getuid.c (__getuid): Likewise.
54850         * posix/pause.c (pause): Likewise.
54851         * posix/setpgrp.c (setpgrp): Likewise.
54852         * posix/setsid.c (__setsid): Likewise.
54853         * posix/test-vfork.c (noop): Likewise.
54854         * resolv/gethnamaddr.c (_endhtent): Likewise.
54855         (_gethtent): Likewise.
54856         (ht_endhostent): Likewise.
54857         (gethostent): Likewise.
54858         (dns_service): Likewise.
54859         * stdlib/drand48.c (drand48): Likewise.
54860         * stdlib/lrand48.c (lrand48): Likewise.
54861         * stdlib/mrand48.c (mrand48): Likewise.
54862         * stdlib/rand.c (rand): Likewise.
54863         * stdlib/random.c (__random): Likewise.
54864         * stdlib/setenv.c (clearenv): Likewise.
54865         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54866         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54867         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54868         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54869         (__get_nprocs): Likewise.
54870         (__get_phys_pages): Likewise.
54871         (__get_avphys_pages): Likewise.
54872         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54873         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54874         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54875         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54876         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54877         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54878         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54879         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54880         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54881         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54882         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54883         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54884         * sysdeps/posix/clock.c (clock): Likewise.
54885         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54886         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54887         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54888         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54889         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54890         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54891         (__get_nprocs_conf): Likewise.
54892         (__get_phys_pages): Likewise.
54893         (__get_avphys_pages): Likewise.
54894         * time/clock.c (clock): Likewise.
54895         * time/tzset.c (__tzname_max): Likewise.
54897 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
54899         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54900         (__bswap_32): Do not use "register".
54901         * crypt/crypt.c (_ufc_doit_r): Likewise.
54902         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54903         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54904         * gmon/gmon.c (__monstartup): Likewise.
54905         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54906         * hurd/hurdmalloc.c (more_memory): Likewise.
54907         (malloc): Likewise.
54908         (free): Likewise.
54909         (realloc): Likewise.
54910         (malloc_fork_prepare): Likewise.
54911         (malloc_fork_parent): Likewise.
54912         (malloc_fork_child): Likewise.
54913         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54914         (_svcauth_des): Likewise.
54915         * inet/inet_lnaof.c (inet_lnaof): Likewise.
54916         * inet/inet_net.c (inet_network): Likewise.
54917         * inet/inet_netof.c (inet_netof): Likewise.
54918         * inet/rcmd.c (__validuser2_sa): Likewise.
54919         * io/fts.c (fts_open): Likewise.
54920         (fts_load): Likewise.
54921         (fts_close): Likewise.
54922         (fts_read): Likewise.
54923         (fts_children): Likewise.
54924         (fts_build): Likewise.
54925         (fts_stat): Likewise.
54926         (fts_sort): Likewise.
54927         (fts_alloc): Likewise.
54928         (fts_lfree): Likewise.
54929         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54930         (_IO_file_xsgetn): Likewise.
54931         (_IO_file_xsgetn_mmap): Likewise.
54932         * libio/iofopncook.c (_IO_cookie_read): Likewise.
54933         (_IO_cookie_write): Likewise.
54934         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54935         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54936         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54937         * malloc/obstack.c (_obstack_begin): Likewise.
54938         (_obstack_begin_1): Likewise.
54939         (_obstack_newchunk): Likewise.
54940         (_obstack_allocated_p): Likewise.
54941         (obstack_free): Likewise.
54942         (_obstack_memory_used): Likewise.
54943         * misc/getttyent.c (getttynam): Likewise.
54944         (getttyent): Likewise.
54945         (skip): Likewise.
54946         (value): Likewise.
54947         * misc/getusershell.c (initshells): Likewise.
54948         * misc/syslog.c (__vsyslog_chk): Likewise.
54949         * misc/ttyslot.c (ttyslot): Likewise.
54950         * nis/nis_hash.c (__nis_hash): Likewise.
54951         * posix/fnmatch_loop.c (FCT): Likewise.
54952         * posix/getconf.c (print_all): Likewise.
54953         (main): Likewise.
54954         * posix/getopt.c (exchange): Likewise.
54955         * posix/glob.c (globfree): Likewise.
54956         (prefix_array): Likewise.
54957         (__glob_pattern_type): Likewise.
54958         * resolv/arpa/nameser.h (NS_GET16): Likewise.
54959         (NS_GET32): Likewise.
54960         (NS_PUT16): Likewise.
54961         (NS_PUT32): Likewise.
54962         * resolv/gethnamaddr.c (getanswer): Likewise.
54963         (gethostbyname2): Likewise.
54964         (gethostbyaddr): Likewise.
54965         (_gethtent): Likewise.
54966         (_gethtbyname2): Likewise.
54967         (_gethtbyaddr): Likewise.
54968         * resolv/ns_print.c (dst_s_get_int16): Likewise.
54969         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54970         * resolv/res_init.c (__res_vinit): Likewise.
54971         (net_mask): Likewise.
54972         * resolv/res_mkquery.c (outchar): Likewise.
54973         (PRINT): Likewise.
54974         * stdio-common/printf_fp.c (outchar): Likewise.
54975         (PRINT): Likewise.
54976         * stdio-common/printf_fphex.c (outchar): Likewise.
54977         (PRINT): Likewise.
54978         * stdio-common/printf_size.c (outchar): Likewise.
54979         (PRINT): Likewise.
54980         * stdio-common/test_rdwr.c (main): Likewise.
54981         * stdio-common/tfformat.c (matches): Likewise.
54982         * stdio-common/vfprintf.c (outchar): Likewise.
54983         (printf_unknown): Likewise.
54984         (buffered_vfprintf): Likewise.
54985         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54986         * stdio-common/xbug.c (AppendToBuffer): Likewise.
54987         (ReadFile): Likewise.
54988         * stdlib/qsort.c (SWAP): Likewise.
54989         (_quicksort): Likewise.
54990         * stdlib/setenv.c (__add_to_environ): Likewise.
54991         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54992         * stdlib/strtol_l.c (__strtol_l): Likewise.
54993         * stdlib/tst-strtod.c (main): Likewise.
54994         * stdlib/tst-strtol.c (main): Likewise.
54995         * stdlib/tst-strtoll.c (main): Likewise.
54996         * string/bits/string2.h (__strcmp_cc): Likewise.
54997         (__strcmp_cg): Likewise.
54998         (__strcspn_c1): Likewise.
54999         (__strcspn_c2): Likewise.
55000         (__strcspn_c3): Likewise.
55001         (__strspn_c1): Likewise.
55002         (__strspn_c2): Likewise.
55003         (__strspn_c3): Likewise.
55004         (__strsep_1c): Likewise.
55005         (__strsep_2c): Likewise.
55006         (__strsep_3c): Likewise.
55007         * string/memccpy.c (__memccpy): Likewise.
55008         * string/stpcpy.c (__stpcpy): Likewise.
55009         * string/strcmp.c (strcmp): Likewise.
55010         * string/strrchr.c (strrchr): Likewise.
55011         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
55012         Likewise.
55013         * sysdeps/mach/hurd/getcwd.c
55014         (_hurd_canonicalize_directory_name_internal): Likewise.
55015         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
55016         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
55017         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
55018         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
55019         Likewise, in both definitions.
55020         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
55021         definitions.
55022         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
55023         64] (__bswap_64): Likewise.
55024         * time/test_time.c (main): Likewise.
55025         * time/tzfile.c (__tzfile_read): Likewise.
55026         (__tzfile_compute): Likewise.
55027         * time/tzset.c (__tzset_parse_tz): Likewise.
55028         (tzset_internal): Likewise.
55029         (compute_change): Likewise.
55030         * wcsmbs/wcscat.c (__wcscat): Likewise.
55031         * wcsmbs/wcschr.c (wcschr): Likewise.
55032         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
55033         * wcsmbs/wcscspn.c (wcscspn): Likewise.
55034         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
55035         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
55036         * wcsmbs/wcsspn.c (wcsspn): Likewise.
55037         * wcsmbs/wcsstr.c (wcsstr): Likewise.
55038         * wcsmbs/wmemchr.c (wmemchr): Likewise.
55039         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55040         * wcsmbs/wmemset.c (wmemset): Likewise.
55042 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
55044         * scripts/config.guess: Update to version 2013-05-16.
55045         * scripts/config.sub: Update to version 2013-04-24.
55046         * scripts/install-sh: Update to version 2011-11-20.07.
55047         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
55048         * scripts/move-if-change: Update to version 2012-01-06 07:23.
55050 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
55052         * debug/fgetws_u_chk.c: Fix leading whitespaces.
55053         * elf/sln.c: Likewise.
55054         * hurd/hurd/ioctl.h: Likewise.
55055         * hurd/hurdmalloc.c: Likewise.
55056         * hurd/xattr.c: Likewise.
55057         * include/shlib-compat.h: Likewise.
55058         * inet/ruserpass.c: Likewise.
55059         * libio/iofgets_u.c: Likewise.
55060         * libio/iofgetws_u.c: Likewise.
55061         * locale/programs/ld-identification.c: Likewise.
55062         * locale/programs/ld-time.c: Likewise.
55063         * mach/msg-destroy.c: Likewise.
55064         * nss/nss_files/files-netgrp.c: Likewise.
55065         * resolv/res_data.c: Likewise.
55066         * soft-fp/op-1.h: Likewise.
55067         * soft-fp/op-2.h: Likewise.
55068         * soft-fp/op-4.h: Likewise.
55069         * soft-fp/op-common.h: Likewise.
55070         * stdio-common/printf_fphex.c: Likewise.
55071         * stdlib/strtod_l.c: Likewise.
55072         * sunrpc/rpc/clnt.h: Likewise.
55073         * sysdeps/generic/framestate.c: Likewise.
55074         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55075         * sysdeps/i386/bsd-setjmp.S: Likewise.
55076         * sysdeps/i386/__longjmp.S: Likewise.
55077         * sysdeps/i386/setjmp.S: Likewise.
55078         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55079         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55080         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55081         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55082         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55083         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55084         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55085         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55086         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55087         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55088         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55089         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55090         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55091         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55092         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55093         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55094         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55095         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
55096         * sysdeps/ieee754/support.c: Likewise.
55097         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55098         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
55099         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
55100         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
55101         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
55102         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
55103         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55104         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
55105         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
55106         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
55107         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
55108         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
55109         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
55110         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
55111         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
55112         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
55113         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
55116 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
55118         * posix/transbug.c: Remove executable mode.
55120 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
55122         * crypt/speeds.c: Remove trailing whitespace.
55123         * dlfcn/default.c: Likewise.
55124         * elf/ifuncdep2.c: Likewise.
55125         * elf/ifuncmain1.c: Likewise.
55126         * elf/ifuncmain1vis.c: Likewise.
55127         * elf/testobj.h: Likewise.
55128         * elf/tst-stackguard1.c: Likewise.
55129         * gmon/sys/gmon.h: Likewise.
55130         * hurd/hurdmsg.c: Likewise.
55131         * hurd/new-fd.c: Likewise.
55132         * hurd/ports-get.c: Likewise.
55133         * iconvdata/ibm1008_420.c: Likewise.
55134         * inet/tst-getni1.c: Likewise.
55135         * inet/tst-getni2.c: Likewise.
55136         * libio/ioungetc.c: Likewise.
55137         * libio/wfiledoalloc.c: Likewise.
55138         * manual/libm-err-tab.pl: Likewise.
55139         * math/w_dremf.c: Likewise.
55140         * misc/ftruncate.c: Likewise.
55141         * posix/bug-glob2.c: Likewise.
55142         * posix/tst-pcre.c: Likewise.
55143         * posix/wait4.c: Likewise.
55144         * resolv/README: Likewise.
55145         * resolv/res_debug.h: Likewise.
55146         * resolv/tst-inet_ntop.c: Likewise.
55147         * setjmp/bug269-setjmp.c: Likewise.
55148         * soft-fp/extended.h: Likewise.
55149         * soft-fp/op-1.h: Likewise.
55150         * soft-fp/op-2.h: Likewise.
55151         * soft-fp/op-4.h: Likewise.
55152         * soft-fp/op-8.h: Likewise.
55153         * soft-fp/testit.c: Likewise.
55154         * stdio-common/bug16.c: Likewise.
55155         * stdlib/random.c: Likewise.
55156         * sunrpc/rpcsvc/rquota.x: Likewise.
55157         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55158         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55159         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55160         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55161         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55162         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55163         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55164         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55165         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55166         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55167         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55168         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55169         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55170         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55171         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55172         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55173         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55174         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55175         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55176         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55177         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55178         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55179         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55180         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55181         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55182         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55183         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55184         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55185         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55186         * sysdeps/ieee754/s_lib_version.c: Likewise.
55187         * sysdeps/mach/hurd/check_fds.c: Likewise.
55188         * sysdeps/mach/hurd/getsockname.c: Likewise.
55189         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55190         * sysdeps/mach/hurd/recvfrom.c: Likewise.
55191         * sysdeps/powerpc/bits/link.h: Likewise.
55192         * sysdeps/powerpc/dl-procinfo.c: Likewise.
55193         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55194         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55195         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55196         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55197         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55198         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55199         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55200         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55201         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55202         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55203         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55204         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55205         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55206         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55207         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55208         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55209         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55210         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55211         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55212         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55213         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55214         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55215         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55216         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55217         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55218         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55219         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55220         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55221         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55222         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55223         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55225         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55226         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55227         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55228         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55229         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55230         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55231         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55232         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55233         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55234         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55235         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55236         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55237         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55238         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55239         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55240         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55241         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55242         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55243         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55244         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55245         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55246         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55247         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55248         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55249         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55250         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55251         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55252         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55253         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55254         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55255         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55256         * sysdeps/powerpc/sysdep.h: Likewise.
55257         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55258         * sysdeps/s390/s390-64/sub_n.S: Likewise.
55259         * sysdeps/sh/dl-trampoline.S: Likewise.
55260         * sysdeps/sh/memset.S: Likewise.
55261         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55262         * sysdeps/sh/strlen.S: Likewise.
55263         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55264         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55265         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55266         * sysdeps/sparc/sparc32/rem.S: Likewise.
55267         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55268         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55269         * sysdeps/sparc/sparc32/strchr.S: Likewise.
55270         * sysdeps/sparc/sparc32/udiv.S: Likewise.
55271         * sysdeps/sparc/sparc32/urem.S: Likewise.
55272         * sysdeps/sparc/sparc64/add_n.S: Likewise.
55273         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55274         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55275         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55276         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55277         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55278         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55279         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55280         * sysdeps/unix/bsd/times.c: Likewise.
55281         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55282         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55286         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55287         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55288         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55289         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55290         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55291         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55292         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55293         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55294         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55295         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55296         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55297         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55298         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55299         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55300         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55301         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55302         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55303         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55304         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55305         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55306         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55307         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55308         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55309         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55310         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55311         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55312         * sysdeps/x86_64/strcspn.S: Likewise.
55314 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55316         * locale/C-translit.h: Revert #include <stdint.h> because this is a
55317         generated file.  Regenerate properly from gen-translit.pl.
55318         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
55319         locale/C-translit.h.
55321 2013-06-05  Andreas Schwab  <schwab@suse.de>
55323         [BZ #15100]
55324         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55325         week as 6 instead of -1.
55326         * time/tst-strptime.c (day_tests): Add test case.
55328 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55330         * sysdeps/generic/math_private.h
55331         (libc_feholdexcept_setround_53bit): Replace with
55332         libc_feholdsetround_53bit.
55333         (libc_feupdateenv_53bit): Replace with
55334         libc_feresetround_53bit.
55335         (SET_RESTORE_ROUND_53BIT): Adjust.
55337 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55339         * string/test-strchrnul.c: Add copyright header.
55341         * posix/tst-getaddrinfo4.c: Increase test timeout.
55343 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
55345         [BZ #15536]
55346         * math/libm-test.inc (MAX_EXP): Remove
55347         (MIN_EXP): Define.
55348         (ulp): Use MIN_EXP - MANT_DIG.
55349         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55351 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
55353         * po/be.po: Revert last change.
55354         * po/zh_CN.po: Likewise.
55355         * po/header.pot: Likewise.
55357 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
55359         * Makefile ($(common-objpfx)linkobj/libc.so): Define
55360         link-libc-deps to empty as target-specific variable.
55361         * Makerules (link-libc-args): New variable.
55362         (libc-for-link): Likewise.
55363         (link-libc-deps): Likewise.
55364         (lib%.so): Depend on $(link-libc-deps).  Link with
55365         $(link-libc-args).
55366         (build-module): Link with $(link-libc-args).
55367         (build-module-asneeded): Likewise.
55368         (build-module-helper-objlist): Filter out $(link-libc-deps) from
55369         list of objects.
55370         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55371         target-specific variable.
55372         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55373         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55374         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55375         libc.
55376         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55377         libc and ld.so.
55378         ($(objpfx)libpcprofile.so): Likewise.
55379         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55380         libc_nonshared.a.
55381         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55382         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55383         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55384         $(link-libc-deps).
55385         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55386         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55387         * login/Makefile ($(objpfx)libutil.so): Likewise.
55388         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55389         * math/Makefile ($(objpfx)libm.so): Likewise.
55390         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55391         $(objpfx)libnsl.so): Define libc-for-link as target-specific
55392         variable instead of depending directly on libc.
55393         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55394         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55395         $(link-libc-deps).
55396         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55397         libc.
55398         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55399         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55400         ($(objpfx)libanl.so): Likewise.
55401         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55402         ld.so.
55403         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55404         $(link-libc-deps).
55405         * sysdeps/i386/fpu/Makefile: Remove file.
55406         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55407         ($(objpfx)libm.so): Remove dependency on ld.so.
55409 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
55411         [BZ # 15553]
55412         * nis/yp_xdr.c (XDRMAXNAME): Define.
55413         (XDRMAXRECORD): Define.
55414         (xdr_domainname): Use XDRMAXNAME.
55415         (xdr_mapname): Likewise.
55416         (xdr_peername): Likewise.
55417         (xdr_keydat): Use XDRMAXRECORD.
55418         (xdr_valdat): Likewise.
55420 2013-05-30  Jeff Law  <law@redhat.com>
55422         [BZ #14256]
55423         * manual/errno.texi (ESTALE): Update to account for more than
55424         just NFS file systems.
55425         * sysdeps/gnu/errlist.c: Regenerated.
55427 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55429         [BZ #15465]
55430         * elf/Makefile (tests): Add tst-null-argv.
55431         (modules-names):  Add tst-null-argv-lib.
55432         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55433         (tst-null-argv-ENV): Set environment for tst-null-argv.
55434         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55435         (RTLD_PROGNAME): New macro.
55436         * elf/tst-null-argv.c: New test case.
55437         * elf/tst-null-argv-lib.c: Library for test case.
55438         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55439         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55440         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55441         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55442         * elf/dl-init.c (call_init): Likewise.
55443         (_dl_init): Likewise.
55444         * elf/dl-load.c (print_search_path): Likewise.
55445         (_dl_map_object): Likewise.
55446         * elf/dl-lookup.c (do_lookup_x): Likewise.
55447         (add_dependency): Likewise.
55448         (_dl_lookup_symbol_x): Likewise.
55449         (_dl_debug_bindings): Likewise.
55450         * elf/dl-open.c (_dl_show_scope): Likewise.
55451         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55452         * elf/dl-version.c (match_symbol): Likewise.
55453         (_dl_check_map_versions): Likewise.
55454         * elf/rtld.c (dl_main): Likewise.
55455         (print_unresolved): Use RTLD_PROGNAME.
55456         (print_missing_version): Likewise.
55457         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55458         (elf_machine_rela): Likewise.
55459         * sysdeps/powerpc/powerpc32/dl-machine.c
55460         (__process_machine_rela): Likewise.
55461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55462         Likewise.
55463         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55464         Likewise.
55465         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55466         Likewise.
55467         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55469         Likewise.
55470         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55471         Likewise.
55472         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55474 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
55476         * po/be.po: Add descriptive title.
55477         * po/zh_CN.po: Likewise.
55478         * po/header.pot: Likewise.
55480 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
55482         * locale/programs/locarchive.c (create_archive): Inlucde fname in
55483         error message.
55484         (enlarge_archive): Likewise.
55486 2013-05-28  Ben North  <ben@redfrontdoor.org>
55488         * manual/arith.texi (frexp): It is the magnitude of the return
55489         value which lies in [0.5, 1), not the return value itself.
55491 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55495 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
55497         * stdio-common/bug26.c (main): Correct fscanf template.
55499         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55500         declare _dl_skip_args.
55502         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55503         Don't declare.
55505         * manual/platform.texi: Add missing @end deftypefun.
55507 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55509         [BZ #15529]
55510         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55511         bit of mantissa of 2^16382.
55512         * math/libm-test.inc (hypot_test_data): Add more tests.
55514         * math/libm-test.inc: Add drem and pow10 to list of tested
55515         functions.
55516         (pow10_test): New function.
55517         (drem_test): Likewise.
55518         (drem_test_tonearest): Likewise.
55519         (drem_test_towardzero): Likewise.
55520         (drem_test_downward): Likewise.
55521         (drem_test_upward): Likewise.
55522         (main): Call the new functions.
55524         * math/libm-test.inc (finite_test_data): Remove.
55525         (finite_test): Run tests from isfinite_test_data.
55526         (gamma_test_data): Remove.
55527         (gamma_test): Run tests from lgamma_test_data.
55528         * sysdeps/i386/fpu/libm-test-ulps: Update.
55529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55531 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55533         * manual/platform.texi: Add PowerPC PPR function set documentation.
55534         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55535         implementation.
55537 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
55539         * math/libm-test.inc (MAX_EXP): Define.
55540         (ULPDIFF): Define.
55541         (ulp): New function.
55542         (check_float_internal): Use ULPDIFF.
55543         (cpow_test): Disable failing test.
55544         (check_ulp): Test ulp() implementation.
55545         (main): Call check_ulp before starting tests.
55547 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55549         * math/gen-libm-test.pl (generate_testfile): Do not handle
55550         START_DATA and END_DATA.
55551         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55552         END_DATA.
55553         (acos_tonearest_test_data): Likewise.
55554         (acos_towardzero_test_data): Likewise.
55555         (acos_downward_test_data): Likewise.
55556         (acos_upward_test_data): Likewise.
55557         (acosh_test_data): Likewise.
55558         (asin_test_data): Likewise.
55559         (asin_tonearest_test_data): Likewise.
55560         (asin_towardzero_test_data): Likewise.
55561         (asin_downward_test_data): Likewise.
55562         (asin_upward_test_data): Likewise.
55563         (asinh_test_data): Likewise.
55564         (atan_test_data): Likewise.
55565         (atanh_test_data): Likewise.
55566         (atan2_test_data): Likewise.
55567         (cabs_test_data): Likewise.
55568         (cacos_test_data): Likewise.
55569         (cacosh_test_data): Likewise.
55570         (carg_test_data): Likewise.
55571         (casin_test_data): Likewise.
55572         (casinh_test_data): Likewise.
55573         (catan_test_data): Likewise.
55574         (catanh_test_data): Likewise.
55575         (cbrt_test_data): Likewise.
55576         (ccos_test_data): Likewise.
55577         (ccosh_test_data): Likewise.
55578         (ceil_test_data): Likewise.
55579         (cexp_test_data): Likewise.
55580         (cimag_test_data): Likewise.
55581         (clog_test_data): Likewise.
55582         (clog10_test_data): Likewise.
55583         (conj_test_data): Likewise.
55584         (copysign_test_data): Likewise.
55585         (cos_test_data): Likewise.
55586         (cos_tonearest_test_data): Likewise.
55587         (cos_towardzero_test_data): Likewise.
55588         (cos_downward_test_data): Likewise.
55589         (cos_upward_test_data): Likewise.
55590         (cosh_test_data): Likewise.
55591         (cosh_tonearest_test_data): Likewise.
55592         (cosh_towardzero_test_data): Likewise.
55593         (cosh_downward_test_data): Likewise.
55594         (cosh_upward_test_data): Likewise.
55595         (cpow_test_data): Likewise.
55596         (cproj_test_data): Likewise.
55597         (creal_test_data): Likewise.
55598         (csin_test_data): Likewise.
55599         (csinh_test_data): Likewise.
55600         (csqrt_test_data): Likewise.
55601         (ctan_test_data): Likewise.
55602         (ctan_tonearest_test_data): Likewise.
55603         (ctan_towardzero_test_data): Likewise.
55604         (ctan_downward_test_data): Likewise.
55605         (ctan_upward_test_data): Likewise.
55606         (ctanh_test_data): Likewise.
55607         (ctanh_tonearest_test_data): Likewise.
55608         (ctanh_towardzero_test_data): Likewise.
55609         (ctanh_downward_test_data): Likewise.
55610         (ctanh_upward_test_data): Likewise.
55611         (erf_test_data): Likewise.
55612         (erfc_test_data): Likewise.
55613         (exp_test_data): Likewise.
55614         (exp_tonearest_test_data): Likewise.
55615         (exp_towardzero_test_data): Likewise.
55616         (exp_downward_test_data): Likewise.
55617         (exp_upward_test_data): Likewise.
55618         (exp10_test_data): Likewise.
55619         (exp2_test_data): Likewise.
55620         (expm1_test_data): Likewise.
55621         (fabs_test_data): Likewise.
55622         (fdim_test_data): Likewise.
55623         (finite_test_data): Likewise.
55624         (floor_test_data): Likewise.
55625         (fma_test_data): Likewise.
55626         (fma_towardzero_test_data): Likewise.
55627         (fma_downward_test_data): Likewise.
55628         (fma_upward_test_data): Likewise.
55629         (fmax_test_data): Likewise.
55630         (fmin_test_data): Likewise.
55631         (fmod_test_data): Likewise.
55632         (fpclassify_test_data): Likewise.
55633         (frexp_test_data): Likewise.
55634         (gamma_test_data): Likewise.
55635         (hypot_test_data): Likewise.
55636         (ilogb_test_data): Likewise.
55637         (isfinite_test_data): Likewise.
55638         (isgreater_test_data): Likewise.
55639         (isgreaterequal_test_data): Likewise.
55640         (isinf_test_data): Likewise.
55641         (isless_test_data): Likewise.
55642         (islessequal_test_data): Likewise.
55643         (islessgreater_test_data): Likewise.
55644         (isnan_test_data): Likewise.
55645         (isnormal_test_data): Likewise.
55646         (issignaling_test_data): Likewise.
55647         (isunordered_test_data): Likewise.
55648         (j0_test_data): Likewise.
55649         (j1_test_data): Likewise.
55650         (jn_test_data): Likewise.
55651         (ldexp_test_data): Likewise.
55652         (lgamma_test_data): Likewise.
55653         (lrint_test_data): Likewise.
55654         (lrint_tonearest_test_data): Likewise.
55655         (lrint_towardzero_test_data): Likewise.
55656         (lrint_downward_test_data): Likewise.
55657         (lrint_upward_test_data): Likewise.
55658         (llrint_test_data): Likewise.
55659         (llrint_tonearest_test_data): Likewise.
55660         (llrint_towardzero_test_data): Likewise.
55661         (llrint_downward_test_data): Likewise.
55662         (llrint_upward_test_data): Likewise.
55663         (log_test_data): Likewise.
55664         (log10_test_data): Likewise.
55665         (log1p_test_data): Likewise.
55666         (log2_test_data): Likewise.
55667         (logb_test_data): Likewise.
55668         (logb_downward_test_data): Likewise.
55669         (lround_test_data): Likewise.
55670         (llround_test_data): Likewise.
55671         (modf_test_data): Likewise.
55672         (nearbyint_test_data): Likewise.
55673         (nextafter_test_data): Likewise.
55674         (nexttoward_test_data): Likewise.
55675         (pow_test_data): Likewise.
55676         (pow_tonearest_test_data): Likewise.
55677         (pow_towardzero_test_data): Likewise.
55678         (pow_downward_test_data): Likewise.
55679         (pow_upward_test_data): Likewise.
55680         (remainder_test_data): Likewise.
55681         (remainder_tonearest_test_data): Likewise.
55682         (remainder_towardzero_test_data): Likewise.
55683         (remainder_downward_test_data): Likewise.
55684         (remainder_upward_test_data): Likewise.
55685         (remquo_test_data): Likewise.
55686         (rint_test_data): Likewise.
55687         (rint_tonearest_test_data): Likewise.
55688         (rint_towardzero_test_data): Likewise.
55689         (rint_downward_test_data): Likewise.
55690         (rint_upward_test_data): Likewise.
55691         (round_test_data): Likewise.
55692         (scalb_test_data): Likewise.
55693         (scalbn_test_data): Likewise.
55694         (scalbln_test_data): Likewise.
55695         (signbit_test_data): Likewise.
55696         (sin_test_data): Likewise.
55697         (sin_tonearest_test_data): Likewise.
55698         (sin_towardzero_test_data): Likewise.
55699         (sin_downward_test_data): Likewise.
55700         (sin_upward_test_data): Likewise.
55701         (sincos_test_data): Likewise.
55702         (sinh_test_data): Likewise.
55703         (sinh_tonearest_test_data): Likewise.
55704         (sinh_towardzero_test_data): Likewise.
55705         (sinh_downward_test_data): Likewise.
55706         (sinh_upward_test_data): Likewise.
55707         (sqrt_test_data): Likewise.
55708         (tan_test_data): Likewise.
55709         (tan_tonearest_test_data): Likewise.
55710         (tan_towardzero_test_data): Likewise.
55711         (tan_downward_test_data): Likewise.
55712         (tan_upward_test_data): Likewise.
55713         (tanh_test_data): Likewise.
55714         (tgamma_test_data): Likewise.
55715         (trunc_test_data): Likewise.
55716         (y0_test_data): Likewise.
55717         (y1_test_data): Likewise.
55718         (yn_test_data): Likewise.
55719         (significand_test_data): Likewise.
55721         * math/gen-libm-test.pl (@functions): Remove variable.
55722         (generate_testfile): Don't handle START and END lines.
55723         * math/libm-test.inc (START): New macro.
55724         (END): Likewise.
55725         (END_COMPLEX): Likewise.
55726         (acos_test): Use END macro without arguments.
55727         (acos_test_tonearest): Likewise.
55728         (acos_test_towardzero): Likewise.
55729         (acos_test_downward): Likewise.
55730         (acos_test_upward): Likewise.
55731         (acosh_test): Likewise.
55732         (asin_test): Likewise.
55733         (asin_test_tonearest): Likewise.
55734         (asin_test_towardzero): Likewise.
55735         (asin_test_downward): Likewise.
55736         (asin_test_upward): Likewise.
55737         (asinh_test): Likewise.
55738         (atan_test): Likewise.
55739         (atanh_test): Likewise.
55740         (atan2_test): Likewise.
55741         (cabs_test): Likewise.
55742         (cacos_test): Use END_COMPLEX macro without arguments.
55743         (cacosh_test): Likewise.
55744         (carg_test): Use END macro without arguments.
55745         (casin_test): Use END_COMPLEX macro without arguments.
55746         (casinh_test): Likewise.
55747         (catan_test): Likewise.
55748         (catanh_test): Likewise.
55749         (cbrt_test): Use END macro without arguments.
55750         (ccos_test): Use END_COMPLEX macro without arguments.
55751         (ccosh_test): Likewise.
55752         (ceil_test): Use END macro without arguments.
55753         (cexp_test): Use END_COMPLEX macro without arguments.
55754         (cimag_test): Use END macro without arguments.
55755         (clog_test): Use END_COMPLEX macro without arguments.
55756         (clog10_test): Likewise.
55757         (conj_test): Likewise.
55758         (copysign_test): Use END macro without arguments.
55759         (cos_test): Likewise.
55760         (cos_test_tonearest): Likewise.
55761         (cos_test_towardzero): Likewise.
55762         (cos_test_downward): Likewise.
55763         (cos_test_upward): Likewise.
55764         (cosh_test): Likewise.
55765         (cosh_test_tonearest): Likewise.
55766         (cosh_test_towardzero): Likewise.
55767         (cosh_test_downward): Likewise.
55768         (cosh_test_upward): Likewise.
55769         (cpow_test): Use END_COMPLEX macro without arguments.
55770         (cproj_test): Likewise.
55771         (creal_test): Use END macro without arguments.
55772         (csin_test): Use END_COMPLEX macro without arguments.
55773         (csinh_test): Likewise.
55774         (csqrt_test): Likewise.
55775         (ctan_test): Likewise.
55776         (ctan_test_tonearest): Likewise.
55777         (ctan_test_towardzero): Likewise.
55778         (ctan_test_downward): Likewise.
55779         (ctan_test_upward): Likewise.
55780         (ctanh_test): Likewise.
55781         (ctanh_test_tonearest): Likewise.
55782         (ctanh_test_towardzero): Likewise.
55783         (ctanh_test_downward): Likewise.
55784         (ctanh_test_upward): Likewise.
55785         (erf_test): Use END macro without arguments.
55786         (erfc_test): Likewise.
55787         (exp_test): Likewise.
55788         (exp_test_tonearest): Likewise.
55789         (exp_test_towardzero): Likewise.
55790         (exp_test_downward): Likewise.
55791         (exp_test_upward): Likewise.
55792         (exp10_test): Likewise.
55793         (exp2_test): Likewise.
55794         (expm1_test): Likewise.
55795         (fabs_test): Likewise.
55796         (fdim_test): Likewise.
55797         (finite_test): Likewise.
55798         (floor_test): Likewise.
55799         (fma_test): Likewise.
55800         (fma_test_towardzero): Likewise.
55801         (fma_test_downward): Likewise.
55802         (fma_test_upward): Likewise.
55803         (fmax_test): Likewise.
55804         (fmin_test): Likewise.
55805         (fmod_test): Likewise.
55806         (fpclassify_test): Likewise.
55807         (frexp_test): Likewise.
55808         (gamma_test): Likewise.
55809         (hypot_test): Likewise.
55810         (ilogb_test): Likewise.
55811         (isfinite_test): Likewise.
55812         (isgreater_test): Likewise.
55813         (isgreaterequal_test): Likewise.
55814         (isinf_test): Likewise.
55815         (isless_test): Likewise.
55816         (islessequal_test): Likewise.
55817         (islessgreater_test): Likewise.
55818         (isnan_test): Likewise.
55819         (isnormal_test): Likewise.
55820         (issignaling_test): Likewise.
55821         (isunordered_test): Likewise.
55822         (j0_test): Likewise.
55823         (j1_test): Likewise.
55824         (jn_test): Likewise.
55825         (ldexp_test): Likewise.
55826         (lgamma_test): Likewise.
55827         (lrint_test): Likewise.
55828         (lrint_test_tonearest): Likewise.
55829         (lrint_test_towardzero): Likewise.
55830         (lrint_test_downward): Likewise.
55831         (lrint_test_upward): Likewise.
55832         (llrint_test): Likewise.
55833         (llrint_test_tonearest): Likewise.
55834         (llrint_test_towardzero): Likewise.
55835         (llrint_test_downward): Likewise.
55836         (llrint_test_upward): Likewise.
55837         (log_test): Likewise.
55838         (log10_test): Likewise.
55839         (log1p_test): Likewise.
55840         (log2_test): Likewise.
55841         (logb_test): Likewise.
55842         (logb_test_downward): Likewise.
55843         (lround_test): Likewise.
55844         (llround_test): Likewise.
55845         (modf_test): Likewise.
55846         (nearbyint_test): Likewise.
55847         (nextafter_test): Likewise.
55848         (nexttoward_test): Likewise.
55849         (pow_test): Likewise.
55850         (pow_test_tonearest): Likewise.
55851         (pow_test_towardzero): Likewise.
55852         (pow_test_downward): Likewise.
55853         (pow_test_upward): Likewise.
55854         (remainder_test): Likewise.
55855         (remainder_test_tonearest): Likewise.
55856         (remainder_test_towardzero): Likewise.
55857         (remainder_test_downward): Likewise.
55858         (remainder_test_upward): Likewise.
55859         (remquo_test): Likewise.
55860         (rint_test): Likewise.
55861         (rint_test_tonearest): Likewise.
55862         (rint_test_towardzero): Likewise.
55863         (rint_test_downward): Likewise.
55864         (rint_test_upward): Likewise.
55865         (round_test): Likewise.
55866         (scalb_test): Likewise.
55867         (scalbn_test): Likewise.
55868         (scalbln_test): Likewise.
55869         (signbit_test): Likewise.
55870         (sin_test): Likewise.
55871         (sin_test_tonearest): Likewise.
55872         (sin_test_towardzero): Likewise.
55873         (sin_test_downward): Likewise.
55874         (sin_test_upward): Likewise.
55875         (sincos_test): Likewise.
55876         (sinh_test): Likewise.
55877         (sinh_test_tonearest): Likewise.
55878         (sinh_test_towardzero): Likewise.
55879         (sinh_test_downward): Likewise.
55880         (sinh_test_upward): Likewise.
55881         (sqrt_test): Likewise.
55882         (tan_test): Likewise.
55883         (tan_test_tonearest): Likewise.
55884         (tan_test_towardzero): Likewise.
55885         (tan_test_downward): Likewise.
55886         (tan_test_upward): Likewise.
55887         (tanh_test): Likewise.
55888         (tgamma_test): Likewise.
55889         (trunc_test): Likewise.
55890         (y0_test): Likewise.
55891         (y1_test): Likewise.
55892         (yn_test): Likewise.
55893         (significand_test): Likewise.
55895 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
55897         [BZ #15381]
55898         * libio/genops.c (_IO_no_init): Initialize wide struct info.
55900 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55902         [BZ #14894]
55903         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55904         __ppc_mdoio and __ppc_mdoom.
55905         * manual/platform.texi: Document new functions __ppc_yield,
55906         __ppc_mdoio and __ppc_mdoom.
55908 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
55910         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55911         (main): Mention "tls" pseudo-hwcap is legacy.
55912         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55914 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55916         * math/gen-libm-test.pl (parse_args): Output only string of
55917         arguments as text for test name, not full call or descriptions of
55918         tests for extra outputs.
55919         (generate_testfile): Do not pass function name to parse_args.
55920         Generate this_func variable from START.
55921         * math/libm-test.inc (struct test_f_f_data): Rename test_name
55922         field to arg_str.
55923         (struct test_ff_f_data): Likewise.
55924         (test_ff_f_data_nexttoward): Likewise.
55925         (struct test_fi_f_data): Likewise.
55926         (struct test_fl_f_data): Likewise.
55927         (struct test_if_f_data): Likewise.
55928         (struct test_fff_f_data): Likewise.
55929         (struct test_c_f_data): Likewise.
55930         (struct test_f_f1_data): Likewise.  Remove field extra_name.
55931         (struct test_fF_f1_data): Likewise.
55932         (struct test_ffI_f1_data): Likewise.
55933         (struct test_c_c_data): Rename test_name field to arg_str.
55934         (struct test_cc_c_data): Likewise.
55935         (struct test_f_i_data): Likewise.
55936         (struct test_ff_i_data): Likewise.
55937         (struct test_f_l_data): Likewise.
55938         (struct test_f_L_data): Likewise.
55939         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
55940         and extra2_name.
55941         (COMMON_TEST_SETUP): New macro.
55942         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55943         (COMMON_TEST_CLEANUP): Likewise.
55944         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55945         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
55946         macros.
55947         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55948         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
55949         macros.
55950         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55951         (RUN_TEST_fff_f): Take argument string.  Call new setup and
55952         cleanup macros.
55953         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55954         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
55955         macros.
55956         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55957         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
55958         macros.
55959         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55960         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
55961         cleanup macros.
55962         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55963         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
55964         cleanup macros.
55965         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55966         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
55967         cleanup macros.
55968         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55969         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
55970         macros.
55971         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55972         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
55973         macros.
55974         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55975         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
55976         macros.
55977         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55978         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
55979         cleanup macros.
55980         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55981         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
55982         cleanup macros.
55983         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55984         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
55985         macros.
55986         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55987         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
55988         cleanup macros.
55989         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55990         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
55991         macros.
55992         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55993         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
55994         macros.
55995         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55996         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
55997         cleanup macros.
55998         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
56000 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
56002         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
56003         to _sifields.sigfault.
56004         (si_addr_lsb): Define new macro.
56005         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56006         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56007         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
56009 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
56011         [BZ #15441]
56012         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
56013         returns -1.
56014         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
56015         null return -1.
56016         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
56017         loading the domain.
56019 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
56021         * math/gen-libm-test.pl (parse_args): Do not include expected
56022         result in test name.
56023         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
56024         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56025         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56026         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56027         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56030 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
56032         * benchtests/Makefile: Sort function entries.
56034         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
56035         tanh, asinh, acosh, atanh.
56036         * benchtests/acos-inputs: New file.
56037         * benchtests/acosh-inputs: New file.
56038         * benchtests/asin-inputs: New file.
56039         * benchtests/asinh-inputs: New file.
56040         * benchtests/atanh-inputs: New file.
56041         * benchtests/cosh-inputs: New file.
56042         * benchtests/log-inputs: New file.
56043         * benchtests/sinh-inputs: New file.
56044         * benchtests/tanh-inputs: New file.
56046 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
56048         [BZ #15339]
56049         * posix/tst-getaddrinfo4.c: New test.
56050         * posix/Makefile (tests): Add it.
56052 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56054         [BZ #15339]
56055         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
56056         when no services were used.
56057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
56058         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
56060 2013-05-21  Andreas Schwab  <schwab@suse.de>
56062         [BZ #15014]
56063         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
56064         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
56065         successful.
56066         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
56067         redundant variable declarations and reallocation of buffer when
56068         parsing as IPv6 address.  Always set NSS status when called from
56069         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
56070         buffer too small.  Correct computation of needed size.
56071         * nss/Makefile (tests): Add test-digits-dots.
56072         * nss/test-digits-dots.c: New test.
56074 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56076         * benchtests/Makefile: Remove instructions for adding
56077         benchmark tests.
56078         * benchtests/README: New file to explain how to execute and
56079         enhance the benchmark tests.
56081 2013-05-21  Andreas Schwab  <schwab@suse.de>
56083         [BZ #15493]
56084         * setjmp/Makefile (tests): Add tst-sigsetjmp.
56085         * setjmp/tst-sigsetjmp.c: New test.
56087 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
56089         * sysdeps/x86_64/memset.S (memset): New implementation.
56090         (__bzero): Likewise.
56091         (__memset_tail): New function.
56093 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
56095         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
56096         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
56097         __memcpy_sse2_unaligned ifunc selection.
56098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56099         Add memcpy-sse2-unaligned.S.
56100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56101         Add: __memcpy_sse2_unaligned.
56103 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
56105         [BZ #15490]
56106         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56107         math_force_eval before restoring floating-point envrionment.
56108         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
56109         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
56110         Likewise.
56111         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
56112         <math_private.h>.
56113         (__nearbyintl): Use math_force_eval before restoring
56114         floating-point environment.
56115         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
56117         * math/gen-libm-test.pl (special_functions): Remove.
56118         (parse_args): Don't handle TEST_extra.  Handle functions with no
56119         return value.
56120         * math/libm-test.inc (struct test_sincos_data): Replace with
56121         struct test_fFF_11_data.
56122         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
56123         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
56124         (sincos_test_data): Change element type to struct
56125         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
56126         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
56127         RUN_TEST_LOOP_sincos.
56128         * math/README.libm-test: Don't mention special handling of
56129         individual functions.
56130         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
56131         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56132         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56133         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56134         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56137         * math/gen-libm-test.pl (get_variable): Remove function.
56138         (parse_args): Don't show pointer parameters to call in test
56139         names.  Use "extra output N" in test names for extra outputs
56140         rather than naming variables.
56142 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
56144         [BZ #15488]
56145         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56146         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56147         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56148         double tests.
56149         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56150         disable.
56151         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56152         check_long_double.
56154         * math/gen-libm-test.pl (@tests): Remove variable.
56155         ($count): Likewise.
56156         (new_test): Remove function.
56157         (show_exceptions): New function.
56158         (special_functions): Use show_exceptions instead of new_test.
56159         (parse_args): Likewise.
56160         (generate_testfile): Pass only function name in generated call to
56161         print_max_error or print_complex_max_error.
56162         (get_ulps): Do not handle complex tests specially.
56163         (output_test): Rename to ...
56164         (get_all_ulps_for_test): ... this.  Return a string rather than
56165         printing to a file.  Require ulps to be present.
56166         (output_ulps): Generate arrays rather than #defines.
56167         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56168         (struct ulp_data): New type.
56169         (BUILD_COMPLEX_ULP): Remove macro.
56170         (compare_ulp_data): New function.
56171         (find_ulps): Likewise.
56172         (find_test_ulps): Likewise.
56173         (find_function_ulps): Likewise.
56174         (find_complex_function_ulps): Likewise.
56175         (print_max_error): Determine allowed ulps using
56176         find_function_ulps.
56177         (print_complex_max_error): Determine allowed ulps using
56178         find_complex_function_ulps.
56179         (check_float_internal): Determine max ulps using find_test_ulps.
56180         (check_float): Do not take max_ulp parameter.  Update call to
56181         check_float_internal.
56182         (check_complex): Likewise.
56183         (check_int): Do not take max_ulp parameter.
56184         (check_long): Likewise.
56185         (check_bool): Likewise.
56186         (check_longlong): Likewise.
56187         (struct test_f_f_data): Remove max_ulp field.
56188         (struct test_ff_f_data): Likewise.
56189         (struct test_ff_f_data_nexttoward): Likewise.
56190         (struct test_fi_f_data): Likewise.
56191         (struct test_fl_f_data): Likewise.
56192         (struct test_if_f_data): Likewise.
56193         (struct test_fff_f_data): Likewise.
56194         (struct test_c_f_data): Likewise.
56195         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56196         (struct test_fF_f1_data): Likewise.
56197         (struct test_ffI_f1_data): Likewise.
56198         (struct test_c_c_data): Remove max_ulp field.
56199         (struct test_cc_c_data): Likewise.
56200         (struct test_f_i_data): Likewise.
56201         (struct test_ff_i_data): Likewise.
56202         (struct test_f_l_data): Likewise.
56203         (struct test_f_L_data): Likewise.
56204         (struct test_sincos_data): Likewise.
56205         (RUN_TEST_f_f): Do not handle ulps.
56206         (RUN_TEST_LOOP_f_f): Likewise.
56207         (RUN_TEST_2_f): Likewise.
56208         (RUN_TEST_LOOP_2_f): Likewise.
56209         (RUN_TEST_fff_f): Likewise.
56210         (RUN_TEST_LOOP_fff_f): Likewise.
56211         (RUN_TEST_c_f): Likewise.
56212         (RUN_TEST_LOOP_c_f): Likewise.
56213         (RUN_TEST_f_f1): Likewise.
56214         (RUN_TEST_LOOP_f_f1): Likewise.
56215         (RUN_TEST_fF_f1): Likewise.
56216         (RUN_TEST_LOOP_fF_f1): Likewise.
56217         (RUN_TEST_fI_f1): Likewise.
56218         (RUN_TEST_LOOP_fI_f1): Likewise.
56219         (RUN_TEST_ffI_f1): Likewise.
56220         (RUN_TEST_LOOP_ffI_f1): Likewise.
56221         (RUN_TEST_c_c): Likewise.
56222         (RUN_TEST_LOOP_c_c): Likewise.
56223         (RUN_TEST_cc_c): Likewise.
56224         (RUN_TEST_LOOP_cc_c): Likewise.
56225         (RUN_TEST_f_i): Likewise.
56226         (RUN_TEST_LOOP_f_i): Likewise.
56227         (RUN_TEST_f_i_tg): Likewise.
56228         (RUN_TEST_LOOP_f_i_tg): Likewise.
56229         (RUN_TEST_ff_i_tg): Likewise.
56230         (RUN_TEST_LOOP_ff_i_tg): Likewise.
56231         (RUN_TEST_f_b): Likewise.
56232         (RUN_TEST_LOOP_f_b): Likewise.
56233         (RUN_TEST_f_b_tg): Likewise.
56234         (RUN_TEST_LOOP_f_b_tg): Likewise.
56235         (RUN_TEST_f_l): Likewise.
56236         (RUN_TEST_LOOP_f_l): Likewise.
56237         (RUN_TEST_f_L): Likewise.
56238         (RUN_TEST_LOOP_f_L): Likewise.
56239         (RUN_TEST_sincos): Likewise.
56240         (RUN_TEST_LOOP_sincos): Likewise.
56242 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
56244         [BZ #15480]
56245         [BZ #15485]
56246         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56247         main case of finite arguments, set rounding mode to FE_TONEAREST
56248         and discard exceptions.
56249         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56250         exceptions.
56251         (remainder_tonearest_test_data): New variable.
56252         (remainder_test_tonearest): New function.
56253         (remainder_towardzero_test_data): New variable.
56254         (remainder_test_towardzero): New function.
56255         (remainder_downward_test_data): New variable.
56256         (remainder_test_downward): New function.
56257         (remainder_upward_test_data): New variable.
56258         (remainder_test_upward): New function.
56259         (main): Call the new test functions.
56261         * math/libm-test.inc (struct test_f_f1_data): Remove field
56262         extra_init.
56263         (struct test_fF_f1_data): Likewise.
56264         (struct test_ffI_f1_data): Likewise.
56265         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
56266         based on value of EXTRA_EXPECTED.
56267         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56268         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
56269         EXTRA_VAR based on value of EXTRA_EXPECTED.
56270         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56271         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
56272         EXTRA_VAR based on value of EXTRA_EXPECTED.
56273         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56274         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
56275         EXTRA_VAR based on value of EXTRA_EXPECTED.
56276         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56277         * math/gen-libm-test.pl (parse_args): Don't output initializers
56278         for extra output values.
56280         * math/libm-test.inc (check_int): Expect result to be exactly
56281         equal to expected value and do not handle ulps.
56282         (check_long): Likewise.
56283         (check_longlong): Likewise.
56285         * math/libm-test.inc (ceil_test_data): Test for "inexact"
56286         exceptions.
56287         (cimag_test_data): Likewise.
56288         (conj_test_data): Likewise.
56289         (copysign_test_data): Likewise.
56290         (cproj_test_data): Likewise.
56291         (creal_test_data): Likewise.
56292         (fabs_test_data): Likewise.
56293         (fdim_test_data): Likewise.
56294         (finite_test_data): Likewise.
56295         (floor_test_data): Likewise.
56296         (fmax_test_data): Likewise.
56297         (fmin_test_data): Likewise.
56298         (fmod_test_data): Likewise.
56299         (fpclassify_test_data): Likewise.
56300         (frexp_test_data): Likewise.
56301         (ilogb_test_data): Likewise.
56302         (isfinite_test_data): Likewise.
56303         (isgreater_test_data): Likewise.
56304         (isgreaterequal_test_data): Likewise.
56305         (isinf_test_data): Likewise.
56306         (isless_test_data): Likewise.
56307         (islessequal_test_data): Likewise.
56308         (islessgreater_test_data): Likewise.
56309         (isnan_test_data): Likewise.
56310         (isnormal_test_data): Likewise.
56311         (issignaling_test_data): Likewise.
56312         (isunordered_test_data): Likewise.
56313         (ldexp_test_data): Likewise.
56314         (lrint_test_data): Likewise.
56315         (lrint_test_data) [TEST_FLOAT]: Disable one test.
56316         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56317         (lrint_tonearest_test_data): Test for "inexact" exceptions.
56318         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56319         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56320         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56321         test input.
56322         (lrint_towardzero_test_data): Test for "inexact" exceptions.
56323         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56324         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56325         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56326         that test input.
56327         (lrint_downward_test_data): Test for "inexact" exceptions.
56328         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56329         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56330         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56331         test input.
56332         (lrint_upward_test_data): Test for "inexact" exceptions.
56333         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56334         test input.
56335         (llrint_test_data): Test for "inexact" exceptions.
56336         (llrint_test_data) [TEST_FLOAT]: Disable one test.
56337         (llrint_tonearest_test_data): Test for "inexact" exceptions.
56338         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56339         (llrint_towardzero_test_data): Test for "inexact" exceptions.
56340         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56341         (llrint_downward_test_data): Test for "inexact" exceptions.
56342         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56343         (llrint_upward_test_data): Test for "inexact" exceptions.
56344         (logb_test_data): Likewise.
56345         (logb_downward_test_data): Likewise.
56346         (nextafter_test_data): Likewise.
56347         (nexttoward_test_data): Likewise.
56348         (remainder_test_data): Likewise.
56349         (remquo_test_data): Likewise.
56350         (scalbn_test_data): Likewise.
56351         (scalbln_test_data): Likewise.
56352         (signbit_test_data): Likewise.
56353         (sqrt_test_data): Likewise.
56354         (significand_test_data): Likewise.
56356 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56358         [BZ #15424]
56359         * benchtests/bench-modf.c (struct args): Mark arg0 as
56360         volatile.
56361         * scripts/bench.pl: Mark members of struct args as volatile.
56363 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56365         [BZ # 15497]
56366         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56367         negative infinity on POWER6 or lower.
56368         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56370 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
56372         [BZ #15442]
56373         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56374         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56375         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56376         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56377         (_FP_SETQNAN): New macro.
56378         (_FP_SETQNAN_SEMIRAW): Likewise.
56379         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56380         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56381         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56382         (FP_EXTEND): Use _FP_FRAC_SNANP.
56383         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56384         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56385         into account.
56386         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56387         New macro.
56388         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56389         Likewise.
56391 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56393         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56394         with DIVIDE_BY_ZERO_EXCEPTION.
56395         (gamma_test_data): Likewise.
56396         (lgamma_test_data): Likewise.
56397         (log_test_data): Likewise.
56398         (log10_test_data): Likewise.
56399         (log2_test_data): Likewise.
56400         (tgamma_test_data): Likewise.
56402         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56403         (acos_test_tonearest): Likewise.
56404         (acos_test_towardzero): Likewise.
56405         (acos_test_downward): Likewise.
56406         (acos_test_upward): Likewise.
56407         (acosh_test): Likewise.
56408         (asin_test): Likewise.
56409         (asin_test_tonearest): Likewise.
56410         (asin_test_towardzero): Likewise.
56411         (asin_test_downward): Likewise.
56412         (asin_test_upward): Likewise.
56413         (asinh_test): Likewise.
56414         (atan_test): Likewise.
56415         (atanh_test): Likewise.
56416         (atan2_test): Likewise.
56417         (cabs_test): Likewise.
56418         (cacos_test): Likewise.
56419         (cacosh_test): Likewise.
56420         (casin_test): Likewise.
56421         (casinh_test): Likewise.
56422         (catan_test): Likewise.
56423         (catanh_test): Likewise.
56424         (cbrt_test): Likewise.
56425         (ccos_test): Likewise.
56426         (ccosh_test): Likewise.
56427         (cexp_test): Likewise.
56428         (clog_test): Likewise.
56429         (clog10_test): Likewise.
56430         (cos_test): Likewise.
56431         (cos_test_tonearest): Likewise.
56432         (cos_test_towardzero): Likewise.
56433         (cos_test_downward): Likewise.
56434         (cos_test_upward): Likewise.
56435         (cosh_test): Likewise.
56436         (cosh_test_tonearest): Likewise.
56437         (cosh_test_towardzero): Likewise.
56438         (cosh_test_downward): Likewise.
56439         (cosh_test_upward): Likewise.
56440         (cpow_test): Likewise.
56441         (csin_test): Likewise.
56442         (csinh_test): Likewise.
56443         (csqrt_test): Likewise.
56444         (ctan_test): Likewise.
56445         (ctan_test_tonearest): Likewise.
56446         (ctan_test_towardzero): Likewise.
56447         (ctan_test_downward): Likewise.
56448         (ctan_test_upward): Likewise.
56449         (ctanh_test): Likewise.
56450         (ctanh_test_tonearest): Likewise.
56451         (ctanh_test_towardzero): Likewise.
56452         (ctanh_test_downward): Likewise.
56453         (ctanh_test_upward): Likewise.
56454         (erf_test): Likewise.
56455         (erfc_test): Likewise.
56456         (exp_test): Likewise.
56457         (exp_test_tonearest): Likewise.
56458         (exp_test_towardzero): Likewise.
56459         (exp_test_downward): Likewise.
56460         (exp_test_upward): Likewise.
56461         (exp10_test): Likewise.
56462         (exp2_test): Likewise.
56463         (expm1_test): Likewise.
56464         (fmod_test): Likewise.
56465         (gamma_test): Likewise.
56466         (hypot_test): Likewise.
56467         (j0_test): Likewise.
56468         (j1_test): Likewise.
56469         (jn_test): Likewise.
56470         (lgamma_test): Likewise.
56471         (log_test): Likewise.
56472         (log10_test): Likewise.
56473         (log1p_test): Likewise.
56474         (log2_test): Likewise.
56475         (logb_test_downward): Likewise.
56476         (pow_test): Likewise.
56477         (pow_test_tonearest): Likewise.
56478         (pow_test_towardzero): Likewise.
56479         (pow_test_downward): Likewise.
56480         (pow_test_upward): Likewise.
56481         (remainder_test): Likewise.
56482         (remquo_test): Likewise.
56483         (sin_test): Likewise.
56484         (sin_test_tonearest): Likewise.
56485         (sin_test_towardzero): Likewise.
56486         (sin_test_downward): Likewise.
56487         (sin_test_upward): Likewise.
56488         (sincos_test): Likewise.
56489         (sinh_test): Likewise.
56490         (sinh_test_tonearest): Likewise.
56491         (sinh_test_towardzero): Likewise.
56492         (sinh_test_downward): Likewise.
56493         (sinh_test_upward): Likewise.
56494         (sqrt_test): Likewise.
56495         (tan_test): Likewise.
56496         (tan_test_tonearest): Likewise.
56497         (tan_test_towardzero): Likewise.
56498         (tan_test_downward): Likewise.
56499         (tan_test_upward): Likewise.
56500         (tanh_test): Likewise.
56501         (tgamma_test): Likewise.
56502         (y0_test): Likewise.
56503         (y1_test): Likewise.
56504         (yn_test): Likewise.
56506         * math/gen-libm-test.pl (adjust_arg): Remove function.
56507         (special_function): Remove argument $in_func.  Only handle
56508         generating output for tables of tests, not inside functions.
56509         (parse_args): Likewise.
56510         (generate_testfile): Remove variable $in_func.  Update call to
56511         parse_args.
56512         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56513         (MINUS_ZERO_INIT): Rename macro to minus_zero.
56514         (PLUS_INFTY_INIT): Rename macro to plus_infty.
56515         (MINUS_INFTY_INIT): Rename macro to minus_infty.
56516         (QNAN_VALUE_INIT): Rename macro to qnan_value.
56517         (MAX_VALUE_INIT): Rename macro to max_value.
56518         (MIN_VALUE_INIT): Rename macro to min_value.
56519         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56520         (plus_zero): Remove variable.
56521         (minus_zero): Likewise.
56522         (plus_infty): Likewise.
56523         (minus_infty): Likewise.
56524         (qnan_value): Likewise.
56525         (max_value): Likewise.
56526         (min_value): Likewise.
56527         (min_subnorm_value): Likewise.
56529 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56531         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56532         uint64_t or uint32_t usage.
56533         * crypt/sha256-block.c: Likewise.
56534         * crypt/sha256-crypt.c: Likewise.
56535         * crypt/sha256.c: Likewise.
56536         * crypt/sha512-block.c: Likewise.
56537         * crypt/sha512-crypt.c: Likewise.
56538         * crypt/sha512.c: Likewise.
56539         * debug/backtrace-tst.c: Likewise.
56540         * debug/pcprofiledump.c: Likewise.
56541         * elf/cache.c: Likewise.
56542         * elf/dl-cache.c: Likewise.
56543         * elf/dl-misc.c: Likewise.
56544         * elf/dl-profile.c: Likewise.
56545         * elf/dl-support.c: Likewise.
56546         * elf/ldconfig.c: Likewise.
56547         * elf/sprof.c: Likewise.
56548         * iconv/dummy-repertoire.c: Likewise.
56549         * iconv/iconv_charmap.c: Likewise.
56550         * iconv/skeleton.c: Likewise.
56551         * iconvdata/8bit-generic.c: Likewise.
56552         * iconvdata/cp737.h: Likewise.
56553         * iconvdata/cp775.h: Likewise.
56554         * iconvdata/ibm1008.h: Likewise.
56555         * iconvdata/ibm1025.h: Likewise.
56556         * iconvdata/ibm1046.h: Likewise.
56557         * iconvdata/ibm1097.h: Likewise.
56558         * iconvdata/ibm1112.h: Likewise.
56559         * iconvdata/ibm1122.h: Likewise.
56560         * iconvdata/ibm1123.h: Likewise.
56561         * iconvdata/ibm1124.h: Likewise.
56562         * iconvdata/ibm1129.h: Likewise.
56563         * iconvdata/ibm1130.h: Likewise.
56564         * iconvdata/ibm1132.h: Likewise.
56565         * iconvdata/ibm1133.h: Likewise.
56566         * iconvdata/ibm1137.h: Likewise.
56567         * iconvdata/ibm1140.h: Likewise.
56568         * iconvdata/ibm1141.h: Likewise.
56569         * iconvdata/ibm1142.h: Likewise.
56570         * iconvdata/ibm1143.h: Likewise.
56571         * iconvdata/ibm1144.h: Likewise.
56572         * iconvdata/ibm1145.h: Likewise.
56573         * iconvdata/ibm1146.h: Likewise.
56574         * iconvdata/ibm1147.h: Likewise.
56575         * iconvdata/ibm1148.h: Likewise.
56576         * iconvdata/ibm1149.h: Likewise.
56577         * iconvdata/ibm1153.h: Likewise.
56578         * iconvdata/ibm1154.h: Likewise.
56579         * iconvdata/ibm1155.h: Likewise.
56580         * iconvdata/ibm1156.h: Likewise.
56581         * iconvdata/ibm1157.h: Likewise.
56582         * iconvdata/ibm1158.h: Likewise.
56583         * iconvdata/ibm1160.h: Likewise.
56584         * iconvdata/ibm1161.h: Likewise.
56585         * iconvdata/ibm1162.h: Likewise.
56586         * iconvdata/ibm1163.h: Likewise.
56587         * iconvdata/ibm1164.h: Likewise.
56588         * iconvdata/ibm1166.h: Likewise.
56589         * iconvdata/ibm1167.h: Likewise.
56590         * iconvdata/ibm12712.h: Likewise.
56591         * iconvdata/ibm1390.h: Likewise.
56592         * iconvdata/ibm1399.h: Likewise.
56593         * iconvdata/ibm16804.h: Likewise.
56594         * iconvdata/ibm4517.h: Likewise.
56595         * iconvdata/ibm4899.h: Likewise.
56596         * iconvdata/ibm4909.h: Likewise.
56597         * iconvdata/ibm4971.h: Likewise.
56598         * iconvdata/ibm5347.h: Likewise.
56599         * iconvdata/ibm803.h: Likewise.
56600         * iconvdata/ibm856.h: Likewise.
56601         * iconvdata/ibm901.h: Likewise.
56602         * iconvdata/ibm902.h: Likewise.
56603         * iconvdata/ibm9030.h: Likewise.
56604         * iconvdata/ibm9066.h: Likewise.
56605         * iconvdata/ibm921.h: Likewise.
56606         * iconvdata/ibm922.h: Likewise.
56607         * iconvdata/ibm9448.h: Likewise.
56608         * iconvdata/isiri-3342.h: Likewise.
56609         * iconvdata/jis0201.h: Likewise.
56610         * include/link.h: Likewise.
56611         * include/netdb.h: Likewise.
56612         * inet/check_native.c: Likewise.
56613         * inet/check_pf.c: Likewise.
56614         * inet/getipv4sourcefilter.c: Likewise.
56615         * inet/getnameinfo.c: Likewise.
56616         * inet/getsourcefilter.c: Likewise.
56617         * inet/htonl.c: Likewise.
56618         * inet/setipv4sourcefilter.c: Likewise.
56619         * inet/setsourcefilter.c: Likewise.
56620         * inet/test-inet6_opt.c: Likewise.
56621         * inet/tst-network.c: Likewise.
56622         * locale/C-collate.c: Likewise.
56623         * locale/C-ctype.c: Likewise.
56624         * locale/C-time.c: Likewise.
56625         * locale/C-translit.h: Likewise.
56626         * locale/loadarchive.c: Likewise.
56627         * locale/programs/3level.h: Likewise.
56628         * locale/programs/charmap.c: Likewise.
56629         * locale/programs/charmap.h: Likewise.
56630         * locale/programs/ld-address.c: Likewise.
56631         * locale/programs/ld-collate.c: Likewise.
56632         * locale/programs/ld-ctype.c: Likewise.
56633         * locale/programs/ld-identification.c: Likewise.
56634         * locale/programs/ld-measurement.c: Likewise.
56635         * locale/programs/ld-messages.c: Likewise.
56636         * locale/programs/ld-monetary.c: Likewise.
56637         * locale/programs/ld-name.c: Likewise.
56638         * locale/programs/ld-numeric.c: Likewise.
56639         * locale/programs/ld-paper.c: Likewise.
56640         * locale/programs/ld-telephone.c: Likewise.
56641         * locale/programs/ld-time.c: Likewise.
56642         * locale/programs/linereader.c: Likewise.
56643         * locale/programs/locale.c: Likewise.
56644         * locale/programs/locarchive.c: Likewise.
56645         * locale/programs/locfile.h: Likewise.
56646         * locale/programs/repertoire.c: Likewise.
56647         * locale/programs/simple-hash.c: Likewise.
56648         * locale/programs/simple-hash.h: Likewise.
56649         * malloc/memusage.c: Likewise.
56650         * malloc/memusagestat.c: Likewise.
56651         * nis/nis_defaults.c: Likewise.
56652         * nis/nis_hash.c: Likewise.
56653         * nis/nis_print.c: Likewise.
56654         * nis/nis_xdr.c: Likewise.
56655         * nscd/connections.c: Likewise.
56656         * nscd/hstcache.c: Likewise.
56657         * nscd/nscd_gethst_r.c: Likewise.
56658         * nscd/nscd_getserv_r.c: Likewise.
56659         * nscd/nscd_helper.c: Likewise.
56660         * nscd/servicescache.c: Likewise.
56661         * nss/makedb.c: Likewise.
56662         * nss/nss_db/db-XXX.c: Likewise.
56663         * nss/nss_db/db-initgroups.c: Likewise.
56664         * nss/nss_db/db-netgrp.c: Likewise.
56665         * nss/nss_files/files-network.c: Likewise.
56666         * nss/nss_files/files-parse.c: Likewise.
56667         * posix/bug-regex5.c: Likewise.
56668         * posix/fnmatch_loop.c: Likewise.
56669         * posix/regcomp.c: Likewise.
56670         * posix/regexec.c: Likewise.
56671         * posix/tst-rfc3484-2.c: Likewise.
56672         * posix/tst-rfc3484-3.c: Likewise.
56673         * posix/tst-rfc3484.c: Likewise.
56674         * resolv/nss_dns/dns-canon.c: Likewise.
56675         * resolv/nss_dns/dns-network.c: Likewise.
56676         * resolv/res_init.c: Likewise.
56677         * resolv/res_mkquery.c: Likewise.
56678         * resolv/tst-aton.c: Likewise.
56679         * stdlib/cxa_atexit.c: Likewise.
56680         * stdlib/cxa_finalize.c: Likewise.
56681         * stdlib/gen-fpioconst.c: Likewise.
56682         * stdlib/strtol_l.c: Likewise.
56683         * string/tst-endian.c: Likewise.
56684         * sunrpc/auth_des.c: Likewise.
56685         * sunrpc/clnt_udp.c: Likewise.
56686         * sunrpc/rtime.c: Likewise.
56687         * sunrpc/svcauth_des.c: Likewise.
56688         * sunrpc/xdr.c: Likewise.
56689         * sunrpc/xdr_intXX_t.c: Likewise.
56690         * sunrpc/xdr_rec.c: Likewise.
56691         * sysdeps/generic/ldconfig.h: Likewise.
56692         * sysdeps/generic/ldsodefs.h: Likewise.
56693         * sysdeps/generic/memusage.h: Likewise.
56694         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56695         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56696         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56697         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56698         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56699         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56700         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56701         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56702         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56703         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56704         * sysdeps/posix/getaddrinfo.c: Likewise.
56705         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56706         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56707         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56708         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56709         * sysdeps/powerpc/test-gettimebase.c: Likewise.
56710         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56711         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56712         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56713         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56714         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56715         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56716         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56717         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56718         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56719         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56720         * sysdeps/x86_64/dl-tls.h: Likewise.
56721         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56722         * time/alt_digit.c: Likewise.
56723         * time/era.c: Likewise.
56724         * wcsmbs/tst-c16c32-1.c: Likewise.
56726 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56728         * math/libm-test.inc (struct test_sincos_data): New type.
56729         (RUN_TEST_LOOP_sincos): New macro.
56730         (sincos_test_data): New variable.
56731         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56733 2013-05-16  Richard Henderson  <rth@redhat.com>
56735         * math/atest-exp2.c (LIMB64): New macro.
56736         (CONSTSZ): New macro.
56737         (mp_exp1, mp_exp_m1, mp_log2): New variables.
56738         (hexdig): Move ...
56739         (print_mpn_fp): ... to function scope.
56740         (read_mpn_hex): Remove.
56741         (get_log2): Remove.
56742         (exp2_mpn): Use mp_log2.
56743         (main): Use mp_exp1.
56745 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56747         * math/libm-test.inc: Remove comment about not testing "inexact"
56748         exceptions.
56749         (INEXACT_EXCEPTION): New macro.
56750         (NO_INEXACT_EXCEPTION): Likewise.
56751         (INVALID_EXCEPTION_OK): Update value.
56752         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56753         (OVERFLOW_EXCEPTION_OK): Likewise.
56754         (UNDERFLOW_EXCEPTION_OK): Likewise.
56755         (IGNORE_ZERO_INF_SIGN): Likewise.
56756         (ERRNO_UNCHANGED): Likewise.
56757         (ERRNO_EDOM): Likewise.
56758         (ERRNO_ERANGE): Likewise.
56759         (test_exceptions): Handle testing "inexact" exceptions.
56760         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56761         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56762         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56763         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56764         INEXACT_EXCEPTION.
56765         (rint_towardzero_test_data): Likewise.
56766         (rint_downward_test_data): Likewise.
56767         (rint_upward_test_data): Likewise.
56769         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56770         with OVERFLOW_EXCEPTION.
56771         (exp10_test_data): Likewise.
56772         (exp2_test_data): Likewise.
56773         (expm1_test_data): Likewise.
56774         (lgamma_test_data): Likewise.
56775         (pow_test_data): Likewise.
56776         (tgamma_test_data): Likewise.
56777         (yn_test_data): Remove duplicate test of overflow.
56779         * math/libm-test.inc (struct test_cc_c_data): New type.
56780         (RUN_TEST_LOOP_cc_c): New macro.
56781         (cpow_test_data): New variable.
56782         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56784         * math/libm-test.inc (struct test_f_L_data): New type.
56785         (RUN_TEST_LOOP_f_L): New macro.
56786         (llrint_test_data): New variable.
56787         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56788         (llrint_tonearest_test_data): New variable.
56789         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56790         (llrint_towardzero_test_data): New variable.
56791         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56792         (llrint_downward_test_data): New variable.
56793         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56794         (llrint_upward_test_data): New variable.
56795         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56796         (llround_test_data): New variable.
56797         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56799 2013-05-13  Peter Collingbourne  <pcc@google.com>
56801         * math/atest-exp2.c (get_log2): Remove const attribute.
56803 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56805         * math/libm-test.inc (struct test_f_l_data): New type.
56806         (RUN_TEST_LOOP_f_l): New macro.
56807         (lrint_test_data): New variable.
56808         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56809         (lrint_tonearest_test_data): New variable.
56810         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56811         (lrint_towardzero_test_data): New variable.
56812         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56813         (lrint_downward_test_data): New variable.
56814         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56815         (lrint_upward_test_data): New variable.
56816         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56817         (lround_test_data): New variable.
56818         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56820 2013-05-15  Peter Collingbourne  <pcc@google.com>
56822         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56823         (EXTRACT_WORDS64) Use where appropriate.
56824         (INSERT_WORDS64) Likewise.
56826         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56827         constraints with x constraints.
56828         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56830         * malloc/obstack.c (_obstack_compat): Add initializer.
56832 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56834         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56835         si_trapno and add si_addr_lsb to _sifields.sigfault.
56836         (si_trapno): Remove macro.
56837         (si_addr_lsb): Define new macro.
56838         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56840 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56842         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56843         instead of TEST_f_l.
56844         (llrint_test_tonearest): Likewise.
56845         (llrint_test_towardzero): Likewise.
56846         (llrint_test_downward): Likewise.
56847         (llrint_test_upward): Likewise.
56848         (llround_test): Likewise.
56850         * math/libm-test.inc (struct test_f_i_data): Add comment.
56851         (RUN_TEST_LOOP_f_b): New macro.
56852         (RUN_TEST_LOOP_f_b_tg): Likewise.
56853         (finite_test_data): New variable.
56854         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56855         (isfinite_test_data): New variable.
56856         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56857         (isinf_test_data): New variable.
56858         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56859         (isnan_test_data): New variable.
56860         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56861         (isnormal_test_data): New variable.
56862         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56863         (issignaling_test_data): New variable.
56864         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56865         (signbit_test_data): New variable.
56866         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56868         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56869         with INVALID_EXCEPTION.
56870         (acosh_test_data): Likewise.
56871         (asin_test_data): Likewise.
56872         (atanh_test_data): Likewise.
56873         (fmod_test_data): Likewise.
56874         (log_test_data): Likewise.
56875         (log10_test_data): Likewise.
56876         (log2_test_data): Likewise.
56877         (pow_test_data): Likewise.
56878         (sqrt_test_data): Likewise.
56879         (y0_test_data): Likewise.
56880         (y1_test_data): Likewise.
56881         (yn_test_data): Likewise.
56883         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56884         function contents.
56886         * math/libm-test.inc (struct test_ff_i_data): New type.
56887         (RUN_TEST_LOOP_ff_i_tg): New macro.
56888         (isgreater_test_data): New variable.
56889         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56890         (isgreaterequal_test_data): New variable.
56891         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56892         (isless_test_data): New variable.
56893         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56894         (islessequal_test_data): New variable.
56895         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56896         (islessgreater_test_data): New variable.
56897         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56898         (isunordered_test_data): New variable.
56899         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56901 2013-05-14  David S. Miller  <davem@davemloft.net>
56903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56905 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
56907         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56909         * math/libm-test.inc (struct test_fF_f1_data): Change type of
56910         extra_test to int.
56911         (struct test_f_i_data): Change type of max_ulp to int.
56913         * math/libm-test.inc (test_ffI_f1_data): New type.
56914         (RUN_TEST_LOOP_ffI_f1): New macro.
56915         (remquo_test_data): New variable.
56916         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56918         * setjmp/tst-setjmp-fp.c: New file.
56919         * setjmp/Makefile (tests): Add tst-setjmp-fp.
56920         (link-libm): New variable.
56921         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56923         * math/libm-test.inc (struct test_f_i_data): New type.
56924         (RUN_TEST_LOOP_f_i): New macro.
56925         (RUN_TEST_LOOP_f_i_tg): Likewise.
56926         (fpclassify_test_data): New variable.
56927         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56928         (ilogb_test_data): New variable.
56929         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56931         * math/libm-test.inc (scalbln_test): Correct function name in END
56932         call.
56934         * math/libm-test.inc (struct test_f_f1_data): Add comment.
56935         (RUN_TEST_LOOP_fI_f1): New macro.
56936         (frexp_test_data): New variable.
56937         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56939         * math/libm-test.inc (struct test_fF_f1_data): New type.
56940         (RUN_TEST_LOOP_fF_f1): New macro.
56941         (modf_test_data): New variable.
56942         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56944         * math/libm-test.inc (struct test_f_f1_data): New type.
56945         (RUN_TEST_LOOP_f_f1): New macro.
56946         (gamma_test_data): New variable.
56947         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56948         (lgamma_test_data): New variable.
56949         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56951 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
56953         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56954         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56955         (main): Comment "tls" pseudo-hwcap.
56957 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
56959         * math/libm-test.inc (struct test_fl_f_data): New type.
56960         (RUN_TEST_LOOP_fl_f): New variable.
56961         (scalbln_test_data): New variable.
56962         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56964         * math/libm-test.inc (struct test_fi_f_data): New type.
56965         (RUN_TEST_LOOP_fi_f): New macro.
56966         (ldexp_test_data): New variable.
56967         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56968         (scalbn_test_data): New variable.
56969         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56971         * math/libm-test.inc (struct test_c_f_data): New type.
56972         (RUN_TEST_LOOP_c_f): New macro.
56973         (cabs_test_data): New variable.
56974         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56975         (carg_test_data): New variable.
56976         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56977         (cimag_test_data): New variable.
56978         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56979         (creal_test_data): New variable.
56980         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56982         * math/libm-test.inc (struct test_if_f_data): New type.
56983         (RUN_TEST_LOOP_if_f): New macro.
56984         (jn_test_data): New variable.
56985         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56986         (yn_test_data): New variable.
56987         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56989         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56991 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56993         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56994         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56996 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56998         * benchtests/Makefile (CPPFLAGS-nonlib): Add
56999         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
57000         (bench-deps): Add bench-timing.h.
57001         * benchtests-bench-skeleton.c: Include bench-timing.h.
57002         (main): Use TIMING_* macros instead of clock_gettime.
57003         * benchtests/bench-timing.h: New file.
57005         [BZ #14582]
57006         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
57007         Renamed from _LIB_VERSION.
57008         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
57010 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
57012         * math/libm-test.inc (struct test_fff_f_data): New type.
57013         (RUN_TEST_LOOP_fff_f): New macro.
57014         (fma_test_data): New variable.
57015         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
57016         (fma_towardzero_test_data): New variable.
57017         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57018         (fma_downward_test_data): New variable.
57019         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
57020         (fma_upward_test_data): New variable.
57021         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
57023         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
57024         (struct test_c_c_data): New type.
57025         (RUN_TEST_LOOP_c_c): New macro.
57026         (cacos_test_data): New variable.
57027         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
57028         (cacosh_test_data): New variable.
57029         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
57030         (casin_test_data): New variable.
57031         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
57032         (casinh_test_data): New variable.
57033         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
57034         (catan_test_data): New variable.
57035         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
57036         (catanh_test_data): New variable.
57037         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
57038         (ccos_test_data): New variable.
57039         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
57040         (ccosh_test_data): New variable.
57041         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
57042         (cexp_test_data): New variable.
57043         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
57044         (clog_test_data): New variable.
57045         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
57046         (clog10_test_data): New variable.
57047         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
57048         (conj_test_data): New variable.
57049         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
57050         (cproj_test_data): New variable.
57051         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
57052         (csin_test_data): New variable.
57053         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
57054         (csinh_test_data): New variable.
57055         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
57056         (csqrt_test_data): New variable.
57057         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
57058         (ctan_test_data): New variable.
57059         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
57060         (ctan_tonearest_test_data): New variable.
57061         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57062         (ctan_towardzero_test_data): New variable.
57063         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57064         (ctan_downward_test_data): New variable.
57065         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57066         (ctan_upward_test_data): New variable.
57067         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57068         (ctanh_test_data): New variable.
57069         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
57070         (ctanh_tonearest_test_data): New variable.
57071         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57072         (ctanh_towardzero_test_data): New variable.
57073         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57074         (ctanh_downward_test_data): New variable.
57075         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57076         (ctanh_upward_test_data): New variable.
57077         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57078         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
57079         of BUILD_COMPLEX.
57081         * math/libm-test.inc (struct test_ff_f_data): New type.
57082         (struct test_ff_f_data_nexttoward): Likewise.
57083         (RUN_TEST_LOOP_2_f): New macro.
57084         (RUN_TEST_LOOP_ff_f): Likewise.
57085         (atan2_test_data): New variable.
57086         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
57087         (copysign_test_data): New variable.
57088         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
57089         (fdim_test_data): New variable.
57090         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
57091         (fmax_test_data): New variable.
57092         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
57093         (fmin_test_data): New variable.
57094         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
57095         (fmod_test_data): New variable.
57096         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
57097         (hypot_test_data): New variable.
57098         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
57099         (nextafter_test_data): New variable.
57100         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
57101         (nexttoward_test_data): New variable.
57102         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
57103         (pow_test_data): New variable.
57104         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
57105         (pow_tonearest_test_data): New variable.
57106         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
57107         (pow_towardzero_test_data): New variable.
57108         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
57109         (pow_downward_test_data): New variable.
57110         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
57111         (pow_upward_test_data): New variable.
57112         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
57113         (remainder_test_data): New variable.
57114         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
57115         (scalb_test_data): New variable.
57116         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
57117         * sysdeps/i386/fpu/libm-test-ulps: Update.
57119 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
57121         * math/libm-test.inc (fma_test): Use max_value instead of local
57122         variable fltmax.
57123         (nextafter_test): Likewise.
57125         * math/libm-test.inc (acos_towardzero_test_data): New variable.
57126         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57127         (acos_downward_test_data): New variable.
57128         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57129         (acos_upward_test_data): New variable.
57130         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57131         (acosh_test_data): New variable.
57132         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
57133         (asin_test_data): New variable.
57134         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
57135         (asin_tonearest_test_data): New variable.
57136         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57137         (asin_towardzero_test_data): New variable.
57138         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57139         (asin_downward_test_data): New variable.
57140         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57141         (asin_upward_test_data): New variable.
57142         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57143         (asinh_test_data): New variable.
57144         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
57145         (atan_test_data): New variable.
57146         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57147         (atanh_test_data): New variable.
57148         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57149         (cbrt_test_data): New variable.
57150         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57151         (ceil_test_data): New variable.
57152         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57153         (cos_test_data): New variable.
57154         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57155         (cos_tonearest_test_data): New variable.
57156         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57157         (cos_towardzero_test_data): New variable.
57158         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57159         (cos_downward_test_data): New variable.
57160         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57161         (cos_upward_test_data): New variable.
57162         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57163         (cosh_test_data): New variable.
57164         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57165         (cosh_tonearest_test_data): New variable.
57166         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57167         (cosh_towardzero_test_data): New variable.
57168         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57169         (cosh_downward_test_data): New variable.
57170         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57171         (cosh_upward_test_data): New variable.
57172         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57173         (erf_test_data): New variable.
57174         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57175         (erfc_test_data): New variable.
57176         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57177         (exp_test_data): New variable.
57178         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57179         (exp_tonearest_test_data): New variable.
57180         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57181         (exp_towardzero_test_data): New variable.
57182         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57183         (exp_downward_test_data): New variable.
57184         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57185         (exp_upward_test_data): New variable.
57186         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57187         (exp10_test_data): New variable.
57188         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57189         (exp2_test_data): New variable.
57190         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57191         (expm1_test_data): New variable.
57192         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57193         (fabs_test_data): New variable.
57194         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57195         (floor_test_data): New variable.
57196         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57197         (j0_test_data): New variable.
57198         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57199         (j1_test_data): New variable.
57200         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57201         (log_test_data): New variable.
57202         (log_test): Run tests with RUN_TEST_LOOP_f_f.
57203         (log10_test_data): New variable.
57204         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57205         (log1p_test_data): New variable.
57206         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57207         (log2_test_data): New variable.
57208         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57209         (logb_test_data): New variable.
57210         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57211         (logb_downward_test_data): New variable.
57212         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57213         (nearbyint_test_data): New variable.
57214         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57215         (rint_test_data): New variable.
57216         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57217         (rint_tonearest_test_data): New variable.
57218         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57219         (rint_towardzero_test_data): New variable.
57220         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57221         (rint_downward_test_data): New variable.
57222         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57223         (rint_upward_test_data): New variable.
57224         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57225         (round_test_data): New variable.
57226         (round_test): Run tests with RUN_TEST_LOOP_f_f.
57227         (sin_test_data): New variable.
57228         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57229         (sin_tonearest_test_data): New variable.
57230         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57231         (sin_towardzero_test_data): New variable.
57232         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57233         (sin_downward_test_data): New variable.
57234         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57235         (sin_upward_test_data): New variable.
57236         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57237         (sinh_test_data): New variable.
57238         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57239         (sinh_tonearest_test_data): New variable.
57240         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57241         (sinh_towardzero_test_data): New variable.
57242         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57243         (sinh_downward_test_data): New variable.
57244         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57245         (sinh_upward_test_data): New variable.
57246         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57247         (sqrt_test_data): New variable.
57248         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57249         (tan_test_data): New variable.
57250         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57251         (tan_tonearest_test_data): New variable.
57252         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57253         (tan_towardzero_test_data): New variable.
57254         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57255         (tan_downward_test_data): New variable.
57256         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57257         (tan_upward_test_data): New variable.
57258         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57259         (tanh_test_data): New variable.
57260         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57261         (tgamma_test_data): New variable.
57262         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57263         (trunc_test_data): New variable.
57264         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57265         (y0_test_data): New variable.
57266         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57267         (y1_test_data): New variable.
57268         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57269         (significand_test_data): New variable.
57270         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57272 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
57274         [BZ #12387]
57275         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57277 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57279         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57281 2013-05-10  Andreas Jaeger  <aj@suse.de>
57283         [BZ #15448]
57284         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57285         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57287 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57289         * math/gen-libm-test.pl (adjust_arg): New function.
57290         (special_functions): Handle generating output in both functions
57291         and arrays.
57292         (parse_args): Likewise.
57293         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
57294         $in_func argument to parse_args.
57295         * math/libm-test.inc (struct test_f_f_data): New type.
57296         (IF_ROUND_INIT_): New macro.
57297         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57298         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57299         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57300         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57301         (ROUND_RESTORE_): Likewise.
57302         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57303         (ROUND_RESTORE_FE_TONEAREST): Likewise.
57304         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57305         (ROUND_RESTORE_FE_UPWARD): Likewise.
57306         (RUN_TEST_LOOP_f_f): New macro.
57307         (acos_test_data): New variable.
57308         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57309         (acos_tonearest_test_data): New variable.
57310         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57312 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57314         * benchtests/bench-skeleton.c (startup): Fix coding style.
57316 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57318         [BZ #6809]
57319         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57320         negative infinity argument.
57321         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57322         negative infinity argument.
57323         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57324         negative infinity argument.
57325         * math/libm-test.inc (tgamma_test): Expect errno to be set for
57326         domain errors.
57328 2013-05-10  Florian Weimer  <fweimer@redhat.com>
57330         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57331         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57332         * iconv/iconv_prog.c (main): Likewise.
57333         * locale/programs/charmap-dir.c (charmap_readdir)
57334         (fopen_uncompressed): Likewise.
57335         * locale/programs/locfile.c (siblings_uncached)
57336         (write_locale_data): Use lstat64 instead of lstat.
57337         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57338         stat.
57340 2013-05-10  Andreas Jaeger  <aj@suse.de>
57342         [BZ #15395]
57343         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57344         localization.
57345         Include <locale.h>.
57347 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
57349         * elf/dl-close.c (_dl_close_worker): Add comments.
57351 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
57353         [BZ #15359]
57354         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57355         high part of pi/2.
57356         (__ieee754_rem_pio2l): Update comments.
57358         [BZ #15429]
57359         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57360         high part of pi/2.
57361         (__ieee754_rem_pio2l): Update comments.
57363         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57364         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57366         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57367         M_PI_4l.
57369         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57370         (M_PI_34_LOG10El): Likewise.
57371         (M_PI2_LOG10El): Likewise.
57372         (M_PI4_LOG10El): Likewise.
57373         (M_PI_LOG10El): Likewise.
57375 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57379 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
57381         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57382         (MINUS_ZERO_INIT): Likewise.
57383         (PLUS_INFTY_INIT): Likewise.
57384         (MINUS_INFTY_INIT): Likewise.
57385         (QNAN_VALUE_INIT): Likewise.
57386         (MAX_VALUE_INIT): Likewise.
57387         (MIN_VALUE_INIT): Likewise.
57388         (MIN_SUBNORM_VALUE_INIT): Likewise.
57389         (plus_zero): Initialize with PLUS_ZERO_INIT.
57390         (minus_zero): Initialize with MINUS_ZERO_INIT.
57391         (plus_infty): Initialize with PLUS_INFTY_INIT.
57392         (minus_infty): Initialize with MINUS_INFTY_INIT.
57393         (qnan_value): Initialize with QNAN_VALUE_INIT.
57394         (max_value): Initialize with MAX_VALUE_INIT.
57395         (min_value): Initialize with MIN_VALUE_INIT.
57396         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57398         * math/libm-test.inc (RUN_TEST_if_f): New macro.
57399         (jn_test): Use TEST_if_f instead of TEST_ff_f.
57400         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57401         (yn_test): Use TEST_if_f instead of TEST_ff_f.
57403         * math/libm-test.inc (RUN_TEST_f_f): New macro.
57404         (RUN_TEST_2_f): Likewise.
57405         (RUN_TEST_ff_f): Likewise.
57406         (RUN_TEST_fi_f): Likewise.
57407         (RUN_TEST_fl_f): Likewise.
57408         (RUN_TEST_fff_f): Likewise.
57409         (RUN_TEST_c_f): Likewise.
57410         (RUN_TEST_f_f1): Likewise.
57411         (RUN_TEST_fF_f1): Likewise.
57412         (RUN_TEST_fI_f1): Likewise.
57413         (RUN_TEST_ffI_f1): Likewise.
57414         (RUN_TEST_c_c): Likewise.
57415         (RUN_TEST_cc_c): Likewise.
57416         (RUN_TEST_f_i): Likewise.
57417         (RUN_TEST_f_i_tg): Likewise.
57418         (RUN_TEST_ff_i_tg): Likewise.
57419         (RUN_TEST_f_b): Likewise.
57420         (RUN_TEST_f_b_tg): Likewise.
57421         (RUN_TEST_f_l): Likewise.
57422         (RUN_TEST_f_L): Likewise.
57423         (RUN_TEST_sincos): Likewise.
57424         * math/gen-libm-test.pl (new_test): Take new argument to indicate
57425         whether to show exceptions.  Do not include ");\n" in return
57426         value.
57427         (special_functions): Output call to RUN_TEST_sincos instead of
57428         check_float calls.  Update calls to new_test.
57429         (parse_args): Output call to single RUN_TEST_* macro instead of
57430         check_* calls and other assignments.  Update calls to new_test.
57432         [BZ #2546]
57433         [BZ #2560]
57434         [BZ #5159]
57435         [BZ #15426]
57436         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57437         input to result for tgamma overflow.
57438         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57439         (gamma_coeff): New variable.
57440         (NCOEFF): New macro.
57441         (gamma_positive): New function.
57442         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57443         underflow here.  Use gamma_positive instead of exp (lgamma) for
57444         other arguments.
57445         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57446         (gamma_coeff): New variable.
57447         (NCOEFF): New macro.
57448         (gammaf_positive): New function.
57449         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57450         underflow here.  Use gamma_positive instead of exp (lgamma) for
57451         other arguments.
57452         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57453         (gamma_coeff): New variable.
57454         (NCOEFF): New macro.
57455         (gammal_positive): New function.
57456         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57457         underflow here.  Use gamma_positive instead of exp (lgamma) for
57458         other arguments.
57459         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57460         (gamma_coeff): New variable.
57461         (NCOEFF): New macro.
57462         (gammal_positive): New function.
57463         (__ieee754_gammal_r): Handle positive infinity, overflow and
57464         underflow here.  Handle NaN the same as positive infinity.  Remove
57465         check x < 0xffffffff for negative integers.  Use gamma_positive
57466         instead of exp (lgamma) for other arguments.
57467         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57468         (gamma_coeff): New variable.
57469         (NCOEFF): New macro.
57470         (gammal_positive): New function.
57471         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57472         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57473         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57474         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57475         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57476         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57477         * sysdeps/generic/math_private.h (__gamma_productf): New
57478         prototype.
57479         (__gamma_product): Likewise.
57480         (__gamma_productl): Likewise.
57481         * math/Makefile (libm-calls): Add gamma_product.
57482         * math/libm-test.inc (tgamma_test): Add more tests.
57483         * sysdeps/i386/fpu/libm-test-ulps: Update.
57484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57486 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
57488         * benchtests/bench-skeleton.c (main): Preheat CPU.
57490 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
57492         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57494 2013-05-07  Roland McGrath  <roland@hack.frob.com>
57496         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57497         and _dl_skip_args_internal.
57499 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
57501         * manual/message.texi (Message Translation): Talk about users.
57502         Message to key mapping impacts design.
57504 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57506         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57508         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57510         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57511         * sysdeps/wordsize-64/glob64.c: ... here.
57513         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57514         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57515         New macros.
57517         * debug/getlogin_r_chk.c: Moved to ...
57518         * login/getlogin_r_chk.c: ... here.
57519         * debug/Makefile (routines): Move getlogin_r_chk to ...
57520         * login/Makefile (routines): ... here.
57521         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57522         * login/Versions (libc: GLIBC_2.4): ... here.
57524         * io/poll.c (__poll): Renamed from poll.
57525         Add libc_hidden_def.
57526         (poll): Define as weak alias.
57528         * debug/ptsname_r_chk.c: Moved to ...
57529         * login/ptsname_r_chk.c: ... here.
57530         * debug/Makefile (routines): Move ptsname_r_chk to ...
57531         * login/Makefile (routines): ... here.
57532         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57533         * login/Versions (libc: GLIBC_2.4): ... here.
57535         * posix/getlogin.c: Moved to ...
57536         * login/getlogin.c: ... here.
57537         * posix/getlogin_r.c: Moved to ...
57538         * login/getlogin_r.c: ... here.
57539         * posix/getlogin_r.c: Moved to ...
57540         * login/getlogin_r.c: ... here.
57541         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57542         * login/Makefile (routines): ... here.
57543         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57544         * login/Versions (libc: GLIBC_2.0): ... here.
57546         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57547         (setrlimit): Define as weak alias.
57549         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57550         Call __ names for open, ftruncate, and close.
57551         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57552         (truncate): Define as weak alias.
57554 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
57556         * math/gen-libm-test.pl (parse_args): Initialize x before each
57557         test of frexp, modf and remquo.
57559         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57560         test signgam value.
57562 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57564         [BZ #15418]
57565         [BZ #15419]
57566         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57567         internal tests.
57568         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57570 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57572         * elf/dl-writev.h: New file.
57573         * elf/dl-misc.c: Include it.
57574         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57575         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57577 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
57579         * math/libm-test.inc (noXFails): Remove variable.
57580         (noXPasses): Likewise.
57581         (BUILD_COMPLEX_INT): Remove macro.
57582         (print_screen): Remove xfail argument.
57583         (print_screen_max_error): Likewise.
57584         (update_stats): Likewise.
57585         (print_max_error): Likewise.  Update calls to other affected
57586         functions.
57587         (print_complex_max_error): Likewise.
57588         (test_single_exception): Update calls to print_screen.
57589         (test_single_errno): Likewise.
57590         (check_float_internal): Remove xfail argument.  Update calls to
57591         other affected functions.
57592         (check_float): Likewise.
57593         (check_complex): Likewise.
57594         (check_int): Likewise.
57595         (check_long): Likewise.
57596         (check_bool): Likewise.
57597         (check_longlong): Likewise.
57598         (main): Don't print noXFails and noXPasses.
57599         * math/gen-libm-test.pl (top level): Don't mention expected
57600         failure handling in comment.
57601         (new_test): Don't handle expected failures.
57602         (parse_args): Don't mention expected failure handling in comment.
57603         (generate_testfile): Don't handle expected failures.
57604         (parse_ulps): Likewise.
57605         (print_ulps_file): Likewise.
57606         (get_failure): Remove function.
57607         (output_test): Don't handle expected failures.
57608         * make/README.libm-test: Don't mention expected failure handling.
57610         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
57611         (minus_zero): Likewise.
57612         (plus_infty): Likewise.
57613         (minus_infty): Likewise.
57614         (qnan_value): Likewise.
57615         (max_value): Likewise.
57616         (min_value): Likewise.
57617         (min_subnorm_value): Likewise.
57618         (initialize): Do not initialize those variables dynamically.
57620 2013-05-03  Roland McGrath  <roland@hack.frob.com>
57622         * io/open.c (__open_2): Moved to ...
57623         * io/open_2.c: ... this new file.
57624         * io/open64.c (__open64_2): Moved to ...
57625         * io/open64_2.c: ... this new file.
57626         * io/openat.c (__openat_2): Moved to ...
57627         * io/openat_2.c: ... this new file.
57628         * io/openat64.c (__openat64_2): Moved to ...
57629         * io/openat64_2.c: ... this new file.
57630         * io/Makefile (routines): Add them.
57631         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57632         * sysdeps/unix/sysv/linux/open_2.c: File removed.
57633         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57634         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57635         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57636         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57637         (__openat64): Add hidden_ver.
57638         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57639         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57641         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57642         Separately conditionalize setting of GLRO(dl_sysinfo) so
57643         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57644         as well, but the actual setting is only under [NEED_DL_SYSINFO].
57646 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57648         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57649         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57650         definition.
57651         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57652         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57653         (_libc_vdso_platform_setup): Add __vdso_time initialization.
57654         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57655         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57657 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
57659         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57660         test signgam value.
57662         * math/libm-test.inc (hypot_test): Do not use
57663         IGNORE_ZERO_INF_SIGN.
57665 2013-05-03  Andreas Jaeger  <aj@suse.de>
57667         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57668         Linux 3.9.
57669         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57670         (PF_MAX): Adjust for VSOCK change.
57672 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57676 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
57678         [BZ #15264]
57679         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57680         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57681         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57683 2013-05-02  David S. Miller  <davem@davemloft.net>
57685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57687 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
57689         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57691 2013-05-01  Roland McGrath  <roland@hack.frob.com>
57693         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57695 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
57697         [BZ #14952]
57698         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57699         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57700         Use __attribute__ ((__gnu_inline__)).
57701         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57702         Don't use __attribute__ ((__gnu_inline__)).
57704 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
57706         [BZ #15423]
57707         * math/s_catan.c (__catan): Handle small real or imaginary part of
57708         input specially to avoid spurious underflow.
57709         * math/s_catanf.c (__catanf): Likewise.
57710         * math/s_catanh.c (__catanh): Likewise.
57711         * math/s_catanhf.c (__catanhf): Likewise.
57712         * math/s_catanhl.c (__catanhl): Likewise.
57713         * math/s_catanl.c (__catanl): Likewise.
57714         * math/libm-test.inc (catan_test): Add more tests.
57715         (catanh_test): Likewise.
57716         * sysdeps/i386/fpu/libm-test-ulps: Update.
57717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57719 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57723 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
57725         [BZ #15416]
57726         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57727         accurately for denominator in atan2.
57728         * math/s_catanf.c (__catanf): Likewise.
57729         * math/s_catanh.c (__catanh): Likewise.
57730         * math/s_catanhf.c (__catanhf): Likewise.
57731         * math/s_catanhl.c (__catanhl): Likewise.
57732         * math/s_catanl.c (__catanl): Likewise.
57733         * math/libm-test.inc (catan_test): Add more tests.
57734         (catanh_test): Likewise.
57735         * sysdeps/i386/fpu/libm-test-ulps: Update.
57736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57738 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57740         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57742         * benchtests/Makefile (bench): Remove slow benchmarks.
57743         * benchtests/atan-inputs: Add slow benchmark inputs.
57744         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57745         (BENCH_FUNC): Accept variant offset.
57746         (VARIANT): Define.
57747         * benchtests/bench-skeleton.c (main): Run benchmark for each
57748         variant.
57749         * benchtests/cos-inputs: Add slow benchmark inputs.
57750         * benchtests/exp-inputs: Likewise.
57751         * benchtests/pow-inputs: Likewise.
57752         * benchtests/sin-inputs: Likewise.
57753         * benchtests/slowatan-inputs: Remove.
57754         * benchtests/slowatan.c: Remove.
57755         * benchtests/slowcos-inputs: Remove.
57756         * benchtests/slowcos.c: Remove.
57757         * benchtests/slowexp-inputs: Remove.
57758         * benchtests/slowexp.c: Remove.
57759         * benchtests/slowpow-inputs: Remove.
57760         * benchtests/slowpow.c: Remove.
57761         * benchtests/slowsin-inputs: Remove.
57762         * benchtests/slowsin.c: Remove.
57763         * benchtests/slowtan-inputs: Remove.
57764         * benchtests/slowtan.c: Remove.
57765         * benchtests/tan-inputs: Add slow benchmark inputs.
57766         * scripts/bench.pl: Parse comments and directives.
57768         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
57769         in CPPFLAGS.
57770         ($(objpfx)bench-%.c): Remove *-ITER.
57771         * benchtests/bench-modf.c: Remove definition of ITER.
57772         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57773         (main): Loop for DURATION seconds instead of fixed number of
57774         iterations.
57775         * scripts/bench.pl: Don't expect iterations in parameters.
57777 2013-04-29  Roland McGrath  <roland@hack.frob.com>
57779         * io/fchdir.c (__fchdir): Renamed from fchdir.
57780         (fchdir): Define as weak alias.
57782 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57784         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57785         (ERRNO_EDOM): Likewise.
57786         (ERRNO_ERANGE): Likewise.
57787         (noErrnoTests): New variable.
57788         (init_max_error): Set errno to 0.
57789         (test_single_errno): New function.
57790         (test_errno): Likewise.
57791         (check_float_internal): Call test_errno.  Set errno to 0.
57792         (check_complex): Refer to errno tests in comment.
57793         (check_int): Call test_errno.  Set errno to 0.
57794         (check_long): Likewise.
57795         (check_bool): Likewise.
57796         (check_longlong): Likewise.
57797         (cos_test): Use ERRNO_* flags for errno tests instead of
57798         check_int.
57799         (expm1_test): Likewise.
57800         (fmod_test): Likewise.
57801         (ilogb_test): Likewise.
57802         (lgamma_test): Likewise.
57803         (pow_test): Likewise.
57804         (remainder_test): Likewise.
57805         (sin_test): Likewise.
57806         (tan_test): Likewise.
57807         (yn_test): Likewise.
57808         (initialize): Set errno to 0.
57809         (main): Print number of errno tests.
57810         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57812 2013-04-29  Andreas Jaeger  <aj@suse.de>
57814         [BZ #15084]
57815         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57816         and RES_USEVC.
57818         [BZ #15085]
57819         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57820         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57821         unimplemented.
57823         [BZ #15380]
57824         * stdlib/random.c (__initstate): Return NULL if
57825         __initstate fails.
57827         [BZ #15086]
57828         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57829         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57830         RES_SNGLKUPREOP.
57832 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57836 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57838         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57839         of individual tests.
57840         (casin_test): Likewise.
57841         (casinh_test): Likewise.
57843 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
57845         [BZ #15409]
57846         * math/s_catan.c (__catan): Handle arguments with large real or
57847         imaginary part separately without squaring.
57848         * math/s_catanf.c (__catanf): Likewise.
57849         * math/s_catanh.c (__catanh): Likewise.
57850         * math/s_catanhf.c (__catanhf): Likewise.
57851         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57852         and redefine.
57853         (__catanhl): Handle arguments with large real or imaginary part
57854         separately without squaring.
57855         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57856         and redefine.
57857         (__catanl): Handle arguments with large real or imaginary part
57858         separately without squaring.
57859         * math/libm-test.inc (catan_test): Add more tests.
57860         (catanh_test): Likewise.
57861         * sysdeps/i386/fpu/libm-test-ulps: Update.
57862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57864 2013-04-27  Andreas Jaeger  <aj@suse.de>
57866         [BZ #15007]
57867         * stdlib/stdlib.h: Update guards for qecvt.
57868         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57869         <stdlib.h>.
57871 2013-04-27  Allan McRae  <allan@archlinux.org>
57873         * sysdeps/i386/fpu/libm-test-ulps: Update.
57875 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
57877         [BZ #15406]
57878         * math/s_catan.c: Include <float.h>.
57879         (__catan): Ensure underflow exception occurs for underflowed
57880         result.
57881         * math/s_catanf.c: Include <float.h>.
57882         (__catanf): Ensure underflow exception occurs for underflowed
57883         result.
57884         * math/s_catanh.c: Include <float.h>.
57885         (__catanh): Ensure underflow exception occurs for underflowed
57886         result.
57887         * math/s_catanhf.c: Include <float.h>.
57888         (__catanhf): Ensure underflow exception occurs for underflowed
57889         result.
57890         * math/s_catanhl.c: Include <float.h>.
57891         (__catanhl): Ensure underflow exception occurs for underflowed
57892         result.
57893         * math/s_catanl.c: Include <float.h>.
57894         (__catanl): Ensure underflow exception occurs for underflowed
57895         result.
57896         * math/libm-test.inc (catan_test): Add more tests.
57897         (catanh_test): Likewise.
57899         [BZ #15405]
57900         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57901         underflowed result.
57902         * math/s_ccoshf.c (__ccoshf): Likewise.
57903         * math/s_ccoshl.c (__ccoshl): Likewise.
57904         * math/s_csin.c (__csin): Likewise.
57905         * math/s_csinf.c (__csinf): Likewise.
57906         * math/s_csinh.c (__csinh): Likewise.
57907         * math/s_csinhf.c (__csinhf): Likewise.
57908         * math/s_csinhl.c (__csinhl): Likewise.
57909         * math/s_csinl.c (__csinl): Likewise.
57910         * math/libm-test.inc (ccos_test): Add more tests.
57911         (ccosh_test): Likewise.
57912         (csin_test): Likewise.
57913         (csinh_test): Likewise.
57915 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57917         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57918         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57919         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57920         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57921         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57922         powerpc/power5+/fpu folders.
57923         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57926 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57930 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
57932         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57933         additions to variable.
57934         [$(config-machine) = x86_64] (modules-names): Likewise.
57935         ($(objpfx)tst-audit3): Remove dependency.
57936         ($(objpfx)tst-audit3.out): Likewise.
57937         ($(objpfx)tst-audit4): Likewise.
57938         ($(objpfx)tst-audit4.out): Likewise.
57939         ($(objpfx)tst-audit5): Likewise.
57940         ($(objpfx)tst-audit5.out): Likewise.
57941         ($(objpfx)tst-audit6): Likewise.
57942         ($(objpfx)tst-audit6.out): Likewise.
57943         ($(objpfx)tst-audit7): Likewise.
57944         ($(objpfx)tst-audit7.out): Likewise.
57945         (tst-audit3-ENV): Remove variable.
57946         (tst-audit4-ENV): Likewise.
57947         (tst-audit5-ENV): Likewise.
57948         (tst-audit6-ENV): Likewise.
57949         (tst-audit7-ENV): Likewise.
57950         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57951         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57952         addition to variable.
57953         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57954         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57955         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57956         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57957         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57958         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57959         tst-audit3, tst-audit4 and tst-audit5.
57960         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57961         tst-audit6 and tst-audit7.
57962         [$(subdir) = elf] (modules-names): Add audit modules for those
57963         tests.
57964         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57965         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57966         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57967         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57968         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57969         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57970         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57971         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57972         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57973         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57974         [$(subdir) = elf] (tst-audit3-ENV): New variable.
57975         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57976         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57977         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57978         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57979         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57980         Likewise.
57981         [$(subdir) = elf && $(config-cflags-avx) = yes]
57982         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57983         [$(subdir) = elf && $(config-cflags-avx) = yes]
57984         (CFLAGS-tst-auditmod4a.c): Likewise.
57985         [$(subdir) = elf && $(config-cflags-avx) = yes]
57986         (CFLAGS-tst-auditmod4b.c): Likewise.
57987         [$(subdir) = elf && $(config-cflags-avx) = yes]
57988         (CFLAGS-tst-auditmod6b.c): Likewise.
57989         [$(subdir) = elf && $(config-cflags-avx) = yes]
57990         (CFLAGS-tst-auditmod6c.c): Likewise.
57991         [$(subdir) = elf && $(config-cflags-avx) = yes]
57992         (CFLAGS-tst-auditmod7b.c): Likewise.
57993         * elf/tst-audit3.c: Move to ...
57994         * sysdeps/x86_64/tst-audit3.c: ... here.
57995         * elf/tst-audit4.c: Move to ...
57996         * sysdeps/x86_64/tst-audit4.c: ... here.
57997         * elf/tst-audit5.c: Move to ...
57998         * sysdeps/x86_64/tst-audit5.c: ... here.
57999         * elf/tst-audit6.c: Move to ...
58000         * sysdeps/x86_64/tst-audit6.c: ... here.
58001         * elf/tst-audit7.c: Move to ...
58002         * sysdeps/x86_64/tst-audit7.c: ... here.
58003         * elf/tst-auditmod3a.c: Move to ...
58004         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
58005         * elf/tst-auditmod3b.c: Move to ...
58006         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
58007         * elf/tst-auditmod4a.c: Move to ...
58008         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
58009         * elf/tst-auditmod4b.c: Move to ...
58010         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
58011         * elf/tst-auditmod5a.c: Move to ...
58012         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
58013         * elf/tst-auditmod5b.c: Move to ...
58014         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
58015         * elf/tst-auditmod6a.c: Move to ...
58016         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
58017         * elf/tst-auditmod6b.c: Move to ...
58018         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
58019         * elf/tst-auditmod6c.c: Move to ...
58020         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
58021         * elf/tst-auditmod7a.c: Move to ...
58022         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
58023         * elf/tst-auditmod7b.c: Move to ...
58024         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
58026 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
58028         [BZ #15366]
58029         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
58030         define unconditionally.
58031         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
58032         define unconditionally.
58033         (INT8_C, INT16_C, etc.): Likewise.
58035 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
58037         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
58038         __ehdr_start with hidden visibility.
58040         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
58042 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
58044         * math/libm-test.inc (cos_test): Use accurate hex constants.
58045         (sincost_test): Likewise.
58047 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
58049         * math/libm-test.inc (catan_test): Add more tests.
58050         (catanh_test): Likewise.
58052         * math/s_catanf.c (__catanf): Use suffixed floating-point
58053         constants.
58054         * math/s_catanhf.c (__catanhf): Likewise.
58055         * math/s_catanhl.c (__catanhl): Likewise.
58056         * math/s_catanl.c (__catanl): Likewise.
58058         [BZ #15394]
58059         * math/s_catan.c (__catan): Calculate imaginary part of result
58060         with log1p not log unless computing log of number close to 0.
58061         * math/s_catanf.c (__catanf): Likewise.
58062         * math/s_catanl.c (__catanl): Likewise.
58063         * math/s_catanh.c (__catanh): Calculate real part of result with
58064         log1p not log unless computing log of number close to 0.
58065         * math/s_catanhf.c (__catanhf): Likewise.
58066         * math/s_catanhl.c (__catanhl): Likewise.
58067         * math/libm-test.inc (catan_test): Add more tests.
58068         (catanh_test): Likewise.
58069         * sysdeps/i386/fpu/libm-test-ulps: Update.
58070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58072 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58074         * benchtests/Makefile: Mention files in which fast and slow
58075         paths of math functions are implemented.
58077 2013-04-23  Roland McGrath  <roland@hack.frob.com>
58079         * sysdeps/posix/timespec_get.c: New file.
58081 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58083         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
58084         POWER.
58085         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
58086         for POWER.
58087         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
58088         powerpc/power5/fpu folders.
58089         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
58090         * benchtests/Makefile: Add modf testcase.
58091         * benchtests/bench-modf.c: New file: Benchmark test for mo
58093 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
58095         [BZ #14888]
58096         * time/Makefile (tests): Add tst-strptime-whitespace.
58097         * time/strptime_l.c (get_number): Use ISSPACE.
58098         (__strptime_internal): Likewise.
58099         * time/tst-strptime-whitespace.c: New test case.
58101 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
58103         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
58104         member.
58105         (_nss_files_init): Set it here.
58107 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
58109         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
58110         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
58111         unsigned.
58113 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
58115         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
58117 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58119         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
58120         size just once.
58122 2013-04-21  David S. Miller  <davem@davemloft.net>
58124         * po/ru.po: Update Russion translation from translation project.
58126 2013-04-17  Adam Conrad  <adconrad@0c3.net>
58128         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58129         and setfsgid.
58131 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
58133         * configure.in: Remove i386 configure warning. Remove i386 case.
58134         * configure: Regenerate.
58135         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
58136         Add example to error message.
58137         * sysdeps/i386/configure: Regenerate.
58139 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58141         * benchtests/Makefile (bench): Add cos, tan, slowcos and
58142         slowtan.
58143         * benchtests/cos-inputs: New file.
58144         * benchtests/slowcos-inputs: New file.
58145         * benchtests/slowcos.c: New file.
58146         * benchtests/slowtan-inputs: New file.
58147         * benchtests/slowtan.c: New file.
58148         * benchtests/tan-inputs: New file.
58150 2013-04-16  Roland McGrath  <roland@hack.frob.com>
58152         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58153         considered kosher.
58155 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58157         * benchtests/Makefile: Include cppflags-iterator.mk to add
58158         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58160         * Makefile.in (bench-clean): New target.
58161         * benchtests/Makefile (bench-clean): Likewise.
58163 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
58165         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58167 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
58169         * stdio-common/tstdiomisc.c: Fix coding-style violation.
58171 2013-04-15  Andreas Schwab  <schwab@suse.de>
58173         * nscd/grpcache.c (cache_addgr): Properly check for short write.
58174         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58175         * nscd/pwdcache.c (cache_addpw): Likewise.
58176         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
58177         more than recsize.
58179 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58181         * benchtests/Makefile (bench): Write all output to
58182         bench-out.tmp together.
58184 2013-04-15  Andreas Schwab  <schwab@suse.de>
58186         * nscd/nscd.c (main): Don't fork again after closing files.
58188 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58190         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58192         * benchtests/Rules (bench-deps): Collect dependencies into a
58193         single variable.  Add Makefile to dependencies.
58194         ($(objpfx)bench-%.c): Depend on bench-deps.
58196 2013-04-12  Roland McGrath  <roland@hack.frob.com>
58197             Xavier Roche  <roche+kml2@exalead.com>
58199         [BZ #15361]
58200         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58201         just that it's a file descriptor.
58202         * manual/llio.texi (Synchronizing AIO Operations): Update description
58203         for EBADF error from aio_fsync.
58205 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58207         * Rules (bench): Move target definition...
58208         * benchtests/Makefile: ... here.
58210 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
58212         * math/libm-test.inc (cos_test): Fix PI/2 test.
58213         (sincos_test): Likewise.
58214         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58215         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58217 2013-04-11  Andreas Schwab  <schwab@suse.de>
58219         [BZ #13988]
58220         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58221         accept exponent character only when digits were seen.
58222         * stdio-common/Makefile (tests): Add bug26.
58223         * stdio-common/bug26.c: New file.
58225         [BZ #14293]
58226         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58227         non-freeable.
58229 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58231         * Makeconfig (rtld-prefix): Define built linker prefix.
58232         * Rules (run-bench): Use it.
58233         * math/Makefile (run-regen-ulps): Likewise.
58235         * Rules (bench): Remove eval.
58237 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58238             Roland McGrath  <roland@hack.frob.com>
58239             Ondrej Bilka  <neleai@seznam.cz>
58241         [BZ #15346]
58242         * time/getdate.c: Include ctype.h and alloca.h.
58243         (__getdate_r): Trim leading and trailing spaces of input.
58244         * time/tst-getdate.c (tests): Add tests with leading and
58245         trailing spaces.
58247 2013-04-08  Roland McGrath  <roland@hack.frob.com>
58249         [BZ #14280]
58250         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58251         when computing value.
58253 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58255         * math/README.libm-test (How can I generate "libm-test-ulps"?):
58256         Use testrun.sh to run libm tests.
58258         [BZ #15309]
58259         * elf/dl-open.c (dl_open_worker): memset all of seen array.
58261 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
58263         [BZ #15264]
58264         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58266 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58268         * Makefile.in (regen-ulps): New target.
58269         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58270         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58271         [ifneq (no,$(PERL)] (regen-ulps): New target.
58272         [ifeq (no,$(PERL)] (regen-ulps): New target.
58273         * math/libm-test.inc (ulps_file_name): Define.
58274         (output_dir): New variable.
58275         (options): Add "output-dir" option.
58276         (parse_opt): Handle 'o' case.
58277         (main): If output_dir is non-NULL use it as a prefix
58278         otherwise use "".
58279         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58281 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58283         [BZ #10060, #10062]
58284         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58285         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58286         fail configure if __sync_val_compare_and_swap is not inlined.
58287         * sysdeps/i386/configure: Regenerate.
58288         * configure.in: Build for i686 when configured for i386.
58289         * configure: Regenerate.
58290         * README: Remove i386 reference.
58292 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58294         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58295         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58297 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58299         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58300         (lmsnanval): New variables.
58301         (F): Add conversion tests.
58302         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58303         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58305         * stdio-common/tstdiomisc.c (F): Properly collect individual
58306         tests' results.
58308         [BZ #14686, #15336]
58309         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58310         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58311         Instead, use input NaN values or generate a qNaN by arithmetic
58312         operation.  Also fix bugs to comply with the standard.
58313         * math/libm-test.inc (remainder_test): Add more tests.
58315         [BZ #15335, #15342]
58316         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58317         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58318         input NaN values or generate a qNaN by arithmetic operation.
58320         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58321         unreachable code.
58323         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58324         definitions.
58326 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
58328         [BZ #14478]
58329         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58330         underflowed result.
58331         * math/s_cexpf.c (__cexpf): Likewise.
58332         * math/s_cexpl.c (__cexpl): Likewise.
58333         * math/libm-test.inc (cexp_test): Add more tests.
58335 2013-04-03  Andreas Schwab  <schwab@suse.de>
58337         [BZ #15330]
58338         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58339         order arrays from heap if bigger than alloca cutoff.
58341 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
58343         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58344         (SNAN_TESTS_double): Refer to GCC PR56831.
58345         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58346         GCC PR56828.
58348 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58350         * Rules (bench): Move bench.out after the run is complete.
58352         * Rules (bench): Echo currently running benchmark.
58354         * benchtests/Makefile (bench): Add atan and slowatan.
58355         * benchtests/atan-inputs: New file.
58356         * benchtests/slowatan-inputs: New file.
58357         * benchtests/slowatan.c: New file.
58359         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58360         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58361         its value.
58363         [BZ #15305]
58364         * sysdeps/unix/sysv/linux/kernel-features.h
58365         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58366         __ASSUME_XFS_RESTRICTED_CHOWN.
58367         * sysdeps/unix/sysv/linux/pathconf.c
58368         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58369         Save and restore errno.
58371 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
58373         [BZ #15327]
58374         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58375         arguments using __kernel_casinh.
58376         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58377         arguments using __kernel_casinhf.
58378         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58379         arguments using __kernel_casinhl.
58380         * math/libm-test.inc (cacosh_test): Add more tests.
58381         * sysdeps/i386/fpu/libm-test-ulps: Update.
58382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58384 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58386         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58387         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58389         * bench/Makefile (bench): Add sin and slowsin.
58390         * benchtests/sin-inputs: New file.
58391         * benchtests/slowsin-inputs: New file.
58392         * benchtests/slowsin.c: New file.
58394         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58395         (bench): Add slowexp and slowpow.
58396         (exp-ITER): Increase iterations.
58397         (pow-ITER): Likewise.
58398         * benchtests/exp-inputs: Change input.
58399         * benchtests/pow-inputs: Likewise.
58400         * benchtests/slowexp-inputs: New file.
58401         * benchtests/slowexp.c: New file.
58402         * benchtests/slowpow-inputs: New file.
58403         * benchtests/slowpow.c: New file.
58405 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58407         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58408         instructions.
58409         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58410         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58411         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58412         * benchtests/Makefile: Add rint benchtest.
58413         * benchtests/rint-inputs: Input for rint benchtest.
58415 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58417         * Versions.def (libm): Add GLIBC_2.18.
58418         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58419         hidden libm prototypes.
58420         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58421         * math/Makefile (libm-calls): Add s_issignaling.
58422         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58423         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
58424         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58425         declaration.
58426         * math/math.h [__USE_GNU] (issignaling): New macro.
58427         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58428         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58429         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58430         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58431         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58432         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58433         * manual/arith.texi (issignaling): New section.
58434         * manual/libm-err-tab.pl (@all_functions): Update comment.
58435         * math/gen-libm-test.pl (parse_args): Apply special handling for
58436         issignaling.
58437         * math/libm-test.inc (print_float, issignaling_test): New
58438         functions.
58439         (check_float_internal): Add issignaling checks.
58440         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58441         default definition.
58442         * sysdeps/powerpc/math-tests.h: New file.
58443         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58444         tests.
58445         * math/test-snan.c (TEST_FUNC): Likewise.
58447 2013-03-30  David S. Miller  <davem@davemloft.net>
58449         * po/de.po: Update from translation team.
58451 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
58453         [BZ #10357]
58454         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58455         imaginary part less than 1.0 and real part less than 0.5
58456         specially.
58457         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58458         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58459         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58460         (cacos_test): Add more tests.
58461         (casin_test): Likewise.
58462         (casinh_test): Likewise.
58463         * sysdeps/i386/fpu/libm-test-ulps: Update.
58464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58466 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58468         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58469         ONE with its value.
58471         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58472         (__pow_mp): Replace ONE and MONE with their values.
58473         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58474         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58475         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58476         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58477         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58478         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58480         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58482         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58483         (__pow_mp): Replace ZERO and MZERO with their values.
58484         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58485         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58486         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58487         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58488         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58489         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58490         (__sqr): Likewise.
58492         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58494         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58496 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58498         * include/stdlib.h [!SHARED] (__call_tls_dtors):
58499         Declare with __attribute__ ((weak)).
58500         * stdlib/exit.c (__libc_atexit) [!SHARED]:
58501         Call __call_tls_dtors only if it's not NULL.
58503 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58505         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58506         didn't do it already, then set _dl_phdr and _dl_phnum based on the
58507         magic __ehdr_start linker symbol if it's defined.
58508         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58509         them up here if it was already done.
58511         * elf/dl-support.c (_dl_phdr): Make pointer to const.
58512         (_dl_aux_init): Use const in cast when setting it.
58513         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58514         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58515         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58517         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58518         Declare them here.
58519         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58520         * csu/libc-tls.c: Nor here.
58521         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58523         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58524         (__libc_message): Never call vsyslog.
58526 2013-03-28  Alan Modra  <amodra@gmail.com>
58528         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58529         Define as empty.
58530         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58531         Likewise.
58533 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58535         [BZ #15214]
58536         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58537         underflow.
58538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58540 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58542         [BZ #15304]
58543         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58544         Don't add gid passed as argument.
58546         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58548 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
58550         [BZ #15307]
58551         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58552         imaginary part between 1.0 and 1.5 and real part less than 0.5
58553         specially.
58554         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58555         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58556         * math/libm-test.inc (cacos_test): Add more tests.
58557         (casin_test): Likewise.
58558         (casinh_test): Likewise.
58559         * sysdeps/i386/fpu/libm-test-ulps: Update.
58560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58562 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58564         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58565         constants.
58566         (norm): Likewise.
58567         (denorm): Likewise.
58568         (__dbl_mp): Likewise.
58569         (add_magnitudes): Likewise.
58570         (sub_magnitudes): Likewise.
58571         (__add): Likewise.
58572         (__sub): Likewise.
58573         (__mul): Likewise.
58574         (__sqr): Likewise.
58575         (__inv): Likewise.
58576         (__dvd): Likewise.
58578         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58579         commented code.
58580         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58581         (__dubcos): Likewise.
58582         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58583         (__ieee754_acos): Likewise.
58584         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58585         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58586         (__exp1): Likewise.
58587         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58588         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58589         (log1): Likewise.
58590         (my_log2): Likewise.
58591         (checkint): Likewise.
58592         * sysdeps/ieee754/dbl-64/e_remainder.c
58593         (__ieee754_remainder): Likewise.
58594         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58595         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58596         (bsloww): Likewise.
58597         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58599         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58600         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58601         MANTISSA_STORE_T to store computations on mantissa.  Use
58602         macros for rounding and division.
58603         (denorm): Likewise.
58604         (__dbl_mp): Likewise.
58605         (add_magnitudes): Likewise.
58606         (sub_magnitudes): Likewise.
58607         (__mul): Likewise.
58608         (__sqr): Likewise.
58609         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58610         powers of two in terms of TWOPOW macro.
58611         (mp_no): Make type of mantissa as MANTISSA_T.
58612         [!RADIXI]: Define RADIXI.
58613         [!TWO52]: Define TWO52.
58614         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58616 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58618         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58619         llroundl symbol when building for PPC32.
58621 2013-03-24  Mark H Weaver  <mhw@netris.org>
58623         * manual/arith.texi (Normalization Functions): Fix prototypes for
58624         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58626 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58628         [BZ #13889]
58629         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58630         high value to check if expl overflow.
58631         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58632         to check for underflow and overflow.
58633         * math/libm-test.inc: Add exp test.
58635 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
58637         [BZ #11120]
58638         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58639         with NOT_IN_libc.
58641 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58643         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58644         symbol.
58646 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58648         * math/gen-libm-test.pl (parse_args, special_functions): Properly
58649         wrap blocks consisting of several statements.
58651         * sysdeps/generic/math-tests.h: New file.
58652         * sysdeps/i386/fpu/math-tests.h: Likewise.
58653         * math/test-snan.c: Include it.
58654         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58656 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58658         [BZ #15285]
58659         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58660         (__ieee754_j0l): Do not improve calculations using cos of twice
58661         input for inputs above LDBL_MAX / 2.0L.
58662         (__ieee754_y0l): Likewise.
58663         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58664         (__ieee754_j1l): Do not improve calculations using cos of twice
58665         input for inputs above LDBL_MAX / 2.0L.
58666         (__ieee754_y1l): Likewise.
58667         * math/libm-test.inc (j0_test): Add another test.
58668         (j1_test): Likewise.
58669         (y0_test): Likewise.
58670         (y1_test): Likewise.
58671         * sysdeps/i386/fpu/libm-test-ulps: Update.
58673 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58675         * Rules ($(objpfx)bench-%.c): Include code from a C source
58676         file.
58678 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58680         [BZ #15287]
58681         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58682         imaginary part 1.0 and real part less than 0.5 specially.
58683         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58684         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58685         * math/libm-test.inc (cacos_test): Add more tests.
58686         (casin_test): Likewise.
58687         (casinh_test): Likewise.
58688         * sysdeps/i386/fpu/libm-test-ulps: Update.
58689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58691 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58693         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58694         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58696 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
58698         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58699         * config.make.in (config-cflags-sse4): Remove variable.
58700         (config-cflags-avx): Likewise.
58701         (config-cflags-sse2avx): Likewise.
58702         (config-cflags-novzeroupper): Likewise.
58703         (config-asflags-i686): Likewise.
58704         (have-mfma4): Likewise.
58705         (have-as-vis3): Likewise.
58706         (MIG): Likewise.
58707         * configure.in (MIG): Do not AC_SUBST.
58708         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58709         (libc_cv_cc_sse4): Do not AC_SUBST.
58710         (libc_cv_cc_avx): Likewise.
58711         (libc_cv_cc_sse2avx): Likewise.
58712         (libc_cv_cc_novzeroupper): Likewise.
58713         (libc_cv_cc_fma4): Likewise.
58714         (libc_cv_as_i686): Likewise.
58715         (libc_cv_sparc_as_vis3): Likewise.
58716         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58717         LIBC_CONFIG_VAR.
58718         (config-asflags-i686): Likewise.
58719         (config-cflags-avx): Likewise.
58720         (config-cflags-sse2avx): Likewise.
58721         (have-mfma4): Likewise.
58722         (config-cflags-novzeroupper): Likewise.
58723         * sysdeps/mach/configure.in (MIG): Likewise.
58724         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58725         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58726         LIBC_CONFIG_VAR.
58727         (config-cflags-avx): Likewise.
58728         (config-cflags-sse2avx): Likewise.
58729         (have-mfma4): Likewise.
58730         (config-cflags-novzeroupper): Likewise.
58731         * configure: Regenerated.
58732         * sysdeps/i386/configure: Likewise.
58733         * sysdeps/mach/configure: Likewise.
58734         * sysdeps/sparc/configure: Likewise.
58735         * sysdeps/x86_64/configure: Likewise.
58737 2013-03-20  Roland McGrath  <roland@hack.frob.com>
58739         [BZ #14812]
58740         * locale/programs/localedef.c (options): Put N_ translation marker
58741         on argument names, not just descriptions.
58743 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58745         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58747 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
58749         [BZ #14176]
58750         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58752 2013-03-19  Roland McGrath  <roland@hack.frob.com>
58754         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58755         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58756         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58757         [!BEFORE_ABORT] (before_abort): New function.
58758         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58759         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58760         (writev_for_fatal): New function.
58761         (WRITEV_FOR_FATAL): New macro; call that.
58762         (backtrace_and_maps): New function.
58763         (BEFORE_ABORT): New macro; call that.
58764         (struct str_list): Type removed.
58765         (__libc_message, __libc_fatal): Functions removed.
58766         Include <sysdeps/posix/libc_fatal.c> instead.
58768 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
58770         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58771         constants.
58772         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58773         double constants.
58775 2013-03-19  Andreas Schwab  <schwab@suse.de>
58777         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58778         * sysdeps/gnu/configure: Regenerate.
58780         * configure.in: Substitute libc_cv_rtlddir.
58781         * configure: Regenerate.
58782         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58783         * Makeconfig (rtlddir, inst_rtlddir): New variables.
58784         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58785         * elf/Makefile (install-others, CFLAGS-interp.c)
58786         (ldso_install, common-ldd-rewrite): Likewise.
58787         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58788         $(inst_slibdir)/$(rtld-installed-name).
58789         * scripts/rellns-sh: Add -p option.
58790         * Makerules (make-shlib-link): Use rellns-sh to get relative name
58791         for source.
58793 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58795         * manual/nptl.texi: Renamed to ...
58796         * manual/threads.texi: ... this.
58797         * manual/Makefile (chapters): Update.
58799 2013-03-18  Roland McGrath  <roland@hack.frob.com>
58801         [BZ #14812]
58802         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58803         on argument names, not just descriptions.
58804         * malloc/memusagestat.c (options): Likewise.
58805         * nss/getent.c (options): Likewise.
58807 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
58809         [BZ #14812]
58810         * iconv/iconv_prog.c (options): Put N_ translation marker
58811         on argument names, not just descriptions.
58812         * iconv/iconvconfig.c (options): Likewise.
58814 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
58816         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58817         implementation which is faster on all x86_64 architectures.
58818         Tested on AMD, Intel Nehalem, SNB, IVB.
58819         * sysdeps/x86_64/strnlen.S: Likewise.
58821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58822         Remove all multiarch strlen and strnlen versions.
58823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58824         Remove strlen and strnlen related parts.
58826         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58827         Inline strlen part.
58828         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58830         * sysdeps/x86_64/multiarch/strlen.S: Remove.
58831         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58832         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58833         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58834         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58835         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58837 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
58839         * manual/memory.texi (Malloc Tunable Parameters):
58840         Sort parameters alphabetically. Add comments for missing entries.
58842 2013-03-17  David S. Miller  <davem@davemloft.net>
58844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58846 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
58848         [BZ #15283]
58849         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58850         for arguments at most half maximum finite value.
58851         * math/libm-test.inc (j0_test): Add more tests.
58852         (j1_test): Likewise.
58853         (y0_test): Likewise.
58854         (y1_test): Likewise.
58855         * sysdeps/i386/fpu/libm-test-ulps: Update.
58856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58858         [BZ #14155]
58859         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58860         1 / x and functions P and Q for arguments above 0x1p256L.
58861         (__ieee754_y0l): Likewise.
58862         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58863         (__ieee754_y1l): Likewise.
58864         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58865         (j1_test): Likewise.
58866         (y0_test): Likewise.
58867         (y1_test): Likewise.
58869 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
58871         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58872         variable.
58874 2013-03-15  Roland McGrath  <roland@hack.frob.com>
58876         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58877         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58878         zero since it's initialized to EXEC_PAGESIZE.
58880         * sysdeps/unix/sysv/linux/ldsodefs.h
58881         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58882         * sysdeps/generic/ldsodefs.h: ... here.
58884 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
58886         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58888         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58889         math/test-snan.c.
58890         * math/test-snan.c: Renamed from
58891         sysdeps/powerpc/fpu/test-powerpc-snan.c.
58892         * math/Makefile (tests): Add test-snan.
58893         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58894         test-powerpc-snan.
58896         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58897         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
58898         functions.
58899         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
58900         __builtin_nan family of functions.
58901         * math/libm-test.inc (initialize): Initialize qnan_value with
58902         __builtin_nan family of functions.
58903         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58904         Remove variables.
58905         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58906         Remove functions.
58907         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
58908         storage class.  Initialize qNaN_var and sNaN_var with
58909         __builtin_nan and __builtin_nans families of functions,
58910         respectively.
58912         * math/libm-test.inc (acosh_test): Also test with qNaN input.
58913         (sqrt_test): Remove duplicate test with qNaN input.
58914         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58915         (round_test, signbit_test, significand_test): Note missing +/-Inf
58916         as well as qNaN tests.
58918         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58919         qNaN_var.  Fix a few strings, too.
58920         * math/libm-test.inc (nan_value): Rename to qnan_value.
58921         * math/gen-libm-test.pl (%beautify): Adjust to that.
58922         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58923         * math/test-misc.c (main): Likewise.
58924         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58925         to __qnan_bytes, and __qnan_union, respectively.
58926         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58927         Likewise.
58928         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58929         and lqnanval, respectively.
58930         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58931         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58932         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58933         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58935         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58936         * math/test-misc.c (main) [__x86_64__]: Enable test for long
58937         doubles.
58939         * math/test-misc.c (main): Fix copy'n'pastos.
58940         * misc/tst-efgcvt.c (special): Likewise.
58942         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58943         Remove declarations.
58945 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58947         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58948         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58949         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58950         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58952 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58954         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58955         macro to return vdso values correctly in IFUNC implementations.
58956         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58957         Optimization by using IFUNC.
58959 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58960             Richard Henderson  <rth@redhat.com>
58961             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58963         * Makefile.in (bench): New target.
58964         * NEWS: Mention the benchmark framework.
58965         * Rules (bench): Likewise.
58966         (binaries-bench): Generate binaries for functions to
58967         benchmark.
58968         * benchtests/Makefile: New makefile for benchmark tests.
58969         * benchtests/bench-skeleton.c: New skeleton file for benchmark
58970         programs.
58971         * benchtests/exp-inputs: New input file for EXP function.
58972         * benchtests/pow-inputs: New input file for POW function.
58973         * scripts/bench.pl: New script to generate source files for
58974         benchmark programs.
58976 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58978         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58979         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58980         computations on mantissa.  Use macros for rounding and
58981         division.
58982         (denorm): Likewise.
58983         (__dbl_mp): Likewise.
58984         (add_magnitudes): Likewise.
58985         (sub_magnitudes): Likewise.
58986         (__mul): Likewise.
58987         (__sqr): Likewise.
58988         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58989         powers of two in terms of TWOPOW macro.
58990         (mp_no): Make type of mantissa as MANTISSA_T.
58991         [!RADIXI]: Define RADIXI.
58992         [!TWO52]: Define TWO52.
58993         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58995         * manual/nptl.texi (cindex): Modify threads to pthreads.
58997 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
58999         * sysdeps/x86_64/preconfigure: Regenerated.
59001 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
59003         [BZ #14155]
59004         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
59005         0x1p28 and above.
59006         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
59007         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
59008         0x1p28 and above.
59009         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
59010         * math/libm-test.inc (j0_test): Do not allow one spurious
59011         underflow exception.
59012         (y1_test): Likewise.
59014 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59016         * manual/Makefile (chapters): Add nptl.
59017         * manual/debug.texi (Debugging Support): Add link to Threads
59018         chapter.
59019         * manual/nptl.texi: New file.
59021         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
59023 2013-03-14  Petr Baudis  <pasky@ucw.cz>
59025         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
59026         for non-NULL pointer before the memory validity test. Pointed
59027         out by Holger Brunck <holger.brunck@keymile.com>.
59029 2013-03-13  Andreas Schwab  <schwab@suse.de>
59031         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
59032         instead of .os.
59034 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
59036         * timezone/zic.c: Update from tzcode 2013b.
59038 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
59040         * manual/install.texi (Configuring and compiling):
59041         Mention i686 and i586.
59042         * INSTALL: Regenerate.
59044 2013-03-12  Roland McGrath  <roland@hack.frob.com>
59046         * sysdeps/init_array/elf-init.c: New file.
59047         * csu/elf-init.c
59048         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
59049         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
59051         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
59052         __gmon_start__ as global, but as static with a .preinit_array pointer.
59053         * sysdeps/init_array/gmon-start.c: New file.  Use that.
59054         * sysdeps/init_array/crti.S: New file, empty except for comments.
59055         * sysdeps/init_array/crtn.S: Likewise.
59057 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
59059         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
59060         definining bcopy.
59061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59062         Remove Prefer_SSE_for_memop.
59063         * sysdeps/x86_64/multiarch/init-arch.h: Remove
59064         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
59065         HAS_PREFER_SSE_FOR_MEMOP.
59066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
59067         memset-x86-64.
59068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59069         Remove bzero, memset ifunc support.
59070         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
59071         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59072         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59073         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59075 2013-03-11  Andreas Schwab  <schwab@suse.de>
59077         [BZ #15234]
59078         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
59079         by SHLIB_COMPAT.
59080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
59081         (GLIBC_2.16): Remove pthread_atfork.
59083 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
59085         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
59086         (ptestcases.h): Likewise.
59088 2013-03-08  Roland McGrath  <roland@hack.frob.com>
59090         * Makeconfig ($(common-objpfx)config.status): Depend on
59091         sysdeps/*/preconfigure{,.in} too.
59093 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
59095         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
59096         (__free_hook): Use void * instead of __malloc_ptr_t.
59097         (__malloc_hook): Likewise.
59098         (__realloc_hook): Likewise.
59099         (__memalign_hook): Likewise.
59100         (__after_morecore_hook): Likewise.
59101         * malloc/arena.c (save_malloc_hook): Likewise.
59102         (save_free_hook): Likewise.
59103         * malloc/hooks.c (malloc_hook_ini): Likewise.
59104         (realloc_hook_ini): Likewise.
59105         (memalign_hook_ini): Likewise.
59106         * malloc/malloc.c (malloc_hook_ini): Likewise.
59107         (realloc_hook_ini): Likewise.
59108         (memalign_hook_ini): Likewise.
59109         (__free_hook): Likewise.
59110         (__malloc_hook): Likewise.
59111         (__realloc_hook): Likewise.
59112         (__memalign_hook): Likewise.
59113         (__libc_malloc): Likewise.
59114         (__libc_free): Likewise.
59115         (__libc_realloc): Likewise.
59116         (__libc_memalign): Likewise.
59117         (__libc_valloc): Likewise.
59118         (__libc_pvalloc): Likewise.
59119         (__libc_calloc): Likewise.
59120         (__posix_memalign): Likewise.
59121         * malloc/morecore.c (__sbrk): Likewise.
59122         (__default_morecore): Likewise.
59124         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
59126         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
59127         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
59128         __malloc_ptrdiff_t.
59130         * malloc/malloc.h (__malloc_size_t): Remove macro.
59131         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
59132         __malloc_size_t.
59133         (old_memalign_hook): Likewise.
59134         (old_realloc_hook): Likewise.
59135         (struct hdr): Likewise.
59136         (flood): Likewise.
59137         (mallochook): Likewise.
59138         (memalignhook): Likewise.
59139         (reallochook): Likewise.
59140         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59141         (tr_old_realloc_hook): Likewise.
59142         (tr_old_memalign_hook): Likewise.
59143         (tr_mallochook): Likewise.
59144         (tr_reallochook): Likewise.
59145         (tr_memalignhook): Likewise.
59147 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59150         default_ldbl_pack and using as default implementation.
59151         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59152         implementation.
59153         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59154         redundant definition.
59155         (ldbl_insert_mantissa): Likewise.
59156         (ldbl_canonicalize): Likewise.
59157         (ldbl_nearbyint): Likewise.
59158         (ldbl_pack): Rename to ldbl_pack_ppc.
59159         (ldbl_unpack): Rename to ldbl_unpack_ppc.
59160         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59161         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59163 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59166         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59167         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59168         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59170         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59171         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59172         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59174 2013-03-07  Andreas Jaeger  <aj@suse.de>
59176         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59177         bits/mman-linux.h.
59179 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59181         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59182         Include mpa.h and declare __MPEXP.
59183         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59184         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59185         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59186         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59187         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59188         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59189         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59191         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59192         (__slowpow): Use long double EXPL and LOGL functions to
59193         compute POW.
59194         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59195         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59196         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59197         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59198         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59199         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59202         intermediate variable to calculate exponent.
59203         (__sqr): Likewise.
59204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59205         Likewise.
59206         (__sqr): Likewise.
59208         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59209         [!NO__SQR]: Define __sqr.
59210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59211         and NO__SQR.  Remove all code except __mul and __sqr.  Include
59212         sysdeps/ieee754/dbl-64/mpa.c.
59213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59215         [BZ #12723]
59216         * posix/Makefile (tests): Add tst-pathconf.
59217         * posix/tst-pathconf.c: New test case.
59218         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59219         _PC_PIPE_BUF.
59220         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59222 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
59224         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59226 2013-03-06  Andreas Jaeger  <aj@suse.de>
59228         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59229         definition via __MAP_ANONYMOUS.
59231         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59232         it's not part of Linux headers.
59234         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59235         (MAP_HUGE_MASK): Define.
59237         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59238         Define.
59239         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59240         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59241         Define.
59242         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59243         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59244         Define.
59245         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59246         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59247         Define.
59248         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59250         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59251         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59252         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59253         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59254         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59255         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59257         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59258         Handle f2fs.
59260         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59261         Handle f2fs and efivarfs.
59263         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59264         f2fs.
59266         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59267         (EFIVARFS_MAGIC): Add.
59268         (F2FS_LINK_MAX): Add.
59270 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59272         * stdio-common/vfprintf.c: Replace __builtin_expect with
59273         __glibc_unlikely.
59275 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
59277         [BZ #13550]
59278         * sysdeps/generic/bp-sym.h: Remove file.
59279         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59280         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59281         <bp-sym.h> and <bp-asm.h>.
59282         (__longjmp): Don't use BP_SYM.
59283         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59284         and <bp-asm.h>.
59285         (memcpy): Don't use BP_SYM.
59286         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59287         <bp-sym.h> and <bp-asm.h>.
59288         (memcpy): Don't use BP_SYM.
59289         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59290         <bp-asm.h>.
59291         (memcpy): Don't use BP_SYM.
59292         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59293         <bp-asm.h>.
59294         (memset): Don't use BP_SYM.
59295         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59296         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59297         (__bzero): Don't use BP_SYM.
59298         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59299         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59300         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59301         <bp-sym.h> and <bp-asm.h>.
59302         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59303         pointers.
59304         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59305         <bp-sym.h> and <bp-asm.h>.
59306         (memcpy): Don't use BP_SYM.
59307         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59308         <bp-sym.h> and <bp-asm.h>.
59309         (memset): Don't use BP_SYM.
59310         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59311         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59312         (__bzero): Don't use BP_SYM.
59313         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59314         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59315         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59316         <bp-sym.h> and <bp-asm.h>.
59317         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59318         pointers.
59319         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59320         <bp-sym.h> and <bp-asm.h>.
59321         (memcpy): Don't use BP_SYM.
59322         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59323         <bp-sym.h> and <bp-asm.h>.
59324         (memset): Don't use BP_SYM.
59325         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59326         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59327         (__bzero): Don't use BP_SYM.
59328         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59329         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59330         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59331         <bp-sym.h> and <bp-asm.h>.
59332         (__memchr): Don't use BP_SYM.
59333         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59334         <bp-sym.h> and <bp-asm.h>.
59335         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59336         pointers.
59337         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59338         <bp-sym.h> and <bp-asm.h>.
59339         (memcpy): Don't use BP_SYM.
59340         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59341         <bp-sym.h> and <bp-asm.h>.
59342         (__mempcpy): Don't use BP_SYM.
59343         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59344         <bp-sym.h> and <bp-asm.h>.
59345         (__memrchr): Don't use BP_SYM.
59346         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59347         <bp-sym.h> and <bp-asm.h>.
59348         (memset): Don't use BP_SYM.
59349         (__bzero): Likewise.
59350         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59351         <bp-sym.h> and <bp-asm.h>.
59352         (__rawmemchr): Don't use BP_SYM.
59353         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59354         <bp-sym.h> and <bp-asm.h>.
59355         (__STRCMP): Don't use BP_SYM.
59356         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59357         <bp-sym.h> and <bp-asm.h>.
59358         (strchr): Don't use BP_SYM.
59359         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59360         <bp-sym.h> and <bp-asm.h>.
59361         (__strchrnul): Don't use BP_SYM.
59362         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59363         <bp-sym.h> and <bp-asm.h>.
59364         (strlen): Don't use BP_SYM.
59365         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59366         <bp-sym.h> and <bp-asm.h>.
59367         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59368         pointers.
59369         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59370         <bp-sym.h> and <bp-asm.h>.
59371         (__strnlen): Don't use BP_SYM.
59372         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59373         <bp-sym.h> and <bp-asm.h>.
59374         (__GI__setjmp): Don't use BP_SYM.
59375         (_setjmp): Likewise.
59376         (__sigsetjmp): Likewise.
59377         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59378         (L(start_addresses)): Don't use BP_SYM.
59379         (_start): Likewise.
59380         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59381         <bp-asm.h>.
59382         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59383         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59384         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59385         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59386         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59387         <bp-asm.h>.
59388         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59389         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
59390         about bounded pointers.
59391         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59392         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59393         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59394         <bp-asm.h>.
59395         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59396         about bounded pointers.  Remove GKM FIXME comments.
59397         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59398         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59399         <bp-asm.h>.
59400         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59401         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
59402         Remove GKM FIXME comments.
59403         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59404         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59405         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59406         <bp-asm.h>.
59407         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59408         about bounded pointers.  Remove GKM FIXME comment.
59409         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59410         and <bp-asm.h>.
59411         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59412         pointers.
59413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59414         <bp-sym.h> and <bp-asm.h>.
59415         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59417         <bp-sym.h> and <bp-asm.h>.
59418         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59419         comment.
59421 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59423         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59424         call free(NULL).
59426 2013-03-05  David S. Miller  <davem@davemloft.net>
59428         * po/es.po: Update from translation team.
59430 2013-03-05  Andreas Jaeger  <aj@suse.de>
59432         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59433         <bits/mman-linux.h>.
59434         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59435         is fine.
59436         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59437         <bits/mman-linux.h> to end of file.
59438         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59439         is fine.
59440         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59441         <bits/mman-linux.h> to end of file.
59442         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59443         is fine.
59444         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59445         <bits/mman-linux.h> to end of file.
59447         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59448         (MCL_CURRENT, MCL_FUTURE): Define here.
59450 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59452         [BZ #15232]
59453         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59454         attribute_hidden.
59455         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59457 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59459         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59460         fourth parameter needed for rt_sigprocmask syscall.
59461         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59462         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59463         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59464         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59465         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59466         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59468 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
59470         [BZ #13550]
59471         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59472         comment about bounded pointers.
59473         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59474         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59476 2013-03-04  Andreas Jaeger  <aj@suse.de>
59478         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59479         common definitions.
59481         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59482         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59483         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59484         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59485         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59486         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59488 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59490         [BZ #15055]
59491         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59492         __ieee754_sqrl instead of __sqrl.
59494 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
59496         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59497         * sysdeps/powerpc/fpu_control.h: ... here.
59498         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59499         * sysdeps/powerpc/bits/fenvinline.h: ... here.
59500         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59501         * sysdeps/powerpc/bits/mathinline.h: ... here.
59503 2013-03-01  Roland McGrath  <roland@hack.frob.com>
59505         * elf/dl-hwcaps.c (_dl_important_hwcaps):
59506         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59507         to just [NEED_DL_SYSINFO_DSO].
59508         * elf/dl-support.c: Likewise.
59509         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59510         * elf/rtld.c (dl_main): Likewise.
59511         * elf/setup-vdso.h (setup_vdso): Likewise.
59512         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59513         * sysdeps/unix/sysv/linux/dl-sysdep.c
59514         (_dl_discover_osversion): Likewise.
59516 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
59518         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59519         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59521 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
59523         * NEWS: Mention libm performance improvements and non-x86 PI
59524         futex support.
59526         * csu/libc-start.c (__pthread_initialize_minimal): Change
59527         function arguments.
59528         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59530 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
59532         [BZ #13550]
59533         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59534         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59535         <bp-sym.h> and <bp-asm.h>.
59536         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59537         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59538         and <bp-asm.h>.
59539         (memcpy): Don't use BP_SYM.
59540         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59541         <bp-asm.h>.
59542         (__mpn_add_n): Don't use BP_SYM.
59543         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59544         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59545         and <bp-asm.h>.
59546         (__mpn_addmul_1): Don't use BP_SYM.
59547         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59548         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59549         <bp-sym.h>.
59550         (_setjmp): Don't use BP_SYM.
59551         (__novmx_setjmp): Likewise.
59552         (__GI__setjmp): Likewise.
59553         (__vmx_setjmp): Likewise.
59554         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59555         <bp-sym.h>.
59556         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59557         (__bzero): Don't use BP_SYM.
59558         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59559         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59560         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59561         <bp-sym.h> and <bp-asm.h>.
59562         (memcpy): Don't use BP_SYM.
59563         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59564         <bp-sym.h> and <bp-asm.h>.
59565         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59566         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59567         <bp-sym.h> and <bp-asm.h>.
59568         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59569         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59570         <bp-asm.h>.
59571         (__mpn_lshift): Don't use BP_SYM.
59572         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59573         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59574         <bp-asm.h>.
59575         (memset): Don't use BP_SYM.
59576         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59577         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59578         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59579         <bp-asm.h>.
59580         (__mpn_mul_1): Don't use BP_SYM.
59581         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59582         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59583         <bp-sym.h> and <bp-asm.h>.
59584         (memcmp): Don't use BP_SYM.
59585         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59586         <bp-sym.h> and <bp-asm.h>.
59587         (memcpy): Don't use BP_SYM.
59588         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59589         <bp-sym.h> and <bp-asm.h>.
59590         (memset): Don't use BP_SYM.
59591         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59592         <bp-sym.h> and <bp-asm.h>.
59593         (strncmp): Don't use BP_SYM.
59594         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59595         <bp-sym.h> and <bp-asm.h>.
59596         (memcpy): Don't use BP_SYM.
59597         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59598         <bp-sym.h> and <bp-asm.h>.
59599         (memset): Don't use BP_SYM.
59600         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59601         <bp-sym.h> and <bp-asm.h>.
59602         (__memchr): Don't use BP_SYM.
59603         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59604         <bp-sym.h> and <bp-asm.h>.
59605         (memcmp): Don't use BP_SYM.
59606         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59607         <bp-sym.h> and <bp-asm.h>.
59608         (memcpy): Don't use BP_SYM.
59609         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59610         <bp-sym.h> and <bp-asm.h>.
59611         (__mempcpy): Don't use BP_SYM.
59612         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59613         <bp-sym.h> and <bp-asm.h>.
59614         (__memrchr): Don't use BP_SYM.
59615         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59616         <bp-sym.h> and <bp-asm.h>.
59617         (memset): Don't use BP_SYM.
59618         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59619         <bp-sym.h> and <bp-asm.h>.
59620         (__rawmemchr): Don't use BP_SYM.
59621         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59622         <bp-sym.h> and <bp-asm.h>.
59623         (__STRCMP): Don't use BP_SYM.
59624         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59625         <bp-sym.h> and <bp-asm.h>.
59626         (strchr): Don't use BP_SYM.
59627         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59628         <bp-sym.h> and <bp-asm.h>.
59629         (__strchrnul): Don't use BP_SYM.
59630         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59631         <bp-sym.h> and <bp-asm.h>.
59632         (strlen): Don't use BP_SYM.
59633         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59634         <bp-sym.h> and <bp-asm.h>.
59635         (strncmp): Don't use BP_SYM.
59636         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59637         <bp-sym.h> and <bp-asm.h>.
59638         (__strnlen): Don't use BP_SYM.
59639         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59640         <bp-asm.h>.
59641         (__mpn_rshift): Don't use BP_SYM.
59642         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59643         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59644         <bp-sym.h> and <bp-asm.h>.
59645         (__sigsetjmp): Don't use BP_SYM.
59646         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59647         (L(start_addresses)): Don't use BP_SYM.
59648         (_start): Likewise.
59649         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59650         <bp-asm.h>.
59651         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59652         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59653         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59654         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59655         <bp-asm.h>.
59656         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59657         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59658         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59659         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59660         <bp-asm.h>.
59661         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59662         comments.
59663         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59664         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59665         <bp-asm.h>.
59666         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
59667         FIXME comments.
59668         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59669         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59670         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59671         <bp-asm.h>.
59672         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59673         comment.
59674         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59675         and <bp-asm.h>.
59676         (strncmp): Don't use BP_SYM,
59677         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59678         <bp-asm.h>.
59679         (__mpn_sub_n): Don't use BP_SYM.
59680         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59681         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59682         and <bp-asm.h>.
59683         (__mpn_submul_1): Don't use BP_SYM.
59684         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59686         <bp-sym.h> and <bp-asm.h>.
59687         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59689         <bp-sym.h> and <bp-asm.h>.
59690         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59691         comment.
59693 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59696         Use ZK to minimize writes to Z.
59697         (sub_magnitudes): Simplify code a bit.
59698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59699         Use ZK to minimize writes to Z.
59700         (sub_magnitudes): Simplify code a bit.
59702 2013-02-27  Roland McGrath  <roland@hack.frob.com>
59704         * csu/gmon-start.c: Add special exception to license text.
59706 2013-02-27  Richard Henderson  <rth@redhat.com>
59708         * scripts/config.guess: Update from config.git.
59709         * scripts/config.sub: Likewise.
59711 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59713         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59715         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59717         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59719         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59721         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59723 2013-02-26  Roland McGrath  <roland@hack.frob.com>
59725         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59726         [$(build-shared = yes].
59728 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59730         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59731         (__mul): Reduce iterations for calculating mantissa.
59733         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59734         MPTWO.
59735         (__mpranred): Likewise.
59737         [BZ #15160]
59738         * malloc/memusagestat.c (main): Draw graphs for heap and stack
59739         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59741 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
59743         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59744         Define __attribute__.
59746 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59748         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59749         unused.
59750         * posix/regex_internal.h (__attribute): Remove.
59751         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59752         (re_string_context_at): Likewise.
59753         (bitset_not): Use __attribute__ and mark function as possibly
59754         unused.
59755         (bitset_merge): Likewise.
59756         (bitset_mask): Likewise.
59757         (re_string_char_size_at): Likewise.
59758         (re_string_wchar_at): Likewise.
59759         (re_string_elem_size_at): Likewise.
59761 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59763         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59764         code.
59765         (cc32): Likewise.
59767         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59768         (__acr): Likewise.
59769         (__cpy): Likewise.
59770         (norm): Likewise.
59771         (denorm): Likewise.
59772         (__dbl_mp): Likewise.
59773         (add_magnitudes): Likewise.
59774         (sub_magnitudes): Likewise.
59775         (__mul): Likewise.
59776         (__inv): Likewise.
59778         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59779         style.
59781         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59782         style.
59784         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59785         code.
59787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59788         up changes with default code.
59789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59790         Likewise.
59792 2013-02-24  Allan McRae  <allan@archlinux.org>
59794         * manual/socket.texi (The Internet Namespace): Order menu items
59795         to match that in the file.
59797         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59798         node listing of the info page menu.
59800 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
59802         [BZ #13550]
59803         * sysdeps/i386/bp-asm.h: Remove file.
59804         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59805         (PARMS): Do not use macros from bp-asm.h.
59806         (S1): Likewise.
59807         (S2): Likewise.
59808         (SIZE): Likewise.
59809         (__mpn_add_n): Do not use BP_SYM
59810         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59811         "bp-asm.h".
59812         (PARMS): Do not use macros from bp-asm.h.
59813         (S1): Likewise.
59814         (SIZE): Likewise.
59815         (__mpn_addmul_1): Do not use BP_SYM
59816         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59817         "bp-asm.h".
59818         (PARMS): Do not use macros from bp-asm.h.
59819         (SIGMSK): Likewise.
59820         (_setjmp): Likewise.  Do not use BP_SYM.
59821         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59822         "bp-asm.h".
59823         (PARMS): Do not use macros from bp-asm.h.
59824         (SIGMSK): Likewise.
59825         (setjmp): Likewise.  Do not use BP_SYM.
59826         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59827         "bp-asm.h".
59828         (PARMS): Do not use macros from bp-asm.h.
59829         (__frexp): Do not use BP_SYM.
59830         (frexp): Likewise.
59831         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59832         "bp-asm.h".
59833         (PARMS): Do not use macros from bp-asm.h.
59834         (__frexpf): Do not use BP_SYM.
59835         (frexpf): Likewise.
59836         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59837         "bp-asm.h".
59838         (PARMS): Do not use macros from bp-asm.h.
59839         (__frexpl): Do not use BP_SYM.
59840         (frexpl): Likewise.
59841         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59842         "bp-asm.h".
59843         (PARMS): Do not use macros from bp-asm.h.
59844         (__remquo): Do not use BP_SYM.
59845         (remquo): Likewise.
59846         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59847         "bp-asm.h".
59848         (PARMS): Do not use macros from bp-asm.h.
59849         (__remquof): Do not use BP_SYM.
59850         (remquof): Likewise.
59851         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59852         "bp-asm.h".
59853         (PARMS): Do not use macros from bp-asm.h.
59854         (__remquol): Do not use BP_SYM.
59855         (remquol): Likewise.
59856         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59857         "bp-asm.h".
59858         (PARMS): Do not use macros from bp-asm.h.
59859         (DEST): Likewise.
59860         (SRC): Likewise.
59861         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
59862         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59863         "bp-asm.h".
59864         (PARMS): Do not use macros from bp-asm.h.
59865         (strlen): Do not use BP_SYM.
59866         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59867         "bp-asm.h".
59868         (PARMS): Do not use macros from bp-asm.h.
59869         (S1): Likewise.
59870         (S2): Likewise.
59871         (SIZE): Likewise.
59872         (__mpn_add_n): Do not use BP_SYM.
59873         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59874         "bp-asm.h".
59875         (PARMS): Do not use macros from bp-asm.h.
59876         (S1): Likewise.
59877         (SIZE): Likewise.
59878         (__mpn_addmul_1): Do not use BP_SYM.
59879         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59880         weak_alias.
59881         (bzero): Likewise.
59882         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59883         "bp-asm.h".
59884         (PARMS): Do not use macros from bp-asm.h.
59885         (S): Likewise.
59886         (SIZE): Likewise.
59887         (__mpn_lshift): Do not use BP_SYM.
59888         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59889         "bp-asm.h".
59890         (PARMS): Do not use macros from bp-asm.h.
59891         (DEST): Likewise.
59892         (SRC): Likewise.
59893         (LEN): Likewise.
59894         (memcpy): Likewise.  Do not use BP_SYM.
59895         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59896         libc_hidden_def and weak_alias.
59897         (mempcpy): Do not use BP_SYM in weak_alias.
59898         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59899         "bp-asm.h".
59900         (PARMS): Do not use macros from bp-asm.h.
59901         (DEST): Likewise.
59902         (LEN): Likewise.
59903         [!BZERO_P] (CHR): Likewise.
59904         (memset): Likewise.  Do not use BP_SYM.
59905         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59906         "bp-asm.h".
59907         (PARMS): Do not use macros from bp-asm.h.
59908         (S1): Likewise.
59909         (SIZE): Likewise.
59910         (__mpn_mul_1): Do not use BP_SYM.
59911         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59912         "bp-asm.h".
59913         (PARMS): Do not use macros from bp-asm.h.
59914         (S): Likewise.
59915         (SIZE): Likewise.
59916         (__mpn_rshift): Do not use BP_SYM.
59917         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59918         "bp-asm.h".
59919         (PARMS): Do not use macros from bp-asm.h.
59920         (STR): Likewise.
59921         (CHR): Likewise.
59922         (strchr): Likewise.  Do not use BP_SYM.
59923         (index): Do not use BP_SYM in weak_alias.
59924         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59925         "bp-asm.h".
59926         (PARMS): Do not use macros from bp-asm.h.
59927         (DEST): Likewise.
59928         (SRC): Likewise.
59929         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
59930         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59931         "bp-asm.h".
59932         (PARMS): Do not use macros from bp-asm.h.
59933         (strlen): Do not use BP_SYM.
59934         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59935         "bp-asm.h".
59936         (PARMS): Do not use macros from bp-asm.h.
59937         (S1): Likewise.
59938         (S2): Likewise.
59939         (SIZE): Likewise.
59940         (__mpn_sub_n): Do not use BP_SYM.
59941         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59942         "bp-asm.h".
59943         (PARMS): Do not use macros from bp-asm.h.
59944         (S1): Likewise.
59945         (SIZE): Likewise.
59946         (__mpn_submul_1): Do not use BP_SYM.
59947         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59948         "bp-asm.h".
59949         (PARMS): Do not use macros from bp-asm.h.
59950         (S1): Likewise.
59951         (S2): Likewise.
59952         (SIZE): Likewise.
59953         (__mpn_add_n): Do not use BP_SYM.
59954         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59955         weak_alias.
59956         (bzero): Likewise.
59957         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59958         "bp-asm.h".
59959         (PARMS): Do not use macros from bp-asm.h.
59960         (BLK2): Likewise.
59961         (LEN): Likewise.
59962         (memcmp): Do not use BP_SYM.
59963         (bcmp): Do not use BP_SYM in weak_alias.
59964         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59965         "bp-asm.h".
59966         (PARMS): Do not use macros from bp-asm.h.
59967         (DEST): Likewise.
59968         (SRC): Likewise.
59969         (LEN): Likewise.
59970         (memcpy): Likewise.  Do not use BP_SYM.
59971         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59972         "bp-asm.h".
59973         (PARMS): Do not use macros from bp-asm.h.
59974         (DEST): Likewise.
59975         (SRC): Likewise.
59976         (LEN): Likewise.
59977         (memmove): Likewise.  Do not use BP_SYM.
59978         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59979         "bp-asm.h".
59980         (PARMS): Do not use macros from bp-asm.h.
59981         (DEST): Likewise.
59982         (SRC): Likewise.
59983         (LEN): Likewise.
59984         (__mempcpy): Likewise.  Do not use BP_SYM.
59985         (mempcpy): Do not use BP_SYM in weak_alias.
59986         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59987         "bp-asm.h".
59988         (PARMS): Do not use macros from bp-asm.h.
59989         (DEST): Likewise.
59990         (LEN): Likewise.
59991         [!BZERO_P] (CHR): Likewise.
59992         (memset): Likewise.  Do not use BP_SYM.
59993         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59994         "bp-asm.h".
59995         (PARMS): Do not use macros from bp-asm.h.
59996         (STR2): Likewise.
59997         (strcmp): Do not use BP_SYM.
59998         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59999         "bp-asm.h".
60000         (PARMS): Do not use macros from bp-asm.h.
60001         (STR): Likewise.
60002         (DELIM): Likewise.
60003         [USE_AS_STRTOK_R] (SAVE): Likewise.
60004         (FUNCTION): Likewise.  Do not use BP_SYM.
60005         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
60006         aliases.
60007         (strtok_r): Likewise.
60008         (__GI___strtok_r): Likewise.
60009         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60010         (PARMS): Do not use macros from bp-asm.h.
60011         (S): Likewise.
60012         (SIZE): Likewise.
60013         (__mpn_lshift): Do not use BP_SYM.
60014         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60015         (PARMS): Do not use macros from bp-asm.h.
60016         (STR): Likewise.
60017         (CHR): Likewise.
60018         (__memchr): Do not use BP_SYM.
60019         (memchr): Do not use BP_SYM in weak_alias.
60020         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60021         (PARMS): Do not use macros from bp-asm.h.
60022         (BLK2): Likewise.
60023         (LEN): Likewise.
60024         (memcmp): Do not use BP_SYM.
60025         (bcmp): Do not use BP_SYM in weak_alias.
60026         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
60027         (PARMS): Do not use macros from bp-asm.h.
60028         (S1): Likewise.
60029         (SIZE): Likewise.
60030         (__mpn_mul_1): Do not use BP_SYM.
60031         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
60032         "bp-asm.h".
60033         (PARMS): Do not use macros from bp-asm.h.
60034         (STR): Likewise.
60035         (CHR): Likewise.
60036         (__rawmemchr): Do not use BP_SYM.
60037         (rawmemchr): Do not use BP_SYM in weak_alias.
60038         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60039         (PARMS): Do not use macros from bp-asm.h.
60040         (S): Likewise.
60041         (SIZE): Likewise.
60042         (__mpn_rshift): Do not use BP_SYM.
60043         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60044         (PARMS): Do not use macros from bp-asm.h.
60045         (SIGMSK): Likewise.
60046         (__sigsetjmp): Likewise.  Do not use BP_SYM.
60047         * sysdeps/i386/start.S: Do not include "bp-sym.h".
60048         (_start): Do not use BP_SYM.
60049         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
60050         (PARMS): Do not use macros from bp-asm.h.
60051         (DEST): Likewise.
60052         (SRC): Likewise.
60053         (__stpcpy): Likewise.  Do not use BP_SYM.
60054         (stpcpy): Do not use BP_SYM in weak_alias.
60055         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
60056         "bp-asm.h".
60057         (PARMS): Do not use macros from bp-asm.h.
60058         (DEST): Likewise.
60059         (SRC): Likewise.
60060         (LEN): Likewise.
60061         (__stpncpy): Likewise.  Do not use BP_SYM.
60062         (stpncpy): Do not use BP_SYM in weak_alias.
60063         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60064         (PARMS): Do not use macros from bp-asm.h.
60065         (STR): Likewise.
60066         (CHR): Likewise.
60067         (strchr): Likewise.  Do not use BP_SYM.
60068         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
60069         "bp-asm.h".
60070         (PARMS): Do not use macros from bp-asm.h.
60071         (STR): Likewise.
60072         (CHR): Likewise.
60073         (__strchrnul): Likewise.  Do not use BP_SYM.
60074         (strchrnul): Do not use BP_SYM in weak_alias.
60075         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
60076         "bp-asm.h".
60077         (PARMS): Do not use macros from bp-asm.h.
60078         (STOP): Likewise.
60079         (strcspn): Do not use BP_SYM.
60080         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
60081         "bp-asm.h".
60082         (PARMS): Do not use macros from bp-asm.h.
60083         (STR): Likewise.
60084         (STOP): Likewise.
60085         (strpbrk): Likewise.  Do not use BP_SYM.
60086         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
60087         "bp-asm.h".
60088         (PARMS): Do not use macros from bp-asm.h.
60089         (STR): Likewise.
60090         (CHR): Likewise.
60091         (strrchr): Likewise.  Do not use BP_SYM.
60092         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
60093         (PARMS): Do not use macros from bp-asm.h.
60094         (SKIP): Likewise.
60095         (strspn): Do not use BP_SYM.
60096         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
60097         (PARMS): Do not use macros from bp-asm.h.
60098         (STR): Likewise.
60099         (DELIM): Likewise.
60100         (SAVE): Likewise.
60101         (FUNCTION): Likewise.  Do not use BP_SYM.
60102         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
60103         aliases.
60104         (strtok_r): Likewise.
60105         (__GI___strtok_r): Likewise.
60106         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60107         (PARMS): Do not use macros from bp-asm.h.
60108         (S1): Likewise.
60109         (S2): Likewise.
60110         (SIZE): Likewise.
60111         (__mpn_sub_n): Do not use BP_SYM.
60112         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
60113         "bp-asm.h".
60114         (PARMS): Do not use macros from bp-asm.h.
60115         (S1): Likewise.
60116         (SIZE): Likewise.
60117         (__mpn_submul_1): Do not use BP_SYM.
60118         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
60119         <bp-sym.h>.
60120         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
60121         and <bp-asm.h>.
60122         (PARMS): Do not use macros from bp-asm.h.
60123         (FLAGS): Likewise.
60124         (PTID): Likewise.
60125         (TLS): Likewise.
60126         (CTID): Likewise.
60127         (__clone): Do not use BP_SYM.
60128         (clone): Do not use BP_SYM in weak_alias.
60129         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
60130         and <bp-asm.h>.
60131         (PARMS): Do not use macros from bp-asm.h.
60132         (LEN): Likewise.
60133         (__mmap64): Do not use BP_SYM.
60134         (mmap64): Do not use BP_SYM in weak_alias.
60135         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60136         <bp-sym.h> and <bp-asm.h>.
60137         (PARMS): Do not use macros from bp-asm.h.
60138         (__posix_fadvise64_l64): Do not use BP_SYM.
60139         * sysdeps/unix/sysv/linux/i386/semtimedop.S
60140         (PARMS): Do not use macros from bp-asm.h.
60141         (NSOPS): Likewise.
60142         (semtimedop): Do not use BP_SYM.
60143         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
60144         and <bp-asm.h>.
60146 2013-02-21  Allan McRae  <allan@archlinux.org>
60148         * manual/message.texi (Charset conversion in gettext):
60149         Move @end statement to beginning of line.
60151 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60154         static.
60155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60156         Likewise.
60158         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60159         (denorm): Likewise.
60160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60163 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60165         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60166         tail-call to the resolved function if pltexit isn't needed.
60168 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60171         or Y being zero as being unlikely.
60172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60173         Likewise.
60175 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
60177         * manual/nss.texi (System Databases and Name Service Switch):
60178         Remove frobnicate @pxref.
60180 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60182         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60183         __attribute__ ((unused)) to __attribute__ ((__unused__)).
60185 2013-02-20  Petr Machata  <pmachata@redhat.com>
60187         * elf/elf.h (R_ARM_TARGET1): New macro.
60188         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60189         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60190         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60191         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60192         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60193         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60194         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60195         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60196         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60197         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60198         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60199         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60200         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60201         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60202         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60203         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60204         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60205         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60206         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60207         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60208         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60209         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60210         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60211         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60212         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60213         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60214         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60215         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60216         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60217         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60218         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60219         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60220         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60221         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60222         (R_ARM_THM_GOT_BREL12): Likewise.
60223         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60224         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60225         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60226         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60227         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60228         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60229         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60230         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60231         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60233 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60235         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60236         __attribute_used__ to __attribute__ ((unused)).
60238 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60240         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60241         powerpc mpa.c.
60242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60243         comment formatting.
60244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60246 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
60248         [BZ #13550]
60249         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60250         Remove macro.
60251         (ENTER): Remove both macro definitions.
60252         (LEAVE): Likewise.
60253         (CHECK_BOUNDS_LOW): Likewise.
60254         (CHECK_BOUNDS_HIGH): Likewise.
60255         (CHECK_BOUNDS_BOTH): Likewise.
60256         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60257         (RETURN_BOUNDED_POINTER): Likewise.
60258         (RETURN_NULL_BOUNDED_POINTER): Likewise.
60259         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60260         (POP_ERRNO_LOCATION_RETURN): Likewise.
60261         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60262         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60263         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60264         macros.
60265         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60266         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60267         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60268         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60269         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60270         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60271         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60272         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60273         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60274         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60275         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60276         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60277         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60278         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60279         removed macros.
60280         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60281         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60282         macros.
60283         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60284         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60285         * sysdeps/i386/i586/memset.S (memset): Likewise.
60286         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60287         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60288         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60289         macros.
60290         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60291         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60292         Change uses of L(2) to L(out).
60293         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60294         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60295         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60296         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60297         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60298         removed macros.
60299         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60300         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60301         macros.
60302         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60303         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60304         (RETURN): Do not use macro LEAVE.
60305         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60306         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60307         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60308         * sysdeps/i386/i686/memset.S (memset): Likewise.
60309         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60310         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60311         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60312         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60313         Likewise.
60314         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60315         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
60316         L(1_2) and L(1_3) into L(1).
60317         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60318         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60319         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60320         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60321         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60322         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60323         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60324         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60325         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60326         macros.
60327         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60328         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60329         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60330         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60331         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60332         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60333         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60334         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60335         * sysdeps/i386/strcspn.S (strcspn): Likewise.
60336         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60337         * sysdeps/i386/strrchr.S (strrchr): Likewise.
60338         * sysdeps/i386/strspn.S (strspn): Likewise.
60339         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60340         conditional code.
60341         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60342         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60343         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60344         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
60345         L(1_3) into L(1_1).
60346         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60347         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60348         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60349         macros.
60350         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60352 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
60354         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60355         macro.
60357 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60359         * math/atest-exp.c (exp_mpn): Remove ROUND.
60360         * math/atest-exp2.c (exp_mpn): Likewise.
60361         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60363         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60364         * stdlib/tst-tls-atexit-lib.c: Likewise.
60365         * stdlib/tst-tls-atexit.c: Likewise.
60367 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60369         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60370         and __attribute_alloc_size__.
60372 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60374         * include/programs/xmalloc.h: Change __attribute_alloc_size to
60375         __attribute_alloc_size__.
60376         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60377         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60379 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60381         * include/programs/xmalloc.h: New file.
60382         * catgets/gencat.c: Include it.
60383         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60384         * elf/pldd.c: Likewise.
60385         * iconv/iconv_charmap.c: Likewise.
60386         * iconv/iconvconfig.c: Likewise.
60387         * iconv/strtab.c: Likewise.
60388         * locale/programs/locale.c: Likewise.
60389         * locale/programs/localedef.h: Likewise.
60390         * locale/programs/simple-hash.c: Likewise.
60391         * nscd/nscd.h: Likewise.
60392         * nss/makedb.c: Likewise.
60393         * sysdeps/generic/ldconfig.h: Likewise.
60395 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60397         * Versions.def: Add GLIBC_2.18.
60398         * include/link.h (struct link_map): New member l_tls_dtor_count.
60399         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60400         (__call_tls_dtors): Likewise.
60401         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60402         __cxa_thread_atexit_impl.
60403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60404         Likewise.
60405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60406         Likewise.
60407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60408         Likewise.
60409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60410         Likewise.
60411         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60413         Likewise.
60414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60415         Likewise.
60416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60418         Likewise.
60419         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60420         (tests): Add test case tst-tls-atexit.
60421         (modules-names): Add shared library for tst-tls-atexit.
60422         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60423         (GLIBC_PRIVATE): Add __call_tls_dtors.
60424         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60425         for libstdc++.
60426         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60427         * stdlib/tst-tls-atexit.c: New test case.
60428         * stdlib/tst-tls-atexit-lib.c: New test case.
60430         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60432         * elf/Versions (ld): Add _dl_find_dso_for_object.
60433         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60434         * elf/dl-open.c (_dl_find_dso_for_object): New function.
60435         (dl_open_worker): Use _dl_find_dso_for_object.
60436         * elf/dl-sym.c (do_sym): Likewise.
60437         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60439 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60441         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60442         Syntactic changes only.
60443         (_dl_runtime_profile): Do a tail-call to the resolved function.
60445 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
60447         [BZ #13550]
60448         * sysdeps/x86_64/bp-asm.h: Remove file.
60449         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60450         <bp-sym.h> and <bp-asm.h>.
60451         (__clone): Do not use BP_SYM.
60452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60453         <bp-sym.h> and <bp-asm.h>.
60454         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60455         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60456         "bp-asm.h".
60457         (_setjmp): Do not use BP_SYM.
60458         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60459         "bp-asm.h".
60460         (setjmp): Do not use BP_SYM.
60461         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60462         libc_hidden_def.
60463         (mempcpy): Do not use BP_SYM in weak_alias.
60464         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60465         "bp-asm.h".
60466         (strchr): Do not use BP_SYM.
60467         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60468         "bp-asm.h".
60469         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60470         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60471         (_start): Do not use BP_SYM.
60472         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60473         "bp-asm.h".
60474         (strcat): Do not use BP_SYM.
60475         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60476         "bp-asm.h".
60477         (STRCMP): Do not use BP_SYM.
60478         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60479         "bp-asm.h".
60480         (STRCPY): Do not use BP_SYM.
60481         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60482         "bp-asm.h".
60483         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60484         "bp-asm.h".
60485         (FUNCTION): Do not use BP_SYM.
60486         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60487         weak_alias.
60488         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60490 2013-02-17  Andreas Jaeger  <aj@suse.de>
60492         * time/Versions: Sort entries.
60493         * string/Versions: Likewise.
60494         * resolv/Versions: Likewise.
60495         * posix/Versions: Likewise.
60496         * iconv/Versions: Likewise.
60497         * elf/Versions: Likewise.
60498         * wcsmbs/Versions: Likewise.
60500 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60502         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60503         loop termination condition.
60505         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60506         variable to calculate EZ.
60507         (__sqr): Likewise.
60509         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60510         the lower precision input.
60512 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
60514         [BZ #13550]
60515         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60516         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60517         (run-via-rtld-prefix): Do not handle %-bp tests.
60518         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60519         (all-object-suffixes): Remove .ob.
60520         (bppfx): Remove variable.
60521         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60522         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60523         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60524         [$(build-bounded) = yes] (libtype.ob): Likewise.
60525         * Makerules (elide-routines.ob): Remove variable.
60526         (do-tests-clean): Do not handle *-bp.out.
60527         (common-mostlyclean): Do not handle *-bp and *-bp.out.
60528         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60529         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60530         (tests): Do not include $(tests-bp.out).
60531         (xtests): Do not include $(xtests-bp.out).
60532         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60533         [$(build-bounded) = yes] ($(addprefix
60534         $(objpfx),$(binaries-bounded))): Remove rule.
60535         ($(objpfx)%-bp.out): Remove rule.
60536         * config.make.in (build-bounded): Remove variable.
60537         * crypt/Makefile [$(build-bounded) = yes]
60538         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60539         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60540         append to variable.
60541         [$(build-bounded) = yes] (install-lib): Likewise.
60542         [$(build-bounded) = yes] (generated): Likewise.
60543         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60544         Remove rule.
60545         * intl/Makefile [$(build-bounded) = yes]
60546         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60547         * math/Makefile [$(build-bounded) = yes]
60548         ($(tests:%=$(objpfx)%-bp): Likewise.
60549         * misc/Makefile [$(build-bounded) = yes]
60550         ($(objpfx)tst-tsearch-bp): Likewise.
60551         * nptl/Makeconfig (bounded-thread-library): Remove variable.
60552         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60553         Remove dependency.
60554         * string/Makefile (o-objects.ob): Remove variable.
60555         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60556         (CFLAGS-.ob): Remove variable.
60557         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60558         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60559         both definitions of variable.
60560         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60561         (ASFLAGS-.ob): Remove variable.
60563 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
60565         [BZ #13550]
60566         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60567         Remove __BOUNDED_POINTERS__ from condition.
60568         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60569         * string/bits/string2.h [!__NO_STRING_INLINES &&
60570         !__BOUNDED_POINTERS__]: Likewise.
60571         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60572         Likewise.
60573         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60574         Remove conditional code.
60575         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60576         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60577         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60578         condition.
60580         [BZ #13550]
60581         * csu/libc-start.c: Do not include <bp-sym.h>.
60582         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60583         * elf/dl-open.c: Do not include <bp-sym.h>.
60584         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60585         * math/fegetenv.c: Do not include <bp-sym.h>.
60586         (fegetenv): Do not use BP_SYM in versioned symbols.
60587         * nptl/sysdeps/pthread/bits/libc-lockP.h
60588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60589         <bp-sym.h>.
60590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60591         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60593         (__pthread_mutex_destroy): Likewise.
60594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60595         (__pthread_mutex_lock): Likewise.
60596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60597         (__pthread_mutex_trylock): Likewise.
60598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60599         (__pthread_mutex_unlock): Likewise.
60600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60601         (__pthread_mutexattr_init): Likewise.
60602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60603         (__pthread_mutexattr_destroy): Likewise.
60604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60605         (__pthread_mutexattr_settype): Likewise.
60606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60607         (__pthread_rwlock_init): Likewise.
60608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60609         (__pthread_rwlock_destroy): Likewise.
60610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60611         (__pthread_rwlock_rdlock): Likewise.
60612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60613         (__pthread_rwlock_tryrdlock): Likewise.
60614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60615         (__pthread_rwlock_wrlock): Likewise.
60616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60617         (__pthread_rwlock_trywrlock): Likewise.
60618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60619         (__pthread_rwlock_unlock): Likewise.
60620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60621         (__pthread_key_create): Likewise.
60622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60623         (__pthread_setspecific): Likewise.
60624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60625         (__pthread_getspecific): Likewise.
60626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60627         Likewise.
60628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60629         (_pthread_cleanup_push_defer): Likewise.
60630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60631         (_pthread_cleanup_pop_restore): Likewise.
60632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60633         (pthread_setcancelstate): Likewise.
60634         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60635         <bp-sym.h>.
60636         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60637         (memchr): Do not use BP_SYM in weak_alias.
60638         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60639         (fegetenv): Do not use BP_SYM in versioned symbols.
60640         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60641         (fesetenv): Do not use BP_SYM in versioned symbols.
60642         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60643         (feupdateenv): Do not use BP_SYM in versioned symbols.
60644         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60645         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60646         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60647         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60648         (open64): Do not use BP_SYM in weak_alias.
60649         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60650         (fegetenv): Do not use BP_SYM in versioned symbols.
60651         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60652         (fesetenv): Do not use BP_SYM in versioned symbols.
60653         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60654         (feupdateenv): Do not use BP_SYM in versioned symbols.
60655         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60656         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60657         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60658         (feraiseexcept): Do not use BP_SYM in versioned symbols.
60659         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60660         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60661         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60662         <bp-sym.h>.
60663         (__libc_start_main): Do not use BP_SYM.
60665 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60668         redundant return line.
60669         (norm): Likewise.
60670         (denorm): Likewise.
60671         (dbl_mp): Likewise.
60672         (sub_magnitudes): Likewise.
60673         (__add): Likewise.
60674         (__sub): Likewise.
60675         (__mul): Likewise.
60676         (__inv): Likewise.
60677         (__dvd): Likewise.
60678         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60679         (norm): Likewise.
60680         (denorm): Likewise.
60681         (dbl_mp): Likewise.
60682         (sub_magnitudes): Likewise.
60683         (__add): Likewise.
60684         (__sub): Likewise.
60685         (__mul): Likewise.
60686         (__inv): Likewise.
60687         (__dvd): Likewise.
60689         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60690         instead of __mul.
60691         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60692         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60693         (cc32): Likewise.
60695         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60696         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60697         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60698         of __mul for squares.
60699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60700         function
60701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60702         Likewise.
60703         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60704         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60706 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
60708         [BZ #13550]
60709         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60710         code.
60711         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60712         prototype or function definition.  Rename ubp_* variables and
60713         parameters.  Remove argv definitions conditional on
60714         [__BOUNDED_POINTERS__].
60715         * debug/backtrace.c (__backtrace): Do not use __unbounded.
60716         * elf/dl-runtime.c (_dl_fixup): Likewise.
60717         * include/set-hooks.h (RUN_HOOK): Likewise.
60718         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60719         definition.
60720         * string/strcpy.c (strcpy): Do not use __unbounded.
60721         * sysdeps/generic/frame.h (struct layout): Likewise.
60722         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60723         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60724         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60725         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60726         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60727         (__backtrace): Likewise.
60728         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60729         use __ptrvalue.
60730         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60731         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60732         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60733         Likewise.
60734         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60735         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60736         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60737         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60738         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60739         Do not use __unbounded.
60740         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60741         Rename __unboundedrlimits parameter to rlimits in prototype.
60742         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60743         Do not use __unbounded.
60744         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60745         not use __ptrvalue.
60746         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60747         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60748         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60749         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60750         __ptrvalue or __unbounded.
60751         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60752         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60753         use __unbounded.
60754         (__new_msgctl): Do not use __ptrvalue.
60755         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60756         __unbounded.
60757         (__libc_msgrcv): Do not use __ptrvalue.
60758         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60759         startup_info): Do not use __unbounded.
60760         (__libc_start_main): Likewise.  Rename ubp_* variables and
60761         parameters.  Remove argv definitions conditional on
60762         [__BOUNDED_POINTERS__].
60763         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60764         __ptrvalue.
60765         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60766         use __unbounded.
60767         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60768         or __ptrvalue.
60769         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60770         use __unbounded.
60771         (__new_shmctl): Do not use __ptrvalue.
60772         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60773         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60774         Likewise.
60775         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60776         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60777         (__libc_sigaction): Likewise.
60778         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60779         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60780         Likewise.
60781         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60783 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
60785         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60787         * string/mempcpy.c: Implement by calling memcpy.
60789 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60794         evaluation.
60796         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60797         values in the mantissa.
60799         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60800         minimize writes to Z.
60801         (sub_magnitudes): Simplify code a bit.
60803 2013-02-12  Roland McGrath  <roland@hack.frob.com>
60805         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60806         from the message.  The linker prefixes all warnings with that already.
60808 2013-02-12  Andreas Schwab  <schwab@suse.de>
60810         [BZ #15078]
60811         * posix/regexec.c (extend_buffers): Add parameter min_len.
60812         (check_matching): Pass minimum needed length.
60813         (clean_state_log_if_needed): Likewise.
60814         (get_subexp): Likewise.
60815         * posix/Makefile (tests): Add bug-regex34.
60816         (bug-regex34-ENV): Define.
60817         * posix/bug-regex34.c: New file.
60819         [BZ #11561]
60820         * posix/regcomp.c (parse_bracket_exp): When looking up collating
60821         elements compare against the byte sequence of it, not its name.
60822         * posix/Makefile (tests): Add bug-regex35.
60823         (bug-regex35-ENV): Define.
60824         * posix/bug-regex35.c: New file.
60826 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60828         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
60829         comment.
60830         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60831         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60832         (CHECK_EOL): Add undef.
60834 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
60836         * bits/stdlib-bsearch.h: New file.
60837         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60838         * stdlib/stdlib.h: Likewise.
60840 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60842         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60843         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60844         declaration.
60845         * manual/search.texi (Array Search Function): Add missing const in
60846         lfind prototype.
60847         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60848         declaration to use rlim_t.
60849         (Basic Scheduling Functions): Remove erroneous const from
60850         sched_getparam prototype.  Remove erroneous * from
60851         sched_get_priority_max and sched_get_priority_min prototypes.
60852         (Resource Usage): Fix summary @comment on vtimes to refer to
60853         sys/vtimes.h rather than vtimes.h.
60854         Add missing *s in vtimes prototype.
60855         (Limits on Resources): Fix ulimit prototype to return long int.
60856         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60857         prototypes to use long int rather than double.
60858         (BSD Random): Fix initstate and setstate to use char *, not void *.
60859         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60860         prototype to make second argument 'struct aiocb64 *const[]'.
60861         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60862         (Status of AIO Operations): Remove erroneous const in aio_return and
60863         aio_return64 prototypes.
60864         (Synchronizing I/O): Fix sync prototype to return void.
60865         * manual/startup.texi (Suboptions): Remove an erroneous const in
60866         getsubopt prototype.
60867         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60868         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60869         use size_t rather than int.
60870         (Scanning All Users): Likewise for getpwent_r.
60871         (Setting Groups): Add missing const to setgroups prototype.
60872         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60873         * manual/socket.texi (Host Names): Fix gethostbyaddr and
60874         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60875         'const void *' rather than 'const char *'.
60876         (Host Address Functions): Likewise for inet_ntop.
60877         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60878         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60879         ssize_t for return value.
60880         (Sending Data): Likewise for send, sendto, sendmsg.
60881         (Socket Option Functions): Add a missing const in setsockopt prototype.
60882         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60883         use wchar_t for the argument.
60884         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60885         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60886         take no arguments.
60887         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60888         double/float/long double for second argument.
60889         Fix return types of significand, significandf, significandl.
60890         * manual/filesys.texi (Setting Permissions): Use mode_t for second
60891         argument in fchmod prototype.
60892         (File Owner): Use uid_t and gid_t in fchown prototype.
60893         (File Times): Add const to utimes, futimes, and lutimes prototypes.
60894         (Making Special Files): Use mode_t and dev_t in mknod prototype.
60895         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60896         use 'const struct dirent **' as argument types to CMP function pointer
60897         argument.
60898         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60899         (File Times): Fix summary magic @comment for struct utimbuf and utime
60900         to refer to utime.h, not time.h.
60901         * manual/string.texi (Argz Functions): Add missing const in
60902         argz_extract and argz_next prototypes.
60903         (Finding Tokens in a String): Likewise for basename.
60904         (String/Array Comparison): Fix typo in wcscasecmp prototype.
60905         (Copying and Concatenation): Fix typo in wmemmove prototype.
60906         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60907         (Signal Stack): Remove erroneous const in sigstack prototype.
60908         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60909         prototype.
60910         (Simple Calendar Time): Likewise for stime.
60911         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60912         prototype.
60913         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60914         say sys/sysctl.h instead.
60915         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60916         and vsyslog prototypes.
60918 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60920         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60921         Remove.
60923 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60925         * misc/sys/mman.h: Fix typo in mremap comment.
60927 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60929         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60930         the '\0' terminator.
60932 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60934         [BZ #13550]
60935         * debug/segfault.c: Don't include <bp-checks.h>.
60936         * sysdeps/generic/bp-checks.h: Remove file.
60937         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60938         (__GETDENTS): Don't use CHECK_N.
60939         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60940         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60941         (__getgroups): Don't use CHECK_N.
60942         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60943         (setgroups): Don't use CHECK_N.
60944         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60945         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60946         (__libc_msgrcv): Don't use CHECK_N.
60947         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60948         (__libc_msgsnd): Don't use CHECK_N.
60949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60950         <bp-checks.h>.
60951         (__libc_pread): Don't use CHECK_N.
60952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60953         include <bp-checks.h>.
60954         (__libc_pread64): Don't use CHECK_N.
60955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60956         include <bp-checks.h>.
60957         (__libc_pwrite): Don't use CHECK_N.
60958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60959         include <bp-checks.h>.
60960         (__libc_pwrite64): Don't use CHECK_N.
60961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60962         <bp-checks.h>.
60963         (__libc_pread): Don't use CHECK_N.
60964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60965         include <bp-checks.h>.
60966         (__libc_pread64): Don't use CHECK_N.
60967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60968         include <bp-checks.h>.
60969         (__libc_pwrite): Don't use CHECK_N.
60970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60971         include <bp-checks.h>.
60972         (__libc_pwrite64): Don't use CHECK_N.
60973         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60974         (do_pread): Don't use CHECK_N.
60975         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60976         (do_pread64): Don't use CHECK_N.
60977         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60978         (do_pwrite): Don't use CHECK_N.
60979         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60980         (do_pwrite64): Don't use CHECK_N.
60981         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60982         (__libc_readv): Don't use CHECK_N.
60983         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60984         (semop): Don't use CHECK_N.
60985         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60986         <bp-checks.h>.
60987         (semtimedop): Don't use CHECK_N.
60988         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60989         (__libc_pread): Don't use CHECK_N.
60990         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60991         <bp-checks.h>.
60992         (__libc_pread64): Don't use CHECK_N.
60993         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60994         <bp-checks.h>.
60995         (__libc_pwrite): Don't use CHECK_N.
60996         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60997         <bp-checks.h>.
60998         (__libc_pwrite64): Don't use CHECK_N.
60999         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
61000         <bp-checks.h>.
61001         (__libc_msgrcv): Don't use CHECK_N.
61002         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
61003         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
61004         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
61005         (__libc_writev): Don't use CHECK_N.
61007 2013-02-08  Roland McGrath  <roland@hack.frob.com>
61009         * string/strcpy.c: Removed unused variable.
61011         * Makeconfig (+sysdep-includes): Define with := rather than =.
61012         Use an existing include/ subdir of each sysdeps dir before it.
61014 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61016         * nscd/connection.c (register_traced_file): Comment function.
61017         [HAVE_INOTIFY] (union __inev): Define.
61018         [HAVE_INOTIFY] (inotify_check_files): New function.
61019         [HAVE_INOTIFY] (clear_db_cache): Likewise.
61020         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
61021         clear_db_cache.
61022         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
61024 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61026         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
61027         loaded if not already and that a failure is permanent.
61029 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61031         [BZ #15006]
61032         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
61033         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
61035 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
61037         [BZ #13550]
61038         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
61039         (CHECK_1_NULL_OK): Likewise.
61040         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
61041         (__fxstat): Do not use CHECK_1.
61042         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
61043         <bp-checks.h>.
61044         (___fxstat64): Do not use CHECK_1.
61045         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
61046         <bp-checks.h>.
61047         (__fxstatat): Do not use CHECK_1.
61048         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
61049         <bp-checks.h>.
61050         (__fxstatat64): Do not use CHECK_1.
61051         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
61052         <bp-checks.h>.
61053         (__fxstat): Do not use CHECK_1.
61054         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
61055         <bp-checks.h>.
61056         (__fxstatat): Do not use CHECK_1.
61057         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61058         <bp-checks.h>.
61059         (__getresgid): Do not use CHECK_1.
61060         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61061         <bp-checks.h>.
61062         (__getresuid): Do not use CHECK_1.
61063         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
61064         <bp-checks.h>.
61065         (__lxstat): Do not use CHECK_1.
61066         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61067         <bp-checks.h>.
61068         (__old_msgctl): Do not use CHECK_1.
61069         (__new_msgctl): Likewise.
61070         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
61071         <bp-checks.h>.
61072         (__new_setrlimit): Do not use CHECK_1.
61073         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61074         <bp-checks.h>.
61075         (__old_shmctl): Do not use CHECK_1.
61076         (__new_shmctl): Likewise.
61077         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
61078         <bp-checks.h>.
61079         (__xstat): Do not use CHECK_1.
61080         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
61081         (__lxstat): Do not use CHECK_1.
61082         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
61083         <bp-checks.h>.
61084         (___lxstat64): Do not use CHECK_1.
61085         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
61086         (__old_msgctl): Do not use CHECK_1.
61087         (__new_msgctl): Likewise.
61088         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
61089         <bp-checks.h>.
61090         (__gettimeofday): Do not use CHECK_1.
61091         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
61092         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
61093         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
61094         <bp-checks.h>.
61095         (__gettimeofday): Do not use CHECK_1.
61096         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
61097         (__old_shmctl): Do not use CHECK_1_NULL_OK.
61098         (__new_shmctl): Do not use CHECK_1.
61099         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
61100         <bp-checks.h>.
61101         (do_sigtimedwait): Do not use CHECK_1.
61102         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
61103         <bp-checks.h>.
61104         (do_sigwaitinfo): Do not use CHECK_1.
61105         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
61106         <bp-checks.h>.
61107         (msgctl): Do not use CHECK_1.
61108         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
61109         <bp-checks.h>.
61110         (shmctl): Do not use CHECK_1.
61111         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
61112         (ustat): Do not use CHECK_1.
61113         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
61114         <bp-checks.h>.
61115         (__fxstat): Do not use CHECK_1.
61116         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
61117         <bp-checks.h>.
61118         (__fxstatat): Do not use CHECK_1.
61119         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
61120         <bp-checks.h>.
61121         (__lxstat): Do not use CHECK_1.
61122         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
61123         <bp-checks.h>.
61124         (__xstat): Do not use CHECK_1.
61125         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
61126         (__xstat): Do not use CHECK_1.
61127         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
61128         (___xstat64): Do not use CHECK_1.
61130         [BZ #13550]
61131         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
61132         definitions.
61133         (CHECK_BOUNDS_HIGH): Likewise.
61134         * string/strcpy.c: Do not include <bp-checks.h>.
61135         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
61137 2013-02-07  Roland McGrath  <roland@hack.frob.com>
61139         * nscd/nscd-client.h (__nscd_drop_map_ref):
61140         Add __attribute__ ((unused)).
61141         * nis/nss-nisplus.h (niserr2nss): Likewise.
61143         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
61144         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
61146         * csu/libc-tls.c (init_static_tls, init_slotinfo):
61147         Remove inline keyword.
61148         * include/rounding-mode.h (round_away): Likewise.
61149         * libio/wfileops.c (adjust_wide_data): Likewise.
61150         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61151         (__m128i_strloadu_tolower): Likewise.
61152         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61153         (__m128i_strloadu_tolower): Likewise.
61154         * time/mktime.c (ydhms_diff): Likewise.
61155         * locale/elem-hash.h (elem_hash): Likewise.
61156         * locale/setlocale.c (setdata): Likewise.
61157         * posix/regex_internal.h (re_string_char_size_at): Likewise.
61158         (re_string_wchar_at): Likewise.
61159         (bitset_not, bitset_merge, bitset_mask): Likewise.
61160         [!(__GNUC__ > 3)] (inline): Remove macro.
61161         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61162         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61163         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61164         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61165         * string/memcmp.c (memcmp_bytes): Likewise.
61166         * locale/programs/locarchive.c (compute_hashval): Likewise.
61167         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61168         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61169         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61170         * nss/getent.c (print_rpc, print_protocols): Likewise.
61171         (print_passwd, print_group, print_aliases): Likewise.
61172         * nis/nss-nisplus.h (niserr2nss): Likewise.
61173         * nscd/connections.c (restart_p): Likewise.
61174         Change return type to bool.
61176 2013-02-05  Roland McGrath  <roland@hack.frob.com>
61178         * Makeconfig (all-Depend-files): Add existing
61179         $(sorted-subdirs:=/Depend) files.
61180         (all-subdirs): Remove nss.
61181         * sysdeps/unix/inet/Subdirs: Add it here instead.
61182         * hesiod/Depend: New file.
61184         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61185         instead of calling alloca.
61187         * io/lseek.c (__lseek): Rename to __libc_lseek.
61188         Define __lseek as an alias.
61190         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61192 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
61194         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61195         else clause and remove check for non-standard endianness.
61197 2013-02-04  David S. Miller  <davem@davemloft.net>
61199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61201 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
61203         [BZ #13550]
61204         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61205         (__ubp_memchr): Remove prototype.
61206         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61207         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61208         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61209         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61210         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61211         Remove alias.
61212         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61213         (__ubp_memchr): Likewise.
61214         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61215         (__ubp_memchr): Likewise.
61216         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61217         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61218         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61219         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61220         CHECK_STRING.
61221         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61222         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61223         (__getcwd): Do not use CHECK_STRING.
61224         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61225         <bp-checks.h>.
61226         (__real_chown): Do not use CHECK_STRING.
61227         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61228         <bp-checks.h>.
61229         (fchownat): Do not use CHECK_STRING.
61230         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61231         CHECK_STRING.
61232         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61233         <bp-checks.h>.
61234         (__lchown): Do not use CHECK_STRING.
61235         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61236         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61237         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61238         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61240         include <bp-checks.h>.
61241         (truncate64): Do not use CHECK_STRING.
61242         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61243         <bp-checks.h>.
61244         (__real_chown): Do not use CHECK_STRING.
61245         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61246         <bp-checks.h>.
61247         (__lchown): Do not use CHECK_STRING.
61248         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61249         <bp-checks.h>.
61250         (__chown): Do not use CHECK_STRING.
61251         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61252         <bp-checks.h>.
61253         (truncate64): Do not use CHECK_STRING.
61254         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61255         Likewise.
61256         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61257         (__xmknod): Do not use CHECK_STRING.
61258         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61259         <bp-checks.h>.
61260         (__xmknodat): Do not use CHECK_STRING.
61261         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61262         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61264 2013-02-04  Andreas Schwab  <schwab@suse.de>
61266         [BZ #14142]
61267         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61268         * include/netdb.h: Likewise for h_errno.
61269         * elf/tst-stackguard1.c: Include <tls.h>.
61271 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
61273         * elf/link.h (struct link_map): Extend the l_addr comment.
61274         * include/link.h (struct link_map): Likewise.
61276 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
61278         [BZ #13550]
61279         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61280         (BOUNDED_1): Remove macro.
61281         * debug/backtrace.c: Don't include <bp-checks.h>.
61282         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61283         (__backtrace): Likewise.
61284         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61285         <bp-checks.h>.
61286         (__backtrace): Don't use BOUNDED_1.
61287         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61288         <bp-checks.h>.
61289         (__backtrace): Don't use BOUNDED_1.
61290         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61291         (__backtrace): Don't use BOUNDED_1.
61292         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61293         (shmat): Don't use BOUNDED_N.
61295 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
61297         [BZ #13550]
61298         * sysdeps/generic/bp-start.h: Remove file.
61299         * csu/libc-start.c: Don't include <bp-start.h>.
61300         (LIBC_START_MAIN): Set up __environ directly instead of using
61301         INIT_ARGV_and_ENVIRON.
61302         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61303         <bp-start.h>.
61305         [BZ #13550]
61306         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61307         definitions.
61308         (CHECK_FCNTL): Likewise.
61309         (CHECK_N_PAGES): Likewise.
61311         [BZ #13550]
61312         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61313         definitions.
61314         (CHECK_SIGSET_NULL_OK): Likewise.
61315         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61316         <bp-checks.h>.
61317         (sigpending): Don't use CHECK_SIGSET.
61318         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61319         <bp-checks.h>.
61320         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61321         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61322         <bp-checks.h>.
61323         (do_sigsuspend): Don't use CHECK_SIGSET.
61324         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61325         use CHECK_SIGSET.
61326         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61327         (do_sigwait): Don't use CHECK_SIGSET.
61328         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61329         use CHECK_SIGSET.
61330         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61331         include <bp-checks.h>.
61332         (sigpending): Don't use CHECK_SIGSET.
61333         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61334         include <bp-checks.h>.
61335         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61336         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61337         <bp-checks.h>.
61338         (sigpending): Don't use CHECK_SIGSET.
61339         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61340         <bp-checks.h>.
61341         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61343         [BZ #13550]
61344         * sysdeps/generic/bp-semctl.h: Remove file.
61345         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61346         <bp-checks.h> and <bp-semctl.h>.
61347         (__old_semctl): Don't use CHECK_SEMCTL.
61348         (__new_semctl): Likewise.
61349         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61350         and <bp-semctl.h>.
61351         (__old_semctl): Don't use CHECK_SEMCTL.
61352         (__new_semctl): Likewise.
61353         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61354         <bp-checks.h> and <bp-semctl.h>.
61355         (__old_semctl): Don't use CHECK_SEMCTL.
61356         (__new_semctl): Likewise.
61357         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61358         <bp-checks.h> and <bp-semctl.h>.
61359         (semctl): Don't use CHECK_SEMCTL.
61361         [BZ #13550]
61362         * Makerules (elide-bp-thunks): Remove variable.
61363         (elide-routines.oS): Don't use $(elide-bp-thunks).
61364         (elide-routines.os): Likewise.
61365         (elide-routines.o): Likewise.
61366         (elide-routines.op): Likewise.
61367         (elide-routines.og): Likewise.
61368         (objects): Don't use $(bp-thunks).
61369         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61370         include.
61371         (common-generated): Do not add s-proto-bp.d.
61372         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61373         (int): Likewise.
61374         (typ): Likewise.
61375         Do not generate makefile rules for bounded-pointer thunks.
61376         * sysdeps/generic/bp-thunks.h: Remove file.
61377         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61378         * sysdeps/unix/s-proto-bp.S: Likewise.
61380         [BZ #15062]
61381         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61382         parts of result separately when argument is not close to line from
61383         -i to i and one part of argument is small.
61384         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61385         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61386         * math/libm-test.inc (cacos_test): Add more tests.
61387         (casin_test): Likewise.
61388         (casinh_test): Likewise.
61389         * sysdeps/i386/fpu/libm-test-ulps: Update.
61390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61392 2013-01-31  David S. Miller  <davem@davemloft.net>
61394         * po/de.po: Update from translation team.
61396 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
61398         * time/tzfile.c: Include stdint.h for SIZE_MAX.
61400 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
61402         * configure.in (_AC_PROG_CC_C89): New definition.
61403         * configure: Regenerate.
61405         * configure.in (AC_PROG_CPP): New definition.
61406         * configure: Regenerate.
61408 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61410         * debug/tst-backtrace.h: New file.
61411         * debug/tst-backtrace2.c: Include tst-backtrace.h.
61412         (ret): Remove variable.
61413         (x): Likewise.
61414         (FAIL): Remove macro.
61415         (NO_INLINE): Likewise.
61416         (fn1): Use match function instead of strstr.
61417         * debug/tst-backtrace3.c: Include tst-backtrace.h.
61418         (ret): Remove variable.
61419         (x): Likewise.
61420         (FAIL): Remove macro.
61421         (NO_INLINE): Likewise.
61422         (fn): Use match function instead of strstr.
61423         * debug/tst-backtrace4.c: Include tst-backtrace.h.
61424         (ret): Remove variable.
61425         (x): Likewise.
61426         (FAIL): Remove macro.
61427         (NO_INLINE): Likewise.
61428         (handle_signal): Use match function instead of strstr.
61429         * debug/tst-backtrace5.c: Include tst-backtrace.h.
61430         (ret): Remove variable.
61431         (x): Likewise.
61432         (FAIL): Remove macro.
61433         (NO_INLINE): Likewise.
61434         (handle_signal): Use match function instead of strstr.
61436 2013-01-23  Roland McGrath  <roland@hack.frob.com>
61438         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61440 2013-01-23  David S. Miller  <davem@davemloft.net>
61442         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61443         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61444         argument of CAS if possible.
61445         * sysdeps/sparc/sparc64/bits/atomic.h
61446         (__arch_compare_and_exchange_val_32_acq): Likewise.
61447         (__arch_compare_and_exchange_val_64_acq): Likewise.
61449 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
61451         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61452         * sysdeps/posix/ulimit.c: ... this.
61453         Include <limits.h>.
61454         * sysdeps/unix/bsd/ulimit.c: Remove file.
61456 2013-01-23  Adam Conrad  <adconrad@0c3.net>
61458         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61459         (LDFLAGS-tst-array5): Likewise.
61461 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61463         [BZ #15036]
61464         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61465         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61466         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61467         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61469 2013-01-21  David S. Miller  <davem@davemloft.net>
61471         * sysdeps/sparc/backtrace.c: New file.
61472         * sysdeps/sparc/sparc32/backtrace.h: New file.
61473         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61474         * sysdeps/sparc/sparc64/backtrace.h: New file.
61475         * sysdeps/sparc/sparc64/backtrace.c: Delete.
61476         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61477         -funwind-tables.
61479 2013-01-21  Andreas Schwab  <schwab@suse.de>
61481         [BZ #15020]
61482         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61483         closed its stdout.
61485 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
61487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61488         "mpa2.h".
61489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61491 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
61492             Mark Mitchell  <mark@codesourcery.com>
61493             Tom de Vries  <tom@codesourcery.com>
61494             Paul Pluzhnikov  <ppluzhnikov@google.com>
61496         * debug/tst-backtrace2.c: New file.
61497         * debug/tst-backtrace3.c: Likewise.
61498         * debug/tst-backtrace4.c: Likewise.
61499         * debug/tst-backtrace5.c: Likewise.
61500         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61501         (CFLAGS-tst-backtrace3.c): Likewise.
61502         (CFLAGS-tst-backtrace4.c): Likewise.
61503         (CFLAGS-tst-backtrace5.c): Likewise.
61504         (LDFLAGS-tst-backtrace2): Likewise.
61505         (LDFLAGS-tst-backtrace3): Likewise.
61506         (LDFLAGS-tst-backtrace4): Likewise.
61507         (LDFLAGS-tst-backtrace5): Likewise.
61508         (tests): Add new tests tst-backtrace2, tst-backtrace3,
61509         tst-backtrace4 and tst-backtrace5.
61511 2013-01-18  Anton Blanchard  <anton@samba.org>
61512             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61514         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61515         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61516         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61517         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61519         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61520         "+r" and remove output regs list as redundant.  Add explicit inline
61521         asm to specify register of return val to work around compiler codegen
61522         bug.  Remove (int) cast on return value.  Add return type parameter to
61523         use in macro so that this macro does not truncate return value for
61524         64-bit values.
61525         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61526         pass to INTERNAL_VSYSCALL_NCS.
61527         (INLINE_VSYSCALL): Add 'long int' as return type to
61528         INTERNAL_VSYSCALL_NCS macro invocation.
61529         (INTERNAL_VSYSCALL): Add 'long int' as return type to
61530         INTERNAL_VSYSCALL_NCS macro invocation.
61531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61533 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61535         [BZ #14496]
61536         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61537         Fix application of SIMD FP exception mask.
61539         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61540         mp_no from a power of two.
61541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61542         __mpexp_twomm1.  Use __pow_mp.
61544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61545         multiplication.
61547 2013-01-17  David S. Miller  <davem@davemloft.net>
61549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61551 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61553         [BZ #15023]
61554         * include/complex.h: Condition contents on [!_COMPLEX_H].
61555         (__kernel_casinhf): New prototype.
61556         (__kernel_casinh): Likewise.
61557         (__kernel_casinhl): Likewise.
61558         * math/Makefile (libm_calls): Add k_casinh.
61559         * math/k_casinh.c: New file.
61560         * math/k_casinhf.c: Likewise.
61561         * math/k_casinhl.c: Likewise.
61562         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61563         finite nonzero arguments.
61564         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61565         finite nonzero arguments.
61566         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61567         finite nonzero arguments.
61568         * math/s_casinh.c: Do not include <float.h>.
61569         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61570         * math/s_casinhf.c: Do not include <float.h>.
61571         (__casinhf): Move code for finite nonzero arguments to
61572         k_casinhf.c.
61573         * math/s_casinhl.c: Do not include <float.h>.
61574         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61575         redefine.
61576         (__casinhl): Move code for finite nonzero arguments to
61577         k_casinhl.c.
61578         * math/libm-test.inc (cacos_test): Add more tests.
61579         * sysdeps/i386/fpu/libm-test-ulps: Update.
61580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61582 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
61584         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61585         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61586         [!HAVE_MREMAP]: Remove [defined linux] case.
61587         * malloc/arena.c: Do not include <malloc-sysdep.h>.
61589 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61591         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61593 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
61595         * elf/elf.h (R_386_SIZE32): New relocation.
61596         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61597         R_386_SIZE32.
61598         (elf_machine_rela): Likewise.
61599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61600         R_X86_64_SIZE64 and R_X86_64_SIZE32.
61602 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61604         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61605         (FP_FAST_FMA): Do not define.
61606         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61607         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61608         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61609         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61610         !_SOFT_FLOAT]: Likewise.
61611         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61612         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61613         value.
61614         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61615         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61616         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61617         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61618         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61619         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61620         file.
61622 2013-01-16  Andreas Schwab  <schwab@suse.de>
61624         [BZ #14327]
61625         * include/stdlib.h (__mktemp): Add declaration.
61626         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61627         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61629 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61631         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61632         definitions.
61633         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61634         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61635         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61636         definitions here.
61637         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61638         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61639         definitions.
61640         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61641         and ONE.
61642         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61643         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61644         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61645         definitions.
61646         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61647         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61648         definitions.
61649         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61651         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61653 2013-01-15  David S. Miller  <davem@davemloft.net>
61655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61656         trunc{,f} to libm-sysdep_routes.
61657         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61659         file.
61660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61662         file.
61663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61664         file.
61665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61667         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61668         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61669         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61670         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61671         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61672         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61675         nearbyint{,f} to libm-sysdep_routes.
61676         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61678         New file.
61679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61680         file.
61681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61682         New file.
61683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61684         file.
61685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61687         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61688         file.
61689         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61690         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61691         file.
61692         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61693         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61694         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61696         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61697         libc_feholdexcept and libc_fesetenv.
61699 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
61701         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61703 2013-01-14  David S. Miller  <davem@davemloft.net>
61705         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61706         (SPARC_ASM_VIS2_IFUNC): Likewise.
61707         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61709         use of 'siam' instruction.
61710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61711         Likewise.
61712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61713         Likewise.
61714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61715         Likewise.
61716         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61717         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61718         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61721         file.
61722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61723         file.
61724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61725         file.
61726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61727         file.
61728         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61729         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61730         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61731         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61733         new VIS2 routines.
61734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61737         Likewise.
61738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61743         routines to libm-sysdep_routines.
61744         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61747         fdim/fdimf to libm-sysdep_routines.
61748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61749         file.
61750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61752         file.
61753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61756         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61757         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61758         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61759         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61761 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61763         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61764         to optimize copies.
61766         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61771         local variable MPTWO.
61772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61773         Likewise.
61775 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61777         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61778         GLOB_NOESCAPE.
61780 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61782         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61784 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61786         * manual/pattern.texi (glob_t): Document gl_flags.
61787         (glob64_t): Likewise.
61789 2013-01-11  David S. Miller  <davem@davemloft.net>
61791         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61792         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61793         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
61794         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61795         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61796         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61797         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61798         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61799         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61800         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61801         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61802         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61803         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61805         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61806         sparc V9 rather than using V8 code.
61807         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61808         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61810         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61811         Move to...
61812         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61813         Here.
61815 2013-01-11  Roland McGrath  <roland@hack.frob.com>
61817         [BZ #14941]
61818         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61819         not in the main loop.
61820         * configure: Regenerated.
61822 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
61824         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61825         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61826         to just #else.
61827         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
61828         [!__GLIBC_HAVE_LONG_LONG] case.
61829         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61830         condition to just #else.
61831         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61832         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61833         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61834         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61835         unconditional.
61836         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61837         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61838         #elif condition to just #else.
61839         * sysdeps/unix/sysv/linux/sys/sysmacros.h
61840         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61841         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61842         #elif condition to just #else.
61844 2013-01-11  Steve Ellcey  <sellcey@mips.com>
61846         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61847         (EF_MIPS_ARCH_64): Fix value.
61848         (EF_MIPS_ARCH_32R2): New.
61849         (EF_MIPS_ARCH_64R2): New.
61851 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
61853         * Makeconfig (+link-pie-before-libc): New.
61854         (+link-pie-after-libc): Likewise.
61855         (+link-pie-tests): Likewise.
61856         (+link-pie): Rewritten.
61857         (link-before-libc): Remove $(config-LDFLAGS).
61858         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61859         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61860         (config-LDFLAGS): Renamed to ...
61861         (rtld-LDFLAGS): This.
61862         (rtld-tests-LDFLAGS): New macro.
61863         (link-libc-rpath-link): Likewise.
61864         (link-libc-tests-rpath-link): Likewise.
61865         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61866         (link-libc): Prepand $(link-libc-rpath-link).
61867         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61868         (test-program-prefix): New macro.
61869         (test-via-rtld-prefix): Likewise.
61870         (test-program-cmd): Likewise.
61871         (host-test-program-cmd): Likewise.
61872         * Makefile ($(common-objpfx)testrun.sh): Replace
61873         $(run-program-prefix) with $(test-program-prefix).
61874         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61875         $(rtld-LDFLAGS).
61876         ($(common-objpfx)shlib.lds): Likewise.
61877         (build-module-helper): Likewise.
61878         ($(common-objpfx)format.lds): Likewise.
61879         * Rules (binaries-pie-tests): New.
61880         (binaries-pie-notests): Likewise.
61881         (binaries-pie): Rewritten.
61882         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61883         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61884         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61885         (make-test-out): Replace $(host-built-program-cmd) with
61886         $(host-test-program-cmd).
61887         * config.make.in (build-hardcoded-path-in-tests): New variable.
61888         * configure.in (--enable-hardcoded-path-in-tests): New configure
61889         option.
61890         (hardcoded_path_in_tests): New AC_SUBST.
61891         * configure: Regenerated.
61892         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61893         $(built-program-cmd) with $(test-program-cmd).
61894         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61895         (test_program_cmd): This.
61896         * elf/Makefile ($(objpfx)order.out): Run test with
61897         $(test-program-prefix).
61898         ($(objpfx)order2.out): Likewise.
61899         ($(objpfx)tst-initorder.out): Likewise.
61900         ($(objpfx)tst-initorder2.out): Likewise.
61901         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61902         $(test-program-cmd).
61903         ($(objpfx)tst-array1-static.out): Likewise.
61904         ($(objpfx)tst-array2.out): Likewise.
61905         ($(objpfx)tst-array3.out): Likewise.
61906         ($(objpfx)tst-array4.out): Likewise.
61907         ($(objpfx)tst-array5.out): Likewise.
61908         ($(objpfx)tst-array5-static.out): Likewise.
61909         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61910         $(test-program-cmd).
61911         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61912         $(run-program-prefix) with $(test-program-prefix).
61913         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61914         (test_program_prefix): This.
61915         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61916         $(run-program-prefix) with $(test-program-prefix).
61917         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61918         (test_program_prefix): This.
61919         * iconvdata/tst-tables.sh: Likewise.
61920         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61921         $(run-program-prefix) with $(test-program-prefix).
61922         ($(objpfx)tst-translit.out): Likewise.
61923         ($(objpfx)tst-gettext2.out): Likewise.
61924         ($(objpfx)tst-gettext4.out): Likewise.
61925         ($(objpfx)tst-gettext6.out): Likewise.
61926         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61927         (test_program_prefix): This.
61928         * intl/tst-gettext2.sh: Likewise.
61929         * intl/tst-gettext4.sh  Likewise.
61930         * intl/tst-gettext6.sh: Likewise.
61931         * intl/tst-translit.sh: Likewise.
61932         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61933         with $(test-program-cmd).
61934         * libio/Makefile ($(objpfx)test-freopen.out): Replace
61935         $(run-program-prefix) with $(test-program-prefix).
61936         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61937         (test_program_prefix): This.
61938         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61939         $(run-program-prefix) with $(test-program-prefix).
61940         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61941         (test_program_prefix): This.
61942         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61943         * posix/Makefile ($(objpfx)globtest.out): Replace
61944         $(run-via-rtld-prefix) and $(test-wrapper) with
61945         $(test-program-prefix) and $(test-via-rtld-prefix).
61946         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61947         $(test-program-prefix).
61948         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61949         $(host-test-program-cmd).
61950         (tst-spawn-ARGS): Likewise.
61951         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61952         $(test-program-prefix).
61953         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61954         (test_via_rtld_prefix): This.
61955         (test_wrapper): Renamed to ...
61956         (test_program_prefix): This.
61957         (run_program_prefix): Replaced by test_program_prefix.
61958         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61959         (test_program_prefix): This.
61960         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61961         with $(host-test-program-cmd).
61962         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61963         $(run-program-prefix) with $(test-program-prefix).
61964         ($(objpfx)tst-printf.out): Likewise.
61965         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61966         $(test-program-cmd).
61967         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61968         (test_program_prefix): This.
61969         * stdio-common/tst-unbputc.sh: Likewise.
61970         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61971         $(run-program-prefix) with $(test-program-prefix).
61972         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61973         (test_program_prefix): This.
61974         * string/Makefile ($(objpfx)tst-svc.out):  Replace
61975         $(built-program-cmd) with $(test-program-cmd).
61977 2013-01-11  Andreas Jaeger  <aj@suse.de>
61979         [BZ #15003]
61980         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61981         value. Sync with Linux 3.7.
61983 2013-01-10  David S. Miller  <davem@davemloft.net>
61985         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61986         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61987         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61989 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61991         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61992         never set.
61993         * configure: Regenerated.
61995 2013-01-10  David S. Miller  <davem@davemloft.net>
61997         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61998         sparc V9 rather than using V8 code.
61999         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62000         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62002 2013-01-10  Roland McGrath  <roland@hack.frob.com>
62004         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
62005         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
62006         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
62007         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
62008         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
62009         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
62010         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
62011         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
62012         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
62013         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
62014         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
62015         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
62016         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
62017         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
62018         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
62019         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
62020         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
62021         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
62022         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
62023         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
62024         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
62025         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
62026         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
62027         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
62028         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
62029         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
62030         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
62032 2013-01-10  David S. Miller  <davem@davemloft.net>
62034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62036 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
62038         * posix/Makefile (tests-static): New variable.
62039         (tests): Add $(tests-static).
62040         (tst-exec-static-ARGS): New variable.
62041         (tst-spawn-static-ARGS): Likewise.
62042         * posix/tst-exec-static.c: New file.
62043         * posix/tst-spawn-static.c: Likewise.
62044         * posix/tst-exec.c: Support run directly.
62045         * posix/tst-spawn.c: Likewise.
62047 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
62049         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62050         long.
62051         * math/bits/mathcalls.h (llrint): Likewise.
62052         (llround): Likewise.
62053         * stdlib/stdlib.h (struct drand48_data): Likewise.
62054         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
62055         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62056         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
62057         Likewise.
62058         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
62059         Likewise.
62060         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
62061         (elf_greg_t): Likewise.
62062         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62063         (__jmp_buf): Likewise.
62064         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
62065         definitions.
62066         (llrint): Likewise, for all definitions.
62067         (llrintl): Likewise.
62069         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
62070         Remove [__GNUC__] condition.
62071         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
62072         condition to just [__USE_ISOC99].
62073         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
62075 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
62077         [BZ #14200]
62078         * sysdeps/unix/sysv/linux/x86/bits/environments.h
62079         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
62080         defined.
62081         (_POSIX_V6_ILP32_OFF32): Likewise.
62082         (_XBS5_ILP32_OFF32): Likewise.
62083         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
62084         (__ILP32_OFFBIG_LDFLAGS): Likewise.
62086 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62088         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
62090         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
62091         doubles __mpexp_twomm1.  Adjust usage.
62092         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
62093         Remove.
62095 2013-01-10  Andreas Schwab  <schwab@suse.de>
62097         [BZ #14964]
62098         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
62099         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
62101 2013-01-09  David S. Miller  <davem@davemloft.net>
62103         [BZ #15003]
62104         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
62105         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
62106         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
62107         (TCP_FASTOPEN): Define.
62108         (tcp_repair_opt): New structure.
62109         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
62110         enum values.
62111         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
62112         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
62113         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
62114         (tcp_cookie_transactions): New structure.
62116 2013-01-09  Anton Blanchard  <anton@samba.org>
62118         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
62119         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
62120         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
62121         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
62123 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
62125         * include/features.h (__USE_ANSI): Remove.
62127 2013-01-09  Roland McGrath  <roland@hack.frob.com>
62129         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
62131         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
62133 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
62135         * sysdeps/s390/fpu/libm-test-ulps: Update.
62137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62139         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
62140         (__acr): Likewise.
62141         (__cpy): Likewise.
62142         (norm): Likewise.
62143         (denorm): Likewise.
62144         (__mp_dbl): Likewise.
62145         (__dbl_mp): Likewise.
62146         (add_magnitudes): Likewise.
62147         (sub_magnitudes): Likewise.
62148         (__add): Likewise.
62149         (__sub): Likewise.
62150         (__mul): Likewise.
62151         (__inv): Likewise.
62152         (__dvd): Likewise.
62153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62154         (__acr): Likewise.
62155         (__cpy): Likewise.
62156         (norm): Likewise.
62157         (denorm): Likewise.
62158         (__mp_dbl): Likewise.
62159         (__dbl_mp): Likewise.
62160         (add_magnitudes): Likewise.
62161         (sub_magnitudes): Likewise.
62162         (__add): Likewise.
62163         (__sub): Likewise.
62164         (__mul): Likewise.
62165         (__inv): Likewise.
62166         (__dvd): Likewise.
62167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62168         (__acr): Likewise.
62169         (__cpy): Likewise.
62170         (norm): Likewise.
62171         (denorm): Likewise.
62172         (__mp_dbl): Likewise.
62173         (__dbl_mp): Likewise.
62174         (add_magnitudes): Likewise.
62175         (sub_magnitudes): Likewise.
62176         (__add): Likewise.
62177         (__sub): Likewise.
62178         (__mul): Likewise.
62179         (__inv): Likewise.
62180         (__dvd): Likewise.
62182 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
62184         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62185         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62186         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62187         2 && __USE_EXTERN_INLINES]: Likewise.
62189 2013-01-08  Andreas Jaeger  <aj@suse.de>
62191         [BZ# 14985]
62192         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62193         Remove.
62194         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62195         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62197 2013-01-07  Anton Blanchard  <anton@samba.org>
62199         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62200         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62201         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62202         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62203         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62204         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62205         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62206         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62208         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62209         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62210         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62211         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62212         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62213         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62214         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62215         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62216         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62217         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62218         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62219         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62220         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62221         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62222         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62223         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62224         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62225         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62226         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62227         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62228         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62229         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62231         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62232         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62233         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62234         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62235         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62236         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62237         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62238         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62239         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62240         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62241         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62243 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
62245         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62246         (__MALLOC_PMT): Likewise.
62247         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62248         [__GNUC__], only on [_LIBC].
62249         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62250         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62251         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62252         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62253         forward declaration.
62254         (realloc_hook_ini): Likewise.
62255         (memalign_hook_ini): Likewise.
62256         (__libc_memalign): Do not use __MALLOC_PMT in variable
62257         declaration.
62258         (__libc_valloc): Likewise.
62259         (__libc_pvalloc): Likewise.
62260         (__libc_calloc): Likewise.
62261         (__posix_memalign): Likewise.
62263         [BZ #14996]
62264         * math/s_casinh.c: Include <float.h>.
62265         (__casinh): Do not do computation with squaring and square root
62266         for large arguments.
62267         * math/s_casinhf.c: Include <float.h>.
62268         (__casinhf): Do not do computation with squaring and square root
62269         for large arguments.
62270         * math/s_casinhl.c: Include <float.h>.
62271         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62272         (__casinhl): Do not do computation with squaring and square root
62273         for large arguments.
62274         * math/libm-test.inc (casin_test): Add more tests.
62275         (casinh_test): Likewise.
62276         * sysdeps/i386/fpu/libm-test-ulps: Update.
62277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62279 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
62281         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62282         (__x86_64_raw_data_cache_size): Likewise.
62283         (__x86_64_data_cache_size_half): Likewise.
62284         (__x86_64_raw_data_cache_size_half): Likewise.
62285         (__x86_64_shared_cache_size): Likewise.
62286         (__x86_64_raw_shared_cache_size): Likewise.
62287         (__x86_64_shared_cache_size_half): Likewise.
62288         (__x86_64_raw_shared_cache_size_half): Likewise.
62289         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62290         to ...
62291         (__x86_data_cache_size): This.
62292         (__x86_64_raw_data_cache_size): Renamed to ...
62293         (__x86_raw_data_cache_size): This.
62294         (__x86_64_data_cache_size_half): Renamed to ...
62295         (__x86_data_cache_size_half): This.
62296         (__x86_64_raw_data_cache_size_half): Renamed to ...
62297         (__x86_raw_data_cache_size_half): This.
62298         (__x86_64_shared_cache_size): Renamed to ...
62299         (__x86_shared_cache_size): This.
62300         (__x86_64_raw_shared_cache_size): Renamed to ...
62301         (__x86_raw_shared_cache_size): This.
62302         (__x86_64_shared_cache_size_half): Renamed to ...
62303         (__x86_shared_cache_size_half): This.
62304         (__x86_64_raw_shared_cache_size_half): Renamed to ...
62305         (__x86_raw_shared_cache_size_half): This.
62306         * sysdeps/x86_64/memcpy.S: Updated.
62307         * sysdeps/x86_64/memset.S: Likewise.
62308         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62309         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62310         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62312 2013-01-04  David S. Miller  <davem@davemloft.net>
62314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62316 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
62318         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62319         1 to avoid redefinition warning.
62320         (__USE_GNU): Don't define.
62321         (init_signaling_nan): Protoize.
62323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62325 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62327         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62329         (__cpymn): Likewise.
62330         (norm): Remove commented code.
62331         (denorm): Likewise.
62332         (__mp_dbl): Likewise.
62333         (__inv): Likewise.
62334         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62335         (__cpymn): Likewise.
62336         (norm): Remove commented code.
62337         (denorm): Likewise.
62338         (__mp_dbl): Likewise.
62339         (__inv): Likewise.
62341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62342         mp_no value for 1.0 and 2.0.
62343         (norm): Use RADIXI instead of radixi.d.
62344         (denorm): Likewise.
62345         (__mul): Use 0.0 instead of zero.d.
62346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62347         mp_no value for 1.0 and 2.0.
62348         (norm): Use RADIXI instead of radixi.d.
62349         (denorm): Likewise.
62350         (__mul): Use 0.0 instead of zero.d.
62352 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
62354         [BZ #14994]
62355         * math/s_casinh.c (__casinh): Reduce finite argument to first
62356         quadrant then set signs of results at the end.
62357         * math/s_casinhf.c (__casinhf): Likewise.
62358         * math/s_casinhl.c (__casinhl): Likewise.
62359         * math/libm-test.inc (casin_test): Add more tests.
62360         (casinh_test): Likewise.
62361         * sysdeps/i386/fpu/libm-test-ulps: Update.
62362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62364 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62366         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62368         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62370         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62371         declarations.
62372         (denorm): Likewise.
62373         (__mp_dbl): Likewise.
62374         (__inv): Likewise.
62376         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62377         and adjust the header comment.
62379         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62380         variable name from declaration.
62382 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
62384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62385         Initialize COMMON_CPUID_INDEX_7 element.
62386         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62387         (CPUID_RTM): Likewise.
62388         (HAS_RTM): Likewise.
62389         (COMMON_CPUID_INDEX_7): New enum.
62391 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
62393         [BZ #14981]
62394         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62395         size is zero, record memory as freed.
62397 2013-01-03  Andreas Jaeger  <aj@suse.de>
62399         * po/ia.po: Add new Interlingua translation.
62401 2012-01-03  Allan McRae  <allan@archlinux.org>
62403         * locale/programs/localedef.c: Fix description of '--posix' flag.
62405 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
62407         * NEWS: Update dates in second copyright notice.
62408         * README: Update copyright dates in example.
62409         * manual/libc.texinfo: Update copyright dates.
62410         * scripts/test-installation.pl: Update copyright date in --version
62411         output.
62413         * hurd/ctty-input.c: Fix copyright notice formatting.
62414         * hurd/ctty-output.c: Likewise.
62415         * hurd/dtable.c: Likewise.
62416         * hurd/hurd-raise.c: Likewise.
62417         * hurd/hurdprio.c: Likewise.
62418         * hurd/msgportdemux.c: Likewise.
62419         * misc/sys/file.h: Likewise.
62420         * misc/sys/ioctl.h: Likewise.
62421         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62422         * sysdeps/mach/hurd/chdir.c: Likewise.
62423         * sysdeps/mach/hurd/fchdir.c: Likewise.
62424         * sysdeps/mach/hurd/rename.c: Likewise.
62425         * sysdeps/mach/hurd/rmdir.c: Likewise.
62426         * sysdeps/mach/hurd/seekdir.c: Likewise.
62427         * sysdeps/mach/hurd/setsid.c: Likewise.
62428         * sysdeps/posix/wait3.c: Likewise.
62430         * All files with FSF copyright notices: Update copyright dates
62431         using scripts/update-copyrights.
62432         * intl/plural.c: Regenerated.
62433         * locale/programs/charmap-kw.h: Likewise.
62434         * locale/programs/locfile-kw.h: Likewise.
62436 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62438         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62439         four values.
62441         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62442         calculation loop and add branch prediction.
62444         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62445         check access beyond bounds of m1np.
62447         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62448         MPTWO.
62449         (__inv): Remove local variable MPTWO to use the global
62450         constant.
62451         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62452         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62453         variable MPTWO.
62454         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62455         MP3HALFS static const.
62457 2013-01-01  David S. Miller  <davem@davemloft.net>
62459         * po/ca.po: Update from translation team.
62461 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
62463         * scripts/update-copyrights: New file.
62464         * Makeconfig: Reformat copyright notice.
62465         * ctype/ctype.h: Likewise.
62466         * debug/swprintf_chk.c: Likewise.
62467         * elf/dl-cache.c: Likewise.
62468         * elf/dl-debug.c: Likewise.
62469         * elf/dl-object.c: Likewise.
62470         * grp/initgroups.c: Likewise.
62471         * hurd/Makefile: Likewise.
62472         * hurd/hurd/signal.h: Likewise.
62473         * hurd/hurdfault.c: Likewise.
62474         * hurd/hurdioctl.c: Likewise.
62475         * hurd/hurdlookup.c: Likewise.
62476         * hurd/intr-msg.c: Likewise.
62477         * iconv/gconv_open.c: Likewise.
62478         * libio/swprintf.c: Likewise.
62479         * locale/lc-ctype.c: Likewise.
62480         * locale/nl_langinfo.c: Likewise.
62481         * mach/Machrules: Likewise.
62482         * mach/Makefile: Likewise.
62483         * malloc/obstack.h: Likewise.
62484         * manual/Makefile: Likewise.
62485         * manual/tsort.awk: Likewise.
62486         * misc/bits/stab.def: Likewise.
62487         * nis/nis_print_group_entry.c: Likewise.
62488         * nis/nis_table.c: Likewise.
62489         * nis/nss_compat/compat-pwd.c: Likewise.
62490         * nis/nss_compat/compat-spwd.c: Likewise.
62491         * po/Makefile: Likewise.
62492         * posix/fnmatch.c: Likewise.
62493         * posix/regex.h: Likewise.
62494         * resolv/Makefile: Likewise.
62495         * resolv/nss_dns/dns-network.c: Likewise.
62496         * resolv/res_hconf.c: Likewise.
62497         * scripts/gen-sorted.awk: Likewise.
62498         * soft-fp/soft-fp.h: Likewise.
62499         * stdio-common/printf.h: Likewise.
62500         * stdlib/monetary.h: Likewise.
62501         * stdlib/random.c: Likewise.
62502         * stdlib/random_r.c: Likewise.
62503         * sysdeps/generic/Makefile: Likewise.
62504         * sysdeps/gnu/Makefile: Likewise.
62505         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62506         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62507         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62508         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62509         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62510         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62511         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62512         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62513         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62514         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62515         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62516         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62517         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62518         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62519         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62520         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62521         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62522         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62523         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62524         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62525         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62526         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62527         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62528         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62529         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62530         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62531         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62532         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62533         * sysdeps/mach/hurd/errnos.awk: Likewise.
62534         * sysdeps/mach/hurd/fork.c: Likewise.
62535         * sysdeps/mach/hurd/getcwd.c: Likewise.
62536         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62537         * sysdeps/mach/hurd/mmap.c: Likewise.
62538         * sysdeps/mach/hurd/utimes.c: Likewise.
62539         * sysdeps/mach/hurd/xmknod.c: Likewise.
62540         * sysdeps/posix/profil.c: Likewise.
62541         * sysdeps/posix/readdir_r.c: Likewise.
62542         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62543         * sysdeps/powerpc/bits/setjmp.h: Likewise.
62544         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62545         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62546         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62547         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62548         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62549         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62551         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62552         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62553         * sysdeps/pthread/lio_listio.c: Likewise.
62554         * sysdeps/sparc/dl-procinfo.h: Likewise.
62555         * sysdeps/unix/i386/sysdep.S: Likewise.
62556         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62557         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62558         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62559         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62561         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62562         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62563         * sysdeps/unix/sysv/linux/speed.c: Likewise.
62564         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62565         * sysdeps/wordsize-32/divdi3.c: Likewise.
62566         * time/sys/time.h: Likewise.
62567         * wcsmbs/Makefile: Likewise.
62569 2013-01-01  David S. Miller  <davem@davemloft.net>
62571         * po/fr.po: Update from translation team.
62573         * catgets/gencat.c: Update copyright year.
62574         * csu/version.c: Likewise.
62575         * debug/catchsegv.sh: Likewise.
62576         * debug/pcprofiledump.c: Likewise.
62577         * debug/xtrace.sh: Likewise.
62578         * elf/ldconfig.c: Likewise.
62579         * elf/ldd.bash.in: Likewise.
62580         * elf/pldd.c: Likewise.
62581         * elf/sotruss.ksh: Likewise.
62582         * elf/sprof.c: Likewise.
62583         * iconv/iconv_prog.c: Likewise.
62584         * iconv/iconvconfig.c: Likewise.
62585         * locale/programs/locale.c: Likewise.
62586         * locale/programs/localedef.c: Likewise.
62587         * login/programs/pt_chown.c: Likewise.
62588         * malloc/memusage.sh: Likewise.
62589         * malloc/memusagestat.c: Likewise.
62590         * malloc/mtrace.pl: Likewise.
62591         * nscd/nscd.c: Likewise.
62592         * nss/getent.c: Likewise.
62593         * nss/makedb.c: Likewise.
62594         * posix/getconf.c: Likewise.
62596 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62598         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62599         numbers.
62601 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
62603         * math/bits/mathcalls.h (modf): Use __nonnull.
62605 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62607         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62608         (split): Use macro CN instead of the bare value.
62609         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62610         could be used.
62611         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62612         instead of the bare value.
62613         (power1): Likewise.
62615 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62617         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62618         __ATAN_TWOM.
62619         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62621         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62622         their values.
62623         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62624         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62625         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62626         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62628 2012-12-28  Andreas Jaeger  <aj@suse.de>
62630         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
62631         values are from Linux 3.7.
62633         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62634         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
62636 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62638         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62639         TRUE case.
62641         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62642         (norm): Likewise.
62643         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62644         variables with preprocessor constants.
62645         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62646         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62647         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62649 2012-12-27  Bruno Haible  <bruno@clisp.org>
62651         [BZ #14317]
62652         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62653         only if needed.
62655 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62657         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62658         and use variable directly.
62659         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62661         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62662         MPONE.
62663         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62664         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62665         variable MPONE.
62666         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62668         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62669         include directive.  Remove local variable MPONE.
62670         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62671         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62672         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62674 2012-12-25  David S. Miller  <davem@davemloft.net>
62676         * version.h (RELEASE): Set to "development".
62677         (VERSION): Set to "2.17.90".
62678         * NEWS: Add 2.18 section.
62680 2012-12-21  David S. Miller  <davem@davemloft.net>
62682         * po/hr.po: Update from translation team.
62684 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62686         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62688 2012-12-19  Steve Ellcey  <sellcey@mips.com>
62690         * NEWS:  Mention new memcpy for MIPS.
62692 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62694         * manual/contrib.texi (Contributors): Spelling correction.
62696 2012-12-15  David S. Miller  <davem@davemloft.net>
62698         * po/ru.po: Update from translation team.
62700 2012-12-13  David S. Miller  <davem@davemloft.net>
62702         * NEWS: Mention IFUNC testsuite enhancements.
62704         * po/pl.po: Update from translation team.
62705         * po/bg.po: Likewise.
62707         * manual/contrib.texi (Contributors): Update entries for Hongjiu
62708         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
62710 2012-12-11  David S. Miller  <davem@davemloft.net>
62712         * po/sv.po: Update from translation team.
62714         * po/vi.po: Update from translation team.
62716         * po/cs.po: Update from translation team.
62718         * po/de.po: Update from translation team.
62719         * po/eo.po: Likewise.
62720         * po/nl.po: Likewise.
62722 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62724         [BZ #14246]
62725         * manual/argp.texi (Argp Helper Functions): Move node to follow
62726         Argp Parsing State.
62728         [BZ #14872]
62729         * manual/conf.texi (Limits on File System Capacity): Mention if
62730         terminating null is included in the max size.
62732 2012-12-10  Andreas Jaeger  <aj@suse.de>
62734         * po/cs.po: Update from translation team.
62736 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62738         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62739         void pointer and cast to uintptr_t.
62740         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62741         path.
62742         * sysdeps/s390/s390-64/memcpy.S: Likewise.
62743         * sysdeps/s390/s390-64/memset.S: Likewise.
62745 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
62747         [BZ #14833]
62748         * menual/message.texi (Message Translation): Fix typos.
62749         (Helper programs for gettext): Likewise.
62751 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
62753         [BZ #14898]
62754         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62755         Change to -1.
62757 2012-12-07  David S. Miller  <davem@davemloft.net>
62759         * po/libc.pot: Update.
62761 2012-12-07  Richard Henderson  <rth@redhat.com>
62763         [BZ #10114]
62764         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62765         normal/normal case to before the switch.
62766         (_FP_DIV): Likewise.
62768 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
62769             Mike Frysinger  <vapier@gentoo.org>
62771         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62772         check for __NR_fadvise64_64.
62774 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
62776         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62777         0, not just to plain "0" as a statement.
62778         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62779         with cw.
62781 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
62783         * NEWS: Use sourceware.org in Bugzilla URL.
62785 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62788         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62790         * stdio-common/tst-put-error.c (do_test): Add newline to the
62791         padded test to ensure flush.
62793 2012-12-05  Jeff Law  <law@redhat.com>
62795         * sunrpc/etc.rpc (fedfs_admin): Add entry.
62797 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
62799         * README: Don't refer to ports add-on as distributed separately.
62800         Mention AArch64 in list of systems supported in the ports add-on.
62802         * LICENSES: Add more non-FSF copyright and license notices.
62804         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62805         ((unused)).
62807         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62809         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62810         10000 as width of padded output.
62812 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62814         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62816         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62817         variable LX with __attribute__ ((unused)).
62818         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62819         Likewise.
62820         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62821         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62822         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62823         with __attribute__ ((unused)).
62825 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
62827         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62829 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62831         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62832         (CFLAGS-nldbl-acos.c): New variable.
62833         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62834         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62835         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62836         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62837         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62838         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62839         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62840         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62841         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62842         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62843         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62844         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62845         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62846         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62847         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62848         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62849         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62850         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62851         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62852         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62853         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62854         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62855         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62856         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62857         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62858         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62859         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62860         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62861         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62862         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62863         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62864         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62865         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62866         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62867         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62868         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62869         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62870         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62871         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62872         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62873         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62874         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62875         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62876         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62877         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62878         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62879         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62880         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62881         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62882         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62883         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62884         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62885         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62886         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62887         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62888         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62889         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62890         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62891         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62892         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62893         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62894         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62895         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62896         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62897         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62898         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62899         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62900         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62901         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62902         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62903         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62904         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62905         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62906         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62907         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62908         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62909         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62910         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62911         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62912         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62913         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62914         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62915         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62916         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62917         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62918         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62919         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62920         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62921         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62922         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62923         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62924         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62925         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62926         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62927         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62928         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62929         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62932         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62934         [BZ #14914]
62935         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62936         whole low double instead of just low 47 bits when splitting values
62937         into two parts.
62939 2012-12-03  Allan McRae  <allan@archlinux.org>
62941         * manual/stdio.texi (Predefined Printf Handlers): Remove
62942         @hsep and @vsep usage.
62944 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
62946         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62947         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62949 2012-12-03  Jeff Law  <law@redhat.com>
62951         * time/sys/time.h (settimeofday): Do not mark TV argument
62952         as __nonnull.
62954 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
62956         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62957         when currently writing and seek to current position when not.
62958         * libio/Makefile (tests): Remove bug-fclose1.
62959         * libio/bug-fclose1.c: Delete.
62961 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
62963         * manual/arith.texi (feenableexcept): Fix typo.
62964         (fedisableexcept): Likewise.
62966 2012-11-30  Roland McGrath  <roland@hack.frob.com>
62968         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62969         second, differently-typed declaration, rather than a cast.
62971 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62973         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62974         * include/rpc/svc.h: ... here.
62976 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
62978         [BZ #13013]
62979         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62980         depending n and resplen2 to catch cases where answer
62981         equals answerp2.
62983 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
62985         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62986         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62988 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
62990         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62992 2012-11-29  Roland McGrath  <roland@hack.frob.com>
62994         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62996 2012-11-28  Jeff Law  <law@redhat.com>
62998         [BZ #13761]
62999         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
63000         dataset_temporary.  Track alloca usage into alloca_used.
63001         If dataset is large allocate and release it via malloc/free.
63003 2012-06-04  Florian Weimer  <fweimer@redhat.com>
63005         [BZ #14197]
63006         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
63008 2012-11-28  David S. Miller  <davem@davemloft.net>
63010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63012 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
63014         [BZ #14803]
63015         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
63016         of pi/2 rounded to nearest to 64 bits.
63017         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
63018         nearest to 64 bits.
63019         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
63020         bits.
63022 2012-11-28  Jeff Law <law@redhat.com>
63023             Martin Osvald <mosvald@redhat.com>
63025         [BZ #14889]
63026         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
63027         * sunrpc/svc.c: Include time.h.
63028         (__svc_accept_failed): New function.
63029         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
63030         any reason other than EINTR, call __svc_accept_failed.
63031         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
63032         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
63034 2012-11-28  Andreas Schwab  <schwab@suse.de>
63036         * scripts/abilist.awk: Also handle indirect functions in .opd
63037         section.
63039 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
63041         [BZ #13881]
63042         * sysdeps/x86/fpu/powl_helper.c: New file.
63043         * sysdeps/x86/fpu/Makefile: Likewise.
63044         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
63045         (p3): New object.
63046         (__ieee754_powl): Use __powl_helper for finite arguments except
63047         integer exponents below 8.
63048         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
63049         (p3): New object.
63050         (__ieee754_powl): Use __powl_helper for finite arguments except
63051         integer exponents below 8.
63052         * math/libm-test.inc (pow_test): Add more tests and enable some
63053         previously disabled tests.
63054         * sysdeps/i386/fpu/libm-test-ulps: Update.
63055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63057 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63058             Carlos O'Donell  <carlos_odonell@mentor.com>
63060         * nss/makedb.c (is_prime): Assert that input is odd and greater
63061         than 4.  Note that fact in a comment too.
63062         (next_prime): Add 4 to input.
63064 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63066         [BZ #11741]
63067         * libio/Makefile (tests): Add test case tst-fwrite-error.
63068         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
63069         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
63070         * libio/tst-fwrite-error.c: New test case.
63072 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
63074         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
63075         before casting to void *.
63076         * include/libc-internal.h (__pointer_type): New macro.
63077         (__integer_if_pointer_type_sub): Likewise.
63078         (__integer_if_pointer_type): Likewise.
63079         (cast_to_integer): Likewise.
63080         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
63081         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
63082         before casting to atomic64_t.
63083         (atomic_exchange_acq): Likewise.
63084         (__arch_exchange_and_add_body): Likewise.
63085         (__arch_add_body): Likewise.
63086         (atomic_add_negative): Likewise.
63087         (atomic_add_zero): Likewise.
63089 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
63091         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
63092         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
63093         (add_fdes): Likewise.
63094         (linear_search_fdes): Likewise.
63095         (binary_search_unencoded_fdes): Likewise.
63097 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
63099         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
63101 2012-11-24  Adam Conrad  <adconrad@0c3.net>
63103         * configure.in: Autodetect C++ header directories.
63104         * configure: Regenerated.
63106 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
63108         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
63110 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
63112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63114 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
63116         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
63117         LDBL_MANT_DIG == 106]: Disable some tests.
63118         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63119         Likewise.
63120         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63121         Likewise.
63123         [BZ #14871]
63124         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
63125         input for small inputs.  Return +/- pi/2 for large inputs.
63126         * math/libm-test.inc (atan_test): Add more tests.
63128         * sysdeps/generic/unwind-dw2-fde-glibc.c
63129         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
63130         __attribute__ ((unused)).
63132         [BZ #14645]
63133         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63134         x * y if x and y are nonzero and z is zero.
63136         [BZ #14811]
63137         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
63138         nonzero exponents with absolute value below 0x1p-117 to +/-
63139         0x1p-117.
63141         [BZ #14869]
63142         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
63143         up arguments below 2**-450, not just those below 2**-500.
63144         * math/libm-test.inc (hypot_test): Add another test.
63146         [BZ #14868]
63147         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63148         Return a+b for ratio over 2**120, not 2**60.
63149         * math/libm-test.inc (hypot_test): Add another test.
63151         * math/libm-test.inc (clog_test): Use
63152         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63153         (clog10_test): Likewise.
63155         [BZ #6778]
63156         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63158 2012-11-22  Andreas Schwab  <schwab@suse.de>
63160         * sysdeps/i386/fpu/libm-test-ulps: Update.
63162 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
63164         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63165         printf output with newline.
63167 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
63169         [BZ #14865]
63170         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63171         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63172         -z nodlopen, -z initfirst and -z execstack support.
63173         * configure: Regenerated.
63175         * elf/elf.h (DF_1_NODIRECT): New macro.
63176         (DF_1_IGNMULDEF): Likewise.
63177         (DF_1_NOKSYMS): Likewise.
63178         (DF_1_NOHDR): Likewise.
63179         (DF_1_EDITED): Likewise.
63180         (DF_1_NORELOC): Likewise.
63181         (DF_1_SYMINTPOSE): Likewise.
63182         (DF_1_GLOBAUDIT): Likewise.
63183         (DF_1_SINGLETON): Likewise.
63184         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63185         DT_1_SUPPORTED_MASK bits.
63186         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63188 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
63190         * sysdeps/unix/make-syscalls.sh: Document prefixes.
63192 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
63194         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63195         macro.
63197         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63198         (sendmmsg): Move declarations...
63199         * socket/sys/socket.h: ... here.
63200         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63201         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63202         include it from...
63203         * socket/recvmmsg.c: ... this new file.
63204         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63205         (sendmmsg): Rename to __sendmmsg, create weak alias and make
63206         definition of __sendmmsg hidden.
63207         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63208         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63209         Move ENOSYS stub into and include it from...
63210         * socket/sendmmsg.c: ... this new file.
63211         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63212         (sysdep_routines): Move recvmmsg and sendmmsg...
63213         * socket/Makefile (routines): ... here.
63214         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63215         (GLIBC_PRIVATE): Add __sendmmsg.
63216         * include/sys/socket.h (__sendmmsg): Add declarations.
63217         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63218         sendmmsg.
63220 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
63222         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63223         variable I1 with __attribute__ ((unused)).
63224         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63226 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63228         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63229         DUMMY variables with __attribute__ ((unused)).
63231         * bits/byteswap.h: Include <bits/types.h>.
63232         (__bswap_64): Use __uint64_t instead of unsigned long long int.
63234 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63236         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63237         string_t.  Do not manually set errno.
63238         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63239         length with __strnlen.  Make sure to both set errno and return it on
63240         failure.
63242 2012-11-19  David S. Miller  <davem@davemloft.net>
63244         With help from Joseph Myers.
63245         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63246         very large arguments properly.
63247         * math/libm-test.inc (atan_test): New tests.
63248         (atan2_test): New tests.
63249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63252 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63254         [BZ #14856]
63255         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63256         Define to 3.
63258         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63259         [POSIX] (EADDRNOTAVAIL): Likewise.
63260         [POSIX] (EAFNOSUPPORT): Likewise.
63261         [POSIX] (EALREADY): Likewise.
63262         [POSIX] (ECONNABORTED): Likewise.
63263         [POSIX] (ECONNREFUSED): Likewise.
63264         [POSIX] (ECONNRESET): Likewise.
63265         [POSIX] (EDESTADDRREQ): Likewise.
63266         [POSIX] (EDQUOT): Likewise.
63267         [POSIX] (EHOSTUNREACH): Likewise.
63268         [POSIX] (EIDRM): Likewise.
63269         [POSIX] (EISCONN): Likewise.
63270         [POSIX] (ELOOP): Likewise.
63271         [POSIX] (EMULTIHOP): Likewise.
63272         [POSIX] (ENETDOWN): Likewise.
63273         [POSIX] (ENETUNREACH): Likewise.
63274         [POSIX] (ENOBUFS): Likewise.
63275         [POSIX] (ENODATA): Likewise.
63276         [POSIX] (ENOLINK): Likewise.
63277         [POSIX] (ENOMSG): Likewise.
63278         [POSIX] (ENOPROTOOPT): Likewise.
63279         [POSIX] (ENOSR): Likewise.
63280         [POSIX] (ENOSTR): Likewise.
63281         [POSIX] (ENOTCONN): Likewise.
63282         [POSIX] (ENOTSOCK): Likewise.
63283         [POSIX] (EOPNOTSUPP): Likewise.
63284         [POSIX] (EOVERFLOW): Likewise.
63285         [POSIX] (EPROTO): Likewise.
63286         [POSIX] (EPROTONOSUPPORT): Likewise.
63287         [POSIX] (EPROTOTYPE): Likewise.
63288         [POSIX] (ESTALE): Likewise.
63289         [POSIX] (ETIME): Likewise.
63290         [POSIX] (ETXTBSY): Likewise.
63291         [POSIX] (EWOULDBLOCK): Likewise.
63292         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63293         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63294         [POSIX] (SEEK_CUR): Likewise.
63295         [POSIX] (SEEK_END): Likewise.
63296         [POSIX || UNIX98] (mode_t): Do not require.
63297         [POSIX] (off_t): Likewise.
63298         [POSIX] (pid_t): Likewise.
63299         [POSIX] (sys/stat.h): Do not allow header.
63300         [POSIX] (unistd.h): Likewise.
63301         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63302         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63303         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63304         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63305         require.
63306         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63307         sigevent): Specify elements.
63308         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63309         entry.
63310         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63311         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63313         * conform/data/cpio.h-data [POSIX]: Disable whole file.
63314         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63315         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63316         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63317         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63318         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63319         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63320         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63321         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63322         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63323         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63324         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63325         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63326         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63327         Likewise.
63328         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63329         Likewise.
63330         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63331         Likewise.
63332         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63333         Likewise.
63334         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63335         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63336         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63337         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63338         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63339         Specify lower bound on value.
63340         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63341         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63342         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63343         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63344         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63345         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63346         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63347         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63348         value.
63349         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63350         as optional.
63351         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63352         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63353         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63354         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63355         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63356         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63357         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63358         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63359         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63360         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63361         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63362         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63363         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63364         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63365         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63366         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63367         entry.
63368         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63369         optional.
63370         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63371         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63372         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63373         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63374         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63375         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63376         Likewise.
63377         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63378         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63379         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63380         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63381         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
63382         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63383         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63384         as optional.
63385         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63386         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63387         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63388         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63389         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63390         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63391         specify as optional.
63392         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63393         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63394         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63395         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63396         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63397         [XPG3] (NL_LANGMAX): Likewise.
63398         [POSIX || XPG3] (NL_MSGMAX): Likewise.
63399         [POSIX || XPG3] (NL_NMAX): Likewise.
63400         [POSIX || XPG3] (NL_SETMAX): Likewise.
63401         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63402         [XPG3] (NZERO): Likewise.
63403         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63404         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63405         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63406         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63407         (REG_ERANGE): Expect.
63408         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63409         optional-constant.
63410         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63411         Use (void) in prototype.
63412         [POSIX] (*_t): Allow.
63413         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63414         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63415         (WRDE_BADVAL): Expect.
63417         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63418         expect.
63419         [XPG3 || XPG4] (O_RSYNC): Likewise.
63420         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63421         Likewise.
63422         [XPG3 || XPG4] (pthread_sigmask): Likewise.
63423         [XPG3 || XPG4] (sigqueue): Likewise.
63424         [XPG3 || XPG4] (sigtimedwait): Likewise.
63425         [XPG3 || XPG4] (sigwaitinfo): Likewise.
63426         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63427         [XPG3 || XPG4] (vsnprintf): Likewise.
63428         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63429         Likewise.
63430         [XPG3 || XPG4] (blksize_t): Likewise.
63431         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63432         Likewise.
63433         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63434         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63435         [XPG3 || XPG4] (struct itimerspec): Likewise.
63436         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63437         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63438         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63439         [XPG3 || XPG4] (clockid_t): Likewise.
63440         [XPG3 || XPG4] (timer_t): Likewise.
63441         [XPG3 || XPG4] (clock_getres): Likewise.
63442         [XPG3 || XPG4] (clock_gettime): Likewise.
63443         [XPG3 || XPG4] (clock_settime): Likewise.
63444         [XPG3 || XPG4] (nanosleep): Likewise.
63445         [XPG3 || XPG4] (timer_create): Likewise.
63446         [XPG3 || XPG4] (timer_delete): Likewise.
63447         [XPG3 || XPG4] (timer_gettime): Likewise.
63448         [XPG3 || XPG4] (timer_getoverrun): Likewise.
63449         [XPG3 || XPG4] (timer_settime): Likewise.
63450         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63451         [XPG3 || XPG4] (getlogin_r): Likewise.
63452         [XPG3 || XPG4] (pread): Likewise.
63453         [XPG3 || XPG4] (pthread_atfork): Likewise.
63454         [XPG3 || XPG4] (pwrite): Likewise.
63456         [BZ #14835]
63457         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63458         <bits/siginfo.h>.
63460 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63462         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63463         finalizing MALLSTREAM.
63465         * sysdeps/mach/hurd/syncfs.c: New file.
63467 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63469         [BZ #14719]
63470         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63471         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63472         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63473         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63474         (_nss_dns_gethostbyname4_r): Likewise.
63475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63476         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63478 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
63480         [BZ #13763]
63481         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63483 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
63485         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63486         * elf/cache.c (print_entry): Print ",AArch64" for
63487         FLAG_AARCH64_LIB64
63489         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63490         * elf/cache.c (print_entry): Print ",hard-float" for
63491         FLAG_ARM_LIBHF.
63493 2012-11-18  David S. Miller  <davem@davemloft.net>
63495         With help from Joseph Myers.
63496         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63497         cutoff to 2**-13.
63498         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63499         cutoff to 2**-25.
63500         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63501         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63502         small.
63503         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63504         * math/libm-test.inc (y0_test): New tests.
63505         (y1_test): New tests.
63506         * sysdeps/i386/fpu/libm-test-ulps: Update.
63507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63510 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
63512         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63513         64-bit targets.
63514         * configure: Regenerated.
63516 2012-11-17  David S. Miller  <davem@davemloft.net>
63518         [BZ #14811]
63519         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63520         nonzero exponents with absolute value below 0x1p-128 to +/-
63521         0x1p-128.
63523 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
63525         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63527         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63529         * posix/getconf-speclist.c: New file.
63530         * posix/posix-envs.def: Likewise.
63531         * posix/confstr.c (START_ENV_GROUP): New macro.
63532         (END_ENV_GROUP): Likewise.
63533         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63534         (KNOWN_PRESENT_ENV_STRING): Likewise.
63535         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63536         (UNKNOWN_ENVIRONMENT): Likewise.
63537         (confstr): Include posix-envs.def instead of handling
63538         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63539         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63540         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63541         (END_ENV_GROUP): Likewise.
63542         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63543         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63544         (UNKNOWN_ENVIRONMENT): Likewise.
63545         (__sysconf): Include posix-envs.def instead of handling associated
63546         cases directly here.
63547         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63548         preprocessing getconf-speclist.c rather than running getconf or
63549         generating empty file.
63551 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
63553         * scripts/check-local-headers.sh: Ignore 'mach' headers.
63555 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
63557         [BZ #14672]
63558         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63560 2012-11-16  David S. Miller  <davem@davemloft.net>
63562         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63563         smaller than LDBL_EPSILON/2.0L, just return xm1.
63565 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
63567         * elf/tst-array1.c (init): Set constructor priority to 1000.
63568         (fini): Set destructor priority to 1000.
63569         * elf/tst-array2dep.c: Likewise.
63571 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63573         [BZ #11741]
63574         * libio/fileops.c (_IO_new_file_write): Correctly return error.
63575         (_IO_new_file_xsputn): Also return EOF if none of the input
63576         data was written when overflow failed.
63577         * libio/iopadn.c (_IO_padn): Likewise.
63578         * libio/iowpadn.c (_IO_wpadn): Likewise.
63579         * stdio-common/tst-put-error.c: Add copyright notice.
63580         (do_test): Add case for printing padded string.
63581         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63582         _IO_padn returned error.
63583         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63584         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63585         return EOF.
63587 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63589         * libio/libioP.h: Add comment note that the references to C++
63590         bits are now obsolete.
63592 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63594         * math/libm-test.inc (check_complex): Use asprintf.
63596 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
63598         * debug/pcprofiledump.c (print_version): Update copyright year.
63599         * malloc/memusagestat.c (print_version): Likewise.
63601 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
63603         [BZ #14831]
63604         * elf/Makefile (tests): Add tst-audit8.
63605         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63606         ($(objpfx)tst-audit8.out): New target.
63607         (tst-audit8-ENV): New variable.
63608         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63609         audit if l_reloc_result is NULL.
63610         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63611         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63612         * elf/tst-audit8.c: New file.
63614 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63616         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63617         * misc/Makefile (CFLAGS-select.c): Define.
63618         * posix/Makefile (CFLAGS-pause.c): Define.
63620 2012-11-13  David S. Miller  <davem@davemloft.net>
63622         * crypt/Makefile: Move test targets after toplevel Rules
63623         inclusion.  Grab any necessary sysdep routines when linking.
63624         * crypt/md5.c (md5_process_block): Remove define, we will always
63625         name it __md5_process_block.
63626         (md5_finish_ctx): Update md5_process_block call.
63627         (md5_stream): Likewise.
63628         (md5_process_bytes): Likewise.
63629         (md5_process_block): Rename to __md5_process_block and move to ...
63630         * crypt/md5-block.c: ... here.
63631         * crypt/sha256.c (sha256_process_block): Move to ...
63632         * crypt/sha256-block.c: ... here.
63633         * crypt/sha512.c (sha512_process_block): Move to ...
63634         * crypt/sha512-block.c: ... here.
63635         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63636         path.
63637         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63638         * sysdeps/sparc/sparc64/multiarch/Makefile
63639         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63640         crypt subdir.
63641         (localedef-aux): Add md5 crypto assembler when in locale subdir.
63642         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63643         multiarch changes.
63644         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63645         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63646         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63647         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63648         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63649         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63650         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63651         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63652         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63653         file.
63654         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63655         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63656         file.
63657         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63659 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
63661         * timezone/tzselect.ksh: Update from tzcode git revision
63662         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63663         * timezone/zdump.c: Likewise.
63664         * timezone/zic.c: Likewise.
63665         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63666         in TZVERSION setting, not $(PKGVERSION).
63667         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
63668         REPORT_BUGS_TO settings.
63670         [BZ #14838]
63671         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63672         macro.
63674 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63676         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63677         detection to immediately after _FP_ROUND().
63678         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63679         bits are 0.
63681 2012-11-11  David S. Miller  <davem@davemloft.net>
63683         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63684         inttypes.h
63685         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63686         __close rather than their public counterparts.
63688 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
63690         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63691         file.
63692         [UNIX98] (sem_timedwait): Do not expect.
63693         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63694         [XPG4 || UNIX98] (sockatmark): Do not expect.
63695         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63696         (clock_getcpuclockid): Do not expect.
63697         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63698         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63699         Do not expect.
63700         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63701         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63702         [UNIX98] (vwscanf): Likewise.
63703         [UNIX98] (vswscanf): Likewise.
63705 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
63707         * timezone/version.h: Remove file.
63708         * timezone/README: Do not refer to version.h.
63709         * timezone/Makefile ($(objpfx)zic.o): New dependency on
63710         $(objpfx)version.h.
63711         ($(objpfx)zdump.o): Likewise.
63712         ($(objpfx)version.h): New target.
63714         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63715         2012i.
63716         * timezone/README: Don't mention modification to tzselect.ksh.
63717         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63718         work on unmodified tzselect.ksh.  Substitute version numbers in
63719         tzselect.ksh.
63721         * Makefile (format-me): Remove.
63722         (INSTALL): Adjust indentation.  Use commands directly instead of
63723         using $(format-me).
63725         * aclocal.m4 (ACX_PKGVERSION): New macro.
63726         (ACX_BUGURL): Likewise.
63727         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63728         (PKGVERSION): New AC_DEFINE_UNQUOTED.
63729         (REPORT_BUGS_TO): Likewise.
63730         * configure: Regenerated.
63731         * config.h.in (PKGVERSION): New macro.
63732         (REPORT_BUGS_TO): Likewise.
63733         * config.make.in (PKGVERSION): New variable.
63734         (PKGVERSION_TEXI): Likewise.
63735         (REPORT_BUGS_TO): Likewise.
63736         (REPORT_BUGS_TEXI): Likewise.
63737         * Makefile (format-me): Use -I$(common-objpfx)manual.
63738         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63739         ($(common-objpfx)manual/%): New target.
63740         (manual/%): Remove target.
63741         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63742         (print_version): Use PKGVERSION.
63743         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63744         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63745         and REPORT_BUGS_TO.
63746         ($(objpfx)xtrace): Likewise.
63747         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63748         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63749         (print_version): Use PKGVERSION.
63750         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63751         (do_version): Use PKGVERSION.
63752         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63753         REPORT_BUGS_TO.
63754         (common-ldd-rewrite): Likewise.
63755         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63756         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63757         (print_version): Use PKGVERSION.
63758         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63759         * elf/pldd.c (argp_program_bug_address): Remove variable.
63760         (more_help): New function.
63761         (argp): Use more_help.
63762         (print_version): Use PKGVERSION.
63763         * elf/sln.c (main): Use PKGVERSION.
63764         (usage): Use REPORT_BUGS_TO.
63765         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63766         (top level): Use PKGVERSION.
63767         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63768         (print_version): Use PKGVERSION.
63769         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63770         (print_version): Use PKGVERSION.
63771         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63772         (print_version): Use PKGVERSION.
63773         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63774         (print_version): Use PKGVERSION.
63775         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63776         (print_version): Use PKGVERSION.
63777         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63778         (print_version): Use PKGVERSION.
63779         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63780         and BUGURL.
63781         ($(objpfx)memusage): Likewise.
63782         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63783         (do_version): Use PKGVERSION.
63784         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63785         (print_version): Use PKGVERSION.
63786         * malloc/mtrace.pl ($PACKAGE): Remove variable.
63787         ($PKGVERSION): New variable.
63788         ($REPORT_BUGS_TO): Likewise.
63789         (usage): Use $REPORT_BUGS_TO.
63790         (top level): Use $PKGVERSION.
63791         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63792         ($(objpfx)pkgvers.texi): New rule.
63793         ($(objpfx)stamp-pkgvers): Likewise.
63794         * manual/install.texi: Include pkgvers.texi.
63795         (--with-pkgversion): Document new configure option.
63796         (--with-bugurl): Likewise.
63797         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63798         than necessarily for this particular distribution.  Use
63799         REPORT_BUGS_TO for where to report bugs.
63800         * INSTALL: Regenerated.
63801         * manual/libc.texinfo: Include pkgvers.texi.
63802         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63803         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63804         (print_version): Use PKGVERSION.
63805         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63806         (print_version): Use PKGVERSION.
63807         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63808         (print_version): Use PKGVERSION.
63809         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63810         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63811         macro.
63812         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63813         (print_version): Use PKGVERSION.
63814         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63815         (print_version): Use PKGVERSION.
63816         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63817         and PKGVERSION.
63819         * timezone/checktab.awk: Update from tzcode 2012i.
63820         * timezone/ialloc.c: Likewise.
63821         * timezone/private.h: Likewise.
63822         * timezone/scheck.c: Likewise.
63823         * timezone/tzfile.h: Likewise.
63824         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63825         (TZVERSION): Hardcode tzcode version number.
63826         * timezone/zdump.c: Update from tzcode 2012i.
63827         * timezone/zic.c: Likewise.
63828         * timezone/version.h: New file.
63829         * timezone/README: Describe version.h.  Update upstream location.
63831         [BZ #14824]
63832         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63833         (mktemp): Enable declaration.
63834         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63835         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63836         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63837         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63838         Likewise.
63839         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63840         Likewise.
63841         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63842         Likewise.
63843         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63844         Likewise.
63845         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63846         Likewise.
63847         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63848         Likewise.
63850         [BZ #14821]
63851         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63852         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
63853         for copies of such integer values.
63854         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63855         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63857 2012-11-09  Andreas Jaeger  <aj@suse.de>
63859         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63860         definitions and declarations that are provided by
63861         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63863 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63865         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63866         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63867         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63868         definition.
63870 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63872         * elf/elf.h: Update comment before AArch64 relocations.
63874 2012-11-07  David S. Miller  <davem@davemloft.net>
63876         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63877         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63878         (__start_context): Declare.
63879         (__makecontext_ret): Delete.
63880         (__makecontext): Hook up __start_context instead of
63881         __makecontext_ret.
63882         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63883         (sysdep_routines): Add __start_context when in stdlib.
63885 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63887         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63888         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63889         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
63890         hardcoded "nm".
63891         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
63892         (READELF): New variable.  Use it instead of hardcoded "readelf".
63894 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63896         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63897         * sysdeps/x86/Makefile: Here.
63898         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63899         * sysdeps/x86/tst-xmmymm.sh: This.
63901 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63903         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63904         expectations.
63905         [UNIX98] (pthread_barrier_t): Do not expect.
63906         [UNIX98] (pthread_barrierattr_t): Likewise.
63907         [UNIX98] (pthread_spinlock_t): Likewise.
63908         [UNIX98] (pthread_barrier_destroy): Likewise.
63909         [UNIX98] (pthread_barrier_init): Likewise.
63910         [UNIX98] (pthread_barrier_wait): Likewise.
63911         [UNIX98] (pthread_barrierattr_destroy): Likewise.
63912         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63913         [UNIX98] (pthread_barrierattr_init): Likewise.
63914         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63915         [UNIX98] (pthread_getcpuclockid): Likewise.
63916         [UNIX98] (pthread_mutex_timedlock): Likewise.
63917         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63918         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63919         [UNIX98] (pthread_sigmask): Likewise.
63920         [UNIX98] (pthread_spin_destroy): Likewise.
63921         [UNIX98] (pthread_spin_init): Likewise.
63922         [UNIX98] (pthread_spin_lock): Likewise.
63923         [UNIX98] (pthread_spin_trylock): Likewise.
63924         [UNIX98] (pthread_spin_unlock): Likewise.
63925         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63926         Do not expect.
63927         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63928         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63929         [XPG3 || XPG4] (pthread_cond_t): Likewise.
63930         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63931         [XPG3 || XPG4] (pthread_key_t): Likewise.
63932         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63933         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63934         [XPG3 || XPG4] (pthread_once_t): Likewise.
63935         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63936         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63937         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63938         [XPG3 || XPG4] (pthread_t): Likewise.
63940         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63941         not expect.
63942         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63944         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63945         Change function return type to int.
63947         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63948         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63949         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63950         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63951         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63952         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63953         [!POSIX] (posix_madvise): Likewise.
63954         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63955         && !UNIX98].
63956         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63957         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63958         (mode_t): Likewise.
63959         (posix_mem_offset): Likewise.
63960         (posix_typed_mem_get_info): Likewise.
63961         (posix_typed_mem_open): Likewise.
63963         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63964         Change condition to [XOPEN2K8].
63966         * conform/conformtest.pl: Preprocess allow-header data with -x c
63967         instead of from stdin.
63968         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63969         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63970         [C99-based standards] (cerfc): Likewise.
63971         [C99-based standards] (cexp2): Likewise.
63972         [C99-based standards] (cexpm1): Likewise.
63973         [C99-based standards] (clog10): Likewise.
63974         [C99-based standards] (clog1p): Likewise.
63975         [C99-based standards] (clog2): Likewise.
63976         [C99-based standards] (clgamma): Likewise.
63977         [C99-based standards] (ctgamma): Likewise.
63978         [C99-based standards] (cerff): Likewise.
63979         [C99-based standards] (cerfcf): Likewise.
63980         [C99-based standards] (cexp2f): Likewise.
63981         [C99-based standards] (cexpm1f): Likewise.
63982         [C99-based standards] (clog10f): Likewise.
63983         [C99-based standards] (clog1pf): Likewise.
63984         [C99-based standards] (clog2f): Likewise.
63985         [C99-based standards] (clgammaf): Likewise.
63986         [C99-based standards] (ctgammaf): Likewise.
63987         [C99-based standards] (cerfl): Likewise.
63988         [C99-based standards] (cerfcl): Likewise.
63989         [C99-based standards] (cexp2l): Likewise.
63990         [C99-based standards] (cexpm1l): Likewise.
63991         [C99-based standards] (clog10l): Likewise.
63992         [C99-based standards] (clog1pl): Likewise.
63993         [C99-based standards] (clog2l): Likewise.
63994         [C99-based standards] (clgammal): Likewise.
63995         [C99-based standards] (ctgammal): Likewise.
63996         * conform/data/inttypes.h-data [C99-based standards]: Include
63997         stdint.h-data.  Remove all expectations for stdint.h contents.
63998         [C99-based standards] (PRI*): Do not allow.
63999         [C99-based standards] (SCN*): Likewise.
64000         [C99-based standards] (*_t): Likewise.
64001         [C99-based-standards] (PRId8): Expect macro.
64002         [C99-based-standards] (PRIi8): Likewise.
64003         [C99-based-standards] (PRIo8): Likewise.
64004         [C99-based-standards] (PRIu8): Likewise.
64005         [C99-based-standards] (PRIx8): Likewise.
64006         [C99-based-standards] (PRIX8): Likewise.
64007         [C99-based-standards] (SCNd8): Likewise.
64008         [C99-based-standards] (SCNi8): Likewise.
64009         [C99-based-standards] (SCNo8): Likewise.
64010         [C99-based-standards] (SCNu8): Likewise.
64011         [C99-based-standards] (SCNx8): Likewise.
64012         [C99-based-standards] (PRIdLEAST8): Likewise.
64013         [C99-based-standards] (PRIiLEAST8): Likewise.
64014         [C99-based-standards] (PRIoLEAST8): Likewise.
64015         [C99-based-standards] (PRIuLEAST8): Likewise.
64016         [C99-based-standards] (PRIxLEAST8): Likewise.
64017         [C99-based-standards] (PRIXLEAST8): Likewise.
64018         [C99-based-standards] (SCNdLEAST8): Likewise.
64019         [C99-based-standards] (SCNiLEAST8): Likewise.
64020         [C99-based-standards] (SCNoLEAST8): Likewise.
64021         [C99-based-standards] (SCNuLEAST8): Likewise.
64022         [C99-based-standards] (SCNxLEAST8): Likewise.
64023         [C99-based-standards] (PRIdFAST8): Likewise.
64024         [C99-based-standards] (PRIiFAST8): Likewise.
64025         [C99-based-standards] (PRIoFAST8): Likewise.
64026         [C99-based-standards] (PRIuFAST8): Likewise.
64027         [C99-based-standards] (PRIxFAST8): Likewise.
64028         [C99-based-standards] (PRIXFAST8): Likewise.
64029         [C99-based-standards] (SCNdFAST8): Likewise.
64030         [C99-based-standards] (SCNiFAST8): Likewise.
64031         [C99-based-standards] (SCNoFAST8): Likewise.
64032         [C99-based-standards] (SCNuFAST8): Likewise.
64033         [C99-based-standards] (SCNxFAST8): Likewise.
64034         [C99-based-standards] (PRId16): Likewise.
64035         [C99-based-standards] (PRIi16): Likewise.
64036         [C99-based-standards] (PRIo16): Likewise.
64037         [C99-based-standards] (PRIu16): Likewise.
64038         [C99-based-standards] (PRIx16): Likewise.
64039         [C99-based-standards] (PRIX16): Likewise.
64040         [C99-based-standards] (SCNd16): Likewise.
64041         [C99-based-standards] (SCNi16): Likewise.
64042         [C99-based-standards] (SCNo16): Likewise.
64043         [C99-based-standards] (SCNu16): Likewise.
64044         [C99-based-standards] (SCNx16): Likewise.
64045         [C99-based-standards] (PRIdLEAST16): Likewise.
64046         [C99-based-standards] (PRIiLEAST16): Likewise.
64047         [C99-based-standards] (PRIoLEAST16): Likewise.
64048         [C99-based-standards] (PRIuLEAST16): Likewise.
64049         [C99-based-standards] (PRIxLEAST16): Likewise.
64050         [C99-based-standards] (PRIXLEAST16): Likewise.
64051         [C99-based-standards] (SCNdLEAST16): Likewise.
64052         [C99-based-standards] (SCNiLEAST16): Likewise.
64053         [C99-based-standards] (SCNoLEAST16): Likewise.
64054         [C99-based-standards] (SCNuLEAST16): Likewise.
64055         [C99-based-standards] (SCNxLEAST16): Likewise.
64056         [C99-based-standards] (PRIdFAST16): Likewise.
64057         [C99-based-standards] (PRIiFAST16): Likewise.
64058         [C99-based-standards] (PRIoFAST16): Likewise.
64059         [C99-based-standards] (PRIuFAST16): Likewise.
64060         [C99-based-standards] (PRIxFAST16): Likewise.
64061         [C99-based-standards] (PRIXFAST16): Likewise.
64062         [C99-based-standards] (SCNdFAST16): Likewise.
64063         [C99-based-standards] (SCNiFAST16): Likewise.
64064         [C99-based-standards] (SCNoFAST16): Likewise.
64065         [C99-based-standards] (SCNuFAST16): Likewise.
64066         [C99-based-standards] (SCNxFAST16): Likewise.
64067         [C99-based-standards] (PRId32): Likewise.
64068         [C99-based-standards] (PRIi32): Likewise.
64069         [C99-based-standards] (PRIo32): Likewise.
64070         [C99-based-standards] (PRIu32): Likewise.
64071         [C99-based-standards] (PRIx32): Likewise.
64072         [C99-based-standards] (PRIX32): Likewise.
64073         [C99-based-standards] (SCNd32): Likewise.
64074         [C99-based-standards] (SCNi32): Likewise.
64075         [C99-based-standards] (SCNo32): Likewise.
64076         [C99-based-standards] (SCNu32): Likewise.
64077         [C99-based-standards] (SCNx32): Likewise.
64078         [C99-based-standards] (PRIdLEAST32): Likewise.
64079         [C99-based-standards] (PRIiLEAST32): Likewise.
64080         [C99-based-standards] (PRIoLEAST32): Likewise.
64081         [C99-based-standards] (PRIuLEAST32): Likewise.
64082         [C99-based-standards] (PRIxLEAST32): Likewise.
64083         [C99-based-standards] (PRIXLEAST32): Likewise.
64084         [C99-based-standards] (SCNdLEAST32): Likewise.
64085         [C99-based-standards] (SCNiLEAST32): Likewise.
64086         [C99-based-standards] (SCNoLEAST32): Likewise.
64087         [C99-based-standards] (SCNuLEAST32): Likewise.
64088         [C99-based-standards] (SCNxLEAST32): Likewise.
64089         [C99-based-standards] (PRIdFAST32): Likewise.
64090         [C99-based-standards] (PRIiFAST32): Likewise.
64091         [C99-based-standards] (PRIoFAST32): Likewise.
64092         [C99-based-standards] (PRIuFAST32): Likewise.
64093         [C99-based-standards] (PRIxFAST32): Likewise.
64094         [C99-based-standards] (PRIXFAST32): Likewise.
64095         [C99-based-standards] (SCNdFAST32): Likewise.
64096         [C99-based-standards] (SCNiFAST32): Likewise.
64097         [C99-based-standards] (SCNoFAST32): Likewise.
64098         [C99-based-standards] (SCNuFAST32): Likewise.
64099         [C99-based-standards] (SCNxFAST32): Likewise.
64100         [C99-based-standards] (PRId64): Likewise.
64101         [C99-based-standards] (PRIi64): Likewise.
64102         [C99-based-standards] (PRIo64): Likewise.
64103         [C99-based-standards] (PRIu64): Likewise.
64104         [C99-based-standards] (PRIx64): Likewise.
64105         [C99-based-standards] (PRIX64): Likewise.
64106         [C99-based-standards] (SCNd64): Likewise.
64107         [C99-based-standards] (SCNi64): Likewise.
64108         [C99-based-standards] (SCNo64): Likewise.
64109         [C99-based-standards] (SCNu64): Likewise.
64110         [C99-based-standards] (SCNx64): Likewise.
64111         [C99-based-standards] (PRIdLEAST64): Likewise.
64112         [C99-based-standards] (PRIiLEAST64): Likewise.
64113         [C99-based-standards] (PRIoLEAST64): Likewise.
64114         [C99-based-standards] (PRIuLEAST64): Likewise.
64115         [C99-based-standards] (PRIxLEAST64): Likewise.
64116         [C99-based-standards] (PRIXLEAST64): Likewise.
64117         [C99-based-standards] (SCNdLEAST64): Likewise.
64118         [C99-based-standards] (SCNiLEAST64): Likewise.
64119         [C99-based-standards] (SCNoLEAST64): Likewise.
64120         [C99-based-standards] (SCNuLEAST64): Likewise.
64121         [C99-based-standards] (SCNxLEAST64): Likewise.
64122         [C99-based-standards] (PRIdFAST64): Likewise.
64123         [C99-based-standards] (PRIiFAST64): Likewise.
64124         [C99-based-standards] (PRIoFAST64): Likewise.
64125         [C99-based-standards] (PRIuFAST64): Likewise.
64126         [C99-based-standards] (PRIxFAST64): Likewise.
64127         [C99-based-standards] (PRIXFAST64): Likewise.
64128         [C99-based-standards] (SCNdFAST64): Likewise.
64129         [C99-based-standards] (SCNiFAST64): Likewise.
64130         [C99-based-standards] (SCNoFAST64): Likewise.
64131         [C99-based-standards] (SCNuFAST64): Likewise.
64132         [C99-based-standards] (SCNxFAST64): Likewise.
64133         [C99-based-standards] (PRIdMAX): Likewise.
64134         [C99-based-standards] (PRIiMAX): Likewise.
64135         [C99-based-standards] (PRIoMAX): Likewise.
64136         [C99-based-standards] (PRIuMAX): Likewise.
64137         [C99-based-standards] (PRIxMAX): Likewise.
64138         [C99-based-standards] (PRIXMAX): Likewise.
64139         [C99-based-standards] (SCNdMAX): Likewise.
64140         [C99-based-standards] (SCNiMAX): Likewise.
64141         [C99-based-standards] (SCNoMAX): Likewise.
64142         [C99-based-standards] (SCNuMAX): Likewise.
64143         [C99-based-standards] (SCNxMAX): Likewise.
64144         [C99-based-standards] (PRIdPTR): Likewise.
64145         [C99-based-standards] (PRIiPTR): Likewise.
64146         [C99-based-standards] (PRIoPTR): Likewise.
64147         [C99-based-standards] (PRIuPTR): Likewise.
64148         [C99-based-standards] (PRIxPTR): Likewise.
64149         [C99-based-standards] (PRIXPTR): Likewise.
64150         [C99-based-standards] (SCNdPTR): Likewise.
64151         [C99-based-standards] (SCNiPTR): Likewise.
64152         [C99-based-standards] (SCNoPTR): Likewise.
64153         [C99-based-standards] (SCNuPTR): Likewise.
64154         [C99-based-standards] (SCNxPTR): Likewise.
64155         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64156         allow.
64157         * conform/data/stdint.h-data: Update comments to clarify
64158         requirements.
64159         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
64160         type.
64161         [C99-based standards] (INT8_MAX): Likewise.
64162         [C99-based standards] (INT16_MIN): Likewise.
64163         [C99-based standards] (INT16_MAX): Likewise.
64164         [C99-based standards] (INT32_MIN): Likewise.
64165         [C99-based standards] (INT32_MAX): Likewise.
64166         [C99-based standards] (INT64_MIN): Likewise.
64167         [C99-based standards] (INT64_MAX): Likewise.
64168         [C99-based standards] (UINT8_MAX): Likewise.
64169         [C99-based standards] (UINT16_MAX): Likewise.
64170         [C99-based standards] (UINT32_MAX): Likewise.
64171         [C99-based standards] (UINT64_MAX): Likewise.
64172         [C99-based standards] (INT_LEAST8_MIN): Likewise.
64173         [C99-based standards] (INT_LEAST8_MAX): Likewise.
64174         [C99-based standards] (INT_LEAST16_MIN): Likewise.
64175         [C99-based standards] (INT_LEAST16_MAX): Likewise.
64176         [C99-based standards] (INT_LEAST32_MIN): Likewise.
64177         [C99-based standards] (INT_LEAST32_MAX): Likewise.
64178         [C99-based standards] (INT_LEAST64_MIN): Likewise.
64179         [C99-based standards] (INT_LEAST64_MAX): Likewise.
64180         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64181         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64182         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64183         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64184         [C99-based standards] (INT_FAST8_MIN): Likewise.
64185         [C99-based standards] (INT_FAST8_MAX): Likewise.
64186         [C99-based standards] (INT_FAST16_MIN): Likewise.
64187         [C99-based standards] (INT_FAST16_MAX): Likewise.
64188         [C99-based standards] (INT_FAST32_MIN): Likewise.
64189         [C99-based standards] (INT_FAST32_MAX): Likewise.
64190         [C99-based standards] (INT_FAST64_MIN): Likewise.
64191         [C99-based standards] (INT_FAST64_MAX): Likewise.
64192         [C99-based standards] (UINT_FAST8_MAX): Likewise.
64193         [C99-based standards] (UINT_FAST16_MAX): Likewise.
64194         [C99-based standards] (UINT_FAST32_MAX): Likewise.
64195         [C99-based standards] (UINT_FAST64_MAX): Likewise.
64196         [C99-based standards] (INTPTR_MIN): Likewise.
64197         [C99-based standards] (INTPTR_MAX): Likewise.
64198         [C99-based standards] (UINTPTR_MAX): Likewise.
64199         [C99-based standards] (INTMAX_MIN): Likewise.
64200         [C99-based standards] (INTMAX_MAX): Likewise.
64201         [C99-based standards] (UINTMAX_MAX): Likewise.
64202         [C99-based standards] (PTRDIFF_MIN): Likewise.
64203         [C99-based standards] (PTRDIFF_MAX): Likewise.
64204         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64205         [C99-based standards] (SIZE_MAX): Likewise.
64206         [C99-based standards] (WCHAR_MAX): Likewise.
64207         [C99-based standards] (WINT_MAX): Likewise.
64208         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
64209         constraint on value.
64210         [C99-based standards] (WCHAR_MIN): Likewise.
64211         [C99-based standards] (WINT_MIN): Likewise.
64212         [C99-based standards] (*_t): Allow.
64213         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64214         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64215         Include math.h-data and complex.h-data.  Remove all expectations
64216         of math.h and complex.h contents.
64217         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64218         at end of line.
64219         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64220         (struct tm): Expect tag.
64221         [C99-based-standards] (wcstof): Expect function.
64222         [C99-based-standards] (wcstold): Likewise.
64223         [C99-based-standards] (wcstoll): Likewise.
64224         [C99-based-standards] (wcstoull): Likewise.
64225         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64226         macro-int-constant.  Specify type.
64227         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
64228         constraint on value.
64229         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64230         Specify type.
64231         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64232         Specify value.
64233         [ISO C standards]: Do not allow headers.
64234         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64235         wcs[abcdefghijklmnopqrstuvwxyz]*.
64236         [ISO C standards] (*_t): Do not allow.
64237         * conform/data/wctype.h-data [C99-based standards] (iswblank):
64238         Expect function.
64239         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64240         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64241         Specify type.
64242         [ISO C standards]: Do not allow headers.
64243         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64244         is[abcdefghijklmnopqrstuvwxyz]*.
64245         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64246         to[abcdefghijklmnopqrstuvwxyz]*.
64247         [ISO C standards] (*_t): Do not allow.
64248         * conform/data/stdalign.h-data: New file.
64249         * conform/data/stdbool.h-data: Likewise.
64250         * conform/data/stdnoreturn.h-data: Likewise.
64252 2012-11-07  Roland McGrath  <roland@hack.frob.com>
64254         [BZ #14815]
64255         * manual/filesys.texi (Directory Entries): Typo fix.
64256         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64258 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64260         * elf/elf.h (EM_AARCH64): New macro.
64261         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64262         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64263         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64264         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64265         (R_AARCH64_TLSDESC): Likewise.
64266         (NT_ARM_TLS): Likewise.
64267         (NT_ARM_HW_BREAK): Likewise.
64268         (NT_ARM_HW_WATCH): Likewise.
64270 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64272         [BZ #14811]
64273         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64274         (__ieee754_powl): Saturate nonzero exponents with absolute value
64275         below 0x1p-79 to +/- 0x1p-79.
64276         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64277         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64278         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64279         nonzero exponents with absolute value below 0x1p-32 to +/-
64280         0x1p-32.
64281         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64282         (__ieee754_powl): Saturate nonzero exponents with absolute value
64283         below 0x1p-79 to +/- 0x1p-79.
64284         * math/libm-test.inc (pow_test): Add more tests.
64286 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64288         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64289         _dl_s390_cap_flags with kernel. Increase string length.
64290         (_dl_s390_platforms): Add z196 and zEC12.
64292 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64294         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64295         Change XOPEN21K to XOPEN2K.
64297 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
64299         * string/memmove.c: Use memcpy when possible.
64301 2012-11-06  Andreas Jaeger  <aj@suse.de>
64303         * po/eo.po: Update from translation team.
64305 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
64307         [BZ #14793]
64308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64309         exponent and small x and y exponents, scale x or y up.  Increase
64310         by 2 the exponent used in scaling up.
64311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64312         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64313         * math/libm-test.inc (fma_test): Add more tests.
64314         (fma_test_towardzero): Likewise.
64315         (fma_test_downward): Likewise.
64316         (fma_test_upward): Likewise.
64318 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
64320         [BZ #14805]
64321         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64322         fenv_t *.
64324         [BZ #14801]
64325         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64326         namespace for names of struct fields.
64327         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64328         fenv_t fields.
64329         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64330         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64332 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64334         [BZ #3665]
64335         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64337 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64339         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64340         PTR_DEMANGLE.
64342         [BZ #5246]
64343         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64344         PTR_DEMANGLE.
64346 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
64348         [BZ #14797]
64349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64350         definitely overflow as x * y not x * y + z.
64351         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64352         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64353         * math/libm-test.inc (fma_test): Add more tests.
64354         (fma_test_towardzero): Likewise.
64355         (fma_test_downward): Likewise.
64356         (fma_test_upward): Likewise.
64358 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64360         [BZ #157]
64362         * include/stub-tag.h: Remove file.
64363         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64364         '#include' of it.
64365         * manual/maint.texi (Porting): Don't reference it.
64366         * Makerules ($(objpfx)stubs): Likewise.
64367         * dirent/closedir.c: Don't include <stub-tag.h>.
64368         * dirent/dirfd.c: Likewise.
64369         * dirent/fdopendir.c: Likewise.
64370         * dirent/getdents.c: Likewise.
64371         * dirent/getdents64.c: Likewise.
64372         * dirent/opendir.c: Likewise.
64373         * dirent/readdir.c: Likewise.
64374         * dirent/readdir64.c: Likewise.
64375         * dirent/readdir64_r.c: Likewise.
64376         * dirent/readdir_r.c: Likewise.
64377         * dirent/rewinddir.c: Likewise.
64378         * dirent/seekdir.c: Likewise.
64379         * dirent/telldir.c: Likewise.
64380         * gmon/profil.c: Likewise.
64381         * grp/setgroups.c: Likewise.
64382         * inet/if_index.c: Likewise.
64383         * io/access.c: Likewise.
64384         * io/chdir.c: Likewise.
64385         * io/chmod.c: Likewise.
64386         * io/chown.c: Likewise.
64387         * io/close.c: Likewise.
64388         * io/dup.c: Likewise.
64389         * io/dup2.c: Likewise.
64390         * io/dup3.c: Likewise.
64391         * io/euidaccess.c: Likewise.
64392         * io/faccessat.c: Likewise.
64393         * io/fchdir.c: Likewise.
64394         * io/fchmod.c: Likewise.
64395         * io/fchmodat.c: Likewise.
64396         * io/fchown.c: Likewise.
64397         * io/fchownat.c: Likewise.
64398         * io/fcntl.c: Likewise.
64399         * io/flock.c: Likewise.
64400         * io/fstatfs.c: Likewise.
64401         * io/fstatfs64.c: Likewise.
64402         * io/fstatvfs.c: Likewise.
64403         * io/fstatvfs64.c: Likewise.
64404         * io/futimens.c: Likewise.
64405         * io/fxstat.c: Likewise.
64406         * io/fxstat64.c: Likewise.
64407         * io/fxstatat.c: Likewise.
64408         * io/fxstatat64.c: Likewise.
64409         * io/getcwd.c: Likewise.
64410         * io/isatty.c: Likewise.
64411         * io/lchmod.c: Likewise.
64412         * io/lchown.c: Likewise.
64413         * io/link.c: Likewise.
64414         * io/linkat.c: Likewise.
64415         * io/lseek.c: Likewise.
64416         * io/lseek64.c: Likewise.
64417         * io/lxstat64.c: Likewise.
64418         * io/mkdir.c: Likewise.
64419         * io/mkdirat.c: Likewise.
64420         * io/mkfifo.c: Likewise.
64421         * io/mkfifoat.c: Likewise.
64422         * io/open.c: Likewise.
64423         * io/open64.c: Likewise.
64424         * io/openat.c: Likewise.
64425         * io/openat64.c: Likewise.
64426         * io/pipe.c: Likewise.
64427         * io/pipe2.c: Likewise.
64428         * io/poll.c: Likewise.
64429         * io/posix_fadvise.c: Likewise.
64430         * io/posix_fadvise64.c: Likewise.
64431         * io/posix_fallocate.c: Likewise.
64432         * io/posix_fallocate64.c: Likewise.
64433         * io/read.c: Likewise.
64434         * io/readlink.c: Likewise.
64435         * io/readlinkat.c: Likewise.
64436         * io/rmdir.c: Likewise.
64437         * io/sendfile.c: Likewise.
64438         * io/sendfile64.c: Likewise.
64439         * io/statfs.c: Likewise.
64440         * io/statfs64.c: Likewise.
64441         * io/statvfs.c: Likewise.
64442         * io/statvfs64.c: Likewise.
64443         * io/symlink.c: Likewise.
64444         * io/symlinkat.c: Likewise.
64445         * io/ttyname.c: Likewise.
64446         * io/ttyname_r.c: Likewise.
64447         * io/umask.c: Likewise.
64448         * io/unlink.c: Likewise.
64449         * io/unlinkat.c: Likewise.
64450         * io/utime.c: Likewise.
64451         * io/utimensat.c: Likewise.
64452         * io/write.c: Likewise.
64453         * io/xmknod.c: Likewise.
64454         * io/xmknodat.c: Likewise.
64455         * io/xstat.c: Likewise.
64456         * io/xstat64.c: Likewise.
64457         * login/getpt.c: Likewise.
64458         * login/grantpt.c: Likewise.
64459         * login/unlockpt.c: Likewise.
64460         * math/e_acoshl.c: Likewise.
64461         * math/e_acosl.c: Likewise.
64462         * math/e_asinl.c: Likewise.
64463         * math/e_atan2l.c: Likewise.
64464         * math/e_atanhl.c: Likewise.
64465         * math/e_coshl.c: Likewise.
64466         * math/e_expl.c: Likewise.
64467         * math/e_fmodl.c: Likewise.
64468         * math/e_gammal_r.c: Likewise.
64469         * math/e_hypotl.c: Likewise.
64470         * math/e_j0l.c: Likewise.
64471         * math/e_j1l.c: Likewise.
64472         * math/e_jnl.c: Likewise.
64473         * math/e_lgammal_r.c: Likewise.
64474         * math/e_log10l.c: Likewise.
64475         * math/e_log2l.c: Likewise.
64476         * math/e_logl.c: Likewise.
64477         * math/e_powl.c: Likewise.
64478         * math/e_rem_pio2l.c: Likewise.
64479         * math/e_sinhl.c: Likewise.
64480         * math/e_sqrtl.c: Likewise.
64481         * math/fclrexcpt.c: Likewise.
64482         * math/fedisblxcpt.c: Likewise.
64483         * math/feenablxcpt.c: Likewise.
64484         * math/fegetenv.c: Likewise.
64485         * math/fegetexcept.c: Likewise.
64486         * math/fegetround.c: Likewise.
64487         * math/feholdexcpt.c: Likewise.
64488         * math/fesetenv.c: Likewise.
64489         * math/fesetround.c: Likewise.
64490         * math/feupdateenv.c: Likewise.
64491         * math/fgetexcptflg.c: Likewise.
64492         * math/fraiseexcpt.c: Likewise.
64493         * math/fsetexcptflg.c: Likewise.
64494         * math/ftestexcept.c: Likewise.
64495         * math/k_cosl.c: Likewise.
64496         * math/k_rem_pio2l.c: Likewise.
64497         * math/k_sinl.c: Likewise.
64498         * math/k_tanl.c: Likewise.
64499         * math/s_asinhl.c: Likewise.
64500         * math/s_atanl.c: Likewise.
64501         * math/s_cbrtl.c: Likewise.
64502         * math/s_erfl.c: Likewise.
64503         * math/s_expm1l.c: Likewise.
64504         * math/s_log1pl.c: Likewise.
64505         * math/s_tanhl.c: Likewise.
64506         * misc/acct.c: Likewise.
64507         * misc/brk.c: Likewise.
64508         * misc/chflags.c: Likewise.
64509         * misc/chroot.c: Likewise.
64510         * misc/fchflags.c: Likewise.
64511         * misc/fgetxattr.c: Likewise.
64512         * misc/flistxattr.c: Likewise.
64513         * misc/fremovexattr.c: Likewise.
64514         * misc/fsetxattr.c: Likewise.
64515         * misc/fsync.c: Likewise.
64516         * misc/ftruncate.c: Likewise.
64517         * misc/futimes.c: Likewise.
64518         * misc/futimesat.c: Likewise.
64519         * misc/getdomain.c: Likewise.
64520         * misc/getdtsz.c: Likewise.
64521         * misc/gethostid.c: Likewise.
64522         * misc/gethostname.c: Likewise.
64523         * misc/getloadavg.c: Likewise.
64524         * misc/getpagesize.c: Likewise.
64525         * misc/getsysstats.c: Likewise.
64526         * misc/getxattr.c: Likewise.
64527         * misc/gtty.c: Likewise.
64528         * misc/ioctl.c: Likewise.
64529         * misc/lgetxattr.c: Likewise.
64530         * misc/listxattr.c: Likewise.
64531         * misc/llistxattr.c: Likewise.
64532         * misc/lremovexattr.c: Likewise.
64533         * misc/lsetxattr.c: Likewise.
64534         * misc/lutimes.c: Likewise.
64535         * misc/madvise.c: Likewise.
64536         * misc/mincore.c: Likewise.
64537         * misc/mlock.c: Likewise.
64538         * misc/mlockall.c: Likewise.
64539         * misc/mmap.c: Likewise.
64540         * misc/mprotect.c: Likewise.
64541         * misc/msync.c: Likewise.
64542         * misc/munlock.c: Likewise.
64543         * misc/munlockall.c: Likewise.
64544         * misc/munmap.c: Likewise.
64545         * misc/preadv.c: Likewise.
64546         * misc/preadv64.c: Likewise.
64547         * misc/ptrace.c: Likewise.
64548         * misc/pwritev.c: Likewise.
64549         * misc/pwritev64.c: Likewise.
64550         * misc/readv.c: Likewise.
64551         * misc/reboot.c: Likewise.
64552         * misc/remap_file_pages.c: Likewise.
64553         * misc/removexattr.c: Likewise.
64554         * misc/revoke.c: Likewise.
64555         * misc/select.c: Likewise.
64556         * misc/setdomain.c: Likewise.
64557         * misc/setegid.c: Likewise.
64558         * misc/seteuid.c: Likewise.
64559         * misc/sethostid.c: Likewise.
64560         * misc/sethostname.c: Likewise.
64561         * misc/setregid.c: Likewise.
64562         * misc/setreuid.c: Likewise.
64563         * misc/setxattr.c: Likewise.
64564         * misc/sstk.c: Likewise.
64565         * misc/stty.c: Likewise.
64566         * misc/swapoff.c: Likewise.
64567         * misc/swapon.c: Likewise.
64568         * misc/sync.c: Likewise.
64569         * misc/syncfs.c: Likewise.
64570         * misc/syscall.c: Likewise.
64571         * misc/truncate.c: Likewise.
64572         * misc/ualarm.c: Likewise.
64573         * misc/usleep.c: Likewise.
64574         * misc/ustat.c: Likewise.
64575         * misc/utimes.c: Likewise.
64576         * misc/vhangup.c: Likewise.
64577         * misc/writev.c: Likewise.
64578         * posix/_exit.c: Likewise.
64579         * posix/alarm.c: Likewise.
64580         * posix/execve.c: Likewise.
64581         * posix/fexecve.c: Likewise.
64582         * posix/fork.c: Likewise.
64583         * posix/fpathconf.c: Likewise.
64584         * posix/getaddrinfo.c: Likewise.
64585         * posix/getegid.c: Likewise.
64586         * posix/geteuid.c: Likewise.
64587         * posix/getgid.c: Likewise.
64588         * posix/getgroups.c: Likewise.
64589         * posix/getlogin.c: Likewise.
64590         * posix/getlogin_r.c: Likewise.
64591         * posix/getpgid.c: Likewise.
64592         * posix/getpid.c: Likewise.
64593         * posix/getppid.c: Likewise.
64594         * posix/getresgid.c: Likewise.
64595         * posix/getresuid.c: Likewise.
64596         * posix/getsid.c: Likewise.
64597         * posix/getuid.c: Likewise.
64598         * posix/glob64.c: Likewise.
64599         * posix/nanosleep.c: Likewise.
64600         * posix/pathconf.c: Likewise.
64601         * posix/pause.c: Likewise.
64602         * posix/posix_madvise.c: Likewise.
64603         * posix/pread.c: Likewise.
64604         * posix/pread64.c: Likewise.
64605         * posix/pwrite.c: Likewise.
64606         * posix/pwrite64.c: Likewise.
64607         * posix/sched_getaffinity.c: Likewise.
64608         * posix/sched_getp.c: Likewise.
64609         * posix/sched_gets.c: Likewise.
64610         * posix/sched_primax.c: Likewise.
64611         * posix/sched_primin.c: Likewise.
64612         * posix/sched_rr_gi.c: Likewise.
64613         * posix/sched_setaffinity.c: Likewise.
64614         * posix/sched_setp.c: Likewise.
64615         * posix/sched_sets.c: Likewise.
64616         * posix/sched_yield.c: Likewise.
64617         * posix/setgid.c: Likewise.
64618         * posix/setlogin.c: Likewise.
64619         * posix/setpgid.c: Likewise.
64620         * posix/setresgid.c: Likewise.
64621         * posix/setresuid.c: Likewise.
64622         * posix/setsid.c: Likewise.
64623         * posix/setuid.c: Likewise.
64624         * posix/sleep.c: Likewise.
64625         * posix/spawni.c: Likewise.
64626         * posix/sysconf.c: Likewise.
64627         * posix/times.c: Likewise.
64628         * posix/wait.c: Likewise.
64629         * posix/wait3.c: Likewise.
64630         * posix/wait4.c: Likewise.
64631         * posix/waitpid.c: Likewise.
64632         * resolv/gai_sigqueue.c: Likewise.
64633         * resource/getpriority.c: Likewise.
64634         * resource/getrlimit.c: Likewise.
64635         * resource/getrusage.c: Likewise.
64636         * resource/nice.c: Likewise.
64637         * resource/setpriority.c: Likewise.
64638         * resource/setrlimit.c: Likewise.
64639         * resource/ulimit.c: Likewise.
64640         * rt/aio_cancel.c: Likewise.
64641         * rt/aio_fsync.c: Likewise.
64642         * rt/aio_read.c: Likewise.
64643         * rt/aio_sigqueue.c: Likewise.
64644         * rt/aio_suspend.c: Likewise.
64645         * rt/aio_write.c: Likewise.
64646         * rt/clock_getres.c: Likewise.
64647         * rt/clock_gettime.c: Likewise.
64648         * rt/clock_nanosleep.c: Likewise.
64649         * rt/clock_settime.c: Likewise.
64650         * rt/lio_listio.c: Likewise.
64651         * rt/mq_close.c: Likewise.
64652         * rt/mq_getattr.c: Likewise.
64653         * rt/mq_notify.c: Likewise.
64654         * rt/mq_open.c: Likewise.
64655         * rt/mq_receive.c: Likewise.
64656         * rt/mq_send.c: Likewise.
64657         * rt/mq_setattr.c: Likewise.
64658         * rt/mq_timedreceive.c: Likewise.
64659         * rt/mq_timedsend.c: Likewise.
64660         * rt/mq_unlink.c: Likewise.
64661         * rt/shm_open.c: Likewise.
64662         * rt/shm_unlink.c: Likewise.
64663         * rt/timer_create.c: Likewise.
64664         * rt/timer_delete.c: Likewise.
64665         * rt/timer_getoverr.c: Likewise.
64666         * rt/timer_gettime.c: Likewise.
64667         * rt/timer_settime.c: Likewise.
64668         * setjmp/__longjmp.c: Likewise.
64669         * setjmp/setjmp.c: Likewise.
64670         * signal/kill.c: Likewise.
64671         * signal/killpg.c: Likewise.
64672         * signal/raise.c: Likewise.
64673         * signal/sigaction.c: Likewise.
64674         * signal/sigaltstack.c: Likewise.
64675         * signal/sigblock.c: Likewise.
64676         * signal/sigignore.c: Likewise.
64677         * signal/sigintr.c: Likewise.
64678         * signal/signal.c: Likewise.
64679         * signal/sigpause.c: Likewise.
64680         * signal/sigpending.c: Likewise.
64681         * signal/sigqueue.c: Likewise.
64682         * signal/sigreturn.c: Likewise.
64683         * signal/sigset.c: Likewise.
64684         * signal/sigsetmask.c: Likewise.
64685         * signal/sigstack.c: Likewise.
64686         * signal/sigsuspend.c: Likewise.
64687         * signal/sigtimedwait.c: Likewise.
64688         * signal/sigvec.c: Likewise.
64689         * signal/sigwait.c: Likewise.
64690         * signal/sigwaitinfo.c: Likewise.
64691         * signal/sysv_signal.c: Likewise.
64692         * socket/accept.c: Likewise.
64693         * socket/accept4.c: Likewise.
64694         * socket/bind.c: Likewise.
64695         * socket/connect.c: Likewise.
64696         * socket/getpeername.c: Likewise.
64697         * socket/getsockname.c: Likewise.
64698         * socket/getsockopt.c: Likewise.
64699         * socket/isfdtype.c: Likewise.
64700         * socket/listen.c: Likewise.
64701         * socket/recv.c: Likewise.
64702         * socket/recvfrom.c: Likewise.
64703         * socket/recvmsg.c: Likewise.
64704         * socket/send.c: Likewise.
64705         * socket/sendmsg.c: Likewise.
64706         * socket/sendto.c: Likewise.
64707         * socket/setsockopt.c: Likewise.
64708         * socket/shutdown.c: Likewise.
64709         * socket/sockatmark.c: Likewise.
64710         * socket/socket.c: Likewise.
64711         * socket/socketpair.c: Likewise.
64712         * stdio-common/ctermid.c: Likewise.
64713         * stdio-common/cuserid.c: Likewise.
64714         * stdio-common/remove.c: Likewise.
64715         * stdio-common/rename.c: Likewise.
64716         * stdio-common/renameat.c: Likewise.
64717         * stdio-common/tempname.c: Likewise.
64718         * stdlib/getcontext.c: Likewise.
64719         * stdlib/makecontext.c: Likewise.
64720         * stdlib/setcontext.c: Likewise.
64721         * stdlib/swapcontext.c: Likewise.
64722         * stdlib/system.c: Likewise.
64723         * streams/fattach.c: Likewise.
64724         * streams/fdetach.c: Likewise.
64725         * streams/getmsg.c: Likewise.
64726         * streams/getpmsg.c: Likewise.
64727         * streams/putmsg.c: Likewise.
64728         * streams/putpmsg.c: Likewise.
64729         * sysdeps/unix/bsd/getpt.c: Likewise.
64730         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64731         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64732         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64734         Likewise.
64735         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64736         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64737         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64738         * sysvipc/msgctl.c: Likewise.
64739         * sysvipc/msgget.c: Likewise.
64740         * sysvipc/msgrcv.c: Likewise.
64741         * sysvipc/msgsnd.c: Likewise.
64742         * sysvipc/semctl.c: Likewise.
64743         * sysvipc/semget.c: Likewise.
64744         * sysvipc/semop.c: Likewise.
64745         * sysvipc/semtimedop.c: Likewise.
64746         * sysvipc/shmat.c: Likewise.
64747         * sysvipc/shmctl.c: Likewise.
64748         * sysvipc/shmdt.c: Likewise.
64749         * sysvipc/shmget.c: Likewise.
64750         * termios/tcdrain.c: Likewise.
64751         * termios/tcflow.c: Likewise.
64752         * termios/tcflush.c: Likewise.
64753         * termios/tcgetattr.c: Likewise.
64754         * termios/tcgetpgrp.c: Likewise.
64755         * termios/tcsendbrk.c: Likewise.
64756         * termios/tcsetattr.c: Likewise.
64757         * termios/tcsetpgrp.c: Likewise.
64758         * time/adjtime.c: Likewise.
64759         * time/clock.c: Likewise.
64760         * time/getitimer.c: Likewise.
64761         * time/gettimeofday.c: Likewise.
64762         * time/setitimer.c: Likewise.
64763         * time/settimeofday.c: Likewise.
64764         * time/stime.c: Likewise.
64765         * time/time.c: Likewise.
64767 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
64769         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64770         /usr/old/bin.
64772         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64773         instead of spaces.
64774         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64776 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
64778         [BZ #14796]
64779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64780         FE_TONEAREST before applying Dekker multiplication and Knuth
64781         addition.  Clear inexact exceptions and check for exact zero
64782         results afterwards.
64783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64784         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64785         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64786         * math/libm-test.inc (fma_test): Add more tests.
64787         (fma_test_towardzero): Likewise.
64788         (fma_test_downward): Likewise.
64789         (fma_test_upward): Likewise.
64790         * sysdeps/generic/math_private.h (default_libc_fesetround): New
64791         function.
64792         (libc_fesetround): New macro.
64793         (libc_fesetroundf): Likewise.
64794         (libc_fesetroundl): Likewise.
64795         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64796         function.
64797         (libc_fesetround_387): Likewise.
64798         (libc_fesetroundf): New macro.
64799         (libc_fesetround): Likewise.
64800         (libc_fesetroundl): Likewise.
64801         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64802         function.
64803         (libc_fesetroundf): New macro.
64804         (libc_fesetround): Likewise.
64805         (libc_fesetroundl): Likewise.
64806         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64807         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64808         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64809         libm_hidden_ver.
64810         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64811         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64812         libm_hidden_def.
64813         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64814         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64815         libm_hidden_ver.
64816         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64817         libm_hidden_def.
64819         [BZ #3439]
64820         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64821         integer constant usable in #if and use that to give value to enum
64822         constant.
64823         (FE_DIVBYZERO): Likewise.
64824         (FE_UNDERFLOW): Likewise.
64825         (FE_OVERFLOW): Likewise.
64826         (FE_INVALID): Likewise.
64827         (FE_INVALID_SNAN): Likewise.
64828         (FE_INVALID_ISI): Likewise.
64829         (FE_INVALID_IDI): Likewise.
64830         (FE_INVALID_ZDZ): Likewise.
64831         (FE_INVALID_IMZ): Likewise.
64832         (FE_INVALID_COMPARE): Likewise.
64833         (FE_INVALID_SOFTWARE): Likewise.
64834         (FE_INVALID_SQRT): Likewise.
64835         (FE_INVALID_INTEGER_CONVERSION): Likewise.
64836         (FE_TONEAREST): Likewise.
64837         (FE_TOWARDZERO): Likewise.
64838         (FE_UPWARD): Likewise.
64839         (FE_DOWNWARD): Likewise.
64840         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64841         (FE_DIVBYZERO): Likewise.
64842         (FE_OVERFLOW): Likewise.
64843         (FE_UNDERFLOW): Likewise.
64844         (FE_INEXACT): Likewise.
64845         (FE_TONEAREST): Likewise.
64846         (FE_DOWNWARD): Likewise.
64847         (FE_UPWARD): Likewise.
64848         (FE_TOWARDZERO): Likewise.
64849         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64850         (FE_UNDERFLOW): Likewise.
64851         (FE_OVERFLOW): Likewise.
64852         (FE_DIVBYZERO): Likewise.
64853         (FE_INVALID): Likewise.
64854         (FE_TONEAREST): Likewise.
64855         (FE_TOWARDZERO): Likewise.
64856         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64857         (FE_OVERFLOW): Likewise.
64858         (FE_UNDERFLOW): Likewise.
64859         (FE_DIVBYZERO): Likewise.
64860         (FE_INEXACT): Likewise.
64861         (FE_TONEAREST): Likewise.
64862         (FE_TOWARDZERO): Likewise.
64863         (FE_UPWARD): Likewise.
64864         (FE_DOWNWARD): Likewise.
64865         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64866         (FE_DIVBYZERO): Likewise.
64867         (FE_OVERFLOW): Likewise.
64868         (FE_UNDERFLOW): Likewise.
64869         (FE_INEXACT): Likewise.
64870         (FE_TONEAREST): Likewise.
64871         (FE_DOWNWARD): Likewise.
64872         (FE_UPWARD): Likewise.
64873         (FE_TOWARDZERO): Likewise.
64875 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
64877         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64879 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
64881         * scripts/cross-test-ssh.sh (command): Use newlines to separate
64882         commands.  Quote $PWD.
64883         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64884         -x" by "export".
64885         (remove_newlines): Remove.
64887 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
64889         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64890         * stdlib/stdlib.h (atof): Moved to ...
64891         * include/bits/stdlib-float.h: Here.  New file.
64892         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64893         * stdlib/bits/stdlib-float.h: New file.
64894         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64895         -mno-sse -mno-mmx.
64896         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64897         <xmmintrin.h>.
64899 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64901         * conform/conformtest.pl (@headers): Add fenv.h.
64902         * conform/data/fenv.h-data: New file.
64903         * include/fenv.h [_ISOMAC]: Disable all contents of file except
64904         include of <math/fenv.h>.
64906         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64907         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64908         && !UNIX98].  Enables tests for XOPEN2K8.
64909         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64910         POSIX2008]: Likewise.
64912         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64913         (struct rusage): Do not expect type or its members.
64915         [BZ #3439]
64916         * math/math.h (FP_NAN): Define macro to integer constant usable in
64917         #if and use that to give value to enum constant.
64918         (FP_INFINITE): Likewise.
64919         (FP_ZERO): Likewise.
64920         (FP_SUBNORMAL): Likewise.
64921         (FP_NORMAL): Likewise.
64923 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
64925         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64926         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64927         arguments.
64929 2012-11-02  Roland McGrath  <roland@hack.frob.com>
64931         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64932         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64933         autoconf-time if not.
64934         * configure.in: Remove AC_PREREQ.
64936 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64938         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64939         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64940         of the internal implementation.
64942 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64944         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64945         except include of <misc/sys/syslog.h>.
64947 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64950         function returns with a NULL context exit with zero.
64952 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64954         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64956 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
64958         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64959         (run_program_cmd): This.
64960         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64961         (tst_langinfo): New variable.  Use it.
64963 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
64965         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64966         floating point opcodes.
64968 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64970         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64971         variable.
64973         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64975         * sysdeps/mach/hurd/powerpc: Remove directory.
64976         * sysdeps/mach/powerpc: Likewise.
64978 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64980         * scripts/check-local-headers.sh: Ignore c++ headers.
64982 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64984         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64985         __libc_cleanup_region_start argument.
64987 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
64989         [BZ #14784]
64990         [BZ #14785]
64991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64992         x * y using scaling, not as x * y + z.
64993         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64994         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64995         * math/libm-test.inc (fma_test): Add more tests.
64996         (fma_test_towardzero): Likewise.
64997         (fma_test_downward): Likewise.
64998         (fma_test_upward): Likewise.
65000 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65002         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
65004 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
65006         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
65007         New variable.
65009 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
65011         * rt/tst-shm.c (worker): Correct checking for mmap failure.
65013 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
65015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65016         Fix sort order.
65017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65018         Likewise.
65020 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65023         Fix the order of the list for glibc 2.17.
65024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65025         Likewise.
65027 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
65029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65031 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
65033         [BZ #14610]
65034         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
65035         for low part of x being zero before using __atanl (y).
65036         * math/libm-test.inc (atan2_test): Add another test.
65038         * manual/install.texi (Configuring and compiling): Document
65039         general use of test-wrapper and test-wrapper-env.
65040         * INSTALL: Regenerated.
65042         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
65043         (__fma): Do not extract and scale down low bits on after-rounding
65044         systems when result rounded to normal precision would have normal
65045         exponent.
65046         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
65047         (__fmal): Do not extract and scale down low bits on after-rounding
65048         systems when result rounded to normal precision would have normal
65049         exponent.
65050         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65051         (__fmal): Do not extract and scale down low bits on after-rounding
65052         systems when result rounded to normal precision would have normal
65053         exponent.
65054         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
65055         macro.
65056         (fma_test): Add more tests.
65057         (fma_test_towardzero): Likewise.
65058         (fma_test_downward): Likewise.
65059         (fma_test_upward): Likewise.
65061 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
65063         * sysdeps/i386/tininess.h: Renamed to ...
65064         * sysdeps/x86/tininess.h: This.
65065         * sysdeps/x86_64/tininess.h: Removed.
65067 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
65069         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
65070         input.  Use $(build-program-cmd).
65071         ($(objpfx)tst-array1-static.out): Likewise.
65072         ($(objpfx)tst-array2.out): Likewise.
65073         ($(objpfx)tst-array3.out): Likewise.
65074         ($(objpfx)tst-array4.out): Likewise.
65075         ($(objpfx)tst-array5.out): Likewise.
65076         ($(objpfx)tst-array5-static.out): Likewise.
65078 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
65080         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
65081         if defined.
65083         * nss/nsswitch.h (nss_interface_function): Provide new
65084         macro for use with NSS functions.
65085         * grp/initgroups.c: Use new macro.
65086         * nss/getXXbyYY.c: Likewise.
65087         * nss/getXXbyYY_r.c: Likewise.
65088         * nss/getXXent.c: Likewise.
65089         * nss/getXXent_r.c: Likewise.
65090         * sysdeps/posix/getaddrinfo.c: Likewise.
65092 2012-10-30  Andreas Jaeger  <aj@suse.de>
65094         * po/ru.po: Update Russion translation from translation project.
65096 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
65098         [BZ #14152]
65099         [BZ #14783]
65100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
65101         result and shift together with sticky bit instead of replicating
65102         round-to-nearest rounding.
65103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65104         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65105         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
65106         missing underflow exceptions.
65107         (fma_test_towardzero): Add more tests.
65108         (fma_test_downward): Likewise.
65109         (fma_test_upward): Likewise.
65111         [BZ #14047]
65112         * sysdeps/generic/tininess.h: New file.
65113         * sysdeps/i386/tininess.h: Likewise.
65114         * sysdeps/sh/tininess.h: Likewise.
65115         * sysdeps/x86_64/tininess.h: Likewise.
65116         * stdlib/tst-strtod-underflow.c: Likewise.
65117         * stdlib/tst-tininess.c: Likewise.
65118         * stdlib/strtod_l.c: Include <tininess.h>.
65119         (round_and_return): Do not set errno for exact underflow cases.
65120         Force an underflow exception when setting errno for underflow.
65121         Determine underflow based on rounding to normal precision if
65122         TININESS_AFTER_ROUNDING.
65123         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
65124         ERANGE for exact underflow cases.
65125         * stdlib/Makefile (tests): Add tst-tininess and
65126         tst-strtod-underflow.
65127         ($(objpfx)tst-tininess): Use $(link-libm).
65128         ($(objpfx)tst-strtod-underflow): Likewise.
65130 2012-10-30  Andreas Jaeger  <aj@suse.de>
65132         [BZ#14767]
65133         * elf/Makefile (tests): Remove conditional for have-initfini-array
65134         since this is now always required and the variable does not exist
65135         anymore.
65136         (tests-static): Likewise.
65137         (modules-names): Likewise.
65139         * po/eo.po: Add Esperanto translation from translation project.
65141         * elf/tst-array1.c (fini_array): Make writeable so that it can be
65142         merged with constructor/destructor.
65143         (init_array): Likewise.
65144         * elf/tst-array2dep.c (fini_array): Likewise.
65145         (init_array): Likewise.
65147 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
65149         * manual/message.texi: Delete @cartouche tags.
65151 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
65153         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65154         EOPNOTSUPP.
65155         * sysdeps/mach/hurd/fsync.c: Likewise.
65157         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65158         [_POSIX_REALTIME_SIGNALS]: Change condition to
65159         [_POSIX_REALTIME_SIGNALS > 0].
65161 2012-10-27  Andreas Jaeger  <aj@suse.de>
65163         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65164         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65165         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65166         [__WORDSIZE != 64]: Likewise.
65168 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
65170         *  iconvdata/tst-table.sh: Remove ${SHELL}.
65171         *  iconvdata/tst-tables.sh: Likewise.
65173 2012-10-25  David S. Miller  <davem@davemloft.net>
65175         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65176         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65177         of strtoull.
65179         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65180         ifunc-impl-list.c
65181         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65182         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65183         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65184         file.
65186 2012-10-25  Roland McGrath  <roland@hack.frob.com>
65188         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65189         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65190         __getdirentries.
65192 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65193             Jim Blandy  <jimb@codesourcery.com>
65195         * scripts/cross-test-ssh.sh: New file.
65196         * manual/install.texi (Configuring and compiling): Document use of
65197         cross-test-ssh.sh.
65198         * INSTALL: Regenerated.
65200 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
65202         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65203         EOPNOTSUPP.
65205 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65207         * Makeconfig (run-program-prefix): Fix comment.
65209 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65210             Jim Blandy  <jimb@codesourcery.com>
65212         * Makeconfig (test-wrapper): New variable,
65213         (test-wrapper-env): Likewise.
65214         [$(cross-compiling) = yes && $(test-wrapper) != ""]
65215         (run-built-tests): Define to yes.
65216         (run-program-prefix): Use $(test-wrapper).
65217         (built-program-cmd): Likewise.
65218         * Rules (make-test-out): Use $(test-wrapper-env) and
65219         $(host-built-program-cmd).
65220         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65221         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65222         tst-pathopt.sh.
65223         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65224         $(test-wrapper-env) to tst-rtld-load-self.sh.
65225         ($(objpfx)order2.out): Use $(test-wrapper).
65226         ($(objpfx)tst-initorder.out): Likewise.
65227         ($(objpfx)tst-initorder2.out): Likewise.
65228         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65229         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65230         (test_wrapper_env): New variable.  Use it to run ld.so.
65231         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65232         Use it to run ld.so.
65233         (test_wrapper_env): Likewise.
65234         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65235         $(test-wrapper) to run-iconv-test.sh.
65236         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65237         (ICONV): Use $test_wrapper.
65238         * posix/Makefile ($(objpfx)globtest.out): Pass
65239         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65240         globtest.sh, not $(run-program-prefix).
65241         * posix/globtest.sh (run_via_rtld_prefix): New variable.
65242         (test_wrapper): Likewise.
65243         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
65244         set together with run_via_rtld_prefix.
65245         (run_program_prefix): Define in terms of test_wrapper and
65246         run_via_rtld_prefix.
65248 2012-10-24  Roland McGrath  <roland@hack.frob.com>
65250         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65251         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65252         Targets removed.
65254         [BZ #14743]
65255         * include/time.h: Remove librt_hidden_proto (clock_gettime).
65256         Declare __clock_getres, __clock_gettime, __clock_settime,
65257         __clock_nanosleep, and __clock_getcpuclockid.
65258         * rt/clock_gettime.c: Define __clock_gettime as an alias.
65259         Remove librt_hidden_def (clock_gettime).
65260         * sysdeps/unix/clock_gettime.c: Likewise.
65261         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65262         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65263         * rt/clock_getres.c: Define __clock_getres as an alias.
65264         * sysdeps/posix/clock_getres.c: Likewise.
65265         * rt/clock_settime.c: Define __clock_settime as an alias.
65266         * sysdeps/unix/clock_settime.c: Likewise.
65267         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65268         * sysdeps/unix/clock_nanosleep.c: Likewise.
65269         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65270         * rt/clock-compat.c: New file.
65271         * rt/Makefile (librt-routines): Add clock-compat and move
65272         $(clock-routines) to ...
65273         (routines): ... here, new variable.
65274         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65275         Don't add get_clockfreq here.
65276         * rt/Versions (libc: GLIBC_2.17): New version set.
65277         Add clock_* symbols here.
65278         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
65279         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65280         (GLIBC_2.17): Add clock_* symbols.
65281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65283         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65285         Likewise.
65286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65287         Likewise.
65288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65292         * NEWS: Mention the move.
65294         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65295         Use __open, __read, __close rather than their public counterparts.
65296         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65297         (__get_clockfreq_via_cpuinfo): Likewise.
65298         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65299         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65301         * config.h.in (HAVE_IFUNC): New #undef.
65302         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65303         was successful.
65304         * configure: Regenerated.
65306 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65308         * configure.in: Move READELF check to start of file.
65309         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65310         libc_cv_asm_gnu_indirect_function in the process.
65311         * configure: Regenerated.
65313 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65315         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65316         send the output to /dev/null.
65317         (libc_cv_cc_with_libunwind): Likewise.
65318         (libc_cv_as_noexecstack): Likewise.
65319         * configure: Regenerate.
65321 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65323         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65325         * posix/globtest.sh (TMPDIR): Do not set.
65326         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65327         (testout): Likewise.
65329 2012-10-24  Andreas Jaeger  <aj@suse.de>
65331         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65332         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65333         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65334         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65335         posix_fadvise64, posix_fallocate64.
65337         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65338         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65339         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65340         Likewise.
65341         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65342         Likewise.
65343         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65345         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65346         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65347         <bits/fcntl-linux.h>.
65348         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65350         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65351         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65352         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65353         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65354         [__WORDSIZE != 64]: Likewise.
65356 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65358         * Makeconfig (run-built-tests): New variable.
65359         * Rules [$(cross-compiling) = yes]: Change condition to
65360         [$(run-built-tests) = no].
65361         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65362         to [$(run-built-tests) = yes].
65363         * elf/Makefile [$(cross-compiling) = no]: Likewise.
65364         * grp/Makefile [$(cross-compiling) = no]: Likewise.
65365         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65366         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65367         * intl/Makefile [$(cross-compiling) = no]: Likewise.
65368         * io/Makefile [$(cross-compiling) = no]: Likewise.
65369         * libio/Makefile [$(cross-compiling) = no]: Likewise.
65370         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65371         * misc/Makefile [$(cross-compiling) = no]: Likewise.
65372         * posix/Makefile [$(cross-compiling) = no]: Likewise.
65373         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65374         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65375         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65376         * string/Makefile [$(cross-compiling) = no]: Likewise.
65378         * posix/Makefile ($(objpfx)globtest.out): Pass
65379         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65380         $(rtld-installed-name).
65381         * posix/globtest.sh (elf_objpfx): Remove variable.
65382         (rtld_installed_name): Likewise.
65383         (library_path): Likewise.
65384         (run_program_prefix): New variable.  Use for running globtest
65385         binary.
65387 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
65388             Joseph Myers  <joseph@codesourcery.com>
65390         * Makeconfig (host-built-program-cmd): New variable.
65391         * elf/Makefile (tst-stackguard1-ARGS): Use
65392         $(host-built-program-cmd).
65393         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65394         (tst-spawn-ARGS): Likewise.
65395         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65397 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65398             Jim Blandy  <jimb@codesourcery.com>
65400         * Makeconfig (run-via-rtld-prefix): New variable.
65401         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65402         (built-program-cmd): Likewise.
65404 2012-10-22  Andreas Jaeger  <aj@suse.de>
65406         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65407         __O_RSYNC if it exists, otherwise to O_SYNC.
65409 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
65410             Joseph Myers  <joseph@codesourcery.com>
65412         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65413         /dev/null.
65414         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65415         from /dev/null
65416         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65417         /dev/null.
65419 2012-10-22  Andreas Jaeger  <aj@suse.de>
65421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65422         Define always.
65423         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65425         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65426         bits/fcntl-linux.h.
65428         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65429         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65431         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65432         to __O_LARGEFILE.
65433         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65434         to __O_LARGEFILE.
65436 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
65437             Joseph Myers  <joseph@codesourcery.com>
65439         * config.make.in (NM): New variable.
65441 2012-10-21  Andreas Jaeger  <aj@suse.de>
65443         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65444         definitions and declarations that are provided by
65445         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65447 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65449         [BZ #14683]
65450         * elf/Makefile (tests-static): Add tst-leaks1-static.
65451         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65452         ($(objpfx)tst-leaks1-static): New rule.
65453         ($(objpfx)tst-leaks1-static-mem): Likewise.
65454         (tst-leaks1-static-ENV): New macro.
65455         * elf/dl-open.c (dl_open_worker): Check the main application
65456         only if SHARED is defined.
65457         * elf/tst-leaks1-static.c: New file.
65459 2012-10-20  Andreas Jaeger  <aj@suse.de>
65461         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65462         generic values for Linux.
65463         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65464         and declarations that are provided by <bits/fcntl-linux.h> and
65465         include <bits/fcntl-linux.h>.
65466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65467         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65469 2012-10-20  Roland McGrath  <roland@hack.frob.com>
65471         * io/fcntl.h: Move include of <bits/types.h> to the top and
65472         include it unconditionally.
65474 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65476         * wcsmbs/Makefile (tests-ifunc): New variable.
65477         (tests): Add $(tests-ifunc).
65478         * wcsmbs/test-wcschr-ifunc.c: New file.
65479         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65480         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65481         * wcsmbs/test-wcslen-ifunc.c: Likewise.
65482         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65483         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65485         * string/Makefile (tests-ifunc): New variable.
65486         (tests): Add $(tests-ifunc).
65487         * string/test-memccpy.c (TEST_NAME): New macro.
65488         * string/test-memchr.c (TEST_NAME): Likewise.
65489         * string/test-memcmp.c (TEST_NAME): Likewise.
65490         * string/test-memcpy.c (TEST_NAME): Likewise.
65491         * string/test-memmem.c (TEST_NAME): Likewise.
65492         * string/test-memmove.c (TEST_NAME): Likewise.
65493         * string/test-memset.c (TEST_NAME): Likewise.
65494         * string/test-rawmemchr.c (TEST_NAME): Likewise.
65495         * string/test-stpcpy.c (TEST_NAME): Likewise.
65496         * string/test-stpncpy.c (TEST_NAME): Likewise.
65497         * string/test-strcasecmp.c (TEST_NAME): Likewise.
65498         * string/test-strcasestr.c (TEST_NAME): Likewise.
65499         * string/test-strcat.c (TEST_NAME): Likewise.
65500         * string/test-strchr.c (TEST_NAME): Likewise.
65501         * string/test-strcmp.c(TEST_NAME): Likewise.
65502         * string/test-strcpy.c (TEST_NAME): Likewise.
65503         * string/test-strcspn.c (TEST_NAME): Likewise.
65504         * string/test-strlen.c (TEST_NAME): Likewise.
65505         * string/test-strncasecmp.c (TEST_NAME): Likewise.
65506         * string/test-strncmp.c (TEST_NAME): Likewise.
65507         * string/test-strncpy.c (TEST_NAME): Likewise.
65508         * string/test-strnlen.c (TEST_NAME): Likewise.
65509         * string/test-strpbrk.c (TEST_NAME): Likewise.
65510         * string/test-strrchr.c (TEST_NAME): Likewise.
65511         * string/test-strspn.c (TEST_NAME): Likewise.
65512         * string/test-strstr.c (TEST_NAME): Likewise.
65513         * string/test-bcopy-ifunc.c: New file.
65514         * string/test-bzero-ifunc.c: Likewise.
65515         * string/test-memccpy-ifunc.c: Likewise.
65516         * string/test-memchr-ifunc.c: Likewise.
65517         * string/test-memcmp-ifunc.c: Likewise.
65518         * string/test-memcpy-ifunc.c: Likewise.
65519         * string/test-memmem-ifunc.c: Likewise.
65520         * string/test-memmove-ifunc.c: Likewise.
65521         * string/test-mempcpy-ifunc.c: Likewise.
65522         * string/test-memset-ifunc.c: Likewise.
65523         * string/test-rawmemchr-ifunc.c: Likewise.
65524         * string/test-stpcpy-ifunc.c: Likewise.
65525         * string/test-stpncpy-ifunc.c: Likewise.
65526         * string/test-strcasecmp-ifunc.c: Likewise.
65527         * string/test-strcasestr-ifunc.c: Likewise.
65528         * string/test-strcat-ifunc.c: Likewise.
65529         * string/test-strchr-ifunc.c: Likewise.
65530         * string/test-strchrnul-ifunc.c: Likewise.
65531         * string/test-strcmp-ifunc.c: Likewise.
65532         * string/test-strcpy-ifunc.c: Likewise.
65533         * string/test-strcspn-ifunc.c: Likewise.
65534         * string/test-strlen-ifunc.c: Likewise.
65535         * string/test-strncasecmp-ifunc.c: Likewise.
65536         * string/test-strncat-ifunc.c: Likewise.
65537         * string/test-strncmp-ifunc.c: Likewise.
65538         * string/test-strncpy-ifunc.c: Likewise.
65539         * string/test-strnlen-ifunc.c: Likewise.
65540         * string/test-strpbrk-ifunc.c: Likewise.
65541         * string/test-strrchr-ifunc.c: Likewise.
65542         * string/test-strspn-ifunc.c: Likewise.
65543         * string/test-strstr-ifunc.c: Likewise.
65545         * debug/Makefile (tests-ifunc): New variable.
65546         (tests): Add $(tests-ifunc).
65547         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65548         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65549         * debug/test-stpcpy_chk-ifunc.c: New file.
65550         * debug/test-strcpy_chk-ifunc.c: Likewise.
65552 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65554         [BZ #13601]
65555         * elf/dl-load.c (open_verify): Retry read if the entire ELF
65556         header is not read in.
65558 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
65560         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
65561         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
65562         directly.  Pass built executable to script as
65563         $(built-program-cmd).
65564         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
65565         $testprogram without using LD_LIBRARY_PATH and $ldso.
65567         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65568         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65569         $(rtld-installed-name).
65570         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65571         (rtld_installed_name): Likewise.
65572         (library_path): Likewise.
65573         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
65574         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65575         $(run-program-prefix) to tst-tables.sh.
65576         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
65577         it to run tst-table-from and tst-table-to.
65578         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65579         Pass it to tst-table.sh.
65580         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65581         $(run-program-prefix) to tst-gettext.sh.
65582         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65583         tst-translit.sh.
65584         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65585         tst-gettext2.sh.
65586         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
65587         to run tst-gettext.
65588         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
65589         to run tst-gettext2.
65590         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
65591         to run tst-translit.
65592         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65593         $(run-program-prefix) to tst-mtrace.sh.
65594         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
65595         to run tst-mtrace.
65596         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65597         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65598         $(rtld-installed-name).
65599         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65600         (rtld_installed_name): Likewise.
65601         (run_program_prefix): New variable.  Use it to run wordexp-test.
65603         * Makeconfig (ARCH): Remove all definitions.
65604         (machine): Likewise.
65605         [ARCH]: Remove conditional code.
65606         [!objdir]: Give error.
65607         [!objdir] (objpfx): Remove.
65608         [!objdir] (common-objpfx): Likewise.
65609         [!objdir] (common-objdir): Likewise.
65610         * configure.in (config_makefile): Remove.  Hardcode Makefile in
65611         AC_CONFIG_FILES call.
65612         * configure: Regenerated.
65614         [BZ #13888]
65615         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65616         or TMPDIR.
65617         (testout): Likewise.
65619         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65620         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65621         $(rtld-installed-name).
65622         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65623         (rtld_installed_name): Likewise.
65624         (runit): Remove function.
65625         (run_getconf): New variable,  Use it for running getconf binary.
65627 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
65629         [BZ #14716]
65630         * string/test-memmem.c (check_result): New function.
65631         (do_one_test): Use it.
65632         (check1): New function.
65633         (test_main): Use it.
65635 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
65637         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65639 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
65641         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65642         (_G_LSEEK64): Likewise.
65643         (_G_MMAP64): Likewise.
65644         (_G_FSTAT64): Likewise.
65645         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65646         (_G_LSEEK64): Likewise.
65647         (_G_MMAP64): Likewise.
65648         (_G_FSTAT64): Likewise.
65649         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65650         unconditional.  Call __mmap64 directly.
65651         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65652         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
65653         __lseek64 directly.
65654         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65655         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
65656         __mmap64 directly.
65657         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65658         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65659         __lseek64 directly.
65660         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65661         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65662         __lseek64 directly.
65663         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65664         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
65665         __lseek64 directly.
65666         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65667         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
65668         __fxstat64 directly.
65669         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65670         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65671         unconditional.
65672         (freopen64) [!_G_OPEN64]: Remove conditional code.
65673         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65674         unconditional.
65675         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65676         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65677         unconditional.
65678         (ftello64) [!_G_LSEEK64]: Remove conditional code.
65679         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65680         unconditional.
65681         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65682         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65683         unconditional.
65684         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65685         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65686         unconditional.
65687         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65688         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65689         unconditional.
65690         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65691         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65692         unconditional.
65693         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65695 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65697         [BZ #12140]
65698         * manual/memory.texi (Malloc Tunable Parameters): Add note
65699         about free list pointers overwriting some perturb bytes.
65700         Wording suggested by Roland McGrath.
65702 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
65704         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65705         (lgamma_test): Likewise.
65706         (tgamma_test): Likewise.
65708 2012-10-16  Florian Weimer  <fweimer@redhat.com>
65710         [BZ #14700]
65711         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65712         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65714 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
65716         * NEWS: Mention BZ #14716.
65717         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65718         when removing AVAILABLE1_USES_J macro.
65720 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
65722         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65723         (__bswap_64): __uint64_t for unsigned 64-bit int.
65725 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
65727         * include/string.h (memmem): Declare libc hidden alias.
65728         * string/memmem.c (memmem): Define libc hidden alias.
65729         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65730         __read, __close instead of open, read, close.
65732 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
65734         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65735         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65736         global and hidden.
65737         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65738         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65739         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65740         Likewise.
65741         (__rawmemchr_sse2): Likewise.
65742         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65743         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65744         (__strchr_sse2): Likewise.
65745         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65746         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65747         (__strcasecmp_sse2): Likewise.
65748         (__strncasecmp_sse2): Likewise.
65749         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65750         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65751         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65752         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65753         (__strrchr_sse2): Likewise.
65754         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65755         ifunc-impl-list.c.
65756         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65757         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65758         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65759         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65760         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65761         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65762         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65763         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65764         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65765         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65766         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65767         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65768         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65769         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65770         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65771         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65772         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65773         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65774         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65775         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65776         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65777         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65778         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65779         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65780         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65781         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65782         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65783         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65784         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65785         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65787         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65788         global and hidden.
65789         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65790         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65791         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65792         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65793         Likewise.
65794         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65795         Likewise.
65796         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65797         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65798         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65799         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65800         ifunc-impl-list.c.
65801         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65802         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65803         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65804         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65805         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65806         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65807         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65808         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65809         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65810         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65811         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65812         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65813         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65814         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65815         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65816         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65817         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65818         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65819         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65820         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65821         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65822         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65823         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65824         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65825         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65826         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65827         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65828         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65829         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65830         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65831         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65832         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65833         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65834         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65835         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65836         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65837         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65838         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65839         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65840         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65841         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65843         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65844         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65845         * include/ifunc-impl-list.h: New file.
65846         * misc/ifunc-impl-list.c: Likewise.
65847         * misc/Makefile (routines): Add ifunc-impl-list.
65848         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65849         * string/test-string.h: Include <ifunc-impl-list.h>.
65850         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65851         TEST_NAME]: New variables.
65852         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65853         are defined.
65854         (test_init): Call __libc_ifunc_impl_list to initialize
65855         func_list if TEST_IFUNC and TEST_NAME are defined.
65857         * string/Makefile (strop-tests): Add bcopy and bzero.
65858         * string/test-bcopy.c: New file.
65859         * string/test-bzero.c: Likewise.
65860         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65861         defined.
65862         * string/test-memset.c: Support bzero test if TEST_BZERO is
65863         defined.
65864         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65865         __libc_memmove.
65866         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65867         __libc_memset.
65868         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65869         of memset.
65871 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
65873         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65874         * configure: Regenerated.
65876         * Makeconfig (+link-static-before-libc): Don't include
65877         $(link-static-libc).
65879         * libio/libio.h (_IO_pos_t): Remove.
65881 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65883         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65884         McGrath.
65886 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65888         * crypt/crypt-entry.c: Include fips-private.h.
65889         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65890         * crypt/md5c-test.c (main): Tolerate disabled MD5.
65891         * sysdeps/unix/sysv/linux/fips-private.h: New file.
65892         * sysdeps/generic/fips-private.h: New file, dummy fallback.
65894 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65896         * crypt/crypt-private.h: Include stdbool.h.
65897         (_ufc_setup_salt_r): Return bool.
65898         * crypt/crypt-entry.c: Include errno.h.
65899         (__crypt_r): Return NULL with EINVAL for bad salt.
65900         * crypt/crypt_util.c (bad_for_salt): New.
65901         (_ufc_setup_salt_r): Check that salt is long enough and within
65902         the specified alphabet.
65903         * crypt/badsalttest.c: New file.
65904         * crypt/Makefile (tests): Add it.
65905         ($(objpfx)badsalttest): New.
65907 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
65909         * NEWS: Add entry for BZ #14602.
65911 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65913         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65914         type-generic.
65915         * math/libm-test.inc: Update comment listing what functions and
65916         macros are tested.
65917         (isgreater_test): New function.
65918         (isgreaterequal_test): Likewise.
65919         (isless_test): Likewise.
65920         (islessequal_test): Likewise.
65921         (islessgreater_test): Likewise.
65922         (isunordered_test): Likewise.
65923         (main): Call the new functions.
65925 2012-10-09  Roland McGrath  <roland@hack.frob.com>
65927         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65928         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65929         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65930         * sysdeps/i386/configure: Regenerated.
65931         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65932         * sysdeps/mach/configure: Regenerated.
65933         * sysdeps/mach/hurd/configure: Regenerated.
65934         * sysdeps/powerpc/configure: Regenerated.
65935         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65936         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65937         * sysdeps/s390/s390-32/configure: Regenerated.
65938         * sysdeps/s390/s390-64/configure: Regenerated.
65939         * sysdeps/sh/configure: Regenerated.
65940         * sysdeps/sparc/configure: Regenerated.
65941         * sysdeps/unix/sysv/linux/configure: Regenerated.
65942         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65943         * sysdeps/x86_64/configure: Regenerated.
65945         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65946         defined.  Don't check if MAP is NULL.
65948 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65950         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65951         (_G_stat64): Likewise.
65952         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65953         (_G_stat64): Likewise.
65954         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65955         instead of struct _G_stat64.
65956         * libio/fileops.c (mmap_remap_check): Likewise.
65957         (decide_maybe_mmap): Likewise.
65958         (_IO_new_file_seekoff): Likewise.
65959         (_IO_file_stat): Likewise.
65960         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65961         _G_off64_t.
65962         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65963         instead of struct _G_stat64.
65964         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65966 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
65968         [BZ #14602]
65969         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65970         Replace with ...
65971         (CHECK_EOL): New macro.
65972         (two_way_short_needle): Check beginning of haystack for EOL.  Use
65973         CHECK_EOL.
65974         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65975         Replace with CHECK_EOL.
65976         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65977         Replace with CHECK_EOL.
65979 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
65981         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65982         type-generic.
65983         * math/libm-test.inc: Update comment listing what functions and
65984         macros are tested.
65985         (finite_test): New function.
65986         (isinf_test): Likewise.
65987         (isnan_test): Likewise.
65988         (fpclassify_test): Test subnormal input.
65989         (isfinite_test): Likewise.
65990         (isnormal_test): Likewise.
65991         (main): Call the new functions.
65993 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
65995         [BZ #14660]
65996         * Makerules (%.dynsym): Force C locale when running
65997         $(OBJDUMP) --dynamic-syms.
65999 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
66001         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
66002         <stdint.h>.
66004 2012-10-06  David S. Miller  <davem@davemloft.net>
66006         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
66007         upper 32-bits of the length value in %o2 since we use branch-on-register
66008         tests which consider the entire 64-bit register.
66010 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
66012         * string/test-strstr.c (check2): Add a test for page boundary.
66014 2012-10-05  David S. Miller  <davem@davemloft.net>
66016         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
66017         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
66018         file.
66019         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66020         sysdep_routines.
66021         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66022         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
66023         and bzero when HWCAP_SPARC_CRYPTO is present.
66025 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
66027         [BZ #14602]
66028         * string/test-strstr.c (check2): New function.
66029         (test_main): Call check2.
66031         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
66032         and bug-strchr1.
66033         * string/bug-strcasestr1.c (do_test): Moved to ...
66034         * string/test-strcasestr.c (check1): Here.  New function.
66035         (do_one_test): Break out result checking code into ...
66036         (check_result): This.  New function.
66037         (do_one_test): Call check_result.
66038         (test_main): Call check1.
66039         * string/bug-strchr1.c (do_test): Moved to ...
66040         * string/test-strchr.c (check1): Here.  New function.
66041         (do_one_test): Break out result checking code into ...
66042         (check_result): This.  New function.
66043         (do_one_test): Call check_result.
66044         (test_main): Call check1.
66045         * string/bug-strstr1.c (main): Moved to ...
66046         * string/test-strstr.c (check1): Here.  New function.
66047         (do_one_test): Break out result checking code into ...
66048         (check_result): This.  New function.
66049         (do_one_test): Call check_result.
66050         (test_main): Call check1.
66051         * string/bug-strcasestr1.c: Removed.
66052         * string/bug-strchr1.c: Likewise.
66053         * string/bug-strstr1.c: Likewise.
66055         * elf/Makefile (dl-routines): Add hwcaps.
66056         * elf/dl-support.c (_dl_important_hwcaps): Removed.
66057         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66058         (_dl_important_hwcaps): Moved to ...
66059         * elf/dl-hwcaps.c: Here.  New file.
66060         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
66062         [BZ #14557]
66063         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
66064         if IS_IN_rtld isn't defined.
66066         * elf/dl-support.c (_dl_sysinfo_map): New.
66067         Include "get-dynamic-info.h" and "setup-vdso.h".
66068         (_dl_non_dynamic_init): Call setup_vdso.
66069         * elf/dynamic-link.h: Don't include <assert.h>.
66070         (elf_get_dynamic_info): Moved to ...
66071         * elf/get-dynamic-info.h: Here.  New file.
66072         * elf/dynamic-link.h: Include "get-dynamic-info.h".
66073         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
66074         * elf/setup-vdso.h: Here.  New file.
66075         * elf/rtld.c: Include "setup-vdso.h".
66076         (dl_main): Call setup_vdso.
66078 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
66080         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
66081         creal in comment listing functions tested.  List finite, isinf,
66082         isnan, isless, islessequal, isgreater, isgreaterequal,
66083         islessgreater, isunordered, lgamma_r and pow10 as functions and
66084         macros not tested.  Mention which functions not tested are aliases
66085         for other functions.  Fix typo.  Note that signs of NaNs are not
66086         tested.
66088         * scripts/config.guess: Update from config.git.
66089         * scripts/config.sub: Likewise.
66091 2012-10-04  Roland McGrath  <roland@hack.frob.com>
66093         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
66094         * misc/madvise.c (madvise): Renamed to __madvise.
66095         Make madvise a weak alias.
66096         * include/sys/mman.h: Declare __madvise.
66097         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
66098         * sysdeps/unix/syscalls.list
66099         (madvise): Make __madvise the strong name, and madvise a weak alias.
66100         * sysdeps/unix/sysv/linux/syscalls.list
66101         (madvise, mmap): Remove redundant entries.
66102         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
66103         * malloc/malloc.c (mtrim): Likewise.
66104         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
66106 2012-10-03  Roland McGrath  <roland@hack.frob.com>
66108         * sysdeps/mach/hurd/dl-cache.c: File removed.
66109         * config.h.in (USE_LDCONFIG): New #undef.
66110         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
66111         * configure: Regenerated.
66112         * elf/Makefile (dl-routines): Add dl-cache only under
66113         [$(use-ldconfig) = yes].
66114         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
66115         cache on [USE_LDCONFIG].
66116         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
66117         [USE_LDCONFIG].
66118         * elf/rtld.c (dl_main): Likewise.
66120 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
66122         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
66123         _SC_LEVEL4_CACHE_LINESIZE.
66125 2012-10-03  Roland McGrath  <roland@hack.frob.com>
66127         * sysdeps/unix/bsd/confstr.h: File removed.
66129 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
66131         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
66132         sys/sdt-config.h.
66134 2012-10-02  Roland McGrath  <roland@hack.frob.com>
66136         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
66137         Make 'mapoff' field ElfW(Off) rather than off_t.
66139 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
66141         * nscd/Makefile: Remove nscd-cflags and all its users.
66142         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
66143         (CFLAGS-nonlib): Add compiler flags for nscd modules.
66145         [BZ #10631]
66146         * malloc.c (malloc_printerr): Clarify error message.
66148 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
66150         [BZ #14648]
66151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66152         Set bit_FMA_Usable if FMA is supported.
66153         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66154         macro.
66155         (bit_FMA4_Usable): Updated.
66156         (index_FMA_Usable): New macro.
66157         (CPUID_FMA): Likewise.
66158         (HAS_FMA): Defined with bit_FMA_Usable.
66160 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66162         * bits/types.h (__swblk_t): Type removed.
66163         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66164         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66165         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66166         (__SWBLK_T_TYPE): Likewise.
66167         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66168         (__SWBLK_T_TYPE): Likewise.
66169         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66170         (__SWBLK_T_TYPE): Likewise.
66171         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66172         (__SWBLK_T_TYPE): Likewise.
66174 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
66175             Honza Horak <hhorak@redhat.com>
66177         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66178         (xdr_mapname): Use YPMAXMAP as maxsize.
66179         (xdr_peername): Use YPMAXPEER as maxsize.
66180         (xdr_keydat): Use YPAXRECORD as maxsize.
66181         (xdr_valdat): Use YPMAXRECORD as maxsize.
66183 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66185         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66187         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66188         * csu/init-first.c: ... here.
66189         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66190         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66191         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66192         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66193         * sysdeps/i386/init-first.c: File removed.
66194         * sysdeps/sh/init-first.c: File removed.
66196 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
66198         [BZ #14645]
66199         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66200         if x * y might underflow to zero and z is zero.
66201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66202         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66203         * math/libm-test.inc (min_subnorm_value): New variable.
66204         (fma_test): Add more tests.
66205         (fma_test_towardzero): Likewise.
66206         (fma_test_downward): Likewise.
66207         (fma_test_upward): Likewise.
66208         (initialize): Set min_subnorm_value.
66210 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
66212         [BZ #14638]
66213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66214         0 + 0.
66215         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66216         mode for addition resulting in exact zero.
66217         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66218         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66219         exact 0 + 0.
66220         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66221         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66222         * math/libm-test.inc (fma_test): Add more tests.
66223         (fma_test_towardzero): New function.
66224         (fma_test_downward): Likewise.
66225         (fma_test_upward): Likewise.
66226         (main): Call the new functions.
66228 2012-09-28  David S. Miller  <davem@davemloft.net>
66230         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66232 2012-09-28  Roland McGrath  <roland@hack.frob.com>
66234         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66235         instead of SIGALRM.
66237         * sysdeps/gnu/_G_config.h: Moved to ...
66238         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66239         * sysdeps/mach/hurd/_G_config.h: Moved to ...
66240         * sysdeps/generic/_G_config.h: ... here.
66242         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
66244         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66246         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66247         Conditionalize target on [libnss_test1.so-version].
66249         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66251         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66252         (elfobjdir): Move out of conditionals.
66254         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66255         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66256         (__nss_lookup_function): Conditionalize label remove_from_tree on
66257         [!DO_STATIC_NSS || SHARED], matching its only use.
66259 2012-09-28  David S. Miller  <davem@davemloft.net>
66261         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66262         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66263         file.
66264         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66265         sysdep_routines.
66266         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66267         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66268         when HWCAP_SPARC_CRYPTO is present.
66270 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66272         * io/tst-mknodat.c: Create a FIFO instead of a socket.
66274 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
66276         [BZ #6530]
66277         * stdio-common/vfprintf.c (process_string_arg): Revert
66278         2000-07-22 change.
66280 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
66282         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66283         for testcase.
66284         * stdio-common/tst-sprintf.c: Include <locale.h>
66285         (main): Test sprintf's handling of incomplete multibyte
66286         characters.
66288 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
66290         * elf/dl-runtime.c (VERSYMIDX): Removed.
66291         * elf/dl-version.c (VERSYMIDX): Likewise.
66292         * elf/do-rel.h (VERSYMIDX): Likewise.
66293         (VALIDX): Likewise.
66294         * elf/dynamic-link.h (VERSYMIDX): Likewise.
66295         * elf/rtld.c (VALIDX): Likewise.
66296         (ADDRIDX): Likewise.
66297         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66298         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66299         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66300         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66301         (VALIDX): Likewise.
66302         (ADDRIDX): Likewise.
66304 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66306         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66308 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
66310         [BZ #11438]
66311         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66312         to global scope.
66313         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66314         addresses are in the same scope as 192.0.2/24.
66315         * posix/gai.conf: Document new scope table defaults.
66317 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66319         [BZ #5298]
66320         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66321         for ftell.  Compute offsets from write pointers instead.
66322         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66324 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66326         [BZ #14543]
66327         * libio/Makefile (tests): New test case tst-fseek.
66328         * libio/tst-fseek.c: New test case to verify that fseek/ftell
66329         combination works in wide mode.
66330         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66331         state when the external buffer state changes.
66333 2012-09-27  David S. Miller  <davem@davemloft.net>
66335         [BZ #14376]
66336         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66337         pass reloc->r_addend in as the 'high' argument to
66338         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66342 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66344         * rt/tst-aio2.c: Include <pthread.h>.
66345         * rt/tst-aio3.c: Likewise.
66347 2012-09-27  Steve Ellcey  <sellcey@mips.com>
66349         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66351 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
66353         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66354         contents on [SHARED].
66356 2012-09-26  Marek Polacek  <polacek@redhat.com>
66358         [BZ #14530]
66359         [BZ #13741]
66360         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66361         for C++ and GCC <4.3 as well as for non GCC compilers.
66363 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66367 2012-09-25  Roland McGrath  <roland@hack.frob.com>
66369         * Makefile.in (all, install): Declare with .PHONY.
66370         Reported by Michael Hope <michael.hope@linaro.org>.
66372 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66374         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66375         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66376         system header.
66377         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66378         Likewise.
66379         (sydep_routines): Add the new and the internal functions.
66380         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66381         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66383         (GLIBC_2.17): Add the new function.
66384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66385         (GLIBC_2.17): Likewise.
66386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66387         (GLIBC_2.17): Likewise.
66388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66389         (GLIBC_2.17): Likewise.
66390         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66392 2012-09-25  Alan Modra  <amodra@gmail.com>
66394         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66395         Add release barrier before setting once_control to say
66396         initialisation is done.  Add hints on lwarx.  Use macro in
66397         place of isync.
66398         (clear_once_control): Add release barrier.
66400 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66402         [BZ #13629]
66403         * math/s_clog.c (__clog): Handle more values close to |z| = 1
66404         specially.
66405         * math/s_clog10.c (__clog10): Likewise.
66406         * math/s_clog10f.c (__clog10f): Likewise.
66407         * math/s_clog10l.c (__clog10l): Likewise.
66408         * math/s_clogf.c (__clogf): Likewise.
66409         * math/s_clogl.c (__clogl): Likewise.
66410         * math/Makefile (libm-calls): Add x2y2m1.
66411         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66412         (__x2y2m1): Likewise.
66413         (__x2y2m1l): Likewise.
66414         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66415         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66416         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66417         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66418         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66419         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66420         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66421         * sysdeps/i386/fpu/libm-test-ulps: Update.
66422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66424         [BZ #14621]
66425         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66426         int as type of variable DEPTH.
66427         (glob): Use size_t instead of int as type of variables NEWCOUNT
66428         and OLD_PATHC.
66430 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66432         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66433         Add s_sincosf-sse2.
66434         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66435         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66436         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66437         macros for using routine as __sincosf_ia32.
66438         Use macro for function declaration and weak_alias.
66439         * sysdeps/i386/fpu/libm-test-ulps: Update.
66441         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66444         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66445         subnormal argument.
66446         * math/s_cexpf.c (__cexpf): Likewise.
66447         * math/s_csinf.c (__csinf): Likewise.
66448         * math/s_csinhf.c (__csinhf): Likewise.
66449         * math/s_ctanf.c (__ctanf): Likewise.
66450         * math/s_ctanhf.c (__ctanhf): Likewise.
66451         * math/s_ccosh.c (__ccoshf): Likewise.
66452         * math/s_cexp.c (__cexpl): Likewise.
66453         * math/s_csin.c (__csin): Likewise.
66454         * math/s_csinh.c (__csinh): Likewise.
66455         * math/s_ctan.c (__ctan): Likewise.
66456         * math/s_ctanh.c (ctanh): Likewise.
66457         * math/s_ccoshl.c (__ccoshl): Likewise.
66458         * math/s_cexpl.c (__cexpl): Likewise.
66459         * math/s_csinl.c (__csinl): Likewise.
66460         * math/s_csinhl.c (__csinhl): Likewise.
66461         * math/s_ctanl.c (__ctanl): Likewise.
66462         * math/s_ctanhl.c (__ctanhl): Likewise.
66464 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66466         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66467         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66468         (_IO_off_t): Define to __off_t, not _G_off_t.
66469         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66470         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66471         (_IO_wint_t): Define to wint_t, not _G_wint_t.
66472         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66473         type of __dummy and __dummy2 fields.
66474         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66475         (_G_ssize_t): Likewise.
66476         (_G_off_t): Likewise.
66477         (_G_pid_t): Likewise.
66478         (_G_uid_t): Likewise.
66479         (_G_wchar_t): Likewise.
66480         (_G_wint_t): Likewise.
66481         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66482         (_G_ssize_t): Likewise.
66483         (_G_off_t): Likewise.
66484         (_G_pid_t): Likewise.
66485         (_G_uid_t): Likewise.
66486         (_G_wchar_t): Likewise.
66487         (_G_wint_t): Likewise.
66488         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66489         (_G_ssize_t): Likewise.
66490         (_G_off_t): Likewise.
66491         (_G_pid_t): Likewise.
66492         (_G_uid_t): Likewise.
66493         (_G_wchar_t): Likewise.
66494         (_G_wint_t): Likewise.
66496 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66498         * malloc/arena.c: Include malloc-sysdep.h.
66499         (shrink_heap): Use check_may_shrink_heap to decide if madvise
66500         is sufficient to shrink the heap or an unmap is needed.
66501         * sysdeps/generic/malloc-sysdep.h: New file.  Define
66502         new function check_may_shrink_heap.
66503         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
66504         new function check_may_shrink_heap.
66506 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66508         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66509         comments.
66511 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
66513         * catgets/test-gencat.sh: Add "set -e".
66514         * elf/tst-pathopt.sh: Likewise.
66515         * grp/tst_fgetgrent.sh: Likewise.
66516         * iconvdata/run-iconv-test.sh: Likewise.
66517         * intl/tst-gettext.sh: Likewise.
66518         * intl/tst-gettext2.sh: Likewise.
66519         * intl/tst-gettext4.sh: Likewise.
66520         * intl/tst-gettext6.sh: Likewise.
66521         * intl/tst-translit.sh: Likewise.
66522         * io/ftwtest-sh: Likewise.
66523         * libio/test-freopen.sh: Likewise.
66524         * malloc/tst-mtrace.sh: Likewise.
66525         * posix/globtest.sh: Likewise.
66526         * posix/tst-getconf.sh: Likewise.
66527         * posix/wordexp-tst.sh: Likewise.
66528         * stdio-common/tst-printf.sh: Likewise.
66529         * stdio-common/tst-unbputc.sh: Likewise.
66530         * stdlib/tst-fmtmsg.sh: Likewise.
66531         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66532         * catgets/Makefile: Do not specify -e option when running
66533         testsuite shell scripts.
66534         * elf/Makefile: Likewise.
66535         * grp/Makefile: Likewise.
66536         * iconvdata/Makefile: Likewise.
66537         * intl/Makefile: Likewise.
66538         * io/Makefile: Likewise.
66539         * libio/Makefile: Likewise.
66540         * malloc/Makefile: Likewise.
66541         * posix/Makefile: Likewise.
66542         * stdio-common/Makefile: Likewise.
66543         * stdlib/Makefile: Likewise.
66544         * sysdeps/x86_64/Makefile: Likewise.
66546         * io/ftwtest-sh: Add copyright header.
66547         * posix/globtest.sh: Likewise.
66548         * posix/tst-getconf.sh: Likewise.
66549         * posix/wordexp-tst.sh: Likewise.
66550         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66552 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
66554         [BZ #13679]
66555         * Makeconfig (+link): Defined as $(+link-static) if
66556         $(build-shared) isn't yes.
66557         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66558         isn't yes.
66559         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66561         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66563         [BZ #14562]
66564         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66565         new chunk size with MALLOC_ALIGN_MASK.
66567 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
66569         [BZ #5044]
66570         * stdio-common/printf_fphex.c: Include <stdbool.h> and
66571         <rounding-mode.h>.
66572         (__printf_fphex): Determine rounding using get_rounding_mode and
66573         round_away.
66574         * stdio-common/tst-printf-round.c (struct hex_test): New
66575         structure.
66576         (hex_tests): New variable.
66577         (test_hex_in_one_mode): New function.
66578         (do_test): Also run tests for hex float output.
66580 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
66582         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66583         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66584         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66585         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66586         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66587         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66588         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66589         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66591 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
66593         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66594         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66595         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66596         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66598 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
66600         [BZ #14579]
66601         * elf/rtld.c (dl_main): Limit the check for self loading to normal
66602         mode only.
66603         * elf/tst-rtld-load-self.sh: New test.
66604         * elf/Makefile: Run it.
66606 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
66608         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66609         (tst-writev-ENV): Remove.
66610         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66612 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
66614         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66616 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
66618         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66619         unconditional.
66620         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66621         Likewise.
66622         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66623         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66624         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66625         Likewise.
66627 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
66629         [BZ #14587]
66630         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66631         * config.make.in (have-cpp-asm-debuginfo): Removed.
66632         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66633         * configure: Regenerated.
66635 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
66637         [BZ #5044]
66638         * stdio-common/printf_fp.c: Include <stdbool.h> and
66639         <rounding-mode.h>.
66640         (___printf_fp): Determine rounding using get_rounding_mode and
66641         round_away.
66642         * stdio-common/tst-printf-round.c: New file.
66643         * stdio-common/Makefile (tests): Add tst-printf-round.
66644         (link-libm): New variable.
66645         ($(objpfx)tst-printf-round): Depend in $(link-libm).
66647 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
66649         [BZ #14576]
66650         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66651         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66652         Likewise.
66653         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66654         Likewise.
66656 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
66658         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66659         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66660         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66661         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66663 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
66665         [BZ #14518]
66666         * include/rounding-mode.h: New file.
66667         * sysdeps/generic/get-rounding-mode.h: Likewise.
66668         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66669         * stdlib/strtod_l.c: Include <rounding-mode.h>.
66670         (MAX_VALUE): New macro.
66671         (MIN_VALUE): Likewise.
66672         (overflow_value): New function.
66673         (underflow_value): Likewise.
66674         (round_and_return): Use overflow_value and underflow_value to
66675         determine return values in overflow and underflow cases.  Use
66676         round_away to determine rounding depending on rounding mode.
66677         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66678         determine return values in overflow and underflow cases.
66679         * stdlib/tst-strtod-round.c: Include <fenv.h>.
66680         (struct test_results): New structure.
66681         (struct test): Use struct test_results to store expected results
66682         for all rounding modes.
66683         (TEST): Include expected results for all rounding modes.
66684         (test_in_one_mode): New function.
66685         (do_test): Use test_in_one_mode to compute and check results.
66686         Check results for all rounding modes.
66687         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66688         $(link-libm).
66690 2012-12-09  Allan McRae  <allan@archlinux.org>
66692         * sysdeps/i386/fpu/libm-test-ulps: Update
66694 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
66696         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66697         (_G_int32_t): Likewise.
66698         (_G_uint16_t): Likewise.
66699         (_G_uint32_t): Likewise.
66700         (_G_HAVE_BOOL): Likewise.
66701         (_G_HAVE_ATEXIT): Likewise.
66702         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66703         (_G_HAVE_IO_FILE_OPEN): Likewise.
66704         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66705         (_G_int32_t): Likewise.
66706         (_G_uint16_t): Likewise.
66707         (_G_uint32_t): Likewise.
66708         (_G_HAVE_BOOL): Likewise.
66709         (_G_HAVE_ATEXIT): Likewise.
66710         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66711         (_G_HAVE_IO_FILE_OPEN): Likewise.
66712         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66713         (_G_int32_t): Likewise.
66714         (_G_uint16_t): Likewise.
66715         (_G_uint32_t): Likewise.
66716         (_G_HAVE_BOOL): Likewise.
66717         (_G_HAVE_ATEXIT): Likewise.
66718         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66719         (_G_HAVE_IO_FILE_OPEN): Likewise.
66721 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
66723         * csu/libc-tls.c: Update copyright years.
66725 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
66727         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66728         [!_G_USING_THUNKS]: Remove conditional code.
66729         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66730         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66732         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66733         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66734         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66735         (_G_VTABLE_LABEL_PREFIX): Likewise.
66736         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66737         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66738         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66739         (_G_VTABLE_LABEL_PREFIX): Likewise.
66740         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66741         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66742         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66743         (_G_VTABLE_LABEL_PREFIX): Likewise.
66744         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66746 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
66748         * libio/Makefile: Include ../Makeconfig before tests.
66749         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66750         only if $(build-shared) is yes.
66752         * iconv/gconv_db.c: Update copyright years.
66754 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66756         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66757         unwind info if defined PIC. Fix special cases description.
66758         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66760         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66761         DP_HI_MASK entry.
66762         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66764 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
66766         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66768         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66769         is NULL.
66771         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66772         (LDLIBS-tst-chk4): This.
66773         (LDFLAGS-tst-chk5): Renamed to ...
66774         (LDLIBS-tst-chk5): This.
66775         (LDFLAGS-tst-chk6): Renamed to ...
66776         (LDLIBS-tst-chk6): This.
66777         (LDFLAGS-tst-lfschk4): Renamed to ...
66778         (LDLIBS-tst-lfschk4): This.
66779         (LDFLAGS-tst-lfschk5): Renamed to ...
66780         (LDLIBS-tst-lfschk5): This.
66781         (LDFLAGS-tst-lfschk6): Renamed to ...
66782         (LDLIBS-tst-lfschk6): This.
66784         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66785         on $(common-objpfx)soversions.mk.
66787 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
66789         [BZ #10014]
66790         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66791         example host name.
66793 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66795         * malloc/arena.c (arena_get_retry): New function that gets
66796         another arena for the caller to try its request on.
66797         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66798         current arena cannot fulfill the request.
66799         (__libc_memalign): Likewise.
66800         (__libc_memalign): Likewise.
66801         (__libc_pvalloc): Likewise.
66802         (__libc_calloc): Likewise.
66804 2012-09-05  John Tobey  <john.tobey@gmail.com>
66806         [BZ #13542]
66807         * manual/arith.texi (Operations on Complex): Fix description
66808         of carg branch cut.
66810 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66812         [BZ #10014]
66813         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66814         host name.
66816         [BZ #10038]
66817         * manual/memory.texi (Memory): Make order of menu items match
66818         order of sections.
66820 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66822         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66823         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
66824         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66826 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66828         * csu/libc-tls.c (static_dtv): Renamed to ...
66829         (_dl_static_dtv): This.  Make it global.
66830         (_dl_initial_dtv): Removed.
66831         (__libc_setup_tls): Updated.
66832         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66833         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66834         DL_INITIAL_DTV.
66836 2012-09-06  Petr Machata  <pmachata@redhat.com>
66838         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66839         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66840         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66841         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66843 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66845         [BZ #14545]
66846         * csu/libc-tls.c (_dl_initial_dtv): New variable.
66847         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66848         freeing dtv[-1].
66850 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66852         [BZ #14544]
66853         * Makeconfig (link-static-before-libc): Replace $(+prector)
66854         with $(+prectorT).
66855         (link-static-after-libc): Replace $(+postctor) with
66856         $(+postctorT).
66857         (link-bounded): Replace $(+prector)/$(+postctor) with
66858         $(+prectorT)/$(+postctorT).
66859         (+prectorT): New macro.
66860         (+postctorT): Likewise.
66862 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66864         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66865         (round_str): Handle values above the maximum for IBM long double
66866         as inexact.
66867         * stdlib/tst-strtod-round.c (tests): Regenerated.
66869 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66871         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66872         assembler flag.
66873         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66874         zarch_nohighgprs around the zarch optimized routines.
66875         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66876         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66877         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66878         for zarch.
66880 2012-09-05  David S. Miller  <davem@davemloft.net>
66882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66884         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66885         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66886         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66887         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66888         entries.
66890 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66892         * malloc/arena.c: Fold copyright years.
66893         * malloc/mcheck.c, malloc/memusage.c: Likewise.
66895 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66897         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66899 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66901         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
66903 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66905         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66906         change internal state upon failure.
66908 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66910         * malloc/mcheck.c (mcheck_check_all): Fix typo.
66911         * malloc/memusage.c (mmap): Likewise.
66912         (mmap64, mremap): Likewise.  Adjust name in comment.
66914 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66916         * libio/fileops.c: Fix typos in comments.
66917         * libio/oldfileops.c: Likewise.
66918         * libio/wfileops.c: Likewise.
66920 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66922         [BZ #1349]
66923         * malloc/Makefile (tests): Add tst-malloc-usable test case.
66924         (tst-malloc-usable-ENV): Set environment for test case.
66925         * malloc/hooks.c (malloc_check_get_size): New function to get
66926         requested size.
66927         * malloc/malloc.c (musable): Use malloc_check_get_size.
66928         * malloc/tst-malloc-usable.c: New test case.
66930 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66932         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66934 2012-09-05  Allan McRae  <allan@archlinux.org>
66936         [BZ #13966]
66937         * configure.in (CXX_SYSINCLUDES): Use compiler output to
66938         determine header location.
66939         * configure: Regenerated.
66941 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66943         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66944         float format.
66945         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66946         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66947         format.
66948         (test): Regenerate.
66950 2012-09-04  David S. Miller  <davem@davemloft.net>
66952         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66953         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66954         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66956 2012-09-04  Florian Weimer  <fweimer@redhat.com>
66958         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66959         failures.
66961         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66963 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
66965         [BZ #9914]
66966         * libio/iogetdelim.c: Include <limits.h>.
66967         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66968         + len + 1 would overflow.
66970 2012-09-03  Andreas Jaeger  <aj@suse.de>
66972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66973         * sysdeps/i386/fpu/libm-test-ulps: Update.
66975 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66977         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66978         Add s_sinf-sse2, s_conf-sse2.
66980         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66981         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66982         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66983         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66985         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66986         for using routine as __sinf_ia32.
66987         Use macro for function declaration and weak_alias.
66988         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66989         for using routine as __cosf_ia32.
66990         Use macro for function declaration and weak_alias.
66992         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66993         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66995         * sysdeps/x86_64/fpu/s_sinf.S: New file.
66996         * sysdeps/x86_64/fpu/s_cosf.S: New file.
66997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66999         * math/libm-test.inc (cos_test): Add more test cases.
67000         (sin_test): Likewise.
67001         (sincos_test): Likewise.
67003 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67005         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
67006         (IFUNC_RESOLVE): Make pointers to the specialized implementations
67007         hidden.
67008         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67010 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
67012         [BZ #14538]
67013         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
67014         first element of the GOT.
67015         (elf_machine_load_address): Return the difference between
67016         the runtime address of _DYNAMIC and elf_machine_dynamic ().
67018 2012-09-01  Allan McRae  <allan@archlinux.org>
67020         [BZ #13412]
67021         * configure.in (AWK): Require gawk version 3.0 or later.
67022         * configure: Regenerated.
67024 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
67026         * sysdeps/unix/sysv/linux/kernel-features.h
67027         (__ASSUME_POSIX_CPU_TIMERS): Remove.
67028         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67029         [__NR_clock_getres]: Make code unconditional.
67030         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
67031         (clock_getcpuclockid): Remove code left unreachable by removal of
67032         conditionals.
67033         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
67034         code unconditional.
67035         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67036         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67037         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
67038         Make code unconditional.
67039         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67040         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67041         * sysdeps/unix/sysv/linux/clock_settime.c
67042         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
67043         conditional code.
67044         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
67045         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67047 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
67049         [BZ #14476]
67050         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
67051         scripts/test-installation.pl.
67053         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
67054         and $ld_so_version if it is set.
67056 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67058         [BZ #14516]
67059         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
67060         failure if reading from procfs failed.
67061         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
67063 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
67065         * sysdeps/unix/sysv/linux/kernel-features.h
67066         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
67067         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67068         Remove conditional code.
67069         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67070         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
67071         Remove conditional code.
67072         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67073         * sysdeps/unix/sysv/linux/i386/fxstat.c
67074         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67075         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67076         * sysdeps/unix/sysv/linux/i386/fxstatat.c
67077         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67078         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67079         * sysdeps/unix/sysv/linux/i386/lxstat.c
67080         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67081         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67082         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
67083         Remove conditional code.
67084         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67085         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67086         Remove conditional code.
67087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67088         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
67089         <kernel-features.h>.
67090         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
67091         Remove.
67092         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
67093         Remove conditional code.
67094         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67095         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
67096         Remove conditional.
67098 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
67100         [BZ #5400]
67101         * NEWS: Add fixed bug number.
67103 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
67105         [BZ #14519]
67106         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
67107         underflowing exponent in case of negative sign.
67108         * stdlib/tst-strtod-round-data: Add more tests.
67109         * stdlib/tst-strtod-round.c (tests): Regenerated.
67111         [BZ #3479]
67112         * stdlib/strtod_l.c (NDIG): Remove.
67113         (HEXNDIG): Likewise.
67114         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
67115         smallest representable value.
67116         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
67117         lie within an exact representation of 1/2 ulp of the result.
67118         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
67119         unconditionally.
67120         (TENS_P9_IDX): Define unconditionally.
67121         (TENS_P9_SIZE): Likewise.
67122         (TENS_P10_IDX): Likewise.
67123         (TENS_P10_SIZE): Likewise.
67124         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
67125         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
67126         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
67127         entries for 10^2^13 and 10^2^14.
67128         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67129         (TENS_P13_IDX): Define.
67130         (TENS_P13_SIZE): Likewise.
67131         (TENS_P14_IDX): Likewise.
67132         (TENS_P14_SIZE): Likewise.
67133         (_fpioconst_pow10): Change array size to
67134         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
67135         unconditional.
67136         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
67137         1024]: Add entries for 10^2^13 and 10^2^14.
67138         [LAST_POW10 > _LAST_POW10]: Remove #error.
67139         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
67140         (_fpioconst_pow10): Change array size to
67141         FPIOCONST_POW10_ARRAY_SIZE.
67142         * stdlib/gen-fpioconst.c: New file.
67143         * stdlib/gen-tst-strtod-round.c: Likewise.
67144         * stdlib/tst-strtod-round-data: Likewise.
67145         * stdlib/tst-strtod-round.c: Likewise.
67146         * stdlib/Makefile (tests): Add tst-strtod-round.
67148         [BZ #14459]
67149         * stdlib/strtod_l.c: Include <stdint.h>.
67150         (NDEBUG): Do not define.
67151         (round_and_return): Change EXPONENT parameter to type intmax_t.
67152         Rearrange calculations to avoid internal overflow possibilities.
67153         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67154         Rearrange calculations to avoid internal overflow possibilities.
67155         Assert that number fits inside MPNSIZE limbs.
67156         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67157         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
67158         calculations and add assertions to avoid internal overflow
67159         possibilities.  Add casts to avoid signed/unsigned operations.
67160         * stdlib/tst-strtod-overflow.c: New file.
67161         * stdlib/Makefile (tests): Add tst-strtod-overflow.
67163 2012-08-25  Marek Polacek  <polacek@redhat.com>
67165         * time/time.h: Fix some typos in comments.
67167 2012-08-23  Roland McGrath  <roland@hack.frob.com>
67169         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67170         * posix/tst-rfc3484-2.c: Likewise.
67171         * posix/tst-rfc3484-3.c: Likewise.
67173 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
67175         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67176         (EF_ARM_ABI_FLOAT_HARD): Likewise.
67178 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
67180         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67181         #include of fxstatat64.c.
67183 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67185         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67186         * shadow/getspent_r.c: Likewise.
67187         * shadow/getspnam.c: Likewise.
67188         * shadow/getspnam_r.c: Likewise.
67189         * gshadow/getsgent.c: Likewise.
67190         * gshadow/getsgent_r.c: Likewise.
67191         * gshadow/getsgnam.c: Likewise.
67192         * gshadow/getsgnam_r.c: Likewise.
67193         * inet/getnetbyad.c: Likewise.
67194         * inet/getnetbyad_r.c: Likewise.
67195         * inet/getnetbynm.c: Likewise.
67196         * inet/getnetbynm_r.c: Likewise.
67197         * inet/getnetent.c: Likewise.
67198         * inet/getnetent_r.c: Likewise.
67199         * inet/getproto.c: Likewise.
67200         * inet/getproto_r.c: Likewise.
67201         * inet/getprtent.c: Likewise.
67202         * inet/getprtent_r.c: Likewise.
67203         * inet/getprtname.c: Likewise.
67204         * inet/getprtname_r.c: Likewise.
67205         * inet/getrpcbyname.c: Likewise.
67206         * inet/getrpcbyname_r.c: Likewise.
67207         * inet/getrpcbynumber.c: Likewise.
67208         * inet/getrpcbynumber_r.c: Likewise.
67209         * inet/getrpcent.c: Likewise.
67210         * inet/getrpcent_r.c: Likewise.
67211         * inet/getaliasent.c: Likewise.
67212         * inet/getaliasent_r.c: Likewise.
67213         * inet/getaliasname.c: Likewise.
67214         * inet/getaliasname_r.c: Likewise.
67215         * nscd/getgrgid_r.c: Likewise.
67216         * nscd/getgrnam_r.c: Likewise.
67217         * nscd/gethstbyad_r.c: Likewise.
67218         * nscd/gethstbynm3_r.c: Likewise.
67219         * nscd/getpwnam_r.c: Likewise.
67220         * nscd/getpwuid_r.c: Likewise.
67221         * nscd/getsrvbynm_r.c: Likewise.
67222         * nscd/getsrvbypt_r.c: Likewise.
67223         * nscd/gai.c: Likewise.
67225         * configure.in (build_nscd): New substituted variable, set
67226         by --disable-build-nscd and defaults to $use_nscd.
67227         * configure: Regenerated.
67228         * config.make.in (build-nscd): New substituted variable.
67229         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67230         Change conditional to require [$(build-nscd) = yes] as well.
67231         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67233         [BZ# 13696]
67234         * configure.in (use_nscd): New substituted variable, set by
67235         --disable-nscd.  If enabled, define USE_NSCD.
67236         * configure: Regenerated.
67237         * config.h.in: Add USE_NSCD.
67238         * config.make.in (use-nscd): New substituted variable.
67239         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67240         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67241         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67242         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67243         (CFLAGS-getgrnam_r.c): Likewise.
67244         (CFLAGS-initgroups.c): Likewise.
67245         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67246         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67247         Variables removed.
67248         * inet/getnetgrent_r.c
67249         (nscd_setnetgrent): New function, broken out of ...
67250         (setnetgrent): ... here.  Call it.
67251         (innetgr): Conditionalize nscd bits on [USE_NSCD].
67252         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67253         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67254         * nscd/Makefile (routines, aux): Move definitions after include of
67255         Makeconfig.  Conditionalize on [$(use-nscd) != no].
67256         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67257         Conditionalize on [USE_NSCD].
67258         (is_nscd, nscd_init_cb): Likewise.
67259         (nss_load_library): Conditionalize init callback on [USE_NSCD].
67260         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67261         * nss/nss_db/db-init.c: Likewise.
67262         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67263         [USE_NSCD].
67264         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67265         (make_request): Use it.
67266         (cache_valid_p): New function.
67267         (__check_pf): Use it.
67268         * NEWS: Add item for --disable-nscd.
67270 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
67272         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67273         to support sed >= 4.2.1-20-ga9bf076.
67274         * configure: Regenerated.
67276 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67278         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67279         Conditionalize whole body on [IREL].
67281 2012-08-22  Jeff Law <law@redhat.com>
67283         [BZ #14505]
67284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67285         if the family is PF_UNSPEC.
67287 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
67289         * Makerules (lib-version): Rename from V.
67290         (install-lib-nosubdir): Change V to lib-version.
67292 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
67294         [BZ #14252]
67295         * powerpc32/power6/wcschr.c: New file.
67296         * powerpc32/power6/wcscpy.c: New file.
67297         * powerpc32/power6/wcsrchr.c: New file.
67298         * powerpc64/power6/wcschr.c: New file.
67299         * powerpc64/power6/wcscpy.c: New file.
67300         * powerpc64/power6/wcsrchr.c: New file.
67302 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67304         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67305         (two_way_short_needle): Use it.
67306         * string/strstr.c (AVAILABLE1_USES_J): Define.
67307         * string/strcasestr.c: Likewise.
67309         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67310         array references.
67311         * string/strcasestr.c (TOLOWER): Make side-effect safe.
67313         [BZ #11607]
67314         * NEWS: Add an entry.
67315         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67316         define their defaults.
67317         (two_way_short_needle): Detect end-of-string on-the-fly.
67318         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67319         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67320         * string/bug-strcasestr1.c: New test.
67321         * string/Makefile: Run it.
67323 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67325         [BZ #11607]
67326         * string/str-two-way.h (two_way_short_needle): Optimize matching of
67327         the first character.
67329 2012-08-21  Roland McGrath  <roland@hack.frob.com>
67331         * csu/elf-init.c (__libc_csu_irel): Function removed.
67332         * csu/libc-start.c (apply_irel): New function.
67333         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67335 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
67337         * sysdeps/unix/sysv/linux/kernel-features.h
67338         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67339         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67340         <kernel-features.h>.
67341         [__NR_fadvise64_64]: Make code unconditional.
67342         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67343         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67344         !__NR_fadvise64_64)]: Likewise.
67345         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67346         !__NR_fadvise64_64))]: Likewise.
67347         [__NR_fadvise64]: Make code unconditional.
67348         [!__NR_fadvise64]: Remove conditional code.
67349         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67350         <kernel-features.h>.
67351         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67352         unconditional.
67353         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67354         conditional code.
67355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67356         not include <kernel-features.h>.
67357         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67358         unconditional.
67359         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67360         conditional code.
67361         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67362         include <kernel-features.h>.
67363         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67364         unconditional.
67365         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67366         conditional code.
67368 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67370         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67371         slight instruction rearrangements per scrollpipe analysis.
67372         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67374 2012-08-20  Roland McGrath  <roland@hack.frob.com>
67376         * manual/syslog.texi (syslog; vsyslog, closelog):
67377         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67378         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67380         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67381         DSOCAPS to match condition on defining it.
67383 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
67385         * sysdeps/unix/sysv/linux/kernel-features.h
67386         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67388         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67389         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67391         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67392         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67394         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67395         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67397         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67398         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67400         * sysdeps/unix/sysv/linux/kernel-features.h
67401         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67402         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67403         unconditional.
67404         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67405         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67406         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67407         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67408         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67409         Make code unconditional.
67410         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67411         (__mmap64) [!__NR_mmap2]: Likewise.
67412         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67413         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67414         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67415         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67416         [__NR_mmap2]: Make code unconditional.
67417         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67418         (__mmap64) [!__NR_mmap2]: Likewise.
67420 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67422         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67424 2012-08-18  Andreas Jaeger  <aj@suse.de>
67426         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67428 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67430         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67431         * include/unistd.h (__have_sock_cloexec): Likewise.
67432         (__have_pipe2): Likewise.
67433         (__have_dup3): Likewise.
67435 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67437         [BZ #9685]
67438         * include/unistd.h (__have_pipe2): Change define into an extern int.
67439         (__have_dup3): Likewise.
67440         * socket/have_sock_cloexec.c: Include fcntl.h.
67441         (__have_pipe2): New variable.
67442         (__have_dup3): Likewise.
67444 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
67446         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67448 2012-08-17  Marek Polacek  <polacek@redhat.com>
67450         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67451         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67453 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67455         * configure.in: Add AC_SUBST for sysheaders.
67456         * configure: Regenerated.
67457         * config.make.in (sysheaders): New substituted variable.
67459         * sysdeps/unix/mkfifo.c: Moved ...
67460         * sysdeps/posix/mkfifo.c: ... here.
67461         * sysdeps/unix/mkfifoat.c: Moved ...
67462         * sysdeps/posix/mkfifoat.c: ... here.
67464         * sysdeps/unix/utime.c: Moved ...
67465         * sysdeps/posix/utime.c: ... here.
67467         * sysdeps/unix/time.c: Moved ...
67468         * sysdeps/posix/time.c: ... here.
67469         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67470         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67472         * sysdeps/unix/nice.c: Moved ...
67473         * sysdeps/posix/nice.c: ... here.
67475         * sysdeps/unix/alarm.c: Moved ...
67476         * sysdeps/posix/alarm.c: ... here.
67478         * intl/Makefile ($(codeset_mo)): Depend on the input file.
67480 2012-08-17  Jeff Law <law@redhat.com>
67482         * intl/Makefile (codeset_mo): New variable.
67483         ($(codeset_mo)): New target.
67484         (tst-codeset.out): Depend on that.  Remove explicit rule.
67485         (tst-gettext3.out, tst-gettext5.out): Likewise.
67486         (LOCPATH-ENV, tst-codeset-ENV): New variables.
67487         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67488         * intl/tst-codeset.sh: Remove.
67489         * intl/tst-gettext3.sh: Likewise.
67490         * intl/tst-gettext5.sh: Likewise.
67492 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67494         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
67495         * sysdeps/unix/syscalls.list: ... here.
67497         * sysdeps/posix/getaddrinfo.c
67498         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67499         (gaiconf_init, gaiconf_reload): Use them.
67500         [!_STATBUF_ST_NSEC]
67501         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67502         Define using time_t rather than struct timespec.
67504         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67505         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67506         Macros removed.
67507         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67508         [!NO_THREADS].
67509         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67510         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67511         Likewise.
67513         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67514         __libc_cleanup_push argument.
67516         * bits/param.h: New file.
67517         * misc/sys/param.h: New file.
67518         * include/sys/param.h: New file.
67519         * misc/Makefile (headers): Add bits/param.h.
67520         * sysdeps/generic/sys/param.h: File removed.
67521         * sysdeps/unix/sysv/linux/bits/param.h: New file.
67522         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67523         * sysdeps/mach/hurd/bits/param.h: New file.
67524         * sysdeps/mach/hurd/sys/param.h: File removed.
67526         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67527         last change.
67529         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67530         [_IO_MTSAFE_IO].
67531         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67532         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67533         New macros.
67535         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67536         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67537         rather than -D_IO_MTSAFE_IO conditionally.
67538         * stdio-common/Makefile (CPPFLAGS): Likewise.
67539         * wcsmbs/Makefile (CPPFLAGS): Likewise.
67540         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67541         Use $(libio-mtsafe).
67542         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67543         of -D_IO_MTSAFE_IO.
67544         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67545         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67546         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67547         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67548         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67549         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67550         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67551         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67552         (CFLAGS-fread_u_chk.c): Likewise.
67553         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67554         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67555         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67556         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67557         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67558         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67559         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67560         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67561         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67563         * libio/Makefile: Test [$(libc-reentrant) = yes]
67564         instead of [$(filter %REENTRANT, $(defines)) nonempty].
67566         * Makeconfig
67567         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67568         * sysdeps/pthread/configure: File removed.
67569         * sysdeps/pthread/Makeconfig: New file.
67570         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67571         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67573 2012-08-16  Gary Benson  <gbenson@redhat.com>
67575         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67576         unmapping the first object in a namespace.
67578 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67580         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67581         (__internal_setnetgrent): ... this.  Add internal_function to
67582         definition.  Add libc_hidden_def.
67583         (setnetgrent): Update caller.
67584         (internal_endnetgrent): Renamed to ...
67585         (__internal_endnetgrent): ... this.  Add internal_function to
67586         definition.  Add libc_hidden_def.
67587         (endnetgrent): Update caller.
67588         (internal_getnetgrent_r): Renamed to ...
67589         (__internal_getnetgrent_r): ... this.  Add internal_function to
67590         definition.  Add libc_hidden_def.
67591         (__getnetgrent_r): Update caller.
67592         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
67594 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67596         * stdlib/longlong.h: Update from GCC.
67598 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67600         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67601         on _QL, which is set by umul_ppmm but never used.
67602         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67603         variables, which are set by GMP macros but never used.
67604         * stdio-common/_itowa.c (_itowa): Likewise.
67605         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67606         * stdlib/mod_1.c (mpn_mod_1): Likewise.
67608 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
67610         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67611         struct La_sh_regs is not constant.
67612         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67613         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67614         and struct La_sparc64_regs are not constant.
67616 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67618         * sysdeps/unix/sysv/linux/kernel-features.h
67619         (__ASSUME_POSIX_TIMERS): Remove.
67620         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67621         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67622         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67623         Make code unconditional.
67624         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67625         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67626         Make code unconditional.
67627         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67628         * sysdeps/unix/sysv/linux/clock_nanosleep.c
67629         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67630         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67631         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67632         Make code unconditional.
67633         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67634         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67635         (__libc_missing_posix_timers): Remove.
67637 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67639         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67640         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67642         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67644         * elf/dl-sym.c: Include <stdlib.h>.
67646         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67647         constants, which avoids warnings in 32-bit builds.
67649         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67650         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67652         * misc/lseek.c: File moved to ...
67653         * io/lseek.c: ... here.
67655         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67657         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67658         shifting LEN more than 31 bits at once.
67660 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67662         [BZ #14195]
67663         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67664         segmentation fault for a case of two empty input strings.
67665         * string/test-strncasecmp.c (check1): Renamed to...
67666         (bz12205): ...this.
67667         (bz14195): Add new testcase for two empty input strings and N > 0.
67668         (test_main): Call new testcase, adapt for renamed function.
67670 2012-08-15  Andreas Jaeger  <aj@suse.de>
67672         [BZ #14090]
67673         * crypt/md5test2.c: New test, based on test supplied by Serge
67674         Belyshev <belyshev@depni.sinp.msu.ru>.
67675         * crypt/Makefile (xtests): Add md5test-giant..
67676         * crypt/Makefile ($(objpfx)md5test-giant): Add.
67678 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
67680         [BZ #14090]
67681         * crypt/md5.c (md5_process_block): Don't assume the buffer
67682         length is less than 2**32.
67683         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67684         length is less than 2**64.
67686 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67688         * string/str-two-way.h: Include <sys/param.h>.
67689         (MAX): Macro removed.
67691         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67692         Move #define and #undef of memmove to just before and after
67693         including <string.h>.
67695         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67696         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67697         and after including <string.h>.  Move declarations of
67698         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67699         to before #include "string/memmove.c".
67701         * include/dirent.h: Declare __getdirentries.
67703         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67704         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67706 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
67708         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67709         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67710         * sysdeps/i386/configure: Regenerated.
67711         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67712         STABS_CURRENT_FILE, and STABS_FUN.
67713         (END): Remove call to STABS_FUN_END.
67714         (STABS_CURRENT_FILE1): Delete.
67715         (STABS_CURRENT_FILE): Likewise.
67716         (STABS_FUN): Likewise.
67717         (STABS_FUN_END): Likewise.
67718         (STABS_FUN2): Likewise.
67719         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67720         * sysdeps/x86_64/configure: Regenerated.
67722 2012-08-14  Roland McGrath  <roland@hack.frob.com>
67724         * elf/dl-open.c: Include <atomic.h>.
67725         * elf/dl-lookup.c: Likewise.
67727 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
67729         * sysdeps/unix/sysv/linux/kernel-features.h
67730         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67731         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67732         unconditionally.
67733         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67734         unconditionally.
67735         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67736         condition on __ASSUME_CLONE_THREAD_FLAGS.
67738 2012-08-14  Andreas Jaeger  <aj@suse.de>
67740         * sysdeps/i386/fpu/libm-test-ulps: Update.
67742 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
67744         * include/atomic.h (atomic_exchange_and_add): Split into ...
67745         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67746         New atomic macros.
67748 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
67750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67752 2012-08-13  Jeff Law <law@redhat.com>
67754         * manual/stdio.texi (snprintf): Clarify handling of the trailing
67755         null byte in the output string.
67757 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
67759         * sysdeps/unix/sysv/linux/kernel-features.h
67760         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67761         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67762         (__ASSUME_ARG_MAX_STACK_BASED): Define.
67763         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67764         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67765         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
67766         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67768 2012-08-09  Jeff Law <law@redhat.com>
67770         [BZ #13939]
67771         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67772         When avoid_arena is set, don't retry in the that arena.  Pick the
67773         next one, whatever it might be.
67774         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67775         (arena_lock): Pass in new parameter to arena_get2.
67776         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67777         arena_get2.
67778         (__libc_malloc): Unify retrying after main arena failure with
67779         __libc_memalign version.
67780         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67782 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
67784         [BZ #14166]
67785         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67786         to __redirect_strstr.
67787         (__strstr_sse42): Use typeof __redirect_strstr.
67788         (__strstr_ia32): Likewise.
67789         (__libc_strstr): New prototype.
67790         (strstr): Renamed to ...
67791         (__libc_strstr): This.
67792         (strstr): New strong alias of __libc_strstr.
67793         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67794         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67795         __redirect_time.
67796         Include <time.h>.
67797         (__libc_time): New prototype.
67798         (time_ifunc): Replace time with __libc_time.
67799         (time): New strong alias and hidden definition of __libc_time.
67800         (__GI_time): Remove strong alias.
67801         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67802         Include <stddef.h>.
67803         (memmove): Redefined to __redirect_memmove.
67804         (__memmove_sse2): Use typeof __redirect_memmove.
67805         (__memmove_ssse3): Likewise.
67806         (__memmove_ssse3_back): Likewise.
67807         (__libc_memmove): New prototype.
67808         (memmove): Renamed to ...
67809         (__libc_memmove): This.
67810         (memmove): New strong alias of __libc_memmove.
67812 2012-08-08  Mark Salter  <msalter@redhat.com>
67814         * elf/elf.h
67815         (R_MN10300_TLS_GD): Define.
67816         (R_MN10300_TLS_LD): Likewise.
67817         (R_MN10300_TLS_LDO): Likewise.
67818         (R_MN10300_TLS_GOTIE): Likewise.
67819         (R_MN10300_TLS_IE): Likewise.
67820         (R_MN10300_TLS_LE): Likewise.
67821         (R_MN10300_TLS_DTPMOD): Likewise.
67822         (R_MN10300_TLS_DTPOFF): Likewise.
67823         (R_MN10300_TLS_TPOFF): Likewise.
67824         (R_MN10300_SYM_DIFF): Likewise.
67825         (R_MN10300_ALIGN): Likewise.
67826         (R_MN10300_NUM): Update.
67828 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
67830         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67831         Remove.
67833 2012-08-08  Roland McGrath  <roland@hack.frob.com>
67835         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67837         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67838         sysdeps/unix -> sysdeps/posix move.
67839         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67841 2012-08-07      Allan McRae     <allan@archlinux.org>
67843         [BZ #14303]
67844         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67845         (SUNOS_CPP): Likewise.
67846         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67847         not found.
67848         (open_input): Call CPP using execvp.
67850 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67852         * sysdeps/unix/sysv/linux/kernel-features.h
67853         (__ASSUME_PROT_GROWSUPDOWN): Remove.
67854         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67855         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67856         (__ASSUME_WAITID_SYSCALL): Likewise.
67857         * sysdeps/unix/sysv/linux/dl-execstack.c
67858         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67859         code unconditional.
67860         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67861         conditional code.
67862         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67863         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67864         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67865         code.
67866         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67867         unconditional.
67868         [__ASSUME_WAITID_SYSCALL]: Likewise.
67869         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67871 2012-08-07  Roland McGrath  <roland@hack.frob.com>
67873         * sysdeps/unix/closedir.c: Renamed to ...
67874         * sysdeps/posix/closedir.c: ... here.
67875         * sysdeps/unix/dirfd.c: Renamed to ...
67876         * sysdeps/posix/dirfd.c: ... here.
67877         * sysdeps/unix/dirstream.h: Renamed to ...
67878         * sysdeps/posix/dirstream.h: ... here.
67879         * sysdeps/unix/fdopendir.c: Renamed to ...
67880         * sysdeps/posix/fdopendir.c: ... here.
67881         * sysdeps/unix/opendir.c: Renamed to ...
67882         * sysdeps/posix/opendir.c: ... here.
67883         * sysdeps/unix/readdir.c: Renamed to ...
67884         * sysdeps/posix/readdir.c: ... here.
67885         * sysdeps/unix/readdir_r.c: Renamed to ...
67886         * sysdeps/posix/readdir_r.c: ... here.
67887         * sysdeps/unix/rewinddir.c: Renamed to ...
67888         * sysdeps/posix/rewinddir.c: ... here.
67889         * sysdeps/unix/seekdir.c: Renamed to ...
67890         * sysdeps/posix/seekdir.c: ... here.
67891         * sysdeps/unix/telldir.c: Renamed to ...
67892         * sysdeps/posix/telldir.c: ... here.
67893         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67894         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67895         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67896         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67898         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67899         * bits/fcntl.h: ... here.
67901         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67902         not 0.
67903         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67904         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67905         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67906         (struct flock): Move l_start, l_len to the beginning.
67907         Use __pid_t for l_pid.
67908         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67909         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67910         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67911         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67912         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67913         [__USE_LARGEFILE64] (struct flock64): New type.
67914         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67916         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67917         * bits/dirent.h: ... here.
67919         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67920         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67922 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67924         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67925         Change from 2.6.0 to 2.6.16.
67926         * sysdeps/unix/sysv/linux/configure: Regenerated.
67927         * sysdeps/unix/sysv/linux/kernel-features.h
67928         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67929         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67930         version.
67931         (__ASSUME_UTIMES): Likewise.
67932         (__ASSUME_CLONE_STOPPED): Remove.
67933         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67934         architectures, not kernel version.
67935         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67936         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67937         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67938         (__ASSUME_WAITID_SYSCALL): Likewise.
67939         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67940         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67941         * README: State 2.6.16 as minimum Linux kernel version.  Do not
67942         refer to older versions.
67944 2012-08-06  Roland McGrath  <roland@hack.frob.com>
67946         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67947         Define alphasort64 as an alias.
67948         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67949         Define versionsort64 as an alias.
67950         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67951         Define scandir64 as an alias.
67952         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67953         Define scandirat64 as an alias.
67954         * dirent/alphasort64.c (alphasort64):
67955         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67956         * dirent/versionsort64.c: Likewise.
67957         * dirent/scandir64.c: Likewise.
67958         * dirent/scandirat64.c: Likewise.
67959         * sysdeps/wordsize-64/alphasort.c: File removed.
67960         * sysdeps/wordsize-64/alphasort64.c: File removed.
67961         * sysdeps/wordsize-64/scandir.c: File removed.
67962         * sysdeps/wordsize-64/scandir64.c: File removed.
67963         * sysdeps/wordsize-64/scandirat.c: File removed.
67964         * sysdeps/wordsize-64/scandirat64.c: File removed.
67965         * sysdeps/wordsize-64/versionsort.c: File removed.
67966         * sysdeps/wordsize-64/versionsort64.c: File removed.
67967         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67968         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67969         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67970         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67971         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67972         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67973         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67974         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67976         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67977         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67978         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67979         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67980         [defined __arch64__ || defined __sparcv9]
67981         (__INO_T_MATCHES_INO64_T): New macro.
67982         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67983         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67984         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67985         * sysdeps/unix/sysv/linux/bits/dirent.h
67986         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67987         (_DIRENT_MATCHES_DIRENT64): New macro.
67989         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67990         Define lockf64 as an alias.
67991         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67992         Define fseeko64 as an alias.
67993         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67994         Define ftello64 as an alias.
67995         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67996         Define _IO_fgetpos64 and fgetpos64 as aliases.
67997         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67998         Define _IO_fsetpos64 and fsetpos64 as aliases.
67999         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
68000         Conditionalize body on this.
68001         * libio/fseeko64.c: Likewise.
68002         * libio/ftello64.c: Likewise.
68003         * libio/iofgetpos64.c: Likewise.
68004         * libio/iofsetpos64.c: Likewise.
68005         * sysdeps/wordsize-64/lockf.c: File removed.
68006         * sysdeps/wordsize-64/lockf64.c: File removed.
68007         * sysdeps/wordsize-64/fseeko.c: File removed.
68008         * sysdeps/wordsize-64/fseeko64.c: File removed.
68009         * sysdeps/wordsize-64/ftello.c: File removed.
68010         * sysdeps/wordsize-64/ftello64.c: File removed.
68011         * sysdeps/wordsize-64/iofgetpos.c: File removed.
68012         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
68013         * sysdeps/wordsize-64/iofsetpos.c: File removed.
68014         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
68015         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
68016         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
68017         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
68018         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
68019         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
68020         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
68021         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
68022         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
68023         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
68024         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
68026         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68027         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68028         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
68029         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68030         [defined __arch64__ || defined __sparcv9]
68031         (__OFF_T_MATCHES_OFF64_T): New macro.
68032         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68033         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68034         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68035         (__OFF_T_MATCHES_OFF64_T): New macro.
68037 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
68039         * stdlib/secure-getenv.c (__secure_getenv): Replace
68040         GLIBC_2_16 with GLIBC_2_17.
68042 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
68044         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
68045         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68047 2012-08-03  David S. Miller  <davem@davemloft.net>
68049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68051 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
68053         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
68054         Remove.
68055         (__ASSUME_CORRECT_SI_PID): Likewise.
68056         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
68057         (__ASSUME_TMPFS_NAME): Likewise.
68058         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
68059         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
68060         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
68061         (HAVE_AUX_SECURE): Make definition unconditional.
68062         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
68063         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
68065 2012-08-03  Roland McGrath  <roland@hack.frob.com>
68067         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
68068         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
68069         * sysdeps/mach/hurd/eloop-threshold.h: New file.
68070         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68071         __eloop_threshold instead of SYMLOOP_MAX.
68073         * sysdeps/generic/eloop-threshold.h: New file.
68074         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
68075         of MAXSYMLINKS.
68076         * elf/chroot_canon.c (chroot_canon): Likewise.
68078 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
68080         [BZ #13717]
68081         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68082         Change to 2.6.0 everywhere.
68083         * sysdeps/unix/sysv/linux/configure: Regenerated.
68084         * sysdeps/unix/sysv/linux/kernel-features.h
68085         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
68086         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
68087         kernel versions.
68088         (__ASSUME_POSIX_TIMERS): Define unconditionally.
68089         (__ASSUME_FUTEX_REQUEUE): Remove.
68090         (__ASSUME_STATFS64): Define unconditionally.
68091         (__ASSUME_AT_SECURE): Likewise.
68092         (__ASSUME_CORRECT_SI_PID): Likewise.
68093         (__ASSUME_TGKILL): Define without depending on kernel version for
68094         i386.
68095         (__ASSUME_UTIMES): Likewise.
68096         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
68097         kernel version.
68098         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
68099         (__ASSUME_TMPFS_NAME): Likewise.
68100         * README: Update reference to Linux kernel versions.
68102 2012-08-02  Marek Polacek  <polacek@redhat.com>
68104         [BZ# 14150]
68105         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
68106         libc_cv_asm_type_prefix with %.
68107         * configure: Regenerated.
68108         * include/libc-symbols.h: Remove comment about
68109         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68110         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
68111         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
68112         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
68113         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
68114         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68115         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
68116         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
68117         * elf/tst-unique2mod1.c: Likewise.
68118         * elf/tst-unique1mod2.c: Likewise.
68119         * elf/tst-unique1mod1.c: Likewise.
68120         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
68121         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
68122         Replace ASM_TYPE_DIRECTIVE with .type.
68123         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68124         * sysdeps/i386/sysdep.h: Likewise.
68125         * sysdeps/x86_64/sysdep.h: Likewise.
68126         * sysdeps/sh/sysdep.h: Likewise.
68127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68128         Do not define ASM_TYPE_DIRECTIVE.
68129         * sysdeps/powerpc/sysdep.h: Likewise.
68130         * sysdeps/powerpc/powerpc32/sysdep.h:
68131         Replace ASM_TYPE_DIRECTIVE with .type.
68132         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68133         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68134         * sysdeps/i386/fpu/e_powf.S: Likewise.
68135         * sysdeps/i386/fpu/e_expl.S: Likewise.
68136         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68137         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68138         * sysdeps/i386/fpu/e_pow.S: Likewise.
68139         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68140         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68141         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68142         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68143         * sysdeps/i386/fpu/e_log2.S: Likewise.
68144         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68145         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68146         * sysdeps/i386/fpu/e_powl.S: Likewise.
68147         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68148         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68149         * sysdeps/i386/fpu/e_logl.S: Likewise.
68150         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68151         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68152         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68153         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68154         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68155         * sysdeps/i386/fpu/e_log.S: Likewise.
68156         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68157         * sysdeps/i386/fpu/e_logf.S: Likewise.
68158         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68159         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68160         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68161         * sysdeps/i386/fpu/e_log10.S: Likewise.
68162         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68163         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68164         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68165         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68166         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68167         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68168         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68169         * sysdeps/i386/i686/strtok.S: Likewise.
68170         * sysdeps/i386/i386-mcount.S: Likewise.
68171         * sysdeps/i386/strtok.S: Likewise.
68172         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68173         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68174         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68175         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68176         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68177         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68178         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68179         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68180         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68181         * sysdeps/x86_64/_mcount.S: Likewise.
68182         * sysdeps/x86_64/strtok.S: Likewise.
68183         * sysdeps/sh/_mcount.S: Likewise.
68185 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68187         * libio/iofopen.c: Include <fcntl.h>.
68188         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68189         (_IO_fopen64, fopen64): Define as aliases.
68190         * libio/iofopen64.c: Include <fcntl.h>.
68191         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68192         Conditionalize body on this.
68193         * sysdeps/wordsize-64/iofopen.c: File removed.
68194         * sysdeps/wordsize-64/iofopen64.c: File removed.
68196 2012-08-01  Marek Polacek  <polacek@redhat.com>
68198         * libc/Makeconfig: Use elf in place of binfmt-subdir.
68199         Use dlfcn directly instead of a variable.
68200         (binfmt-subdir): Do not define.
68201         (dlfcn): Likewise.
68203 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
68205         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68206         Remove all definitions.
68207         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68208         <kernel-features.h>.
68209         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68210         (miss_F_GETOWN_EX): Remove all definitions.
68211         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68212         macro definition.
68213         [!__ASSUME_FCNTL64]: Remove conditional code.
68214         [__ASSUME_FCNTL64]: Make code unconditional.
68215         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68216         <kernel-features.h>.
68217         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68218         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68219         (lockf64) [__NR_fcntl64]: Make code unconditional.
68220         (lockf64) [__ASSUME_FCNTL64]: Likewise.
68222         * sysdeps/unix/sysv/linux/kernel-features.h
68223         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68224         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68225         Make code unconditional.
68226         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68227         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68229         [__NR_vfork]: Make code unconditional.
68230         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68231         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68233         [__NR_vfork]: Make code unconditional.
68234         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68235         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68237 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68239         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68240         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68242         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68243         Define mkstemp64 as an alias.
68244         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68245         Define mkstemps64 as an alias.
68246         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68247         Define mkostemp64 as an alias.
68248         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68249         Define mkostemps64 as an alias.
68250         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68251         Conditionalize body on this.
68252         * misc/mkostemp64.c: Likewise.
68253         * misc/mkostemps64.c: Likewise.
68254         * misc/mkstemps64.c: Likewise.
68255         * sysdeps/wordsize-64/mkstemp64.c: File removed.
68256         * sysdeps/wordsize-64/mkostemp64.c: File removed.
68257         * sysdeps/wordsize-64/mkostemp.c: File removed.
68258         * sysdeps/wordsize-64/mkstemp.c: File removed.
68259         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68260         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68261         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68262         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68264         [BZ #14138]
68265         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68266         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68267         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68268         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68270         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68271         compat_symbol macros from <shlib-compat.h> rather than the underlying
68272         default_symbol_version and symbol_version macros, so that DEFAULT
68273         lines in shlib-versions are respected.
68274         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68276 2012-08-01  Florian Weimer  <fweimer@redhat.com>
68278         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68279         Declare with warn_unused_result.
68280         (setgid, setregid, setegid, setresgid): Likewise.
68281         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68282         Likewise.
68283         * WUR-REPORT: Remove set*id functions.
68285 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
68287         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68289 2012-07-31  Roland McGrath  <roland@hack.frob.com>
68291         [BZ #10191]
68292         * include/sys/socket.h (__libc_accept, __libc_accept4):
68293         Add attribute_hidden.
68294         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68296         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68297         use of PTR_MANGLE.
68298         * inet/getnetgrent_r.c (setup): Likewise.
68300         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68302 2012-07-31  David S. Miller  <davem@davemloft.net>
68304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68306 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
68308         [BZ #13629]
68309         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68310         value between 1.0 and 2.0 and smaller part has absolute value less
68311         than 1.0.
68312         * math/s_clog10.c (__clog10): Likewise.
68313         * math/s_clog10f.c (__clog10f): Likewise.
68314         * math/s_clog10l.c (__clog10l): Likewise.
68315         * math/s_clogf.c (__clogf): Likewise.
68316         * math/s_clogl.c (__clogl): Likewise.
68317         * math/libm-test.inc (clog_test): Add more tests.
68318         (clog10_test): Likewise.
68319         * sysdeps/i386/fpu/libm-test-ulps: Update.
68320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68322 2012-07-31  Florian Weimer  <fweimer@redhat.com>
68324         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68325         Exit with zero in case no suitable GID is found, and write a
68326         message to standard error.
68328 2012-07-30  Roland McGrath  <roland@hack.frob.com>
68330         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68331         rather than to 1.
68332         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68333         (MAXPATHLEN): Removed.
68334         (NOGROUP, NODEV): New macros.
68335         (setbit, clrbit, isset, isclr): New macros.
68336         (howmany, roundup, powerof2): New macros.
68337         (DEV_BSIZE): New macro.
68339         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68340         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68342         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68343         definition on [!__NO_LONG_DOUBLE_MATH].
68345         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68346         PTR_MANGLE and PTR_DEMANGLE.
68348         * socket/accept4.c (accept4): Rename to __libc_accept4.
68349         Define accept4 as a weak alias.
68351         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68352         on [_DIRENT_HAVE_D_TYPE].
68353         * io/ftw.c (ftw_dir): Likewise.
68355         * io/xmknod.c (__xmknod): Don't check PATH for being null.
68357         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68359         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68360         Use the BSD numbers rather than the arbitrary ones we had.
68361         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68362         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68363         (SIGXCPU, SIGXFSZ): New macros.
68364         (_NSIG): Now 32.
68366         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68367         initializer on [_LIBC_REENTRANT].
68369         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68370         definitions inside [_POSIX_MAPPED_FILES].
68372         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68374         * dirent/opendir.c: Include <fcntl.h>.
68376         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68377         (__libc_getspecific): Likewise.
68378         (__libc_key_create): Likewise.
68380         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68381         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68382         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68383         (tmpfile64): Define as alias.
68384         * sysdeps/wordsize-64/tmpfile.c: File removed.
68385         * sysdeps/wordsize-64/tmpfile64.c: File removed.
68386         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68387         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68389         * stdio-common/vfscanf.c: Include <stdbool.h>.
68390         * nss/makedb.c: Likewise.
68391         * stdio-common/_i18n_number.h: Likewise.
68392         * argp/argp-help.c: Likewise.
68393         * posix/wordexp.c: Likewise.
68394         * sysdeps/posix/spawni.c: Likewise.
68395         * nss/nss_files/files-initgroups.c: Likewise.
68396         * stdio-common/reg-modifier.c: Include <stdlib.h>.
68397         * nss/nss_files/files-initgroups.c: Likewise.
68398         * nss/nss_db/db-netgrp.c: Likewise.
68399         * nss/nss_db/db-initgroups.c: Likewise.
68400         * io/fchmodat.c: Include <sys/stat.h>.
68402         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68403         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68405         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68406         [HAVE_MMAP].
68408         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68409         Add multiple inclusion protection.
68411 2012-07-27  David S. Miller  <davem@davemloft.net>
68413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68415 2012-07-27  Gary Benson  <gbenson@redhat.com>
68417         [BZ #14298]
68418         * elf/rtld.c: Include <stap-probe.h>.
68419         (dl_main): Added static probes "init_start" and "init_complete".
68420         * elf/dl-load.c: Include <stap-probe.h>.
68421         (lose): Take new parameter "nsid".
68422         Added static probe "map_failed".
68423         (_dl_map_object_from_fd): Pass namespace id to lose.
68424         Added static probe "map_start".
68425         (open_verify): Pass namespace id to lose.
68426         * elf/dl-open.c: Include <stap-probe.h>.
68427         (dl_open_worker) Added static probes "map_complete", "reloc_start"
68428         and "reloc_complete".
68429         * elf/dl-close.c: Include <stap-probe.h>.
68430         (_dl_close_worker): Added static probes "unmap_start" and
68431         "unmap_complete".
68432         * elf/rtld-debugger-interface.txt: New file documenting the above.
68434 2012-07-26  Roland McGrath  <roland@hack.frob.com>
68436         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68437         rather than a string variable.
68438         * sunrpc/rpc_main.c (h_output): Likewise.
68439         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68441 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
68443         * inet/check_native.c: New file.
68445 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
68447         [BZ #13629]
68448         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68449         if larger part has absolute value 1.0.
68450         * math/s_clog10.c (__clog10): Likewise.
68451         * math/s_clog10f.c (__clog10f): Likewise.
68452         * math/s_clog10l.c (__clog10l): Likewise.
68453         * math/s_clogf.c (__clogf): Likewise.
68454         * math/s_clogl.c (__clogl): Likewise.
68455         * math/libm-test.inc (clog_test): Add more tests.
68456         (clog10_test): Likewise.
68457         * sysdeps/i386/fpu/libm-test-ulps: Update.
68458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68460         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68461         (pltexit): Likewise.
68462         (La_regs): Likewise.
68463         (La_retval): Likewise.
68464         (int_retval): Likewise.
68465         Update #error for removed macros to refer only to definitions in
68466         tst-audit.h.
68467         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68468         macro.
68469         (pltexit): Likewise.
68470         (La_regs): Likewise.
68471         (La_retval): Likewise.
68472         (int_retval): Likewise.
68473         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68474         macro.
68475         (pltexit): Likewise.
68476         (La_regs): Likewise.
68477         (La_retval): Likewise.
68478         (int_retval): Likewise.
68479         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68480         macro.
68481         (pltexit): Likewise.
68482         (La_regs): Likewise.
68483         (La_retval): Likewise.
68484         (int_retval): Likewise.
68485         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68486         macro.
68487         (pltexit): Likewise.
68488         (La_regs): Likewise.
68489         (La_retval): Likewise.
68490         (int_retval): Likewise.
68491         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68492         macro.
68493         (pltexit): Likewise.
68494         (La_regs): Likewise.
68495         (La_retval): Likewise.
68496         (int_retval): Likewise.
68497         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68498         macro.
68499         (pltexit): Likewise.
68500         (La_regs): Likewise.
68501         (La_retval): Likewise.
68502         (int_retval): Likewise.
68503         * sysdeps/generic/tst-audit.h: Update comment to refer only to
68504         macro definitions in tst-audit.h.
68505         * sysdeps/i386/tst-audit.h: New file.
68506         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68507         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68508         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68509         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68510         * sysdeps/sh/tst-audit.h: Likewise.
68511         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68512         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68513         * sysdeps/x86_64/tst-audit.h: Likewise.
68515 2012-07-26  Andreas Jaeger  <aj@suse.de>
68517         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68518         ptrace.
68520         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68521         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68522         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68523         PTRACE_O_MASK.
68524         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68525         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68526         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68528         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68529         value.
68531         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68532         _sigsys.
68533         (si_call_addr, si_syscall, si_arch): Define new macro.
68534         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68535         _sigsys.
68536         (si_call_addr, si_syscall, si_arch): Define new marcro.
68537         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68538         _sigsys.
68539         (si_call_addr, si_syscall, si_arch): Define new macro.
68540         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68541         _sigsys.
68542         (si_call_addr, si_syscall, si_arch): Define new macro.
68544 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68546         [BZ #13717]
68547         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68548         Change to 2.4.21 where previously 2.4.1.
68549         * sysdeps/unix/sysv/linux/configure: Regenerated.
68550         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68551         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68552         Linux kernel version.
68553         (__ASSUME_STD_AUXV): Remove.
68554         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68555         kernel version.
68556         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68557         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68558         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68559         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68560         (__ASSUME_NETLINK_SUPPORT): Likewise.
68561         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68562         (__no_netlink_support): Remove conditional definition.
68563         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68564         Remove.
68565         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68566         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68567         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68568         (if_nameindex_ioctl): Remove.
68569         (if_nameindex_netlink): Do not handle __no_netlink_support.
68570         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68571         code.
68572         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68573         Remove conditional code.
68574         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68575         code.
68576         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68577         unconditional.
68578         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68579         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68580         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68581         Remove.
68582         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68583         [!__ASSUME_STD_AUXV]: Remove conditional code.
68584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68585         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68586         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68588         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68589         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68590         code.
68591         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68593         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68594         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68595         conditional code.
68596         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68598         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68599         code.
68600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68601         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68602         conditional code.
68603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68604         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68605         code unconditional.
68606         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68607         conditional code.
68608         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68609         unconditional.
68610         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68611         conditional code.
68612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68613         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68614         unconditional.
68615         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68616         conditional code.
68617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68618         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68619         code unconditional.
68620         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68621         conditional code.
68622         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68623         unconditional.
68624         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68625         conditional code.
68626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68627         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68628         code unconditional.
68629         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68630         conditional code.
68631         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68632         unconditional.
68633         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68634         conditional code.
68636 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
68638         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68639         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68640         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68641         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68642         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68643         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68644         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68645         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68646         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68647         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68648         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68649         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68650         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68651         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68652         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68653         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68654         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68655         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68656         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68658         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68659         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68660         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68662 2012-07-25  Florian Weimer  <fweimer@redhat.com>
68664         * Versions.def: Add GLIBC_2.17.
68665         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68666         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68667         Introduce __libc_secure_getenv.
68668         * stdlib/Versions (2.17): Add secure_getenv
68669         (GLIBC_PRIVATE): Add __libc_secure_getenv.
68670         * stdlib/secure-getenv.c: Rename __secure_getenv to
68671         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
68672         symbol __secure_getenv for GLIBC_2.0.
68673         * stdlib/tst-secure-getenv.c: New.
68674         * stdlib/Makefile (tests): Add testcase.
68675         * manual/startup.texi (Environment Access): Document
68676         secure_getenv.
68677         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68678         __libc_secure_getenv.
68679         * inet/ruserpass.c (ruserpass): Likewise.
68680         * malloc/mtrace.c (mtrace): Likewise.
68681         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68682         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68683         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68684         * sysdeps/posix/tempname.c: Likewise.  Evaluate
68685         HAVE_SECURE_GETENV.
68686         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68687         __secure_getenv to __libc_secure_getenv.
68688         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68690         Likewise.
68691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68692         Likewise.
68693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68695         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68701 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68703         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68704         (struct La_i86_retval): Likewise.
68705         (struct La_x86_64_regs): Likewise.
68706         (struct La_x86_64_retval): Likewise.
68707         (struct La_x32_regs): Likewise.
68708         (struct La_x32_retval): Likewise.
68709         (struct La_ppc32_regs): Likewise.
68710         (struct La_ppc32_retval): Likewise.
68711         (struct La_ppc64_regs): Likewise.
68712         (struct La_ppc64_retval): Likewise.
68713         (struct La_sh_regs): Likewise.
68714         (struct La_sh_retval): Likewise.
68715         (struct La_s390_32_regs): Likewise.
68716         (struct La_s390_32_retval): Likewise.
68717         (struct La_s390_64_regs): Likewise.
68718         (struct La_s390_64_retval): Likewise.
68719         (struct La_sparc32_regs): Likewise.
68720         (struct La_sparc32_retval): Likewise.
68721         (struct La_sparc64_regs): Likewise.
68722         (struct La_sparc64_retval): Likewise.
68723         (struct audit_ifaces): Remove architecture-specific pltenter and
68724         pltexit members.
68725         * sysdeps/i386/ldsodefs.h: New file.
68726         * sysdeps/powerpc/ldsodefs.h: Likewise.
68727         * sysdeps/s390/ldsodefs.h: Likewise.
68728         * sysdeps/sh/ldsodefs.h: Likewise.
68729         * sysdeps/sparc/ldsodefs.h: Likewise.
68730         * sysdeps/x86_64/ldsodefs.h: Likewise.
68732 2012-07-25  Marek Polacek  <polacek@redhat.com>
68734         [BZ #6808]
68735         * math/libm-test.inc (yn_test): Add another test.
68736         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68737         to ERANGE when the result is +-Inf.
68738         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68739         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68740         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68741         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68743 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
68745         * conform/data/time.h-data (NULL): Use macro-constant.  Require
68746         equal to 0.
68747         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
68748         clock_t.
68749         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
68751 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
68753         * configure.in <sysdeps resolving>: Correct printing
68754         Implies_before.
68755         * configure: Regenerate.
68757 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
68759         * math/w_ilogb.c: Include <limits.h>.
68760         * math/w_ilogbl.c: Likewise.
68762 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68764         * manual/lang.texi (__va_copy): Document primarily as ISO C99
68765         va_copy.  Document allowing for unavailable va_copy only as
68766         pre-C99 compatibility.
68767         * manual/string.texi (Copying and Concatenation): Use va_copy
68768         instead of __va_copy in concat example.
68770 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
68772         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68773         (__sendto): Use create_address_port.  Initialize APORT and deallocate
68774         it if not null.
68776         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68777         with O_NOLINK passed to __file_name_lookup.
68779         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68780         with O_NOLINK passed to __file_name_lookup.
68782         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68783         negative N or less than NGIDS.
68785         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68786         type to string_t.  Set ERANGE as errno and return it if NAME is not big
68787         enough.  Use memcpy instead of strncpy.
68789 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68791         * elf/Makefile (check-data): Remove.
68792         (localplt.data): New vpath directive.
68793         ($(objpfx)check-localplt.out): Use localplt.data from vpath
68794         instead of $(check-data).
68795         * scripts/data/localplt-generic.data: Move to ...
68796         * sysdeps/generic/localplt.data: ... here.
68797         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68798         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68799         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68801         ... here.
68802         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68804         ... here.
68805         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68807         ... here.
68808         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68810         ... here.
68811         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68813         ... here.
68814         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68816         ... here.
68818 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68820         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68821         PPC32 and PPC64 files.
68822         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68823         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68825 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68827         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68828         __makecontext_ret to ...
68829         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68830         ... here and call exit if uc_link is NULL.  New file.
68831         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68832         __makecontext_ret.S.
68833         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68834         __makecontext_ret to ...
68835         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68836         ... here and call exit if uc_link is NULL.  New file.
68837         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68838         __makecontext_ret.S.
68840 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68842         * elf/elf.h (R_390_IRELATIVE): New definition.
68843         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68844         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
68845         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68846         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68847         (elf_machine_lazy_rel): Likewise.
68848         * sysdeps/s390/dl-irel.h: New file.
68849         * sysdeps/s390/s390-64/memcpy.S: New asm code.
68850         * sysdeps/s390/s390-64/memset.S: New asm code.
68851         * sysdeps/s390/s390-64/memcmp.S: New asm code.
68852         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68853         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68854         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68855         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68856         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68857         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68858         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68859         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68860         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68861         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68862         * sysdeps/s390/s390-32/memcpy.S: New asm code.
68863         * sysdeps/s390/s390-32/memset.S: New asm code.
68864         * sysdeps/s390/s390-32/memcmp.S: New asm code.
68866 2012-07-17  Marek Polacek  <polacek@redhat.com>
68868         [BZ #14349]
68869         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68870         * sysdeps/s390/s390-64/configure.in: Likewise.
68871         * sysdeps/sparc/configure.in: Likewise.
68872         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68873         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68874         * sysdeps/i386/configure.in: Likewise.
68875         * sysdeps/x86_64/configure.in: Likewise.
68876         * sysdeps/sh/configure.in: Likewise.
68877         * sysdeps/s390/s390-32/configure: Regenerated.
68878         * sysdeps/s390/s390-64/configure: Likewise.
68879         * sysdeps/x86_64/configure: Likewise.
68880         * sysdeps/sh/configure: Likewise.
68881         * sysdeps/powerpc/powerpc64/configure: Likewise.
68882         * sysdeps/powerpc/powerpc32/configure: Likewise.
68883         * sysdeps/sparc/configure: Likewise.
68884         * sysdeps/i386/configure: Likewise.
68886         * elf/dl-open.c: Comment fixes.
68888 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
68890         * Makefile [CXX] (check-data): Remove.
68891         [CXX] (c++-types.data): New vpath directive.
68892         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68893         vpath.  Do not allow for C++ type data being missing.
68894         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68895         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68896         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68897         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68898         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68899         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68900         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68902         ... here.
68903         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68905         ... here.
68906         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68908         ... here.
68909         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68911         ... here.
68912         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68914         ... here.
68915         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68917         ... here.
68918         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68920         ... here.
68921         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68924         * elf/tls-macros.h (TLS_LE): Move architecture-specific
68925         definitions to architecture-specific files.
68926         (TLS_IE): Likewise.
68927         (TLS_LD): Likewise.
68928         (TLS_GD): Likewise.
68929         * sysdeps/i386/tls-macros.h: New file.
68930         * sysdeps/powerpc/tls-macros.h: Likewise.
68931         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68932         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68933         * sysdeps/sh/tls-macros.h: Likewise.
68934         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68935         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68936         * sysdeps/x86_64/tls-macros.h: Likewise.
68938 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68940         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68941         zero value for regular exit case.
68943         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68944         (__start_context): Preserve zero value for regular exit case.
68946 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68947             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68949         * manual/setjmp.texi (setcontext): Clarify normal process
68950         termination when uc_link is the null pointer.
68951         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68952         exit call.
68954 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
68956         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68957         preprocessor.  Test for each exception mask separately.
68959 2012-07-16  Andreas Jaeger  <aj@suse.de>
68961         * po/ru.po: Update from translation team.
68963 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
68965         * conform/data/string.h-data (NULL): Use macro-constant.  Require
68966         equal to 0.
68967         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68968         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68969         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68970         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68971         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68973 2012-07-13  Andreas Jaeger  <aj@suse.de>
68975         * po/fr.po: Update from translation team.
68977 2012-07-12  Marek Polacek  <polacek@redhat.com>
68979         [BZ #14173]
68980         * math/libm-test.inc (yn_test): Add test for BZ #14173.
68981         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68982         loop condition.
68984 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
68986         [BZ #13717]
68987         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68988         Change to 2.4.1 where previously 2.4.0.
68989         * sysdeps/unix/sysv/linux/configure: Regenerated.
68990         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68991         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68992         version.
68993         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68994         (__ASSUME_AT_CLKTCK): Remove.
68995         (__ASSUME_AT_PAGESIZE): Likewise.
68996         (__ASSUME_AT_XID): Likewise.
68997         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68998         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68999         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
69000         unconditionally.
69001         (HAVE_AUX_PAGESIZE): Likewise.
69002         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
69003         [__ASSUME_AT_CLKTCK]: Make code unconditional.
69004         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
69006 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
69008         [BZ #14307]
69009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
69010         the temporary buffer used to invoke __gethostbyname2_r,
69011         __gethostbyaddr_r and gethostbyname4_r to make room for struct
69012         host_data / struct gaih_addrtuple.
69013         * resolv/nss_dns/dns-host.c (global scope): Move definition of
69014         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
69015         header file nss/nsswitch.h.
69016         * nss/nsswitch.h (global scope): Add definition of implementation
69017         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
69018         resolv/nss_dns/dns-host.c).
69020 2012-07-11  Andreas Jaeger  <aj@suse.de>
69022         * po/fr.po: Update from translation team.
69024         * po/sv.po: Update from translation team
69025         * po/fr.po: Another update from translation team.
69027 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69029         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
69030         for subnormals or multiply small sinh result by itself.
69031         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69034 2012-07-11  David S. Miller  <davem@davemloft.net>
69036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69038 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
69040         [BZ #14347]
69041         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
69042         (INTERNAL_MARK): Shift it here.
69044 2012-07-10  Marek Polacek  <polacek@redhat.com>
69046         [BZ #14151]
69047         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
69048         libc_cv_asm_global_directive with .globl.
69049         * configure: Regenerated.
69050         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
69051         with .globl.
69052         * sysdeps/i386/configure: Regenerated.
69053         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
69054         with .globl.
69055         * sysdeps/x86_64/configure: Regenerated.
69056         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
69057         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
69058         * elf/tst-unique2mod2.c: Likewise.
69059         * elf/tst-unique2mod1.c: Likewise.
69060         * elf/tst-unique1mod2.c: Likewise.
69061         * elf/tst-unique1mod1.c: Likewise.
69062         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69063         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69064         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69065         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69066         * sysdeps/mach/sysdep.h: Likewise.
69067         * sysdeps/i386/sysdep.h: Likewise.
69068         * sysdeps/i386/i386-mcount.S: Likewise.
69069         * sysdeps/x86_64/_mcount.S: Likewise.
69070         * sysdeps/x86_64/sysdep.h: Likewise.
69071         * sysdeps/sh/_mcount.S: Likewise.
69072         * sysdeps/sh/sysdep.h: Likewise.
69073         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69074         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
69075         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
69076         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69077         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
69078         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
69079         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
69080         * locale/localeinfo.h: Likewise.
69081         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
69082         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
69084 2012-07-09  Roland McGrath  <roland@hack.frob.com>
69086         [BZ #14336]
69087         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
69088         system".
69089         * manual/message.texi (The Uniforum approach): Likewise.
69090         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
69091         (glibc iconv Implementation): Likewise.
69093 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
69095         [BZ #14337]
69096         * math/s_clog.c (__clog): Avoid scaling a value down where that
69097         could result in underflow.
69098         * math/s_clog10.c (__clog10): Likewise.
69099         * math/s_clog10f.c (__clog10f): Likewise.
69100         * math/s_clog10l.c (__clog10l): Likewise.
69101         * math/s_clogf.c (__clogf): Likewise.
69102         * math/s_clogl.c (__clogl): Likewise.
69103         * math/libm-test.inc (clog_test): Add more tests.
69104         (clog10_test): Likewise.
69105         * sysdeps/i386/fpu/libm-test-ulps: Update.
69106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69108 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
69110         [BZ #14283]
69111         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69112         by 7 not 8 to examine high bit of fractional part.
69114         [BZ #14042]
69115         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
69116         for call to __mcount_internal.
69117         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
69118         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
69119         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
69121 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
69123         [BZ #14154]
69124         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
69125         approximation for values within 0x1p-13f of an odd multiple of
69126         pi/4.
69127         * math/libm-test.inc (tan_test): Do not allow spurious underflow
69128         exception.  Add more tests.
69129         * sysdeps/i386/fpu/libm-test-ulps: Update.
69131         [BZ #6778]
69132         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
69133         inputs and return -1 for them.  Do not check for +Inf in case not
69134         reachable for +Inf.
69135         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
69136         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
69137         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69138         and return -1 for them.  Do not check for +Inf in case not
69139         reachable for +Inf.
69140         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
69141         define.
69142         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69143         and return -1 for them.  Do not check for +Inf in case not
69144         reachable for +Inf.
69145         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
69146         spurious underflow.
69147         * sysdeps/i386/fpu/libm-test-ulps: Update.
69148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69150 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
69152         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69154 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
69156         [BZ #14157]
69157         [BZ #14331]
69158         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69159         could result in spurious underflow.  Scale down values above
69160         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69161         * math/s_csqrtf.c (__csqrtf): Likewise.
69162         * math/s_csqrtl.c (__csqrtl): Likewise.
69163         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
69164         spurious underflow.
69165         * sysdeps/i386/fpu/libm-test-ulps: Update.
69166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69168 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
69170         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69171         xopen-msg.sed.
69172         * catgets/xopen-msg.awk: New file.
69173         * catgets/xopen-msg.sed: Removed.
69175         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69176         po2text.sed.
69177         * intl/po2test.awk: New file.
69178         * intl/po2test.sed: Removed.
69180 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
69182         [BZ #14328]
69183         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69184         or multiply small sinh result by itself.
69185         * math/s_ctanf.c (__ctanf): Likewise.
69186         * math/s_ctanh.c (__ctanh): Likewise.
69187         * math/s_ctanhf.c (__ctanhf): Likewise.
69188         * math/s_ctanhl.c (__ctanhl): Likewise.
69189         * math/s_ctanl.c (__ctanl): Likewise.
69190         * math/libm-test.inc (ctan_test_tonearest): New function.
69191         (ctan_test_towardzero): Likewise.
69192         (ctan_test_downward): Likewise.
69193         (ctan_test_upward): Likewise.
69194         (ctanh_test_tonearest): Likewise.
69195         (ctanh_test_towardzero): Likewise.
69196         (ctanh_test_downward): Likewise.
69197         (ctanh_test_upward): Likewise.
69198         (main): Call these new functions.
69199         * sysdeps/i386/fpu/libm-test-ulps: Update.
69200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69202 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
69204         * .gitignore: Delete /ports entry.
69206 2012-07-03  Andreas Jaeger  <aj@suse.de>
69208         * po/bg.po: Update from translation team.
69209         * po/cs.po: Likewise.
69210         * po/de.po: Likewise.
69211         * po/hr.po: Likewise.
69212         * po/nl.pl: Likewise.
69213         * po/pl.po: Likewise.
69214         * po/vi.po: Likewise.
69216 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
69218         * Makeconfig [!+link] (+link-before-libc): New variable.
69219         [!+link] (+link-after-libc): Likewise.
69220         [!+link] (+link-tests): Likewise.
69221         [!+link] (+link): Define in terms of $(+link-before-libc) and
69222         $(+link-after-libc).
69223         [!+link-static] (+link-static-before-libc): New variable.
69224         [!+link-static] (+link-static-after-libc): Likewise.
69225         [!+link-static] (+link-static-tests): Likewise.
69226         [!+link-static] (+link-static): Define in terms of
69227         $(+link-static-before-libc) and $(+link-static-after-libc).
69228         [build-shared] (link-libc-before-gnulib): New variable.
69229         [build-shared] (link-libc-tests): Likewise.
69230         [build-shared] (link-libc): Define in terms of
69231         $(link-libc-before-gnulib).
69232         [!build-shared] (link-libc-tests): New variable.
69233         (link-libc-static-tests): New variable.
69234         [!gnulib] (gnulib-arch): New variable.
69235         [!gnulib] (gnulib-tests): Likewise.
69236         [!gnulib] (static-gnulib-arch): Likewise.
69237         [!gnulib] (static-gnulib-tests): Likewise.
69238         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
69239         Define with "=" instead of ":=".
69240         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
69241         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
69242         * Rules (binaries-all-notests): New variable.
69243         (binaries-all-tests): Likewise.
69244         (binaries-static-notests): Likewise.
69245         (binaries-static-tests): Likewise.
69246         (binaries-all): Define using $(binaries-all-notests) and
69247         $(binaries-all-tests).
69248         (binaries-static): Define using $(binaries-static-notests) and
69249         $(binaries-static-tests).
69250         (binaries-shared-tests): New variable.
69251         (binaries-shared-notests): Likewise.
69252         (binaries-shared): Remove variable.
69253         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69254         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69255         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69256         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69257         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69258         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69259         * elf/Makefile (sln-modules): New variable.
69260         (extra-objs): Add $(sln-modules:=.o).
69261         (ldconfig-modules): Add static-stubs.
69262         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69263         * elf/static-stubs.c: New file.
69265         [BZ #14283]
69266         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69267         by 7 not 8 to examine high bit of fractional part.  Use volatile
69268         variables when splitting into final array of floats if
69269         __FLT_EVAL_METHOD__ != 0.
69270         * math/libm-test.inc (cos_test): Add another test.
69271         (sin_test): Likewise.
69272         * sysdeps/i386/fpu/libm-test-ulps: Update.
69274         [BZ #14273]
69275         * math/libm-test.inc (cosh_test): Add more tests.
69277         * version.h (RELEASE): Set to "development".
69278         (VERSION): Set to "2.16.90".
69280 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
69282         * NEWS: Update copyright. Remove last-updated date.
69283         Mention math library bug fixes and timezone data changes.
69284         * README: Mention GNU/Hurd, x32, and HPPA support status.
69286 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
69288         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69290 2012-06-27  Andreas Jaeger  <aj@suse.de>
69292         * manual/contrib.texi (Contributors): Add Samuel Thibault.
69294 2012-06-25  Andreas Jaeger  <aj@suse.de>
69296         * sysdeps/s390/fpu/libm-test-ulps: Update.
69298 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
69299             Thomas Schwinge  <thomas@codesourcery.com>
69301         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69302         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69303         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69304         fanotify_mark.
69306 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
69308         * sysdeps/mach/start.c: Remove file.
69309         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69310         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69311         * sysdeps/sh/init-first.c: Likewise.
69313         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69314         registers for frame unwinding purposes, add CFI directives.
69315         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69316         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69317         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69318         Likewise.
69320         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69321         __fortify_fail returning.
69322         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69324         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69325         sysdeps/sh/____longjmp_chk.S.
69326         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69327         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69328         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69329         (gen-as-const-headers): Append sigaltstack-offsets.sym.
69331         * sysdeps/sh/abort-instr.h: New file.
69332         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69333         process in case exit returns.
69335         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69336         initialize the GOT register before use.
69338         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69339         calculation of ARGC > 4.
69341         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69342         meaningful names to some local labels.
69344 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69345             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69347         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69348         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69349         (__arch_compare_and_exchange_val_16_acq): Likewise.
69350         (__arch_compare_and_exchange_val_32_acq): Likewise.
69351         (atomic_exchange_and_add): Fix gUSA sequence.
69352         (atomic_add): Likewise.
69353         (atomic_add_negative): Likewise.
69354         (atomic_add_zero): Likewise.
69355         (atomic_bit_test_set): Likewise.
69357 2012-06-22  Andreas Schwab  <schwab@redhat.com>
69359         [BZ #13579]
69360         * include/link.h (struct link_map): Add l_free_initfini.
69361         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69362         l_initfini.
69363         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69364         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69365         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69366         set.
69368 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
69370         * configure.in: Use AC_LANG_SOURCE.
69371         * configure: Regenerate.
69373 2012-06-22  Roland McGrath  <roland@hack.frob.com>
69375         * configure.in (libc_cv_localstatedir): New substituted variable.
69376         * configure: Regenerated.
69377         * config.make.in (localstatedir): New variable, substituted from
69378         libc_cv_localstatedir.
69379         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69380         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69381         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69382         * sysdeps/gnu/configure: Regenerated.
69384 2012-06-21  Jeff Law  <law@redhat.com>
69386         [BZ #14277]
69387         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69388         free.  Simplify list management for _LIBC case.
69390 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
69392         [BZ #14273]
69393         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69394         Clear sign bit of 64-bit integer value before comparing against
69395         overflow value.
69397         * sysdeps/mach/configure: Regenerated.
69399 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
69401         [BZ #14278]
69402         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69404 2012-06-21  Jeff Law  <law@redhat.com>
69406         [BZ #13882]
69407         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
69408         uint16_t for elements in the "seen" array to avoid char overflows.
69409         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69410         * elf/dl-open.c (dl_open_worker): Likewise.
69412 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
69414         * scripts/list-sources.sh: Scan PORTS for translations.
69415         * po/libc.pot: Regenerated.
69417 2012-06-21  Andreas Jaeger  <aj@suse.de>
69419         [BZ #12194]
69420         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69421         warning.
69422         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69423         * bits/byteswap-16.h (__bswap_16): Likewise.
69424         * bits/byteswap.h (__bswap_constant_16): Likewise.
69426 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
69428         [BZ #14117]
69429         * sysdeps/i386/fpu_control.h: Removed.
69430         * sysdeps/x86_64/fpu_control.h: Moved to ...
69431         * sysdeps/x86/fpu_control.h: Here.
69433         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69434         (_FPU_SETCW): Likewise.
69436 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
69438         [BZ #14117]
69439         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69440         * sysdeps/x86/fpu/bits/mathinline.h: This.
69441         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69443         [BZ #14050]
69444         [BZ #14117]
69445         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69446         functions if __x86_64__ is defined.
69448 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
69450         * string/endian.h: Add !__ASSEMBLER__ condition for including
69451         conversion interfaces.
69453 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
69455         [BZ #14241]
69456         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69457         of ABS(x) in calculating zero to negative powers other than odd
69458         integers.
69459         * math/libm-test.inc (pow_test): Add more tests.
69461 2012-06-15  Andreas Jaeger  <aj@suse.de>
69463         * manual/contrib.texi (Contributors): Update entry of Liubov
69464         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69465         Machado Filho.
69467 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
69469         * string/string.h: Add __wur to GNU version of strerror_r.
69471 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
69473         [BZ #14229]
69474         * string/Makefile (tests): Add tst-strtok_r.
69475         * string/tst-strtok_r.c: New file.
69476         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69477         RAX_LP/RDX_LP on SAVE_PTR.
69479 2012-06-14  Roland McGrath  <roland@hack.frob.com>
69481         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69483 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
69485         * libm_test.inc (csqrt_test): Allow more spurious underflow
69486         exceptions.
69487         (j0_test): Likewise.
69488         (j1_test): Likewise.
69489         (y0_test): Likewise.
69490         (y1_test): Likewise.
69492 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
69494         * po/Makefile (libc.pot): Use UTF-8 charset.
69496 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
69498         [BZ #14210]
69499         Suppress sign-conversion warning from FD_SET.
69500         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69501         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69502         not unsigned long int.
69503         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69505 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
69507         [BZ #14050]
69508         [BZ #14117]
69509         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69510         __extern_always_inline instead of __extern_inline.
69511         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69512         (__signbit): Likewise.
69513         (__signbitl): Support C++ namespace.
69514         (lrintf): New inline function.
69515         (lrint): Likewise.
69516         (llrintf): Likewise.
69517         (llrint): Likewise.
69518         (fmaxf): Likewise.
69519         (fmax): Likewise.
69520         (fminf): Likewise.
69521         (fmin): Likewise.
69522         (rint): Likewise.
69523         (rintf): Likewise.
69524         (ceil): Likewise.
69525         (ceilf): Likewise.
69526         (floor): Likewise.
69527         (floorf): Likewise.
69528         (nearbyint): Likewise.
69529         (nearbyintf): Likewise.
69531 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
69533         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69534         non-default versions.
69536 2012-06-11  Roland McGrath  <roland@hack.frob.com>
69538         [BZ #14218]
69539         * manual/argp.texi (Argp): Reword argp_parse description slightly.
69541 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
69543         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69544         (FE_UPWARD, FE_DOWNWARD): Don't define.
69545         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69546         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69548         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69549         reading it.
69550         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69551         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69553 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69555         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69557         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69558         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69560 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
69562         [BZ #14117]
69563         * sysdeps/i386/fpu/bits/fenv.h: Removed.
69564         * sysdeps/i386/fpu/Implies: New file.
69565         * sysdeps/x86_64/fpu/Implies: Likewise.
69566         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69567         * sysdeps/x86/fpu/bits/fenv.h: This.
69569         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69570         __SSE_MATH__.
69572 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69574         [BZ #14134]
69575         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69576         character 0xffff that matches the last element of the
69577         conversion table.
69579 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69581         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69582         fmodl commit.
69584 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69586         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69587         values higher than 25.6283.
69589 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69591         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69592         subnormal exponent extraction and add some __builtin_expect.
69593         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69594         Fix for subnormal mantissa calculation.
69596 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
69598         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69599         cpu2 is -1 and errno is not ENOSYS.
69601 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
69603         [BZ #14117]
69604         * sysdeps/i386/i486/bits/string.h: Renamed to ...
69605         * sysdeps/x86/bits/string.h: This.
69606         * sysdeps/x86_64/bits/string.h: Removed.
69608         * sysdeps/i386/i486/bits/string.h: Define inline functions only
69609         if not compiling for x86-64, but compiling for >= i486.
69611         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69612         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69614         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69615         New macro from Linux kernel 3.4.0.
69616         (FP_XSTATE_MAGIC2): Likewise.
69617         (FP_XSTATE_MAGIC2_SIZE): Likewise.
69618         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69619         (struct _fpx_sw_bytes): New struct.
69620         (struct _xsave_hdr): Likewise.
69621         (struct _ymmh_state): Likewise.
69622         (struct _xstate): Likewise.
69624         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69625         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69626         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69627         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69628         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69629         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69631         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69632         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69633         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69634         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69635         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69636         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69638 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69640         [BZ #13743]
69641         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69642         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69643         (sysdep_headers): Include sys/platform/ppc.h.
69644         * sysdeps/powerpc/test-gettimebase.c: Test for
69645         __ppc_get_timebase() to catch future ISA opcode/insn changes.
69646         * manual/Makefile (appendices): Include platform.texi.
69647         * manual/contrib.texi (Contributors): Update @node pointers.
69648         * manual/maint.texi (Maintenance): Likewise.
69649         (Platform): New node.
69650         * manual/platform.texi: New file.  Document the new features.
69652 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69653             Jakub Jelinek  <jakub@redhat.com>
69655         [BZ #14188]
69656         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69657         where __builtin_expect is unavailable.
69659 2012-06-03  David S. Miller  <davem@davemloft.net>
69661         * stdlib/longlong.h: Updated from GCC.
69663 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
69665         [BZ #14042]
69666         * sysdeps/powerpc/powerpc32/mcount.c: New file.
69667         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69668         __mcount_internal.
69669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69670         (GLIBC_2.16): Likewise.
69672 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69674         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69676 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69679         (default-abi): New variable.
69680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69681         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69682         variable.
69683         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69684         Likewise.
69685         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69686         Likewise.
69687         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69688         Likewise.
69690         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69691         definition.  Document in comment.
69693 2012-06-01  David S. Miller  <davem@davemloft.net>
69695         * stdlib/longlong.h: Updated from GCC.
69697 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69699         [BZ #14117]
69700         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69701         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69702         sys/debugreg.h sys/io.h here.
69703         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69704         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69705         sys/io.h.
69706         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69707         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69708         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69709         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69710         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69711         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69713         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69714         Define only if __x86_64__ is defined.
69716 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69718         [BZ #14048]
69719         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69720         Use int64_t for variable i.
69721         * math/libm-test.inc (fmod_test): Add more tests.
69723         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69724         z computation is not scheduled after fetestexcept.
69725         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69726         Use math_force_eval instead of asm to ensure calculation scheduled
69727         before exception test.
69728         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69729         Ensure a1 + u.d computation is not scheduled after fetestexcept.
69731 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
69733         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69734         computation is not scheduled after fetestexcept.
69736 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69738         [BZ #14117]
69739         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69740         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69742 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69744         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69745         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69747 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69749         [BZ #14117]
69750         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69751         <bits/wordsize.h>.
69752         (__WCHAR_MIN): Support __WORDSIZE == 64.
69753         (__WCHAR_MAX): Likewise.
69755         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69756         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69758         [BZ #14183]
69759         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69760         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69762         [BZ #14117]
69763         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69764         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69766         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69767         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69769         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69770         Defined to 1 if __x86_64__ isn't defined.
69771         (_STAT_VER_LINUX_OLD): New.
69772         (st_atime): Remove duplicate.
69773         (st_mtime): Likewise.
69774         (st_ctime): Likewise.
69776 2012-05-31  David S. Miller  <davem@davemloft.net>
69778         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69779         entries.
69781 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
69783         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69784         gen-libm-test.pl.
69786         [BZ #14132]
69787         * elf/dl-reloc.c: Include <_itoa.h>.
69788         (_dl_reloc_bad_type): Remove use of INTUSE.
69789         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69790         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69791         * stdio-common/psiginfo.c (psiginfo): Likewise.
69792         * stdio-common/psignal.c (psignal): Likewise.
69793         * string/strsignal.c (strsignal): Likewise.
69794         * include/signal.h (_sys_siglist): Declare hidden proto.
69795         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
69796         INTVARDEF with libc_hidden_data_def.
69797         * stdio-common/itoa-udigits.c: Likewise.
69798         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69799         (_itoa_lower_digits_internal): Remove declaration.
69800         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69801         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69802         (_sys_sigabbrev_internal): Remove aliases.
69803         (_sys_siglist): Define hidden alias.
69805 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
69807         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69808         bits/sysctl.h.
69810 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69812         [BZ #14117]
69813         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69814         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69816         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69817         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69818         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69819         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69820         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69821         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69823         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69824         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69825         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69827         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69828         with __addr.
69829         (insw): Likewise.
69830         (insl): Likewise.
69831         (outsb): Likewise.
69832         (outsw): Likewise.
69833         (outsl): Likewise.
69835         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69836         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69837         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69839         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69840         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69841         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69842         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69843         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69844         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69846         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69847         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69849         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69850         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69852         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69853         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69854         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69856         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69857         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69858         to ...
69859         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69861         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69862         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69863         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69865         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69866         for x86-64.
69867         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69869 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
69871         * math/math.h (M_El): Use two more decimal places.
69872         (M_LOG2El): Likewise.
69873         (M_LOG10El): Likewise.
69874         (M_LN2l): Likewise.
69875         (M_LN10l): Likewise.
69876         (M_PIl): Likewise.
69877         (M_PI_2l): Likewise.
69878         (M_PI_4l): Likewise.
69879         (M_1_PIl): Likewise.
69880         (M_2_PIl): Likewise.
69881         (M_2_SQRTPIl): Likewise.
69882         (M_SQRT2l): Likewise.
69883         (M_SQRT1_2l): Likewise.
69885 2012-05-31  David S. Miller  <davem@davemloft.net>
69887         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69888         values between float registers.
69889         * sysdeps/sparc/sparc64/memset.S: Likewise.
69890         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69892 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
69894         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69895         -D_FORTIFY_SOURCE=1.
69896         (CPPFLAGS-tst-longjmp_chk.c): Define.
69897         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69898         (CPPFLAGS-tst-longjmp_chk2.c): Define.
69899         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69900         CFLAGS-tst-wchar-h.c.
69902 2012-05-31  Marek Polacek  <polacek@redhat.com>
69904         [BZ #14132]
69905         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69906         __endmntent_internal): Remove declaration.
69907         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69908         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69909         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69911 2012-05-30  David S. Miller  <davem@davemloft.net>
69913         * sysdeps/sparc/sparc32/soft-fp/q_util.c
69914         (___Q_simulate_exceptions): Use real FP ops rather than writing
69915         into the %fsr.
69916         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69917         Likewise.
69919 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69921         [BZ #14117]
69922         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69923         * sysdeps/x86/bits/xtitypes.h: This.
69925         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69926         * sysdeps/x86/bits/wordsize.h: This.
69928         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69929         * sysdeps/x86/bits/huge_vall.h: This.
69931         * sysdeps/i386/bits/select.h: Removed.
69932         * sysdeps/x86_64/bits/select.h: Renamed to ...
69933         * sysdeps/x86/bits/select.h: This.
69935         * sysdeps/i386/bits/setjmp.h: Removed.
69936         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69937         * sysdeps/x86/bits/setjmp.h: This.
69939         * sysdeps/i386/bits/mathdef.h: Removed.
69940         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69941         * sysdeps/x86/bits/mathdef.h: This.
69943 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
69945         [BZ #14132]
69946         * include/sys/socket.h (__connect_internal)
69947         (__libc_sa_len_internal): Remove declaration.
69948         (__connect, __libc_sa_len): Declare hidden_proto.
69949         (SA_LEN): Remove use of INTUSE.
69950         * socket/connect.c: Add libc_hidden_def.
69951         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69952         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69953         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69954         alias.
69955         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69956         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69957         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69958         of adding _internal alias.
69960 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69962         [BZ #14117]
69963         * sysdeps/i386/bits/link.h: Removed.
69964         * sysdeps/i386/bits/linkmap.h: Likewise.
69965         * sysdeps/x86_64/bits/link.h: Renamed to ...
69966         * sysdeps/x86/bits/link.h: This.
69967         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69968         * sysdeps/x86/bits/linkmap.h: This.
69970         * sysdeps/i386/bits/endian.h: Removed.
69971         * sysdeps/x86_64/bits/endian.h: Renamed to ...
69972         * sysdeps/x86/bits/endian.h: This.
69974         * sysdeps/i386/bits/byteswap.h: Removed.
69975         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69976         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69977         * sysdeps/x86/bits/byteswap.h: This.
69978         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69979         * sysdeps/x86/bits/byteswap-16.h: This.
69980         * sysdeps/i386/Implies: Add x86.
69981         * sysdeps/x86_64/Implies: Likewise.
69983 2012-05-30  David S. Miller  <davem@davemloft.net>
69985         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69986         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69987         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69988         (FP_TRAPPING_EXCEPTIONS): Define.
69989         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69990         (FP_TRAPPING_EXCEPTIONS): Define.
69991         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69992         subnormals only when inexact has been signalled or underflow
69993         exceptions are enabled.
69994         (_FP_PACK_CANONICAL): Likewise.
69996 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69998         [BZ #14183]
69999         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
70000         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70002 2012-05-30  Richard Henderson  <rth@twiddle.net>
70004         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
70005         with #ifndef NOT_IN_libc.
70007         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
70008         marked to avoid plt entry.
70010 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70012         [BZ #14112]
70013         * Makeconfig (default-abi): New macro.
70014         (abi-includes): Likewise.
70015         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
70016         $(abi-$(default-abi)-lib-soname) for soname if defined.
70017         ($(common-objpfx)gnu/lib-names.stmp): Generate from
70018         abi-variants.
70019         * Makefile (installed-stubs): Likewise.
70020         * include/stubs-biarch.h: Removed.
70021         * scripts/lib-names.awk: Only handle one library at a time.
70022         * scripts/soversions.awk: Remove WORDSIZE support.
70023         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
70024         entries.
70025         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
70026         Removed.
70027         (syscall-list-default-condition): Likewise.
70028         (syscall-list-default-condition): Likewise.
70029         (syscall-list-includes): Likewise.
70030         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
70031         syscall-list-* with abi-*.  Handle undefined abi-variants.
70032         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
70033         * sysdeps/unix/sysv/linux/i386/Implies: New file.
70034         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
70035         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70036         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
70037         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
70038         Removed.
70039         (syscall-list-32-options): Likewise.
70040         (syscall-list-32-condition): Likewise.
70041         (syscall-list-64-options): Likewise.
70042         (syscall-list-64-condition): Likewise.
70043         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
70044         macro.
70045         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
70046         Renamed to ...
70047         (abi-*): This.
70048         (abi-64-ld-soname): New macro.
70049         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
70050         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
70051         Renamed to ...
70052         (abi-*): This.
70053         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
70054         * sysdeps/x86_64/x32/shlib-versions: Likewise.
70056 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
70058         * sysdeps/unix/sysv/linux/kernel-features.h
70059         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
70060         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
70061         include <kernel-features.h>.
70062         [!__NR_ftruncate64]: Remove conditional code.
70063         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70064         [__NR_ftruncate64]: Make code unconditional.
70065         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70066         * sysdeps/unix/sysv/linux/truncate64.c: Do not
70067         include <kernel-features.h>.
70068         [!__NR_ftruncate64]: Remove conditional code.
70069         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70070         [__NR_ftruncate64]: Make code unconditional.
70071         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
70073         include <kernel-features.h>.
70074         [!__NR_ftruncate64]: Remove conditional code.
70075         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70076         [__NR_ftruncate64]: Make code unconditional.
70077         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70079         include <kernel-features.h>.
70080         [!__NR_ftruncate64]: Remove conditional code.
70081         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70082         [__NR_ftruncate64]: Make code unconditional.
70083         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70085         * configure.in (libc_cv_fpie): Weaken to a compile test using
70086         LIBC_TRY_CC_OPTION.
70087         * configure: Regenerated.
70089 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
70092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
70093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
70094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70095         Refreshed.
70096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
70097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
70098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
70099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
70100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
70101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70102         Refreshed.
70104 2012-05-27  David S. Miller  <davem@davemloft.net>
70106         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
70107         (___Q_zero): New.
70108         (__Q_simulate_exceptions): Return void.  Change to simulate
70109         exceptions by writing into the %fsr.
70110         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
70111         (__Qp_handle_exceptions): Likewise.
70112         (numbers): Delete.
70113         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
70114         __Qp_handle_exceptions.
70115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
70116         __Qp_handle_exceptions.
70117         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70118         as unused and give dummy FP_RND_NEAREST initializer.
70119         (FP_INHIBIT_RESULTS): Define.
70120         (___Q_simulate_exceptions): Update declaration.
70121         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
70122         formatting.
70123         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70124         as unused and give dummy FP_RND_NEAREST initializer.
70125         (__Qp_handle_exceptions): Update declaration.
70126         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
70127         formatting.
70129 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
70131         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
70132         the temporary FPU control word.
70133         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
70134         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
70135         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
70136         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70137         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
70138         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
70139         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
70140         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70141         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
70142         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
70143         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70145 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70147         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70148         fields.
70150 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
70152         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70153         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70154         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70155         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70156         Likewise.
70157         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70158         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70159         Likewise.
70161 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
70163         * po/h.po: Update from translation team.
70165 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
70167         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70169         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70170         handling of denormals.
70171         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70172         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70173         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70174         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70175         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70176         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70177         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70178         Likewise.
70180 2012-05-26  Marek Polacek  <polacek@redhat.com>
70182         [BZ #14152]
70183         * math/libm-test.inc (fma_test): Don't always expect underflow
70184         exception.
70186 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70188         [BZ #12416]
70189         * elf/tst-execstack.c: Include stackinfo.h.
70190         (do_test): Adjust test case to ensure that pthread_getattr_np
70191         behaviour remains the same after marking stack executable.
70193 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70195         * sysdeps/unix/sysv/linux/kernel-features.h
70196         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70197         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70198         kernel-features.h.
70199         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70200         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70201         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70202         kernel-features.h.
70203         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70204         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70206 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
70208         * configure.in: Define the default includes to being none.
70209         * configure: Regenerated.
70211 2012-05-25  Roland McGrath  <roland@hack.frob.com>
70213         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70214         * sysdeps/x86_64/setjmp.S: Likewise.
70215         * sysdeps/i386/bsd-setjmp.S: Likewise.
70216         * sysdeps/i386/bsd-_setjmp.S: Likewise.
70217         * sysdeps/i386/setjmp.S: Likewise.
70218         * sysdeps/i386/__longjmp.S: Likewise.
70219         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70220         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70222         * include/stap-probe.h: New file.
70223         * configure.in: Handle --enable-systemtap.
70224         * configure: Regenerated.
70225         * config.h.in (USE_STAP_PROBE): New #undef.
70226         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70227         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70228         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70230 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70232         [BZ #13717]
70233         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70234         to 2.4.0 where earlier.
70235         * sysdeps/unix/sysv/linux/configure: Regenerated.
70236         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70237         <kernel-features.h>.
70238         [__ASSUME_32BITUIDS]: Make code unconditional.
70239         [!__ASSUME_32BITUIDS]: Remove conditional code.
70240         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
70241         <kernel-features.h>.
70242         [__ASSUME_32BITUIDS]: Make code unconditional.
70243         [!__ASSUME_32BITUIDS]: Remove conditional code.
70244         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
70245         [__ASSUME_32BITUIDS]: Make code unconditional.
70246         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70247         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70248         <kernel-features.h>.
70249         [__ASSUME_32BITUIDS]: Make code unconditional.
70250         [!__ASSUME_32BITUIDS]: Remove conditional code.
70251         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70252         <kernel-features.h>.
70253         [__ASSUME_32BITUIDS]: Make code unconditional.
70254         [!__ASSUME_32BITUIDS]: Remove conditional code.
70255         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70256         <kernel-features.h>.
70257         [__ASSUME_32BITUIDS]: Make code unconditional.
70258         [!__ASSUME_32BITUIDS]: Remove conditional code.
70259         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70260         <kernel-features.h>.
70261         [__ASSUME_32BITUIDS]: Make code unconditional.
70262         [!__ASSUME_32BITUIDS]: Remove conditional code.
70263         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70264         <kernel-features.h>.
70265         [__ASSUME_32BITUIDS]: Make code unconditional.
70266         [!__ASSUME_32BITUIDS]: Remove conditional code.
70267         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70268         <kernel-features.h>.
70269         [__ASSUME_32BITUIDS]: Make code unconditional.
70270         [!__ASSUME_32BITUIDS]: Remove conditional code.
70271         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70272         <kernel-features.h>.
70273         [__ASSUME_32BITUIDS]: Make code unconditional.
70274         [!__ASSUME_32BITUIDS]: Remove conditional code.
70275         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70276         <kernel-features.h>.
70277         [__ASSUME_32BITUIDS]: Make code unconditional.
70278         [!__ASSUME_32BITUIDS]: Remove conditional code.
70279         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70280         <kernel-features.h>.
70281         [__ASSUME_32BITUIDS]: Make code unconditional.
70282         [!__ASSUME_32BITUIDS]: Remove conditional code.
70283         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70284         <kernel-features.h>.
70285         [__ASSUME_32BITUIDS]: Make code unconditional.
70286         [!__ASSUME_32BITUIDS]: Remove conditional code.
70287         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70288         <kernel-features.h>.
70289         [__NR_setresgid] (__setresgid): Do not declare.
70290         [__ASSUME_32BITUIDS]: Make code unconditional.
70291         [!__ASSUME_32BITUIDS]: Remove conditional code.
70292         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70293         <kernel-features.h>.
70294         [__NR_setresuid] (__setresuid): Do not declare.
70295         [__ASSUME_32BITUIDS]: Make code unconditional.
70296         [!__ASSUME_32BITUIDS]: Remove conditional code.
70297         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70298         <kernel-features.h>.
70299         [__ASSUME_32BITUIDS]: Make code unconditional.
70300         [!__ASSUME_32BITUIDS]: Remove conditional code.
70301         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70302         <kernel-features.h>.
70303         [__ASSUME_32BITUIDS]: Make code unconditional.
70304         [!__ASSUME_32BITUIDS]: Remove conditional code.
70305         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70306         <kernel-features.h>.
70307         [__ASSUME_32BITUIDS]: Make code unconditional.
70308         [!__ASSUME_32BITUIDS]: Remove conditional code.
70309         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70310         <kernel-features.h>.
70311         [__ASSUME_32BITUIDS]: Make code unconditional.
70312         [!__ASSUME_32BITUIDS]: Remove conditional code.
70313         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70314         <kernel-features.h>.
70315         [__ASSUME_32BITUIDS]: Make code unconditional.
70316         [!__ASSUME_32BITUIDS]: Remove conditional code.
70317         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70318         <kernel-features.h>.
70319         [__ASSUME_32BITUIDS]: Make code unconditional.
70320         [!__ASSUME_32BITUIDS]: Remove conditional code.
70321         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70322         <kernel-features.h>.
70323         [__ASSUME_32BITUIDS]: Make code unconditional.
70324         [!__ASSUME_32BITUIDS]: Remove conditional code.
70325         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70326         <kernel-features.h>.
70327         [__ASSUME_32BITUIDS]: Make code unconditional.
70328         [!__ASSUME_32BITUIDS]: Remove conditional code.
70329         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70330         <kernel-features.h>.
70331         [__ASSUME_32BITUIDS]: Make code unconditional.
70332         [!__ASSUME_32BITUIDS]: Remove conditional code.
70333         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70334         <kernel-features.h>.
70335         [__ASSUME_32BITUIDS]: Make code unconditional.
70336         [!__ASSUME_32BITUIDS]: Remove conditional code.
70337         * sysdeps/unix/sysv/linux/kernel-features.h
70338         (__ASSUME_SETRESUID_SYSCALL): Remove.
70339         (__ASSUME_SETRESGID_SYSCALL): Likewise.
70340         (__ASSUME_32BITUIDS): Likewise.
70341         (__ASSUME_LDT_WORKS): Likewise.
70342         (__ASSUME_O_DIRECTORY): Likewise.
70343         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70344         architecture but not kernel version.
70345         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70346         (__ASSUME_MMAP2_SYSCALL): Likewise.
70347         (__ASSUME_STAT64_SYSCALL): Likewise.
70348         (__ASSUME_IPC64): Likewise.
70349         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70350         <kernel-features.h>.
70351         [__ASSUME_32BITUIDS]: Make code unconditional.
70352         [!__ASSUME_32BITUIDS]: Remove conditional code.
70353         * sysdeps/unix/sysv/linux/opendir.c: Do not include
70354         <kernel-features.h>.
70355         [__ASSUME_O_DIRECTORY]: Make code unconditional.
70356         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70357         132096]: Remove conditional code.
70358         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70359         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70360         <kernel-features.h>.
70361         [__ASSUME_32BITUIDS]: Make code unconditional.
70362         [!__ASSUME_32BITUIDS]: Remove conditional code.
70363         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70364         <kernel-features.h>.
70365         [__ASSUME_32BITUIDS]: Make code unconditional.
70366         [!__ASSUME_32BITUIDS]: Remove conditional code.
70367         * sysdeps/unix/sysv/linux/setegid.c: Do not include
70368         <kernel-features.h>.
70369         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70370         unconditional.
70371         (__setresgid): Do not declare.
70372         [__ASSUME_32BITUIDS]: Make code unconditional.
70373         [!__ASSUME_32BITUIDS]: Remove conditional code.
70374         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70375         <kernel-features.h>.
70376         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70377         unconditional.
70378         (__setresuid): Do not declare.
70379         [__ASSUME_32BITUIDS]: Make code unconditional.
70380         [!__ASSUME_32BITUIDS]: Remove conditional code.
70381         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70382         <kernel-features.h>.
70383         [__ASSUME_32BITUIDS]: Make code unconditional.
70384         [!__ASSUME_32BITUIDS]: Remove conditional code.
70385         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70386         <kernel-features.h>.
70387         [__ASSUME_32BITUIDS]: Make code unconditional.
70388         [!__ASSUME_32BITUIDS]: Remove conditional code.
70390 2012-05-25  Richard Henderson  <rth@twiddle.net>
70392         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70393         dl_hwcap to ifunc resolver.
70394         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70395         elf_ifunc_invoke.
70396         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70397         dl_hwcap to ifunc resolver.
70398         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70400 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70402         [BZ #14153]
70403         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70404         for |x| <= 2**-26, not 2**-57.
70405         * math/libm-test.inc (acos_test): Do not allow spurious underflow
70406         exception.
70408 2012-05-24  Jeff Law  <law@redhat.com>
70410         * stdio-common/Makefile (tests): Add bug25.
70411         * stdio-common/bug25.c: New test.
70413 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70415         [BZ #13576]
70416         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70417         multiple of MALLOC_ALIGNMENT in size.
70418         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70420 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70422         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70423         Require >= 256.
70424         (FILENAME_MAX): Use macro-int-constant.
70425         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
70426         (_IOFBF): Use macro-int-constant.
70427         (_IOLBF): Likewise.
70428         (_IONBF): Likewise.
70429         (SEEK_CUR): Likewise.
70430         (SEEK_END): Likewise.
70431         (SEEK_SET): Likewise.
70432         (TMP_MAX): Likewise.
70433         (EOF): Use macro-int-constant.  Require < 0.
70434         (NULL): Use macro-constant.  Require == 0.
70435         (stdin): Require type to be FILE *.
70436         (stdout): Likewise.
70437         (stderr): Likewise.
70438         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70439         macro-int-constant.
70440         (EXIT_SUCCESS): Likewise.
70441         (NULL): Use macro-constant.  Require == 0.
70442         (RAND_MAX): Use macro-int-constant.
70443         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70444         [C99-based standards] (strtof): Require function.
70445         [C99-based standards] (strtold): Likewise.
70446         [C99-based standards] (strtoll): Likewise.
70447         [C99-based standards] (strtoull): Likewise.
70448         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70449         [ISO || ISO99 || ISO11] (limits.h): Likewise.
70450         [ISO || ISO99 || ISO11] (math.h): Likewise.
70451         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70452         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70453         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70455 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
70457         [BZ #14132]
70458         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70459         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70460         * intl/dgettext.c (DCGETTEXT): Likewise.
70461         * intl/gettext.c (DCGETTEXT): Likewise.
70462         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70463         * posix/regex_internal.h (gettext): Likewise.
70464         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70465         Remove declaration.
70466         * include/argz.h (__argz_count_internal)
70467         (__argz_stringify_internal): Remove declaration.
70468         (__argz_count, __argz_stringify): Declare hidden proto.
70469         * intl/dcgettext.c: Remove use of INTDEF.
70470         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70471         * string/argz-stringify.c: Likewise.
70472         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70473         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70474         Declare hidden proto.
70475         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70476         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70477         Declare hidden proto.
70478         * include/stdio.h (__asprintf_internal): Don't declare.
70479         (__asprintf): Don't define as macro.  Declare hidden proto.
70480         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70481         (__fsetlocking): Declare hidden proto.
70482         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70483         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70484         hidden proto.
70485         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70486         (_IO_setlinebuf): Remove use of INTUSE.
70487         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70488         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70489         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70490         Remove declaration.
70491         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70492         (_IO_do_flush): Remove use of INTUSE.
70493         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70494         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70495         (_IO_adjust_column, _IO_least_wmarker)
70496         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70497         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70498         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70499         (_IO_default_doallocate, _IO_wdefault_doallocate)
70500         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70501         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70502         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70503         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70504         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70505         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70506         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70507         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70508         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70509         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70510         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70511         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70512         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70513         proto.
70514         (_IO_flush_all_internal, _IO_adjust_column_internal)
70515         (_IO_default_uflow_internal, _IO_default_finish_internal)
70516         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70517         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70518         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70519         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70520         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70521         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70522         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70523         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70524         (_IO_file_close_internal, _IO_file_close_it_internal)
70525         (_IO_file_underflow_internal, _IO_file_overflow_internal)
70526         (_IO_file_init_internal, _IO_file_attach_internal)
70527         (_IO_file_fopen_internal, _IO_file_read_internal)
70528         (_IO_file_sync_internal, _IO_file_seek_internal)
70529         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70530         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70531         (_IO_str_underflow_internal, _IO_str_overflow_internal)
70532         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70533         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70534         (_IO_list_all_internal, _IO_link_in_internal)
70535         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70536         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70537         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70538         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70539         (_IO_do_write_internal, _IO_padn_internal)
70540         (_IO_getline_info_internal, _IO_getline_internal)
70541         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70542         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70543         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70544         (_IO_vfscanf_internal, _IO_vfprintf_internal)
70545         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70546         (_IO_init_internal, _IO_un_link_internal): Don't declare.
70547         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70548         with libc_hidden_ver, remove use of INTUSE.
70549         * libio/genops.c: Likewise.
70550         * libio/freopen.c: Likewise.
70551         * libio/freopen64.c: Likewise.
70552         * libio/iofclose.c: Likewise.
70553         * libio/iofdopen.c: Likewise.
70554         * libio/iofflush.c: Likewise.
70555         * libio/iofflush_u.c: Likewise.
70556         * libio/iofgets.c: Likewise.
70557         * libio/iofgets_u.c: Likewise.
70558         * libio/iofopen.c: Likewise.
70559         * libio/iofopncook.c: Likewise.
70560         * libio/iofread.c: Likewise.
70561         * libio/iofread_u.c: Likewise.
70562         * libio/ioftell.c: Likewise.
70563         * libio/iofwrite.c: Likewise.
70564         * libio/iogetline.c: Likewise.
70565         * libio/iogets.c: Likewise.
70566         * libio/iogetwline.c: Likewise.
70567         * libio/iopadn.c: Likewise.
70568         * libio/iopopen.c: Likewise.
70569         * libio/ioseekoff.c: Likewise.
70570         * libio/ioseekpos.c: Likewise.
70571         * libio/iosetbuffer.c: Likewise.
70572         * libio/iosetvbuf.c: Likewise.
70573         * libio/ioungetc.c: Likewise.
70574         * libio/ioungetwc.c: Likewise.
70575         * libio/iovdprintf.c: Likewise.
70576         * libio/iovsprintf.c: Likewise.
70577         * libio/iovsscanf.c: Likewise.
70578         * libio/memstream.c: Likewise.
70579         * libio/obprintf.c: Likewise.
70580         * libio/oldfileops.c: Likewise.
70581         * libio/oldiofclose.c: Likewise.
70582         * libio/oldiofdopen.c: Likewise.
70583         * libio/oldiofopen.c: Likewise.
70584         * libio/oldiopopen.c: Likewise.
70585         * libio/oldstdfiles.c: Likewise.
70586         * libio/putc.c: Likewise.
70587         * libio/setbuf.c: Likewise.
70588         * libio/setlinebuf.c: Likewise.
70589         * libio/stdfiles.c: Likewise.
70590         * libio/strops.c: Likewise.
70591         * libio/vasprintf.c: Likewise.
70592         * libio/vscanf.c: Likewise.
70593         * libio/vsnprintf.c: Likewise.
70594         * libio/vswprintf.c: Likewise.
70595         * libio/wfiledoalloc.c: Likewise.
70596         * libio/wfileops.c: Likewise.
70597         * libio/wgenops.c: Likewise.
70598         * libio/wmemstream.c: Likewise.
70599         * libio/wstrops.c: Likewise.
70600         * libio/__fpurge.c: Likewise.
70601         * libio/__fsetlocking.c: Likewise.
70602         * assert/assert.c: Likewise.
70603         * debug/fgets_chk.c: Likewise.
70604         * debug/fgets_u_chk.c: Likewise.
70605         * debug/fread_chk.c: Likewise.
70606         * debug/fread_u_chk.c: Likewise.
70607         * debug/gets_chk.c: Likewise.
70608         * debug/obprintf_chk.c: Likewise.
70609         * debug/vasprintf_chk.c: Likewise.
70610         * debug/vdprintf_chk.c: Likewise.
70611         * debug/vsnprintf_chk.c: Likewise.
70612         * debug/vsprintf_chk.c: Likewise.
70613         * malloc/mtrace.c: Likewise.
70614         * misc/error.c: Likewise.
70615         * misc/syslog.c: Likewise.
70616         * stdio-common/asprintf.c: Likewise.
70617         * stdio-common/fxprintf.c: Likewise.
70618         * stdio-common/getw.c: Likewise.
70619         * stdio-common/isoc99_fscanf.c: Likewise.
70620         * stdio-common/isoc99_scanf.c: Likewise.
70621         * stdio-common/isoc99_vfscanf.c: Likewise.
70622         * stdio-common/isoc99_vscanf.c: Likewise.
70623         * stdio-common/isoc99_vsscanf.c: Likewise.
70624         * stdio-common/printf-prs.c: Likewise.
70625         * stdio-common/printf_fp.c: Likewise.
70626         * stdio-common/printf_fphex.c: Likewise.
70627         * stdio-common/printf_size.c: Likewise.
70628         * stdio-common/putw.c: Likewise.
70629         * stdio-common/scanf.c: Likewise.
70630         * stdio-common/sprintf.c: Likewise.
70631         * stdio-common/tmpfile.c: Likewise.
70632         * stdio-common/vfprintf.c: Likewise.
70633         * stdio-common/vfscanf.c: Likewise.
70634         * stdlib/strfmon_l.c: Likewise.
70635         * sunrpc/openchild.c: Likewise.
70636         * sunrpc/xdr_stdio.c: Likewise.
70637         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70638         * sysdeps/mach/hurd/tmpfile.c: Likewise.
70640 2012-05-24  Roland McGrath  <roland@hack.frob.com>
70642         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70644         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70645         in the third column, to generate for the shared library an IFUNC
70646         that uses _dl_vdso_vsym.
70647         * Makerules (COMPILE.c, compile-stdin.c): New variables.
70648         * Makeconfig (object-suffixes-noshared): New variable.
70650         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70651         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70652         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70653         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70655         [BZ #14132]
70656         * include/sys/time.h (__gettimeofday): Remove macro.
70657         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70658         * time/gettimeofday.c (__gettimeofday): Remove #undef.
70659         Remove INTDEF.
70660         (__gettimeofday): Add libc_hidden_def.
70661         (gettimeofday): Add libc_hidden_weak.
70662         * sysdeps/mach/gettimeofday.c: Likewise.
70663         * sysdeps/posix/gettimeofday.c: Likewise.
70664         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70665         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70666         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70667         (__gettimeofday_internal): Remove strong_alias.
70668         (__gettimeofday): Add libc_hidden_def.
70669         (gettimeofday): Add libc_hidden_weak.
70670         * sysdeps/unix/syscalls.list (gettimeofday):
70671         Remove __gettimeofday_internal alias.
70673 2012-05-24  Daniel Jacobowitz  <drow@false.org>
70674             H.J. Lu  <hongjiu.lu@intel.com>
70676         [BZ #12495]
70677         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70678         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70679         (largebin_index_32_big): New.
70680         (largebin_index): Use it for 16-byte alignment.
70681         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
70682         correction with front_misalign.
70684 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70688         Likewise.
70689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70690         Likewise.
70691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70692         Likewise.
70693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70694         Likewise.
70695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70696         Likewise.
70697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70698         Likewise.
70699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70700         Likewise.
70701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70702         Likewise.
70703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70704         Likewise.
70705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70706         Likewise.
70707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70708         Likewise.
70709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70710         Likewise.
70712         * scripts/data/c++-types-x32-linux-gnu.data: New file.
70713         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70715 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70717         [BZ #10846]
70718         [BZ #14036]
70719         * math/libm-test.inc (exp_test): Add test from bug 14036.
70720         (pow_test): Add test from bug 10846.
70722         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70723         and other flags.
70724         (special_function): Do not include flags in test name.
70725         (parse_args): Likewise.
70726         * sysdeps/i386/fpu/libm-test-ulps: Update.
70727         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70728         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70729         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70732         * math/gen-libm-test.pl (%beautify): Add entries for underflow
70733         exceptions.
70734         * math/libm-test.inc ("Philosophy"): Update comment about
70735         exception testing.
70736         (UNDERFLOW_EXCEPTION): New macro.
70737         (UNDERFLOW_EXCEPTION_OK): Likewise.
70738         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70739         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70740         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70741         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70742         (INVALID_EXCEPTION_OK): Update value.
70743         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70744         (OVERFLOW_EXCEPTION_OK): Likewise.
70745         (IGNORE_ZERO_INF_SIGN): Likewise.
70746         (test_exceptions): Handle underflow exceptions.
70747         (acos_test): Update for underflow exception expectations.
70748         (cexp_test): Likewise.
70749         (clog_test): Likewise.
70750         (clog10_test): Likewise.
70751         (csqrt_test): Likewise.
70752         (ctan_test): Likewise.
70753         (ctanh_test): Likewise.
70754         (exp_test): Likewise.
70755         (exp10_test): Likewise.
70756         (exp2_test): Likewise.
70757         (expm1_test): Likewise.
70758         (fma_test): Likewise.
70759         (j0_test): Likewise.
70760         (jn_test): Likewise.
70761         (nexttoward_test): Likewise.
70762         (pow_test): Likewise.
70763         (scalbn_test): Likewise.
70764         (scalbln_test): Likewise.
70765         (tan_test): Likewise.
70766         (y1_test): Likewise.
70767         * sysdeps/i386/fpu/libm-test-ulps: Update.
70768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70770 2012-05-23  David S. Miller  <davem@davemloft.net>
70772         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70773         (__libc_sigaction): Remove unused local variables.
70775 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70777         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70779 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
70781         mktime: avoid signed integer overflow
70782         * time/mktime.c (__mktime_internal): Do not mishandle the case
70783         where diff == INT_MIN.
70785         mktime: simplify computation of average
70786         * time/mktime.c (ranged_convert): Use new time_t_avg function
70787         instead of rolling our own (probably-slower) code.
70789         mktime: do not assume signed right shift propagates sign bit
70790         * time/mktime.c (isdst_differ): New static function.
70791         (__mktime_internal): No need to normalize tm_isdst now.
70792         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70793         tm_isdst values.
70795         mktime: merge another wrapv change from gnulib
70796         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70797         from some compilers.
70799         mktime: remove incorrect attempt at unusual arithmetics
70800         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70801         The code didn't really work on such machines anyway.
70802         (TYPE_MINIMUM): Assume two's complement.
70803         (twos_complement_arithmetic): Verify that long_int and time_t
70804         are two's complement (or unsigned, in the latter case).
70806         mktime: check signed shifts on long_int and time_t, too
70807         * time/mktime.c (SHR): Check that shifts work as desired
70808         on the types long_int and time_t too, as SHR is used on
70809         such types.
70811         mktime: do not assume 'long' is wide enough
70812         * time/mktime.c (verify): Move decl up.
70813         (long_int): New type.
70814         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70815         to remove assumption in the code that 'long' is wide enough to
70816         store year values.  This assumption is not true on x32 and on
70817         some non-glibc platforms.
70819         mktime: merge wrapv change from gnulib
70820         * time/mktime.c (WRAPV): New macro.
70821         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70822         (guess_time_tm, __mktime_internal): Do not assume that signed
70823         integer overflow wraps around; modern compilers generate code
70824         where this assumption is no longer valid.
70826 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70828         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70829         Replace "jmp L(pseudo_end)" with "ret".
70830         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70831         Likewise.
70833 2012-05-23  Andreas Jaeger  <aj@suse.de>
70835         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70836         * sysdeps/unix/sysv/linux/poll.c: Remove file.
70838 2012-05-23  Andreas Jaeger  <aj@suse.de>
70839             Maximilian Attems  <max@stro.at>
70841         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70842         New macros.
70844 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70846         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70847         code so that pseudo_end is just ret and the stack pointer is
70848         correct also for static library in error case.
70850 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
70852         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70853         move to syscalls.list.
70854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70859         * manual/install.texi (Running make install): Do not mention Linux
70860         kernel version for which pt_chown is not needed.
70861         (Linux): Do not mention problems with nscd with 2.0 kernels.
70862         * INSTALL: Regenerated.
70864 2012-05-23  Andreas Jaeger  <aj@suse.de>
70866         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70867         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70868         macro.
70869         * sysdeps/unix/sysv/linux/s390/bits/mman.h
70870         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70871         * sysdeps/unix/sysv/linux/sh/bits/mman.h
70872         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70873         * sysdeps/unix/sysv/linux/i386/bits/mman.h
70874         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70875         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70876         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70877         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70878         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70879         * sysdeps/unix/sysv/linux/bits/in.h
70880         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70882 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70884         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70885         (PREPARE_VERSION): Just use assert instead, it will be elided
70886         under [NDEBUG] anyway.
70888 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70890         * sysdeps/unix/sysv/linux/Makefile: Include
70891         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70892         (sysdep_routines): Remove sysctl.
70893         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70894         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70895         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70896         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70897         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70899 2012-05-22  Andreas Jaeger  <aj@suse.de>
70901         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70902         that pseudo_end is just ret and the stack pointer is correct also
70903         for static library in error case.
70905 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
70907         [BZ #14122]
70908         * nss/nsswitch.c (defconfig_entries): New variable.
70909         (__nss_database_lookup): Don't leak defconfig entries.
70910         (nss_parse_service_list): Don't leak on error paths.
70911         (free_database_entries): New function.
70912         (free_defconfig): New function.
70913         (free_mem): Move common code to free_database_entries.
70915 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70917         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70918         Add arch_prctl.
70919         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70921         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70922         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70923         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70924         New macro.
70925         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70926         (INTERNAL_SYSCALL_TYPES): Likewise.
70927         (LOAD_ARGS_TYPES_[1-6]): Likewise.
70928         (LOAD_REGS_TYPES_[1-6]): Likewise.
70929         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70930         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70932 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70934         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70935         copysignl for GLIBC_2_0.
70936         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70937         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70938         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70939         logbl for GLIBC_2_0.
70940         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70941         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70943 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70945         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70946         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70948         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70949         Use "neg %eax".
70951         * time/mktime.c: Update copyright years.
70953 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
70955         mktime: merge comment-quoting-style change from gnulib
70956         * time/mktime.c: Quote 'like this' in comments.
70957         The GNU coding standards suggest that we no longer quote `like this',
70958         as "`" and "'" are typically rendered asymmetrically nowadays.
70959         The typical gnulib style is to quote 'like this' when quoting
70960         code, and "like this" when quoting English.
70962         * time/mktime.c (compile-command): Add "-I.".
70964         mktime: merge mktime-internal.h change from gnulib
70965         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70967         mktime: merge time_r change from gnulib
70968         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70970         mktime: merge DEBUG change from gnulib
70971         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70972         case system <time.h> has a #define.
70974         mktime: merge <sys/types.h> change from gnulib
70975         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70976         since <time.t> is now guaranteed to define time_t.
70978         mktime: merge HAVE_CONFIG_H change from gnulib
70979         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70981 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70984         Use "neg %eax".
70986         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70987         __rlim_t cast.
70988         (struct rusage): Use anonymous union to pad each field to
70989         __syscall_slong_t.
70991 2012-05-21  David S. Miller  <davem@davemloft.net>
70993         * Makefules (o-iterator): Remove .s cases.
70994         (compile-command.s): Delete.
70995         (COMPILE.s): Delete.
70996         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70998 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
71000         * configure.in (libc_cv_predef_stack_protector): Only consider
71001         "foobar" and "__stack_chk_fail" lines in libc_undefs.
71002         * configure: Regenerated.
71004 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71006         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71007         New macro.  Use R*LP on int and pointer.
71008         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
71009         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
71010         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
71011         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
71013         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
71014         [__WORDSIZE_TIME64_COMPAT32] instead of
71015         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
71016         (struct utmp): Likewise.
71017         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
71018         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71019         Renamed to ...
71020         (__WORDSIZE_TIME64_COMPAT32): This.
71021         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
71022         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71023         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
71024         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
71025         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
71026         (__WORDSIZE_TIME64_COMPAT32): New macro.
71028 2012-05-21  Andreas Jaeger  <aj@suse.de>
71030         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
71031         only if [SHARED]. Add prototype for __wcschr_ia32.
71033 2012-05-21  Roland McGrath  <roland@hack.frob.com>
71035         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
71036         of %rbp unmolested in the jmp_buf while mangling the low bits.
71037         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71038         unmolested high bits of %rbp while demangling the low bits.
71039         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71041 2012-05-21  Andreas Jaeger  <aj@suse.de>
71043         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
71044         * sunrpc/svc_simple.c: Use it for registerrpc.
71045         * sunrpc/xcrypt.c: Use it for passwd2des.
71047         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
71049 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71051         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
71052         Don't define if [__SYSCALL_WORDSIZE != 32].
71053         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
71054         New macro.
71056 2012-05-21  Bruno Haible  <bruno@clisp.org>
71057             Andreas Jaeger  <aj@suse.de>
71059         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
71060         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
71061         inptr and inend for must_buffer_ch.
71062         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
71063         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
71064         * stdio-common/Makefile (tests): Remove bug15.
71065         (bug15-ENV): Remove macro.
71066         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
71067         anymore.
71069 2012-05-19  Andreas Jaeger  <aj@suse.de>
71070             Roland McGrath  <roland@hack.frob.com>
71072         * manual/contrib.texi: Completely rewritten. It contains now an
71073         alphabetical list of contributors and their contributions.
71075 2012-05-21  Richard Henderson  <rth@twiddle.net>
71077         * misc/getauxval.c (__getauxval): Use unsigned long int.
71078         * misc/sys/auxv.h: Include <sys/cdefs.h>.
71079         (getauxval): Use unsigned long int.
71081 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71083         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71085 2012-05-21  Roland McGrath  <roland@hack.frob.com>
71087         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
71088         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
71089         __alignof__ (long double).
71091 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71095 2012-05-20  Richard Henderson  <rth@twiddle.net>
71097         * misc/getauxval.c: New file.
71098         * misc/sys/auxv.h: New file.
71099         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
71100         (routines): Add getauxval.
71101         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
71102         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71103         * elf/dl-sysdep.c (_dl_auxv): Remove.
71104         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
71105         * elf/dl-support.c (_dl_auxv): New variable.
71106         (_dl_aux_init): Initialize it.
71107         * manual/startup.texi (Auxiliary Vector): New node.
71108         * sysdeps/generic/bits/hwcap.h: New file.
71109         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
71110         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
71111         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
71112         * sysdeps/sparc/sysdep.h: ... here.  Include it.
71113         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
71114         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
71115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71116         Update.
71117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
71118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
71119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
71120         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
71121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
71124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
71126 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71130 2012-05-19  David S. Miller  <davem@davemloft.net>
71132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71134 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71136         [BZ #14123]
71137         * math/s_ccosh.c: Include <float.h>
71138         (__ccosh): Avoid internal overflow calculating sinh and cosh
71139         values before multiplying by sin and cos values.
71140         * math/s_ccoshf.c: Likewise.
71141         * math/s_ccoshl.c: Likewise.
71142         * math/s_csin.c: Likewise.
71143         * math/s_csinf.c: Likewise.
71144         * math/s_csinl.c: Likewise.
71145         * math/s_csinh.c: Likewise.
71146         * math/s_csinhf.c: Likewise.
71147         * math/s_csinhl.c: Likewise.
71148         * math/libm-test.inc (ccos_test): Add more tests.
71149         (ccosh_test): Likewise.
71150         (csin_test): Likewise.
71151         (csinh_test): Likewise.
71152         * sysdeps/i386/fpu/libm-test-ulps: Update.
71153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71155 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
71157         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71158         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71160         * sysdeps/x86_64/x32/_itoa.h: Add comment.
71162 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71164         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71165         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71166         * sysdeps/powerpc/soft-fp/Versions: Likewise.
71167         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71168         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71169         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71170         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71171         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71172         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71173         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71174         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71175         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71176         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71177         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71178         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71179         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71180         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71181         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71182         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71183         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71184         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71185         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71186         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71187         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71188         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71189         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71190         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71191         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71192         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71193         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71194         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71196 2012-05-18  Andreas Jaeger  <aj@suse.de>
71198         * csu/.gitignore: Delete.
71200 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71202         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71203         (timex): Use __syscall_slong_t.
71205 2012-05-18  Andreas Jaeger  <aj@suse.de>
71206             Carlos O'Donell  <carlos_odonell@mentor.com>
71208         * manual/install.texi (Configuring and compiling): Update
71209         description about files modified in the source directory.
71210         * INSTALL: Regenerated.
71212 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71214         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71215         value.  Use "or" to set return value to -1.
71216         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71217         negate return value.
71219 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71221         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71222         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71223         failure if the compiler has Graphite support disabled.
71224         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71225         Likewise.
71226         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71227         (CFLAGS-memmove.c): Likewise.
71228         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71229         Likewise.
71231 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71233         * sysdeps/x86_64/x32/_itoa.h: New file.
71235         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71236         getdents system call only if kernel and user dirents have the
71237         same d_ino and d_off.
71239         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71240         LLONG_MAX != LONG_MAX.
71241         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71242         (_fitoa_word): Likewise.
71244         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71245         years.
71246         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71247         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71248         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71250         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71251         include <bits/wordsize.h>.  Check __x86_64__ instead of
71252         __WORDSIZE.
71253         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71254         if __x86_64__ is defined.  Use anonymous union on fpstate.
71256         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71257         anonymous union.
71259 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
71261         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71262         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71263         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71264         Refer to _rtld_local_ro instead of _rtld_global_ro.
71265         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71266         Likewise.
71267         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71268         Likewise.
71269         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71270         Likewise.
71271         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71272         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71273         of _rtld_global, and rtld_progname instead of _dl_argv[0].
71275         [BZ #10882]
71276         * sysdeps/powerpc/powerpc32/dl-machine.c
71277         (__elf_machine_runtime_setup) [PROF]: Don't reference
71278         _dl_prof_resolve.
71280 2012-05-18  Andreas Jaeger  <aj@suse.de>
71282         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71283         function only available for GCCs before 3.4 since GCC 3.4
71284         introduced a builtin.
71285         (lrint): Likewise.
71286         (llrintf): Likewise.
71287         (llrint): Likewise.
71288         (fmaxf): Likewise.
71289         (fmax): Likewise.
71290         (fminf): Likewise.
71291         (fmin): Likewise.
71292         (rint): Likewise.
71293         (rintf): Likewise.
71294         (nearbyint): Likewise.
71295         (nearbyintf): Likewise.
71296         (ceil): Likewise.
71297         (ceilf): Likewise.
71298         (floor): Likewise.
71299         (floorf): Likewise.
71301 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71303         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71304         on both fields and cast pointer to __syscall_ulong_t.
71306         * bits/types.h (__fsword_t): New type.
71307         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71308         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71309         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71310         (__FSWORD_T_TYPE): Likewise.
71311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71312         (__FSWORD_T_TYPE): Likewise.
71313         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71314         (__FSWORD_T_TYPE): Likewise.
71315         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71316         (__FSWORD_T_TYPE): Likewise.
71317         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71318         __SWORD_TYPE with __fsword_t.
71319         (statfs64): Likewise.
71321 2012-05-17  David S. Miller  <davem@davemloft.net>
71323         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71325 2012-05-17  Andreas Jaeger  <aj@suse.de>
71327         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71328         warning.
71330 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71332         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71334 2012-05-17  Andreas Jaeger  <aj@suse.de>
71336         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71337         when it is used.
71339 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71341         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71343 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71345         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71346         * sysdeps/x86_64/tst-mallocalign1.c: New file.
71348 2012-05-17  Andreas Jaeger  <aj@suse.de>
71349             Carlos O'Donell  <carlos_odonell@mentor.com>
71351         [BZ #14059]
71352         * sysdeps/x86_64/multiarch/init-arch.h
71353         (bit_YMM_Usable): Rename to...
71354         (bit_AVX_Usable): ... this.
71355         (bit_FMA4_Usable): New macro.
71356         (bit_XMM_state): New macro.
71357         (bit_YMM_state): New macro.
71358         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71359         [__ASSEMBLER__] (index_AVX_Usable): ... this.
71360         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71361         (CPUID_OSXSAVE): New macro.
71362         (CPUID_AVX): New macro.
71363         (CPUID_FMA4): New macro.
71364         (index_YMM_Usable): Rename to...
71365         (index_AVX_Usable): ... this.
71366         (HAS_AVX): Use HAS_ARCH_FEATURE.
71367         (HAS_FMA4): Likewise.
71368         (HAS_YMM_USABLE): Remove.
71369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71370         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71371         are present.
71372         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71373         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71374         * sysdeps/x86_64/multiarch/Makefile: Likewise.
71375         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71376         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71378 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71380         * math/libm-test.c: Support platforms without multiple rounding modes.
71381         * math/bug-nextafter.c: Support platforms without FP exceptions.
71382         * math/bug-nexttoward.c: Likewise.
71383         * math/test-fenv.c: Likewise.
71384         * math/test-misc.c: Likewise.
71385         * stdlib/bug-getcontext.c: Likewise.
71387 2012-05-17  Andreas Jaeger  <aj@suse.de>
71389         * manual/examples/search.c (critter_cmp): Change signature to
71390         avoid warnings.
71391         * manual/string.texi (Collation Functions): Likewise.
71393 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71395         * bits/types.h: Fold copyright years.
71396         * bits/typesizes.h: Likewise.
71397         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71398         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71399         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71400         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71401         * time/time.h: Likewise.
71403 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
71405         [BZ #208]
71406         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71407         in instead of returning them.  Return void.
71408         (__libc_mallinfo): Accumulate over all arenas.
71409         (__malloc_stats): Adjust for change in int_mallinfo interface.
71411 2012-05-16  Roland McGrath  <roland@hack.frob.com>
71413         [BZ #10375]
71414         * configure.in (NM): Add AC_CHECK_TOOL for it.
71415         (libc_extra_cflags): New substituted variable.
71416         Check for -fstack-protector being used implicitly.
71417         * configure: Regenerated.
71418         * config.make.in (config-extra-cflags): New variable,
71419         gets @libc_extra_cflags@.
71420         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71422         [BZ #10375]
71423         * configure.in: Check for _FORTIFY_SOURCE being predefined.
71424         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71425         * configure: Regenerated.
71426         * config.make.in (CPPUNDEFS): New substituted variable.
71427         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71428         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71429         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71431 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71433         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71434         (mq_attr): Use __syscall_slong_t.
71436 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71438         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71439         Check __x86_64__ instead of __WORDSIZE.
71440         (_STAT_VER_LINUX): Likewise.
71441         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
71442         __syscall_ulong_t and __syscall_slong_t.
71443         (stat64): Likewise.
71445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71447         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71449 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71451         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71453 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71455         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71456         __syscall_ulong_t.
71458         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71459         include <bits/wordsize.h>.  Check __x86_64__ instead of
71460         __WORDSIZE.
71461         (greg_t): Use "__extension__ long long int" if __x86_64__ is
71462         defined.
71463         (mcontext_t): Replace "unsigned long" with "unsigned long long".
71465         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71466         include <bits/wordsize.h>.  Check __x86_64__ instead of
71467         __WORDSIZE.
71468         (user_regs_struct): Use "__extension__ unsigned long long"
71469         instead of "unsigned long" if __x86_64__ is defined.
71470         (user): Likewise.  Pad after pointer field if __ILP32__ is
71471         defined.
71473 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
71475         * configure.in (makeinfo): Require version 4.5 or later.  Allow
71476         versions 5 to 9.
71477         * configure: Regenerated.
71478         * manual/install.texi (texinfo): Increase version requirement to
71479         4.5 or later.
71480         * INSTALL: Regenerated.
71482         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71484 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71486         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71488         * sysdeps/x86_64/x32/ffs.c: New file.
71490         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71491         __syscall_ulong_t.
71492         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71493         defined.  Use __syscall_ulong_t.
71494         (shminfo): Use __syscall_ulong_t.
71495         (shm_info): Likewise.
71497         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71498         __syscall_ulong_t.
71500         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71501         <bits/wordsize.h>.
71502         (msgqnum_t): Use __syscall_ulong_t.
71503         (msglen_t): Likewise.
71504         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
71505         __syscall_ulong_t.
71507         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71508         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71510         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71512         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71513         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71515         * sysvipc/sys/msg.h (msgbuf): Replace long int with
71516         __syscall_slong_t.
71518         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71519         include <bits/wordsize.h>.  Check __x86_64__ instead of
71520         __WORDSIZE.
71522         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71523         "unsigned long long int" if __x86_64__ is defined.
71524         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71526         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71527         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71528         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71530         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71531         <stdint.h>.
71532         (GET_PC): Cast to uintptr_t first.
71533         (GET_FRAME): Likewise.
71534         (GET_STACK): Likewise.
71536         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71537         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71538         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71539         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71540         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71541         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71542         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71543         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71544         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71545         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71546         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71547         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71548         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71549         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71550         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71551         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71552         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71553         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71554         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71555         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71556         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71557         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71558         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71559         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71560         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71561         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71562         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71563         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71564         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71566 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
71568         * Makerules (+depfiles): Also collect depfiles from .oS in
71569         $(extra-objs).
71570         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71571         .oS, $(libnldbl-routines)).
71573         * Makerules (native-compile-mkdep-flags): Define.
71574         * sunrpc/Makefile (extra-objs): Add $(addprefix
71575         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71576         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71577         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
71578         calling $(make-target-directory).
71580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71582         * bits/types.h (__snseconds_t): Removed.
71583         * time/time.h (struct timespec): Replace __snseconds_t with
71584         __syscall_slong_t.
71585         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71586         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71587         Likewise.
71588         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71589         (__SNSECONDS_T_TYPE): Likewise.
71590         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71591         (__SNSECONDS_T_TYPE): Likewise.
71592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71593         (__SNSECONDS_T_TYPE): Likewise.
71595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71597         * sysdeps/mach/hurd/bits/typesizes.h
71598         (__SYSCALL_SLONG_TYPE): New macro.
71599         (__SYSCALL_ULONG_TYPE): Likewise.
71601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71603         * bits/types.h (__syscall_slong_t): New type.
71604         (__syscall_ulong_t): Likewise.
71606         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71607         (__SYSCALL_ULONG_TYPE): Likewise.
71608         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71609         (__SYSCALL_SLONG_TYPE): Likewise.
71610         (__SYSCALL_ULONG_TYPE): Likewise.
71611         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71612         (__SYSCALL_SLONG_TYPE): Likewise.
71613         (__SYSCALL_ULONG_TYPE): Likewise.
71614         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71615         (__SYSCALL_SLONG_TYPE): Likewise.
71616         (__SYSCALL_ULONG_TYPE): Likewise.
71618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71620         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71621         Add sigaltstack-offsets.sym.
71622         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71623         <sigaltstack-offsets.h>.
71624         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
71625         longjmp_msg pointer.
71626         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
71627         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71628         signal stack.
71629         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71631 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71633         * elf/stackguard-macros.h: Remove file.
71634         * sysdeps/generic/stackguard-macros.h: New file.
71635         * sysdeps/i386/stackguard-macros.h: Likewise.
71636         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71637         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71638         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71639         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71640         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71641         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71642         * sysdeps/x86_64/stackguard-macros.h: Likewise.
71643         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71644         <elf/stackguard-macros.h>.
71646         [BZ #14109]
71647         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71648         __aligned__ in attribute.
71649         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71650         (gregset_t): Likewise.
71652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71654         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71655         * sysdeps/x86_64/64/Implies-after: Here.  New file.
71656         * sysdeps/x86_64/x32/Implies-after: New file.
71658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71660         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71661         and access return value for _dl_profile_fixup.  Use R10_LP to
71662         load frame size.
71664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71666         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71670         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71671         * sysdeps/x86_64/x32/sysdep.h: New file.
71673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71675         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71676         * sysdeps/x86_64/setjmp.S: Likewise.
71678 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71680         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71681         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71682         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71683         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71684         remove unused global constant.
71686 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
71688         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71689         include of <not-cancel.h>.
71691 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71693         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71695 2012-05-15  Jeff Law  <law@redhat.com>
71696             Andreas Jaeger  <aj@suse.de>
71698         [BZ #13594]
71699         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71700         out from...
71701         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71702         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71703         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71704         code changing __hst_map_handle.map.
71706 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71708         * configure.in (sysnames): Look for Implies-before and Implies-after
71709         files.
71710         * configure: Regenerated.
71712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71714         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71715         8-byte data alignment with LP_SIZE alignment.
71717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71719         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71720         into R10_LP.
71722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71724         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71728         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71729         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71730         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71731         Likewise.
71732         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71734 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71736         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71737         (stackinfo_sub_sp): Likewise.
71739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71741         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71742         RAX_LP.
71744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71746         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71747         into R*_LP.
71749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71751         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71752         sizes into R*_LP.
71754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71756         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71760         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71761         into R11_LP and load __x86_64_shared_cache_size_half into
71762         R8_LP.
71764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71766         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71767         R8_LP.
71769 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71771         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71772         logb for POWER7.
71773         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71774         logbf for POWER7.
71775         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71776         logbl for POWER7.
71777         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71778         powerpc32/power7/fpu/s_logb.c via #include.
71779         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71780         powerpc32/power7/fpu/s_logbf.c via #include.
71781         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71782         powerpc32/power7/fpu/s_logbl.c via #include.
71784 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71786         * README.libm: Remove file.
71788 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71790         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71791         count for x32.  Use R*_LP and omit operand-size suffix.
71793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71795         * shlib-versions: Move x86_64-.*-linux.* entries to ...
71796         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
71797         * sysdeps/x86_64/x32/shlib-versions: New file.
71799 2012-05-14  Roland McGrath  <roland@hack.frob.com>
71801         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71802         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71803         Use _dl_fatal_printf instead.
71805 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71807         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71808         set if not set by the user.  Do not allow for being unset.
71809         * sysdeps/unix/sysv/linux/configure: Regenerated.
71811 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71813         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71814         the `q' suffix from lea and replace .quad with ASM_ADDR.
71816 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71819         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
71820         instead of $17.
71821         (PTR_DEMANGLE): Likewise.
71823 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71825         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71826         (LP_OP): Likewise.
71827         (ASM_ADDR): Likewise.
71828         (RAX_LP): Likewise.
71829         (RBP_LP): Likewise.
71830         (RBX_LP): Likewise.
71831         (RCX_LP): Likewise.
71832         (RDI_LP): Likewise.
71833         (RSI_LP): Likewise.
71834         (RSP_LP): Likewise.
71835         (R8_LP): Likewise.
71836         (R9_LP): Likewise.
71837         (R10_LP): Likewise.
71838         (R10_LP): Likewise.
71839         (R11_LP): Likewise.
71840         (R12_LP): Likewise.
71841         (R13_LP): Likewise.
71842         (R14_LP): Likewise.
71843         (R15_LP): Likewise.
71845 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71847         * sysdeps/x86_64/x32/dl-machine.h: New file.
71849 2012-05-14  Andreas Jaeger  <aj@suse.de>
71851         * manual/Makefile (subdir): Remove export of subdir.
71852         (all): Remove target.
71853         (.PHONY): Remove all from list.
71854         (mkinstalldirs): Remove.
71855         (.PHONY): Remove installdirs from list.
71856         ($(inst_infodir)/libc.info): Use make-target-directory.
71857         (installdirs): Remove.
71858         (subdir_%): Remove.
71859         (glibc-targets): Remove.
71860         (lib): Remove.
71861         (stubs): Remove.
71862         ($(objpfx)stubs ../po/manual.pot): Remove.
71863         ($(objpfx)stamp%): Remove.
71864         (make-target-directory): Remove.
71865         (subdir_install): Remove.
71866         (routines): Remove.
71867         (aux): Remove.
71868         (sources): Remove.
71869         (objects): Remove.
71870         (headers): Remove.
71872         [BZ #13750]
71873         * manual/.gitignore: Remove, it's not needed anymore.
71874         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71875         all files in it.
71876         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71877         directory.
71878         (texis): Renamed to $(objpfx)texis.
71879         (texis-path): New, contains path to generated files.
71880         (chapters.%): Use texis-path for complete path, add extra argument
71881         libc-texinfo.sh.
71882         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71883         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71884         (summary,texi, stamp-summary): Use complete path of
71885         files. Generate files in build dir.
71886         (dir-add.texi): Build in build dir.
71887         (libm-err.texi,stamp-libm-err): Likewise.
71888         (version.texi, stamp-version): Likewise.
71889         (.%c.texi): Likewise.
71890         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71891         (mostlyclean): Remove target.
71892         (realclean): Remove target.
71893         (generated): Add new variable with contents from mostlyclean and
71894         realclean, remove entries duplicated in common-mostlyclean, add
71895         stamp-libm-err and stamp-version.
71896         (generated-dirs): Add libc directory.
71897         ($(inst_infodir)/libc.info): Install files from build dir.
71899         * manual/install.texi (Configuring and compiling): Adjust since
71900         the info files are not part of the tar ball anymore.
71902 2012-05-14  Andreas Jaeger  <aj@suse.de>
71904         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71905         variable.
71907 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71909         [BZ #13717]
71910         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71911         to 2.2.0 where earlier.
71912         * sysdeps/unix/sysv/linux/configure: Regenerated.
71913         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71914         Remove conditional code.
71915         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71916         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71917         Remove conditional code.
71918         [!__NR_lchown]: Likewise.
71919         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71920         [__NR_lchown]: Likewise.
71921         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71922         comment referencing __ASSUME_LCHOWN_SYSCALL.
71923         * sysdeps/unix/sysv/linux/i386/sigaction.c
71924         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71925         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71926         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71927         Remove conditional code.
71928         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71929         (__protocol_available): Remove #if 0 code.
71930         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71931         conditional code.
71932         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71933         * sysdeps/unix/sysv/linux/kernel-features.h
71934         (__ASSUME_GETCWD_SYSCALL): Don't define.
71935         (__ASSUME_REALTIME_SIGNALS): Likewise.
71936         (__ASSUME_PREAD_SYSCALL): Likewise.
71937         (__ASSUME_PWRITE_SYSCALL): Likewise.
71938         (__ASSUME_POLL_SYSCALL): Likewise.
71939         (__ASSUME_LCHOWN_SYSCALL): Likewise.
71940         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71941         non-SPARC.
71942         (__ASSUME_SIOCGIFNAME): Don't define.
71943         (__ASSUME_MSG_NOSIGNAL): Likewise.
71944         (__ASSUME_SENDFILE): Define unconditionally.
71945         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71946         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71947         conditional code.
71948         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71949         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71950         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71951         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71952         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71953         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71954         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71956         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71957         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71959         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71960         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71962         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71963         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71965         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71966         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71968         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71969         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71971         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71972         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71974         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71975         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71977         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71978         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71979         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71980         Remove conditional code.
71981         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71982         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71983         Remove conditional code.
71984         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71985         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71986         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71987         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71988         Remove conditional code.
71989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71990         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71991         Remove conditional code.
71992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71993         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71994         Remove conditional code.
71995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71996         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71997         Remove conditional code.
71998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71999         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72000         Remove conditional code.
72001         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72002         * sysdeps/unix/sysv/linux/sh/pwrite64.c
72003         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72004         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72005         * sysdeps/unix/sysv/linux/sigaction.c
72006         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72007         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72008         * sysdeps/unix/sysv/linux/sigpending.c
72009         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72010         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72011         * sysdeps/unix/sysv/linux/sigprocmask.c
72012         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72013         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72014         * sysdeps/unix/sysv/linux/sigsuspend.c
72015         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72016         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72017         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72018         (__libc_missing_rt_sigs): Remove.
72019         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
72020         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
72021         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
72022         Remove conditional code.
72023         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
72024         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
72025         return 1.
72026         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
72027         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
72028         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
72029         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
72031 2012-05-14  Andreas Jaeger  <aj@suse.de>
72033         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
72034         it's not used in glibc.
72035         (__coshm1): Likewise.
72036         (__acosh1p): Likewise.
72037         (__sgn): Likewise.
72039         * manual/string.texi (Copying and Concatenation): Add missing
72040         variable in concat example.
72041         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
72043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72045         [BZ #14103]
72046         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
72047         __builtin_clzl with __builtin_clzll.
72049 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72051         [BZ #14104]
72052         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
72053         libc_freeres_ptr.
72055 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72057         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
72058         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
72059         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
72060         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
72062 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
72064         * NEWS: Update ia64 info.
72066 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
72068         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
72069         used as bcopy.
72071 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
72073         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
72074         * sysdeps/unix/syscalls.list (dup3): Likewise.
72075         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
72076         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
72078 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
72080         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
72081         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
72083 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
72085         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
72086         thread pointer.
72087         (TLS_IE): Use mov/add instead of movq/addq to load thread
72088         pointer.
72089         (TLS_GD_PREFIX): New.
72090         (TLS_GD): Use it.
72092 2012-05-11  David S. Miller  <davem@davemloft.net>
72094         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
72095         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
72096         (_FPU_SETCW): Likewise.
72098 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72100         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
72101         is 32-byte aligned.
72103 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
72105         [BZ #11837]
72106         * iconvdata/gb18030.c: Update tables.
72107         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
72108         characters specially.
72109         (BODY for TO_LOOP): Add encoding of missing ranges.
72111 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
72113         [BZ #13673]
72114         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72115         * sysdeps/mach/hurd/dup3.c: Likewise.
72116         * sysdeps/mach/hurd/readlinkat.c: Likewise.
72117         * sysdeps/powerpc/memmove.c:: Likewise.
72119 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72121         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
72122         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
72124 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72126         * elf/elf.h (R_X86_64_RELATIVE64): New.
72127         (R_X86_64_NUM): Updated.
72128         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72129         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
72130         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
72131         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
72132         tst-quad1pie tst-quad2pie
72133         (modules-names): Add tst-quadmod1 tst-quadmod2.
72134         ($(objpfx)tst-quad1): New dependency.
72135         ($(objpfx)tst-quad2): Likewise.
72136         ($(objpfx)tst-quad1pie): Likewise.
72137         ($(objpfx)tst-quad2pie): Likewise.
72138         * sysdeps/x86_64/tst-quad1.c: New file.
72139         * sysdeps/x86_64/tst-quad1pie.c: New file.
72140         * sysdeps/x86_64/tst-quad2.c: Likewise.
72141         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72142         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
72143         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
72144         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
72145         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72147 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72149         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72150         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72151         * streams/stropts.h (t_scalar_t): Define type.
72153         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72154         (_PATH_PRESERVE): Set to "/var/lib".
72155         (_PATH_RWHODIR): Set to "/var/spool/rwho".
72157         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72158         instead of int.
72160         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72161         if __dir_mkfile succeeded.
72163         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72164         checking for _hurd_dtablesize.  Unlock it right after having
72165         finished _hurd_dtable allocation.
72167 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72169         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72170         * sysdeps/mach/hurd/configure: Regenerated.
72171         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72172         special-casing to...
72173         * sysdeps/gnu/configure.in: ... this new file.
72174         * sysdeps/unix/sysv/linux/configure: Regenerated.
72175         * sysdeps/gnu/configure: New generated file.
72177         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72178         for Linux: use nsec instead of usec, as well as:
72179         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72180         members of type struct timespec.
72181         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72182         New macros.
72183         (struct stat64): Likewise.
72184         (_STATBUF_ST_NSEC): New macro.
72185         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72187         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72188         __strtoul_internal rather than strtoul.
72190 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72192         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72193         and reject them.
72195 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72197         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72198         which preserves existing values.
72199         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72201 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72203         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72204         TIMEOUT values.  Return EINVAL for NFDS values either negative or
72205         greater than FD_SETSIZE.
72207 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72209         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72210         allocated, call __vm_protect to finish enabling the existing space, and
72211         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72212         allocate the remainder.
72214 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72216         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72217         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
72219 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72221         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72222         sysdeps/mach/hurd/readlink.c.
72224         * posix/tst-sysconf.c (posix_options): Only use
72225         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72226         _POSIX_SYNCHRONIZED_IO when they are defined
72227         * sysdeps/mach/hurd/bits/posix_opt.h:
72228         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72229         (_XOPEN_REALTIME): Undefine macro.
72230         (_XOPEN_REALTIME_THREADS): Undefine macro.
72231         (_XOPEN_SHM): Undefine macro.
72232         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72233         macro to -1.
72234         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72235         macro to -1.
72236         (_POSIX_ASYNC_IO): Undefine macro.
72237         (_POSIX_PRIORITIZED_IO): Undefine macro.
72238         (_POSIX_SPIN_LOCKS): Define macro to -1.
72240         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72241         SA_NODEFER, SA_RESETHAND.
72242         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72243         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72244         F_DUPFD_CLOEXEC.
72246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72248         * elf/Makefile (pldd-modules): Define unconditionally.
72250 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72252         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72254 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72256         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72257         Return ENOENT when name is empty.
72258         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72262         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72264         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72266 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72268         Fix mlock in all cases except non-readable pages.
72269         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72270         instead of VM_PROT_ALL as parameter to __vm_wire function.
72272         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72273         (__mkdir): When path is `/', just fail with EEXIST.
72274         * sysdeps/mach/hurd/mkdirat.c: Likewise.
72276 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72278         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72279         <sys/uio.h> (for writev).
72280         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72281         and <sys/param.h> (for MIN).
72283 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72285         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72286         REQUESTED_TIME.  Properly set the remaining time and return EINTR
72287         if interrupted.
72289 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72291         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72292         Depend on against $(link-rpcuserlibs).
72294 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72296         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72297         (__libc_stack_end): Do not use attribute_relro.
72298         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72299         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72300         to libthread-provided value.
72301         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72302         attribute_relro.
72304 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72306         [BZ #3748]
72307         * bits/libc-lock.h (__libc_once_get): New macro.
72308         * sysdeps/mach/bits/libc-lock.h: Likewise.
72309         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72310         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72311         instead of using implementation details.
72313         * libio/fileops.c: Unconditionally include <kernel-features.h>.
72314         * libio/freopen.c: Likewise.
72315         * libio/freopen64.c: Likewise.
72316         * misc/syslog.c: Likewise.
72317         * nscd/connections.c: Likewise.
72318         * nscd/netgroupcache.c: Likewise.
72319         * sysdeps/posix/getcwd.c: Likewise.
72321 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72323         * math/w_ilogbf.c: Add #include <limits.h>.
72325 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72327         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72328         path instead of returning without unlocking.
72330         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72331         immediate-write ioctls.
72332         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72334 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72336         * sysdeps/mach/hurd/i386/init-first.c (init): Use
72337         __builtin_frame_address instead of making assumptions about the
72338         location of the return address relative to DATA.  Force early load of
72339         the return address.
72340         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72341         __builtin_frame_address.
72343         dup3 for GNU Hurd.
72344         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72345         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
72346         implement dup3 and do some further code clean-ups.
72347         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72348         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72352         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72354         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72355         HURD_CRITICAL_END around holding _hurd_dtable_lock.
72356         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72357         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72358         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72359         d->port.lock.
72361         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72362         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
72363         when handler == SIG_ERR, not when handler != SIG_ERR.
72365 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72367         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72368         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72369         definitions.
72371         accept4 for GNU Hurd.
72372         * include/sys/socket.h (__libc_accept4): New prototype.
72373         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
72374         to implement __libc_accept4.
72375         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72376         __libc_accept4.
72377         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72379         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72380         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72381         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72382         signal-defines.sym.
72384 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72386         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72388 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72390         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72391         assertion on O_CLOEXEC flag.
72392         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72393         * hurd/intern-fd.c: Likewise.
72394         * hurd/port2fd.c: Likewise.
72396 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72398         [BZ #3906]
72399         * bits/in.h (IPV6_PKTINFO): Define new macro.
72400         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72402 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72404         [BZ #13954]
72405         [BZ #13955]
72406         [BZ #13956]
72407         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72408         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72409         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72410         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72412         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72413         * math/libm-test.inc (logb_test) : Additional logb tests.
72415 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
72416             Andreas Jaeger  <aj@suse.de>
72418         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72419         * configure: Regenerated.
72420         * config.h.in (LINK_OBSOLETE_RPC): New macro.
72421         * config.make.in (link-obsolete-rpc): New substituted variable.
72422         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72423         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72424         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72425         (shared-only-routines): Don't set it under [link-obsolete-rpc],
72426         so that libc.a contains the symbols.
72427         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72428         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72429         * sunrpc/auth_none.c: Likewise.
72430         * sunrpc/auth_unix.c: Likewise.
72431         * sunrpc/authdes_prot.c: Likewise.
72432         * sunrpc/authuxprot.c: Likewise.
72433         * sunrpc/clnt_gen.c: Likewise.
72434         * sunrpc/clnt_perr.c: Likewise.
72435         * sunrpc/clnt_raw.c: Likewise.
72436         * sunrpc/clnt_simp.c: Likewise.
72437         * sunrpc/clnt_tcp.c: Likewise.
72438         * sunrpc/clnt_udp.c: Likewise.
72439         * sunrpc/clnt_unix.c: Likewise.
72440         * sunrpc/des_crypt.c: Likewise.
72441         * sunrpc/des_soft.c: Likewise.
72442         * sunrpc/get_myaddr.c: Likewise.
72443         * sunrpc/key_call.c: Likewise.
72444         * sunrpc/key_prot.c: Likewise.
72445         * sunrpc/netname.c: Likewise.
72446         * sunrpc/pm_getmaps.c: Likewise.
72447         * sunrpc/pm_getport.c: Likewise.
72448         * sunrpc/pmap_clnt.c: Likewise.
72449         * sunrpc/pmap_prot.c: Likewise.
72450         * sunrpc/pmap_prot2.c: Likewise.
72451         * sunrpc/pmap_rmt.c: Likewise.
72452         * sunrpc/publickey.c: Likewise.
72453         * sunrpc/rpc_cmsg.c: Likewise.
72454         * sunrpc/rpc_common.c: Likewise.
72455         * sunrpc/rpc_dtable.c: Likewise.
72456         * sunrpc/rpc_prot.c: Likewise.
72457         * sunrpc/rpc_thread.c: Likewise.
72458         * sunrpc/rtime.c: Likewise.
72459         * sunrpc/svc.c: Likewise.
72460         * sunrpc/svc_auth.c: Likewise.
72461         * sunrpc/svc_raw.c: Likewise.
72462         * sunrpc/svc_run.c: Likewise.
72463         * sunrpc/svc_tcp.c: Likewise.
72464         * sunrpc/svc_udp.c: Likewise.
72465         * sunrpc/svc_unix.c: Likewise.
72466         * sunrpc/svcauth_des.c: Likewise.
72467         * sunrpc/xcrypt.c: Likewise.
72468         * sunrpc/xdr.c: Likewise.
72469         * sunrpc/xdr_array.c: Likewise.
72470         * sunrpc/xdr_float.c: Likewise.
72471         * sunrpc/xdr_intXX_t.c: Likewise.
72472         * sunrpc/xdr_mem.c: Likewise.
72473         * sunrpc/xdr_rec.c: Likewise.
72474         * sunrpc/xdr_ref.c: Likewise.
72475         * sunrpc/xdr_sizeof.c: Likewise.
72476         * sunrpc/xdr_stdio.c: Likewise.
72478 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72480         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72481         change.  Update copyright years.
72483 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72485         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72487 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
72488             Joseph Myers  <joseph@codesourcery.com>
72489             Paul Pluzhnikov  <ppluzhnikov@google.com>
72491         [BZ #14012]
72492         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72493         requiring rpcgen.
72494         [cross-compiling] (extra-libs): Likewise.
72495         [cross-compiling] (extra-libs-others): Likewise.
72496         [cross-compiling] (librpcsvc-routines): Likewise.
72497         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72498         [cross-compiling] (omit-deps): Likewise.
72499         (sunrpc-CPPFLAGS): New variable.
72500         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72501         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72502         (cross-rpcgen-objs): New variable.
72503         (extra-objs): Append $(cross-rpcgen-objs).
72504         ($(cross-rpcgen-objs)): New rule.
72505         ($(objpfx)cross-rpcgen): Likewise.
72506         (rpcgen-cmd): Define to use $(built-program-file).  Expand
72507         comment.
72508         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72509         ($(objpfx)x%.stmp): Likewise.
72510         * sunrpc/proto.h [IS_IN_build] (_): Define.
72511         [IS_IN_build] (_libc_intl_domainname): Likewise.
72513 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72515         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72516         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72517         and R_X86_64_TPOFF64.
72519 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72521         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72522         sysdeps/unix/sysv/syscalls.list.
72523         (stime): Likewise.
72524         (utime): Likewise.
72525         * sysdeps/unix/sysv/syscalls.list: Remove file.
72527 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
72529         [BZ #3440]
72530         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72531         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72532         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72533         (__LC_IDENTIFICATION): Make these macros useful in #if
72534         expressions, as required by C99.
72536 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
72538         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72539         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
72540         after this.
72542 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
72544         * stdlib/longlong.h: Updated from GCC.
72546 2012-05-09  Andreas Jaeger  <aj@suse.de>
72548         * nscd/nscd.c (run_modes): Make named enum, reorder so that
72549         default is first entry.
72550         (run_mode): Set type.
72551         (main): Remove informal message about syslog.
72552         (options): Fix typo.
72554         [BZ #14053]
72555         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72556         to asm.
72557         (lrint): Likewise.
72558         (llrintf): Likewise.
72559         (llrint): Likewise.
72560         (rint): Likewise.
72561         (rintf): Likewise.
72562         (nearbyint): Likewise.
72563         (nearbyintf): Likewise.
72565 2012-05-09  Andreas Jaeger  <aj@suse.de>
72566             Pedro Alves  <palves@redhat.com>
72568         * nscd/nscd.c (run_mode): Use enum.
72569         (main): Cleanup coding style issue.
72571 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
72572             Andreas Jaeger  <aj@suse.de>
72574         * nscd/nscd.c (go_background): Replaced with...
72575         (run_mode): ... this.
72576         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72577         (options): Add -F --foreground.
72578         (main): Implement it.
72579         (parse_opt): Parse it.
72581 2012-05-09  Andreas Jaeger  <aj@suse.de>
72583         [BZ #14083]
72584         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72585         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72586         -Wconversion warning.
72587         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72588         Likewise.
72590 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
72592         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
72593         == 0.
72594         (LC_ALL): Use macro-int-constant.
72595         (LC_COLLATE): Likewise.
72596         (LC_CTYPE): Likewise.
72597         (LC_MESSAGES): Likewise.
72598         (LC_MONETARY): Likewise.
72599         (LC_NUMERIC): Likewise.
72600         (LC_TIME): Likewise.
72601         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72602         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72603         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72604         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72605         Specify type.
72606         [C99-based standards] (float_t): Expect type.
72607         [C99-based standards] (double_t): Expect type.
72608         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
72609         type.
72610         [C99-based standards] (HUGE_VALL): Likewise.
72611         [C99-based standards] (INFINITY): Likewise.
72612         [C99-based standards] (NAN): Likewise.
72613         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72614         [C99-based standards] (FP_NAN): Likewise.
72615         [C99-based standards] (FP_NORMAL): Likewise.
72616         [C99-based standards] (FP_SUBNORMAL): Likewise.
72617         [C99-based standards] (FP_ZERO): Likewise.
72618         [C99-based standards] (FP_FAST_FMA): Use
72619         optional-macro-int-constant.  Specify type.  Require == 1.
72620         [C99-based standards] (FP_FAST_FMAF): Likewise.
72621         [C99-based standards] (FP_FAST_FMAL): Likewise.
72622         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72623         [C99-based standards] (FP_ILOGBNAN): Likewise.
72624         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72625         Specify type.
72626         [C99-based standards] (MATH_ERREXCEPT): Likewise.
72627         [C99-based standards] (math_errhandling): Specify type.
72628         [ISO99 || ISO11] (signgam): Do not allow.
72629         [non-C99-based standards] (copysignf): Do not allow.
72630         [non-C99-based standards] (exp2f): Likewise.
72631         [non-C99-based standards] (log2f): Likewise.
72632         [non-C99-based standards] (modff): Allow.
72633         [non-C99-based standards] (erff): Do not allow.
72634         [non-C99-based standards] (erfcf): Likewise.
72635         [non-C99-based standards] (gammaf): Likewise.
72636         [non-C99-based standards] (hypotf): Likewise.
72637         [non-C99-based standards] (j0f): Likewise.
72638         [non-C99-based standards] (j1f): Likewise.
72639         [non-C99-based standards] (jnf): Likewise.
72640         [non-C99-based standards] (lgammaf): Likewise.
72641         [non-C99-based standards] (tgammaf): Likewise.
72642         [non-C99-based standards] (y0f): Likewise.
72643         [non-C99-based standards] (y1f): Likewise.
72644         [non-C99-based standards] (ynf): Likewise.
72645         [non-C99-based standards] (isnanf): Likewise.
72646         [non-C99-based standards] (acoshf): Likewise.
72647         [non-C99-based standards] (asinhf): Likewise.
72648         [non-C99-based standards] (atanhf): Likewise.
72649         [non-C99-based standards] (cbrtf): Likewise.
72650         [non-C99-based standards] (expm1f): Likewise.
72651         [non-C99-based standards] (ilogbf): Likewise.
72652         [non-C99-based standards] (log1pf): Likewise.
72653         [non-C99-based standards] (logbf): Likewise.
72654         [non-C99-based standards] (nextafterf): Likewise.
72655         [non-C99-based standards] (remainderf): Likewise.
72656         [non-C99-based standards] (rintf): Likewise.
72657         [non-C99-based standards] (scalbf): Likewise.
72658         [non-C99-based standards] (copysignl): Likewise.
72659         [non-C99-based standards] (exp2l): Likewise.
72660         [non-C99-based standards] (log2l): Likewise.
72661         [non-C99-based standards] (modfl): Allow.
72662         [non-C99-based standards] (erfl): Do not allow.
72663         [non-C99-based standards] (erfcl): Likewise.
72664         [non-C99-based standards] (gammal): Likewise.
72665         [non-C99-based standards] (hypotl): Likewise.
72666         [non-C99-based standards] (j0l): Likewise.
72667         [non-C99-based standards] (j1l): Likewise.
72668         [non-C99-based standards] (jnl): Likewise.
72669         [non-C99-based standards] (lgammal): Likewise.
72670         [non-C99-based standards] (tgammal): Likewise.
72671         [non-C99-based standards] (y0l): Likewise.
72672         [non-C99-based standards] (y1l): Likewise.
72673         [non-C99-based standards] (ynl): Likewise.
72674         [non-C99-based standards] (isnanl): Likewise.
72675         [non-C99-based standards] (acoshl): Likewise.
72676         [non-C99-based standards] (asinhl): Likewise.
72677         [non-C99-based standards] (atanhl): Likewise.
72678         [non-C99-based standards] (cbrtl): Likewise.
72679         [non-C99-based standards] (expm1l): Likewise.
72680         [non-C99-based standards] (ilogbl): Likewise.
72681         [non-C99-based standards] (log1pl): Likewise.
72682         [non-C99-based standards] (logbl): Likewise.
72683         [non-C99-based standards] (nextafterl): Likewise.
72684         [non-C99-based standards] (remainderl): Likewise.
72685         [non-C99-based standards] (rintl): Likewise.
72686         [non-C99-based standards] (scalbl): Likewise.
72687         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72688         [non-C99-based standards] (FP_*): Do not allow.
72689         [C99-based standards] (FP_*): Change to
72690         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72691         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72692         allow.
72693         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72694         (SIG_ERR): Likewise.
72695         [X/Open-based standards] (SIG_HOLD): Likewise.
72696         (SIG_IGN): Likewise.
72697         (SIGABRT): Use macro-int-constant.  Specify type.  Require
72698         positive value.
72699         (SIGFPE): Likewise.
72700         (SIGILL): Likewise.
72701         (SIGINT): Likewise.
72702         (SIGSEGV): Likewise.
72703         (SIGTER): Likewise.
72704         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72705         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72706         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72707         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72708         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72709         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72710         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72711         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72712         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72713         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72714         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72715         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72716         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72717         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72718         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72719         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72720         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72721         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72722         [X/Open-based standards] (SIGTRAP): Likewise.
72723         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72724         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72725         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72726         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72727         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72728         allow.
72730 2012-05-08  Ian Wienand  <ianw@vmware.com>
72732         [BZ #14080]
72733         * time/tzset.c (__tzset_parse_tz): Update default rules for
72734         daylight time changes in the Energy Policy Act of 2005.
72736 2012-05-09  Andreas Jaeger  <aj@suse.de>
72738         [BZ #13983]
72739         * elf/ldconfig.c (parse_conf): Change string to make clear that
72740         ldconfig only issued a warning if ld.so.conf does not exist.
72742 2012-05-08  David S. Miller  <davem@davemloft.net>
72744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72745         movxtod instead of popping the value on the stack.
72747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72749 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
72751         * config.h.in: Add HAVE_ARM_PCS_VFP.
72753 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
72755         [BZ #13979]
72756         * include/features.h: Warn if user requests __FORTIFY_SOURCE
72757         checking but the checks are disabled for any reason.
72759 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
72761         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72762         and ELF64_R_TYPE with ELFW(R_TYPE).
72764 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
72766         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72767         (ulimit): Likewise.
72769         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72770         (settimeofday): Likewise.
72772 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
72774         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
72775         a struct th_u2 inside the union, and move tu_block/tu_code into
72776         a new th_u3 union of tu_block/tu_code inside of that.  Move
72777         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
72778         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
72779         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72780         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72781         (th_stuff): Change to th_u1.tu_stuff.
72782         (th_data): Define.
72783         (th_msg): Change to th_u1.th_u2.tu_data.
72785 2012-05-07  David S. Miller  <davem@davemloft.net>
72787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72789         [BZ #14074]
72790         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72791         (SETUP_PIC_REG): Use it.
72792         (SETUP_PIC_REG_LEAF): Use it.
72794 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
72796         [BZ #13885]
72797         [BZ #13923]
72798         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72799         USE_AS_EXPM1L.
72800         (EXPL_FINITE): Likewise.
72801         (FLDLOG): Likewise.
72802         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72803         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72804         e_expl.S.
72805         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72806         USE_AS_EXPM1L.
72807         (EXPL_FINITE): Likewise.
72808         (FLDLOG): Likewise.
72809         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72810         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72811         e_expl.S.
72812         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
72813         test of -max_value argument for long double.
72814         * sysdeps/i386/fpu/libm-test-ulps: Update.
72815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72817 2012-05-06  David S. Miller  <davem@davemloft.net>
72819         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72820         quad soft-float symbols whose references which are compiler
72821         generated.
72822         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72824 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
72826         [BZ #13884]
72827         [BZ #13914]
72828         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72829         USE_AS_EXP10L.
72830         (EXPL_FINITE): Likewise.
72831         (FLDLOG): Likewise.
72832         (c0): Likewise.
72833         (c1): Likewise.
72834         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72835         Adjust comments for base varying.
72836         (__expl_finite): Change alias to EXPL_FINITE.
72837         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72838         e_expl.S.
72839         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72840         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72841         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72842         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72843         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72844         USE_AS_EXP10L.
72845         (EXPL_FINITE): Likewise.
72846         (FLDLOG): Likewise.
72847         (c0): Likewise.
72848         (c1): Likewise.
72849         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72850         Adjust comments for base varying.
72851         (__expl_finite): Change alias to EXPL_FINITE.
72852         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
72853         tests for bugs.
72854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72856         [BZ #14064]
72857         * math/libm-test.inc (check_float_internal): Correct ulp
72858         calculation for subnormal expected results.
72860 2012-05-06  Andreas Jaeger  <aj@suse.de>
72862         * Makeconfig (+math-flags): New, set to -frounding-math.
72863         (+cflags): Add +math-flags so that all of glibc gets compiled with
72864         it.
72866         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72868 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
72870         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72871         Disable one test.
72873         [BZ #13787]
72874         [BZ #13922]
72875         [BZ #14036]
72876         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72877         (__ieee754_expl): Allow for and saturate large arguments.
72878         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72879         (u_threshold): Likewise.
72880         (__exp): Call __ieee754_exp before checking for overflow and
72881         underflow.
72882         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72883         (u_threshold): Likewise.
72884         (__expf): Call __ieee754_expf before checking for overflow and
72885         underflow.
72886         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72887         (u_threshold): Likewise.
72888         (__expl): Call __ieee754_expl before checking for overflow and
72889         underflow.
72890         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72891         (__ieee754_expl): Allow for and saturate large arguments.
72892         * math/libm-test.inc (exp_test): Add another test.  Do not allow
72893         missing overflow exception on overflow.
72894         (expm1_test): Do not allow missing overflow exception on overflow.
72896         * sysdeps/i386/fpu/e_expl.c: Move to ...
72897         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
72898         rather than using inline asm.
72899         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72900         * sysdeps/x86_64/fpu/e_expl.S: Copy from
72901         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72903         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72904         (nice): Likewise.
72905         (poll): Likewise.
72906         (signal): Likewise.
72907         (time): Likewise.
72908         (times): Likewise.
72910 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72912         * sysdeps/unix/syscalls.list (adjtime): Add entry from
72913         sysdeps/unix/common/syscalls.list.
72914         (fchmod): Likewise.
72915         (fchown): Likewise.
72916         (ftruncate): Likewise.
72917         (getrusage): Likewise.
72918         (gettimeofday): Likewise.
72919         (setpgid): Likewise.
72920         (setregid): Likewise.
72921         (setreuid): Likewise.
72922         (sigaction): Likewise.
72923         (truncate): Likewise.
72924         (vhangup): Likewise.
72925         * sysdeps/unix/common/syscalls.list: Remove file.
72926         * sysdeps/unix/bsd/Implies: Don't include unix/common.
72927         * sysdeps/unix/sysv/linux/Implies: Likewise.
72929 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
72931         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72933         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72934         Moved to ...
72935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72936         Here.
72937         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72938         to ...
72939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72940         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72941         to ...
72942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72943         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72944         to ...
72945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72946         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72947         to ...
72948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72949         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72950         to ...
72951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72952         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72953         to ...
72954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72955         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72956         to ...
72957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72958         Here.
72959         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72960         to ...
72961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72962         Here.
72963         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72964         to ...
72965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72966         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72967         Moved to ...
72968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72969         Here.
72970         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72971         to ...
72972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72974 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72976         * sysdeps/unix/common/bits/dirent.h: Remove file.
72977         * sysdeps/unix/common/bits/fcntl.h: Likewise.
72979         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72980         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72981         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72982         * sysdeps/unix/bsd/isatty.c: Likewise.
72983         * sysdeps/unix/bsd/tcdrain.c: Likewise.
72984         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72985         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72987 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72989         [BZ #13563]
72990         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72991         long double comparison inaccuracies.
72992         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72995 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
72997         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72998         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
73000 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73002         [BZ #14049]
73003         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
73004         nonzero digits before rounding a hex value.
73005         * stdlib/tst-strtod.c (tests): Add another test.
73007 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73009         * sysdeps/s390/fpu/libm-test-ulps: Update.
73011 2012-05-03  Andreas Jaeger  <aj@suse.de>
73013         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
73014         does not get optimized out.
73015         (malloc_opt_barrier): New.
73017 2012-05-03  Andreas Jaeger  <aj@suse.de>
73018             Roland McGrath  <roland@hack.frob.com>
73020         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
73021         intermediate file deletion.
73022         (generated): Add .symlist files.
73024 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
73026         [BZ #13775]
73027         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
73028         Redirect under this condition.
73029         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73030         [__USE_GNU] (__dprintf_chk): Not under this condition.
73031         [__USE_GNU] (__vdprintf_chk): Likewise.
73032         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
73033         under this condition.
73034         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73035         [__USE_XOPEN2K8] (dprintf): Define under this condition.
73036         [__USE_XOPEN2K8] (vdprintf): Likewise.
73037         [__USE_GNU] (__dprintf_chk): Not under this condition.
73038         [__USE_GNU] (__vdprintf_chk): Likewise.
73039         [__USE_GNU] (dprintf): Likewise.
73040         [__USE_GNU] (vdprintf): Likewise.
73042 2012-05-03  Roland McGrath  <roland@hack.frob.com>
73044         * elf/Makefile (common-generated): Set this instead of generated for
73045         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
73046         $(all-built-dso)-derived lists.
73048 2012-05-03  Andreas Jaeger  <aj@suse.de>
73050         * sysdeps/i386/fpu/libm-test-ulps: Update.
73052         * FAQ: Removed.
73053         * FAQ.in: Likewise.
73054         * scripts/gen-FAQ.pl: Likewise.
73055         * manual/install.texi (Installation): Point to online location of
73056         FAQ.
73057         * Makefile (files-for-dist): Remove FAQ.
73058         (FAQ): Remove.
73060 2012-05-02  Allan McRae  <allan@archlinux.org>
73062         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
73063         (LDFLAGS-reldepmod5.so): Likewise.
73064         (LDFLAGS-reldep6mod1.so): Likewise.
73065         (LDFLAGS-reldep6mod4.so): Likewise.
73066         (LDFLAGS-reldep8mod3.so): Likewise.
73067         (LDFLAGS-unload4mod1.so): Likewise.
73068         (LDFLAGS-unload4mod2.so): Likewise.
73069         (LDFLAGS-tst-initorder): Likewise.
73070         (LDFLAGS-tst-initordera2.so): Likewise.
73071         (LDFLAGS-tst-initordera3.so): Likewise.
73072         (LDFLAGS-tst-initordera4.so): Likewise.
73073         (LDFLAGS-tst-initorderb2.so): Likewise.
73074         (LDFLAGS-noload): Likewise.
73075         (LDFLAGS-next): Likewise.
73076         (LDFLAGS-order2mod1.so): Likewise.
73077         (LDFLAGS-order2mod2.so): Likewise.
73078         (LDFLAGS-tst-initorder2): Likewise.
73079         (LDFLAGS-tst-initorder2a.so): Likewise.
73080         (LDFLAGS-tst-initorder2b.so): Likewise.
73081         (LDFLAGS-tst-initorder2c.so): Likewise.
73082         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
73084 2012-05-02  David S. Miller  <davem@davemloft.net>
73086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73088 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
73090         [BZ #14055]
73091         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
73093 2012-05-02  Andreas Jaeger  <aj@suse.de>
73095         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
73096         since we manipulate rounding mode.
73097         (CPPFLAGS-test-idouble.c): Likewise.
73098         (CPPFLAGS-test-ifloat.c): Likewise.
73099         (CFLAGS-test-ldouble.c): Likewise.
73100         (CFLAGS-test-double.c): Likewise.
73101         (CFLAGS-test-float.c): Likewise.
73102         (CFLAGS-test-misc.c): Likewise.
73103         (CFLAGS-test-test-fenv.c): Likewise.
73105 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73107         [BZ #2550]
73108         [BZ #2570]
73109         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
73110         comparisons to determine direction to adjust input.
73112 2012-05-01  Roland McGrath  <roland@hack.frob.com>
73114         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
73115         output to the target.
73117         * scripts/localplt.awk: New file.
73118         * elf/Makefile ($(objpfx)check-localplt): Target removed.
73119         (check-localplt-CFLAGS): Variable removed.
73120         ($(all-built-dso:=.jmprel)): New static pattern rule.
73121         (generated): Add those targets.
73122         (localplt-built-dso): New variable.
73123         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
73125         * elf/check-localplt.c: File removed.
73127         * scripts/check-execstack.awk: New file.
73128         * elf/Makefile ($(objpfx)check-execstack): Target removed.
73129         (check-execstack-CFLAGS): Variable removed.
73130         ($(objpfx)check-execstack.h): Target removed.
73131         ($(objpfx)execstack-default): New target.
73132         (generated): Add that instead of check-execstack.h.
73133         ($(all-built-dso:=.phdr)): New static pattern rule.
73134         (generated): Add those targets.
73135         * elf/check-execstack.c: File removed.
73137         * scripts/check-textrel.awk: New file.
73138         * elf/Makefile ($(objpfx)check-textrel): Target removed.
73139         (check-textrel-CFLAGS): Variable removed.
73140         (all-built-dso): Use := to define.o
73141         ($(all-built-dso:=.dyn)): New static pattern rule.
73142         (generated): Add those targets.
73143         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
73144         * config.make.in (READELF): New substituted variable.
73145         * elf/check-textrel.c: File removed.
73147 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73149         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73150         allow.
73151         * conform/data/ctype.h-data [C99-based standards] (isblank):
73152         Expect function.
73153         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73154         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73155         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73156         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73157         Specify type.  Require positive value.
73158         (EILSEQ): Likewise.
73159         (ERANGE): Likewise.
73160         [ISO || POSIX] (EILSEQ): Do not expect.
73161         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73162         Specify type.  Require positive value.
73163         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73164         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73165         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73166         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73167         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73168         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73169         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73170         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73171         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73172         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73173         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73174         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73175         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73176         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73177         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73178         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73179         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73180         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73181         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73182         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73183         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73184         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73185         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73186         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73187         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73188         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73189         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73190         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73191         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73192         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73193         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73194         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73195         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73196         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73197         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73198         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73199         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73200         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73201         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73202         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73203         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73204         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73205         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73206         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73207         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73208         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73209         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73210         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73211         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73212         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73213         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73214         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73215         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73216         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73217         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73218         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73219         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73220         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73221         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73222         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73223         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73224         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73225         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73226         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73227         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73228         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73229         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73230         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73231         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73232         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73233         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73234         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73235         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73236         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73237         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73238         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73239         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73240         Require >= 2.
73241         (FLT_ROUNDS): Expect as macro, not constant.
73242         (FLT_MANT_DIG): Use macro-int-constant.
73243         (DBL_MANT_DIG): Likewise.
73244         (LDBL_MANT_DIG): Likewise.
73245         (FLT_DIG): Likewise.
73246         (DBL_DIG): Likewise.
73247         (LDBL_DIG): Likewise.
73248         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
73249         (DBL_MIN_EXP): Likewise.
73250         (LDBL_MIN_EXP): Likewise.
73251         (FLT_MAX_EXP): Use macro-int-constant.
73252         (DBL_MAX_EXP): Likewise.
73253         (LDBL_MAX_EXP): Likewise.
73254         (FLT_MAX_10_EXP): Likewise.
73255         (DBL_MAX_10_EXP): Likewise.
73256         (LDBL_MAX_10_EXP): Likewise.
73257         (FLT_MAX): Use macro-constant.
73258         (DBL_MAX): Likewise.
73259         (LDBL_MAX): Likewise.
73260         (FLT_EPSILON): Use macro-constant.  Give upper bound.
73261         (DBL_EPSILON): Likewise.
73262         (LDBL_EPSILON): Likewise.
73263         (FLT_MIN): Likewise.
73264         (DBL_MIN): Likewise.
73265         (LDBL_MIN): Likewise.
73266         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73267         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73268         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73269         [ISO11] (FLT_HAS_SUBNORM): Likewise.
73270         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73271         [ISO11] (DBL_DECIMAL_DIG): Likewise.
73272         [ISO11] (FLT_DECIMAL_DIG): Likewise.
73273         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73274         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73275         [ISO11] (FLT_TRUE_MIN): Likewise.
73276         [ISO11] (LDBL_TRUE_MIN): Likewise.
73277         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73278         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73279         (SCHAR_MIN): Use macro-int-constant.  Specify type.
73280         (SCHAR_MAX): Likewise.
73281         (UCHAR_MAX): Likewise.
73282         (CHAR_MIN): Likewise.
73283         (CHAR_MAX): Likewise.
73284         (MB_LEN_MAX): Use macro-int-constant.
73285         (SHRT_MIN): Use macro-int-constant.  Specify type.
73286         (SHRT_MAX): Likewise.
73287         (USHRT_MAX): Likewise.
73288         (INT_MAX): Likewise.
73289         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
73290         bound negative.
73291         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73292         bound with "U".
73293         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73294         bound with "L".
73295         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
73296         bound negative.  Suffix upper bound with "L".
73297         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73298         bound with "UL".
73299         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73300         Specify type.
73301         [C99-based standards] (LLONG_MAX): Likewise.
73302         [C99-based standards] (ULLONG_MAX): Likewise.
73303         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
73304         == 0.
73305         [ISO11] (max_align_t): Require type.
73306         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73308         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73309         from $CFLAGS, without defining away __attribute__ calls.
73310         (checknamespace): Use $CFLAGS_namespace.
73312         * conform/conformtest.pl (@keywords): Only include C99 keywords
73313         for standards based on C99 or C11.
73315         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73316         Disable tests.
73317         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73318         UNIX98]: Likewise.
73320         * conform/conformtest.pl: Handle "macro-int-constant" and test for
73321         usability of symbols in #if.
73323         * conform/conformtest.pl: If macro or constant types start
73324         "promoted:", expect the symbol to be of the following type
73325         promoted by the integer promotions.
73327         * conform/conformtest.pl: Parse all "constant" and "macro" lines
73328         in one place.  Also handle "macro-constant".
73330         * conform/conformtest.pl: Only accept expected macro values with
73331         "==".  Parse all "macro" lines in one place.
73332         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73334         * conform/conformtest.pl: Handle braced types on "constant" lines
73335         instead of handling "typed-constant".
73336         * conform/data/signal.h-data: Use "constant" instead of
73337         "typed-constant".
73339         * conform/conformtest.pl: Handle "optional-" at start of lines in
73340         one place rather than duplicating several cases.  Handle each
73341         format of "macro" line with initial "optional-".
73343         * conform/conformtest.pl: Only accept expected constant or
73344         optional-constant values with "==".  Parse all "constant" lines in
73345         one place.  Parse all "optional-constant" lines in one place.
73346         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73347         * conform/data/fmtmsg.h-data: Likewise.
73348         * conform/data/netinet/in.h-data: Likewise.
73349         * conform/data/tar.h-data: Likewise.
73350         * conform/data/limits.h-data: Use "==" form on "constant" and
73351         "optional-constant" lines.
73353         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73354         Use -std=c99 for XOPEN2K.
73355         (@knownproblems): Remove.
73356         (newtoken): Don't check %isknown.
73358         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73359         Do not expect macro.
73360         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73361         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73362         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73363         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73364         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73365         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73366         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73367         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73368         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73369         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73370         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73371         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73372         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73373         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73374         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73375         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73376         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73377         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73378         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73379         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73380         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73381         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73382         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73383         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73384         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73385         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73386         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73387         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73388         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73389         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73390         [XPG3] (acosh): Likewise.
73391         [XPG3] (asinh): Likewise.
73392         [XPG3] (atanh): Likewise.
73393         [XPG3] (cbrt): Likewise.
73394         [XPG3] (expm1): Likewise.
73395         [XPG3] (ilogb): Likewise.
73396         [XPG3] (log1p): Likewise.
73397         [XPG3] (logb): Likewise.
73398         [XPG3] (nextafter): Likewise.
73399         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73400         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73401         [XPG3] (remainder): Likewise.
73402         [XPG3] (rint): Likewise.
73403         [XPG3 || XPG4 || UNIX98] (round): Likewise.
73404         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73405         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73406         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73407         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73408         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73409         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73410         [UNIX98 || XOPEN2K] (scalb): Expect.
73411         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73412         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73413         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73414         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73415         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73416         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73417         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73418         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73419         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73420         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73421         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73422         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73423         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73424         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73425         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73426         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73427         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73428         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73429         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73430         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73431         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73432         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73433         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73434         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73435         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73436         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73437         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73438         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73439         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73440         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73441         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73442         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73443         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73444         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73445         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73446         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73447         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73448         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73449         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73450         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73451         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73452         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73453         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73454         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73455         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73456         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73457         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73458         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73459         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73460         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73461         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73462         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73463         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73464         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73465         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73466         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73467         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73468         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73469         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73470         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73471         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73472         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73473         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73474         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73475         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73476         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73477         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73478         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73479         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73480         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73481         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73482         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73483         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73484         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73485         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73486         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73487         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73488         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73489         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73490         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73491         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73492         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73493         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73494         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73495         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73496         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73497         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73498         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73499         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73500         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73501         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73502         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73503         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73504         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73505         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73506         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73507         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73508         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73509         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73510         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73511         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73512         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73513         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73514         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73515         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73516         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73517         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73518         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73519         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73520         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73521         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73522         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73523         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73524         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73525         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73526         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73527         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73528         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73529         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73530         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73531         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73532         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73533         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73534         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73535         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73536         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73537         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73538         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73539         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73540         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73541         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73542         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73543         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73544         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73545         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73546         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73547         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73549         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73550         _XOPEN_SOURCE_EXTENDED for XPG4.
73552         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73554         * Makeconfig (localtime): Remove variable.
73555         (inst_localtime-file): Likewise.
73557 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73560         Update.
73561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73562         Update.
73563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73564         Update.
73565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73566         Update.
73567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73568         Update.
73569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73570         Update.
73571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73572         Update.
73573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73574         Update.
73575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73576         Update.
73578 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73580         [BZ #2550]
73581         [BZ #2570]
73582         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73583         comparisons to determine direction to adjust input.
73584         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73585         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73586         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73587         Likewise.
73588         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73589         Likewise.
73590         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73591         Likewise.
73592         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73593         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73594         Likewise.
73595         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73596         Likewise.
73597         * math/libm-test.inc (nexttoward_test): Add more tests.
73599 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73601         [BZ #14040]
73602         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73603         in version GLIBC_2.1, not GLIBC_2.0.
73604         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73605         Likewise.
73607 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
73609         [BZ #13942]
73610         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73611         (1 - x) * (1 + x).
73612         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73613         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73614         * math/libm-test.inc (acos_test): Add more tests.
73615         (asin_test): Likewise.
73616         * sysdeps/i386/fpu/libm-test-ulps: Update.
73617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73619         [BZ #14034]
73620         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73621         of square root.
73622         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73623         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73624         * math/libm-test.inc (acos_test_tonearest): New function.
73625         (acos_test_towardzero): Likewise.
73626         (acos_test_downward): Likewise.
73627         (acos_test_upward): Likewise.
73628         (asin_test_tonearest): Likewise.
73629         (asin_test_towardzero): Likewise.
73630         (asin_test_downward): Likewise.
73631         (asin_test_upward): Likewise.
73632         (main): Call the new functions.
73633         * sysdeps/i386/fpu/libm-test-ulps: Update.
73634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73636         [BZ #13884]
73637         [BZ #13924]
73638         * math/e_exp10.c: Include <float.h>.
73639         (__ieee754_exp10): Handle underflow here rather than multiplying
73640         large negative argument by M_LN10.
73641         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73642         of __ieee754_expf.
73643         * math/e_exp10l.c: Include <float.h>.
73644         (__ieee754_exp10l): Handle underflow here rather than multiplying
73645         large negative argument by M_LN10l.
73646         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
73647         spurious overflow exception on underflow.
73649 2012-04-29  Marek Polacek  <polacek@redhat.com>
73651         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73652         (__fortify_function): New macro.
73653         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73654         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73655         __extern_always_inline.
73656         * libio/bits/stdio2.h: Likewise.
73657         * libio/bits/stdio.h: Likewise.
73658         * string/string.h: Likewise.
73659         * string/bits/string3.h: Likewise.
73660         * include/stdio.h: Likewise.
73661         * stdlib/bits/stdlib.h: Likewise.
73662         * stdlib/stdlib.h: Likewise.
73663         * rt/bits/mqueue2.h: Likewise.
73664         * rt/mqueue.h: Likewise.
73665         * posix/bits/unistd.h: Likewise.
73666         * posix/unistd.h: Likewise.
73667         * io/bits/poll2.h: Likewise.
73668         * io/bits/fcntl2.h: Likewise.
73669         * io/fcntl.h: Likewise.
73670         * io/sys/poll.h: Likewise.
73671         * misc/bits/syslog.h: Likewise.
73672         * misc/bits/syslog-ldbl.h: Likewise.
73673         * misc/sys/syslog.h: Likewise.
73674         * socket/bits/socket2.h: Likewise.
73675         * socket/sys/socket.h: Likewise.
73676         * debug/tst-chk1.c: Likewise.
73677         * wcsmbs/bits/wchar2.h: Likewise.
73678         * wcsmbs/bits/wchar-ldbl.h: Likewise.
73679         * wcsmbs/wchar.h: Likewise.
73681 2012-04-29  Andreas Jaeger  <aj@suse.de>
73683         * Makerules (tests): Remove enable-check-abi protection.
73684         (check-abi-warn): Remove.
73685         (check-abi-%): Remove check-abi-warn usage.
73687         * configure.in: Remove check-abi configure option.
73688         * configure: Regenerated.
73689         * config.make.in (enable-check-abi): Remove.
73691 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
73693         [BZ #14033]
73694         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73695         double functions to double *_finite functions.
73697         [BZ #13941]
73698         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73699         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73700         LDBL_MIN_EXP.
73701         * stdio-common/Makefile (tests): Add tst-sprintf3.
73702         * stdio-common/tst-sprintf3.c: New file.
73704         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73705         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73707 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73709         * conform/conformtest.pl: Remove duplicate typed-constant
73710         handling.
73712 2012-04-28  David S. Miller  <davem@davemloft.net>
73714         * Makerules (%.abilist): Add vpath on sysdep_dirs.
73715         (check-abi-%): Remove AWK script prerequisite and explicit
73716         abilist directory.
73717         (check-abi): Rewrite to just diff the symlist with the abilist.
73718         (config-tls, config-abi-config): Delete, no longer used.
73719         (update-abi-%): Remove AWK script and explicit abilist directory.
73720         (update-abi): Rewrite to simply compare and conditionally copy the
73721         symlist and the sysdep abilist file.  Remove update-abi-config
73722         checks.
73723         * abilist/ld.abilist: Remove.
73724         * abilist/libBrokenLocale.abilist: Remove.
73725         * abilist/libanl.abilist: Remove.
73726         * abilist/libcrypt.abilist: Remove.
73727         * abilist/libdl.abilist: Remove.
73728         * abilist/librt.abilist: Remove.
73729         * abilist/libthread_db.abilist: Remove.
73730         * abilist/libutil.abilist: Remove.
73731         * scripts/extract-abilist.awk: Remove.
73732         * scripts/merge-abilist.awk: Remove.
73733         * sysdeps/generic/libcidn.abilist: New file.
73734         * sysdeps/generic/libnss_compat.abilist: New file.
73735         * sysdeps/generic/libnss_db.abilist: New file.
73736         * sysdeps/generic/libnss_dns.abilist: New file.
73737         * sysdeps/generic/libnss_files.abilist: New file.
73738         * sysdeps/generic/libnss_hesiod.abilist: New file.
73739         * sysdeps/generic/libnss_nis.abilist: New file.
73740         * sysdeps/generic/libnss_nisplus.abilist: New file.
73741         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73742         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73743         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73744         file.
73745         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73746         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73747         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73748         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73749         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73750         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73751         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73752         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73753         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73754         file.
73755         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73756         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73757         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73758         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73759         file.
73760         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73761         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73762         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73763         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73764         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73765         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73766         file.
73767         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73768         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73769         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73770         file.
73771         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73773         New file.
73774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73775         New file.
73776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73777         New file.
73778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73779         New file.
73780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73781         New file.
73782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73783         New file.
73784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73785         New file.
73786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73787         New file.
73788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73789         New file.
73790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73791         New file.
73792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73793         New file.
73794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73795         New file.
73796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73797         New file.
73798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73799         file.
73800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73801         New file.
73802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73803         New file.
73804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73805         file.
73806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73807         New file.
73808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73809         New file.
73810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73811         file.
73812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73813         New file.
73814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73815         New file.
73816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73817         New file.
73818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73819         New file.
73820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73821         New file.
73822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73823         New file.
73824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73826         file.
73827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73828         New file.
73829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73830         file.
73831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73832         file.
73833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73834         file.
73835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73836         file.
73837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73838         file.
73839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73840         New file.
73841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73842         file.
73843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73844         file.
73845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73846         New file.
73847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73848         file.
73849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73851         file.
73852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73853         New file.
73854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73855         file.
73856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73857         file.
73858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73859         file.
73860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73861         file.
73862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73863         file.
73864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73865         New file.
73866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73867         file.
73868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73869         file.
73870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73871         New file.
73872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73873         file.
73874         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73875         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73876         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73877         file.
73878         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73879         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73880         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73881         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73882         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73883         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73884         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73885         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73886         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73887         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73890         file.
73891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73892         New file.
73893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73894         file.
73895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73896         file.
73897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73898         file.
73899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73900         file.
73901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73902         file.
73903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73904         New file.
73905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73906         New file.
73907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73908         file.
73909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73910         New file.
73911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73912         file.
73913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73915         file.
73916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73917         New file.
73918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73919         file.
73920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73921         file.
73922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73923         file.
73924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73925         file.
73926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73927         file.
73928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73929         New file.
73930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73931         New file.
73932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73933         file.
73934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73935         New file.
73936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73937         file.
73939 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73941         * conform/conformtest.pl: Fix typo in handling typed-constant from
73942         allow-header.
73944 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73946         * README: Cut down references to pre-2.6 Linux kernels and
73947         Linuxthreads.  Update lists of configurations in libc and ports
73948         and sort alphabetically.  Say "or newer" with Linux kernel version
73949         requirements.
73951         * config.h.in [IS_IN_build]: Allow compiling without optimization.
73953 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
73955         [BZ #887]
73956         * math/libm-test.inc (logb_test_downward): New test to expose
73957         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73958         rounding mode.
73960 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73962         [BZ #14027]
73963         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73964         to be done.
73965         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73966         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73968 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
73970         * sysdeps/unix/i386/brk.S: Remove file.
73971         * sysdeps/unix/i386/dl-brk.S: Likewise.
73972         * sysdeps/unix/i386/pipe.S: Likewise.
73973         * sysdeps/unix/i386/sigreturn.S: Likewise.
73974         * sysdeps/unix/i386/syscall.S: Likewise.
73975         * sysdeps/unix/i386/vfork.S: Likewise.
73976         * sysdeps/unix/i386/wait.S: Likewise.
73978         * sysdeps/unix/common/tcsendbrk.c: Move to ...
73979         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73981         * configure.in (arm*-none*): Do not allow without
73982         --enable-hacker-mode.
73983         (netbsd*): Remove case setting base_os.
73984         (386bsd*): Likewise.
73985         (freebsd*): Likewise.
73986         (bsdi*): Likewise.
73987         (osf*): Likewise.
73988         (sunos*): Likewise.
73989         (ultrix*): Likewise.
73990         (newsos*): Likewise.
73991         (dynix*): Likewise.
73992         (*bsd*): Likewise.
73993         (sysv*): Likewise.
73994         (isc*): Likewise.
73995         (esix*): Likewise.
73996         (sco*): Likewise.
73997         (minix*): Likewise.
73998         (irix4*): Likewise.
73999         (irix6*): Likewise.
74000         (solaris[2-9]*): Likewise.
74001         (none): Likewise.
74002         * configure: Regenerated.
74004 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74006         [BZ #11521]
74007         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
74008         overflow or cancellation in calculating denominator.
74009         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
74010         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
74011         down expression to avoid unexpected rounding in newer GCCs.
74012         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
74014 2012-04-26  David S. Miller  <davem@davemloft.net>
74016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
74017         long-double compat symbols.
74018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
74022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
74024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
74025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
74026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
74027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
74028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
74029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
74030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74032 2012-04-25  David S. Miller  <davem@davemloft.net>
74034         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
74035         HWCAP_* values only after the memory barriers have been defined.
74036         (atomic_full_barrier): Define.
74037         (atomic_read_barrier): Define.
74038         (atomic_write_barrier): Define.
74040 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74042         * shlib-versions: Add libgcc_s version information.
74043         * sysdeps/generic/libgcc_s.h: Remove.
74044         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
74045         libgcc_s.h.
74046         * sysdeps/gnu/unwind-resume.c: Likewise.
74047         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
74049 2012-04-25  David S. Miller  <davem@davemloft.net>
74051         * sysdeps/unix/sparc/brk.S: Delete.
74052         * sysdeps/unix/sparc/dl-brk.S: Delete.
74053         * sysdeps/unix/sparc/pipe.S: Delete.
74054         * sysdeps/unix/sparc/sysdep.S: Delete.
74055         * sysdeps/unix/sparc/sysdep.h: Delete.
74056         * sysdeps/unix/sparc/vfork.S: Delete.
74057         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
74058         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
74059         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
74060         (ret_ERRVAL, r0, r1, MOVE): Define.
74061         (JUMPTARGET): Remove.
74062         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
74063         sysdeps/unix/sparc/sysdep.h
74064         (ENTRY, END): Remove.
74065         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74067 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
74069         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
74070         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
74071         -DIS_IN_build.
74073         * timezone/README: Update upstream location and email address for
74074         tzcode and tzdata.
74075         * timezone/zdump.c: Update from tzcode 2012b.
74076         * timezone/zic.c: Likewise.
74078         * configure.in (libc_cv_as_needed): Remove test.
74079         * configure: Regenerated.
74080         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
74081         conditional definition.
74082         [$(have-as-needed) != yes] (no-as-needed): Likewise.
74083         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
74084         * config.make.in (have-as-needed): Remove variable.
74086 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74087             Paul Pluzhnikov  <ppluzhnikov@google.com>
74089         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
74090         strings correctly.
74092 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
74094         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
74095         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
74096         * sysdeps/sh/strlen.S: Likewise.
74098 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74100         * sysdeps/unix/fork.S: Remove file.
74101         * sysdeps/unix/i386/fork.S: Likewise.
74102         * sysdeps/unix/sparc/fork.S: Likewise.
74104         * sysdeps/unix/system.c: Remove file.
74105         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
74107         * sysdeps/unix/getegid.S: Remove file.
74108         * sysdeps/unix/geteuid.S: Likewise.
74110 2012-04-24  Roland McGrath  <roland@hack.frob.com>
74112         * scripts/check-localplt.awk: New file.
74113         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
74114         of diff.
74115         * scripts/data/localplt-generic.data: Add a comment.
74117         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
74118         NODE when __dir_mkfile failed.
74119         * sysdeps/mach/hurd/symlinkat.c: Likewise.
74120         Reported by Ludovic Courtès <ludo@gnu.org>.
74122 2012-04-24  Andreas Jaeger  <aj@suse.de>
74124         * Makerules (common-clean): Also remove gen-as-const-headers
74125         files.
74127 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74129         * Makerules (native-compile): Do not change working directory for
74130         build.  Use $(OUTPUT_OPTION) in command.
74131         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
74133 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74135         [BZ #13886]
74136         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
74137         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
74138         * math/libm-test.inc (floor_test): Add more tests.
74139         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
74141 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74143         * sysdeps/unix/getdents.c: Remove file.
74144         * sysdeps/unix/sysv/getdents.c: Likewise.
74145         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74147         * sysdeps/unix/syscalls.list (madvise): Add syscall from
74148         sysdeps/unix/mman/syscalls.list.
74149         (mmap): Likewise.
74150         (mprotect): Likewise.
74151         (msync): Likewise.
74152         (munmap): Likewise.
74153         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74154         * sysdeps/unix/mman/syscalls.list: Remove.
74155         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74157         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74158         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74159         * configure: Regenerated.
74160         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74161         $(libgcc_s_suffix).
74162         * config.make.in (libgcc_s_suffix): Remove variable.
74164 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
74166         * sysdeps/unix/sysv/gethostname.c: Move to ...
74167         * sysdeps/posix/gethostname.c: ... here.
74169         * sysdeps/unix/execve.S: Remove file.
74171         * sysdeps/unix/_exit.S: Remove file.
74173 2012-04-23  Andreas Jaeger  <aj@suse.de>
74175         [BZ #13739]
74176         * manual/Makefile: Remove make dist support, there's no
74177         need for a stand-alone documentation tar ball.
74178         (TEXI2DVI): Define always, it's not in Makeconfig.
74179         (dist): Removed.
74180         (tar-it): Removed.
74181         (edition): Removed.
74182         (glibc-doc-$(edition).tar): Removed
74183         (%.Z): Removed.
74184         (%.gz): Removed.
74185         (%.uu): Removed.
74186         (ETAGS): Remove, it's in Makeconfig.
74187         (move-if-change): Remove, it's in Makeconfig.
74189 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
74191         [BZ #13970]
74192         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74193         (strtod, strtof, strtold, strtol, strtoul, strtoq)
74194         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74195         (strtod_l, strtof_l, strtold_l): Remove __wur.
74196         It is not necessarily an error to ignore strtol's return value.
74197         One can reliably look at the stored endptr to decide whether
74198         the number had valid syntax.
74200 2012-04-21  Andreas Jaeger  <aj@suse.de>
74202         [BZ #13739]
74203         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74205 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
74207         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74208         * sysdeps/unix/sysv/Versions: Remove file.
74210 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
74212         [BZ #13927]
74213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74215 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
74217         [BZ #7064]
74218         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74219         version from __vm86.
74221 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
74223         * sysdeps/unix/common/lxstat.c: Remove file.
74224         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74226         * sysdeps/unix/sysv/Makefile: Remove file.
74228         * sysdeps/unix/sysv/direct.h: Remove file.
74230         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74231         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74232         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74233         * sysdeps/unix/sysv/bits/signum.h: Likewise.
74234         * sysdeps/unix/sysv/bits/stat.h: Likewise.
74235         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74236         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74238         * sysdeps/unix/sysv/setrlimit.c: Remove file.
74240         * sysdeps/unix/xmknod.c: Remove file.
74241         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74243         * sysdeps/unix/sysv/settimeofday.c: Remove file.
74245         * sysdeps/unix/sysv/i386/time.S: Remove file.
74247         * sysdeps/unix/fxstat.c: Remove file.
74248         * sysdeps/unix/xstat.c: Likewise.
74249         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74251         * sysdeps/unix/sysv/sigaction.c: Remove file.
74253         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74254         (sysdep_headers): Remove variable.
74255         [termio.h not in sysdep_headers] (generated): Likewise.
74256         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74257         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74258         * sysdeps/unix/sysv/tcdrain.c: Likewise.
74259         * sysdeps/unix/sysv/tcflow.c: Likewise.
74260         * sysdeps/unix/sysv/tcflush.c: Likewise.
74261         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74262         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74263         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74264         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74265         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74267         * sysdeps/unix/siglist.c: Remove file.
74269         * sysdeps/unix/getppid.S: Remove file.
74271         * sysdeps/unix/mkdir.c: Remove file.
74272         * sysdeps/unix/rmdir.c: Likewise.
74274 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
74276         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74277         ERR_MAX value.
74278         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74279         errlist-compat value.
74281 2012-04-18  David S. Miller  <davem@davemloft.net>
74283         * sysdeps/generic/memcopy.h (reg_char): Delete.
74284         * debug/strcat_chk.c: Use char, not reg_char.
74285         * debug/strcpy_chk.c: Likewise.
74286         * debug/strncat_chk.c: Likewise.
74287         * debug/strncpy_chk.c: Likewise.
74288         * string/memchr.c: Likewise.
74289         * string/memrchr.c: Likewise.
74290         * string/rawmemchr.c: Likewise.
74291         * string/strcat.c: Likewise.
74292         * string/strchr.c: Likewise.
74293         * string/strchrnul.c: Likewise.
74294         * string/strcmp.c: Likewise.
74295         * string/strcpy.c: Likewise.
74296         * string/strncat.c: Likewise.
74297         * string/strncmp.c: Likewise.
74298         * string/strncpy.c: Likewise.
74300 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74302         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74303         __builtin_memcopy is called when src and dest ranges are known to not
74304         overlap.
74306 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74308         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74309         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74310         fwd_align_merge macro call.
74311         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74312         bwd_align_merge macro call.
74313         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74315 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74317         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74318         bwd_align_merge macros.
74319         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74320         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74321         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74323 2012-04-18  David S. Miller  <davem@davemloft.net>
74325         * sysdeps/sparc/sparc64/memcopy.h: Delete.
74327 2012-04-18  Andreas Jaeger  <aj@suse.de>
74329         [BZ# 6794]
74330         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74331         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74332         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74334         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74335         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74336         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74338         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74339         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74340         Adjust for changed ldbl-128 files.
74342         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74343         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74344         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74346 2012-04-17  David S. Miller  <davem@davemloft.net>
74348         * sysdeps/sparc/sparc32/memcopy.h: Delete.
74350 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
74352         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74353         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74354         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74355         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74356         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74357         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74359 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74361         [BZ #6794]
74362         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74363         * math/libm-test.inc: Add ilogb errno and exception tests.
74364         * math/w_ilogb.c: New file: ilogb wrapper.
74365         * math/w_ilogbf.c: New file: ilogbf wrapper.
74366         * math/w_ilogbl.c: New file: ilogbl wrapper.
74367         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74368         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74369         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74370         exception being thrown with 0.0 as argument.
74371         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74372         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74373         exception being thrown with 0.0 as argument.
74374         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74375         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74376         exception being thrown with 0.0 as argument.
74377         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74378         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74379         exception being thrown with 0.0 as argument.
74380         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74381         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74382         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74383         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74384         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74385         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74386         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74387         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74388         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74390 2012-04-17  Petr Baudis  <pasky@ucw.cz>
74392         * include/sys/uio.h: Change __vector to __iovec to avoid clash
74393         with altivec.
74395 2012-04-16  Marek Polacek  <polacek@redhat.com>
74397         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74399 2012-04-16  Marek Polacek  <polacek@redhat.com>
74401         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74402         operands of fdivp instruction.
74404 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74406         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74407         * elf/tst-auditmod3b.c: Likewise.
74408         * elf/tst-auditmod4b.c: Likewise.
74409         * elf/tst-auditmod5b.c: Likewise.
74410         * elf/tst-auditmod6b.c: Likewise.
74411         * elf/tst-auditmod6c.c: Likewise.
74412         * elf/tst-auditmod7b.c: Likewise.
74413         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74414         * sysdeps/x86_64/preconfigure.in: Likewise.
74415         * sysdeps/x86_64/preconfigure: Regenerated.
74417 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74419         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74420         __ILP32__.
74422 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
74424         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74425         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74427 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
74429         [BZ #13973]
74430         * locale/iso-639.def: Fix gl language name. Spotted by
74431         Yaron Shahrabani.
74433 2012-04-12  Roland McGrath  <roland@hack.frob.com>
74435         [BZ #2074]
74436         * libio/libio.h (__io_write_fn): Update comment.
74438 2012-04-12  Petr Baudis  <pasky@ucw.cz>
74440         [BZ #2074]
74441         * stdio.texi (Hook Functions): The user provided writer function
74442         is not allowed to return -1.
74444 2012-04-11  David S. Miller  <davem@davemloft.net>
74446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74448 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
74450         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74451         Add a leading slash to rtkaio.
74453 2012-04-11  Jim Meyering  <meyering@redhat.com>
74455         [BZ #11959]
74456         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74457         It is not necessarily an error to ignore fwrite's return
74458         value.  One can reliably use ferror to test for errors after
74459         the fact.
74461 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74463         * bits/types.h (__snseconds_t): New type.
74464         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74466         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74467         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74468         (__SNSECONDS_T_TYPE): Likewise.
74469         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74470         (__SNSECONDS_T_TYPE): Likewise.
74471         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74472         (__SNSECONDS_T_TYPE): Likewise.
74474 2012-04-10  Andreas Jaeger  <aj@suse.de>
74476         [BZ #2636]
74477         * manual/time.texi (Processor Time): Return type of times is
74478         elapsed real time since an arbitrary point in the past.
74479         (CPU Time): Move CLK_TCK from here...
74480         (Processor Time): ...to here.  Correct description.
74481         * manual/conf.texi (Constants for Sysconf): Correct description of
74482         _SC_CLK_TCK.
74484 2012-04-10  David S. Miller  <davem@davemloft.net>
74486         [BZ #13967]
74487         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74488         where the is a gap between DT_REL(A) and DT_JMPREL.
74490 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74492         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74493         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74494         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74496 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
74498         * elf/dl-support.c (_dl_inhibit_cache): New variable.
74499         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74500         (dl_main): Handle --inhibit-cache.
74501         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74502         _dl_inhibit_cache.
74503         * elf/dl-load.c (_dl_map_object): Use it.
74504         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74506 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74508         [BZ #13872]
74509         * sysdeps/i386/fpu/e_powl.S (p78): New object.
74510         (__ieee754_powl): Saturate large exponents rather than testing for
74511         overflow of y*log2(x).
74512         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74513         * math/libm-test.inc (pow_test): Do not permit spurious overflow
74514         exceptions.
74516         [BZ #11521]
74517         * math/s_ctan.c: Include <float.h>.
74518         (__ctan): Avoid internal overflow or cancellation in calculating
74519         denominator.
74520         * math/s_ctanf.c: Likewise.
74521         * math/s_ctanl.c: Likewise.
74522         * math/s_ctanh.c: Likewise.
74523         * math/s_ctanhf.c: Likewise.
74524         * math/s_ctanhl.c: Likewise.
74525         * math/libm-test.inc (ctan_test): Add more tests.
74526         (ctanh_test): Likewise.
74527         * sysdeps/i386/fpu/libm-test-ulps: Update.
74528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74530 2012-04-09  Andreas Jaeger  <aj@suse.de>
74532         [BZ #6894]
74533         * manual/filesys.texi (Directory Entries): Mention that d_namlen
74534         is an optional BSD extension.
74536         [BZ #10254]
74537         * manual/stdio.texi (Opening Streams): Document additional fopen
74538         parameters.
74540 2012-04-09  Roland McGrath  <roland@hack.frob.com>
74542         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74543         %eax without telling the compiler.
74545 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
74547         [BZ # 13963]
74548         * manual/install.texi: Use sourceware.org.
74550 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74552         [BZ #13873]
74553         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74554         (__ieee754_pow): Generate overflow and underflow using huge*huge
74555         and tiny*tiny rather than just returning constant infinity or zero
74556         for large exponents.
74557         * math/libm-test.inc (pow_test): Require overflow exceptions for
74558         applicable cases of large exponents.
74560         [BZ #706]
74561         * sysdeps/i386/fpu/e_pow.S (p10): New object.
74562         (__ieee754_pow): Use iterative multiplication algorithm only for
74563         integer exponents with absolute value below 1024.  Check for odd
74564         integer exponents when using algorithm for real exponents.
74565         * math/libm-test.inc (pow_test): Add more tests.
74566         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74568 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
74570         [BZ #13705]
74571         * math/libm-test.inc (exp_test): Do not allow overflow exception
74572         on underflow test.
74574 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
74576         [BZ #13705]
74577         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74578         instead of __kernel_standard_f.
74580 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
74582         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74583         * sysdeps/x86_64/memset_chk.S: Likewise.
74585 2012-04-08  Andreas Jaeger  <aj@suse.de>
74587         [BZ #10153]
74588         * manual/startup.texi (Environment Access): Describe return value
74589         for putenv and setenv.
74591         [BZ #6895]
74592         * manual/filesys.texi (Directory Entries): Add description for
74593         DT_LNK.
74595         [BZ #6890]
74596         * manual/filesys.texi (Directory Entries): Clarify that it's file
74597         system not operating system in the description of DT_UNKNOWN.
74599         [BZ #6578]
74600         * manual/syslog.texi (closelog): Fix reference, it's openlog.
74602 2012-04-08  Stephen Compall  <s11@member.fsf.org>
74604         [BZ #6649]
74605         * manual/llio.texi (Opening and Closing Files): Add cross
74606         reference to explain mode argument.
74608 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
74610         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74611         * sysdeps/x86_64/memset_chk.S: Likewise.
74613 2012-04-07  David S. Miller  <davem@davemloft.net>
74615         * elf/elf.h (R_SPARC_WDISP10): Define.
74616         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74617         R_SPARC_SIZE32.
74618         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74619         R_SPARC_SIZE64 and R_SPARC_H34.
74621 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
74623         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74624         conditions and remove no longer applicable assertion.
74626 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74628         * bits/byteswap.h: Include <features.h>.
74629         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74630         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74632 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74634         * bits/byteswap.h (__bswap_16): Removed.
74635         Include <bits/byteswap-16.h> to get __bswap_16.
74636         * sysdeps/i386/bits/byteswap.h: Likewise.
74637         * sysdeps/s390/bits/byteswap.h: Likewise.
74638         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74639         * bits/byteswap-16.h: New file.
74640         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74641         * sysdeps/s390/bits/byteswap-16.h: Likewise.
74642         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74643         * string/Makefile (headers): Add bits/byteswap-16.h.
74645 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74647         [BZ #13895]
74648         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74649         extra indirection.
74650         * nss/Makefile (tests-static, tests): Add tst-nss-static.
74651         * nss/tst-nss-static.c: New.
74653 2012-04-06  Robert Millan  <rmh@gnu.org>
74655         [BZ #6486]
74656         * manual/llio.texi (File Position Primitive): lseek
74657         refers to WHENCE when it really means OFFSET.
74659 2012-04-06  Andreas Jaeger  <aj@suse.de>
74661         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74662         strncmp declarations.
74664         * abilist/libc.abilist: Add __poll and __ppoll.
74666 2012-04-05  David S. Miller  <davem@davemloft.net>
74668         * scripts/check-local-headers.sh: Accept a host triplet in the
74669         path matched by the exclude regexp.
74671         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74672         definition.
74673         * sysdeps/powerpc/powerpc32/dl-machine.h
74674         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74675         * sysdeps/s390/s390-32/dl-machine.h
74676         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74677         * sysdeps/sparc/sparc32/dl-machine.h
74678         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74679         * sysdeps/sparc/sparc64/dl-machine.h
74680         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74682         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74683         lazy binding.
74684         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74685         undefined symbol errors.
74687         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74688         DT_NEEDED entries.
74690 2012-04-05  Michael Matz  <matz@suse.de>
74692         [BZ #13592]
74693         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74695 2012-04-05  Andreas Jaeger  <aj@suse.de>
74697         [BZ #13908]
74698         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74699         comment.
74701 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74703         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74704         which ROUND is no valid rounding mode.
74706 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74708         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74709         read again.
74710         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74712 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74714         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74715         an exception using FPU order intentionally.
74717 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74719         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74720         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74721         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74722         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74724 2012-04-05  Simon Josefsson  <simon@josefsson.org>
74726         [BZ #12340]
74727         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74728         EINVAL when BUFLEN is too smal.
74730 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
74732         [BZ #13553]
74733         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74734         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74736 2012-04-03  Andreas Jaeger  <aj@suse.de>
74738         [BZ #13938]
74739         * manual/setjmp.texi (System V contexts): Fix sentence.
74741         [BZ #13926]
74742         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74743         New macro for this case.
74744         [!__GNUC__] (__bswap_64): New inline function for this case.
74745         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74746         * bits/byteswap.h: Likewise.
74747         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74748         ull, guard with __GLIBC_HAVE_LONG_LONG.
74750         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74751         __GLIBC_HAVE_LONG_LONG.
74753         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74754         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74756 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74758         [BZ #13691]
74759         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74760         inptr and inend, rather than using last_ch.
74762 2012-04-02  David S. Miller  <davem@davemloft.net>
74764         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74765         * stdio-common/printf-parse.h (read_int): Change return type to
74766         'int', return -1 on INT_MAX overflow.
74767         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74768         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
74769         overflows INT_MAX.  Check for overflow of in-format-string precision
74770         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
74771         SIZE_MAX not INT_MAX for integer overflow test.
74772         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74773         skip the construct in the format string but do not record anything.
74774         * stdio-common/bug22.c: Adjust to test both width/prevision
74775         INT_MAX overflow as well as total length INT_MAX overflow.  Check
74776         explicitly for proper errno values.
74778 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
74780         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74781         CHAR_MAX.
74782         * string/test-strcmp.c [! WIDE]: Likewise.
74783         * time/tst-mktime2.c: Likewise for INT_MAX.
74784         * string/test-string.h: #include <sys/param.h> for MIN.
74786         * csu/init-first.c (__libc_init_first): Call __ctype_init.
74787         * sysdeps/i386/init-first.c (init): Likewise.
74788         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74789         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74790         * sysdeps/sh/init-first.c (init): Likewise.
74792 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
74794         * po/ru.po: Update from translation team.
74795         * po/vi.po: Likewise.
74797 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
74799         * resolv/nss_dns/dns-host.c: Merge copyright years.
74801 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74803         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74804         Optimize memcpy with prefetch if
74805         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
74806         src, dst pointers have unequal 16 byte alignments.
74808 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
74810         [BZ #13928]
74811         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74812         from a CNAME entry and return the minimum ttl for the query.
74813         (gaih_getanswer_slice): Likewise.
74815 2012-03-30  Jeff Law  <law@redhat.com>
74817         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74818         due to long keys.
74819         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74820         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74822         * resolv/nss_dns/dns-host.c: Update copyright year.
74824 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
74826         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74827         requests to save a system call.  Fix check that all bytes are sent.
74829         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74830         comments for sendmmsg.
74832 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74834         [BZ #13691]
74835         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74836         with only 1 character between 0x0041 and 0x01b0.
74837         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74838         * wcsmbs/tst-mbsnrtowcs.c: New file.
74840 2012-03-29  David S. Miller  <davem@davemloft.net>
74842         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74843         small copies by hand.
74845 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74847         [BZ #13761]
74848         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74849         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74850         group memberships.
74852 2012-03-28  David S. Miller  <davem@davemloft.net>
74854         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74855         that branches into memcpy.
74856         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74857         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74858         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74859         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74860         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74861         bits.
74862         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74863         implementation too.
74864         * sysdeps/sparc/mempcpy.S: New file.
74866         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74867         the IFUNC routine in the libc case.
74868         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74870         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74871         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74872         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74873         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74874         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74875         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74876         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74877         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74879         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74880         loop to 256 bytes instead of 64 bytes and fix test signedness.
74882         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74883         * sysdeps/sparc/sparc32/Makefile: rather than here...
74884         * sysdeps/sparc/sparc64/Makefile: and here.
74886 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
74888         * malloc/mallocbug.c: Avoid warnings about unused variables.
74890 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
74892         [BZ #13760]
74893         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74894         in the right place. Discard and retry query if response is
74895         larger than input buffer size.
74897 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
74899         [BZ #369]
74900         [BZ #2678]
74901         [BZ #3866]
74902         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74903         x for large integer exponent.
74904         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74905         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
74906         sign of result as needed afterwards.
74907         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74908         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74909         result for underflowing pow the same as for overflow.
74910         (__kernel_standard_l): Handle powl overflow and underflow here
74911         rather than calling __kernel_standard.
74912         * math/libm-test.inc (pow_test): Add more tests.
74914         [BZ #3868]
74915         [BZ #13879]
74916         [BZ #13910]
74917         [BZ #13911]
74918         [BZ #13912]
74919         [BZ #13913]
74920         [BZ #13915]
74921         [BZ #13916]
74922         [BZ #13917]
74923         [BZ #13918]
74924         [BZ #13919]
74925         [BZ #13920]
74926         [BZ #13921]
74927         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74928         * sysdeps/ieee754/k_standard.c: Include <float.h>.
74929         (__kernel_standard_l): New function.
74930         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74931         __kernel_standard.
74932         * math/w_acosl.c (__acosl): Likewise.
74933         * math/w_asinl.c (__asinl): Likewise.
74934         * math/w_atan2l.c (__atan2l): Likewise.
74935         * math/w_atanhl.c (__atanhl): Likewise.
74936         * math/w_coshl.c (__coshl): Likewise.
74937         * math/w_exp10l.c (__exp10l): Likewise.
74938         * math/w_exp2l.c (__exp2l): Likewise.
74939         * math/w_fmodl.c (__fmodl): Likewise.
74940         * math/w_hypotl.c (__hypotl): Likewise.
74941         * math/w_j0l.c (__j0l, __y0l): Likewise.
74942         * math/w_j1l.c (__j1l, __y1l): Likewise.
74943         * math/w_jnl.c (__jnl, __ynl): Likewise.
74944         * math/w_lgammal.c (__lgammal): Likewise.
74945         * math/w_log10l.c (__log10l): Likewise.
74946         * math/w_log2l.c (__log2l): Likewise.
74947         * math/w_logl.c (__logl): Likewise.
74948         * math/w_powl.c (__powl): Likewise.
74949         * math/w_remainderl.c (__remainderl): Likewise.
74950         * math/w_scalbl.c (sysv_scalbl): Likewise.
74951         * math/w_sinhl.c (__sinhl): Likewise.
74952         * math/w_sqrtl.c (__sqrtl): Likewise.
74953         * math/w_tgammal.c (__tgammal): Likewise.
74954         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74955         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74956         * math/libm-test.inc (acos_test): Add more tests.
74957         (acosh_test): Likewise.
74958         (asin_test): Likewise.
74959         (atanh_test): Likewise.
74960         (exp_test): Likewise.
74961         (exp10_test): Likewise.
74962         (exp2_test): Likewise.
74963         (expm1_test): Likewise.
74964         (lgamma_test): Likewise.
74965         (log_test): Likewise.
74966         (log10_test): Likewise.
74967         (log1p_test): Likewise.
74968         (log2_test): Likewise.
74969         (pow_test): Do not allow some spurious overflow exceptions.
74970         (sqrt_test): Add more tests.
74971         (tgamma_test): Likewise.
74972         (y0_test): Likewise.
74973         (y1_test): Likewise.
74974         (yn_test): Likewise.
74976 2012-03-27  Anton Blanchard  <anton@samba.org>
74978         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74979         MAP_HUGETLB.
74980         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74981         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74982         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74984 2012-03-27  David S. Miller  <davem@davemloft.net>
74986         * conform/Makefile: Run run-conformtest.sh using $(BASH).
74988         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74989         have-as-vis3 check.
74991 2012-03-27  Andreas Jaeger  <aj@suse.de>
74993         * sysdeps/x86_64/elf/configure.in: Moved to ...
74994         * sysdeps/x86_64/configure.in: ... here.
74995         * sysdeps/x86_64/elf/start.S: Moved to ...
74996         * sysdeps/x86_64/start.S: ... here.
74997         * sysdeps/x86_64/elf/configure: Delete.
74999         * sysdeps/x86_64/configure.in: Merge contents from
75000         sysdeps/i386/configure.in (without i686 check).
75002         * sysdeps/i386/elf/Versions: Merge into ...
75003         * sysdeps/i386/Versions: ... this.
75004         * sysdeps/i386/elf/Versions: Delete file.
75005         * sysdeps/i386/elf/start.S: Moved to ...
75006         * sysdeps/i386/start.S: ...here.
75007         * sysdeps/i386/elf/configure.in: Merge into...
75008         * sysdeps/i386/configure.in: ...here.
75009         * sysdeps/i386/elf/configure.in: Delete file.
75010         * sysdeps/i386/elf/configure: Delete file.
75012         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
75013         * debug/backtracesyms.c: ... here.
75014         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
75015         * debug/backtracesymsfd.c: ... here.
75016         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
75017         * sysdeps/generic/ifunc-sel.h: ... here.
75019         * sysdeps/unix/i386/start.c: Delete file.
75020         * sysdeps/unix/sparc/start.c: Delete file.
75021         * sysdeps/unix/start.c: Delete file.
75023         * sysdeps/sh/elf/configure.in: Moved to ...
75024         * sysdeps/sh/configure.in: ... here.
75025         * sysdeps/sh/elf/start.S: Moved to ...
75026         * sysdeps/sh/start.S: ... here.
75027         * sysdeps/sh/elf/configure: Delete file.
75029         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
75030         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
75031         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
75032         * sysdeps/powerpc/powerpc64/entry.h: ... here.
75033         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
75034         * sysdeps/powerpc/powerpc64/start.S: here.
75035         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
75036         * sysdeps/powerpc/powerpc64/Makefile: ... this.
75037         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
75038         * sysdeps/powerpc/powerpc64/configure.in: ... this.
75039         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
75041         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
75042         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
75043         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
75044         * sysdeps/powerpc/powerpc32/start.S: ... here.
75045         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
75046         * sysdeps/powerpc/powerpc32/configure.in: ... this.
75047         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
75049         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75050         * sysdeps/powerpc/ifunc-sel.h: ... here.
75051         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
75052         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
75054         * sysdeps/sparc/elf/configure.in: Moved to ...
75055         * sysdeps/sparc/configure.in: ... here.
75056         * sysdeps/sparc/elf/configure: Delete file.
75057         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75058         * sysdeps/sparc/sparc32/start.S: ... here.
75059         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
75060         * sysdeps/sparc/sparc64/start.S: ... here.
75061         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
75062         * sysdeps/sparc/sparc32/Makefile: ... this.
75063         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
75064         * sysdeps/sparc/sparc64/Makefile: ... this.
75066         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
75067         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
75068         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
75069         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
75070         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
75071         * sysdeps/s390/s390-32/setjmp.S: ... here.
75072         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
75073         * sysdeps/s390/s390-32/configure.in: ... here.
75074         * sysdeps/s390/s390-32/elf/configure: Delete file.
75075         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
75076         * sysdeps/s390/s390-32/start.S: ... here.
75078         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
75079         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
75080         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
75081         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
75082         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
75083         * sysdeps/s390/s390-64/setjmp.S: ... here.
75084         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
75085         * sysdeps/s390/s390-64/configure.in: ... here
75086         * sysdeps/s390/s390-64/elf/configure: Delete file.
75087         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
75088         * sysdeps/s390/s390-64/start.S: ... here.
75089         * sysdeps/s390/s390-64/elf/configure: Delete.
75091         * configure.in: Remove support for elf directories in sysdeps.
75093         * configure: Regenerated.
75094         * sysdeps/i386/configure: Regenerated.
75095         * sysdeps/powerpc/powerpc32/configure: Regenerated.
75096         * sysdeps/powerpc/powerpc64/configure: Regenerated.
75097         * sysdeps/s390/s390-32/configure: Regenerated.
75098         * sysdeps/s390/s390-64/configure: Regenerated.
75099         * sysdeps/sh/configure: Regenerated.
75100         * sysdeps/sparc/configure: Regenerated.
75101         * sysdeps/x86_64/configure: Regenerated.
75103 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
75105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75107         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
75108         denormal result into account.
75110 2012-03-25  Roland McGrath  <roland@hack.frob.com>
75112         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
75113         Reported by Allan McRae <allan@archlinux.org>.
75115 2012-03-23  Jeff Law  <law@redhat.com>
75117         * nss/getnssent.c (__nss_getent): Fix typo.
75119 2012-03-23  David S. Miller  <davem@davemloft.net>
75121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75123 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
75125         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
75126         to pad to uint64_t for each field.
75127         (dl_tls_index): Replace unsigned long with uint64_t.
75129 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
75130         Paul Pluzhnikov  <ppluzhnikov@google.com>
75132         [BZ #6528]
75133         * grp/Makefile (otherlibs): Don't set it.
75134         * inet/Makefile (otherlibs): Likewise.
75135         * login/Makefile (otherlibs): Likewise.
75136         * nscd/Makefile (otherlibs): Likewise.
75137         * posix/Makefile (otherlibs): Likewise.
75138         * pwd/Makefile (otherlibs): Likewise.
75139         * rt/Makefile (otherlibs): Likewise.
75140         * sunrpc/Makefile (otherlibs): Likewise.
75141         * nss/Makefile (otherlibs): Likewise.
75142         Add libnss_files to routines and static-only-routines.
75143         ($(objpfx)getent): Remove rule.
75144         * resolv/Makefile: Add libnss_dns and libresolv to routines and
75145         static-only-routines.
75147 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75149         [BZ #13892]
75150         * math/s_cexp.c: Include <float.h>.
75151         (__cexp): Handle exp result overflowing not necessarily
75152         overflowing both real and imaginary parts of result.
75153         * math/s_cexpf.c: Likewise.
75154         * math/s_cexpl.c: Likewise.
75155         * math/libm-test.inc (cexp_test): Add more tests.
75156         * sysdeps/i386/fpu/libm-test-ulps: Update.
75157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75159 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75161         * include/link.h (ELFW): New macro.
75162         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75163         Replace ELF64_R_TYPE with ELFW(R_TYPE).
75165 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75167         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75168         with uint64_t.
75170 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75172         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75173         declaration.
75174         (struct La_x32_retval): Likewise.
75176 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75178         * sysdeps/x86_64/preconfigure.in: New file.
75179         * sysdeps/x86_64/preconfigure: New generated file.
75181 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75183         [BZ #13824]
75184         * math/e_exp2l.c: Include <float.h>.
75185         (__ieee754_exp2l): Handle overflow and underflow cases
75186         separately.  Only pass fractional part of argument to
75187         __ieee754_expl.
75188         * math/libm-test.inc (exp2_test): Add more tests.
75190         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75191         negating x to take absolute value.
75192         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75193         Likewise.
75194         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75195         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75196         Likewise.
75197         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75198         computing low part if x was negated.
75199         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75201 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75203         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75204         la_x32_gnu_pltexit.
75205         (pltexit): Cast int_retval to ptrdiff_t.
75206         * elf/tst-auditmod3b.c: Likewise.
75207         * elf/tst-auditmod4b.c: Likewise.
75208         * elf/tst-auditmod5b.c: Likewise.
75209         * elf/tst-auditmod6b.c: Likewise.
75210         * elf/tst-auditmod6c.c: Likewise.
75211         * elf/tst-auditmod7b.c: Likewise.
75213         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75214         and x32_gnu_pltexit.
75216         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75217         __ELF_NATIVE_CLASS.
75218         (La_x32_regs): New macro.
75219         (La_x32_retval): Likewise.
75220         (la_x32_gnu_pltenter): New function prototype.
75221         (la_x32_gnu_pltexit): Likewise.
75223 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
75225         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75226         exponent.
75228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75230         * configure.in (libc_cv_cc_nofma): Check for option to disable
75231         generation of FMA instructions.
75232         * configure: Regenerate.
75233         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75234         * sysdeps/ieee754/dbl-64/Makefile: New file.
75235         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75236         Remove brandred-fma4.
75237         (CFLAGS-brandred-fma4.c): Remove.
75238         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75239         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75240         define.
75241         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75242         define.
75244 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75246         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75247         LLONG_MAX != LONG_MAX.
75248         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75249         (_fitoa_word): Likewise.
75250         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75251         LLONG_MAX != LONG_MAX.
75252         * stdio-common/_itowa.h: Include <_itoa.h>.
75253         (_itowa_word): Use _ITOA_WORD_TYPE on value.
75254         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
75255         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
75256         only if not defined.
75257         (_ITOA_WORD_TYPE): Likewise.
75258         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75259         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75261 2012-03-21  David S. Miller  <davem@davemloft.net>
75263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75265 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75267         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75268         of x86_64 when setting libc_cv_slibdir, libdir and
75269         libc_cv_localedir.
75270         * sysdeps/unix/sysv/linux/configure: Regenerated.
75272 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75274         * manual/lang.texi (Old Varargs): Remove section.
75275         (How Variadic): Update menu.
75276         (va_start): Do not mention varargs.h.
75278 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75279             Joseph Myers  <joseph@codesourcery.com>
75281         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75282         link test.
75283         * configure: Regenerated.
75285 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75287         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75288         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75289         conformtest.pl
75291 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75293         * NOTES: Remove.
75294         * Makefile (files-for-dist): Remove NOTES.
75295         (NOTES): Remove rule.
75296         * README: Don't refer to NOTES.
75297         * manual/creature.texi: Don't include macros.texi.
75298         * manual/intro.texi (creature.texi): Remove comment referring to
75299         NOTES.
75301         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75302         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75303         * configure: Regenerated.
75304         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75305         LIBC_TRY_CC_OPTION.
75306         (libc_cv_as_i686): Likewise.
75307         (libc_cv_cc_avx): Likewise.
75308         (libc_cv_cc_sse2avx): Likewise.
75309         (libc_cv_cc_fma4): Likewise.
75310         (libc_cv_cc_novzeroupper): Likewise.
75311         * sysdeps/i386/configure: Regenerated.
75313         [BZ #13883]
75314         * sysdeps/i386/fpu/s_cexp.S: Remove.
75315         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75316         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75317         * math/libm-test.inc (cexp_test): Add more tests.
75318         * sysdeps/i386/fpu/libm-test-ulps: Update.
75319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75321 2012-03-21  Allan McRae  <allan@archlinux.org>
75323         * timezone/Makefile: Do not install iso3166.tab and zone.tab
75325 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75327         [BZ #13871]
75328         * math/w_exp2.c: Do not include <float.h>.
75329         (o_threshold, u_threshold): Remove.
75330         (__exp2): Calculate result before checking finiteness and calling
75331         __kernel_standard.
75332         * math/w_exp2f.c: Likewise.
75333         * math/w_exp2l.c: Likewise.
75334         * math/libm-test.inc (exp2_test): Require overflow exception for
75335         1e6 input.
75337         [BZ #3866]
75338         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75339         range of signed 64-bit integers before using fistpll.  Remove
75340         checks for whether integers fit in mantissa bits.
75341         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75342         the range of signed 32-bit integers before using fistpl.  Remove
75343         checks for whether integers fit in mantissa bits.
75344         * sysdeps/i386/fpu/e_powl.S (p64): New object.
75345         (__ieee754_powl): Test for y outside the range of signed 64-bit
75346         integers before using fistpll.  Reduce 64-bit values to 63-bit
75347         ones as needed.
75348         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75349         divide-by-zero is raised for zero to large negative powers.
75350         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75351         (__ieee754_powl): Test for y outside the range of signed 64-bit
75352         integers before using fistpll.  Reduce 64-bit values to 63-bit
75353         ones as needed.
75354         * math/libm-test.inc (pow_test): Add more tests.
75356 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75358         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75359         <stdio-common/_itoa.h>.
75360         * debug/segfault.c: Likewise.
75361         * elf/dl-cache.c: Likewise.
75362         * elf/dl-minimal.c: Likewise.
75363         * elf/dl-misc.c: Likewise.
75364         * elf/dl-sysdep.c: Likewise.
75365         * elf/dl-version.c: Likewise.
75366         * elf/rtld.c: Likewise.
75367         * hurd/hurdsock.c: Likewise.
75368         * hurd/lookup-retry.c: Likewise.
75369         * malloc/malloc.c: Likewise.
75370         * malloc/mtrace.c: Likewise.
75371         * nscd/nscd_getgr_r.c: Likewise.
75372         * nscd/nscd_getpw_r.c: Likewise.
75373         * nscd/nscd_getserv_r.c: Likewise.
75374         * posix/getopt_init.c: Likewise.
75375         * posix/wordexp.c: Likewise.
75376         * stdio-common/_itoa.c: Likewise.
75377         * stdio-common/printf_fphex.c: Likewise.
75378         * stdio-common/vfprintf.c: Likewise.
75379         * string/_strerror.c: Likewise.
75380         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75381         * sysdeps/i386/i686/hp-timing.h: Likewise.
75382         * sysdeps/mach/_strerror.c: Likewise.
75383         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75384         * sysdeps/mach/hurd/sethostid.c: Likewise.
75385         * sysdeps/mach/hurd/xmknodat.c: Likewise.
75386         * sysdeps/mach/xpg-strerror.c: Likewise.
75387         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75388         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75389         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75390         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75391         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75392         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75393         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75394         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75395         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75396         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75397         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75398         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75399         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75400         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75401         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75402         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75403         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75404         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75405         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75406         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75407         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75409         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75411         * stdio-common/_itoa.h: Moved to ...
75412         * sysdeps/generic/_itoa.h: Here.
75414         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75416         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75417         instead of "_itoa.h" and "_itowa.h".
75418         * stdio-common/vfprintf.: Likewise.
75420 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75422         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75423         <bits/wordsize.h>.
75424         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75425         (__signbit): Likewise.
75426         (llrintf): Likewise.
75427         (llrint): Likewise.
75429 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75431         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75432         __WORDSIZE != 64.
75434 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
75436         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75437         OVERFLOW_EXCEPTION_OK.
75438         * math/libm-test.inc ("Philosophy"): Update comment about
75439         exception testing.
75440         (OVERFLOW_EXCEPTION): Define.
75441         (OVERFLOW_EXCEPTION_OK): Likewise.
75442         (INVALID_EXCEPTION_OK): Renumber.
75443         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75444         (IGNORE_ZERO_INF_SIGN): Likewise.
75445         (test_exceptions): Handle FE_OVERFLOW.
75446         (exp10_test): Expect overflow exceptions.
75447         (exp2_test): Likewise.
75448         (expm1_test): Likewise.
75449         (nextafter_test): Likewise.
75450         (pow_test): Likewise.
75451         (scalbn_test): Likewise.
75452         (scalbln_test): Likewise.
75454 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75456         * sysdeps/x86_64/bits/atomic.h
75457         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75458         64bit integer.
75459         (atomic_exchange_acq): Likewise.
75460         (__arch_exchange_and_add_body): Likewise.
75461         (__arch_add_body): Likewise.
75462         (atomic_add_negative): Likewise.
75463         (atomic_add_zero): Likewise.
75465 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75467         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75468         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75470 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75472         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75473         Check __x86_64__ instead of __WORDSIZE.
75475 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75477         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75479 2012-03-19  David S. Miller  <davem@davemloft.net>
75481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75483         * sysdeps/sparc/fpu/fenv_private.h: New file.
75484         * sysdeps/sparc/fpu/math_private.h: Use it.
75485         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75486         Remove.
75487         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75488         (libc_feholdexcept_setroundl): Remove.
75489         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75490         Remove.
75491         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75492         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75494 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75496         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75497         int64_t instead of long int.
75498         (INSERT_WORDS64): Likewise.
75500 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75502         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75503         _Unwind_GetCFA return to _Unwind_Ptr first.
75505 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
75507         [BZ #13629]
75508         * math/s_clog.c: Include <float.h>.
75509         (__clog): Scale large or subnormal inputs.
75510         * math/s_clogf.c: Likewise.
75511         * math/s_clogl.c: Likewise.
75512         * math/s_clog10.c: Include <float.h>.
75513         (M_LOG10_2): Define.
75514         (__clog10): Scale large or subnormal inputs.
75515         * math/s_clog10f.c: Likewise.
75516         * math/s_clog10l.c: Likewise.
75517         * math/libm-test.inc (clog_test): Add more tests.
75518         (clog10_test): Likewise.
75519         * sysdeps/i386/fpu/libm-test-ulps: Update.
75520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75522         [BZ #11451]
75523         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75524         x and y.
75525         * math/libm-test.inc (atan2_test): Add another test.
75527         * Makerules (common-objdir-compile): Remove.
75528         * sysdeps/unix/Makefile (config-generated): Do not add
75529         $(unix-generated) to variable.
75530         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75531         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75532         Remove rule.
75533         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75534         Likewise.
75535         [generic bits/local_lim.h] (before-compile): Do not append to
75536         variable.
75537         [generic bits/local_lim.h] (common-generated): Likewise.
75538         [generic sys/param.h] (before-compile): Do not append to variable.
75539         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75540         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75541         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75542         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75543         include.
75544         [generic sys/param.h] (sys/param.h-includes): Remove variable.
75545         [generic sys/param.h] (sys/param.h-includes): Remove rule.
75546         [generic sys/param.h] ($(addprefix
75547         $(common-objpfx),$(sys/param.h-includes))): Likewise.
75548         [generic sys/param.h] (common-generated): Do not append to
75549         variable.
75550         [generic sys/param.h] (sysdep_headers): Likewise.
75551         [generic bits/errno.h] (before-compile): Do not append to
75552         variable.
75553         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75554         rule.
75555         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75556         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75557         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75558         [generic bits/errno.h] (common-generated): Do not append to
75559         variable.
75560         [generic bits/ioctls.h] (before-compile): Do not append to
75561         variable.
75562         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75563         rule.
75564         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75565         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75566         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75567         rule.
75568         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75569         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75570         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75571         [generic bits/ioctls.h] (common-generated): Do not append to
75572         variable.
75573         [generic sys/syscall.h] (syscall.h): Remove variable.
75574         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75575         rule.
75576         [generic sys/syscall.h] (before-compile): Do not append to
75577         variable.
75578         [generic sys/syscall.h] (common-generated): Likewise.
75579         * sysdeps/unix/errnos-tmpl.c: Remove file.
75580         * sysdeps/unix/errnos.awk: Likewise.
75581         * sysdeps/unix/ioctls-tmpl.c: Likewise.
75582         * sysdeps/unix/ioctls.awk: Likewise.
75583         * sysdeps/unix/mk-local_lim.c: Likewise.
75584         * sysdeps/unix/snarf-ioctls: Likewise.
75586 2012-03-19  Richard Henderson  <rth@twiddle.net>
75588         * sysdeps/i386/fpu/fenv_private.h: New file.
75589         * sysdeps/i386/fpu/math_private.h: Use it.
75590         (math_opt_barrier, math_force_eval): Remove.
75591         (libc_feholdexcept_setround_53bit): Remove.
75592         (libc_feupdateenv_53bit): Remove.
75593         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75594         (math_opt_barrier, math_force_eval): Remove.
75595         (libc_feholdexcept): Remove.
75596         (libc_feholdexcept_setround): Remove.
75597         (libc_fetestexcept, libc_fesetenv): Remove.
75598         (libc_feupdateenv_test): Remove.
75599         (libc_feupdateenv, libc_feholdsetround): Remove.
75600         (libc_feresetround): Remove.
75602         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75603         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75605         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75606         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75607         (libc_feupdateenv_testl): New.
75608         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75609         (libc_feupdateenv_testf): New.
75610         (libc_feupdateenv): Use libc_feupdateenv_test.
75611         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75612         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75614         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75615         (libc_feholdsetroundf, libc_feholdsetroundl): New.
75616         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75617         (libc_feresetround_noex): New.
75618         (libc_feresetround_noexf): New.
75619         (libc_feresetround_noexl): New.
75620         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75621         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75622         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75623         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75624         SET_RESTORE_ROUND.
75625         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75626         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75627         (__cos): Likewise.
75628         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75629         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75630         SET_RESTORE_ROUND_NOEX.
75631         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75632         SET_RESTORE_ROUND_NOEXF.
75633         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75634         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75635         (libc_feholdsetroundf): New.
75636         (libc_feresetround, libc_feresetroundf): New.
75638         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75639         (libc_feholdexcept_setround_53bit): Convert from macro to function.
75640         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
75642         * sysdeps/generic/math_private.h: Include <fenv.h>.
75643         (default_libc_feholdexcept): New.
75644         (default_libc_feholdexcept_setround): New.
75645         (default_libc_fesetenv, default_libc_feupdateenv): New.
75646         (libc_feholdexcept): Only define if undefined.
75647         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75648         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75649         (libc_feholdexcept_setroundl): Likewise.
75650         (libc_feholdexcept_setround_53bit): Likewise.
75651         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75652         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75653         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75654         (libc_feupdateenv_53bit): Likewise.
75655         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75656         (libc_feholdexcept): Convert from macro to inline function.
75657         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75658         (libc_fesetenv, libc_feupdateenv): Likewise.
75660         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75661         not previously defined.
75662         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75663         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75664         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75665         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75666         * sysdeps/ieee754/flt-32/math_private.h: New file.
75667         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75668         math_private.h below SET_FLOAT_WORD.
75669         (__isnan, __isinf_ns, __finite): Remove.
75670         (__isnanf, __isinf_nsf, __finitef): Remove.
75672 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
75674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75676 2012-03-17  David S. Miller  <davem@davemloft.net>
75678         [BZ #6471]
75679         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75680         for 2.16.
75682 2012-03-16  David S. Miller  <davem@davemloft.net>
75684         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75685         warnings.
75687         [BZ #6471]
75688         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75689         properly.
75690         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75691         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75692         sysdep_routines when subdir is sysvipc.
75693         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75694         __getshmlba helper.
75696         * sysdeps/sparc/fpu/libm-test/ulps: Update.
75698 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75700         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75701         [__LP64__].
75703 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75705         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75706         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75707         (__lround): Renamed to ...
75708         (__llround): This.  Replace long int with long long int.
75709         Define lround functions as aliases of llround functions.
75710         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75712 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75714         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75715         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
75716         adresses to uintptr_t.  Replace "long int" and "unsigned long
75717         int" with "greg_t" on va_arg.
75719 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75721         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75722         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75724         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75725         Move e_machine check before EI_CLASS check.  Handle x32
75726         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75727         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75728         SKIP_EM_IA_64 and include
75729         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75731         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75732         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75733         (add_system_dir): New macro.
75735         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75736         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75738 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75740         [BZ #2551]
75741         [BZ #2552]
75742         [BZ #2553]
75743         [BZ #2554]
75744         [BZ #2562]
75745         [BZ #2563]
75746         [BZ #2565]
75747         [BZ #2566]
75748         [BZ #2576]
75749         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75750         (y0): Likewise.
75751         * math/w_j0f.c (j0f): Likewise.
75752         (y0f): Likewise.
75753         * math/w_j0l.c (__j0l): Likewise.
75754         (__y0l): Likewise.
75755         * math/w_j1.c (j1): Likewise.
75756         (y1): Likewise.
75757         * math/w_j1f.c (j1f): Likewise.
75758         (y1f): Likewise.
75759         * math/w_j1l.c (__j1l): Likewise.
75760         (__y1l): Likewise.
75761         * math/w_jn.c (jn): Likewise.
75762         (yn): Likewise.
75763         * math/w_jnf.c (jnf): Likewise.
75764         (ynf): Likewise.
75765         * math/w_jnl.c (__jnl): Likewise.
75766         (__ynl): Likewise.
75767         * math/libm-test.inc (j0_test): Add more tests.
75768         (j1_test): Likewise.
75769         (jn_test): Likewise.  Add trailing semicolon to existing test.
75770         (y0_test): Likewise.
75771         (y1_test): Likewise.
75772         * sysdeps/i386/fpu/libm-test-ulps: Update.
75773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75775         [BZ #13851]
75776         [BZ #13854]
75777         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75778         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75779         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75780         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75781         (__tanl): Set errno for infinite argument.
75782         * sysdeps/i386/fpu/mptan.c: Remove.
75783         * sysdeps/i386/fpu/s_tan.S: Likewise.
75784         * sysdeps/i386/fpu/s_tanl.S: Likewise.
75785         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75786         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75787         * math/libm-test.inc (tan_test): Add more tests and enable more
75788         tests for double and long double.
75789         * sysdeps/i386/fpu/libm-test-ulps: Update.
75790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75792 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
75794         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75795         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75797 2012-03-16  Roland McGrath  <roland@hack.frob.com>
75799         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75800         * configure.in: Use it for both main tree and add-ons.
75801         * configure: Regenerated.
75803 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75805         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75807 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75809         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75810         in comment.
75812         [BZ #13851]
75813         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75814         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75815         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75816         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75817         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75818         infinite argument.
75819         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75820         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75821         != 0 for prec == 2.
75822         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75823         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75824         * sysdeps/i386/fpu/s_cosl.S: Likewise.
75825         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75826         * sysdeps/i386/fpu/s_sinl.S: Likewise.
75827         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75828         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75829         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75830         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75831         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75832         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75833         * math/libm-test.inc (cos_test): Add more tests and enable more
75834         tests for long double.
75835         (sin_test): Likewise.
75836         (sincos_test): Likewise.
75837         * sysdeps/i386/fpu/libm-test-ulps: Update.
75838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75840 2012-03-16  David S. Miller  <davem@davemloft.net>
75842         * sysdeps/sparc/fpu/math_private.h: New file.
75844 2012-03-15  David S. Miller  <davem@davemloft.net>
75846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75847         file.
75848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75850         file.
75851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75854         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75855         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75856         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75857         sysdep routines.
75858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75860         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75861         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75863         * sysdeps/sparc/sparc-ifunc.h: New file.
75864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75865         sparc-ifunc.h
75866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75868         Likewise.
75869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75870         Likewise.
75871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75875         Likewise.
75876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75881         Likewise.
75882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75883         Likewise.
75884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75890         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75891         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75892         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75893         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75897         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75898         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75900         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75901         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75902         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75903         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75904         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75905         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75906         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75907         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75909 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75911         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75912         scaling.
75913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75915 2012-03-15  Andreas Jaeger  <aj@suse.de>
75917         [BZ #13852]
75918         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75919         ieee754/flt-32 implementation for sin, cos and sincos.
75920         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75921         * sysdeps/i386/fpu/s_cosf.S: Likewise.
75922         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75923         * sysdeps/i386/fpu/s_sinf.S: Likewise.
75924         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75925         ieee754/flt-32 implementation for tan.
75927         * math/libm-test.inc (cos_test): Enable some large input tests for
75928         float as well
75929         (sin_test): Likewise.
75930         (sincos_test): Likewise.
75931         (tan_test): Add tests for large input.
75933         * sysdeps/i386/fpu/libm-test-ulps: Update.
75935 2012-03-15  Andreas Jaeger  <aj@suse.de>
75937         [BZ #13658]
75938         * math/libm-test.inc (cos_test): Add more test cases.
75939         (sin_test): Likewise.
75940         (sincos_test): Likewise.
75942 2012-03-15  Andreas Jaeger  <aj@suse.de>
75944         [BZ #13837]
75945         * math/libm-test.inc (cos_test): Add a test case for large input
75946         value.
75947         (sin_test): Likewise.
75948         (sincos_test): Likewise.
75950 2012-03-15  Andreas Jaeger  <aj@suse.de>
75951             Joseph Myers  <joseph@codesourcery.com>
75953         [BZ #13658]
75954         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75955         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75956         * sysdeps/i386/fpu/branred.c: Likewise.
75957         * sysdeps/i386/fpu/dosincos.c: Likewise.
75958         * sysdeps/i386/fpu/mpa.c: Likewise.
75959         * sysdeps/i386/fpu/s_cos.S: Likewise.
75960         * sysdeps/i386/fpu/s_sin.S: Likewise.
75961         * sysdeps/i386/fpu/s_sincos.S: Likewise.
75962         * sysdeps/i386/fpu/sincos32.c: Likewise.
75964         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75965         Define.
75966         (libc_feupdateenv_53bit): Define.
75967         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75968         Define.
75969         (libc_feupdateenv_53bit): Define.
75971         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75972         53 bit (without extend i386 double precision).
75974         * math/libm-test.inc (sincos_test): Add tests for large input.
75975         (sin): Likewise.
75976         (cos): Likewise.
75978         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75980 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75984 2012-03-15  David S. Miller  <davem@davemloft.net>
75986         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75987         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75988         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75989         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75999         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
76000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
76001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
76002         file.
76003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
76004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
76005         file.
76006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
76007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
76008         file.
76009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
76010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
76011         file.
76012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
76013         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
76014         fmin/fmax sysdep routines.
76015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76017 2012-03-14  David S. Miller  <davem@davemloft.net>
76019         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
76020         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76021         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
76022         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
76023         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
76024         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
76025         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
76026         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
76027         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
76028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
76029         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
76030         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
76031         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
76032         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
76033         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
76034         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
76035         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
76036         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
76037         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
76038         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
76039         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
76040         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
76041         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
76042         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
76043         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
76044         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
76045         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
76046         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
76047         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
76048         routines.
76049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
76050         file.
76051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
76052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
76053         file.
76054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
76055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
76056         file.
76057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
76058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
76059         file.
76060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
76061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
76062         file.
76063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
76064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
76065         file.
76066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
76067         file.
76068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
76069         file.
76070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
76071         file.
76072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
76073         New file.
76074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
76075         file.
76076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
76077         file.
76078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
76079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
76080         file.
76081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
76082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
76083         file.
76084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
76085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
76086         file.
76087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
76088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
76089         VIS3 routines.
76091         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
76092         New file.
76094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76096         * sysdeps/sparc/configure.in: New file.
76097         * sysdeps/sparc/configure: Generate.
76098         * configure.in (libc_cv_sparc_as_vis3): Substitute.
76099         * configure: Regenerate.
76100         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
76101         * config.make.in (have-as-vis3): New.
76102         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
76103         available use -Av9d instead of -Av9a.
76104         * sysdeps/sparc/sparc64/Makefile: Likewise.
76105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
76106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
76107         New file.
76108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
76109         file.
76110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
76111         New file.
76112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
76113         file.
76114         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
76115         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
76116         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
76117         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
76118         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
76120         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
76121         fzeros/fnegs to load 0x80000000 into a float register instead of
76122         using the stack.
76123         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
76125 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
76127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76128         bits/syscall.h.
76129         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
76130         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
76131         ($(inst_includedir)/bits/syscall.h): Remove rule.
76132         ($(objpfx)bits/syscall.d): Include instead of
76133         $(objpfx)syscall-list.d.
76134         (generated): Change syscall-list.h and syscall-list.d to
76135         bits/syscall.h and bits/syscall.d.
76137 2012-03-14  Roland McGrath  <roland@hack.frob.com>
76139         [BZ #13846]
76140         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
76142 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
76144         [BZ #13841]
76145         * math/s_csqrt.c: Include <float.h>.
76146         (__csqrt): Scale large or subnormal inputs.
76147         * math/s_csqrtf.c: Likewise.
76148         * math/s_csqrtl.c: Likewise.
76149         * math/libm-test.inc (csqrt_test): Add more tests.
76150         * sysdeps/i386/fpu/libm-test-ulps: Update.
76151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76153         [BZ #13840]
76154         * math/libm-test.inc (hypot_test): Add more tests.
76156 2012-03-13  David S. Miller  <davem@davemloft.net>
76158         [BZ #13840]
76159         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76160         double-precision for the calculation instead of scaling.
76162 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
76164         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76165         manipulate bits before adding and subtracting TWO52[sx].
76166         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76167         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76168         Likewise.
76169         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76171 2012-03-13  David S. Miller  <davem@davemloft.net>
76173         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76174         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76175         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76176         rtld-global-offsets.h
76177         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76179         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76180         large parameters.
76182         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76184         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76185         'err' in the ifdef scope in which it is actually used.
76187         * nss/nss_db/db-init.c: Include string.h
76189 2012-03-12  David S. Miller  <davem@davemloft.net>
76191         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76192         masking out of the most significant byte of random value used.
76193         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76194         Fix coding style in previous change.
76196         * sysdeps/unix/sysv/linux/kernel-features.h
76197         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76198         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76199         expression.
76200         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76201         later.
76203 2012-03-11  David S. Miller  <davem@davemloft.net>
76205         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76206         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76207         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76208         for 'resultvar' otherwise things get truncated on 64-bit.
76210         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76211         Fix masking out of the most significant byte of random value used.
76213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76215 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
76217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76219 2012-03-09  David S. Miller  <davem@davemloft.net>
76221         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76222         variables with appropriate CPP guards.
76223         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76224         from the frame pointer, not the stack pointer.  Correct layout
76225         comments.  Fix test on resulting framesize and the management of
76226         the outregs buffer for pltexit.  Preserve floating point return
76227         values across _dl_call_pltexit call.
76228         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76229         framesize and the management of the outregs buffer for pltexit.
76230         Preserve floating point return values across _dl_call_pltexit
76231         call.
76232         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76233         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76234         (la_sparc64_gnu_pltexit): New functions.
76235         (print_exit): Fix format string for return register value.
76237 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
76239         * sunrpc/Makefile (others): Add rpcgen.
76240         ($(objpfx)rpcgen): Remove special build rule and dependency on
76241         libc.
76242         * sunrpc/rpcgen.c: New file.
76244 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
76246         [BZ #13673]
76247         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76248         * stdio-common/bug-vfprintf-nargs.c: Likewise.
76249         * sysdeps/i386/crti.S: Likewise.
76250         * sysdeps/i386/crtn.S: Likewise.
76251         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76252         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76253         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76254         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76255         * sysdeps/sh/crti.S: Likewise.
76256         * sysdeps/sh/crtn.S: Likewise.
76257         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76259         [BZ #13673]
76260         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76261         with URL.
76262         * locale/programs/locfile-kw.gperf: Likewise.
76263         * locale/programs/charmap-kw.h: Regenerated.
76264         * locale/programs/locfile-kw.h: Likewise.
76266         [BZ #13673]
76267         * intl/plural.y: Replace FSF snail mail address with URL.
76268         * intl/plural.c: Regenerated.
76270 2012-03-09  Richard Henderson  <rth@twiddle.net>
76272         * include/math_private.h: Remove file.
76273         * math/math_private.h: Move file ...
76274         * sysdeps/generic/math_private.h: ... here.
76276         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76277         * sysdeps/powerpc/fpu/math_private.h: Likewise.
76278         * sysdeps/x86_64/fpu/math_private.h: Likewise.
76280         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76281         and <math_private.h>.
76282         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76283         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76284         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76285         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76286         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76287         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76288         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76289         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76290         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76291         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76292         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76293         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76294         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76295         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76296         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76297         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76298         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76299         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76300         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76301         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76302         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76303         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76304         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76305         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76306         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76307         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76308         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76309         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76310         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76311         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76312         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76313         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76314         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76315         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76316         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76317         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76318         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76319         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76320         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76321         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76322         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76323         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76324         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76325         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76326         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76327         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76328         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76329         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76330         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76331         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76332         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76333         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76334         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76335         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76336         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76337         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76338         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76339         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76340         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76341         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76342         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76343         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76344         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76345         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76346         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76347         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76348         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76349         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76350         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76351         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76352         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76353         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76354         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76355         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76356         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76357         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76358         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76359         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76360         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76361         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76362         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76363         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76364         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76365         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76366         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76367         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76368         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76369         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76370         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76371         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76372         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76373         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76374         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76375         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76376         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76377         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76378         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76379         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76380         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76381         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76382         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76383         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76384         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76385         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76386         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76387         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76388         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76389         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76390         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76391         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76392         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76393         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76394         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76395         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76396         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76397         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76398         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76399         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76400         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76401         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76402         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76403         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76404         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76405         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76406         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76407         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76408         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76409         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76410         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76411         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76412         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76413         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76414         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76415         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76416         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76417         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76418         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76419         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76420         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76421         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76422         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76423         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76424         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76425         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76426         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76427         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76428         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76429         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76430         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76431         * sysdeps/ieee754/k_standard.c: Likewise.
76432         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76433         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76434         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76435         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76436         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76437         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76438         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76439         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76440         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76441         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76442         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76443         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76444         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76445         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76446         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76447         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76448         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76449         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76450         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76451         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76452         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76453         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76454         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76455         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76456         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76457         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76458         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76459         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76460         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76461         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76462         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76463         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76464         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76465         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76466         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76467         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76468         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76469         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76470         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76471         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76472         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76473         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76474         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76475         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76476         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76477         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76478         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76479         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76480         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76481         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76482         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76483         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76484         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76485         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76486         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76487         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76488         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76489         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76490         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76491         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76492         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76493         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76494         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76495         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76496         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76497         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76498         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76499         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76500         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76501         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76502         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76503         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76504         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76505         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76506         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76507         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76508         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76509         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76510         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76511         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76512         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76513         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76514         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76515         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76516         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76517         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76518         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76519         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76520         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76521         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76522         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76523         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76524         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76525         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76526         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76527         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76528         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76529         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76530         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76531         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76532         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76533         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76534         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76535         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76536         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76537         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76538         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76539         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76540         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76541         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76542         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76543         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76544         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76545         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76546         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76547         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76548         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76549         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76550         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76551         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76552         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76553         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76554         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76555         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76556         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76557         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76558         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76559         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76560         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76561         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76562         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76563         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76564         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76565         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76566         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76567         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76568         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76569         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76570         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76571         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76572         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76573         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76574         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76575         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76576         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76577         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76578         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76579         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76580         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76581         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76582         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76583         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76584         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76585         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76586         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76587         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76588         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76589         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76590         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76591         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76592         * sysdeps/ieee754/s_lib_version.c: Likewise.
76593         * sysdeps/ieee754/s_matherr.c: Likewise.
76594         * sysdeps/ieee754/s_signgam.c: Likewise.
76595         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76596         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76597         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76598         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76599         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76600         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76601         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76602         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76603         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76604         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76605         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76606         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76607         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76608         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76609         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76610         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76611         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76612         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76613         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76614         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76615         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76617 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76619         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76620         * sunrpc/rpc_main.c: Likewise.
76621         * sunrpc/rpc_svcout.c: Likewise.
76623 2012-03-09  David S. Miller  <davem@davemloft.net>
76625         * include/math_private.h: New file.
76627 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76629         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76630         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76631         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76632         from <bits/socket_type.h>.
76633         (enum __socket_type): Don't define here.
76634         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76635         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76636         bits/socket_type.h.
76638         [BZ #13566]
76639         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76640         checking __USE_GNU.
76642         * Makerules ($(inst_includedir)/%.h): New rule.
76643         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76644         (install-others): Remove variable setting.
76645         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76647 2012-03-08  Richard Henderson  <rth@twiddle.net>
76649         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76650         from macro to inline function; merge with the
76651         !__LIBC_INTERNAL_MATH_INLINES version.
76652         (__ieee754_sqrtf): Likewise.
76654         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76655         to inline function.
76656         (__rintf, __floor, __floorf): Likewise.
76658         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76659         macro to inline function.
76660         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76662         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76663         not <math/math_private.h>.
76665 2012-03-08  David S. Miller  <davem@davemloft.net>
76667         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76668         copyright year.
76669         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76671 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
76673         * resolv/gai_misc.c (handle_requests): Fix struct timespec
76674         normalization.
76675         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76676         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76678 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
76680         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
76681         be defined individually, they must be defined as a block.  Define
76682         S for printing a string instead of hidint the different by using a
76683         macro for adding the 'l'.
76684         * stdio-common/tst-fphex-wide.c: Adjust.
76686 2012-03-07  Marek Polacek  <polacek@redhat.com>
76688         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76690 2012-03-08  Marek Polacek  <polacek@redhat.com>
76692         [BZ #13806]
76693         * stdio-common/Makefile (tests): Add tst-fphex-wide.
76694         * stdio-common/tst-fphex.c: Define a few macros to make the
76695         test reusable.  Use them.
76696         * stdio-common/tst-fphex-wide.c: New file.
76698 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
76700         [BZ #6911]
76701         * manual/macros.texi (gnusystems): New macro.
76702         (nongnusystems): Likewise.
76703         (gnulinuxhurdsystems): Likewise.
76704         (gnuhurdsystems): Likewise..
76705         (gnulinuxsystems): Likewise.
76706         * manual/charset.texi: Use new macros or @theglibc{} to refer to
76707         variants of the GNU system, not "GNU system".
76708         * manual/conf.texi: Likewise.
76709         * manual/errno.texi: Likewise.  Update example of errno macro
76710         expansion.
76711         * manual/filesys.texi: Likewise.
76712         (getumask): Document as specific to GNU/Hurd.
76713         * manual/install.texi: Likewise.  Reword some references to
76714         GNU/Linux.
76715         * manual/intro.texi: Likewise.
76716         * manual/io.texi: Likewise.
76717         (File Name Portability): Detail which constraints are inapplicable
76718         to all GNU systems and which are only inapplicable to GNU/Hurd.
76719         * manual/job.texi: Likewise.
76720         * manual/llio.texi: Likewise.
76721         (O_NOCTTY): Document as present on GNU/Linux.
76722         * manual/maint.texi: Likewise.
76723         * manual/memory.texi: Likewise.
76724         * manual/pattern.texi: Likewise.
76725         * manual/pipe.texi: Likewise.
76726         * manual/process.texi: Likewise.
76727         * manual/resource.texi: Likewise.
76728         (RUSAGE_CHILDREN): Remove statement about specifying a particular
76729         child on GNU/Hurd.
76730         * manual/setjmp.texi: Likewise.
76731         * manual/signal.texi: Likewise.
76732         * manual/startup.texi: Likewise.
76733         * manual/stdio.texi: Likewise.
76734         * manual/terminal.texi: Likewise.
76735         (ONLCR): Document as POSIX.
76736         (OXTABS): Document availability on GNU/Linux as XTABS.
76737         (ONOEOT): Document availability separately from other bits.
76738         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76739         * manual/time.texi: Likewise.
76740         * manual/users.texi: Likewise.
76741         * INSTALL: Regenerated.
76742         * sysdeps/gnu/errlist.c: Regenerated.
76744         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76745         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76746         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
76747         puts.
76748         * configure: Regenerated.
76750 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
76752         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76753         default includes instead of AC_HEADER_CHECK.
76754         * sysdeps/i386/configure: Regenerated.
76756         [BZ #10716]
76757         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76758         * math/s_cacoshf.c (__cacoshf): Likewise.
76759         * math/s_cacoshl.c (__cacoshl): Likewise.
76760         * math/s_casinh.c (__casinh): Set signs of result from argument.
76761         * math/s_casinhf.c (__casinhf): Likewise.
76762         * math/s_casinhl.c (__casinhl): Likewise.
76763         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76764         (casinh_test): Add more tests.
76765         * sysdeps/i386/fpu/libm-test-ulps: Update.
76766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76768 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
76770         * po/zh_TW.po: Update from translation team.
76772         * login/Makefile (distribute): Remove variable.
76773         * catgets/Makefile: Likewise.
76774         * mach/Makefile: Likewise.
76775         * malloc/Makefile: Likewise.
76776         * misc/Makefile: Likewise.
76777         * iconv/Makefile: Likewise.
76778         * nscd/Makefile: Likewise.
76779         * hurd/Makefile: Likewise.
76780         * manual/Makefile: Likewise.
76781         * locale/Makefile: Likewise.
76782         * intl/Makefile: Likewise.
76783         * conform/Makefile: Likewise.
76784         * nss/Makefile: Likewise.
76785         * time/Makefile: Likewise.
76786         * soft-fp/Makefile: Likewise.
76787         * dirent/Makefile: Likewise.
76788         * gmon/Makefile: Likewise.
76789         * po/Makefile: Likewise.
76790         * rt/Makefile: Likewise.
76791         * socket/Makefile: Likewise.
76792         * math/Makefile: Likewise.
76793         * signal/Makefile: Likewise.
76794         * debug/Makefile: Likewise.
76795         * elf/Makefile: Likewise.
76796         * timezone/Makefile: Likewise.
76797         * stdlib/Makefile: Likewise.
76798         * iconvdata/Makefile: Likewise.
76799         * sunrpc/Makefile: Likewise.
76800         * io/Makefile: Likewise.
76801         * argp/Makefile: Likewise.
76802         * inet/Makefile: Likewise.
76803         * hesiod/Makefile: Likewise.
76804         * grp/Makefile: Likewise.
76805         * csu/Makefile: Likewise.
76806         * wctype/Makefile: Likewise.
76807         * crypt/Makefile: Likewise.
76808         * libio/Makefile: Likewise.
76809         * string/Makefile: Likewise.
76810         * nis/Makefile: Likewise.
76811         * resolv/Makefile: Likewise.
76812         * stdio-common/Makefile: Likewise.
76813         * wcsmbs/Makefile: Likewise.
76814         * dlfcn/Makefile: Likewise.
76815         * posix/Makefile: Likewise.
76817         [BZ #6959]
76818         * timezone/Makefile: Don't install timezone files, just the programs
76819         and scripts.
76821 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
76823         * nss/databases.def: Add missing gshadow entry.
76825         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
76827 2012-03-06  Marek Polacek  <polacek@redhat.com>
76829         [BZ #13726]
76830         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76831         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76832         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76833         * stdio-common/tst-long-dbl-fphex.c: New file.
76835 2012-03-06  David S. Miller  <davem@davemloft.net>
76837         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76838         (set_obp_int): New function.
76839         (get_obp_int): New function.
76840         (__get_clockfreq_via_dev_openprom): Likewise.
76841         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76842         Avoid unused variable warnings on 'val' and use builtin_expect.
76843         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76844         __builtin_expect.
76845         (INLINE_CLONE_SYSCALL): Likewise.
76847 2012-03-05  David S. Miller  <davem@davemloft.net>
76849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76851 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
76853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76855         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76856         only for |x| >= 40.
76857         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76859 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
76861         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76862         Replace gettimeofday with __vdso_gettimeofday.
76864         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76865         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76866         __vdso_clock_gettime and __vdso_getcpu.
76868         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76869         time with __vdso_time.
76871 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76873         * manual/lang.texi (size_t): Note types to which size_t may be
76874         equivalent with the GNU C Library, but do not describe when
76875         differences between them are significant.
76877 2012-03-05  Andreas Jaeger  <aj@suse.de>
76879         * sysdeps/i386/fpu/libm-test-ulps: Update.
76881 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76883         [BZ #3976]
76884         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76885         (__ieee754_pow): Save and restore rounding mode and use
76886         round-to-nearest for main computations.
76887         * math/libm-test.inc (pow_test_tonearest): New function.
76888         (pow_test_towardzero): Likewise.
76889         (pow_test_downward): Likewise.
76890         (pow_test_upward): Likewise.
76891         (main): Call the new functions.
76892         * sysdeps/i386/fpu/libm-test-ulps: Update.
76893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76895         [BZ #3976]
76896         * math/libm-test.inc (cosh_test_tonearest): New function.
76897         (cosh_test_towardzero): Likewise.
76898         (cosh_test_downward): Likewise.
76899         (cosh_test_upward): Likewise.
76900         (sinh_test_tonearest): Likewise.
76901         (sinh_test_towardzero): Likewise.
76902         (sinh_test_downward): Likewise.
76903         (sinh_test_upward): Likewise.
76904         (main): Call the new functions.
76905         * sysdeps/i386/fpu/libm-test-ulps: Update.
76906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76908 2012-03-05  Tom de Vries  <tom@codesourcery.com>
76910         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76911         default stack guard is set in last bytes.
76912         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76914 2012-03-05  Kees Cook  <keescook@chromium.org>
76916         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76918         [BZ #13656]
76919         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76920         possibly allocate from heap instead of stack.
76921         * stdio-common/bug-vfprintf-nargs.c: New file.
76922         * stdio-common/Makefile (tests): Add nargs overflow test.
76924 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
76926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76928 2012-03-03  Marek Polacek  <polacek@redhat.com>
76930         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76931         * math/math_private.h: Likewise.
76932         * stdlib/tst-strtod.c: Likewise.
76933         * sysdeps/i386/i486/bits/atomic.h: Likewise.
76934         * sysdeps/x86_64/bits/atomic.h: Likewise.
76936 2012-03-02  David S. Miller  <davem@davemloft.net>
76938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76942         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76943         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76944         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76945         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76947 2012-03-02  Roland McGrath  <roland@hack.frob.com>
76949         [BZ #13792]
76950         * manual/examples/README: New file, says the example source files
76951         can be used under GPL>=2.
76952         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76953         line containing just "*/".
76954         * manual/examples/add.c: Add copyright header (GPL>=2).
76955         * manual/examples/argp-ex1.c: Likewise.
76956         * manual/examples/argp-ex2.c: Likewise.
76957         * manual/examples/argp-ex3.c: Likewise.
76958         * manual/examples/argp-ex4.c: Likewise.
76959         * manual/examples/atexit.c: Likewise.
76960         * manual/examples/db.c: Likewise.
76961         * manual/examples/dir.c: Likewise.
76962         * manual/examples/dir2.c: Likewise.
76963         * manual/examples/execinfo.c: Likewise.
76964         * manual/examples/filecli.c: Likewise.
76965         * manual/examples/filesrv.c: Likewise.
76966         * manual/examples/fmtmsgexpl.c: Likewise.
76967         * manual/examples/genpass.c: Likewise.
76968         * manual/examples/inetcli.c: Likewise.
76969         * manual/examples/inetsrv.c: Likewise.
76970         * manual/examples/isockad.c: Likewise.
76971         * manual/examples/longopt.c: Likewise.
76972         * manual/examples/memopen.c: Likewise.
76973         * manual/examples/memstrm.c: Likewise.
76974         * manual/examples/mkfsock.c: Likewise.
76975         * manual/examples/mkisock.c: Likewise.
76976         * manual/examples/mygetpass.c: Likewise.
76977         * manual/examples/pipe.c: Likewise.
76978         * manual/examples/popen.c: Likewise.
76979         * manual/examples/rprintf.c: Likewise.
76980         * manual/examples/search.c: Likewise.
76981         * manual/examples/select.c: Likewise.
76982         * manual/examples/setjmp.c: Likewise.
76983         * manual/examples/sigh1.c: Likewise.
76984         * manual/examples/sigusr.c: Likewise.
76985         * manual/examples/stpcpy.c: Likewise.
76986         * manual/examples/strdupa.c: Likewise.
76987         * manual/examples/strftim.c: Likewise.
76988         * manual/examples/strncat.c: Likewise.
76989         * manual/examples/subopt.c: Likewise.
76990         * manual/examples/swapcontext.c: Likewise.
76991         * manual/examples/termios.c: Likewise.
76992         * manual/examples/testopt.c: Likewise.
76993         * manual/examples/testpass.c: Likewise.
76994         * manual/examples/timeval_subtract.c: Likewise.
76996         [BZ #13792]
76997         * manual/time.texi (Elapsed Time): Move timeval_subtract example
76998         function to ...
76999         * manual/timeval_subtract.c.texi: ... here, new file.
77001 2012-03-02  David S. Miller  <davem@davemloft.net>
77003         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77005 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
77007         [BZ #3976]
77008         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
77009         (__sin): Save and restore rounding mode and use round-to-nearest
77010         for all computations.
77011         (__cos): Save and restore rounding mode and use round-to-nearest
77012         for all computations.
77013         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
77014         <fenv.h>.
77015         (tan): Save and restore rounding mode and use round-to-nearest for
77016         all computations.
77017         * math/libm-test.inc (cos_test_tonearest): New function.
77018         (cos_test_towardzero): Likewise.
77019         (cos_test_downward): Likewise.
77020         (cos_test_upward): Likewise.
77021         (sin_test_tonearest): Likewise.
77022         (sin_test_towardzero): Likewise.
77023         (sin_test_downward): Likewise.
77024         (sin_test_upward): Likewise.
77025         (tan_test_tonearest): Likewise.
77026         (tan_test_towardzero): Likewise.
77027         (tan_test_downward): Likewise.
77028         (tan_test_upward): Likewise.
77029         (main): Call the new functions.
77030         * sysdeps/i386/fpu/libm-test-ulps: Update.
77031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77033         [BZ #10135]
77034         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
77035         small n, then large n, before computing and testing k+n.
77036         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
77037         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
77038         Likewise.
77039         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
77040         Likewise.
77041         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
77042         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
77043         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
77044         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
77045         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
77046         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
77047         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
77048         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
77049         * math/libm-test.inc (scalbn_test): Add more tests.
77050         (scalbln_test): Likewise.
77052         * manual/filesys.texi (mode_t): Describe constraints on size and
77053         signedness, not exact equivalence to a particular type.
77054         (ino_t): Likewise.
77055         (ino64_t): Likewise.
77056         (dev_t): Likewise.
77057         (nlink_t): Likewise.
77058         (blkcnt_t): Likewise.
77059         (blkcnt64_t): Likewise.
77060         * manual/llio.texi (off_t): Likewise.
77062         [BZ #3976]
77063         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
77064         (__ieee754_exp): Save and restore rounding mode and use
77065         round-to-nearest for all computations.
77066         * math/libm-test.inc (exp_test_tonearest): New function.
77067         (exp_test_towardzero): Likewise.
77068         (exp_test_downward): Likewise.
77069         (exp_test_upward): Likewise.
77070         (main): Call the new functions.
77071         * sysdeps/i386/fpu/libm-test-ulps: Update.
77072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77074 2012-03-01  Chris Demetriou  <cgd@google.com>
77076         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
77077         have predictable order.
77079 2012-03-01  David S. Miller  <davem@davemloft.net>
77081         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
77083         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
77084         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
77085         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
77086         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
77088         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
77089         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
77090         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
77091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
77092         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
77093         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
77094         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
77095         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
77096         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
77098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77100         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
77101         * sysdeps/sparc/fpu/libm-test-ulps: to here.
77102         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
77104         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
77105         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77106         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77107         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
77108         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
77109         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
77110         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
77111         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77112         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77113         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
77114         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
77115         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77117         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77118         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77119         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77120         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
77121         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
77122         * sysdeps/sparc/elf/configure: Regenerated.
77124 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
77126         * configure.in (AS, LD): Require binutils 2.20 or later.
77127         * configure: Regenerated.
77128         * manual/install.texi (Tools for Compilation): Give binutils 2.20
77129         as required minimum version.
77130         * INSTALL: Regenerated.
77132         [BZ #2541]
77133         [BZ #4108]
77134         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
77135         before squaring exponent.
77136         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
77137         bottom long double and 27 bits of top long double before squaring
77138         exponent.
77139         * math/libm-test.inc (erfc_test): Add more tests.
77140         * sysdeps/i386/fpu/libm-test-ulps: Update.
77141         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77144 2012-03-01  Kai Tietz  <ktietz@redhat.com>
77146         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77147         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77148         containing bit-fields.
77149         * soft-fp/extended.h (_FP_UNION_E): Likewise.
77150         * soft-fp/single.h (_FP_UNION_S): Likewise.
77151         * soft-fp/double.h (_FP_UNION_D): Likewise.
77153 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77155         [BZ #13786]
77156         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77157         not include ../strcmp.S.
77158         [USE_AS_STRNCASECMP_L]: Likewise.
77159         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77160         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77161         * sysdeps/i386/i686/multiarch/strncase_l-c.c
77162         (__strncasecmp_l_ia32): Define as alias to
77163         __strncasecmp_l_nonascii.
77165         [BZ #5794]
77166         * math/libm-test.inc (expm1_test): Add test for bug 5794.
77167         * sysdeps/i386/fpu/libm-test-ulps: Update.
77168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77170         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77173 2012-02-29  Jeff Law  <law@redhat.com>
77175         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77176         out of bounds read.
77178 2012-02-29  Marek Polacek  <polacek@redhat.com>
77180         [BZ #13706]
77181         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77182         * elf/Makefile: Add rules to run tst-unused-dep.out.
77184 2012-02-28  David S. Miller  <davem@davemloft.net>
77186         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77187         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77188         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77189         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77190         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77191         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77193 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77195         * math/libm-test.inc (llround_test): Move one test from
77196         lround_test.  Use TEST_f_L in moved test.
77197         (lround_test): Move misplaced test to llround_test.  Add testcase
77198         from bug 2561.
77200 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
77202         * sysdeps/x86_64/fpu/e_expf.S: New file.
77203         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77205 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
77207         [BZ #13637]
77208         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77209         of remain_len that may cause incomplete multi-byte character and
77210         false match.
77211         * posix/bug-regex33.c: New file.
77212         * posix/Makefile (tests): Add bug-regex33.
77214 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
77216         * manual/macros.texi: New file.
77217         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77218         * manual/libc.texinfo: Include macros.texi.
77219         * manual/creatute.texi: Likewise.
77220         * manual/install.texi: Likewise.
77221         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77222         @glibcadj{} in references to the GNU C Library.
77223         * manual/charset.texi: Likewise.
77224         * manual/conf.texi: Likewise.
77225         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
77226         when not using those macros.
77227         * manual/creature.texi: Likewise.
77228         * manual/crypt.texi: Likewise.
77229         * manual/errno.texi: Likewise.
77230         * manual/filesys.texi: Likewise.
77231         * manual/header.texi: Likewise.
77232         * manual/install.texi: Likewise.
77233         * manual/intro.texi: Likewise.
77234         * manual/io.texi: Likewise.
77235         * manual/job.texi: Likewise.
77236         * manual/lang.texi: Likewise.
77237         * manual/libc.texiinfo: Likewise.
77238         * manual/llio.texi: Likewise.
77239         * manual/locale.texi: Likewise.
77240         * manual/maint.texi: Likewise.
77241         * manual/math.texi: Likewise.
77242         * manual/memory.texi: Likewise.
77243         * manual/message.texi: Likewise.
77244         * manual/nss.texi: Likewise.
77245         * manual/pattern.texi: Likewise.
77246         * manual/process.texi: Likewise.
77247         * manual/resource.texi: Likewise.
77248         * manual/search.texi: Likewise.
77249         * manual/setjmp.texi: Likewise.
77250         * manual/signal.texi: Likewise.
77251         * manual/socket.texi: Likewise.
77252         * manual/startup.texi: Likewise.
77253         * manual/stdio.texi: Likewise.
77254         * manual/string.texi: Likewise.
77255         * manual/sysinfo.texi: Likewise.
77256         * manual/syslog.texi: Likewise.
77257         * manual/terminal.texi: Likewise.
77258         * manual/time.texi: Likewise.
77259         * manual/users.texi: Likewise.
77260         * INSTALL: Regenerated.
77261         * NOTES: Regenerated.
77262         * sysdeps/gnu/errlist.c: Regenerated.
77264 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
77266         * include/dirent.h: Include <dirstream.h> before
77267         <dirent/dirent.h>.
77269 2012-02-28  David S. Miller  <davem@davemloft.net>
77271         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77272         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77273         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77274         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77276 2012-02-27  David S. Miller  <davem@davemloft.net>
77278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77280         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77281         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77284         frame pointer instead of stack pointer relative arg slot.
77285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77286         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77287         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77289 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
77291         [BZ #3992]
77292         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77294 2012-02-27  David S. Miller  <davem@davemloft.net>
77296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77300         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77301         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77302         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77303         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77305 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77307         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77308         later.  Allow versions 5-9.
77309         * configure: Regenerated.
77310         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77311         required minimum version and 4.6 as recommended version.  Do not
77312         mention bugs in GCC 2.7 and 2.8.
77313         * INSTALL: Regenerated.
77315 2012-02-27  David S. Miller  <davem@davemloft.net>
77317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77321         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77322         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77323         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77324         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77326         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77327         manipulate bits before adding and subtracting TWO112[sx].
77328         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77330 2012-02-27  Roland McGrath  <roland@hack.frob.com>
77332         [BZ #13775]
77333         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77334         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77335         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77336         being in POSIX, because they are in 1003.1-2008.
77338         * rt/tst-aio.c: Include <fcntl.h>.
77339         * rt/tst-aio7.c: Likewise.
77340         * rt/tst-aio64.c: Likewise.
77342         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77344 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77346         * manual/install.texi (--with-headers): Describe headers as
77347         interface headers, not private headers.
77348         (Specific advice for GNU/Linux systems): Describe use of headers
77349         from "make headers_install", not private headers from older
77350         kernels.
77351         * INSTALL: Regenerated.
77352         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77353         Change to 2.6.19.
77354         * sysdeps/unix/sysv/linux/configure: Regenerated.
77356         * manual/llio.texi (fclean): Remove documentation.
77358         * manual/Makefile (libc-texi-generated): New variable.  Include
77359         version.texi.
77360         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77361         $(libc-texi-generated), not duplicated list of files.
77362         (version.texi, stamp-version): New rules.
77363         (realclean): Remove $(libc-texi-generated), not individual files
77364         from that list.  Do not remove dir-add.texinfo.
77365         * manual/libc.texinfo: Comment out uses of edition numbers and
77366         references to printed manual.  Remove last-updated dates.
77367         (EDITION): Comment out.
77368         (ISBN): Likewise.
77369         (VERSION, UPDATED): Remove.
77370         (version.texi): Include.
77372 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
77374         * sysdeps/posix/spawni.c: Include <signal.h>.
77375         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77376         * sysdeps/pthread/aio_fsync.c: Likewise.
77378 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
77380         * conform/Makefile (tests): Run only when not cross-compiling and
77381         when fast-check is not defined.
77383         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77384         * conform/data/limits.h-data: Fixes for POSIX2008.
77385         * conform/run-conformtest.sh: Run all tests.
77386         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77387         headers.
77388         * include/bits/dlfcn.h: Likewise.
77389         * include/langinfo.h: Likewise.
77390         * include/monetary.h: Likewise.
77391         * include/sys/poll.h: Likewise.
77393         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77394         for __USE_GNU.
77395         * posix/spawn.h: Define __need_sigset_t.
77396         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77397         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77398         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
77399         to get sigevent_t only.
77400         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77401         only for __USE_GNU.
77402         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77403         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77404         process_vm_writev only for __USE_GNU.
77405         * termios/termios.h: Declare tcgetsid also for POSIX2008.
77407         * conform/Makefile: For now ignore errors from run-conformtest.
77408         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
77409         POSIX to avoid namespace pollution.  Don't prepend headers.
77410         * conform/data/aio.h-data: Fixes for POSIX testing.
77411         * conform/data/fcntl.h-data: Likewise.
77412         * conform/data/glob.h-data: Likewise.
77413         * conform/data/grp.h-data: Likewise.
77414         * conform/data/pthread.h-data: Likewise.
77415         * conform/data/pwd.h-data: Likewise.
77416         * conform/data/signal.h-data: Likewise.
77417         * conform/data/spawn.h-data: Likewise.
77418         * conform/data/stdio.h-data: Likewise.
77419         * conform/data/stdlib.h-data: Likewise.
77420         * conform/data/stropts.h-data: Likewise.
77421         * conform/data/sys/mman.h-data: Likewise.
77422         * conform/data/sys/stat.h-data: Likewise.
77423         * conform/data/sys/types.h-data: Likewise.
77424         * conform/data/sys/wait.h-data: Likewise.
77425         * conform/data/time.h-data: Likewise.
77426         * conform/data/unistd.h-data: Likewise.
77427         * conform/data/utime.h-data: Likewise.
77429         * io/sys/stat.h: fchmod was always in POSIX.
77430         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77431         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77432         * rt/aio.h: Define __need_timespec before including <time.h>.
77433         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77434         struct.  Add forward declaration of pthread_attr_t and use it in
77435         sigevent.
77436         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77437         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77438         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77439         always remove CLK_TCK definition.
77441 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
77443         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77445 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
77447         * conform/run-conformtest.sh: New file.
77448         * conform/Makefile: Run run-conformtest for tests.
77449         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
77450         support.
77452         * conform/data/uchar.h-data: New file.
77453         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77454         * conform/data/arpa/inet.h-data: Likewise.
77455         * conform/data/assert.h-data: Likewise.
77456         * conform/data/complex.h-data: Likewise.
77457         * conform/data/cpio.h-data: Likewise.
77458         * conform/data/ctype.h-data: Likewise.
77459         * conform/data/dirent.h-data: Likewise.
77460         * conform/data/dlfcn.h-data: Likewise.
77461         * conform/data/errno.h-data: Likewise.
77462         * conform/data/fcntl.h-data: Likewise.
77463         * conform/data/float.h-data: Likewise.
77464         * conform/data/fmtmsg.h-data: Likewise.
77465         * conform/data/fnmatch.h-data: Likewise.
77466         * conform/data/ftw.h-data: Likewise.
77467         * conform/data/glob.h-data: Likewise.
77468         * conform/data/grp.h-data: Likewise.
77469         * conform/data/iconv.h-data: Likewise.
77470         * conform/data/inttypes.h-data: Likewise.
77471         * conform/data/langinfo.h-data: Likewise.
77472         * conform/data/libgen.h-data: Likewise.
77473         * conform/data/limits.h-data: Likewise.
77474         * conform/data/locale.h-data: Likewise.
77475         * conform/data/math.h-data: Likewise.
77476         * conform/data/monetary.h-data: Likewise.
77477         * conform/data/mqueue.h-data: Likewise.
77478         * conform/data/ndbm.h-data: Likewise.
77479         * conform/data/net/if.h-data: Likewise.
77480         * conform/data/netdb.h-data: Likewise.
77481         * conform/data/netinet/in.h-data: Likewise.
77482         * conform/data/nl_types.h-data: Likewise.
77483         * conform/data/poll.h-data: Likewise.
77484         * conform/data/pthread.h-data: Likewise.
77485         * conform/data/pwd.h-data: Likewise.
77486         * conform/data/regex.h-data: Likewise.
77487         * conform/data/sched.h-data: Likewise.
77488         * conform/data/search.h-data: Likewise.
77489         * conform/data/semaphore.h-data: Likewise.
77490         * conform/data/setjmp.h-data: Likewise.
77491         * conform/data/signal.h-data: Likewise.
77492         * conform/data/spawn.h-data: Likewise.
77493         * conform/data/stdarg.h-data: Likewise.
77494         * conform/data/stdio.h-data: Likewise.
77495         * conform/data/stdlib.h-data: Likewise.
77496         * conform/data/string.h-data: Likewise.
77497         * conform/data/strings.h-data: Likewise.
77498         * conform/data/stropts.h-data: Likewise.
77499         * conform/data/sys/ipc.h-data: Likewise.
77500         * conform/data/sys/mman.h-data: Likewise.
77501         * conform/data/sys/msg.h-data: Likewise.
77502         * conform/data/sys/resource.h-data: Likewise.
77503         * conform/data/sys/select.h-data: Likewise.
77504         * conform/data/sys/sem.h-data: Likewise.
77505         * conform/data/sys/shm.h-data: Likewise.
77506         * conform/data/sys/socket.h-data: Likewise.
77507         * conform/data/sys/stat.h-data: Likewise.
77508         * conform/data/sys/statvfs.h-data: Likewise.
77509         * conform/data/sys/time.h-data: Likewise.
77510         * conform/data/sys/timeb.h-data: Likewise.
77511         * conform/data/sys/times.h-data: Likewise.
77512         * conform/data/sys/types.h-data: Likewise.
77513         * conform/data/sys/uio.h-data: Likewise.
77514         * conform/data/sys/un.h-data: Likewise.
77515         * conform/data/sys/utsname.h-data: Likewise.
77516         * conform/data/sys/wait.h-data: Likewise.
77517         * conform/data/syslog.h-data: Likewise.
77518         * conform/data/tar.h-data: Likewise.
77519         * conform/data/termios.h-data: Likewise.
77520         * conform/data/utime.h-data: Likewise.
77521         * conform/data/utmpx.h-data: Likewise.
77522         * conform/data/varargs.h-data: Likewise.
77523         * conform/data/wchar.h-data: Likewise.
77524         * conform/data/wctype.h-data: Likewise.
77525         * conform/data/wordexp.h-data: Likewise.
77527         * include/stropts.h: New file.
77528         * include/uchar.h: New file.
77529         * include/aio.h: Changes to allow conformtest.pl to use the headers.
77530         * include/assert.h: Likewise.
77531         * include/ctype.h: Likewise.
77532         * include/dirent.h: Likewise.
77533         * include/dlfcn.h: Likewise.
77534         * include/fcntl.h: Likewise.
77535         * include/fnmatch.h: Likewise.
77536         * include/glob.h: Likewise.
77537         * include/grp.h: Likewise.
77538         * include/libio.h: Likewise.
77539         * include/locale.h: Likewise.
77540         * include/math.h: Likewise.
77541         * include/net/if.h: Likewise.
77542         * include/netdb.h: Likewise.
77543         * include/netinet/in.h: Likewise.
77544         * include/pthread.h: Likewise.
77545         * include/pwd.h: Likewise.
77546         * include/regex.h: Likewise.
77547         * include/sched.h: Likewise.
77548         * include/search.h: Likewise.
77549         * include/setjmp.h: Likewise.
77550         * include/signal.h: Likewise.
77551         * include/stdio.h: Likewise.
77552         * include/stdlib.h: Likewise.
77553         * include/string.h: Likewise.
77554         * include/sys/cdefs.h: Likewise.
77555         * include/sys/mman.h: Likewise.
77556         * include/sys/msg.h: Likewise.
77557         * include/sys/resource.h: Likewise.
77558         * include/sys/select.h: Likewise.
77559         * include/sys/socket.h: Likewise.
77560         * include/sys/stat.h: Likewise.
77561         * include/sys/statvfs.h: Likewise.
77562         * include/sys/time.h: Likewise.
77563         * include/sys/times.h: Likewise.
77564         * include/sys/uio.h: Likewise.
77565         * include/sys/utsname.h: Likewise.
77566         * include/sys/wait.h: Likewise.
77567         * include/termios.h: Likewise.
77568         * include/time.h: Likewise.
77569         * include/ulimit.h: Likewise.
77570         * include/unistd.h: Likewise.
77571         * include/utime.h: Likewise.
77572         * include/wchar.h: Likewise.
77573         * include/wctype.h: Likewise.
77574         * include/wordexp.h: Likewise.
77576         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77578         * time/time.h: TIME_UTC must be a macro.
77579         Make timespec_get available for ISO C11 only as well.
77581 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
77583         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77584         Reported by Peng Haitao <penght@cn.fujitsu.com>.
77586 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77588         * configure.in: Use -o not -a in test for unsupported multi-arch.
77590 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77592         * manual/texinfo.tex: Update to version 2012-01-19.16.
77594 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77596         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77598 2012-02-24  Roland McGrath  <roland@hack.frob.com>
77600         [BZ #13738]
77601         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77602         * manual/fdl-1.3.texi: New file.
77603         * manual/fdl-1.1.texi: File removed.
77605         [BZ #13738]
77606         * manual/libc.texinfo (FDL_VERSION): New @set.
77607         Use it for mention of FDL in cover text.
77608         (Documentation License): Use it in @include file name.
77610 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77611             Roland McGrath  <roland@hack.frob.com>
77613         [BZ #5461]
77614         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77615         (not LONG_LONG_MAX and LONG_LONG_MIN.
77616         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77617         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
77618         name.
77619         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77621 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77623         [BZ #2547]
77624         [BZ #11365]
77625         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77626         manipulate bits before adding and subtracting TWO23[sx].
77627         * math/libm-test.inc (nearbyint_test): Add more tests.
77629 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77631         [BZ #2548]
77632         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77633         bits before adding and subtracting TWO23[sx].
77634         * math/libm-test.inc (rint_test): Add more tests.
77635         (rint_test_tonearest): Likewise.
77636         (rint_test_towardzero): Likewise.
77637         (rint_test_downward): Likewise.
77638         (rint_test_upward: Likewise.
77640 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77642         [BZ #10110]
77643         * include/stdc-predef.h: New file.  Extracted from features.h.
77644         * include/features.h: Include stdc-predef.h.
77645         * Makefile (headers): Add stdc-predef.h.
77646         * CONFORMANCE (Compiler limitations): Update.
77648 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77650         * manual/libc.texinfo (VERSION, UPDATED): Revert.
77652 2012-02-21  David S. Miller  <davem@davemloft.net>
77654         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77655         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77657 2012-02-20  David S. Miller  <davem@davemloft.net>
77659         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77660         using a normal save/restore sequence, rather than allocating a
77661         dummy stack frame just to store a frame pointer and restore.
77662         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77664 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77666         * manual/install.texi: Fix stray word in line-wrapped comment.
77668 2012-02-20  David S. Miller  <davem@davemloft.net>
77670         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77671         both binutils and gcc support GOTDATA.
77673         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77674         "rd %pc" in the PIC register setup sequences.
77676         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77677         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77678         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77679         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77680         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77681         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77682         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77683         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77684         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77685         (SYSCALL_ERROR_HANDLER): Likewise.
77686         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77687         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77688         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77689         (SYSCALL_ERROR_HANDLER): Likewise.
77691         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77692         (HAVE_GCC_GOTDATA): New.
77693         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77694         relocation support in both binutils and gcc.
77695         * sysdeps/sparc/elf/configure: Regenerate.
77697         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77698         * sysdeps/sparc/sparc32/elf/configure: Delete.
77699         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77700         * sysdeps/sparc/sparc64/elf/configure: Delete.
77701         * sysdeps/sparc/elf/configure.in: New file.
77702         * sysdeps/sparc/elf/configure: Generate.
77704         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77705         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77706         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77707         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77708         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77710 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77712         * manual/install.texi: Do not mention specific glibc version
77713         numbers.
77714         * manual/libc.texinfo (VERSION, UPDATED): Update.
77715         (@copying): Use @copyright{} and range of years.
77717 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77719         [BZ #13695]
77720         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77721         [crti.S not in sysdirs] (generated): Do not append.
77722         [crti.S not in sysdirs] (omit-deps): Likewise.
77723         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77724         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77725         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77726         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77727         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77728         Likewise.
77729         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77730         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77731         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77732         * csu/defs.awk: Remove file.
77733         * sysdeps/generic/initfini.c: Likewise.
77734         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77735         variable.
77736         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77737         Likewise.
77739 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77741         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77742         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77743         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77744         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77745         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77746         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77747         <bits/epoll.h>.
77748         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77749         (__EPOLL_PACKED): Define to empty if not defined by
77750         <bits/epoll.h>.
77751         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77753         bits/epoll.h.
77755 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77757         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77758         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77759         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77760         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77761         <bits/timerfd.h>.
77762         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77764         bits/timerfd.h.
77766 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77768         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77769         in C locale.
77770         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77771         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77772         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77775 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
77777         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77778         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77780 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
77782         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77783         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77784         defined.
77785         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77786         Likewise.
77787         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77788         entry for 2.16.
77790 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
77792         * math/w_acos.c: Use non-signaling floating-point comparisons.
77793         * math/w_acosf.c: Likewise.
77794         * math/w_acosh.c: Likewise.
77795         * math/w_acoshf.c: Likewise.
77796         * math/w_acoshl.c: Likewise.
77797         * math/w_acosl.c: Likewise.
77798         * math/w_asin.c: Likewise.
77799         * math/w_asinf.c: Likewise.
77800         * math/w_asinl.c: Likewise.
77801         * math/w_atanh.c: Likewise.
77802         * math/w_atanhf.c: Likewise.
77803         * math/w_atanhl.c: Likewise.
77804         * math/w_exp2.c: Likewise.
77805         * math/w_exp2f.c: Likewise.
77806         * math/w_exp2l.c: Likewise.
77807         * math/w_j0.c: Likewise.
77808         * math/w_j0f.c: Likewise.
77809         * math/w_j0l.c: Likewise.
77810         * math/w_j1.c: Likewise.
77811         * math/w_j1f.c: Likewise.
77812         * math/w_j1l.c: Likewise.
77813         * math/w_jn.c: Likewise.
77814         * math/w_jnf.c: Likewise.
77815         * math/w_log.c: Likewise.
77816         * math/w_log10.c: Likewise.
77817         * math/w_log10f.c: Likewise.
77818         * math/w_log10l.c: Likewise.
77819         * math/w_log2.c: Likewise.
77820         * math/w_log2f.c: Likewise.
77821         * math/w_log2l.c: Likewise.
77822         * math/w_logf.c: Likewise.
77823         * math/w_logl.c: Likewise.
77824         * math/w_sqrt.c: Likewise.
77825         * math/w_sqrtf.c: Likewise.
77826         * math/w_sqrtl.c: Likewise.
77827         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77828         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77829         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77830         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77831         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77833 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77835         [BZ #9739]
77836         * manual/string.texi (strnlen): Use correct parameter name in
77837         equivalent expression.
77839 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77841         [BZ #11174]
77842         * manual/users.texi (seteuid): Consistently use neweuid for
77843         argument name.
77845 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77847         [BZ #13704]
77848         * manual/nss.texi (Services in the NSS configuration): Correct
77849         list of services in example configuration file.
77851 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
77853         [BZ #11322]
77854         * manual/arith.texi: Remove statements about negative zero
77855         behaving identically to zero.
77857 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77859         [BZ #5993]
77860         * manual/install.texi: Do not document upgrading from libc5.
77862 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77864         [BZ #4596]
77865         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77867 2012-02-18  David S. Miller  <davem@davemloft.net>
77869         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77870         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77871         %o7 across the call.
77872         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77873         instead.
77874         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77875         SETUP_PIC_REG_LEAF.
77876         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77877         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77878         * sysdeps/sparc/crtn.S: Likewise.
77880 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
77882         * aout/Makefile: Remove.
77884 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
77886         [BZ #13058]
77887         * manual/examples/argp-ex1.c (main): Format definition in GNU
77888         style.
77889         * manual/examples/argp-ex2.c (main): Likewise.
77890         * manual/examples/argp-ex3.c (main): Likewise.
77891         * manual/examples/argp-ex4.c (main): Likewise.
77892         * manual/examples/longopt.c (main): Use new-style prototype
77893         definition.
77894         * manual/examples/strncat.c (main): Specify return type and use
77895         (void) for arguments.
77896         * manual/examples/subopt.c (main): Use char **argv argument.
77898 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77900         [BZ #5077]
77901         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77902         rounding modes.
77904 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
77906         [BZ #6907]
77907         * manual/string.texi (strchr): Change when strchrnul is
77908         recommended.
77910 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
77912         [BZ #174]
77913         * manual/locale.texi (setlocale): Document LOCPATH.
77915 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77917         [BZ #10210]
77918         * manual/process.texi (execle): Move @dots{} before last argument.
77920 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
77922         [BZ #12047]
77923         * manual/charset.texi (Generic Charset Conversion): Fix typo
77924         (LC_TYPE -> LC_CTYPE).
77926 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
77928         [BZ #5805]
77929         * manual/arith.texi (scalbn): Use @var{} on parameter names.
77930         (scalbnf): Likewise.
77931         (scalbnl): Likewise.
77932         (scalbln): Likewise.
77933         (scalblnf): Likewise.
77934         (scalblnl): Likewise.
77935         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77936         (vwarnx): Likewise.
77937         (verr): Likewise.
77938         (verrx): Likewise.
77939         * manual/filesys.texi (telldir): Use braces around return type.
77940         * manual/llio.texi (mmap): Add space after comma.
77941         (mmap64): Likewise.
77942         * manual/math.texi (jn): Use @var{} on parameter names.
77943         (jnf): Likewise.
77944         (jnl): Likewise.
77945         (yn): Likewise.
77946         (ynf): Likewise.
77947         (ynl): Likewise.
77948         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77949         line.
77950         * manual/resource.texi (ulimit): Use @dots{} instead of literal
77951         "...".
77952         (sched_get_priority_min): Remove semicolon on @deftypefun line.
77953         (sched_get_priority_max): Likewise.
77954         * manual/signal.texi (sigvec): Add space after comma.
77955         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77956         names.
77957         (if_indextoname): Likewise.
77958         (if_freenameindex): Likewise.
77959         (sendto): Use ',' instead of '.' in prototype.
77960         * manual/startup.texi (syscall): Use @dots{} instead of literal
77961         "...".
77962         * manual/stdio.texi (__fpending): Separate initial words of
77963         paragraph from @deftypefun line.
77964         * manual/syslog.texi (syslog): Use @dots{} instead of literal
77965         "...".
77966         (vsyslog): Use @var{} on parameter names.
77967         * manual/terminal.texi (stty): Use @var{} on parameter names.
77968         * manual/users.texi (getutmp): Use @var{} on parameter names.
77969         (getutmpx): Likewise.
77971 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77973         [BZ #6884]
77974         * manual/stdio.texi (fopen): Fix typos in description of
77975         ",ccs=STRING".
77977 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
77979         [BZ #4026]
77980         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77981         get clock_id definition.
77983 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
77985         [BZ #4822]
77986         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77987         (madvise): Cast every argument to void on its own.
77989 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77991         [BZ #9902]
77992         * manual/startup.texi (Exit Status): Fix typo.
77994 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77996         [BZ #10140]
77997         * manual/examples/argp-ex1.c: Include <stdlib.h>.
77998         * manual/examples/argp-ex2.c: Likewise.
77999         * manual/examples/argp-ex3.c: Likewise.
78001 2012-02-16  Richard Henderson  <rth@redhat.com>
78003         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
78004         * sysdeps/s390/s390-32/initfini.c: Remove.
78005         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
78006         * sysdeps/s390/s390-64/initfini.c: Remove.
78008 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78010         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
78011         compiler output for sysdeps/generic/initfini.c.
78012         * sysdeps/sh/elf/initfini.c: Remove file.
78014 2012-02-16  David S. Miller  <davem@davemloft.net>
78016         [BZ #11494]
78017         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
78019         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
78020         * sysdeps/sparc/crti.S: New file.
78021         * sysdeps/sparc/crtn.S: New file.
78022         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
78023         * sysdeps/sparc/sparc64/Makefile: Likewise.
78025 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
78027         [BZ #3335]
78028         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
78030 2012-02-15  Roland McGrath  <roland@hack.frob.com>
78032         [BZ #4822]
78033         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
78035         * mach/devstream.c (cookie_io_functions_t): Macro removed.
78036         (write, read, close): Likewise.
78037         Patch by Aurelien Jarno <aurelien@aurel32.net>.
78039 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
78041         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
78042         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
78043         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
78044         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
78045         <bits/signalfd.h>.
78046         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
78047         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78048         bits/signalfd.h.
78050 2012-02-14  Marek Polacek  <polacek@redhat.com>
78052         * sysdeps/x86_64/crti.S: New file.
78053         * sysdeps/x86_64/crtn.S: New file.
78054         * sysdeps/x86_64/elf/initfini.c: Remove file.
78056 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
78058         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
78059         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
78060         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
78061         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
78062         <bits/inotify.h>.
78063         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
78064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78065         bits/inotify.h.
78067 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
78069         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
78070         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
78071         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
78072         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
78073         <bits/eventfd.h>.
78074         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
78075         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78076         bits/eventfd.h.
78078 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
78080         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
78081         __feraiseexcept instead of feraiseexcept.
78083         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
78084         nanosleep invocations.
78085         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
78086         strings, and add error checking for a nanosleep invocations.
78088 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
78090         Replace FSF snail mail address with URLs, as per GNU coding standards.
78091         Most of the snail mail addresses were wrong anyway, and omitting
78092         them makes the source code easier to maintain.  Almost all of the
78093         changes are to license notices and to locale LC_IDENTIFICATION
78094         addresses, except for this one:
78095         * manual/libc.texinfo: In "Published by", give the FSF's URL,
78096         not its snail mail address.
78098 2012-02-09  Richard Henderson  <rth@twiddle.net>
78100         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
78101         of kernel-features.h.
78103         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
78105 2012-02-08  Marek Polacek  <polacek@redhat.com>
78107         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
78108         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
78109         * sysdeps/gnu/_G_config.h: Likewise.
78110         * sysdeps/generic/_G_config.h: Likewise.
78112 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
78114         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
78115         tests.
78116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78118         * sysdeps/powerpc/powerpc32/crti.S: New file.
78119         * sysdeps/powerpc/powerpc32/crtn.S: New file.
78120         * sysdeps/powerpc/powerpc64/crti.S: New file.
78121         * sysdeps/powerpc/powerpc64/crtn.S: New file.
78123         * Makeconfig (have-initfini): Don't set.
78124         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
78125         * configure.in (nopic_initfini): Don't substitute.
78126         * config.h.in (HAVE_INITFINI): Don't #undef.
78127         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
78128         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
78130 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
78132         Support crti.S and crtn.S provided directly by architectures.
78133         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
78134         [crti.S in sysdirs] (omit-deps): Likewise.
78135         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
78136         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
78137         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
78138         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
78139         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
78140         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
78141         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
78142         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
78143         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
78144         compiler output for sysdeps/generic/initfini.c.
78145         * sysdeps/i386/elf/Makefile: Remove file.
78146         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78148 2012-02-07  Marek Polacek  <polacek@redhat.com>
78150         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78151         * sysdeps/gnu/_G_config.h: Likewise.
78152         * sysdeps/mach/hurd/_G_config.h: Likewise.
78154 2012-02-07  Marek Polacek  <polacek@redhat.com>
78156         * math/Makefile (tests): Add tst-CMPLX2.
78157         * math/tst-CMPLX2.c: New file.
78159 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
78161         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78163         * math/libm-test.inc (jn_test): Add missing L suffix.
78165 2012-02-06  Marek Polacek  <polacek@redhat.com>
78167         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78168         * sysdeps/i386/fpu/e_powf.S: Likewise.
78169         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78170         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78171         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78172         * sysdeps/i386/fpu/e_pow.S: Likewise.
78173         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78174         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78175         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78176         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78177         * sysdeps/i386/fpu/e_log2.S: Likewise.
78178         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78179         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78180         * sysdeps/i386/fpu/e_powl.S: Likewise.
78181         * sysdeps/i386/fpu/s_log1p.S: Likewise.
78182         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78183         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78184         * sysdeps/i386/fpu/e_logl.S: Likewise.
78185         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78186         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78187         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78188         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78189         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78190         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78191         * sysdeps/i386/fpu/e_log.S: Likewise.
78192         * sysdeps/i386/fpu/s_cexp.S: Likewise.
78193         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78194         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78195         * sysdeps/i386/fpu/e_logf.S: Likewise.
78196         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78197         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78198         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78199         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78200         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78201         * sysdeps/i386/fpu/e_log10.S: Likewise.
78202         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78203         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78204         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78205         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78206         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78207         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78208         * sysdeps/i386/asm-syntax.h: Likewise.
78209         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78210         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78211         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78212         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78213         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78214         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78215         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78216         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78217         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78218         * sysdeps/powerpc/sysdep.h: Likewise.
78219         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78220         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78222 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78224         [BZ #411]
78225         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78227 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78229         * sysdeps/i386/sysdep.h: Include <features.h>.
78230         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78231         version.
78233 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
78235         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78236         Define.
78237         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78238         LOAD_PIC_REG_STR.
78240 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78242         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78243         (SETUP_PIC_REG): Use GET_PC_THUNK.
78244         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78245         macro.
78247 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78249         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78250         for non-PIC compilation.
78251         (SETUP_PIC_REG): Add .p2align directive.
78252         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78253         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78254         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78255         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78256         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78257         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78258         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78259         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78260         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78261         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78262         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78263         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78264         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78265         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78266         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78267         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78268         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78269         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78270         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78271         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78272         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78273         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78274         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78275         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78276         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78277         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78278         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78279         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78280         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78281         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78282         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78283         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78284         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78285         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78286         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78287         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78288         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78289         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78290         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78291         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78292         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78294 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78296         * math/tst-CMPLX.c: Include <stdio.h>.
78298 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
78300         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78301         float.
78302         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78303         * sysdeps/sparc/bits/mathdef.h: Likewise.
78305 2012-01-31  Marek Polacek  <polacek@redhat.com>
78307         * libio/libio.h: Don't define _PARAMS.
78308         * locale/programs/config.h: Don't define PARAMS.
78309         * stdlib/strtol_l.c: Likewise.
78310         (__strtol_l): Remove PARAMS from the prototype.
78312 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
78314         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
78315         names.  Just use the correct names.  Remove unnecessary wrapper
78316         functions.
78317         * malloc/arena.c: Likewise.
78318         * malloc/hooks.c: Likewise.
78320         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78321         ARENA_TEST says not to.  Simplify test for creation of a new arena.
78322         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78324 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
78326         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78327         into tail calls.
78328         (update_get_addr): New function.
78329         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78330         GET_ADDR_MODULE parameter.
78332 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78334         * crypt/cert.c: Remove __STDC__ conditionals.
78335         * crypt/crypt-entry.c: Likewise.
78336         * crypt/crypt_util.c: Likewise.
78337         * libio/filedoalloc.c: Likewise.
78338         * libio/fileops.c: Likewise.
78339         * libio/genops.c: Likewise.
78340         * libio/iofclose.c: Likewise.
78341         * libio/iofdopen.c: Likewise.
78342         * libio/iofopen.c: Likewise.
78343         * libio/iofopen64.c: Likewise.
78344         * libio/iogetdelim.c: Likewise.
78345         * libio/iopopen.c: Likewise.
78346         * libio/obprintf.c: Likewise.
78347         * libio/oldfileops.c: Likewise.
78348         * libio/oldiofclose.c: Likewise.
78349         * libio/oldiofdopen.c: Likewise.
78350         * libio/oldiofopen.c: Likewise.
78351         * libio/oldiopopen.c: Likewise.
78352         * libio/wfiledoalloc.c: Likewise.
78353         * libio/wgenops.c: Likewise.
78354         * locale/programs/xmalloc.c: Likewise.
78355         * misc/syslog.c: Likewise.
78356         * stdio-common/xbug.c: Likewise.
78357         * string/memchr.c: Likewise.
78358         * string/memcmp.c: Likewise.
78359         * string/memrchr.c: Likewise.
78360         * string/rawmemchr.c: Likewise.
78361         * sysdeps/posix/getcwd.c: Likewise.
78362         * time/strftime_l.c: Likewise.
78364 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78366         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78367         * config.make.in (config-cflags-sse2avx): Define.
78368         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78369         Fix typo.
78371 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
78373         * scripts/config.guess: Update from upstream config git repository.
78374         * scripts/config.sub: Likewise.
78376 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
78378         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78379         (EM_NUM): Update.
78380         (R_TILEPRO_*, R_TILEGX_*): New macros.
78382         * scripts/firstversions.awk: Fix bug in version range handling.
78384         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78386         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78388         * include/sys/epoll.h: New file.
78389         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78390         libc_hidden_def.
78392 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
78394         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78395         Avoid unnecessary __WORDSIZE == 64 test.
78396         (fmaxf): Use VEX format if possible.
78397         (fmax): Likewise.
78398         (fminf): Likewise.
78399         (fmin): Likewise.
78401         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78402         * math/math_private.h: Remove libc_fegetround* and
78403         libc_fesetround*.
78404         * sysdeps/i386/configure.in: Check for -msse2avx.
78405         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78406         also if SSE2AVX is defined.
78407         Remove libc_fegetround* and libc_fesetround*.
78408         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78409         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
78410         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78411         of HAS_YMM_USABLE.
78412         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78413         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78414         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78415         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78416         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78418         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78420 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78422         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78423         size is not set.
78424         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78426 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
78428         [BZ #13618]
78429         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78430         relocation.
78431         * Makeconfig (libm): Define.
78432         * elf/Makefile: Add rules to build and run tst-relsort1.
78433         * elf/tst-relsort1.c: New file.
78434         * elf/tst-relsort1mod1.c: New file.
78435         * elf/tst-relsort1mod2.c: New file.
78437 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
78439         * math/s_ldexp.c: Remove __STDC__ conditionals.
78440         * math/s_ldexpf.c: Likewise.
78441         * math/s_ldexpl.c: Likewise.
78442         * math/s_nextafter.c: Likewise.
78443         * math/s_nexttowardf.c: Likewise.
78444         * math/s_significand.c: Likewise.
78445         * math/s_significandf.c: Likewise.
78446         * math/s_significandl.c: Likewise.
78447         * math/w_jnl.c: Likewise.
78448         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78449         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78450         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78451         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78452         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78453         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78454         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78455         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78456         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78457         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78458         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78459         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78460         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78461         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78462         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78463         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78464         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78465         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78466         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78467         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78468         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78469         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78470         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78471         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78472         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78473         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78474         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78475         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78476         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78477         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78478         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78479         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78480         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78481         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78482         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78483         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78484         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78485         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78486         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78487         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78488         * sysdeps/ieee754/k_standard.c: Likewise.
78489         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78490         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78491         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78492         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78493         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78494         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78495         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78496         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78497         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78498         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78499         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78500         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78501         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78502         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78503         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78504         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78505         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78506         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78507         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78508         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78509         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78510         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78511         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78512         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78513         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78514         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78515         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78516         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78517         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78518         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78519         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78520         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78521         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78522         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78523         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78524         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78525         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78526         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78527         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78528         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78529         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78531         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78532         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78533         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78534         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78535         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78536         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78537         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78538         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78539         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78540         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78541         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78542         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78543         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78544         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78545         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78546         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78547         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78548         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78549         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78550         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78551         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78552         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78553         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78554         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78555         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78556         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78557         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78558         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78559         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78560         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78561         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78562         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78563         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78564         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78565         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78566         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78567         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78568         * sysdeps/ieee754/s_matherr.c: Likewise.
78569         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78570         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78571         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78572         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78574 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78576         * crypt/md5.h: Remove __STDC__ conditionals.
78577         * libio/libioP.h: Likewise.
78578         * locale/programs/config.h: Likewise.
78579         * sysdeps/generic/sysdep.h: Likewise.
78580         * sysdeps/i386/asm-syntax.h: Likewise.
78581         * sysdeps/s390/asm-syntax.h: Likewise.
78582         * sysdeps/unix/sysdep.h: Likewise.
78583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78586 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78588         * libio/libio.h: Remove __STDC__ conditionals.
78589         * malloc/obstack.h: Likewise.
78590         * math/complex.h: Likewise.
78591         * math/math.h: Likewise.
78592         * sysdeps/generic/_G_config.h: Likewise.
78593         * sysdeps/gnu/_G_config.h: Likewise.
78594         * sysdeps/mach/hurd/_G_config.h: Likewise.
78595         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78596         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78597         * sysdeps/sparc/bits/mathdef.h: Likewise.
78599 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
78601         [BZ #13583]
78602         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78603         Clean up HAS_* macros.
78604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78605         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78606         possible.
78607         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78608         HAS_AVX.
78609         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78610         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78611         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78612         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78613         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78615 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
78617         * elf/tst-unique3.cc (gets): Remove declaration.
78618         * elf/tst-unique3lib.cc (gets): Likewise.
78619         * elf/tst-unique3lib2.cc (gets): Likewise.
78620         * elf/tst-unique4.cc (gets): Likewise.
78622 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
78624         * include/stdio.h: Add C++ protection.  Add gets declarations and
78625         definitions.
78626         * debug/tst-chk1.c: Don't declare gets here.
78627         * stdio-common/tst-gets.c: Likewise.
78629 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78631         * posix/glob: Remove directory.
78633 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78635         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78637 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
78639         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78640         of the non-standard EPFNOSUPPORT.
78642 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78644         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78645         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78646         ANYWHERE set to 1 only on KERN_NO_SPACE error.
78648 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
78650         * wcsmbs/uchar.h: Test __STDC_VERSION__.
78652 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
78654         * nscd/aicache.c (addhstaiX): Do not cache negative results of
78655         transient errors.
78656         * nscd/grpcache.c (cache_addgr): Likewise.
78657         * nscd/hstcache.c (cache_addhst): Likewise.
78658         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78659         * nscd/pwdcache.c (cache_addpw): Likewise.
78660         * nscd/servicescache.c (cache_addserv): Likewise.
78662 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
78664         * malloc/malloc.c: Various cleanups.
78665         * malloc/hooks.c: Likewise.
78667         * stdlib/Makefile (tests): Add bug-fmtmsg1.
78668         * stdlib/bug-fmtmsg1.c: New file.
78670         * stdlib/fmtmsg.c (init): Add missing unlock.
78671         Patch by Peng Haitao <penght@cn.fujitsu.com>.
78673 2012-01-12  Marek Polacek  <polacek@redhat.com>
78675         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78676         and _GNU_SOURCE.
78678 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78680         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78681         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78682         macro to ensure uniqueness of label name.
78683         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78684         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78686 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
78688         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78690         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78691         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78692         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78693         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78695 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
78697         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78699         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78700         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78701         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78703         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78705         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78706         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78707         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78708         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78710         * math/bits/math-finite.h: Add ldexp support.
78712 2012-01-10  Marek Polacek  <polacek@redhat.com>
78714         * locale/programs/localedef.h (show_archive_content): Add noreturn
78715         attribute.
78717 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
78719         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78721 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78723         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78725         * io/Makefile (headers): Add bits/poll2.h.
78727 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
78729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78730         typo #include statement.
78732 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78734         * include/sys/cdefs.h: Define __attribute_alloc_size.
78735         * catgets/gencat.c: Add alloc_size attribute and apply consistently
78736         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78737         * elf/pldd.c: Likewise.
78738         * iconv/iconv_charmap.c: Likewise.
78739         * iconv/iconvconfig.c: Likewise.
78740         * iconv/strtab.c: Likewise.
78741         * locale/programs/locale.c: Likewise.
78742         * locale/programs/localedef.h: Likewise.
78743         * locale/programs/simple-hash.c: Likewise.
78744         * nscd/nscd.h: Likewise.
78745         * nss/makedb.c: Likewise.
78746         * sysdeps/generic/ldconfig.h: Likewise.
78747         * locale/programs/localedef.c: Remove xmalloc prototype.
78748         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78750 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78752         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78753         appropriate.
78755 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78757         * math/Makefile (tests): Add tst-CMPLX.
78758         * math/tst-CMPLX.c: New file.
78760         * math/complex.h (CMPLXL): Fix typo.
78762         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78763         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78764         GLIBC_2.16.
78765         * debug/tst-chk1.c: Add poll and ppoll tests.
78766         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78767         * include/sys/poll.h: Add hidden proto for ppoll.
78768         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78769         * sysdeps/mach/hurd/ppoll.c: Likewise.
78770         * io/ppoll.c: Likewise.
78771         * debug/poll_chk.c: New file.
78772         * debug/ppoll_chk.c: New file.
78773         * include/bits/poll2.h: New file.
78774         * io/bits/poll2.h: New file.
78776         [BZ #1350]
78777         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78779         * configure.in: static is always set to yes.  Remove.
78780         * config.make.in: Don't set build-static.
78781         * Makeconfig: Remove use of build-static.
78782         * dlfcn/Makefile: Likewise.
78783         * elf/Makefile: Likewise.
78784         * math/Makefile: Likewise.
78785         * misc/Makefile: Likewise.
78786         * nptl/Makefile: Likewise.
78787         * sysdeps/mach/hurd/Makefile: Likewise.
78789         * configure.in: PWD_P is not used anymore.
78790         * config.make.in: Remove PWD_P entry.
78792         * configure.in: Remove last remnants of RANLIB.
78793         No need to check for signed size_t anymore.
78794         Don't set libc_commonpagesize and libc_relro_required here for Alpha
78795         and IA-64.
78796         Remove __builtin_expect test because we require at least gcc 3.4.
78797         * aclocal.m4: Likewise.
78799         * wcsmbs/mbrtoc16.c: Implement using towc function.
78800         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78801         * wcsmbs/wcsmbsload.c: Likewise.
78802         * iconv/gconv_simple.c: Likewise.
78803         * iconv/gconv_int.h: Likewise.
78804         * iconv/gconv_builtin.h: Likewise.
78805         * iconv/iconv_prog.c: Remove CHAR16 handling.
78807         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78809         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78811         * configure.in: Remove --with-elf and --enable-bounded options.
78812         Dont set base_machine for ia64.  More non-ELF conditions removed.
78813         Remove testing and setting of leading underscore information.
78814         * config.make.in (build-bounded): Set to no.
78815         * config.h.in: Remove NO_UNDERSCORES entry.
78816         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
78817         them.
78818         * csu/start.c: Remove !NO_UNDERSCORE code.
78819         * locale/localeinfo.h: Likewise.
78820         * sysdeps/generic/machine-gmon.h: Likewise.
78821         * sysdeps/generic/sysdep.h: Likewise.
78822         * sysdeps/i386/sysdep.h: Likewise.
78823         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78824         * sysdeps/mach/sysdep.h: Likewise.
78825         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78826         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78827         * sysdeps/sh/sysdep.h: Likewise.
78828         * sysdeps/sparc/sparc32/alloca.S: Likewise.
78829         * sysdeps/unix/i386/sysdep.S: Likewise.
78830         * sysdeps/unix/sparc/start.c: Likewise.
78831         * sysdeps/unix/sparc/sysdep.S: Likewise.
78832         * sysdeps/unix/sparc/sysdep.h: Likewise.
78833         * sysdeps/unix/start.c: Likewise.
78834         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78835         * sysdeps/x86_64/sysdep.h: Likewise.
78837 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
78839         [BZ #13553]
78840         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78841         for non-gcc.
78842         * argp/argp-fmtstream.h: Use const instead __const.
78843         * argp/argp.h: Likewise.
78844         * assert/assert.h: Likewise.
78845         * bits/fenv.h: Likewise.
78846         * bits/sched.h: Likewise.
78847         * bits/sigset.h: Likewise.
78848         * bits/sigthread.h: Likewise.
78849         * catgets/nl_types.h: Likewise.
78850         * conform/data/pthread.h-data: Likewise.
78851         * crypt/crypt-private.h: Likewise.
78852         * crypt/crypt.h: Likewise.
78853         * crypt/crypt_util.c: Likewise.
78854         * ctype/ctype.h: Likewise.
78855         * debug/execinfo.h: Likewise.
78856         * debug/mbsnrtowcs_chk.c: Likewise.
78857         * debug/mbsrtowcs_chk.c: Likewise.
78858         * debug/wcsnrtombs_chk.c: Likewise.
78859         * debug/wcsrtombs_chk.c: Likewise.
78860         * debug/wcstombs_chk.c: Likewise.
78861         * dirent/dirent.h: Likewise.
78862         * dlfcn/dlfcn.h: Likewise.
78863         * elf/neededtest4.c: Likewise.
78864         * grp/grp.h: Likewise.
78865         * gshadow/gshadow.h: Likewise.
78866         * iconv/gconv.h: Likewise.
78867         * iconv/gconv_int.h: Likewise.
78868         * iconv/gconv_simple.c: Likewise.
78869         * iconv/iconv.h: Likewise.
78870         * iconv/loop.c: Likewise.
78871         * iconv/skeleton.c: Likewise.
78872         * include/aio.h: Likewise.
78873         * include/aliases.h: Likewise.
78874         * include/argz.h: Likewise.
78875         * include/arpa/inet.h: Likewise.
78876         * include/assert.h: Likewise.
78877         * include/dirent.h: Likewise.
78878         * include/dlfcn.h: Likewise.
78879         * include/execinfo.h: Likewise.
78880         * include/fcntl.h: Likewise.
78881         * include/fenv.h: Likewise.
78882         * include/glob.h: Likewise.
78883         * include/grp.h: Likewise.
78884         * include/libintl.h: Likewise.
78885         * include/mntent.h: Likewise.
78886         * include/netdb.h: Likewise.
78887         * include/pwd.h: Likewise.
78888         * include/rpc/netdb.h: Likewise.
78889         * include/sched.h: Likewise.
78890         * include/search.h: Likewise.
78891         * include/shadow.h: Likewise.
78892         * include/signal.h: Likewise.
78893         * include/stdio.h: Likewise.
78894         * include/stdlib.h: Likewise.
78895         * include/string.h: Likewise.
78896         * include/sys/socket.h: Likewise.
78897         * include/sys/stat.h: Likewise.
78898         * include/sys/statfs.h: Likewise.
78899         * include/sys/statvfs.h: Likewise.
78900         * include/sys/syslog.h: Likewise.
78901         * include/sys/time.h: Likewise.
78902         * include/sys/uio.h: Likewise.
78903         * include/time.h: Likewise.
78904         * include/unistd.h: Likewise.
78905         * include/utmp.h: Likewise.
78906         * include/wchar.h: Likewise.
78907         * include/wctype.h: Likewise.
78908         * inet/aliases.h: Likewise.
78909         * inet/arpa/inet.h: Likewise.
78910         * inet/netinet/ether.h: Likewise.
78911         * inet/netinet/in.h: Likewise.
78912         * intl/libintl.h: Likewise.
78913         * io/bits/fcntl2.h: Likewise.
78914         * io/fcntl.h: Likewise.
78915         * io/ftw.h: Likewise.
78916         * io/sys/poll.h: Likewise.
78917         * io/sys/stat.h: Likewise.
78918         * io/sys/statfs.h: Likewise.
78919         * io/sys/statvfs.h: Likewise.
78920         * io/utime.h: Likewise.
78921         * libio/bits/stdio.h: Likewise.
78922         * libio/bits/stdio2.h: Likewise.
78923         * libio/libio.h: Likewise.
78924         * libio/libioP.h: Likewise.
78925         * libio/stdio.h: Likewise.
78926         * locale/lc-ctype.c: Likewise.
78927         * locale/locale.h: Likewise.
78928         * login/utmp.h: Likewise.
78929         * malloc/arena.c: Likewise.
78930         * malloc/malloc.c: Likewise.
78931         * malloc/malloc.h: Likewise.
78932         * malloc/mcheck.c: Likewise.
78933         * malloc/mtrace.c: Likewise.
78934         * math/bits/mathcalls.h: Likewise.
78935         * math/fenv.h: Likewise.
78936         * math/math_private.h: Likewise.
78937         * misc/bits/error.h: Likewise.
78938         * misc/bits/syslog.h: Likewise.
78939         * misc/err.h: Likewise.
78940         * misc/error.h: Likewise.
78941         * misc/fstab.h: Likewise.
78942         * misc/mntent.h: Likewise.
78943         * misc/regexp.h: Likewise.
78944         * misc/search.h: Likewise.
78945         * misc/sgtty.h: Likewise.
78946         * misc/sys/mman.h: Likewise.
78947         * misc/sys/syslog.h: Likewise.
78948         * misc/sys/uio.h: Likewise.
78949         * misc/sys/xattr.h: Likewise.
78950         * misc/ttyent.h: Likewise.
78951         * nis/rpcsvc/ypclnt.h: Likewise.
78952         * nss/nss.h: Likewise.
78953         * posix/bits/unistd.h: Likewise.
78954         * posix/fnmatch.h: Likewise.
78955         * posix/glob.h: Likewise.
78956         * posix/sched.h: Likewise.
78957         * posix/spawn.h: Likewise.
78958         * posix/sys/wait.h: Likewise.
78959         * posix/unistd.h: Likewise.
78960         * posix/wordexp.h: Likewise.
78961         * pwd/pwd.h: Likewise.
78962         * resolv/netdb.h: Likewise.
78963         * resource/sys/resource.h: Likewise.
78964         * rt/aio.h: Likewise.
78965         * rt/bits/mqueue2.h: Likewise.
78966         * rt/mqueue.h: Likewise.
78967         * shadow/shadow.h: Likewise.
78968         * signal/signal.h: Likewise.
78969         * socket/send.c: Likewise.
78970         * socket/sendto.c: Likewise.
78971         * socket/sys/socket.h: Likewise.
78972         * stdio-common/printf.h: Likewise.
78973         * stdlib/bits/stdlib.h: Likewise.
78974         * stdlib/fmtmsg.h: Likewise.
78975         * stdlib/monetary.h: Likewise.
78976         * stdlib/stdlib.h: Likewise.
78977         * stdlib/ucontext.h: Likewise.
78978         * streams/stropts.h: Likewise.
78979         * string/argz.h: Likewise.
78980         * string/bits/string2.h: Likewise.
78981         * string/string.h: Likewise.
78982         * string/strings.h: Likewise.
78983         * sunrpc/rpc/auth.h: Likewise.
78984         * sunrpc/rpc/auth_des.h: Likewise.
78985         * sunrpc/rpc/clnt.h: Likewise.
78986         * sunrpc/rpc/netdb.h: Likewise.
78987         * sunrpc/rpc/pmap_clnt.h: Likewise.
78988         * sunrpc/rpc/xdr.h: Likewise.
78989         * sysdeps/generic/inttypes.h: Likewise.
78990         * sysdeps/generic/net/if.h: Likewise.
78991         * sysdeps/generic/sys/swap.h: Likewise.
78992         * sysdeps/gnu/net/if.h: Likewise.
78993         * sysdeps/gnu/utmpx.h: Likewise.
78994         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78995         * sysdeps/i386/i486/bits/string.h: Likewise.
78996         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78997         * sysdeps/s390/bits/string.h: Likewise.
78998         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78999         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
79000         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
79001         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
79002         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
79003         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
79004         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
79005         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
79006         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
79007         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
79008         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
79009         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
79010         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
79011         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
79012         * sysdeps/unix/sysv/linux/readv.c: Likewise.
79013         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
79014         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
79015         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79016         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
79017         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
79018         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79019         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
79020         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
79021         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
79022         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
79023         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
79024         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
79025         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79026         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
79027         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
79028         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
79029         * sysvipc/sys/ipc.h: Likewise.
79030         * sysvipc/sys/msg.h: Likewise.
79031         * sysvipc/sys/sem.h: Likewise.
79032         * sysvipc/sys/shm.h: Likewise.
79033         * termios/termios.h: Likewise.
79034         * time/sys/time.h: Likewise.
79035         * time/time.h: Likewise.
79036         * wcsmbs/bits/wchar2.h: Likewise.
79037         * wcsmbs/uchar.h: Likewise.
79038         * wcsmbs/wchar.h: Likewise.
79039         * wctype/wctype.h: Likewise.
79041         [BZ #13551]
79042         * Makeconfig: Remove all but ELF support including AIX support.
79043         * Makerules: Likewise.
79044         * config.h.in: Likewise.
79045         * config.make.in: Likewise.
79046         * configure: Likewise.
79047         * configure.in: Likewise.
79048         * csu/Makefile: Likewise.
79049         * csu/version.c: Likewise.
79050         * debug/Makefile: Likewise.
79051         * dlfcn/Makefile: Likewise.
79052         * elf/Makefile: Likewise.
79053         * extra-lib.mk: Likewise.
79054         * iconv/Makefile: Likewise.
79055         * include/libc-symbols.h: Likewise.
79056         * include/shlib-compat.h: Likewise.
79057         * resolv/Makefile: Likewise.
79058         * resolv/res_libc.c: Likewise.
79059         * rt/Makefile: Likewise.
79060         * sysdeps/i386/asm-syntax.h: Likewise.
79061         * sysdeps/i386/sysdep.h: Likewise.
79062         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79063         * sysdeps/mach/sysdep.h: Likewise.
79064         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
79065         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
79066         * sysdeps/s390/asm-syntax.h: Likewise.
79067         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79068         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79069         * sysdeps/sh/sysdep.h: Likewise.
79070         * sysdeps/unix/sparc/sysdep.h: Likewise.
79071         * sysdeps/wordsize-32/divdi3.c: Likewise.
79072         * sysdeps/x86_64/sysdep.h: Likewise.
79074         * argp/Versions: Remove _argp_unlock_xxx.
79076         [BZ #13559]
79077         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
79078         * abilist/libBrokenLocale.abilist: Likewise.
79079         * abilist/libanl.abilist: Likewise.
79080         * abilist/libc.abilist: Likewise.
79081         * abilist/libcrypt.abilist: Likewise.
79082         * abilist/libdl.abilist: Likewise.
79083         * abilist/libm.abilist: Likewise.
79084         * abilist/libnsl.abilist: Likewise.
79085         * abilist/libpthread.abilist: Likewise.
79086         * abilist/libresolv.abilist: Likewise.
79087         * abilist/librt.abilist: Likewise.
79088         * abilist/libthread_db.abilist: Likewise.
79089         * abilist/libutil.abilist: Likewise.
79090         * abilist/libnss_db.abilist: New file.
79092         * scripts/abilist.awk: Add support for indirect functions.
79094         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
79096         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
79098         * shlib-versions: Remove entries for ports architectures.
79100         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
79101         files in ports.
79102         * elf/stackguard-macros.h: Remove support for IA-64.
79103         * elf/tst-auditmod1.c: Likewise.
79104         * sysdeps/generic/ldsodefs.h: Likewise.
79106         * sysdeps/unix/sysv/linux/configure.in: Ports should define
79107         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
79108         configure files.
79110         [BZ #13552]
79111         * configure.in: Remove --enable-omitfp support.
79112         * FAQ.in: Adjust.
79113         * config.make.in: Likewise.
79114         * Makeconfig: Likewise.
79115         * manual/install.texi: Likewise.
79117         In case anyone cares, the IA-64 architecture could move to ports.
79118         * sysdeps/ia64/*: Removed.
79119         * sysdeps/unix/sysv/linux/ia64/*: Removed.
79120         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
79122         [BZ #13555]
79123         * configure.in: Remove entries for unsupported architectures.
79125         [BZ #13533]
79126         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
79127         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
79128         routines.
79129         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
79130         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
79131         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
79132         fall back to using wcrtomb.
79133         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
79134         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
79135         renaming.
79136         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
79137         * wcsmbs/tst-c16c32-1.c: New file.
79139         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
79140         local variable.
79142         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
79144         * elf/tst-unique3.cc: Add explicit declaration of gets.
79145         * elf/tst-unique3lib.cc: Likewise.
79146         * elf/tst-unique3lib2.cc: Likewise.
79147         * elf/tst-unique4.cc: Likewise.
79149         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79151 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
79153         [BZ #13566]
79154         * assert/assert.h (static_assert): Don't define for C++.
79155         * libio/stdio.h (gets): Do declare for C++ <= C++11.
79156         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79158 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
79160         * iconv/loop.c (single loop): Fix assertion in storing of
79161         remaining bytes.
79163         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79165 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
79167         * posix/getconf.c: Update copyright year.
79168         * nss/getent.c: Likewise.
79169         * nss/makedb.c: Likewise.
79170         * iconv/iconvconfig.c: Likewise.
79171         * iconv/iconv_prog.c: Likewise.
79172         * elf/ldconfig.c: Likewise.
79173         * elf/pldd.c: Likewise.
79174         * elf/sotruss.ksh: Likewise.
79175         * catgets/gencat.c: Likewise.
79176         * csu/version.c: Likewise.
79177         * elf/ldd.bash.in: Likewise.
79178         * elf/sprof.c (print_version): Likewise.
79179         * locale/programs/locale.c: Likewise.
79180         * locale/programs/localedef.c: Likewise.
79181         * login/programs/pt_chown.c: Likewise.
79182         * nscd/nscd.c (print_version): Likewise.
79183         * debug/xtrace.sh: Likewise.
79184         * malloc/memusage.sh: Likewise.
79185         * malloc/mtrace.pl: Likewise.
79186         * debug/catchsegv.sh: Likewise.
79188 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
79190         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79191         pure attribute.
79193 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
79195         [BZ #13533]
79196         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79197         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79198         transformations.
79199         * iconv/gconv_int.h: Likewise.
79200         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79201         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79202         from libc for GLIBC_2.16.
79203         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79204         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79205         * wcsmbs/uchar.h: Really define mbstate_t.
79206         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79207         * wcsmbs/c16rtomb.c: New file.
79208         * wcsmbs/mbrtoc16.c: New file.
79209         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79210         for C/POSIX locale.
79211         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79212         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79214         * wcsmbs/wchar.h: Add missing __restrict.
79216 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79218         [BZ #13532]
79219         * time/Makefile (routines): Add timespec_get.
79220         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79221         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
79222         timespec for ISO C11.
79223         * time/timespec_get.c: New file.
79224         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79225         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79227         [BZ #13531]
79228         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79229         * stdlib/stdlib.h: Declare aligned_alloc.
79230         * Versions.def: Add GLIBC_2.16 for libc.
79231         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79233         [BZ 13527]
79234         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79235         ISO C11.
79237         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79238         code.
79240         [BZ #13528]
79241         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79243         [BZ #13529]
79244         * assert/assert.h (static_assert): Define.
79246         * version.h: Update for 2.16 development version.
79248         [BZ #13526]
79249         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79250         _ISOC11_SOURCE.
79252         * version.h (RELEASE): Bump for 2.15 release.
79253         * include/features.h (__GLIBC_MINOR__): Bump to 15.
79255         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79256         Patch by Marek Polacek <mpolacek@redhat.com>.
79258         * bits/byteswap.h: Protect long long constants with __extension__.
79259         * sysdeps/i386/bits/byteswap.h: Likewise.
79260         * sysdeps/ia64/bits/byteswap.h: Likewise.
79261         * sysdeps/s390/bits/byteswap.h: Likewise.
79262         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79264 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79266         [BZ #13540]
79267         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79268         destination buffer.
79269         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79271 2011-12-23  Marek Polacek  <polacek@redhat.com>
79273         * elf/dl-addr.c (determine_info): Add inline keyword.
79274         * elf/tst-auditmod4b.c (check_avx): Likewise.
79275         * elf/tst-auditmod6b.c (check_avx): Likewise.
79276         * elf/tst-auditmod6c.c (check_avx): Likewise.
79277         * elf/tst-auditmod7b.c (check_avx): Likewise.
79279 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79281         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79282         !__SSE_MATH__.
79284 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79286         [BZ #13540]
79287         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79288         processing for last bytes.
79290 2011-08-06  Bruno Haible  <bruno@clisp.org>
79292         [BZ #13061]
79293         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79294         U+0385, not to U+1FEE.
79296         [BZ #13062]
79297         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79298         entry for U+00A5 U+0301.
79300 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79302         [BZ #13166]
79303         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79304         buffer for the output is too small.
79306         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79307         optimization.
79309         [BZ #13185]
79310         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79311         SSE flags if possible.
79313 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79315         [BZ #13540]
79316         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79317         processing for last bytes.
79319 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
79321         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79322         (syscall-list-default-options, syscall-list-default-condition)
79323         (syscall-list-includes): Define.
79324         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79325         list of ABIs and options and #if conditions for each ABI.  Do not
79326         handle common syscalls between ABIs specially.
79327         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79328         Remove.
79329         (syscall-list-variants, syscall-list-32bit-options)
79330         (syscall-list-32bit-condition, syscall-list-64bit-options)
79331         (syscall-list-64bit-condition): Define.
79332         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79333         (syscall-list-variants, syscall-list-32bit-options)
79334         (syscall-list-32bit-condition, syscall-list-64bit-options)
79335         (syscall-list-64bit-condition): Define.
79336         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79337         Remove.
79338         (syscall-list-variants, syscall-list-32bit-options)
79339         (syscall-list-32bit-condition, syscall-list-64bit-options)
79340         (syscall-list-64bit-condition): Define.
79341         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79342         Remove.
79343         (syscall-list-variants, syscall-list-32bit-options)
79344         (syscall-list-32bit-condition, syscall-list-64bit-options)
79345         (syscall-list-64bit-condition): Define.
79347 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79349         * locale/iso-639.def: Add brx entry.
79351         [BZ #13328]
79352         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79353         Proposed by Mariusz_Cukr <marcukr@op.pl>.
79355         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79356         __feraiseexcept_renamed.
79358 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79360         [BZ #13538]
79361         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79362         EPOLLET with unsigned values.
79363         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79364         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79366         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79367         to large cancellation.
79368         * math/s_cacoshf.c: Likewise.
79369         * math/s_cacoshl.c: Likewise.
79371 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
79373         [BZ #13305]
79374         [BZ #12786]
79375         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79376         * math/s_cacoshf.c: Likewise.
79377         * math/s_cacoshl.c: Likewise.
79379 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79381         [BZ #13439]
79382         * iconv/gconv.h: Define __GCONV_SWAP.
79383         * iconvdata/unicode.c: The swap bit must be stored in __flags.
79384         * iconvdata/utf-16.c: Likewise.
79385         * iconvdata/utf-32.c: Likewise.
79387 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
79389         [BZ #13524]
79390         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79391         numerator after shifting it by one limb.
79393 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
79395         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79396         under [__USE_EXTERN_INLINES].
79398 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79400         [BZ #13446]
79401         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79403 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79405         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79406         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79407         optimized code.
79408         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79409         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79410         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79411         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79412         for strncasecmp/strncasecmp_l compilation.
79413         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79414         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79416 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
79418         [BZ #13484]
79419         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79420         of __asm__.
79422 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79424         [BZ #13506]
79425         * time/tzfile.c (__tzfile_read): Check values from file header.
79427 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
79429         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79430         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79431         * powerpc/powerpc32/dl-start.S: Likewise.
79432         * powerpc/powerpc32/elf/start.S: Likewise.
79433         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79434         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79435         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79436         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79437         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79438         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79439         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79440         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79441         * powerpc/powerpc32/fpu/s_round.S: Likewise.
79442         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79443         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79444         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79445         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79446         * powerpc/powerpc32/memset.S: Likewise.
79447         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79448         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79449         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79450         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79451         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79452         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79453         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79454         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79455         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79456         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79457         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79458         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79459         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79461 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79463         * math/libm-test.inc: Added more nearbyint tests.
79464         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79465         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79466         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79467         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79469 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
79471         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79472         FD_CLOEXEC.
79474 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79476         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79477         Add wcscpy-ssse3 wcscpy-c.
79478         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79479         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79480         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79481         * sysdeps/x86_64/wcschr.S: New file.
79482         * sysdeps/x86_64/wcsrchr.S: New file.
79483         * string/test-strcmp.c: Remove checking of wcscmp function for
79484         wrong alignments.
79485         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79486         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79487         wcsrchr-sse2 wcsrchr-c.
79488         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79489         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79490         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79491         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79492         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79493         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79494         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79495         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79496         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79497         * wcsmbc/wcschr.c (WCSCHR): New macro.
79499 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79501         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79502         * wcsmbs/test-wcsrchr.c: New file.
79503         * string/test-strrchr.c: Add wcsrchr support.
79504         (WIDE): New macro.
79505         * wcsmbs/test-wcscpy.c: New file.
79506         * string/test-strcpy.c: Add wcscpy support.
79507         (WIDE): New macro.
79509 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
79511         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79512         the inner loop.
79514 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
79516         [BZ #13472]
79517         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79519 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
79521         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79522         Minor optimizations.
79524         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79525         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79526         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79528 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
79530         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79531         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79532         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79533         for gcc to avoid warnings.
79534         * inet/Makefile (tests): Add tst-checks.
79535         * inet/tst-checks.c: New file.
79537         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79538         warning.
79540         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79541         __wmemcmp_sse2.
79543         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79544         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79546         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79548 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
79550         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79551         problem.
79553         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79555 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
79557         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79558         conditional on GCC version.
79559         (__arch_compare_and_exchange_val_8_acq)
79560         (__arch_compare_and_exchange_val_16_acq)
79561         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79562         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79563         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79565 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
79567         * sysdeps/sh/backtrace.c: New file.
79569 2011-12-02  Andreas Schwab  <schwab@redhat.com>
79571         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
79572         parenthesis.
79574 2011-12-01  Andreas Schwab  <schwab@redhat.com>
79576         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79577         falling back to utime.
79579 2011-11-30  Andreas Schwab  <schwab@redhat.com>
79581         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79582         expectations for float.
79584 2011-11-29  Andreas Schwab  <schwab@redhat.com>
79586         * locale/weight.h (findidx): Add parameter len.
79587         * locale/weightwc.h (findidx): Likewise.
79588         * posix/fnmatch_loop.c (FCT): Adjust caller.
79589         * posix/regcomp.c (build_equiv_class): Likewise.
79590         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79591         * posix/regexec.c (check_node_accept_bytes): Likewise.
79592         * string/strcoll_l.c (STRCOLL): Likewise.
79593         * string/strxfrm_l.c (STRXFRM): Likewise.
79595 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
79597         * Makefile.in: Remove CVSOPT handling.
79598         * configure.in: Remove use of AC_REVISION.
79599         * iconvdata/Makefile (distribute): No need to filter out CVS.
79600         * scripts/list-sources.sh: Remove CVS, subversion and monotone
79601         handling.
79603 2011-11-16  Andreas Schwab  <schwab@redhat.com>
79605         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79606         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79607         [USE_AS_STRNCASECMP_L]: Likewise.
79608         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79609         NO_TLS_DIRECT_SEG_REFS.
79610         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79611         Fix argument offsets for non-PIC.
79612         [USE_AS_STRNCASECMP_L]: Likewise.
79613         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79614         NO_TLS_DIRECT_SEG_REFS.
79616 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79618         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79619         O_CLOEXEC.
79620         * locale/loadlocale.c (_nl_load_locale): Likewise.
79622 2011-11-15  Andreas Schwab  <schwab@redhat.com>
79624         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79625         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79626         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79627         (SYSCALL_GETTIME): Set errno on error.
79629         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79630         count references to noai6ai_cached.
79632 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79634         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79636         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79637         FD_CLOEXEC for /proc/self/maps.
79639         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79640         FD_CLOEXEC for /proc/meminfo.
79642         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79643         gai.conf.
79645         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
79646         FD_CLOEXEC for given file.
79648         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79650         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79651         FD_CLOEXEC for /etc/hosts.
79652         (_gethtent): Likewise.
79654         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79656         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79657         cancellation and set FD_CLOEXEC for /etc/netgroup.
79659         * nss/nss_files/files-key.c (search): Don't allow cancellation when
79660         reading /etc/publickey.
79662         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79663         allow cancellation when reading /etc/group.
79665         * nss/nss_files/files-alias.c (internal_setent): Don't allow
79666         cancellation.
79667         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
79669         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79670         when using data file.
79672         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79674         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79675         (write_nis_obj): Use "c" and "e" in fopen.
79677         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79679         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79681         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79683         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79685         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79686         locale.alias.
79688         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79690         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79692         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79694         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79695         file parsing and set FD_CLOEXEC.
79697 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79699         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79701 2011-11-14  Andreas Schwab  <schwab@redhat.com>
79703         * malloc/arena.c (arena_get2): Don't call reused_arena when
79704         _int_new_arena failed.
79706 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79708         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79709         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79710         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79711         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79712         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79713         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79714         to compile strcasecmp and strncasecmp.
79715         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79716         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79718         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79720 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
79722         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79723         locale-defines.sym to gen-as-const-headers.
79724         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79725         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79726         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79727         to compile strcasecmp and strncasecmp.
79728         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79729         strcasecmp_l and strncasecmp_l.
79730         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79731         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79732         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79733         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79734         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79735         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79736         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79737         * sysdeps/i386/i686/multiarch/strncase.S: New file.
79738         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79739         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79740         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79742 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
79744         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79745         result of SYSDEP_GETTIME_CPU to retval.
79746         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79747         parameter list to macro.  Remove trailing semicolon.  Adjust users.
79749         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79750         variable.
79752         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79753         mantissa words.
79754         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79756         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79757         from unused variable.
79759         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79760         DWARF definitions.
79761         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79762         for assembling.
79764         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79765         over namespaces.
79767         * sunrpc/rpc_prot.c (rejected): Fix case value.
79769         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79770         unsigned long long int to avoid warnings in shift.
79772         * posix/regex_internal.c (re_string_reconstruct): Actually use result
79773         of use of trans.
79774         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79775         variable tmp.
79777         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79778         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79779         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79781         * nis/nis_table.c (nis_list): Use variable of correct type for
79782         result of __follow_path call.
79784 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79786         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79787         of math functions ceil, trunc, floor, round, and sqrt, when
79788         avaliable on the platform.
79789         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79790         name clash.
79791         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79792         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79793         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79795 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
79797         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79798         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79800 2011-11-11  Roland McGrath  <roland@hack.frob.com>
79802         * include/unistd.h: Fix __readlink return type.
79803         Reported by Chris Metcalf <cmetcalf@tilera.com>.
79805 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
79807         * stdlib/ucontext.h: Undo last change for makecontext.
79809 2011-11-11  Andreas Schwab  <schwab@redhat.com>
79811         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79813         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79814         * setjmp/setjmp.h: Mark functions as non-leaf.
79815         * setjmp/bits/setjmp2.h: Likewise.
79816         * stdlib/ucontext.h: Likewise.
79818 2011-11-10  Andreas Schwab  <schwab@redhat.com>
79820         * malloc/arena.c (_int_new_arena): Don't increment narenas.
79821         (reused_arena): Don't check arena limit.
79822         (arena_get2): Atomically check arena limit.
79824 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
79826         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79827         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79829         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79830         instructions.
79832 2011-11-07  Andreas Schwab  <schwab@redhat.com>
79834         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79835         handler when locking.
79837         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79838         Fix size of allocated buffer.
79840 2011-11-04  Andreas Schwab  <schwab@redhat.com>
79842         [BZ #10103]
79843         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79844         declarations for long double functions.
79845         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79847         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79849 2011-11-03  Andreas Schwab  <schwab@redhat.com>
79851         * nscd/nscd.c (main): Don't start AVC thread until credentials are
79852         installed.
79854         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79855         is disabled.
79857 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79859         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79861 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
79863         * include/alloca.h (stackinfo_alloca_round): Define.
79864         (extend_alloca): Use it.
79865         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79866         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79867         here.
79869         * scripts/check-local-headers.sh: Ignore libaudit.h.
79871         * nscd/Makefile (extra-objs): Make recursively expanded.
79873 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
79875         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79876         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79878         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79879         * posix/tst-rfc3484-2.c: Likewise.
79880         * posix/tst-rfc3484-3.c: Likewise.
79882         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79883         process_vm_writev.
79884         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79885         process_vm_writev.
79886         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79887         process_vm_writev from libc using GLIBC_2.15 version.
79889         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79891 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
79893         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79894         stack usage.
79896 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
79898         [BZ #13367]
79899         * nss/getent.c (initgroups_keys): Show error message in case no group
79900         names are given.
79902         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79903         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79904         __bump_nl_timestamp.
79905         * nscd/connections (nscd_init): When host database is served open
79906         netlink socket and request notification about configuration changes.
79907         (main_loop_poll): Track netlink file descriptor and bump timestamp
79908         in case data becomes available.
79909         (main_loop_epoll): Likewise.
79910         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79911         (database_pers_head): Add extra_data fileds.
79912         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79913         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79914         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79915         Adjust caller.
79916         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79917         in6ai data, call __free_in6ai.
79918         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79919         Add -DHAVE_NETLINK.
79920         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
79921         interface information.  Reuse previous data if netlink timestamp
79922         is not changed.
79923         (__bump_nl_timestamp): New function.
79924         (__free_in6ai): New function.
79926 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
79928         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79929         close_not_cancel_no_status here.
79930         (__check_pf): Reorganize code a bit to not call close twice if OOM.
79932 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79934         [BZ #13276]
79935         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79936         return value.
79938         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79939         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79940         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79942 2011-07-03  Andreas Jaeger  <aj@suse.de>
79944         [BZ #10709]
79945         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79946         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79947         * math/libm-test.inc (sin_test): Add test case.
79949 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79951         [BZ #13337]
79952         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79953         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79955         * elf/chroot_canon.c (chroot_canon): Cleanups.
79957         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79959         [BZ #13335]
79960         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79961         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79963         * string/test-strchr.c: Make usable for strchrnul testing.
79964         * string/test-strchrnul.c: New file.
79965         * string/Makefile (strop-tests): Add strchrnul.
79967         * po/it.po: Update from translation team.
79968         * po/es.po: Likewise.
79970 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
79972         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79973         the three constants needed as parameters.  Drop the others.
79974         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79975         __m128i_strloadu_tolower.
79976         Create and initialize variable zero and use it in all the places
79977         where _mm_setzero_si128 was used.
79979         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79980         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79981         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79982         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79983         anymore.
79984         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79985         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79986         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79987         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79988         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79989         __mpranred, __mptan.
79990         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79991         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79992         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79993         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79994         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79995         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79996         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79997         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79998         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
80000 2011-10-28  Andreas Schwab  <schwab@redhat.com>
80002         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
80003         redefine if SHARED.
80004         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
80006         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
80007         wide char related routines to wcsmbs subdir.
80009 2011-10-27  Andreas Schwab  <schwab@redhat.com>
80011         [BZ #13344]
80012         * misc/sys/cdefs.h (__THROWNL): Define.
80013         * posix/unistd.h: Use __THREADNL instead of __THREAD
80014         for memory synchronization functions.
80016 2011-10-26  Roland McGrath  <roland@hack.frob.com>
80018         [BZ #13349]
80019         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
80020         doesn't exist.
80021         * manual/stdio.texi (Obstack Streams): Node removed.
80023 2011-10-26  Andreas Schwab  <schwab@redhat.com>
80025         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
80026         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80027         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80029         * math/math_private.h (math_force_eval): Allow non-addressable
80030         arguments.
80031         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
80033 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80035         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
80036         file is not needed.
80038         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
80039         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
80040         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80041         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80042         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80043         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80044         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80045         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
80046         Add AVX variants.
80047         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
80048         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
80049         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
80050         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
80051         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
80052         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
80053         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
80054         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
80055         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
80056         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
80057         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
80058         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
80059         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
80060         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
80061         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
80062         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
80063         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
80064         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
80065         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
80067         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
80068         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
80070         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
80071         place.  Use VEX encoding when compiling for AVX.
80073 2011-10-25  Andreas Schwab  <schwab@redhat.com>
80075         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
80076         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
80078         * string/test-strchr.c (do_test): Don't generate NUL bytes.
80080 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80082         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
80083         useless if() expression.
80084         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80085         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80086         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80087         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80088         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80089         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80090         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80091         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80092         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80093         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80094         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80095         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80096         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80097         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80098         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80099         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80100         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80101         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80102         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80104         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
80106 2011-10-25  Andreas Schwab  <schwab@redhat.com>
80108         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
80109         condition.
80110         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80112 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80114         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
80115         .text section.  Avoid duplicate constants.
80116         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80117         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80118         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80119         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80120         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80121         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80122         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80123         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80124         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80125         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
80126         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
80127         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
80128         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
80129         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
80130         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
80131         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
80132         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80133         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
80134         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80135         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80136         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80137         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80138         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80139         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
80140         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
80141         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
80142         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
80143         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
80144         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
80145         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80146         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80147         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80148         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80149         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80150         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80151         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80152         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80153         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80154         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80155         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80156         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80157         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80158         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80159         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80160         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80162 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
80164         * sysdeps/x86_64/dla.h: Move to ...
80165         * sysdeps/x86_64/fpu/dla.h: ...here.
80166         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80167         situations.  Use __builtin_fma only for gcc 4.6 and up.
80169         * config.make.in: Add have-mfma4 entry.
80170         * configure.in: Substitute libc_cv_cc_fma4.
80171         * math/Makefile (dbl-only-routines): Add sincostab.
80172         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80173         Use __sincostab not sincos.
80174         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80175         name is a macro.
80176         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80177         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80178         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80179         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
80180         using __copysign.
80181         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
80182         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
80183         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80184         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80185         and __inv.
80186         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80187         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80188         __copysign.
80189         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
80190         define aliases when function name is a macro.
80191         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80192         sysdeps/ieee754/dbl-64/sincos.tbl.
80193         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80194         fma4-enabled routines.
80195         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80196         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80197         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80198         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80199         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80200         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80201         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80202         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80203         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80204         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80205         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80206         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80207         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80208         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80209         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80210         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80211         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80212         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80213         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80214         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80215         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80216         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80217         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80218         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80219         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80220         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80221         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80222         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80223         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80224         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80226         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80227         rename.
80228         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80229         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80230         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80231         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80232         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80233         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80234         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80235         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80237 2011-10-24  Andreas Schwab  <schwab@redhat.com>
80239         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80241 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80243         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80245         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80246         prediction.
80247         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80249         * string/strnlen.c: Don't define STRNLEN, reverse logic.
80250         Remove unused variable magic_bits.
80251         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80253         * string/strnlen.c: Define and use STRNLEN macro.
80254         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80255         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80256         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80257         * wcsmbs/wcslen.c: Define and use WCSLEN.
80258         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80259         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80260         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80261         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80262         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80263         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80264         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80266 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80269         strnlen-sse2-no-bsf.
80270         Rename strlen-no-bsf to strlen-sse2-no-bsf.
80271         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80272         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80273         Add strnlen support.
80274         (USE_AS_STRNLEN): New macro.
80275         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80276         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80277         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80278         * sysdeps/x86_64/wcslen.S: New file.
80280 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
80282         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80283         XMM-moves are used for copying on small sizes.
80285 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80287         * wcsmbs/Makefile (strop-tests): Add wcschr.
80288         * wcsmbs/test-wcschr.c: New file.
80289         * string/test-strchr.c: Update.
80290         Add wcschr support.
80291         (WIDE): New macro.
80293 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80295         * wcsmbs/Makefile (strop-tests): Add wcslen.
80296         * wcsmbs/test-wcslen.c: New file.
80297         * string/test-strlen.c: Update.
80298         Add wcslen support.
80299         (WIDE): New macro.
80301 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80303         * po/it.po: Update from translation team.
80305 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80307         * sysdeps/x86_64/wcscmp.S: Update.
80308         Fix wrong comparison semantics.
80309         wcscmp shall use signed comparison not unsigned.
80310         Don't use substraction to avoid overflow bug.
80311         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80312         * wcsmbc/wcscmp.c: Likewise.
80313         * string/test-strcmp.c: Likewise.
80314         Add new tests to check cases with negative values.
80316 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80318         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80319         * sysdeps/x86_64/dla.h: ...here.  New file.
80320         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80321         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80322         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80323         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80324         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80325         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80328         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80330 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
80332         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80333         __ynl_finite aliases.
80335 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80337         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80339         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80340         define DLA_FMA.
80341         [DLA_FMA] (EMULV): Use DLA_FMA.
80342         [DLA_FMA] (MUL12): Use EMULV.
80343         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80344         that are not needed.
80345         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80346         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80347         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80348         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80349         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80350         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80351         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80353 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
80355         * math/s_nan.c: Undef __nan.
80356         * math/s_nanf.c: Undef __nanf.
80357         * math/s_nanl.c: Undef __nanl.
80358         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80359         "math_private.h".
80361 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80363         * math/s_catan.c: Add branch predictions.
80364         * math/s_catanf.c: Likewise.
80365         * math/s_catanh.c: Likewise.
80366         * math/s_catanhf.c: Likewise.
80367         * math/s_catanhl.c: Likewise.
80368         * math/s_catanl.c: Likewise.
80369         * math/s_cexp.c: Likewise.
80370         * math/s_cexpf.c: Likewise.
80371         * math/s_cexpl.c: Likewise.
80372         * math/s_clog.c: Likewise.
80373         * math/s_clog10.c: Likewise.
80374         * math/s_clog10f.c: Likewise.
80375         * math/s_clog10l.c: Likewise.
80376         * math/s_clogf.c: Likewise.
80377         * math/s_clogl.c: Likewise.
80378         * math/s_csqrt.c: Likewise.
80379         * math/s_csqrtf.c: Likewise.
80380         * math/s_csqrtl.c: Likewise.
80381         * math/s_ctanf.c: Likewise.
80382         * math/s_ctanh.c: Likewise.
80383         * math/s_ctanhf.c: Likewise.
80384         * math/s_ctanhl.c: Likewise.
80385         * math/s_ctanl.c: Likewise.
80387         * math/math_private.h: Define __nan, __nanf, __nanl.
80388         * math/s_cacosh.c: Include <math_private.h>.
80389         * math/s_cacoshl.c: Likewise.
80390         * math/s_casinh.c: Likewise.
80391         * math/s_casinhf.c: Likewise.
80392         * math/s_casinhl.c: Likewise.
80393         * math/s_ccos.c: Rely entire on ccosh.
80394         * math/s_ccosf.c: Rely entire on ccoshf.
80395         * math/s_ccosl.c: Rely entirely on ccoshl.
80396         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
80397         Remove tests for FE_INVALID.
80398         * math/s_ccoshf.c: Likewise.
80399         * math/s_ccoshl.c: Likewise.
80400         * math/s_csin.c: Likewise.
80401         * math/s_csinf.c: Likewise.
80402         * math/s_csinh.c Likewise.
80403         * math/s_csinhf.c: Likewise.
80404         * math/s_csinhl.c: Likewise.
80405         * math/s_csinl.c: Likewise.
80406         * math/s_ctan.c: Likewise.
80407         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80408         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80409         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80411 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
80413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80414         compilation problems.
80416         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80417         __builtin_expect.
80419 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
80421         * sysdeps/i386/configure.in: Test for -mfma4 option.
80422         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80423         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80424         COMMON_CPUID_INDEX_80000001.
80425         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80426         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80427         use it if FMA3 is not supported.
80428         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80430         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80431         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80433 2011-10-20  Andreas Schwab  <schwab@redhat.com>
80435         [BZ #12892]
80436         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80437         it would create a cycle with a link time dependency.
80439 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
80441         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80442         instruction.
80443         * string/Makefile (strop-tests): Add rawmemchr.
80444         * string/test-rawmemchr.c: New file.
80446         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80447         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
80448         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
80449         when compiling str{,n}casecmp and when AVX is available.  Hook up
80450         new optimized code in initializers.
80452 2011-10-19  Andreas Schwab  <schwab@redhat.com>
80454         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80455         __feraiseexcept instead of feraiseexcept.
80457 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
80459         * math/math_private.h: Define defaults for libc_fetestexcept and
80460         libc_feupdateenv.
80461         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80462         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80463         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80464         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80465         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80466         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80467         libc_fetestexcept and libc_feupdateenv.
80469         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80470         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80471         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80472         * sysdeps/x86_64/fpu/math_private.h: Define special version of
80473         libc_feholdexcept_setround.
80475         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80476         Add s_nearbyint-c and s_nearbyintf-c.
80477         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80478         nearbyintf inlines.
80479         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80480         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80481         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80482         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80484         * math/math_private.h: Define defaults for libc_fegetround,
80485         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80486         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80487         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80488         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80489         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80490         standard functions.
80491         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80492         Remove comments and hacks for old compiler versions.
80493         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80494         libc_fegetround, libc_fesetround, libc_feholdexcept, and
80495         libc_feholdexceptl.
80497 2011-10-18  Andreas Schwab  <schwab@redhat.com>
80499         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80500         (__feraiseexcept_renamed): Add __NTH.
80501         (feraiseexcept): Add __NTH.  Rename local variables to fix
80502         namespace violations.
80504 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
80506         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80508         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80510         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80511         recently added interfaces.
80512         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80514         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80515         about macro parameter expansion.
80517         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80518         __NO_MATH_INLINES is defined.  Cleanups.
80520         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80521         and __floorf is target has SSE4.1.
80522         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80523         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80524         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80525         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80527         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80528         name.
80529         (floorf): Likewise.
80531         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80533 2011-10-17  Andreas Schwab  <schwab@redhat.com>
80535         * misc/sys/cdefs.h: Fix last change.
80537         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80538         database lookup.
80540 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
80542         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80544         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80545         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80546         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80547         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80548         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80549         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80550         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80551         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80552         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80553         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80554         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80555         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80556         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80557         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80558         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80559         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80560         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80561         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80562         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80563         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80564         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80565         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80567         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80568         ceil, ceilf, floor, floorf.
80570         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80571         Perform IRELATIVE relocations last.
80573         * elf/do-rel.h: Add another parameter nrelative, replacing the
80574         local variable with the same name.  Change name of the function
80575         to end in Rel or Rela (uppercase).
80576         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80577         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
80578         elf_dynamic_do_##reloc function.
80580 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80582         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80583         is sufficient, at least on modern CPUs.
80585         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80587         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80588         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80590         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80591         __expl_finite.
80592         * math/bits/math-finite.h: Add entries for exp.
80593         * math/e_expl.c: Add __*_finite alias.
80594         * sysdeps/i386/fpu/e_exp.S: Likewise.
80595         * sysdeps/i386/fpu/e_expf.S: Likewise.
80596         * sysdeps/i386/fpu/e_expl.c: Likewise.
80597         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80598         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80599         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80600         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80601         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80602         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80603         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80605         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80606         is sufficient, at least on modern CPUs.
80608         * ctype/ctype-info.c (__ctype_init): Define.
80609         * include/ctype.h (__ctype_init): Declare.
80610         (__ctype_b_loc): The variable is always initialized.
80611         (__ctype_toupper_loc): Likewise.
80612         (__ctype_tolower_loc): Likewise.
80613         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80614         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80616 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
80618         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80620         * configure.in: Also look in $cxxmachine/include for C++ system
80621         headers.
80623 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80625         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80626         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80627         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80628         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
80629         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80630         (USE_AS_WMEMCMP): New macro.
80631         Fixing indents.
80632         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80633         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80634         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80635         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80636         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80637         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80638         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80639         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80640         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80641         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80642         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80643         (USE_AS_WMEMCMP): New macro.
80644         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80645         * sysdeps/string/test-memcmp.c: Update.
80646         Fix simple_wmemcmp.
80647         Add new tests.
80648         * wcsmbs/wmemcmp.c: Update.
80649         (WMEMCMP): New macro.
80650         Fix overflow bug.
80652 2011-10-12  Andreas Jaeger  <aj@suse.de>
80654         [BZ #13268]
80655         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80657 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80659         * libio/iofwide.c (do_length): Avoid warning.
80661         * ctype/ctype.h (__isctype_f): Add missing __THROW.
80663 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
80665         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80667         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80668         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80669         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80670         * sysdeps/i386/i686/fpu/e_log.S: New file.
80671         * sysdeps/i386/i686/fpu/e_logf.S: New file.
80672         * sysdeps/i386/i686/fpu/e_logl.S: New file.
80674         * ctype/ctype.h: Add support for inlined isXXX functions when
80675         compiling C++ code.
80677 2011-10-14  Andreas Schwab  <schwab@redhat.com>
80679         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80681         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80683 2011-10-13  Roland McGrath  <roland@hack.frob.com>
80685         [BZ #13291]
80686         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80688 2011-10-13  Andreas Schwab  <schwab@redhat.com>
80690         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80691         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80692         feraiseexcept.
80694         * sysdeps/x86_64/memrchr.S: Check for zero size.
80696         * string/stratcliff.c: Add memrchr tests.
80698 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80700         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80701         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80702         rawmemchr-sse2 rawmemchr-sse2-bsf.
80703         * sysdeps/i386/i686/multiarch/memchr.S: New file.
80704         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80705         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80706         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80707         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80708         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80709         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80710         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80711         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80712         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80713         * string/memrchr.c (MEMRCHR): New macro.
80715 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
80717         Add integration with gcc's -ffinite-math-only and optimize wrapper
80718         functions in libm.
80719         * Versions.def: Define GLIBC_2.15 version for libm.
80720         * math/Makefile (headers): Add bits/math-finite.h.
80721         * math/bits/math-finite.h: New file.
80722         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80723         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80724         * math/e_acoshl.c: Add __*_finite alias.
80725         * math/e_acosl.c: Likewise.
80726         * math/e_asinl.c: Likewise.
80727         * math/e_atan2l.c: Likewise.
80728         * math/e_atanhl.c: Likewise.
80729         * math/e_coshl.c: Likewise.
80730         * math/e_exp10.c: Likewise.
80731         * math/e_exp10f.c: Likewise.
80732         * math/e_exp10l.c: Likewise.
80733         * math/e_exp2l.c: Likewise.
80734         * math/e_fmodl.c: Likewise.
80735         * math/e_gammal_r.c: Likewise.
80736         * math/e_hypotl.c: Likewise.
80737         * math/e_j0l.c: Likewise.
80738         * math/e_j1l.c: Likewise.
80739         * math/e_jnl.c: Likewise.
80740         * math/e_lgammal_r.c: Likewise.
80741         * math/e_log10l.c: Likewise.
80742         * math/e_log2l.c: Likewise.
80743         * math/e_logl.c: Likewise.
80744         * math/e_powl.c: Likewise.
80745         * math/e_sinhl.c: Likewise.
80746         * math/e_sqrtl.c: Likewise.
80747         * math/e_scalb.c: Completely rewritten and optimized.
80748         * math/e_scalbf.c: Likewise.
80749         * math/e_scalbl.c: Likewise.
80750         * math/w_acos.c: Likewise.
80751         * math/w_acosf.c: Likewise.
80752         * math/w_acosl.c: Likewise.
80753         * math/w_acosh.c: Likewise.
80754         * math/w_acoshf.c: Likewise.
80755         * math/w_acoshl.c: Likewise.
80756         * math/w_asin.c: Likewise.
80757         * math/w_asinf.c: Likewise.
80758         * math/w_asinl.c: Likewise.
80759         * math/w_atan2.c: Likewise.
80760         * math/w_atan2f.c: Likewise.
80761         * math/w_atan2l.c: Likewise.
80762         * math/w_atanh.c: Likewise.
80763         * math/w_atanhf.c: Likewise.
80764         * math/w_atanhl.c: Likewise.
80765         * math/w_exp10.c: Likewise.
80766         * math/w_exp10f.c: Likewise.
80767         * math/w_exp10l.c: Likewise.
80768         * math/w_fmod.c: Likewise.
80769         * math/w_fmodf.c: Likewise.
80770         * math/w_fmodl.c: Likewise.
80771         * math/w_j0.c: Likewise.
80772         * math/w_j0f.c: Likewise.
80773         * math/w_j0l.c: Likewise.
80774         * math/w_j1.c: Likewise.
80775         * math/w_j1f.c: Likewise.
80776         * math/w_j1l.c: Likewise.
80777         * math/w_jn.c: Likewise.
80778         * math/w_jnf.c: Likewise.
80779         * math/w_log.c: Likewise.
80780         * math/w_logf.c: Likewise.
80781         * math/w_logl.c: Likewise.
80782         * math/w_log10.c: Likewise.
80783         * math/w_log10f.c: Likewise.
80784         * math/w_log10l.c: Likewise.
80785         * math/w_log2.c: Likewise.
80786         * math/w_log2f.c: Likewise.
80787         * math/w_log2l.c: Likewise.
80788         * math/w_pow.c: Likewise.
80789         * math/w_powf.c: Likewise.
80790         * math/w_powl.c: Likewise.
80791         * math/w_remainder.c: Likewise.
80792         * math/w_remainderf.c: Likewise.
80793         * math/w_remainderl.c: Likewise.
80794         * math/w_scalb.c: Likewise.
80795         * math/w_scalbf.c: Likewise.
80796         * math/w_scalbl.c: Likewise.
80797         * math/w_sqrt.c: Likewise.
80798         * math/w_sqrtf.c: Likewise.
80799         * math/w_sqrtl.c: Likewise.
80800         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80801         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
80802         used.
80803         * math/math_private.h: Declare __kernel_standard_f.
80804         * math/w_cosh.c: Remove cruft and optimize a bit.
80805         * math/w_coshf.c: Likewise.
80806         * math/w_coshl.c: Likewise.
80807         * math/w_exp2.c: Likewise.
80808         * math/w_exp2f.c: Likewise.
80809         * math/w_exp2l.c: Likewise.
80810         * math/w_hypot.c: Likewise.
80811         * math/w_hypotf.c: Likewise.
80812         * math/w_hypotl.c: Likewise.
80813         * math/w_lgamma.c: Likewise.
80814         * math/w_lgamma_r.c: Likewise.
80815         * math/w_lgammaf.c: Likewise.
80816         * math/w_lgammaf_r.c: Likewise.
80817         * math/w_lgammal.c: Likewise.
80818         * math/w_lgammal_r.c: Likewise.
80819         * math/w_sinh.c: Likewise.
80820         * math/w_sinhf.c: Likewise.
80821         * math/w_sinhl.c: Likewise.
80822         * math/w_tgamma.c: Likewise.
80823         * math/w_tgammaf.c: Likewise.
80824         * math/w_tgammal.c: Likewise.
80825         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80826         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80827         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80828         Minor optimizations.  Pretty printing.  Remove cruft.
80829         * sysdeps/i386/fpu/e_acosf.S: Likewise.
80830         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80831         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80832         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80833         * sysdeps/i386/fpu/e_acosl.c: Likewise.
80834         * sysdeps/i386/fpu/e_asin.S: Likewise.
80835         * sysdeps/i386/fpu/e_asinf.S: Likewise.
80836         * sysdeps/i386/fpu/e_atan2.S: Likewise.
80837         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80838         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80839         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80840         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80841         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80842         * sysdeps/i386/fpu/e_exp10.S: Likewise.
80843         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80844         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80845         * sysdeps/i386/fpu/e_exp2.S: Likewise.
80846         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80847         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80848         * sysdeps/i386/fpu/e_fmod.S: Likewise.
80849         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80850         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80851         * sysdeps/i386/fpu/e_hypot.S: Likewise.
80852         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80853         * sysdeps/i386/fpu/e_log.S: Likewise.
80854         * sysdeps/i386/fpu/e_log10.S: Likewise.
80855         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80856         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80857         * sysdeps/i386/fpu/e_log2.S: Likewise.
80858         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80859         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80860         * sysdeps/i386/fpu/e_logf.S: Likewise.
80861         * sysdeps/i386/fpu/e_logl.S: Likewise.
80862         * sysdeps/i386/fpu/e_pow.S: Likewise.
80863         * sysdeps/i386/fpu/e_powf.S: Likewise.
80864         * sysdeps/i386/fpu/e_powl.S: Likewise.
80865         * sysdeps/i386/fpu/e_remainder.S: Likewise.
80866         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80867         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80868         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80869         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80870         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80871         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80872         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80873         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80874         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80875         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80876         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80877         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80878         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80879         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80880         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80881         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80882         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80883         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80884         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80885         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80886         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80887         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80888         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80889         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80890         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80891         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80892         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80893         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80894         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80895         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80896         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80897         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80898         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80899         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80900         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80901         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80902         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80903         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80904         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80905         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80906         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80907         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80908         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80909         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80910         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80911         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80912         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80913         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80914         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80915         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80916         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80917         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80918         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80919         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80920         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80921         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80922         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80923         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80924         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80925         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80926         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80927         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80928         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80929         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80930         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80931         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80932         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80933         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80934         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80935         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80936         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80938         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80939         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80940         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80941         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80942         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80943         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80944         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80945         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80946         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80947         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80948         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80949         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80950         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80951         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80952         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80953         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80954         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80955         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80956         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80957         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80958         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80959         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80960         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80961         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80962         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80963         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80964         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80965         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80966         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80967         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80968         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80969         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80970         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80971         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80972         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80973         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80974         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80975         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80976         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80977         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80978         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80979         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80980         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80981         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80982         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80983         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80984         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
80985         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80986         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80987         (__isnanf): Likewise.
80988         (__isinf_ns): Likewise.
80989         (__isinf_nsf): Likewise.
80990         (__finite): Likewise.
80991         (__finitef): Likewise.
80992         (__ieee754_sqrt): Define as macro.
80993         (__ieee754_sqrtf): Define as macro.
80994         (__ieee754_sqrtl): Define as macro.
80995         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80996         inlined copy.
80997         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80998         __FINITE_MATH_ONLY__ consistent.
80999         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
81001 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
81003         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
81004         of rawmemchr.
81006         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
81008 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
81010         * po/ja.po: Update from translation team.
81012 2011-10-08  Roland McGrath  <roland@hack.frob.com>
81014         * locale/programs/locarchive.c (prepare_address_space): New function.
81015         (create_archive, enlarge_archive, open_archive): Use it.
81017         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
81018         inside [SHARED], where it is used.
81020         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
81022         * nss/getent.c (netgroup_keys): Remove unused variable.
81023         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81025 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
81027         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
81028         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
81029         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
81030         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
81031         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
81032         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
81033         * math/Makefile (libm-calls): Add s_isinf_ns.
81034         * math/divtc3.c: Use __isinf_nsl instead of isinf.
81035         * math/multc3.c: Likewise.
81036         * math/s_casin.c: Likewise.
81037         * math/s_casinf.c: Likewise.
81038         * math/s_casinl.c: Likewise.
81039         * math/s_ccos.c: Likewise.
81040         * math/s_ccosf.c: Likewise.
81041         * math/s_ccosl.c: Likewise.
81042         * math/s_ctan.c: Likewise.
81043         * math/s_ctanf.c: Likewise.
81044         * math/s_ctanh.c: Likewise.
81045         * math/s_ctanhf.c: Likewise.
81046         * math/s_ctanhl.c: Likewise.
81047         * math/s_ctanl.c: Likewise.
81048         * math/w_fmod.c: Likewise.
81049         * math/w_fmodf.c: Likewise.
81050         * math/w_fmodl.c: Likewise.
81051         * math/w_remainder.c: Likewise.
81052         * math/w_remainderf.c: Likewise.
81053         * math/w_remainderl.c: Likewise.
81054         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
81055         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
81056         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
81057         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
81058         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
81059         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
81060         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
81061         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
81063         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
81064         of the number.
81065         * stdio-common/printf_fphex.c: Likewise.
81066         * stdio-common/printf_size.c: Likewise.
81068         * math/e_exp10.c: Include math_private.h using <...> not "...".
81069         * math/e_exp10f.c: Likewise.
81070         * math/e_exp10l.c: Likewise.
81071         * math/e_exp2l.c: Likewise.
81072         * math/e_j0l.c: Likewise.
81073         * math/e_j1l.c: Likewise.
81074         * math/e_jnl.c: Likewise.
81075         * math/e_lgammal_r.c: Likewise.
81076         * math/e_rem_pio2l.c: Likewise.
81077         * math/e_scalb.c: Likewise.
81078         * math/e_scalbf.c: Likewise.
81079         * math/e_scalbl.c: Likewise.
81080         * math/k_cosl.c: Likewise.
81081         * math/k_sinl.c: Likewise.
81082         * math/k_tanl.c: Likewise.
81083         * math/s_cacoshf.c: Likewise.
81084         * math/s_catan.c: Likewise.
81085         * math/s_catanf.c: Likewise.
81086         * math/s_catanh.c: Likewise.
81087         * math/s_catanhf.c: Likewise.
81088         * math/s_catanhl.c: Likewise.
81089         * math/s_catanl.c: Likewise.
81090         * math/s_ccosh.c: Likewise.
81091         * math/s_ccoshf.c: Likewise.
81092         * math/s_ccoshl.c: Likewise.
81093         * math/s_cexp.c: Likewise.
81094         * math/s_cexpf.c: Likewise.
81095         * math/s_cexpl.c: Likewise.
81096         * math/s_clog.c: Likewise.
81097         * math/s_clog10.c: Likewise.
81098         * math/s_clog10f.c: Likewise.
81099         * math/s_clog10l.c: Likewise.
81100         * math/s_clogf.c: Likewise.
81101         * math/s_clogl.c: Likewise.
81102         * math/s_csin.c: Likewise.
81103         * math/s_csinf.c: Likewise.
81104         * math/s_csinh.c: Likewise.
81105         * math/s_csinhf.c: Likewise.
81106         * math/s_csinhl.c: Likewise.
81107         * math/s_csinl.c: Likewise.
81108         * math/s_csqrt.c: Likewise.
81109         * math/s_csqrtf.c: Likewise.
81110         * math/s_csqrtl.c: Likewise.
81111         * math/s_ctan.c: Likewise.
81112         * math/s_ctanf.c: Likewise.
81113         * math/s_ctanh.c: Likewise.
81114         * math/s_ctanhf.c: Likewise.
81115         * math/s_ctanhl.c: Likewise.
81116         * math/s_ctanl.c: Likewise.
81117         * math/s_ldexp.c: Likewise.
81118         * math/s_ldexpf.c: Likewise.
81119         * math/s_ldexpl.c: Likewise.
81120         * math/s_significand.c: Likewise.
81121         * math/s_significandf.c: Likewise.
81122         * math/s_significandl.c: Likewise.
81123         * math/w_acos.c: Likewise.
81124         * math/w_acosf.c: Likewise.
81125         * math/w_acosh.c: Likewise.
81126         * math/w_acoshf.c: Likewise.
81127         * math/w_acoshl.c: Likewise.
81128         * math/w_acosl.c: Likewise.
81129         * math/w_asin.c: Likewise.
81130         * math/w_asinf.c: Likewise.
81131         * math/w_asinl.c: Likewise.
81132         * math/w_atan2.c: Likewise.
81133         * math/w_atan2f.c: Likewise.
81134         * math/w_atan2l.c: Likewise.
81135         * math/w_atanh.c: Likewise.
81136         * math/w_atanhf.c: Likewise.
81137         * math/w_atanhl.c: Likewise.
81138         * math/w_cosh.c: Likewise.
81139         * math/w_coshf.c: Likewise.
81140         * math/w_coshl.c: Likewise.
81141         * math/w_dremf.c: Likewise.
81142         * math/w_exp10.c: Likewise.
81143         * math/w_exp10f.c: Likewise.
81144         * math/w_exp10l.c: Likewise.
81145         * math/w_exp2.c: Likewise.
81146         * math/w_exp2f.c: Likewise.
81147         * math/w_fmod.c: Likewise.
81148         * math/w_fmodf.c: Likewise.
81149         * math/w_fmodl.c: Likewise.
81150         * math/w_hypot.c: Likewise.
81151         * math/w_hypotf.c: Likewise.
81152         * math/w_hypotl.c: Likewise.
81153         * math/w_j0.c: Likewise.
81154         * math/w_j0f.c: Likewise.
81155         * math/w_j0l.c: Likewise.
81156         * math/w_j1.c: Likewise.
81157         * math/w_j1f.c: Likewise.
81158         * math/w_j1l.c: Likewise.
81159         * math/w_jn.c: Likewise.
81160         * math/w_jnf.c: Likewise.
81161         * math/w_jnl.c: Likewise.
81162         * math/w_lgamma.c: Likewise.
81163         * math/w_lgamma_r.c: Likewise.
81164         * math/w_lgammaf.c: Likewise.
81165         * math/w_lgammaf_r.c: Likewise.
81166         * math/w_lgammal.c: Likewise.
81167         * math/w_lgammal_r.c: Likewise.
81168         * math/w_log.c: Likewise.
81169         * math/w_log10.c: Likewise.
81170         * math/w_log10f.c: Likewise.
81171         * math/w_log10l.c: Likewise.
81172         * math/w_log2.c: Likewise.
81173         * math/w_log2f.c: Likewise.
81174         * math/w_log2l.c: Likewise.
81175         * math/w_logf.c: Likewise.
81176         * math/w_logl.c: Likewise.
81177         * math/w_pow.c: Likewise.
81178         * math/w_powf.c: Likewise.
81179         * math/w_powl.c: Likewise.
81180         * math/w_remainder.c: Likewise.
81181         * math/w_remainderf.c: Likewise.
81182         * math/w_remainderl.c: Likewise.
81183         * math/w_scalb.c: Likewise.
81184         * math/w_scalbf.c: Likewise.
81185         * math/w_scalbl.c: Likewise.
81186         * math/w_sinh.c: Likewise.
81187         * math/w_sinhf.c: Likewise.
81188         * math/w_sinhl.c: Likewise.
81189         * math/w_sqrt.c: Likewise.
81190         * math/w_sqrtf.c: Likewise.
81191         * math/w_sqrtl.c: Likewise.
81192         * math/w_tgamma.c: Likewise.
81193         * math/w_tgammaf.c: Likewise.
81194         * math/w_tgammal.c: Likewise.
81196         * po/ja.po: Update from translation team.
81198 2011-09-29  Andreas Jaeger  <aj@suse.de>
81200         [BZ #13179]
81201         * sunrpc/netname.c (netname2host): Fix logic.
81203         [BZ #6779]
81204         [BZ #6783]
81205         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81206         correctly.
81207         * math/w_remainder.c (__remainder): Likewise.
81208         * math/w_remainderf.c (__remainderf): Likewise.
81209         * math/libm-test.inc (remainder_test): Add test cases.
81211 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81213         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
81214         sdiv_qrnnd.
81216 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81218         * string/test-memcmp.c: Avoid unncessary #defines.
81219         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81221 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81223         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81224         Use new sse2 version for core i3 - i7 as it's faster
81225         than sse42 version.
81226         (bit_Prefer_PMINUB_for_stringop): New.
81227         * sysdeps/x86_64/rawmemchr.S: Update.
81228         Replace with faster SSE2 version.
81229         * sysdeps/x86_64/memrchr.S: New file.
81230         * sysdeps/x86_64/memchr.S: Update.
81231         Replace with faster SSE2 version.
81233 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
81235         * elf/dl-load.c (lose): Add cast to avoid warning.
81237 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81239         * po/ca.po: Update from translation team.
81241         * inet/getnetgrent_r.c: Hook up nscd.
81242         * nscd/Makefile (routines): Add nscd_netgroup.
81243         (nscd-modules): Add netgroupcache.
81244         (CFLAGS-netgroupcache.c): Define.
81245         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81246         (cache_search): Add const to second parameter.
81247         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81248         INNETGR.
81249         (dbs): Add netgrdb entry.
81250         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81251         (verify_persistent_db): Handle netgrdb.
81252         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81253         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81254         GETFDNETGR.
81255         (netgroup_response_header): Define.
81256         (innetgroup_response_header): Define.
81257         (datahead): Add netgroup_response_header and innetgroup_response_header
81258         elements.
81259         * nscd/nscd.conf: Add entries for netgroup cache.
81260         * nscd/nscd.h (dbtype): Add netgrdb.
81261         (_PATH_NSCD_NETGROUP_DB): Define.
81262         (netgroup_iov_disabled): Declare.
81263         (xmalloc, xcalloc, xrealloc): Move declarations here.
81264         (cache_search): Adjust prototype.
81265         Add netgroup-related prototypes.
81266         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81267         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81268         (__nscd_innetgr): Declare.
81269         * nscd/selinux.c (perms): Use access_vector_t as element type and
81270         add netgroup-related initializers.
81271         * nscd/netgroupcache.c: New file.
81272         * nscd/nscd_netgroup.c: New file.
81273         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81274         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81275         For four parameters use innetgr.
81276         * nss/nss_files/files-init.c: Add definition and callback for netgr.
81277         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81278         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81279         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81281         * nscd/connections.c (register_traced_file): Don't register file
81282         for disabled databases.
81284 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
81286         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81288         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81289         from tree and freeing node.
81291 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
81293         * nss/nsswitch.c (__nss_database_lookup): Handle
81294         nss_parse_service_list out of memory case.
81296 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
81298         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81299         out of memory case.
81301 2011-10-04  Andreas Schwab  <schwab@redhat.com>
81303         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81304         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81305         pass it down.
81306         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81307         elf_machine_rela, elf_machine_lazy_rel.
81308         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81309         (ELF_DYNAMIC_DO_REL): Likewise.
81310         (ELF_DYNAMIC_DO_RELA): Likewise.
81311         (ELF_DYNAMIC_RELOCATE): Likewise.
81312         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81313         to ELF_DYNAMIC_DO_REL.
81314         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81315         (dl_main): In trace mode always set __RTLD_NOIFUNC.
81316         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81317         elf_machine_rela.
81318         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81319         skip_ifunc, don't call ifunc function if non-zero.
81320         (elf_machine_rela): Likewise.
81321         (elf_machine_lazy_rel): Likewise.
81322         (elf_machine_lazy_rela): Likewise.
81323         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81324         (elf_machine_lazy_rel): Likewise.
81325         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81326         Likewise.
81327         (elf_machine_lazy_rel): Likewise.
81328         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81329         Likewise.
81330         (elf_machine_lazy_rel): Likewise.
81331         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81332         (elf_machine_lazy_rel): Likewise.
81333         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81334         (elf_machine_lazy_rel): Likewise.
81335         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81336         (elf_machine_lazy_rel): Likewise.
81337         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81338         (elf_machine_lazy_rel): Likewise.
81339         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81340         (elf_machine_lazy_rel): Likewise.
81341         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81342         (elf_machine_lazy_rel): Likewise.
81344 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
81346         * nss/nss_files/files-init.c (_nss_files_init): Use static
81347         initialization for all the *_traced_file variables.
81349 2011-09-28  Andreas Schwab  <schwab@redhat.com>
81351         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81353 2011-09-27  Roland McGrath  <roland@hack.frob.com>
81355         [BZ #13226]
81356         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81358 2011-09-27  Andreas Schwab  <schwab@redhat.com>
81360         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81361         Reread the line before reparsing it.
81363 2011-09-26  Andreas Schwab  <schwab@redhat.com>
81365         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81367 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
81368             Maxim Kuvyrkov  <maxim@codesourcery.com>
81369             Joseph Myers  <joseph@codesourcery.com>
81371         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81372         if needed for __stack_chk_guard.
81374 2011-09-19  Roland McGrath  <roland@hack.frob.com>
81376         * sysdeps/posix/spawni.c (script_execute): Always define it.
81377         It will be optimized away if unused.
81378         (maybe_script_execute): New function.
81379         (__spawni): Call it.
81381         * Makerules: Don't include tls.make.
81382         (config-tls): Always set to thread.
81383         * tls.make.c: File removed.
81385 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
81387         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81388         * config.make.in (CPPFLAGS-config): New substituted variable.
81390 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81392         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81394         [BZ #13192]
81395         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81396         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81398 2011-09-15  Roland McGrath  <roland@hack.frob.com>
81400         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81401         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81402         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81403         (CALL_FAIL): Likewise.
81404         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81405         (CALL_FAIL): Macro removed.
81406         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81408 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81410         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81411         for __FINITE_MATH_ONLY__ == 1.
81413 2011-09-15  Andreas Schwab  <schwab@redhat.com>
81415         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81416         __ieee754_sqrt instead of sqrt.
81417         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81418         __ieee754_sqrtf instead of sqrtf.
81419         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81420         __floorf instead of floorf.
81421         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81422         __floorf, __truncf instead of floorf, truncf.
81424 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
81426         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81428         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81429         __extern_always_inline.
81430         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81431         32-bit.
81433 2011-09-14  Andreas Schwab  <schwab@redhat.com>
81435         * elf/rtld.c (dl_main): Also relocate in dependency order when
81436         doing symbol dependency testing.
81438 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
81440         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81441         Always define `refsym'.
81443 2011-09-13  Andreas Schwab  <schwab@redhat.com>
81445         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81446         (__FD_ELT): Renamed from __FDELT.
81447         * misc/bits/select2.h (__FD_ELT): Likewise.
81448         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81449         __FD_MASK instead of __FDELT, __FDMASK.
81450         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81451         Likewise.
81452         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81453         Likewise.
81455         * elf/Makefile (gen-ldd): Fix pattern.
81457         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81458         (init_tls): Likewise.
81460 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
81462         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81464 2011-09-12  Andreas Schwab  <schwab@redhat.com>
81466         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81467         `struct cmsghdr *' instead of `void *'.
81468         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81469         Likewise.
81471 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
81473         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81474         if non-absolute.
81475         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81476         ldd_rewrite_script.
81478 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
81480         * configure.in: Remove --with-tls option.
81481         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81482         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81483         out in case it is missing.
81484         * sysdeps/ia64/elf/configure.in: Likewise.
81485         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81486         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81487         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81488         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81489         * sysdeps/sh/elf/configure.in: Likewise.
81490         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81491         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81492         * sysdeps/x86_64/elf/configure.in: Likewise.
81493         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81494         * sysdeps/mach/hurd/tls.h: Likewise.
81496         [BZ #13067]
81497         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81499         [BZ #13090]
81500         * configure.in: Fix use of AC_INIT.
81502         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81504 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
81506         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81507         __set_errno.
81508         * malloc/hooks.c: Likewise.
81510         [BZ #11929]
81511         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
81512         variables statically.
81513         (narenas): Initialize.
81514         (list_lock): Initialize.
81515         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
81516         initializtion of main_arena and list_lock.  Small cleanups.
81517         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81518         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
81519         Add initializers to main_arena and mp_.
81520         (malloc_state): Remove pagesize member.  Change all users to use
81521         GLRO(dl_pagesize).
81523         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81524         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
81525         is always initialized.
81527         * malloc/malloc.c: Removed unused configurations and dead code.
81528         * malloc/arena.c: Likewise.
81529         * malloc/hooks.c: Likewise.
81530         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81532         * include/tls.h: Removed.  USE___THREAD must always be defined.
81533         * bits/libc-tsd.h: Don't handle !USE___THREAD.
81534         * elf/dl-libc.c: Likewise.
81535         * elf/dl-tsd.c: Likewise.
81536         * include/errno.h: Likewise.
81537         * include/netdb.h: Likewise.
81538         * include/resolv.h: Likewise.
81539         * inet/herrno-loc.c: Likewise.
81540         * inet/herrno.c: Likewise.
81541         * malloc/arena.c: Likewise.
81542         * malloc/hooks.c: Likewise.
81543         * malloc/malloc.c: Likewise.
81544         * resolv/res-state.c: Likewise.
81545         * resolv/res_libc.c: Likewise.
81546         * sysdeps/i386/dl-machine.h: Likewise.
81547         * sysdeps/ia64/dl-machine.h: Likewise.
81548         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81549         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81550         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81551         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81552         * sysdeps/sh/dl-machine.h: Likewise.
81553         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81554         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81555         * sysdeps/unix/i386/sysdep.S: Likewise.
81556         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81557         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81558         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81559         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81560         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81561         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81562         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81563         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81565         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81566         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81567         * sysdeps/x86_64/dl-machine.h: Likewise.
81568         * tls.make.c: Likewise.
81570         * configure.in: Remove --with-__thread option.  Make tests for
81571         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81572         tls_model attribute fail if no support is available.  Remove
81573         USE_IN_LIBIO.
81574         * Makeconfig: Adjust for dropped configure option.  All features are
81575         now mandatory.
81576         * Makerules: Likewise.
81577         * Versions.def: Likewise.
81578         * argp/argp-fmtstream.c: Likewise.
81579         * argp/argp-fmtstream.h: Likewise.
81580         * argp/argp-help.c: Likewise.
81581         * assert/assert.c: Likewise.
81582         * config.h.in: Likewise.
81583         * config.make.in: Likewise.
81584         * configure: Likewise.
81585         * configure.in: Likewise.
81586         * csu/Versions: Likewise.
81587         * csu/init.c: Likewise.
81588         * elf/tst-audit2.c: Likewise.
81589         * elf/tst-tls10.c: Likewise.
81590         * elf/tst-tls10.h: Likewise.
81591         * elf/tst-tls11.c: Likewise.
81592         * elf/tst-tls12.c: Likewise.
81593         * elf/tst-tls14.c: Likewise.
81594         * elf/tst-tlsmod11.c: Likewise.
81595         * elf/tst-tlsmod12.c: Likewise.
81596         * elf/tst-tlsmod13.c: Likewise.
81597         * elf/tst-tlsmod13a.c: Likewise.
81598         * elf/tst-tlsmod14a.c: Likewise.
81599         * elf/tst-tlsmod15b.c: Likewise.
81600         * elf/tst-tlsmod16a.c: Likewise.
81601         * elf/tst-tlsmod16b.c: Likewise.
81602         * elf/tst-tlsmod7.c: Likewise.
81603         * elf/tst-tlsmod8.c: Likewise.
81604         * elf/tst-tlsmod9.c: Likewise.
81605         * gmon/gmon.c: Likewise.
81606         * grp/fgetgrent_r.c: Likewise.
81607         * grp/putgrent.c: Likewise.
81608         * hurd/fopenport.c: Likewise.
81609         * include/libc-symbols.h: Likewise.
81610         * include/tls.h: Likewise.
81611         * intl/gettextP.h: Likewise.
81612         * intl/loadinfo.h: Likewise.
81613         * locale/global-locale.c: Likewise.
81614         * locale/localeinfo.h: Likewise.
81615         * mach/devstream.c: Likewise.
81616         * malloc/arena.c: Likewise.
81617         * malloc/set-freeres.c: Likewise.
81618         * misc/err.c: Likewise.
81619         * misc/getttyent.c: Likewise.
81620         * misc/mntent_r.c: Likewise.
81621         * posix/getopt.c: Likewise.
81622         * posix/wordexp.c: Likewise.
81623         * pwd/fgetpwent_r.c: Likewise.
81624         * resolv/Versions: Likewise.
81625         * resolv/res_hconf.c: Likewise.
81626         * shadow/fgetspent_r.c: Likewise.
81627         * shadow/putspent.c: Likewise.
81628         * stdio-common/printf_fphex.c: Likewise.
81629         * stdio-common/tmpfile.c: Likewise.
81630         * stdlib/abort.c: Likewise.
81631         * stdlib/fmtmsg.c: Likewise.
81632         * sunrpc/auth_unix.c: Likewise.
81633         * sunrpc/clnt_perr.c: Likewise.
81634         * sunrpc/clnt_tcp.c: Likewise.
81635         * sunrpc/clnt_udp.c: Likewise.
81636         * sunrpc/clnt_unix.c: Likewise.
81637         * sunrpc/openchild.c: Likewise.
81638         * sunrpc/svc_simple.c: Likewise.
81639         * sunrpc/svc_tcp.c: Likewise.
81640         * sunrpc/svc_udp.c: Likewise.
81641         * sunrpc/svc_unix.c: Likewise.
81642         * sunrpc/xdr.c: Likewise.
81643         * sunrpc/xdr_array.c: Likewise.
81644         * sunrpc/xdr_rec.c: Likewise.
81645         * sunrpc/xdr_ref.c: Likewise.
81646         * sunrpc/xdr_stdio.c: Likewise.
81648 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81650         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81652 2011-07-03  Andreas Jaeger  <aj@suse.de>
81654         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81655         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81656         regenerate with gen-libm-tests.pl.
81658 2010-05-12  Petr Baudis  <pasky@suse.cz>
81660         [BZ #11589]
81661         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81662         around j0() zero points by switching to j1().
81663         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81664         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81665         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81666         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81668 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81670         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81671         instead of 0.
81672         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81673         instead of 0.
81674         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81675         Patch in part by Pavel Roskin <proski@gnu.org>.
81677         [BZ #13138]
81678         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81679         realloc.
81680         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
81681         Free memory block if necessary.
81683         [BZ #12847]
81684         * libio/genops.c (INTDEF): For string streams the _lock pointer can
81685         be NULL.  Don't lock in this case.
81687 2011-09-09  Roland McGrath  <roland@hack.frob.com>
81689         * elf/elf.h (ELFOSABI_GNU): New macro.
81690         (ELFOSABI_LINUX): Define to that.
81692 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
81694         * string/strncat.c (strncat): Undef the symbol in case it has been
81695         defined in bits/string.h.
81697 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81699         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81701         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81702         link map.
81704 2011-08-17  Andreas Jaeger  <aj@suse.de>
81706         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81708 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
81709             Ian Lance Taylor  <iant@google.com>
81711         * math/libm-test.inc (lround_test): New testcase.
81712         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81714 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
81716         * Makefile: Remove support for automatic cvs check-ins.
81717         * Makerules: Likewise.
81718         * config.make.in: Likewise.
81719         * configure.in: Likewise.
81720         * intl/Makefile: Likewise.
81721         * locale/Makefile: Likewise.
81722         * po/Makefile: Likewise.
81723         * posix/Makefile: Likewise.
81724         * sysdeps/gnu/Makefile: Likewise.
81725         * sysdeps/mach/hurd/Makefile: Likewise.
81726         * sysdeps/sparc/sparc32/Makefile: Likewise.
81728         [BZ #13118]
81729         * posix/Makefile (bug-regex32-ENV): Define.
81730         Patch by John Stanley <jpsinthemix@verizon.net>.
81732         * misc/Makefile (headers): Add bits/select2.h.
81733         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81734         * misc/bits/select2.h: New file.
81735         * include/bits/select2.h: New file.
81736         * debug/Makefile (routines): Add fdelt_chk.
81737         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81738         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81739         FD_ISSET.
81740         * debug/fdelt_chk.c: New file.
81742         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
81743         * wcsmbs/test-wmemcmp.c: Likewise.
81744         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81745         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81747 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81749         * string/Makefile (strop-tests): Add memcmp.
81750         * string/test-wmemcmp.c: New file.
81751         * string/test-memcmp.c: Add wmemcmp support.
81753 2011-09-08  Roland McGrath  <roland@hack.frob.com>
81755         [BZ #13153]
81756         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81757         2011-07-19 change.
81759         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81760         garbage value in a __mach_port_mod_refs call in the cases of the
81761         task-self and thread-self ports.
81763 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81765         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81767 2011-09-08  Andreas Schwab  <schwab@redhat.com>
81769         * elf/dl-load.c (lose): Check for non-null L.
81771 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81773         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81775         * elf/dl-libc.c (dlerror_run): Pass back error code from
81776         dl_catch_error.
81778         [BZ #13123]
81779         * elf/dl-load.c (lose): Free l_origin if it is valid.
81781         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81782         names.
81783         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81784         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81785         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81786         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81787         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81788         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81790 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81792         * sysdeps/powerpc/fpu/e_hypot.c: New file.
81793         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81794         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81795         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81796         * sysdeps/powerpc/fpu/k_cosf.c: New file.
81797         * sysdeps/powerpc/fpu/k_sinf.c: New file.
81798         * sysdeps/powerpc/fpu/s_cosf.c: New file.
81799         * sysdeps/powerpc/fpu/s_sinf.c: New file.
81800         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81801         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81803 2011-08-15  Alan Modra  <amodra@gmail.com>
81805         [BZ #13092]
81806         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81807         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81808         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
81809         ppc_mcount to static-only-routines.
81810         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81811         __mcount_internal.
81812         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81813         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
81815 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
81817         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81818         for finite and infinity parameters.
81820 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81822         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81823         and add nop instructions for throughput optimization.
81824         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81826 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
81828         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81829         aligned copy for power7 with vector-scalar instructions.
81830         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81832 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
81834         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81835         AVX check.
81837 2011-09-07  Andreas Schwab  <schwab@redhat.com>
81839         [BZ #13144]
81840         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81841         last change.
81843 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81845         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81846         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81847         syscall wrapper around clock_gettime in __vdso_clock_gettime.
81848         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81849         clock_gettime.
81851 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81853         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81854         Forgot to demangle the pointer.
81856         * sysdeps/i386/sysdep.h: Define atom_text_section.
81857         * sysdeps/x86_64/sysdep.h: Likewise.
81858         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81859         section with atom_text_section.
81860         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81861         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81862         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81863         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81864         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81866         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81867         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81868         already be defined.  Change to take two parameters and don't assign
81869         result to variable.  Adjust all users.
81870         Define INTERNAL_GETTIME if not already defined.
81871         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81872         call.
81873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81874         HAVE_CLOCK_GETTIME_VSYSCALL.
81875         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81877         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81878         gettimeofday vsyscall, just use time.
81880 2011-09-06  Andreas Schwab  <schwab@redhat.com>
81882         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81883         <errno.h>.
81885 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81887         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81888         syscall on x86-64.
81889         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81890         syscall.
81891         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81892         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81893         syscall if possible.
81895 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81897         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81898         e_ident.  Don't pass to find_mapsXX.
81899         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81901 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81904         strchr-sse2-no-bsf strrchr-sse2-no-bsf
81905         * sysdeps/x86_64/multiarch/strchr.S: Update.
81906         Check bit_slow_BSF bit.
81907         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81908         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81909         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81911 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81913         [BZ #13134]
81914         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81915         before glibc 2.15.
81916         (tryshell): Define.
81917         (__spawni): Change last parameter to be flag.  Test
81918         SPAWN_XFLAGS_USE_PATH flag to use path or not.
81919         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81920         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81921         * posix/spawni.c: Likewise.
81922         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81923         * posix/spawnp.c: Likewise.  Change normal version to use
81924         SPAWN_XFLAGS_USE_PATH.
81925         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81926         SPAWN_XFLAGS_TRY_SHELL.
81928         [BZ #13150]
81929         * posix/glob.h: Remove gcc 1.x support.
81931         [BZ #13068]
81932         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81934 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81936         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81937         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81938         strrchr-sse2-bsf
81939         * sysdeps/i386/i686/multiarch/strchr.S: New file.
81940         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81941         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81942         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81943         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81944         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81946 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81948         * sysdeps/x86_64/wcscmp.S: New file.
81950         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81951         wcscmp-c wcscmp-sse2
81952         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81953         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81954         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81955         * wcsmbs/wcscmp.c: Allow renaming.
81957 2011-09-05  David S. Miller  <davem@davemloft.net>
81959         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81960         stack slot, rather than the struct return pointer slot.
81961         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81962         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81964         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81966 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81968         * po/ja.po: Update from translation team.
81970         [BZ #13144]
81971         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81972         kernel in 64-bit binaries.
81974 2011-09-01  David S. Miller  <davem@davemloft.net>
81976         * elf/elf.h (HWCAP_SPARC_*): Move to..
81977         * sysdeps/sparc/sysdep.h: this new file and add new values.
81978         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81979         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81980         _DL_HWCAP_COUNT to 24.
81981         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81982         entries.
81983         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81984         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81985         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81987         instead of magic constants.
81988         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81990 2011-08-31  David S. Miller  <davem@davemloft.net>
81992         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81993         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81994         Reimplement to do errno handling inline.
81995         (SYSCALL_ERROR_HANDLER): New macro.
81996         (__SYSCALL_STRING): Do not do errno handling in asm.
81997         (__CLONE_SYSCALL_STRING): Delete.
81998         (__INTERNAL_SYSCALL_STRING): Delete.
81999         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
82000         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
82001         (PSEUDO): Reimplement to do errno handling inline.
82002         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
82003         (SYSCALL_ERROR_HANDLER): New macro.
82004         (__SYSCALL_STRING): Do not do errno handling in asm.
82005         (__CLONE_SYSCALL_STRING): Delete.
82006         (__INTERNAL_SYSCALL_STRING): Delete.
82007         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
82008         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
82009         i386.
82010         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
82011         (inline_syscall*): Add 'err' argument.
82012         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
82013         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
82014         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
82015         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
82017         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
82018         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82020 2011-08-30  Andreas Schwab  <schwab@redhat.com>
82022         * elf/rtld.c (dl_main): Relocate objects in dependency order.
82024 2011-08-29  Jiri Olsa <jolsa@redhat.com>
82026         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
82027         directive.
82029 2011-08-24  David S. Miller  <davem@davemloft.net>
82031         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
82033 2011-08-24  Andreas Schwab  <schwab@redhat.com>
82035         * elf/Makefile: Add rules to build and run unload8 test.
82036         * elf/unload8.c: New file.
82037         * elf/unload8mod1.c: New file.
82038         * elf/unload8mod1x.c: New file.
82039         * elf/unload8mod2.c: New file.
82040         * elf/unload8mod3.c: New file.
82042         * elf/dl-close.c (_dl_close_worker): Reset private search list if
82043         it wasn't used.
82045 2011-08-23  David S. Miller  <davem@davemloft.net>
82047         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
82048         subtract stack bias.
82049         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
82050         %sp not %fp in calculations.
82051         (_JMPBUF_UNWINDS_ADJ): Likewise.
82053         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
82054         (aio_suspend): Call it to force an exception region around the
82055         AIO_MISC_WAIT() invocation.
82057 2011-08-23  Andreas Schwab  <schwab@redhat.com>
82059         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
82060         backslash.
82062 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
82064         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
82065         protection macro.
82066         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
82067         and <dl-machine.h>.
82068         (Elf64_FuncDesc): Remove.
82070 2011-08-22  David S. Miller  <davem@davemloft.net>
82072         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
82073         sigaltstack check, add missing cfi directives.
82074         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
82075         missing cfi directives, and sigaltstack handling.
82077 2011-08-16  Andreas Schwab  <schwab@redhat.com>
82079         [BZ #11724]
82080         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
82081         object is seen twice.
82082         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82084         * elf/Makefile (distribute): Add tst-initorder2.c.
82085         (tests): Add tst-initorder2.
82086         (modules-names): Add tst-initorder2a tst-initorder2b
82087         tst-initorder2c tst-initorder2d.  Add rules to build them.
82088         ($(objpfx)tst-initorder2.out): New rule.
82089         * elf/tst-initorder2.c: New file.
82090         * elf/tst-initorder2.exp: New file.
82092 2011-08-22  Andreas Schwab  <schwab@redhat.com>
82094         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
82096         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
82097         dependencies back to end of function.
82099         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82100         $(elfobjdir)/ld.so.
82102 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
82104         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
82105         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
82106         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
82107         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
82108         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
82109         of __vdso_gettimeofday.
82110         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
82111         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
82112         attribute_hidden.
82113         (_libc_vdso_platform_setup): Remove initialization of
82114         __vdso_gettimeofday and __vdso_time.
82116 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
82118         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
82119         and fgetc_unlocked.
82120         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
82121         getc_unlocked.
82123         * elf/dl-open.c (add_to_global): Report additions to the global scope
82124         for LD_DEBUG=scopes.
82125         (dl_open_worker): Also print scope of newly loaded dependencies.
82126         (_dl_show_scope): Indicate if there is no scope.
82128         [BZ #13114]
82129         * stdio-common/Makefile (tests): Add bug24.
82130         * stdio-common/bug24.c: New file.
82132 2011-08-19  Andreas Jaeger  <aj@suse.de>
82134         [BZ #13114]
82135         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
82136         non-existant file when using close-on-exec mode.
82138 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
82140         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
82141         the very first instruction.
82143         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
82144         the CFI state in the end.
82145         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82146         inclusion of dl-trampoline.h.
82147         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82149 2011-08-19  Andreas Schwab  <schwab@redhat.com>
82151         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82152         expectations for long double.
82154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82155         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82157 2011-08-14  David S. Miller  <davem@davemloft.net>
82159         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82160         artificual limit depends upon the system page size.
82162 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82164         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82165         * resolv/Makefile: Define CFLAGS-libresolv.
82167 2011-08-17  Andreas Schwab  <schwab@redhat.com>
82169         * nss/makedb.c (compute_tables): Make variables used in nested
82170         function static.
82172 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82174         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82175         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82176         if buffer was too small.
82178         * elf/pldd.c (main): Attach to all threads in the process.
82179         Rewrite /proc handling to use *at functions.
82181 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
82183         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82184         specifies first scope to show.
82185         (dl_open_worker): Update callers.  Move printing scope of new
82186         object to before the relocation.
82187         * elf/rtld.c (dl_main): Update _dl_show_scope call.
82188         * sysdeps/generic/ldsodefs.h: Update declaration.
82190         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82191         string for the scope number.
82193 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
82195         * nscd/servicescache.c (cache_addserv): Make sure written is always
82196         initialized.
82198 2011-08-14  Roland McGrath  <roland@hack.frob.com>
82200         * sysdeps/i386/i486/bits/atomic.h
82201         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82202         statement expression, so as to suppress "set but not used" warning.
82203         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82205         * string/strncat.c (STRNCAT): Use prototype definition.
82207         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82208         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82209         -Iprograms here.
82210         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82211         (localedef-modules): Add localedef.
82212         (locale-modules): Add locale.
82214         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82215         * elf/rtld.c (dl_main): Invert order of assignment in last change,
82216         to avoid a warning.
82218 2011-08-14  David S. Miller  <davem@davemloft.net>
82220         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82221         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82223 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
82225         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82226         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82227         * elf/rtld.c (dl_main): Set l_name of vDSO.
82228         Call _dl_show_scope when DL_DEBUG_SCOPES.
82229         (process_dl_debug): Recognize scopes flag and also set it for all.
82230         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82231         Declare _dl_show_scope.
82233         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82234         (do_dlopen): Pass caller_dlopen to dl_open.
82235         (__libc_dlopen_mode): Initialize caller_dlopen.
82237         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82238         of libc.  Make tolower call locale-independent.  Optimize a bit by
82239         using isdigit instead of isalnum.
82240         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82242 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
82244         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82245         was a dependency or dynamically loaded.
82247 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
82249         * intl/l10nflist.c: Allow architecture-specific pop function.
82250         * sysdeps/x86_64/l10nflist.c: New file.
82252         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82253         classification.
82255 2011-08-10  Andreas Schwab  <schwab@redhat.com>
82257         * include/dirent.h: Add libc_hidden_proto for scandirat and
82258         scandirat64.  Don't declare __scandirat64.
82259         * dirent/scandirat.c: Add libc_hidden_def.
82260         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82261         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82263 2011-08-10  David S. Miller  <davem@davemloft.net>
82265         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82266         enum.
82267         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82268         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82269         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82271 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
82273         * Versions.def [libc]: Add GLIBC_2.15.
82274         * dirent/Makefile (routines): Add scandirat and scandirat64.
82275         * dirent/Versions [libc]: Export scandirat and scandirat64 for
82276         GLIBC_2.15.
82277         * dirent/dirent.h: Declare scandirat and scandirat64.
82278         * dirent/scandirat.c: New file.
82279         * dirent/scandirat64.c: New file.
82280         * sysdeps/wordsize-64/scandirat.c: New file.
82281         * sysdeps/wordsize-64/scandirat64.c: New file.
82282         * dirent/opendir.c: Define opendirat.
82283         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
82284         using scandirat.
82285         * dirent/scandir64.c: Adjust for scandir.c change.
82286         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
82287         __scandirat64, and __scandir_cancel_handler.
82288         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
82289         additional parameter and use openat instead of open (outside of ld.so).
82290         Add new __opendir as wrapper around __opendirat.
82291         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82292         here without requiring old scandirat implementation.
82294 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
82296         * dirent/scandir.c (cancel_handler): Renamed to
82297         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
82298         defined.  Adjust users.
82299         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82300         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82302 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
82304         * string/test-string.h (IMPL): Use __STRING to expand name and then
82305         stringify it.
82307         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
82308         of cleanups.
82310 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82312         * string/Makefile: Update.
82313         (strop-tests): Append strncat.
82314         * string/test-wcscmp.c: New file.
82315         New comprehensive test for wcscmp.
82316         * string/test-strcmp.c: Update.
82317         (WIDE): New define.
82319 2011-07-22  Andreas Schwab  <schwab@redhat.com>
82321         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82322         line.
82324 2011-07-26  Andreas Schwab  <schwab@redhat.com>
82326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82327         encoding to ACE if AI_IDN.
82329 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
82331         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82332         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82334 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82336         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82337         Fix overflow bug in strncat.
82338         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82340         * string/test-strncat.c: Update.
82341         Add new tests for checking overflow bugs.
82343 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82345         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82346         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82347         * sysdeps/i386/i686/multiarch/strcat.S: New file.
82348         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82349         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82350         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82351         * sysdeps/i386/i686/multiarch/strncat.S: New file.
82352         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82353         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82355         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82356         (USE_AS_STRCAT): Define.
82357         Add strcat and strncat support.
82358         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82360 2011-07-25  Andreas Schwab  <schwab@redhat.com>
82362         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82363         __n bigger than INT_MAX+1.
82364         (__strncmp_g): Likewise.
82366 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
82368         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82369         * libio/stido.h: Likewise.
82371         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82372         (AF_NFC): Define.
82373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82374         (AF_NFC): Define.
82376         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82377         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82378         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82379         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82380         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82382         [BZ #13021]
82383         * scripts/test-installation.pl: Don't expect libnss_test1 to be
82384         installed.
82386         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82387         typo.
82388         (_dl_x86_64_save_sse): Likewise.
82390 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
82392         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82393         OSXSAVE.
82394         (_dl_x86_64_save_sse): Likewise.
82396         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82398         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82400 2011-07-21  Andreas Schwab  <schwab@redhat.com>
82402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82403         change.
82404         (_dl_x86_64_save_sse): Use correct AVX check.
82406 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82408         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82409         bug in strncpy/strncat.
82410         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82412 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
82414         * string/tester.c (test_strcat): Add tests for different alignments
82415         of source and destination.
82416         (test_strncat): Likewise.
82418 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82420         [BZ #12852]
82421         * posix/glob.c (glob): Check passed in values before using them in
82422         expressions to avoid some overflows.
82423         (glob_in_dir): Likewise.
82425         [BZ #13007]
82426         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82427         check for AVX enablement so that we don't crash with old kernels and
82428         new hardware.
82429         * elf/tst-audit4.c: Add same checks here.
82430         * elf/tst-audit6.c: Likewise.
82432         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82434 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
82436         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82438 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82440         * po/cs.po: Update from translation team.
82441         * po/bg.po: Likewise.
82443 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
82445         * misc/sys/cdefs.h: Add support for const attribute.
82446         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82447         to gnu_dev_{major,minor,makedev} functions.
82449 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
82451         * intl/dcigettext.c (get_output_charset): Add missing bracket.
82453 2011-07-20  Andreas Schwab  <schwab@redhat.com>
82455         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82456         strlen results.
82458 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82461         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82462         register in order to avoid conflicts with the soft frame pointer
82463         being held in r11 when necessary.
82464         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82465         (INTERNAL_VSYSCALL_NCS): Likewise.
82467 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
82469         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82470         * elf/dl-fini.c (_dl_fini): Adjust caller.
82471         * elf/dl-close.c (_dl_close_worker): Likewise.
82472         * sysdeps/generic/ldsodefs.h: Adjust declaration.
82474 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82476         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82477         "aux_cache->nlibs < 0".
82479         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82480         in the reload-count case.
82482 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82485         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82486         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82487         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82488         * sysdeps/x86_64/multiarch/strcat.S: New file.
82489         * sysdeps/x86_64/multiarch/strncat.S: New file.
82490         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82491         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82492         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82493         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82494         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82495         (USE_AS_STRCAT): Define.
82496         Add strcat and strncat support.
82497         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82498         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82499         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82500         * string/strncat.c: Update.
82501         (USE_AS_STRNCAT): Define.
82502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82503         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82504         and i7.
82505         * sysdeps/x86_64/multiarch/init-arch.h
82506         (bit_Prefer_PMINUB_for_stringop): New.
82507         (index_Prefer_PMINUB_for_stringop): Likewise.
82508         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82509         bit_Prefer_PMINUB_for_stringop.
82511 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82513         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82514         buffer64.
82515         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82516         of casting of buffer.
82517         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82518         buffer32 and buffer64.
82519         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82520         writes instead of casting of buffer.
82521         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82522         buffer32.
82523         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82524         casting of buffer.
82526 2011-07-19  Andreas Schwab  <schwab@redhat.com>
82528         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82530 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82532         * nscd/nscd.c (termination_handler): Don't do anything for a database
82533         if it has not yet been initialized.
82535 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82537         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82539 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82541         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82543 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82545         * po/nl.po: Update from translation team.
82546         * po/sv.po: Likewise.
82548 2011-07-16  Roland McGrath  <roland@hack.frob.com>
82550         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82551         now disallowed by GCC.
82553         * configure.in (use-default-link): Default to yes if a test -shared
82554         link meets our qualifications.
82555         * configure: Regenerated.
82557         * config.make.in (output-format): New variable.
82558         * configure.in: Check for ld --print-output-format support.
82559         * configure: Regenerated.
82560         * Makerules ($(common-objpfx)format.lds)
82561         [$(output-format) != unknown]: Just use $(output-format),
82562         instead of the linker-script munging.
82564 2011-07-14  Roland McGrath  <roland@hack.frob.com>
82566         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82567         of $(common-objpfx)shlib.lds.
82568         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82570         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82571         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82573         * configure.in (-z relro check): Adjust test code to add a large
82574         writable data section after it.
82575         * configure: Regenerated.
82577 2011-07-11  Roland McGrath  <roland@hack.frob.com>
82579         * configure.in (-z relro check): Fix test code to make the variable
82580         truly const.
82581         * configure: Regenerated.
82583 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
82585         * nscd/nscd.h (struct traced_file): Define.
82586         (struct database_dyn): Remove inotify_descr, reset_res, and filename
82587         elements.  Add traced_files.
82588         (inotify_fd): Declare.
82589         (register_traced_file): Declare.
82590         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82591         (inotify_fd): Export.
82592         (resolv_conf_descr): Remove.
82593         (nscd_init): Move inotify descriptor creation to main.
82594         Don't register files for notification here.
82595         (register_traced_file): New function.
82596         (invalidate_cache): Don't use reset_res to determine whether to call
82597         res_init, go through the list of registered files.
82598         (main_loop_poll): The inotify descriptors are now stored in the
82599         structures for the traced files.
82600         (main_loop_epoll): Likewise.
82601         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
82602         to __nss_disable_nscd.
82603         * nscd/cache.c (prune_cache): There is no single inotify descriptor
82604         for a database anymore.  Check the records for all the registered
82605         files instead.
82606         * nss/Makefile (libnss_files-routines): Add files-init.
82607         (libnss_db-routines): Add db-init.
82608         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82609         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82610         * nss/nss_db/db-init.c: New file.
82611         * nss/nss_files/files-init.c: New file.
82612         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
82613         __nss_lookup_function.
82614         (__nss_lookup_function): Call nss_load_library.
82615         (nss_load_all_libraries): New function.
82616         (__nss_disable_nscd): Take parameter with callback function for files
82617         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
82618         used for the cached services.
82619         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82620         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82621         options for features to all the files in nscd.
82623         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82625 2011-07-10  Roland McGrath  <roland@hack.frob.com>
82627         * csu/elf-init.c (__libc_csu_init): Comment typo.
82629 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
82631         * po/pl.po: Update from translation team.
82632         * po/ja.po: Likewise.
82633         * po/ru.po: Likewise.
82634         * po/ko.po: Likewise.
82635         * po/fr.po: Likewise.
82637 2011-07-09  Roland McGrath  <roland@hack.frob.com>
82639         * configure.in (.ctors/.dtors header and trailer check):
82640         Use an empirical test on a built program.
82641         * configure: Regenerated.
82643         * configure.in (-z relro check): Use an empirical test on a built DSO.
82644         Detect, but do not require, on ia64.
82645         * configure: Regenerated.
82647         * configure.in (READELF): Find it with AC_CHECK_TOOL.
82648         Update tests that use readelf to use $READELF instead.
82649         * configure: Regenerated.
82651 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
82653         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82654         if the result is not used.
82656 2011-07-05  Andreas Jaeger  <aj@suse.de>
82658         [BZ#9696]
82659         * stdlib/tst-strtod.c: Add testcase.
82661 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
82663         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82664         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82665         The latter has a higher limit.  Take additional parameter to pass to
82666         the new function.
82667         (__pathconf): Pass file to __statfs_link_max.
82668         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82669         __statfs_link_max.
82670         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82671         __statfs_link_max.
82673         [BZ #12868]
82674         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82675         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82676         Handle Lustre.
82677         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82678         (__statfs_filesize_max): Likewise.
82679         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82681 2011-07-05  Andreas Jaeger  <aj@suse.de>
82683         * resolv/res_comp.c (dn_skipname): Remove unused variable.
82685 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
82687         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82688         `status' variable.
82689         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82690         Likewise.
82692 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
82694         * Makefile (strop-tests): Add strncat.
82695         * string/test-strncat.c: New file.
82697 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
82699         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82701 2011-06-21  Andreas Jaeger  <aj@suse.de>
82703         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82704         Copy rule from iconvdata/Makefile.
82706 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82708         [BZ #12922]
82709         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82710         but no long options are defined, just return 'W'.
82712 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
82714         [BZ #9696]
82715         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82717 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82719         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82720         netgroups to read.
82721         (innetgr): Likewise.
82723 2011-07-05  Roland McGrath  <roland@hack.frob.com>
82725         * config.make.in (install_root): Default to $(DESTDIR).
82727 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
82729         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82731 2011-07-02  Roland McGrath  <roland@hack.frob.com>
82733         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82735         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82736         containing directory rather than embedding absolute directory names.
82738         * scripts/check-local-headers.sh: Rewritten using awk.
82739         Match by word, not by line.  Print error messages for matches.
82740         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82742         * Makerules [shlib-lds-flags empty]:
82743         ($(common-objpfx)libc_pic.opts): New target.
82744         ($(common-objpfx)libc_pic.os.clean): New target.
82745         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82747         * config.make.in (OBJCOPY): New variable.
82748         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82749         * configure: Regenerated.
82751         * config.make.in (use-default-link): New variable.
82752         * configure.in (use_default_link): Grok --with-default-link to set it.
82753         * configure: Regenerated.
82754         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82755         (shlib-lds, shlib-lds-flags): Define to empty.
82757         * Makerules (shlib-lds): New variable.
82758         (shlib-lds-flags): New variable.
82759         (build-shlib, build-moduile, build-module-asneeded): Use it.
82760         ($(common-objpfx)libc.so): Use $(shlib-lds).
82761         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82762         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82764         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82765         DT_FLAGS/DT_FLAGS_1 with zero flags.
82767         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82768         linker script munging.
82770 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
82772         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82773         as 128-bit value.
82774         * crypt/sha512.c (sha512_process_block): Perform total addition using
82775         128-bit if possible.
82776         (__sha512_finish_ctx): Likewise.
82777         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82778         as 64-bit value.
82779         * crypt/sha256.c (SWAP64): Define.
82780         (sha256_process_block): Perform total addition using 64-bit if
82781         possible.
82782         (__sha256_finish_ctx): Likewise.
82784 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
82786         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
82787         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82788         * nscd/hstcache.c (cache_addhst): Likewise.
82789         * nscd/grpcache.c (cache_addgr): Likewise.
82790         * nscd/aicache.c (addhstaiX): Likewise.
82791         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82793 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
82795         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82796         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82797         * nscd/hstcache.c (cache_addhst): Likewise.
82798         * nscd/grpcache.c (cache_addgr): Likewise.
82799         * nscd/aicache.c (addhstaiX): Likewise.
82801 2011-07-01  Andreas Schwab  <schwab@redhat.com>
82803         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82804         domain only when needed.
82806 2011-06-30  Andreas Schwab  <schwab@redhat.com>
82808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82809         is always restored.
82811 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
82813         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82814         are re-adding the entry.
82815         * nscd/servicescache.c (cache_addserv): Likewise.
82817 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
82819         * sysdeps/generic/dl-irel.h: fix protection against multiple
82820         inclusions.
82821         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82823 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
82825         [BZ #12935]
82826         * malloc/memusage.sh: Fix quoting in message.
82827         * debug/xtrace.sh: Likewise.
82829         * configure.in: Remove support for --experimental-malloc option, make
82830         it the default.
82831         * config.make.in: Likewise.
82832         * malloc/Makefile: Likewise.
82834 2011-06-27  Andreas Schwab  <schwab@redhat.com>
82836         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82837         two-byte characters.
82839 2011-06-27  Roland McGrath  <roland@hack.frob.com>
82841         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82842         AC_CACHE_CHECK invocation.
82843         * configure: Regenerated.
82845         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82847 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
82849         [BZ #12350]
82850         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
82851         bit from old_res_options.
82853         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82855         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82856         value type for setfct.
82858 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
82860         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82861         __gettimeofday instead of gettimeofday.
82863 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
82865         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82867 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
82869         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82871         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82872         info.
82874 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82877         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82878         strcpy-sse2-unaligned strncpy-sse2-unaligned
82879         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82880         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82881         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82882         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82883         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82884         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82885         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82886         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82887         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82888         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82889         (STRCPY): Support SSE2 and SSSE3 versions.
82891 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
82893         [BZ #12874]
82894         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82895         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82896         kernels which artificially limit size of requests.
82898 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82900         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82901         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82902         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82903         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82904         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82905         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82906         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82907         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82908         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82909         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82910         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82911         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82912         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82913         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82914         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82916         Enable unaligned load optimization for Intel Core i3, i5 and i7
82917         processors.
82918         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82919         Define.
82920         (index_Fast_Unaligned_Load): Define.
82921         (HAS_FAST_UNALIGNED_LOAD): Define.
82923 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
82925         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82927 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82929         [BZ #12907]
82930         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82931         until it is clear that the information is realy needed.
82932         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82934 2011-06-22  Andreas Schwab  <schwab@redhat.com>
82936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82938 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82940         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82941         /sys/devices/system/cpu/online if it is usable.
82943         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82944         reading the information from the /proc filesystem to once a second.
82946 2011-06-21  Andreas Jaeger  <aj@suse.de>
82948         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82949         NULL after inclusion of kernel headers.
82951 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
82953         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82954         calls to internal_setent.
82956         [BZ #12885]
82957         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82958         addresses using gethostbyname4_r ignore IPv4 addresses.
82960         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82961         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
82963         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82965 2011-06-20  David S. Miller  <davem@davemloft.net>
82967         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82968         inclusions.
82969         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82971         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82972         (elf_irel): Use it.
82973         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82974         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82975         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82976         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82977         * sysdeps/x86_64/dl-irel.h: Likewise.
82979         * elf/dl-runtime.c: Use elf_ifunc_invoke.
82980         * elf/dl-sym.c: Likewise.
82982 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82984         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
82985         need to dereference resplen2.
82987 2011-06-14  Andreas Schwab  <schwab@redhat.com>
82989         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82991 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82993         * Makeconfig: Define vardbdir and inst_vardbdir.
82994         * nss/Makefile: Add rules to install db-Makefile.
82996         * nss/nss_db/db-XXX.c: Cleanup.
82998         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82999         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
83000         GLIBC_PRIVATE.
83001         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
83002         * nss/makedb.c: Implement -g option to specify that value strings
83003         are generated and should not be added to table iterated over for
83004         get*ent calls.
83005         * nss/nss_db/db-initgroups.c: New file.
83007         * nss/getent.c: Add support for initgroups lookups through getgrouplist
83008         interface.
83010         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
83011         (internal_getgrouplist): Adjust to name change.
83012         Update use_initgroups_entry if this is not the first call.
83013         * nss/databases.def: Add initgroups entry.
83015         * nss/makedb.c (compute_tables): Check result of multiple hash table
83016         sizes to minimize maximum chain length.
83018 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
83020         * Versions.def: Add entry for libnss_db.
83021         * shlib-versions: Likewise.
83022         * nss/Makefile: Add rules to build libnss_db.
83023         * nss/Versions: Add libnss_db information.  Organize libnss_files
83024         entries better.
83025         * nss/db-Makefile: Add gshadow support.  Change rules for the new
83026         makedb progra.  Some minor improvements to generate smaller files.
83027         * nss/nss_db/nss_db.h: Move NSS database header data structures to
83028         here from...
83029         * nss/makedb.c: ...here.
83030         Improve database format to be smaller and require less memory at
83031         runtime.
83032         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
83033         db anymore.
83034         * nss/nss_db/db-netgrp.c: Likewise.
83035         * nss/nss_db/db-open.c: Likewise.
83036         * nss/nss_files/flies-XXX.x: Adjust comments.
83037         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
83038         * nss/nss_files/files-grp.c: Likewise.
83039         * nss/nss_files/files-hosts.c: Likewise.
83040         * nss/nss_files/files-network.c: Likewise.
83041         * nss/nss_files/files-proto.c: Likewise.
83042         * nss/nss_files/files-pwd.c: Likewise.
83043         * nss/nss_files/files-rpc.c: Likewise.
83044         * nss/nss_files/files-service.c: Likewise.
83045         * nss/nss_files/files-sgrp.c: Likewise.
83046         * nss/nss_files/files-spwd.c: Likewise.
83047         * nss/nss_db/db-alias.c: Removed.
83048         * nss/nss_db/dummy-db.h: Removed.
83050 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
83052         * nss/makedb.c: Rewritten to not use database library.
83053         * nss/Makefile: Update to build new makedb program.
83055 2011-06-14  Andreas Jaeger  <aj@suse.de>
83057         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
83058         memset declaration.
83060 2011-06-10  Andreas Schwab  <schwab@redhat.com>
83062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
83063         tmpbuf.
83065 2011-06-10  Roland McGrath  <roland@hack.frob.com>
83067         * Makerules (shlib.lds): Fail if the linker script comes out empty.
83068         * elf/Makefile ($(objpfx)ld.so): Likewise.
83070         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
83071         Don't list ld.so twice in dependencies.
83073         * posix/bug-regex31.c: Include <stdlib.h>.
83075         * nscd/hstcache.c (cache_addhst): Remove unused variable.
83077         * nis/nss_compat/compat-spwd.c
83078         (getspent_next_nss_netgr): Remove unused variable.
83079         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
83081         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
83082         nonmembers" output to use the right array.
83084         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
83086         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
83088         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
83089         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83090         * catgets/gencat.c (read_input_file): Likewise.
83091         * locale/programs/locarchive.c (enlarge_archive): Likewise.
83093         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
83094         variable definition inside #if's controlling its use.
83096         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
83098         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
83100         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
83102         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
83103         unreachable code.
83105         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
83107         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
83108         * configure: Regenerated.
83110         * Makerules: Revert last change.
83111         * elf/Makefile: Likewise.
83113 2011-06-09  Roland McGrath  <roland@hack.frob.com>
83115         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
83116         * elf/Makefile ($(objpfx)librtld.os): Likewise.
83117         (reloc-link): Likewise.
83119 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
83121         * elf/Makefile: Add rules to build pldd.
83122         * elf/pldd.c: New file.
83123         * elf/pldd-xx.c: New file.
83125 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
83127         * version.h: Update for 2.15 development version.
83129 2011-06-07  David S. Miller  <davem@davemloft.net>
83131         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
83132         ifuncs.
83133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
83134         elf_machine_lazy_rel): Likewise.
83135         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
83136         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
83137         elf_machine_lazy_rel): Likewise.
83138         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
83139         dl_hwcap via passed in argument.
83140         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
83141         Likewise.
83143 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83145         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
83147 2011-06-06  Roland McGrath  <roland@hack.frob.com>
83149         [BZ #12849]
83150         * manual/fdl-1.1.texi: New file, verbatim from:
83151         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83152         * manual/lgpl-2.1.texi: New file, verbatim from:
83153         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83154         * manual/Makefile (licenses): New variable, list those new file names.
83155         (texis): Use it.
83156         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83158         * manual/fdl.texi: File removed.
83159         * manual/lesser.texi: File removed.
83160         * manual/libc.texinfo (Copying, Documentation License):
83161         Use new @include file names, put @appendix directive before @include.
83163 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
83165         [BZ #12841]
83166         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83167         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83168         (mq_open): Add __NTH.
83170 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
83172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83173         Assume Intel Core i3/i5/i7 processor if AVX is available.
83175 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83177         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83178         typo.
83180 2011-05-31  Andreas Schwab  <schwab@redhat.com>
83182         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83183         memory.  Use alloca_account.  Fix memory leak when retrying.
83185 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83187         * version.h (RELEASE): Bump for 2.14 release.
83188         * include/features.h (__GLIBC_MINOR__): Bump to 14.
83190         * config.make.in (RANLIB): Remove entry.
83192 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
83194         * po/Makefile (po-sed-cmd): Add ksh to extensions.
83195         (libc.pot): Work around missing support for .ksh extension in xgettext.
83197         [BZ #12684]
83198         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83199         if both request failed.
83200         (send_dg): In case of server errors clear resplen or *resplen2.
83202         [BZ #12454]
83203         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83204         when there are multiple maps.
83205         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83206         (_dl_fini): Remove test here.
83208         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83210 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
83212         [BZ #12350]
83213         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83214         bit from old_res_options.
83215         (gaih_inet): Likewise.
83217         [BZ #11099]
83218         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83219         as signed.
83221         * resolv/res_init.c (res_setoptions): Make the code more compact.
83223         [BZ #11558]
83224         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83225         set RES_USEVC.
83227         [BZ #11634]
83228         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83230         * malloc/malloc.h: Mark malloc hook variables as deprecated.
83232         [BZ #11781]
83233         * malloc/malloc.h: Declare malloc hook variables as volatile.
83235         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83236         in last patch.
83238         [BZ #11799]
83239         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83240         raise in the comment.
83241         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83242         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83243         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83245 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
83247         [BZ #12811]
83248         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83249         grow the buffers more if it already has to be sufficient.
83250         (build_wcs_upper_buffer): Likewise.
83251         * posix/regexec.c (check_matching): Likewise.
83252         (clean_state_log_if_needed): Likewise.
83253         (extend_buffers): Don't enlarge buffers beyond size of the input
83254         buffer.
83255         Patches mostly by Emil Wojak <emil@wojak.eu>.
83256         * posix/bug-regex32.c: New file.
83257         * posix/Makefile (tests): Add bug-regex32.
83259         * locale/findlocale.c (_nl_find_locale): Return right away if
83260         _nl_explode_name failed.
83261         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83263         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83265         * debug/xtrace.sh: Unify messages.
83266         * malloc/memusage.sh: Likewise.
83268         [BZ #12813]
83269         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83270         time symbol from vDSO.  Substitute with vsyscall if not available.
83271         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83272         __vdso_time.
83274         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83275         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83276         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83277         Add sendmmsg and internal_sendmmsg.
83278         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83279         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83280         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83282         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83283         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83284         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83286 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
83288         [BZ #12813]
83289         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83290         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
83291         available.
83292         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83293         __vdso_getcpu.
83295         [BZ #12814]
83296         * iconvdata/Makefile (tests): Add bug-iconv9.
83297         * iconvdata/bug-iconv9.c: New file.
83299 2011-05-27  Andreas Schwab  <schwab@redhat.com>
83301         [BZ #12814]
83302         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83304 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
83306         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83307         (struct user_regs_struct): Change intcs field back to cs.
83309 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
83311         * po/ja.po: Update from translation team.
83313 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
83315         [BZ #12795]
83316         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83317         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83319 2011-05-20  Andreas Schwab  <schwab@redhat.com>
83321         * stdlib/longlong.h: Update from GCC.
83323 2011-05-23  Andreas Schwab  <schwab@redhat.com>
83325         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83326         parameter name.
83327         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83328         Add parameter name.
83329         (__sysconf): Pass it down.
83331 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
83333         [BZ #12671]
83334         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83335         some situations.
83336         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83337         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83338         add in in __libc_use_alloca calls.  Adjust callers.
83339         (glob): Use malloc in some situations.
83341         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83342         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83343         pltexit.
83345 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
83347         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83348         and CLOCK_BOOTTIME_ALARM.
83350         [BZ #12782]
83351         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83352         is returned.
83354         * string/_strerror.c (__strerror_r): Print negative errors as signed
83355         numbers.
83357         [BZ #12777]
83358         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83359         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83360         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83362         * configure.in: Fix typo in redirection and correct removal of test
83363         files in two cases.
83365         [BZ #12788]
83366         * locale/setlocale.c (new_composite_name): Fix test to check for
83367         identical name of all categories.
83369         [BZ #12792]
83370         * libio/filedoalloc.c (local_isatty): New function.
83371         (_IO_file_doallocate): Use local_isatty.
83372         * stdio-common/perror.c (perror): In case a new stream is used
83373         forward the stream error.
83374         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83375         error flag.
83377 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
83379         [BZ #11884]
83380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83381         alloca.
83382         * include/alloca.h (extend_alloca_account): Define.
83384         [BZ #11857]
83385         * posix/regex.h: Fix comments with documentation of user-accessible
83386         fields after compilation and describe correct free'ing of pattern
83387         after re_compile_pattern.
83388         Patch by Reuben Thomas <rrt@sc3d.org>.
83390 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
83392         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83393         and -mno-altivec to prevent the compiler from using Altivec and/or
83394         VSX instructions when the corresponding registers are not available.
83396 2011-05-19  Andreas Schwab  <schwab@redhat.com>
83398         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83400 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
83402         * libio/freopen.c (freopen): Use __dup2, not dup2.
83403         * libio/freopen64.c (freopen64): Likewise.
83405 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
83407         [BZ #12775]
83408         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83409         * math/Makefile (tests): Add test-powl.
83410         (CFLAGS-test-powl.c): Define.
83411         * math/test-powl.c: New file.
83413 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
83415         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83417 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
83419         [BZ #11837]
83420         * iconvdata/gb18030.c: Update to GB18020-2005.
83422 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
83424         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83425         RE_SYNTAX_POSIX_AWK): Update to match recent development.
83426         Patch by Aharon Robbins <arnold@skeeve.com>.
83428         [BZ #11892]
83429         * stdlib/putenv.c (putenv): Don't always create copy of the variable
83430         on the stack.
83432         [BZ #11895]
83433         * misc/pselect.c (__pselect): Handle timeout value errors hidden
83434         through underflows.
83436         [BZ #12766]
83437         * misc/error.c (error_at_line): Ensure file_name and old_file_name
83438         point to strings before performing equality test for error_one_per_line
83439         mode.
83441         [BZ #11697]
83442         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83444         [BZ #11820]
83445         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83446         (struct user_fpregs_struct): Avoid __uint*_t types.
83448         [BZ #6420]
83449         * malloc/mtrace.c (tr_where): Add additional parameter to point to
83450         symbol info.  Use it instead of calling _dl_addr locally.
83451         (lock_and_info): New function.
83452         (tr_freehook): Call lock_and_info and pass symbol info as additional
83453         parameter to tr_where.
83454         (tr_mallochook): Likewise.
83455         (tr_reallochook): Likewise.
83456         (tr_memalignhook): Likewise.
83458         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
83459         used and couldn't be at all thread-safe.
83461 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
83463         * libio/freopen.c (freopen): Don't close old file descriptor
83464         before the new one is opened.  Instead dup the new file descriptor
83465         to the old one after the new stream is created.
83466         * libio/freopen64.c (freopen64): Likewise.
83467         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83468         * libio/fileops.c (_IO_new_file_close_it): Handle new
83469         _IO_FLAGS2_NOCLOSE flag.
83470         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83471         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83472         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83473         _IO_FLAGS2_NOCLOSE flag.
83474         * include/unistd.h: Add hidden_proto for dup3.
83475         Define __have_dup3.
83476         * io/dup3.c: Define hidden symbol.
83477         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83479         [BZ #7101]
83480         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83481         when an incomplete long option is used.
83482         * posix/tst-getopt_long1.c: New file.
83483         * posix/Makefile (tests): Add tst-getopt_long1.
83485         [BZ #10138]
83486         * scripts/config.guess: Update from autoconf-2.68.
83487         * scripts/config.sub: Likewise.
83489         [BZ #10157]
83490         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83491         tests into ...
83492         (has_cpuclock): ...this.  New function.
83493         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83494         macro here based on has_cpuclock code.
83496         [BZ #10149]
83497         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83498         First byte (not low byte) is now always NUL.
83499         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83501         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83502         Use non-cancelable interfaces.
83504         [BZ #9809]
83505         * locale/iso-639.def: Add entry for Sorani.
83507         [BZ #11901]
83508         * include/stdlib.h: Move include protection to the right place.
83509         Define abort_msg_s.  Declare __abort_msg with it.
83510         * stdlib/abort.c (__abort_msg): Adjust type.
83511         * assert/assert.c (__assert_fail_base): New function.  Majority
83512         of code from __assert_fail.  Allocate memory for __abort_msg with
83513         mmap.
83514         (__assert_fail): Now call __assert_fail_base.
83515         * assert/assert-perr.c: Remove bulk of implementation.  Use
83516         __assert_fail_base.
83517         * include/assert.hL Declare __assert_fail_base.
83518         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83519         mmap.
83520         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83522 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
83524         [BZ #11952]
83525         [BZ #12453]
83526         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83527         until all modules are registered in the DTV.
83528         * elf/Makefile: Add rules to build and run tst-tls19.
83529         * elf/tst-tls19.c: New file.
83530         * elf/tst-tls19mod1.c: New file.
83531         * elf/tst-tls19mod2.c: New file.
83532         * elf/tst-tls19mod3.c: New file.
83533         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83535         [BZ #12083]
83536         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83537         correctly.
83539         [BZ #12601]
83540         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83541         two-byte sequence errors.
83542         * iconvdata/Makefile (tests): Add bug-iconv8.
83543         * iconvdata/bug-iconv8.c: New file.
83545         [BZ #12626]
83546         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83547         buf2 definition.
83549         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83551         [BZ #12432]
83552         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83553         (dummy_getcfa): New function.
83554         (init): Get _Unwind_GetCFA address, use dummy if not found.
83555         (backtrace_helper): In recursion check, also check whether CFA changes.
83556         (__backtrace): Completely initialize arg.
83558         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83559         storing incomplete byte sequence in state object.  Avoid testing for
83560         guaranteed too small input if we know there is enough data available.
83562 2011-05-11  Andreas Schwab  <schwab@redhat.com>
83564         * Makeconfig (+link-pie): Indent.
83565         * Rules (binaries-pie): Define if $(have-fpie) and
83566         $(build-shared).
83567         (binaries-shared): Also filter out $(binaries-pie).
83568         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83569         * nscd/Makefile (others-pie): Add nscd.
83570         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83571         ($(objpfx)nscd): Remove command override.
83572         * login/Makefile (others-pie): Add pt_chown.
83573         ($(objpfx)pt_chown): Remove command override.
83574         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83575         remove command overrides.
83577 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
83579         * libio/tst_putwc.c: Fix error messages.
83581         [BZ #12724]
83582         * libio/fileops.c (_IO_new_file_close_it): Always flush when
83583         currently writing and seek to current position when not.
83584         * libio/Makefile (tests): Add bug-fclose1.
83585         * libio/bug-fclose1.c: New file.
83587 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
83589         [BZ #12511]
83590         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83591         don't set DF_1_NODELETE here.
83592         (do_lookup_x): When entering new entry test for copy relocation
83593         and if necessary set DF_1_NODELETE flag.
83594         * elf/tst-unique4.cc: New file.
83595         * elf/tst-unique4.h: New file.
83596         * elf/tst-unique4lib.cc: New file.
83597         * elf/Makefile: Add rules to build and run tst-unique4.
83598         Patch by Piotr Bury <pbury@goahead.com>.
83600 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
83602         [BZ #12052]
83603         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83605         [BZ #12625]
83606         * misc/mntent_r.c (addmntent): Flush the stream after the output
83608         [BZ #12393]
83609         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83610         (is_trusted_path_normalize): Skip initial colon.  Append slash
83611         to empty buffer.  Duplicate is_trusted_path code but allow
83612         constructed patch to be prefix.
83613         (is_dst): Allow $ORIGIN followed by /.
83614         (_dl_dst_substitute): Correct clearing of check_for_trusted.
83615         Correct testing of result of is_trusted_path_normalize
83616         (decompose_rpath): Fix warning.
83618 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
83620         [BZ #11257]
83621         * grp/initgroups.c (internal_getgrouplist): When we found the service
83622         list through the initgroups entry in nsswitch.conf do not always
83623         continue on a successful lookup.  Don't always use the
83624         __nss_group_database value if it is set.
83625         * nss/nsswitch.conf (initgroups): Change action for successful db
83626         lookup to continue for compatibility.
83628 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
83630         [BZ #11532]
83631         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83632         and CP774 modules.
83633         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83634         and CP774 modules.
83635         * iconvdata/tst-tables.sh: Likewise.
83636         * iconvdata/cp770.c: New file.
83637         * iconvdata/cp771.c: New file.
83638         * iconvdata/cp772.c: New file.
83639         * iconvdata/cp773.c: New file.
83640         * iconvdata/cp774.c: New file.
83641         * iconvdata/testdata/CP770: New file.
83642         * iconvdata/testdata/CP770..UTF8: New file.
83643         * iconvdata/testdata/CP771: New file.
83644         * iconvdata/testdata/CP771..UTF8: New file.
83645         * iconvdata/testdata/CP772: New file.
83646         * iconvdata/testdata/CP772..UTF8: New file.
83647         * iconvdata/testdata/CP773: New file.
83648         * iconvdata/testdata/CP773..UTF8: New file.
83649         * iconvdata/testdata/CP774: New file.
83650         * iconvdata/testdata/CP774..UTF8: New file.
83652         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83653         END CHARMAP line.
83654         * iconvdata/gen-8bit-gap.sh: Likewise.
83655         * iconvdata/gen-8bit.sh: Likewise.
83657         * locale/iso-639.def: Add ary entry.
83659         [BZ #11258]
83660         * locale/C-translit.h.in: Add U20A1 transliteration.
83662         [BZ #12178]
83663         * locale/iso-639.def: Add wae entry.
83664         Patch by Kevin Bortis <bortis@translate-wae.ch>.
83666         [BZ #12545]
83667         * locale/programs/localedef.c (construct_output_path): Use ssize_t
83668         for n.
83670         [BZ #12711]
83671         * locale/C-translit.h.in: Add entry for U20B9.
83672         Patch by pravin.d.s@gmail.com.
83674 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
83676         [BZ #12713]
83677         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83678         ENAMETOOLONG use generic getcwd.
83679         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
83680         in rtld.  Use *stat64.
83681         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83682         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83683         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83684         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83685         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83686         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83687         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83688         __fstatat64 macros.
83689         * include/dirent.h: Add libc_hidden_proto for rewinddir.
83690         * dirent/rewinddir.c: Add libc_hidden_def.
83691         * sysdeps/mach/hurd/rewinddir.c: Likewise.
83692         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
83694         * include/dirent.h (__alloc_dir): Add flags parameter.
83695         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83696         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83697         __alloc_dir.
83698         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
83699         from fdopendir if O_CLOEXEC is already set.
83701 2011-03-15  Alan Modra  <amodra@gmail.com>
83703         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83704         l_tls_firstbyte_offset non-zero.  Save padding offset in
83705         l_tls_firstbyte_offset for later use.
83706         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83707         freeing static tls block.
83709 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
83711         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83712         where #ifdef was intended.  The intent is to prevent ARG_MAX from
83713         being defined by the kernel headers.
83715 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
83717         [BZ #12734]
83718         * resolv/resolv.h: Define RES_NOTLDQUERY.
83719         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83720         no-tld-query and set RES_NOTLDQUERY.
83721         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83722         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83723         modern BIND to search name as TLD unless forbidden.
83725 2011-05-07  Petr Baudis  <pasky@suse.cz>
83726             Ulrich Drepper  <drepper@gmail.com>
83728         [BZ #12393]
83729         * elf/dl-load.c (fillin_rpath): Move trusted path check...
83730         (is_trusted_path): ...to here.
83731         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83732         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83733         using is_trusted_path_normalize() in setuid scripts.
83735 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83737         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83738         __BEGIN/__END_DECLS.
83740 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
83742         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83743         NSS_STATUS_NOTFOUND if no record was found.
83745 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83747         * sunrpc/Makefile (headers): Add rpc/netdb.h.
83748         (headers-not-in-tirpc): Remove rpc/netdb.h
83749         * resolv/netdb.h: Revert last change.
83751 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83753         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83754         circular dependency between libgcc.a and libc.a.
83756 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83758         * resolv/netdb.h: Don't include <rpc/netdb.h>.
83759         * nis/Makefile: Don't install rpcsvc/*.
83760         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83761         instead of <rpc/types.h>.
83762         (MAXHOSTNAMELEN): Define.
83764 2011-05-03  Andreas Schwab  <schwab@redhat.com>
83766         * elf/ldconfig.c (add_dir): Don't crash on empty path.
83768 2011-04-28  Maciej Babinski  <mbabinski@google.com>
83770         [BZ #12714]
83771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83772         gethostbyname4_r when IPv6 results are possible.
83774 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
83776         [BZ #12723]
83777         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83778         _PC_PIPE_BUF handling.
83780 2011-04-30  Bruno Haible  <bruno@clisp.org>
83782         [BZ #12717]
83783         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83784         * resolv/netdb.h (getnameinfo): Change type of flags parameter
83785         to 'int'.
83786         * inet/getnameinfo.c (getnameinfo): Likewise.
83788 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
83790         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83791         to groups setting in database lookup.
83792         * nss/nsswitch.conf: Add initgroups entry.
83794 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
83796         [BZ #12685]
83797         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83798         mode string.
83799         Patch by Eric Blake <eblake@redhat.com>.
83801 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
83803         * sunrpc/Makefile (need-export-routines): Add svc_run.
83804         (routines): Remove svc_run.
83805         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83806         * sunrpc/clnt_perr.c (clnt_perrno): Export.
83807         * sunrpc/svc_run.c (svc_run): Likewise.
83808         * sunrpc/svc_udp.c (svcudp_create): Likewise.
83810 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
83812         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83813         problem in reallocation in last patch.
83815 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
83817         * sunrpc/Makefile: Move inclusion of Rules.
83819 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83821         * nss/nss_files/files-initgroups.c: New file.
83822         * nss/Makefile (libnss_files-routines): Add files-initgroups.
83823         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83824         _nss_files_initgroups_dyn.
83826 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
83828         * elf/elf.h (R_ARM_IRELATIVE): Define.
83830 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83832         * po/ru.po: Update from translation team.
83834 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83836         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83837         dependencies.
83839 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
83841         [BZ #12653]
83842         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83843         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83844         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83845         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83846         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83848 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
83850         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83851         differing bytes.
83852         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83853         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83854         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83856 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83858         [BZ #12420]
83859         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83860         storing it.
83861         * stdlib/bug-getcontext.c: New file.
83862         * stdlib/Makefile: Add rules to build and run bug-getcontext.
83864 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83866         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83867         instructions into .machine "z9-109".
83868         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83869         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83871 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83873         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83874         between environment variables and auxiliary vector.
83876 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
83878         * Makefile: Add rules to build linkobj/libc.so.
83879         * include/libc-symbols.h: Define libc_hidden_nolink.
83880         * include/rpc/auth.h: Mark functions which are to be hidden.
83881         * include/rpc/auth_des.h: Likewise.
83882         * include/rpc/auth_unix.h: Likewise.
83883         * include/rpc/clnt.h: Likewise.
83884         * include/rpc/des_crypt.h: Likewise.
83885         * include/rpc/key_prot.h: Likewise.
83886         * include/rpc/pmap_clnt.h: Likewise.
83887         * include/rpc/pmap_prot.h: Likewise.
83888         * include/rpc/pmap_rmt.h: Likewise.
83889         * include/rpc/rpc_msg.h: Likewise.
83890         * include/rpc/svc.h: Likewise.
83891         * include/rpc/svc_auth.h: Likewise.
83892         * include/rpc/xdr.h: Likewise.
83893         * nis/Makefile: Link all DSOs against linkobj/libc.so.
83894         * nss/Makefile: Likewise.
83895         * sunrpc/Makefile: Don't install headers.  Build library with normal
83896         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
83897         * sunrpc/auth_des.c: Hide exported symbols by default, export some
83898         for the compat linking library.  Remove use of INTDEF/INTUSE.
83899         * sunrpc/auth_none.c: Likewise.
83900         * sunrpc/auth_unix.c: Likewise.
83901         * sunrpc/authdes_prot.c: Likewise.
83902         * sunrpc/authuxprot.c: Likewise.
83903         * sunrpc/clnt_gen.c: Likewise.
83904         * sunrpc/clnt_perr.c: Likewise.
83905         * sunrpc/clnt_raw.c: Likewise.
83906         * sunrpc/clnt_simp.c: Likewise.
83907         * sunrpc/clnt_tcp.c: Likewise.
83908         * sunrpc/clnt_udp.c: Likewise.
83909         * sunrpc/clnt_unix.c: Likewise.
83910         * sunrpc/des_crypt.c: Likewise.
83911         * sunrpc/des_soft.c: Likewise.
83912         * sunrpc/get_myaddr.c: Likewise.
83913         * sunrpc/key_call.c: Likewise.
83914         * sunrpc/key_prot.c: Likewise.
83915         * sunrpc/netname.c: Likewise.
83916         * sunrpc/pm_getmaps.c: Likewise.
83917         * sunrpc/pm_getport.c: Likewise.
83918         * sunrpc/pmap_clnt.c: Likewise.
83919         * sunrpc/pmap_prot.c: Likewise.
83920         * sunrpc/pmap_prot2.c: Likewise.
83921         * sunrpc/pmap_rmt.c: Likewise.
83922         * sunrpc/publickey.c: Likewise.
83923         * sunrpc/rpc_cmsg.c: Likewise.
83924         * sunrpc/rpc_common.c: Likewise.
83925         * sunrpc/rpc_dtable.c: Likewise.
83926         * sunrpc/rpc_prot.c: Likewise.
83927         * sunrpc/rpc_thread.c: Likewise.
83928         * sunrpc/rtime.c: Likewise.
83929         * sunrpc/svc.c: Likewise.
83930         * sunrpc/svc_auth.c: Likewise.
83931         * sunrpc/svc_authux.c: Likewise.
83932         * sunrpc/svc_raw.c: Likewise.
83933         * sunrpc/svc_run.c: Likewise.
83934         * sunrpc/svc_simple.c: Likewise.
83935         * sunrpc/svc_tcp.c: Likewise.
83936         * sunrpc/svc_udp.c: Likewise.
83937         * sunrpc/svc_unix.c: Likewise.
83938         * sunrpc/svcauth_des.c: Likewise.
83939         * sunrpc/xcrypt.c: Likewise.
83940         * sunrpc/xdr.c: Likewise.
83941         * sunrpc/xdr_array.c: Likewise.
83942         * sunrpc/xdr_float.c: Likewise.
83943         * sunrpc/xdr_intXX_t.c: Likewise.
83944         * sunrpc/xdr_mem.c: Likewise.
83945         * sunrpc/xdr_rec.c: Likewise.
83946         * sunrpc/xdr_ref.c: Likewise.
83947         * sunrpc/xdr_sizeof.c: Likewise.
83948         * sunrpc/xdr_stdio.c: Likewise.
83950 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
83952         [BZ #12650]
83953         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83954         * sysdeps/ia64/dl-tls.h: Likewise.
83955         * sysdeps/powerpc/dl-tls.h: Likewise.
83956         * sysdeps/s390/dl-tls.h: Likewise.
83957         * sysdeps/sh/dl-tls.h: Likewise.
83958         * sysdeps/sparc/dl-tls.h: Likewise.
83959         * sysdeps/x86_64/dl-tls.h: Likewise.
83960         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83962 2011-03-14  Andreas Schwab  <schwab@redhat.com>
83964         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83965         rpath element also skip the following colon.
83966         (expand_dynamic_string_token): Add is_path parameter and pass
83967         down to DL_DST_REQUIRED and _dl_dst_substitute.
83968         (decompose_rpath): Call expand_dynamic_string_token with
83969         non-zero is_path.  Ignore empty rpaths.
83970         (_dl_map_object_from_fd): Call expand_dynamic_string_token
83971         with zero is_path.
83973 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
83975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83976         Make cancelable.
83978 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
83980         [BZ #12655]
83981         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83982         Patch by Filipe David Manana <fdmanana@apache.org>.
83984 2011-04-07  Andreas Schwab  <schwab@redhat.com>
83986         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83987         Maintain aligned stack.
83988         (CHECK_RSP): Remove unused macro.
83990 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
83992         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83993         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83995 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
83997         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83999         * include/features.h: Mention __USE_XOPEN2K8 in comment.
84001 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
84003         [BZ #12518]
84004         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
84005         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
84006         * sysdeps/x86_64/memmove.c: New file.
84007         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
84008         (memcpy): Renamed to ...
84009         (__new_memcpy): This.
84010         (memcpy): Provide GLIBC_2_14 memcpy.
84011         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
84012         (memcpy): Provide GLIBC_2_2_5 memcpy.
84014 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84016         [BZ #12631]
84017         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
84019 2011-03-30  Andreas Schwab  <schwab@redhat.com>
84021         * misc/syncfs.c: New file.
84022         * misc/Makefile (routines): Add syncfs.
84023         * posix/unistd.h: Declare syncfs.
84024         * sysdeps/unix/syscalls.list: Add syncfs.
84026 2011-04-01  Andreas Schwab  <schwab@redhat.com>
84028         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
84029         open_by_handle_at.
84030         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84031         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84032         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84033         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84034         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84035         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
84036         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84038 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84040         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
84041         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84042         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
84043         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84044         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84046         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84048         * io/Makefile: Compile fallocate.c, fallocate64.c, and
84049         sync_file_range.c with -fexceptions.
84050         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
84051         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
84052         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
84053         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84054         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
84055         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
84056         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
84057         sync_file_range as cancellation point
84058         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
84059         now a wrapper around __call_sync_file_range with cancellation handling.
84060         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
84061         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
84062         function name to __call_sync_file_range.
84063         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
84064         Add call_sync_file_range.
84066 2011-04-01  Andreas Schwab  <schwab@redhat.com>
84068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84069         bits/timex.h.
84071 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84073         * iconv/iconv.h: Fix typo in comment.
84074         * io/fcntl.h: Likewise.
84075         * libio/stdio.h: Likewise.
84076         * posix/spawn.h: Likewise.
84077         * posix/unistd.h: Likewise.
84078         * stdlib/stdlib.h: Likewise.
84079         * time/time.h: Likewise.
84080         * wcsmbs/wchar.h: Likewise.
84082         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
84083         open_by_handle): Add.
84084         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
84085         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
84086         Augment a few comments.
84087         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84088         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84089         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84090         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84091         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84092         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
84093         open_by_handle.
84095         * io/fcntl.h (AT_EMPTY_PATH): Define.
84097 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
84099         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
84100         * sysdeps/unix/sysv/linux/bits/time.h: New file.
84101         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
84102         to...
84103         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
84104         * Versions.def: Add GLIBC_2.14.
84105         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
84106         Export.
84108 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
84110         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
84111         round counter.
84112         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84114 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84116         [BZ #12597]
84117         * string/test-strncmp.c (do_page_test): New function.
84118         (check2): Likewise.
84119         (test_main): Call check2.
84120         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
84122 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
84124         [BZ #12587]
84125         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
84126         Handle cache information in CPU leaf 4.
84127         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84129 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
84131         [BZ #12583]
84132         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
84133         character representation.
84134         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
84136 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
84138         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
84139         END(__isnan) to END(__isnanf) to match function entry point/label
84140         EALIGN(__isnanf,...).
84142 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
84144         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
84146 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
84148         [BZ #12510]
84149         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84150         copy from the symbol referenced in the relocation to initialize the
84151         used variable.
84152         Patch by Piotr Bury <pbury@goahead.com>.
84153         * elf/Makefile: Add rules to build and tst-unique3.
84154         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84155         * elf/tst-unique3.cc: New file.
84156         * elf/tst-unique3.h: New file.
84157         * elf/tst-unique3lib.cc: New file.
84158         * elf/tst-unique3lib2.cc: New file.
84160         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84162 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
84164         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84165         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
84166         to _start.
84168 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
84170         * elf/dl-load.c (_dl_map_object): If we are looking for the first
84171         to-be-loaded object along a path to loader is ld.so.
84173 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84174             Ulrich Drepper  <drepper@gmail.com>
84176         * sysdeps/x86_64/memset.S: After aligning destination, code
84177         branches to different locations depending on the value of
84178         misalignment, when multiarch is enabled. Fix this.
84180 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84182         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84183         Set _x86_64_preferred_memory_instruction for AMD processsors.
84184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84185         Set bit_Prefer_SSE_for_memop for AMD processors.
84187 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
84189         * libio/fmemopen.c (fmemopen): Optimize a bit.
84191 2011-03-03  Andreas Schwab  <schwab@redhat.com>
84193         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84195 2011-03-03  Roland McGrath  <roland@redhat.com>
84197         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84199 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
84201         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84202         __bzero_ultra1 instead of __memset_ultra1.
84204 2011-02-23  Andreas Schwab  <schwab@redhat.com>
84205             Ulrich Drepper  <drepper@gmail.com>
84207         [BZ #12509]
84208         * include/link.h (struct link_map): Add l_orig_initfini.
84209         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84210         returning unsuccessfully.
84211         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84212         close of a file loaded at startup, restore the original l_initfini
84213         list.
84214         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84215         list, store the pointer.
84216         * elf/Makefile ($(objpfx)noload-mem): New rule.
84217         (noload-ENV): Define.
84218         (tests): Add $(objpfx)noload-mem.
84219         * elf/noload.c: Include <memcheck.h>.
84220         (main): Call mtrace.  Close all opened handles.
84222 2011-02-17  Andreas Schwab  <schwab@redhat.com>
84224         [BZ #12454]
84225         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84226         dependencies are missing.
84228 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84230         Fix __if_freereq crash: Unlike the generic version which uses free,
84231         Hurd needs munmap.
84232         * sysdeps/mach/hurd/ifreq.h: New file.
84234 2011-01-27  Petr Baudis  <pasky@suse.cz>
84235             Ulrich Drepper  <drepper@gmail.com>
84237         [BZ 12445]#
84238         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84239         to extend_alloca().
84240         * stdio-common/bug23.c: New file.
84241         * stdio-common/Makefile (tests): Add bug23.
84243 2010-09-28  Andreas Schwab  <schwab@redhat.com>
84244             Ulrich Drepper  <drepper@gmail.com>
84246         [BZ #12489]
84247         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84248         before performing relro protection.  At old place add assertion
84249         to make sure nothing changed.
84251 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
84252             Glauber de Oliveira Costa  <glommer@gmail.com>
84254         * elf/elf.h: Add new ARM TLS relocs.
84256 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
84258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84259         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84260         cast from r3.
84261         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
84262         'tests' variable.
84263         * sysdeps/wordsize-64/tst-writev.c: New file.
84265 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
84267         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84268         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84269         insns in _dl_start to prevent a TOC reference before relocs are
84270         resolved.
84272 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
84274         [BZ #12469]
84275         * Makeconfig: Remove RANLIB definition.
84276         * Makerules: Don't use RANLIB.
84277         * aclocal.m4: Remove ranlib test.
84278         * configure.in: No need to check for ranlib.
84279         * elf/rtld-Rules: Don't use RANLIB.
84281 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84283         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84284         protection macro.
84285         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84286         inclusion protection macro.
84288         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84289         SIGRTMIN and SIGRTMAX and print information in that case only when
84290         SIGRTMIN is defined.
84292 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
84294         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84295         arginfo fn returning -1.
84297         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84298         and thousands string is zero terminated.
84300 2011-02-03  Andreas Schwab  <schwab@redhat.com>
84302         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84303         sysdeps/unix/sysv/linux/bits/socket.h.
84305 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84307         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84308         (__CPU_COUNT): Remove old macros.
84309         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84310         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84311         (__CPU_ALLOC, __CPU_FREE): Add macros.
84312         (__sched_cpualloc, __sched_cpufree): Add declarations.
84314 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
84316         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84317         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84318         * nscd/aicache.c (addhstaiX): Return timeout of added value.
84319         (readdhstai): Return value of addhstaiX call.
84320         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84321         (addgrbyX): Return value returned by cache_addgr.
84322         (readdgrbyname): Return value returned by addgrbyX.
84323         (readdgrbygid): Likewise.
84324         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84325         (addpwbyX): Return value returned by cache_addpw.
84326         (readdpwbyname): Return value returned by addhstbyX.
84327         (readdpwbyuid): Likewise.
84328         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84329         (addservbyX): Return value returned by cache_addserv.
84330         (readdservbyname): Return value returned by addservbyX:
84331         (readdservbyport): Likewise.
84332         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84333         (addhstbyX): Return value returned by cache_addhst.
84334         (readdhstbyname): Return value returned by addhstbyX.
84335         (readdhstbyaddr): Likewise.
84336         (readdhstbynamev6): Likewise.
84337         (readdhstbyaddrv6): Likewise.
84338         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84339         (readdinitgroups): Return value returned by addinitgroupsX.
84340         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84341         (prune_cache): Keep track of timeout value of re-added entries.
84342         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84343         * nscd/nscd.h: Adjust prototypes of readd* functions.
84345 2011-02-04  Roland McGrath  <roland@redhat.com>
84347         * nis/nis_server.c (nis_servstate): Use the right name for 0.
84348         (nis_stats): Likewise.
84349         * nis/nis_modify.c (nis_modify): Likewise.
84350         * nis/nis_remove.c (nis_remove): Likewise.
84351         * nis/nis_add.c (nis_add): Likewise.
84353         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84355         * posix/fnmatch_loop.c: Add some consts.
84357         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84359 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
84361         [BZ #12460]
84362         * config.make.in (config-cflags-novzeroupper): Define.
84363         * configure.in: Substitute libc_cv_cc_novzeroupper.
84364         * elf/Makefile (AVX-CFLAGS): Define.
84365         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84366         (CFLAGS-tst-auditmod4a.c): Likewise.
84367         (CFLAGS-tst-auditmod4b.c): Likewise.
84368         (CFLAGS-tst-auditmod6b.c): Likewise.
84369         (CFLAGS-tst-auditmod6c.c): Likewise.
84370         (CFLAGS-tst-auditmod7b.c): Likewise.
84371         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84373 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
84375         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84376         function to the callback.
84377         Patch partly by Jiri Olsa <jolsa@redhat.com>.
84379 2011-02-02  Andreas Schwab  <schwab@redhat.com>
84381         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84382         of errno.
84384 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
84386         [BZ #11724]
84387         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84388         of constructors.
84389         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84390         of destructors.
84391         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84393         [BZ #11724]
84394         * elf/Makefile: Add rules to build and run new test.
84395         * elf/tst-initorder.c: New file.
84396         * elf/tst-initorder.exp: New file.
84397         * elf/tst-initordera1.c: New file.
84398         * elf/tst-initordera2.c: New file.
84399         * elf/tst-initordera3.c: New file.
84400         * elf/tst-initordera4.c: New file.
84401         * elf/tst-initorderb1.c: New file.
84402         * elf/tst-initorderb2.c: New file.
84403         * elf/tst-order-a1.c: New file.
84404         * elf/tst-order-a2.c: New file.
84405         * elf/tst-order-a3.c: New file.
84406         * elf/tst-order-a4.c: New file.
84407         * elf/tst-order-b1.c: New file.
84408         * elf/tst-order-b2.c: New file.
84409         * elf/tst-order-main.c: New file.
84410         New test case by George Gensure <werkt0@gmail.com>.
84412 2010-10-01  Andreas Schwab  <schwab@redhat.com>
84414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84415         decoding ACE if AI_CANONIDN.
84417 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
84419         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84421 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
84423         * version.h (RELEASE): Bump for 2.13 release.
84424         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84426         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84428         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84429         MADV_NOHUGEPAGE.
84430         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84431         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84432         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84433         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84434         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84435         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84437         * posix/getconf.c: Update copyright year.
84438         * catgets/gencat.c: Likewise.
84439         * csu/version.c: Likewise.
84440         * debug/catchsegv.sh: Likewise.
84441         * debug/xtrace.sh: Likewise.
84442         * elf/ldconfig.c: Likewise.
84443         * elf/ldd.bash.in: Likewise.
84444         * elf/sprof.c (print_version): Likewise.
84445         * iconv/iconv_prog.c: Likewise.
84446         * iconv/iconvconfig.c: Likewise.
84447         * locale/programs/locale.c: Likewise.
84448         * locale/programs/localedef.c: Likewise.
84449         * malloc/memusage.sh: Likewise.
84450         * malloc/mtrace.pl: Likewise.
84451         * nscd/nscd.c (print_version): Likewise.
84452         * nss/getent.c: Likewise.
84454         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84455         PF_CAIF, and PF_ALG.
84456         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84458 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
84460         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84461         (modules-names): Use them.
84462         (ifunc-test-modules, ifunc-pie-tests): Define.
84463         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84464         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84465         (test-extras): Likewise.
84466         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84467         $(compile-command.c).
84468         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84469         (all-built-dso): Define.
84470         (check-textrel.out, check-execstack.out): Depend on it.
84472         * configure.in: Don't override --enable-multi-arch.
84474 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
84476         [BZ #6812]
84477         * nscd/hstcache.c (tryagain): Define.
84478         (cache_addhst): Return tryagain not notfound for temporary errors.
84479         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84480         failed.
84482 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
84484         [BZ #10563]
84485         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84486         to make the syscall.
84487         * sysdeps/unix/sysv/linux/setgroups.c: New file.
84489         [BZ #12378]
84490         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84491         and fall back to matching as normal character if the string ends before
84492         the matching ']' is found.  This is what POSIX requires.
84493         * posix/testfnm.c: Adjust test result.
84494         * posix/globtest.sh: Adjust test result.  Add new test.
84495         * posix/tst-fnmatch.input: Likewise.
84496         * posix/tst-fnmatch2.c: Add new test.
84498 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
84500         * elf/Makefile (check-execstack): Revert last change.  Depend on
84501         check-execstack.h.
84502         (check-execstack.h): New target.
84503         (generated): Add check-execstack.h.
84504         * elf/check-execstack.c: Include "check-execstack.h".
84505         (main): Revert last change.
84506         (handle_file): Return zero if GNU_STACK is absent and
84507         DEFAULT_STACK_PERMS doesn't include PF_X.
84509 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
84511         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84512         in child fails because the descriptor is already closed.
84513         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84514         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84515         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84517         [BZ #12397]
84518         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84519         syscall.
84521         [BZ #10484]
84522         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84523         temporary buffer used to handle multi lookups locally.
84524         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84526 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84528         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84529         loader is ld.so.
84531 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
84533         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84534         alignment for SSE2.
84536 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84538         [BZ #12394]
84539         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84540         characters.  When rounding increased number of integer digits recompute
84541         number of groups.
84542         * stdio-common/tst-grouping.c: New file.
84543         * stdio-common/Makefile: Add rules to build and run tst-grouping.
84545 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
84547         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84548         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
84550         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84551         void.
84552         * bits/select.h: Likewise.
84554 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
84556         * po/ja.po: Update from translation team.
84558 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
84560         [BZ #11155]
84561         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84562         implementation just like for lxstat, fxstatat, et al.
84564 2010-12-27  Jim Meyering  <meyering@redhat.com>
84566         [BZ #12348]
84567         * posix/regexec.c (build_trtable): Return failure indication upon
84568         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
84570 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
84572         [BZ #12201]
84573         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84574         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84575         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84576         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84578         [BZ #12207]
84579         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84581         [BZ #12204]
84582         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84583         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84585 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
84587         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84588         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84589         script has SORT_BY_INIT_PRIORITY.
84590         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84591         NO_CTORS_DTORS_SECTIONS is defined.
84592         * elf/soinit.c: Likewise.
84593         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84594         NO_CTORS_DTORS_SECTIONS is defined.
84595         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84596         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84597         * sysdeps/sh/init-first.c: Likewise.
84598         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84600 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
84602         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84603         always use the slow path.
84605 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
84607         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84608         similar rule which adds the sysdep directories to the header search in
84609         order to pick up the correct platform stackinfo.h.
84610         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84611         perform test if it is, otherwise return successfully without testing.
84612         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84613         DEFAULT_STACK_PERMS define in stackinfo.h.
84614         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84615         defined in stackinfo.h.
84616         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84617         DEFAULT_STACK_PERMS defined in stackinfo.h.
84618         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84619         * sysdeps/ia64/stackinfo.h: Likewise.
84620         * sysdeps/s390/stackinfo.h: Likewise.
84621         * sysdeps/sh/stackinfo.h: Likewise.
84622         * sysdeps/sparc/stackinfo.h: Likewise.
84623         * sysdeps/x86_64/stackinfo.h: Likewise.
84624         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84625         PF_X for powerpc64.  Retain PF_X for powerpc32.
84627 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
84629         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84630         accurately.
84631         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84632         GETDENTS_64BIT_ALIGNED.
84634 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
84636         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84638 2010-12-10  Andreas Schwab  <schwab@redhat.com>
84640         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84641         _GNU_SOURCE.
84643         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84644         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84645         Remove __restrict.
84646         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84647         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84649 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
84651         [BZ #11655]
84652         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84653         are initialized.
84655 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
84657         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84659 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
84661         * po/it.po: Update from translation team.
84663 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
84665         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84666         unused codes.
84668 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
84670         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84672 2010-11-24  Andreas Schwab  <schwab@redhat.com>
84674         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84675         specially.
84676         (gaih_getanswer_slice): Likewise.
84678 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
84680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84682 2010-05-31  Petr Baudis  <pasky@suse.cz>
84684         [BZ #11149]
84685         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84686         silently even in the chroot mode.
84688 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
84690         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84691         last patch a bit.  Pretty printing
84693 2010-05-31  Petr Baudis <pasky@suse.cz>
84695         [BZ #10085]
84696         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84697         initialization of skip_initgroups_dyn.
84699 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
84701         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84702         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84704 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
84706         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84708 2010-11-11  Andreas Schwab  <schwab@redhat.com>
84710         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84711         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84712         (tst-fnmatch-ENV): Set MALLOC_TRACE.
84713         ($(objpfx)tst-fnmatch-mem): New rule.
84714         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84715         * posix/tst-fnmatch.c (main): Call mtrace.
84717 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
84719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84720         Support Intel processor model 6 and model 0x2c.
84722 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
84724         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84725           signed comparison.
84727 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
84729         [BZ #12205]
84730         * string/test-strncasecmp.c (check_result): New function.
84731         (do_one_test): Use it.
84732         (check1): New function.
84733         (test_main): Use it.
84734         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84735         Support strcasecmp and strncasecmp.
84737 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
84739         [BZ #12194]
84740         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84741         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84743 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
84745         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84746         IFUNC support.
84747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84748         memset-x86-64.
84749         * sysdeps/x86_64/multiarch/bzero.S: New file.
84750         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84751         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84752         * sysdeps/x86_64/multiarch/memset.S: New file.
84753         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84754         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84755         Set bit_Prefer_SSE_for_memop for Intel processors.
84756         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84757         Define.
84758         (index_Prefer_SSE_for_memop): Define.
84759         (HAS_PREFER_SSE_FOR_MEMOP): Define.
84761 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
84763         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84764         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84766 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
84768         [BZ #12191]
84769         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84770         (__x86_64_raw_data_cache_size_half): Likewise.
84771         (__x86_64_raw_shared_cache_size): Likewise.
84772         (__x86_64_raw_shared_cache_size_half): Likewise.
84774         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84775         (__x86_64_raw_data_cache_size_half): Likewise.
84776         (__x86_64_raw_shared_cache_size): Likewise.
84777         (__x86_64_raw_shared_cache_size_half): Likewise.
84778         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84779         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84780         and __x86_64_raw_shared_cache_size_half.  Round
84781         __x86_64_data_cache_size_half, __x86_64_data_cache_size
84782         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84783         to multiple of 256 bytes.
84785 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
84787         [BZ #12167]
84788         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84789         of inacessible symlinks.  Verify result of symlink before returning it.
84790         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84791         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84793 2010-10-28  Erich Ritz  <erichritz@gmail.com>
84795         * math/math.h (isinf): Fix typo in comment.
84797 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
84799         * po/da.po: Update from translation team.
84801 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
84803         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84804         is added to the list.
84806 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84807             Ulrich Drepper  <drepper@gmail.com>
84809         * elf/dl-object.c (_dl_new_object): Don't append the new object to
84810         the global list here.  Move code to...
84811         (_dl_add_to_namespace_list): ...here.  New function.
84812         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84813         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84814         * elf/dl-load.c (lose): Don't remove the element from the list.
84815         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84816         (_dl_map_object): Likewise.
84818 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
84820         [BZ #12159]
84821         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84822         into all bytes of SSE register.
84823         Patch by Richard Li <richardpku@gmail.com>.
84825 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
84827         [BZ #12140]
84828         * malloc/malloc.c (_int_free): Fill correct number of bytes when
84829         perturbing.
84831 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
84833         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84834         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84835         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84836         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84838         submachine.
84839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84841 2010-10-22  Andreas Schwab  <schwab@redhat.com>
84843         * include/dlfcn.h (__RTLD_SECURE): Define.
84844         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
84845         mode & __RTLD_SECURE instead.
84846         (open_path): Rename preloaded parameter to secure.
84847         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84848         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84849         * elf/dl-deps.c (openaux): Likewise.
84850         * elf/rtld.c (struct map_args): Remove is_preloaded.
84851         (map_doit): Don't use it.
84852         (dl_main): Likewise.
84853         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84854         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84856 2010-09-09  Andreas Schwab  <schwab@redhat.com>
84858         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84859         (sysd-rules-targets): Remove duplicates.
84860         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84861         rtld-%.$o dependency.
84863 2010-10-18  Andreas Schwab  <schwab@redhat.com>
84865         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84866         _dl_map_object do it.
84868 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
84870         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84871         fast fma builtins, define the macros in the C99 standard.
84872         (FP_FAST_FMAF): Likewise.
84873         (FP_FAST_FMAL): Likewise.
84874         * sysdeps/x86_64/bits/mathdef.h: Likewise.
84876         * bits/mathdef.h: Update copyright year.
84877         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84879 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
84881         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84882         builtins, define the macros in the C99 standard.
84883         (FP_FAST_FMAF): Likewise.
84884         (FP_FAST_FMAL): Likewise.
84885         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84886         multiply/add.
84887         (FP_FAST_FMAF): Likewise.
84889 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
84891         [BZ #3268]
84892         * math/libm-test.inc (fma_test): Some new testcases.
84893         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84894         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84895         y and infinite z.  Do multiplication by C already in long double.
84896         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84898         y and infinite z.  Do bitwise or of inexact bit into u.d.
84899         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84900         * sysdeps/i386/fpu/s_fmaf.S: Removed.
84901         * sysdeps/i386/fpu/s_fma.S: Removed.
84902         * sysdeps/i386/fpu/s_fmal.S: Removed.
84904 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
84906         [BZ #3268]
84907         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84908         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84909         computation is not scheduled after fetestexcept.  Fix value
84910         of minimum denormal long double.
84912 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84914         [BZ #3268]
84915         * math/libm-test.inc (fma_test): Add some more tests.
84916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84917         correctly.
84919 2010-10-15  Andreas Schwab  <schwab@redhat.com>
84921         * scripts/data/localplt-s390-linux-gnu.data: New file.
84922         * scripts/data/localplt-s390x-linux-gnu.data: New file.
84924 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
84926         [BZ #3268]
84927         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84928         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84929         instead of dbl-64.
84930         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84931         inlines.
84932         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84933         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84934         if one of x and y is very large and the other is subnormal.
84935         * sysdeps/s390/fpu/s_fmaf.c: New file.
84936         * sysdeps/s390/fpu/s_fma.c: New file.
84937         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84938         * sysdeps/powerpc/fpu/s_fma.S: New file.
84939         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84940         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84941         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84943 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
84945         [BZ #3268]
84946         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84947         fma tests.
84948         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84949         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84950         * sysdeps/i386/i686/multiarch/s_fma.c: Include
84951         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84952         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84953         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84954         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84956 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
84958         [BZ #12078]
84959         * posix/regcomp.c (parse_branch): One more memory leak plugged.
84960         * posix/bug-regex31.input: Add test case.
84962 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84964         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84965         * posix/bug-regex31.input: New file.
84967         [BZ #12078]
84968         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84969         (parse_sub_exp): Fix last change, use postorder.
84971         * posix/bug-regex31.c: New file.
84972         * posix/Makefile: Add rules to build and run bug-regex31.
84974         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84976         [BZ #12078]
84977         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84979         [BZ #12108]
84980         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84981         to have entries in sys_siglist.
84983         [BZ #12093]
84984         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84985         be NULL.
84987 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
84989         [BZ #3268]
84990         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84991         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84992         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84993         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84994         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84995         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84996         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84997         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84998         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84999         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
85000         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
85001         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
85002         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
85003         * math/ftestexcept.c (fetestexcept): Likewise.
85004         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
85005         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
85006         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
85007         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
85008         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
85009         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
85010         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
85012 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
85014         [BZ #12107]
85015         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
85016         newline.
85018 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
85020         * string/bug-strstr1.c: New file.
85021         * string/Makefile: Add rules to build and run bug-strstr1.
85023 2010-10-05  Eric Blake  <eblake@redhat.com>
85025         [BZ #12092]
85026         * string/str-two-way.h (two_way_long_needle): Always clear memory
85027         when skipping input due to the shift table.
85029 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
85031         [BZ #12005]
85032         * malloc/mcheck.c: Handle large requests.
85034         [BZ #12077]
85035         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
85036         for strncmp and strncasecmp.
85037         * string/stratcliff.c: Add tests for strcmp and strncmp.
85038         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
85040 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85042         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
85043         __set_fpscr.
85045 2010-09-30  Andreas Jaeger  <aj@suse.de>
85047         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
85048         (CGROUP_SUPER_MAGIC): Define.
85049         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85050         Handle btrfs and cgroup file systems.
85051         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85052         Likewise.
85054 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
85056         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
85057         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
85059 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85061         [BZ #12067]
85062         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
85063         trying to locate the ELF header.
85065 2010-09-27  Andreas Schwab  <schwab@redhat.com>
85067         [BZ #11611]
85068         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
85069         Mask out sign-bit copies when constructing f_fsid.
85071 2010-09-24  Petr Baudis <pasky@suse.cz>
85073         * debug/stack_chk_fail_local.c: Add missing licence exception.
85074         * debug/warning-nop.c: Likewise.
85076 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
85078         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
85079         implementing getdents64 using getdents syscall, set d_type if
85080         __ASSUME_GETDENTS32_D_TYPE.
85082 2010-09-16  Andreas Schwab  <schwab@redhat.com>
85084         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
85085         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
85087 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
85089         [BZ #12037]
85090         * posix/unistd.h: Undo change of feature selection for ftruncate from
85091         2010-01-11.
85093 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
85095         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
85096         detection.
85098 2010-09-20  Andreas Schwab  <schwab@redhat.com>
85100         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
85101         fanotify_mark.
85102         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85104 2010-09-14  Andreas Schwab  <schwab@redhat.com>
85106         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
85107         variables after CHECK_SP call.
85108         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
85110 2010-09-13  Andreas Schwab  <schwab@redhat.com>
85111             Ulrich Drepper  <drepper@redhat.com>
85113         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
85114         re-relocationg ld.so.
85115         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
85116         _dl_init_paths call.
85117         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
85118         here anymore.
85120 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
85122         * resolv/res_init.c (__res_vinit): Count the default server we added.
85124 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
85125             Ulrich Drepper  <drepper@redhat.com>
85127         [BZ #11968]
85128         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85129         (____longjmp_chk): Use %ebx for saving value across system call.
85130         Add unwind info.
85132 2010-09-06  Andreas Schwab  <schwab@redhat.com>
85134         * manual/Makefile: Don't mix pattern rules with normal rules.
85136 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
85138         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
85139         operation.
85140         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
85141         * libio/iofopncook.c (_IO_cookie_init): Likewise.
85142         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
85143         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
85144         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85145         Likewise.
85147 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
85149         [BZ #11979]
85150         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85151         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85153 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
85155         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85156         * sysdeps/x86_64/addmul_1.S: Likewise.
85157         * sysdeps/x86_64/lshift.S: Likewise.
85158         * sysdeps/x86_64/mul_1.S: Likewise.
85159         * sysdeps/x86_64/rshift.S: Likewise.
85160         * sysdeps/x86_64/sub_n.S: Likewise.
85161         * sysdeps/x86_64/submul_1.S: Likewise.
85163 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85165         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85166         Define __sched_param instead of SCHED_* and sched_param when
85167         <bits/sched.h> is included with __need_schedparam defined.
85168         * bits/sched.h [__need_schedparam]
85169         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85170         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85171         (__defined_schedparam): Define to 1.
85172         (__sched_param): New structure, identical to sched_param.
85173         (__need_schedparam): Undefine.
85175 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
85177         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85178         (epoll_create1): Declare.
85180         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85182 2010-08-31  Andreas Schwab  <schwab@redhat.com>
85184         [BZ #7066]
85185         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85186         shifting retval into place.
85188 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
85190         * nis/rpcsvc/nis.h: Update copyright notice.
85191         * nis/rpcsvc/nis.x: Likewise.
85192         * nis/rpcsvc/nis_callback.h: Likewise.
85193         * nis/rpcsvc/nis_callback.x: Likewise.
85194         * nis/rpcsvc/nis_object.x: Likewise.
85195         * nis/rpcsvc/nis_tags.h: Likewise.
85196         * nis/rpcsvc/yp.h: Likewise.
85197         * nis/rpcsvc/yp.x: Likewise.
85198         * nis/rpcsvc/ypupd.h: Likewise.
85199         * nis/yp_xdr.c: Likewise.
85200         * nis/ypupdate_xdr.c: Likewise.
85202         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
85203         mainly the body of pmap_getport.  Add parameters to specify timeouts.
85204         (pmap_getport): Use __libc_rpc_getport.
85205         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85206         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85207         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85209 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
85211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85212         fanotify_mark.
85214 2010-08-27  Roland McGrath  <roland@redhat.com>
85216         * sysdeps/i386/i686/multiarch/Makefile
85217         (CFLAGS-varshift.c): New variable.
85219 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
85221         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85222         * sysdeps/i386/i686/multiarch/varshift.c: New file.
85224         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85226         * sysdeps/x86_64/strlen.S: Minimal code improvement.
85228 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
85230         * sysdeps/x86_64/strlen.S: Unroll the loop.
85231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85232         strlen-sse2 strlen-sse2-bsf.
85233         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85234         __strlen_no_bsf if bit_Slow_BSF is set.
85235         (__strlen_sse42): Removed.
85236         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85237         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85239 2010-08-25  Roland McGrath  <roland@redhat.com>
85241         * sysdeps/x86_64/multiarch/varshift.S: File removed.
85242         * sysdeps/x86_64/multiarch/varshift.c: New file.
85243         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85244         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85245         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85246         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85248 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
85250         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85251         strlen-sse2 strlen-sse2-bsf.
85252         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85253         __strlen_sse2_bsf if bit_Slow_BSF is unset.
85254         (__strlen_sse2): Removed.
85255         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85256         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85258         bit_Slow_BSF for Atom.
85259         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85260         (index_Slow_BSF): Define.
85261         (HAS_SLOW_BSF): Define.
85263 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
85265         [BZ #10851]
85266         * resolv/res_init.c (__res_vinit): When no server address at all
85267         is given default to loopback.
85269 2010-08-24  Roland McGrath  <roland@redhat.com>
85271         * configure.in: Remove config-name.h generation.
85272         * configure: Regenerated.
85273         * config-name.in: File removed.
85274         * scripts/config-uname.sh: New file.
85275         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85276         ($(objdir)config-name.h): New target.
85278         * sunrpc/rpc_parse.h: Avoid nested comment.
85280 2010-08-24  Richard Henderson  <rth@redhat.com>
85281             Ulrich Drepper  <drepper@redhat.com>
85282             H.J. Lu  <hongjiu.lu@intel.com>
85284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85286         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85287         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
85288         _mm_alignr_epi8 with _mm_loadu_si128.
85289         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85290         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85291         (__m128i_shift_right): Removed.
85292         * sysdeps/i386/i686/multiarch/varshift.h: New file.
85293         * sysdeps/i386/i686/multiarch/varshift.S: New file.
85294         * sysdeps/x86_64/multiarch/varshift.h: New file.
85295         * sysdeps/x86_64/multiarch/varshift.S: New file.
85297 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
85299         * configure.in: Move assembler checks to before sysdep dir checking.
85301 2010-08-20  Petr Baudis  <pasky@suse.cz>
85303         * LICENSES: Sync the sunrpc license.
85305 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
85307         * sunrpc/auth_des.c: Update copyright notice once again.
85308         * sunrpc/auth_none.c: Likewise.
85309         * sunrpc/auth_unix.c: Likewise.
85310         * sunrpc/authdes_prot.c: Likewise.
85311         * sunrpc/authuxprot.c: Likewise.
85312         * sunrpc/bindrsvprt.c: Likewise.
85313         * sunrpc/clnt_gen.c: Likewise.
85314         * sunrpc/clnt_perr.c: Likewise.
85315         * sunrpc/clnt_raw.c: Likewise.
85316         * sunrpc/clnt_simp.c: Likewise.
85317         * sunrpc/clnt_tcp.c: Likewise.
85318         * sunrpc/clnt_udp.c: Likewise.
85319         * sunrpc/clnt_unix.c: Likewise.
85320         * sunrpc/des_crypt.c: Likewise.
85321         * sunrpc/des_soft.c: Likewise.
85322         * sunrpc/get_myaddr.c: Likewise.
85323         * sunrpc/getrpcport.c: Likewise.
85324         * sunrpc/key_call.c: Likewise.
85325         * sunrpc/key_prot.c: Likewise.
85326         * sunrpc/openchild.c: Likewise.
85327         * sunrpc/pm_getmaps.c: Likewise.
85328         * sunrpc/pm_getport.c: Likewise.
85329         * sunrpc/pmap_clnt.c: Likewise.
85330         * sunrpc/pmap_prot.c: Likewise.
85331         * sunrpc/pmap_prot2.c: Likewise.
85332         * sunrpc/pmap_rmt.c: Likewise.
85333         * sunrpc/rpc/auth.h: Likewise.
85334         * sunrpc/rpc/auth_unix.h: Likewise.
85335         * sunrpc/rpc/clnt.h: Likewise.
85336         * sunrpc/rpc/des_crypt.h: Likewise.
85337         * sunrpc/rpc/key_prot.h: Likewise.
85338         * sunrpc/rpc/netdb.h: Likewise.
85339         * sunrpc/rpc/pmap_clnt.h: Likewise.
85340         * sunrpc/rpc/pmap_prot.h: Likewise.
85341         * sunrpc/rpc/pmap_rmt.h: Likewise.
85342         * sunrpc/rpc/rpc.h: Likewise.
85343         * sunrpc/rpc/rpc_des.h: Likewise.
85344         * sunrpc/rpc/rpc_msg.h: Likewise.
85345         * sunrpc/rpc/svc.h: Likewise.
85346         * sunrpc/rpc/svc_auth.h: Likewise.
85347         * sunrpc/rpc/types.h: Likewise.
85348         * sunrpc/rpc/xdr.h: Likewise.
85349         * sunrpc/rpc_clntout.c: Likewise.
85350         * sunrpc/rpc_cmsg.c: Likewise.
85351         * sunrpc/rpc_common.c: Likewise.
85352         * sunrpc/rpc_cout.c: Likewise.
85353         * sunrpc/rpc_dtable.c: Likewise.
85354         * sunrpc/rpc_hout.c: Likewise.
85355         * sunrpc/rpc_main.c: Likewise.
85356         * sunrpc/rpc_parse.c: Likewise.
85357         * sunrpc/rpc_parse.h: Likewise.
85358         * sunrpc/rpc_prot.c: Likewise.
85359         * sunrpc/rpc_sample.c: Likewise.
85360         * sunrpc/rpc_scan.c: Likewise.
85361         * sunrpc/rpc_scan.h: Likewise.
85362         * sunrpc/rpc_svcout.c: Likewise.
85363         * sunrpc/rpc_tblout.c: Likewise.
85364         * sunrpc/rpc_util.c: Likewise.
85365         * sunrpc/rpc_util.h: Likewise.
85366         * sunrpc/rpcinfo.c: Likewise.
85367         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85368         * sunrpc/rpcsvc/key_prot.x: Likewise.
85369         * sunrpc/rpcsvc/klm_prot.x: Likewise.
85370         * sunrpc/rpcsvc/mount.x: Likewise.
85371         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85372         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85373         * sunrpc/rpcsvc/rex.x: Likewise.
85374         * sunrpc/rpcsvc/rstat.x: Likewise.
85375         * sunrpc/rpcsvc/rusers.x: Likewise.
85376         * sunrpc/rpcsvc/sm_inter.x: Likewise.
85377         * sunrpc/rpcsvc/spray.x: Likewise.
85378         * sunrpc/rpcsvc/yppasswd.x: Likewise.
85379         * sunrpc/rtime.c: Likewise.
85380         * sunrpc/svc.c: Likewise.
85381         * sunrpc/svc_auth.c: Likewise.
85382         * sunrpc/svc_authux.c: Likewise.
85383         * sunrpc/svc_raw.c: Likewise.
85384         * sunrpc/svc_run.c: Likewise.
85385         * sunrpc/svc_simple.c: Likewise.
85386         * sunrpc/svc_tcp.c: Likewise.
85387         * sunrpc/svc_udp.c: Likewise.
85388         * sunrpc/svc_unix.c: Likewise.
85389         * sunrpc/svcauth_des.c: Likewise.
85390         * sunrpc/xcrypt.c: Likewise.
85391         * sunrpc/xdr.c: Likewise.
85392         * sunrpc/xdr_array.c: Likewise.
85393         * sunrpc/xdr_float.c: Likewise.
85394         * sunrpc/xdr_mem.c: Likewise.
85395         * sunrpc/xdr_rec.c: Likewise.
85396         * sunrpc/xdr_ref.c: Likewise.
85397         * sunrpc/xdr_sizeof.c: Likewise.
85398         * sunrpc/xdr_stdio.c: Likewise.
85400         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85401         handling.
85403 2010-08-19  Andreas Schwab  <schwab@redhat.com>
85405         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85407 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
85409         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85410         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85411         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85412         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85413         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85414         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85415         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85416         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85417         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85418         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85419         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85420         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85421         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85422         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85424 2010-07-26  Anton Blanchard  <anton@samba.org>
85426         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85427         * malloc/arena.c (heap_trim): Likewise.
85429 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
85431         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85432         here.  Not...
85433         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85434         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85436 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
85438         * sysdeps/i386/elf/Makefile: New file.
85440 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85442         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85443         from fanotify_init.
85444         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85445         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85447 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
85449         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85450         of strncasecmp_l.
85451         * sysdeps/multiarch/strcmp.S: Likewise.
85453 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
85455         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85456         strncase_l-nonascii.
85457         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85458         Add strncase_l-ssse3.
85459         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85460         * sysdeps/x86_64/strcmp.S: Likewise.
85461         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85462         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85463         * sysdeps/x86_64/strncase.S: New file.
85464         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85465         * sysdeps/x86_64/strncase_l.S: New file.
85466         * string/Makefile (strop-tests): Add strncasecmp.
85467         * string/test-strncasecmp.c: New file.
85469         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85470         warning.
85472         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85473         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85475 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85477         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85479 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
85481         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85482         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85483         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85485 2010-05-01  Alan Modra  <amodra@gmail.com>
85487         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85488         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85489         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85490         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85491         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85492         tidying.  Don't tail-call __sigjmp_save for static lib.
85493         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85494         save location.
85495         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85496         (CALL_MCOUNT): Add eh info, and nop after bl.
85497         (TAIL_CALL_SYSCALL_ERROR): New macro.
85498         (PSEUDO_RET): Use it.
85499         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85500         Correct save location of integer regs and cr.
85501         (_dl_profile_resolve): Correct cr save location.  Delete nops
85502         after bl when SHARED.  Reduce cfi size a little by better
85503         placement of cfi directives.
85504         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85505         make a stack frame.  Instead use parm save area as a temp.
85506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85507         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
85508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85509         Don't make a stack frame for parent, use parm save area.
85510         Increase child stack frame to 112 bytes.  Don't save unused reg,
85511         and adjust reg usage.  Set up cfi on error recovery and
85512         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85514         (__makecontext): Add dummy nop after jump to exit.
85515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85516         Use correct parm save area and cr save, reduce stack frame.
85517         Correct cfi for possible PSEUDO_RET frame setup.
85518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85519         Branch to local label emitted by PSEUDO_RET rather than
85520         __syscall_error.
85522 2010-08-12  Andreas Schwab  <schwab@redhat.com>
85524         [BZ #11904]
85525         * locale/programs/locale.c (print_assignment): New function.
85526         (show_locale_vars): Use it.
85528 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
85530         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85531         field.
85532         (struct statfs64): Likewise.
85533         (_STATFS_F_FLAGS): Define.
85534         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85535         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85536         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85537         (ST_VALID): Define locally.
85538         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85539         __statvfs_getflags, use the provided value.
85540         * sysdeps/unix/sysv/linux/kernel-features.h: Define
85541         __ASSUME_STATFS_F_FLAGS.
85543         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85545         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85546         Add sys/fanotify.h.
85547         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85548         fanotify_mask for GLIBC_2.13.
85549         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85550         fanotify_init and fanotify_mark.
85551         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85552         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85554         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85555         Add prlimit.
85556         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85557         prlimit64 for GLIBC_2.13.
85558         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85559         prlimit64.
85560         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85561         syscall.
85562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85563         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85564         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85565         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85566         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
85567         add prlimit alias.
85568         * sysdeps/unix/sysv/linux/prlimit.c: New file.
85570         [BZ #11903]
85571         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85572         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85574         * nss/Makefile: Add rules to build and run tst-nss-test1.
85575         * shlib-versions: Add entry for libnss_test1.
85576         * nss/nss_test1.c: New file.
85577         * nss/tst-nss-test1.c: New file.
85579         * nss/nsswitch.c (__nss_database_custom): Define new variable.
85580         (__nss_configure_lookup): Set appropriate entry in
85581         __nss_configure_lookup to true.
85582         * nss/nsswitch.h: Define enum with indeces of databases in
85583         databases and __nss_database_custom arrays.  Declare
85584         __nss_database_custom.
85585         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85586         to avoid using nscd when custom rules are installed.
85587         * nss/getXXbyYY_r.c: Likewise.
85588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85590         * nss/nss_files/files-parse.c: Whitespace fixes.
85592 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
85594         [BZ #11883]
85595         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85596         * posix/fnmatch_loop.c: Likewise.
85598 2010-07-17  Andi Kleen  <ak@linux.intel.com>
85600         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85601         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85602         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85603         * Versions.def [GLIBC_2.13]: Add.
85605 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
85607         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85608         Also fail if tpwd after pwuid call is NULL.
85610 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85612         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85613         when converting to ms.
85615 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85617         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85618         EOPNOTSUPP errors with ENOTTY.
85619         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85620         EOPNOTSUPP errors with ENOTTY.
85622 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
85624         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85625         Add strcasecmp_l-ssse3.
85626         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85627         strcasecmp.
85628         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85629         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85630         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85632 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
85634         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85636         * string/Makefile (strop-tests): Add strcasecmp.
85637         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85638         strcasecmp_l-nonascii.
85639         (gen-as-const-headers): Add locale-defines.sym.
85640         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85641         * sysdeps/x86_64/strcasecmp.S: New file.
85642         * sysdeps/x86_64/strcasecmp_l.S: New file.
85643         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85644         * sysdeps/x86_64/locale-defines.sym: New file.
85645         * string/test-strcasecmp.c: New file.
85647         * string/test-strcasestr.c: Test both ends of the range of characters.
85648         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85650 2010-07-29  Roland McGrath  <roland@redhat.com>
85652         [BZ #11856]
85653         * manual/locale.texi (Yes-or-No Questions): Fix example code.
85655 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
85657         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85658         for ld.so.
85660 2010-07-27  Andreas Schwab  <schwab@redhat.com>
85662         * manual/memory.texi (Malloc Tunable Parameters): Document
85663         M_PERTURB.
85665 2010-07-26  Roland McGrath  <roland@redhat.com>
85667         [BZ #11840]
85668         * configure.in (-fgnu89-inline check): Set and substitute
85669         gnu89_inline, not libc_cv_gnu89_inline.
85670         * configure: Regenerated.
85671         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85673 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
85675         * string/test-strnlen.c: New file.
85676         * string/Makefile (strop-tests): Add strnlen.
85677         * string/tester.c (test_strnlen): Add a few more test cases.
85678         * string/tst-strlen.c: Better error reporting.
85680         * sysdeps/x86_64/strnlen.S: New file.
85682 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
85684         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85685         lower-latency instructions.
85687 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
85689         * string/test-strcasestr.c: New file.
85690         * string/test-strstr.c: New file.
85691         * string/Makefile (strop-tests): Add strstr and strcasestr.
85692         * string/str-two-way.h: Don't undefine MAX.
85693         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85695 2010-07-21  Andreas Schwab  <schwab@redhat.com>
85697         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85698         strcasestr-nonascii.
85699         (CFLAGS-strcasestr-nonascii.c): Define.
85700         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85701         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85702         Remove unused attribute.
85704 2010-07-20  Roland McGrath  <roland@redhat.com>
85706         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85707         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
85708         ld.so.cache was broken.  With it, there is no way to disable dsocaps
85709         like LD_HWCAP_MASK can disable hwcaps.
85711 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85713         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85715 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
85717         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85718         call in strcasestr.
85719         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85720         __strcasestr_sse42_nonascii.
85721         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85722         strcasestr-nonascii.c.
85723         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85725 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
85727         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85728         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85729         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85730         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85732 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
85734         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85735         fcntl.
85737 2010-07-06  Andreas Schwab  <schwab@redhat.com>
85739         [BZ #11577]
85740         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85741         dl_signal_cerror.
85743 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
85745         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85746         _PC_PIPE_BUF using F_GETPIPE_SZ.
85748 2010-07-05  Roland McGrath  <roland@redhat.com>
85750         * manual/arith.texi (Rounding Functions): Fix rint description
85751         implicit in round description.
85753 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
85755         * elf/Makefile: Fix linking for a few tests to make recent linker
85756         happy.
85758 2010-06-30  Andreas Schwab  <schwab@redhat.com>
85760         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85761         $(common-objpfx)libc_nonshared.a.
85763 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
85765         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85766         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85767         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85768         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85769         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85770         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85771         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85772         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85787         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85788         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85789         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85790         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85791         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85792         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85793         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85794         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85795         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85796         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85797         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85798         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85814 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
85816         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85817         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
85818         * string/memmove.c (memmove): Renamed to ...
85819         (MEMMOVE): ...this.  Default to memmove.
85820         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85821         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85822         (END_CHK): Define.
85823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85824         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85825         mempcpy-ssse3-back memmove-ssse3-back.
85826         * sysdeps/x86_64/multiarch/bcopy.S: New file .
85827         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85828         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85829         * sysdeps/x86_64/multiarch/memcpy.S: New file.
85830         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85831         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85832         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85833         * sysdeps/x86_64/multiarch/memmove.c: New file.
85834         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85835         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85836         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85837         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85838         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85839         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85840         Define.
85841         (index_Fast_Copy_Backward): Define.
85842         (HAS_ARCH_FEATURE): Define.
85843         (HAS_FAST_REP_STRING): Define.
85844         (HAS_FAST_COPY_BACKWARD): Define.
85846 2010-06-21  Andreas Schwab  <schwab@redhat.com>
85848         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85849         Restore proper fallback handling.
85851 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
85853         [BZ #11701]
85854         * posix/group_member.c (__group_member): Correct checking loop.
85856         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85857         OOM in getpwuid_r correctly.  Return error number when the caller
85858         should return, otherwise -1.
85859         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85860         call returning > 0 value.
85861         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85863 2010-06-07  Andreas Schwab  <schwab@redhat.com>
85865         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85866         libc_nonshared.a from targets in modules-names.
85868 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
85870         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85871         requires it.
85873 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
85875         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85876         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85877         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85878         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85880 2010-06-02  Andreas Schwab  <schwab@redhat.com>
85882         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85884 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
85886         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85887         and F_GETPIPE_SZ.
85888         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85889         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85890         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85891         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85892         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85893         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85895 2010-06-14  Roland McGrath  <roland@redhat.com>
85897         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85899 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
85901         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85902         __REDIRECT followed by __THROW.
85903         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85904         * posix/getopt.h (getopt): Likewise.
85906 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85908         * hurd/lookup-at.c (__file_name_lookup_at): Accept
85909         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
85910         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85911         in AT_FLAGS.
85912         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85913         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85915 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
85917         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85919 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
85921         [BZ #11640]
85922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85923         Properly check family and model.
85925 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
85927         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85929 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
85931         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85933 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
85935         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85936         symbol reference.
85938 2010-05-19  Andreas Schwab  <schwab@redhat.com>
85940         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85941         symbol reference.
85943 2010-05-21  Andreas Schwab  <schwab@redhat.com>
85945         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85946         and internal_recvmmsg.
85947         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85948         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85949         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85950         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85952         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85953         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85954         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85956 2010-05-20  Andreas Schwab  <schwab@redhat.com>
85958         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85960 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
85962         POWER7 optimizations.
85963         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85964         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85966 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
85968         * version.h: Update for 2.13 development version.
85970 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
85972         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85973         exceptions.  Return 0.
85975 2010-05-07  Roland McGrath  <roland@redhat.com>
85977         * elf/ldconfig.c (main): Add a const.
85979 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
85981         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85982         (args_options): Add no-idn option.
85983         (ahosts_keys_int): Add idn_flags to ai_flags.
85984         (parse_option): Handle 'i' option to clear idn_flags.
85986         * malloc/malloc.c (_int_free): Possible race in the most recently
85987         added check.  Only act on the data if no current modification
85988         happened.
85990 See ChangeLog.17 for earlier changes.