Avoid parallel GCC install in build-many-glibcs.py.
[glibc.git] / ChangeLog
blob9961dc420e14c67a218a5400f4fe6b25027add50
1 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4         for make install.
6 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8         * po/bg.po: Merge from Translation Project.
9         * po/fr.po: Likewise.
10         * po/ko.po: Likewise.
11         * po/nl.po: Likewise.
12         * po/sv.po: Likewise.
14 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
16         * manual/install.texi (Tools for Compilation): Update GCC version
17         known to work to build glibc.
18         * INSTALL: Regenerated.
20 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22         [BZ #21006]
23         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
25 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
27         [BZ #21045]
28         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
30         to __sigprocmask.
32 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
34         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
35         wrap-around.
36         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
38         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
40 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
42         * NEWS: Fix typo.
44 2016-01-13  Torvald Riegel  <triegel@redhat.com>
46         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
47         barriers and comments.
48         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
49         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
50         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
52 2016-01-13  Torvald Riegel  <triegel@redhat.com>
54         [BZ #19402]
55         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
56         mutexes.
58 2016-01-13  Torvald Riegel  <triegel@redhat.com>
60         [BZ #20985]
61         * nptl/Makefile: Adapt.
62         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
63         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
64         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
65         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
66         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
67         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
68         lll_robust* functions and adapt.
69         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
70         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
71         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
72         __lll_robust_timedlock, __lll_robust_unlock): Remove.
73         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
74         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
75         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
76         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
77         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
78         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
79         __lll_robust_timedlock, __lll_robust_unlock): Remove.
80         * nptl/lowlevelrobustlock.c: Remove file.
81         * nptl/lowlevelrobustlock.sym: Likewise.
82         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
83         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
85 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
87         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
89 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
91         * po/cs.po: Merge translations from the Translation Project.
92         * po/de.po: Likewise.
93         * po/pl.po: Likewise.
94         * po/ru.po: Likewise.
95         * po/tr.po: Likewise.
96         * po/uk.po: Likewise.
97         * po/vi.po: Likewise.
98         * po/zh_CN.po: Likewise.
100 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
102         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
104         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
105         object.
107 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
109         [BZ #16458]
110         * bits/uintn-identity.h: New file.
111         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
112         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
113         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
114         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
115         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
116         * string/endian.h: Include <bits/uintn-identity.h>.
117         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
118         __uint16_identity.
119         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
120         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
121         __uint32_identity.
122         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
123         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
124         __uint64_identity.
125         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
126         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
127         __uint16_identity.
128         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
129         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
130         __uint32_identity.
131         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
132         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
133         __uint64_identity.
134         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
135         * string/Makefile (headers): Add bits/uintn-identity.h.
136         (tests): Add test-endian-types.
137         * string/test-endian-types.c: New file.
138         * inet/Makefile (tests): Add test-hnto-types.
139         * inet/test-hnto-types.c: New file.
141 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
143         * po/be.po: Update from Translation Project.
144         * po/bg.po: Likewise.
145         * po/ca.po: Likewise.
146         * po/cs.po: Likewise.
147         * po/da.po: Likewise.
148         * po/de.po: Likewise.
149         * po/el.po: Likewise.
150         * po/eo.po: Likewise.
151         * po/es.po: Likewise.
152         * po/fi.po: Likewise.
153         * po/fr.po: Likewise.
154         * po/gl.po: Likewise.
155         * po/hr.po: Likewise.
156         * po/hu.po: Likewise.
157         * po/ia.po: Likewise.
158         * po/id.po: Likewise.
159         * po/it.po: Likewise.
160         * po/ja.po: Likewise.
161         * po/ko.po: Likewise.
162         * po/lt.po: Likewise.
163         * po/nb.po: Likewise.
164         * po/nl.po: Likewise.
165         * po/pl.po: Likewise.
166         * po/pt_BR.po: Likewise.
167         * po/ru.po: Likewise.
168         * po/rw.po: Likewise.
169         * po/sk.po: Likewise.
170         * po/sl.po: Likewise.
171         * po/sv.po: Likewise.
172         * po/tr.po: Likewise.
173         * po/uk.po: Likewise.
174         * po/vi.po: Likewise.
175         * po/zh_CN.po: Likewise.
176         * po/zh_TW.po: Likewise.
178 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
180         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
181         -Wformat-truncation instead of -Wformat-length.
182         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
183         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
184         GCC 7.
185         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
186         (do_test): Ignore -Wformat-truncation for GCC 7.
188         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
189         buffer used to print long int value.
191         * elf/sotruss-lib.c (init): Increase space allocated for pid by
192         one byte.  Print it with %ld, cast to long int.
194 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
196         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
197         (re.fullmatch, subprocess.run): Likewise.
199 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
201         * po/libc.pot: Regenerate.
203 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
205         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
206         (min_strlen): Likewise.
207         (disable_tunable): Likewise.
208         (maybe_disable_malloc_check): Rename to
209         maybe_enable_malloc_check.
210         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
211         if /etc/suid-debug file exists.
212         (__tunables_init): Update caller.
213         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
214         secure.
216 2016-01-10  Torvald Riegel  <triegel@redhat.com>
218         * nptl/DESIGN-rwlock.txt: Remove.
219         * nptl/lowlevelrwlock.sym: Remove.
220         * nptl/Makefile: Add new tests.
221         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
222         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
223         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
224         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
225         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
226         PTHREAD_RWLOCK_FUTEX_USED): New.
227         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
228         implementation.
229         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
230         (__pthread_rwlock_rdlock): Adapt.
231         * nptl/pthread_rwlock_timedrdlock.c
232         (pthread_rwlock_timedrdlock): Adapt.
233         * nptl/pthread_rwlock_timedwrlock.c
234         (pthread_rwlock_timedwrlock): Adapt.
235         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
236         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
237         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
238         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
239         (__pthread_rwlock_wrlock): Adapt.
240         * nptl/tst-rwlock10.c: Adapt.
241         * nptl/tst-rwlock11.c: Adapt.
242         * nptl/tst-rwlock17.c: New file.
243         * nptl/tst-rwlock18.c: New file.
244         * nptl/tst-rwlock19.c: New file.
245         * nptl/tst-rwlock2b.c: New file.
246         * nptl/tst-rwlock8.c: Adapt.
247         * nptl/tst-rwlock9.c: Adapt.
248         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
249         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
250         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
251         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
252         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
253         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
254         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
255         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
256         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
257         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
258         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
259         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
260         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
261         (pthread_rwlock_t): Adapt.
262         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
263         (pthread_rwlock_t): Adapt.
264         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
265         * nptl/nptl-printers.py (): Adapt.
266         * nptl/nptl_lock_constants.pysym: Adapt.
267         * nptl/test-rwlock-printers.py: Adapt.
268         * nptl/test-rwlockattr-printers.c: Adapt.
269         * nptl/test-rwlockattr-printers.py: Adapt.
271 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
273         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
274         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
275         (fma_test_data): Likewise.
276         (hypot_test_data): Likewise.
277         (log1p_test_data): Likewise.
278         (modf_test_data): Likewise.
279         (pow_test_data): Likewise.
280         (remainder_test_data): Likewise.
281         (remquo_test_data): Likewise.
282         (scalb_test_data): Likewise.
283         (scalbn_test_data): Likewise.
284         (scalbln_test_data): Likewise.
285         * math/gen-libm-test.pl (parse_args): Transform
286         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
287         on the rounding mode.
289 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
291         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
292         xfail-rounding:ibm128-libgcc automatically to tests overflowing
293         and those that can underflow to zero.
294         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
295         add others.
296         * math/auto-libm-test-out: Regenerated.
298         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
299         supported.
300         (feholdexcept_tests): Skip tests requiring exceptions or rounding
301         modes support if not supported.
303         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
304         Add libc.so PLT entry.
305         (__tls_get_addr): Make ld.so PLT entry optional.
307 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
309         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
310         * string/bits/string3.h: ... here.
312 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
314         [BZ #21028]
315         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
316         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
317         if EXCEPTION_TESTS returns false.
319 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
321         [BZ #20558]
322         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
323         strings_fortified.h.
324         [__USE_MISC] (bzero): Likewise.
325         [__USE_MISC] (explicit_bzero): Likewise.
326         * string/strings.h: Include strings_fortified.h.
327         * string/Makefile (headers): Add strings_fortified.h.
328         * string/bits/strings_fortified.h: New file.
329         * include/bits/strings_fortified.h: Likewise.
331 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
333         * elf/tst-tls13.c (TIMEOUT): Remove.
334         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
335         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
336         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
337         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
338         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
340         [BZ #21026]
341         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
342         (readahead): New syscall entry.
344 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
346         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
347         around tests of strncat with large sizes.
349         * malloc/tst-malloc.c: Include <libc-internal.h>.
350         (do_test): Disable -Walloc-size-larger-than= around tests of
351         malloc with negative sizes.
352         * malloc/tst-mcheck.c: Include <libc-internal.h>.
353         (do_test): Disable -Walloc-size-larger-than= around tests of
354         malloc and realloc with negative sizes.
355         * malloc/tst-realloc.c: Include <libc-internal.h>.
356         (do_test): Disable -Walloc-size-larger-than= around tests of
357         realloc with negative sizes.
359         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
360         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
361         allowed to 16 ulps.
362         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
363         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
364         * math/auto-libm-test-out: Regenerated.
366 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
368         * math/Makefile (libm-calls): Move wrappers...
369         (libm-compat-call-auto): Here.
370         (libm-routines): Add items in libm-compat-calls-auto.
371         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
372         the filenames of the wrappers that have been renamed.
373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
376         * math/w_acos.c: Add _compat suffix to filename.
377         * math/w_acosf.c: Likewise.
378         * math/w_acosh.c: Likewise.
379         * math/w_acoshf.c: Likewise.
380         * math/w_acoshl.c: Likewise.
381         * math/w_acosl.c: Likewise.
382         * math/w_asin.c: Likewise.
383         * math/w_asinf.c: Likewise.
384         * math/w_asinl.c: Likewise.
385         * math/w_atan2.c: Likewise.
386         * math/w_atan2f.c: Likewise.
387         * math/w_atan2l.c: Likewise.
388         * math/w_atanh.c: Likewise.
389         * math/w_atanhf.c: Likewise.
390         * math/w_atanhl.c: Likewise.
391         * math/w_cosh.c: Likewise.
392         * math/w_coshf.c: Likewise.
393         * math/w_coshl.c: Likewise.
394         * math/w_exp10.c: Likewise.
395         * math/w_exp10f.c: Likewise.
396         * math/w_exp10l.c: Likewise.
397         * math/w_exp2.c: Likewise.
398         * math/w_exp2f.c: Likewise.
399         * math/w_exp2l.c: Likewise.
400         * math/w_fmod.c: Likewise.
401         * math/w_fmodf.c: Likewise.
402         * math/w_fmodl.c: Likewise.
403         * math/w_hypot.c: Likewise.
404         * math/w_hypotf.c: Likewise.
405         * math/w_hypotl.c: Likewise.
406         * math/w_j0.c: Likewise.
407         * math/w_j0f.c: Likewise.
408         * math/w_j0l.c: Likewise.
409         * math/w_j1.c: Likewise.
410         * math/w_j1f.c: Likewise.
411         * math/w_j1l.c: Likewise.
412         * math/w_jn.c: Likewise.
413         * math/w_jnf.c: Likewise.
414         * math/w_jnl.c: Likewise.
415         * math/w_log10.c: Likewise.
416         * math/w_log10f.c: Likewise.
417         * math/w_log10l.c: Likewise.
418         * math/w_log2.c: Likewise.
419         * math/w_log2f.c: Likewise.
420         * math/w_log2l.c: Likewise.
421         * math/w_log.c: Likewise.
422         * math/w_logf.c: Likewise.
423         * math/w_logl.c: Likewise.
424         * math/w_pow.c: Likewise.
425         * math/w_powf.c: Likewise.
426         * math/w_powl.c: Likewise.
427         * math/w_remainder.c: Likewise.
428         * math/w_remainderf.c: Likewise.
429         * math/w_remainderl.c: Likewise.
430         * math/w_scalb.c: Likewise.
431         * math/w_scalbf.c: Likewise.
432         * math/w_scalbl.c: Likewise.
433         * math/w_sinh.c: Likewise.
434         * math/w_sinhf.c: Likewise.
435         * math/w_sinhl.c: Likewise.
436         * math/w_sqrt.c: Likewise.
437         * math/w_sqrtf.c: Likewise.
438         * math/w_sqrtl.c: Likewise.
439         * math/w_tgamma.c: Likewise.
440         * math/w_tgammaf.c: Likewise.
441         * math/w_tgammal.c: Likewise.
443         * math/w_acos_compat.c: New file copied from above and
444         adjusted for new #includes path
445         * math/w_acosf_compat.c: Likewise.
446         * math/w_acosh_compat.c: Likewise.
447         * math/w_acoshf_compat.c: Likewise.
448         * math/w_acoshl_compat.c: Likewise.
449         * math/w_acosl_compat.c: Likewise.
450         * math/w_asin_compat.c: Likewise.
451         * math/w_asinf_compat.c: Likewise.
452         * math/w_asinl_compat.c: Likewise.
453         * math/w_atan2_compat.c: Likewise.
454         * math/w_atan2f_compat.c: Likewise.
455         * math/w_atan2l_compat.c: Likewise.
456         * math/w_atanh_compat.c: Likewise.
457         * math/w_atanhf_compat.c: Likewise.
458         * math/w_atanhl_compat.c: Likewise.
459         * math/w_cosh_compat.c: Likewise.
460         * math/w_coshf_compat.c: Likewise.
461         * math/w_coshl_compat.c: Likewise.
462         * math/w_exp10_compat.c: Likewise.
463         * math/w_exp10f_compat.c: Likewise.
464         * math/w_exp10l_compat.c: Likewise.
465         * math/w_exp2_compat.c: Likewise.
466         * math/w_exp2f_compat.c: Likewise.
467         * math/w_exp2l_compat.c: Likewise.
468         * math/w_fmod_compat.c: Likewise.
469         * math/w_fmodf_compat.c: Likewise.
470         * math/w_fmodl_compat.c: Likewise.
471         * math/w_hypot_compat.c: Likewise.
472         * math/w_hypotf_compat.c: Likewise.
473         * math/w_hypotl_compat.c: Likewise.
474         * math/w_j0_compat.c: Likewise.
475         * math/w_j0f_compat.c: Likewise.
476         * math/w_j0l_compat.c: Likewise.
477         * math/w_j1_compat.c: Likewise.
478         * math/w_j1f_compat.c: Likewise.
479         * math/w_j1l_compat.c: Likewise.
480         * math/w_jn_compat.c: Likewise.
481         * math/w_jnf_compat.c: Likewise.
482         * math/w_jnl_compat.c: Likewise.
483         * math/w_log10_compat.c: Likewise.
484         * math/w_log10f_compat.c: Likewise.
485         * math/w_log10l_compat.c: Likewise.
486         * math/w_log2_compat.c: Likewise.
487         * math/w_log2f_compat.c: Likewise.
488         * math/w_log2l_compat.c: Likewise.
489         * math/w_log_compat.c: Likewise.
490         * math/w_logf_compat.c: Likewise.
491         * math/w_logl_compat.c: Likewise.
492         * math/w_pow_compat.c: Likewise.
493         * math/w_powf_compat.c: Likewise.
494         * math/w_powl_compat.c: Likewise.
495         * math/w_remainder_compat.c: Likewise.
496         * math/w_remainderf_compat.c: Likewise.
497         * math/w_remainderl_compat.c: Likewise.
498         * math/w_scalb_compat.c: Likewise.
499         * math/w_scalbf_compat.c: Likewise.
500         * math/w_scalbl_compat.c: Likewise.
501         * math/w_sinh_compat.c: Likewise.
502         * math/w_sinhf_compat.c: Likewise.
503         * math/w_sinhl_compat.c: Likewise.
504         * math/w_sqrt_compat.c: Likewise.
505         * math/w_sqrtf_compat.c: Likewise.
506         * math/w_sqrtl_compat.c: Likewise.
507         * math/w_tgamma_compat.c: Likewise.
508         * math/w_tgammaf_compat.c: Likewise.
509         * math/w_tgammal_compat.c: Likewise.
511         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
512         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
513         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
514         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
515         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
516         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
517         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
518         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
519         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
520         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
521         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
522         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
523         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
524         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
525         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
526         * sysdeps/ia64/fpu/w_powl.c: Likewise.
527         * sysdeps/ia64/fpu/w_powf.c: Likewise.
528         * sysdeps/ia64/fpu/w_pow.c: Likewise.
529         * sysdeps/ia64/fpu/w_logl.c: Likewise.
530         * sysdeps/ia64/fpu/w_logf.c: Likewise.
531         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
532         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
533         * sysdeps/ia64/fpu/w_log2.c: Likewise.
534         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
535         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
536         * sysdeps/ia64/fpu/w_log10.c: Likewise.
537         * sysdeps/ia64/fpu/w_log.c: Likewise.
538         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
539         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
540         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
541         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
542         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
543         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
544         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
545         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
546         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
547         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
548         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
549         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
550         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
551         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
552         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
553         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
554         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
555         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
556         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
557         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
558         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
559         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
560         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
561         * sysdeps/ia64/fpu/w_asin.c: Likewise.
562         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
563         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
564         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
565         * sysdeps/ia64/fpu/w_acos.c: Likewise.
566         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
567         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
568         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
569         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
570         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
571         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
572         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
573         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
574         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
575         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
576         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
577         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
578         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
579         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
580         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
581         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
582         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
583         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
584         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
585         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
586         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
587         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
588         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
589         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
590         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
591         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
592         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
593         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
594         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
595         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
596         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
597         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
598         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
599         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
600         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
601         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
602         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
603         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
604         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
605         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
606         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
607         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
608         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
609         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
610         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
612         Likewise.
613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
614         Likewise.
615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
617         Likewise.
618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
619         Likewise.
620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
621         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
622         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
623         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
624         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
625         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
626         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
631         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
632         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
633         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
634         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
636         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
637         and adjusted for new #includes path
638         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
639         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
640         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
641         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
642         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
643         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
644         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
645         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
646         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
647         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
648         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
649         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
650         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
651         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
652         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
653         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
654         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
655         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
656         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
657         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
658         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
659         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
660         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
661         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
662         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
663         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
664         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
665         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
666         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
667         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
668         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
669         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
670         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
671         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
672         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
673         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
674         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
675         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
676         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
677         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
678         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
679         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
680         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
681         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
682         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
683         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
684         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
685         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
686         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
687         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
688         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
689         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
690         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
691         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
692         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
693         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
694         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
695         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
696         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
697         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
698         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
699         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
700         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
701         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
702         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
703         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
704         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
705         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
706         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
707         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
708         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
709         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
710         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
711         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
712         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
713         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
714         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
715         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
716         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
717         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
718         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
719         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
720         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
721         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
722         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
723         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
724         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
725         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
726         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
727         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
728         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
729         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
730         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
731         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
732         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
733         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
734         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
735         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
736         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
738         Likewise.
739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
740         Likewise.
741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
742         Likewise.
743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
744         Likewise.
745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
746         Likewise.
747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
748         Likewise.
749         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
750         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
751         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
752         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
753         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
754         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
756         Likewise.
757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
758         Likewise.
759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
760         Likewise.
761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
762         Likewise.
763         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
764         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
765         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
766         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
768 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
770         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
771         __jmp_buf_internal_tag.
773         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
774         preserve NaN payload if [__mips_nan2008].
775         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
777         [BZ #21022]
778         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
780 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
782         * sysdeps/i386/fpu/libm-test-ulps: Update.
784 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
786         * sysdeps/ia64/strcat.c: Remove file.
787         * sysdeps/powerpc/strcat.c: Likewise.
788         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
789         C implementation.
790         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
791         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
793 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
794             Steven Munroe  <sjmunroe@us.ibm.com>
795             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
797         [BZ #20822]
798         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
799         (__lll_lock_elision): Access adapt_count via C11 atomics.
800         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
801         (__lll_trylock_elision): Likewise.
802         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
803         (__lll_unlock_elision):  Update adapt_count variable inside the
804         critical section using C11 atomics.
806 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
808         * math/test-fenvinline.c (do_test): Disable tests of raised
809         exceptions if !EXCEPTION_TESTS (FLOAT).
811 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
813         [BZ #19390]
814         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
815         maximum string size.
816         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
817         in pointer addition.
818         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
819         Likewise.
821 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
823         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
824         passed to tst-ldconfig-X.sh.
826 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
828         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
830 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
832         [BZ #21019]
833         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
834         New syscall entry.
835         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
836         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
837         lseek.
839         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
840         power4 glibc for powerpc-linux-gnu.
842 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
844         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
845         semctl.
847 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
849         * math/test-nearbyint-except.c: Include <stdbool.h>.
850         (any_supported): New variable.
851         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
852         set any_supported.
853         (do_test): Return 77 if no floating-point type supported
854         exceptions.
856         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
857         condition on [__mips_hard_float].
859 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
861         [BZ #21014]
862         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
863         in pointer addition.
864         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
866 2017-01-02  Torvald Riegel  <triegel@redhat.com>
868         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
869         new condvar.
871 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
873         * scripts/build-many-glibcs.py (Context.checkout): Default
874         binutils version to 2.28 branch.
876 2017-01-01  Florian Weimer  <fweimer@redhat.com>
878         * support/support_format_netent.c (support_format_netent): Work
879         around alpha struct netent definition difference.
881 2017-01-01  Florian Weimer  <fweimer@redhat.com>
883         * support/xwrite.c (xwrite): Use %td for pointer difference.
885 2017-01-01  Florian Weimer  <fweimer@redhat.com>
887         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
888         have-tunables only.
889         (tests-static): Add tst-malloc-usable-static-tunables for
890         have-tunables only.
892 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
894         * scripts/config.guess: Update to version 2017-01-01.
895         * scripts/config.sub: Update to version 2017-01-01.
897         * NEWS: Update copyright dates.
898         * catgets/gencat.c (print_version): Likewise.
899         * csu/version.c (banner): Likewise.
900         * debug/catchsegv.sh: Likewise.
901         * debug/pcprofiledump.c (print_version): Likewise.
902         * debug/xtrace.sh (do_version): Likewise.
903         * elf/ldconfig.c (print_version): Likewise.
904         * elf/ldd.bash.in: Likewise.
905         * elf/pldd.c (print_version): Likewise.
906         * elf/sotruss.sh: Likewise.
907         * elf/sprof.c (print_version): Likewise.
908         * iconv/iconv_prog.c (print_version): Likewise.
909         * iconv/iconvconfig.c (print_version): Likewise.
910         * locale/programs/locale.c (print_version): Likewise.
911         * locale/programs/localedef.c (print_version): Likewise.
912         * login/programs/pt_chown.c (print_version): Likewise.
913         * malloc/memusage.sh (do_version): Likewise.
914         * malloc/memusagestat.c (print_version): Likewise.
915         * malloc/mtrace.pl: Likewise.
916         * manual/libc.texinfo: Likewise.
917         * nptl/version.c (banner): Likewise.
918         * nscd/nscd.c (print_version): Likewise.
919         * nss/getent.c (print_version): Likewise.
920         * nss/makedb.c (print_version): Likewise.
921         * posix/getconf.c (main): Likewise.
922         * scripts/test-installation.pl: Likewise.
923         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
925         * All files with FSF copyright notices: Update copyright dates
926         using scripts/update-copyrights.
927         * intl/plural.c: Regenerated.
928         * locale/programs/charmap-kw.h: Likewise.
929         * locale/programs/locfile-kw.h: Likewise.
931 2016-12-31  Florian Weimer  <fweimer@redhat.com>
933         [BZ #20593]
934         Update DNS RR type definitions.
935         * scripts/gen-rrtypes.py: New file.
936         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
937         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
938         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
939         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
940         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
941         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
942         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
943         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
944         ns_t_ta, ns_t_dlv.
945         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
946         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
947         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
948         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
949         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
950         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
951         Define.
952         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
953         entry for ns_t_zxfr.
955 2016-12-31  Florian Weimer  <fweimer@redhat.com>
957         [BZ #18784]
958         CVE-2015-5180
959         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
960         T_UNSPEC.  Adjust value.
961         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
962         * resolv/res_query.c (__libc_res_nquery): Likewise.
963         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
964         QTYPEs.
965         * resolv/tst-resolv-qtypes.c: New file.
966         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
967         (tst-resolv-qtypes): Link against libresolv and libpthread.
969 2016-12-31  Florian Weimer  <fweimer@redhat.com>
971         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
973 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
975         * manual/tunables.texi: New chapter.
976         * manual/Makefile (chapters): Add it.
977         * manual/probes.texi (@node): Point to the Tunables chapter.
979         * Makeconfig (have-tunables): Check for non-negative instead
980         of positive.
981         * configure.ac: Add 'valstring' as a valid value for
982         --enable-tunables.
983         * configure: Regenerate.
984         * elf/Makefile (have-tunables): Check for non-negative instead
985         of positive.
986         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
987         dl-tunables.c.
988         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
989         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
990         (tunables_strdup): Likewise.
991         (disable_tunables): Likewise.
992         (parse_tunables): Likewise.
993         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
994         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
995         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
996         (TUNABLES_FRONTEND_yes): New macro, define as
997         TUNABLES_FRONTEND_valstring by default.
998         * manual/install.texi: Document new acceptable values for
999         --enable-tunables.
1000         * INSTALL: Regenerate.
1002         * config.make.in (have-loop-to-function): Define.
1003         * elf/Makefile (CFLAGS-dl-tunables.c): Add
1004         -fno-tree-loop-distribute-patterns.
1005         * elf/dl-tunables.c: Include libc-internals.h.
1006         (GLIBC_TUNABLES): New macro.
1007         (tunables_strdup): New function.
1008         (parse_tunables): New function.
1009         (min_strlen): New function.
1010         (__tunables_init): Use the new functions and macro.
1011         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
1012         * malloc/tst-malloc-usable-tunables.c: New test case.
1013         * malloc/tst-malloc-usable-static-tunables.c: New test case.
1014         * malloc/Makefile (tests, tests-static): Add tests.
1016         * manual/install.texi: Add --enable-tunables option.
1017         * INSTALL: Regenerate.
1018         * README.tunables: New file.
1019         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
1020         (before-compile): Generate dl-tunable-list.h early.
1021         * config.h.in: Add HAVE_TUNABLES.
1022         * config.make.in: Add have-tunables.
1023         * configure.ac: Add --enable-tunables option.
1024         * configure: Regenerate.
1025         * csu/init-first.c (__libc_init_first): Move
1026         __libc_init_secure earlier...
1027         * csu/init-first.c (LIBC_START_MAIN):... to here.
1028         Include dl-tunables.h, libc-internal.h.
1029         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
1030         binaries.
1031         * elf/Makefile (dl-routines): Add dl-tunables.
1032         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
1033         namespace.
1034         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
1035         only when !HAVE_TUNABLES.
1036         * elf/rtld.c (process_envvars): Likewise.
1037         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
1038         (_dl_sysdep_start): Call __tunables_init.
1039         * elf/dl-tunable-types.h: New file.
1040         * elf/dl-tunables.c: New file.
1041         * elf/dl-tunables.h: New file.
1042         * elf/dl-tunables.list: New file.
1043         * malloc/tst-malloc-usable-static.c: New test case.
1044         * malloc/Makefile (tests-static): Add it.
1045         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
1046         Define TUNABLE_NAMESPACE.
1047         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
1048         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
1049         callback functions.
1050         (ptmalloc_init): Set tunable values.
1051         * scripts/gen-tunables.awk: New file.
1052         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
1053         (_dl_sysdep_start): Call __tunables_init.
1055 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1057         * resolv/resolv.h (RES_BLAST): Deprecate.
1058         * resolv/res_debug.c (p_option): Remove RES_BLAST.
1059         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
1060         to RES_BLAST.
1062 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1064         [BZ #19582]
1065         Deprecate RES_USE_INET6.
1066         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
1067         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
1068         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
1069         RES_USE_INET6.
1070         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
1071         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
1072         (_nss_nisplus_gethostbyaddr_r): Likewise.
1073         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
1074         of res_use_inet6.
1075         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
1076         instead of RES_USE_INET6.
1077         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
1078         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
1079         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
1080         Likewise.
1081         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
1082         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
1083         Likewise.
1084         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
1085         (_nss_dns_gethostbyname_r): Likewise.
1086         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
1087         alternate RES_USE_INET6 handling.
1088         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
1089         instead of RES_USE_INET6.
1090         * resolv/res_init.c (res_setoptions): Likewise.
1091         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
1092         * resolv/resolv-internal.h: New file.
1093         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
1094         make the deprecation warning non-fatal.
1095         * resolv/README (Using the resolver in multi-threaded code): Drop
1096         reference to RES_USE_INET6.
1097         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
1098         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
1100 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1102         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
1103         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
1104         tst-resolv-search.
1105         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
1106         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
1107         with libresolv and libpthread.
1108         * resolv/tst-bug18665.c: New file.
1109         * resolv/tst-bug18665-tcp: Likewise.
1110         * resolv/tst-res_use_inet6: Likewise.
1111         * resolv/tst-resolv-basic: Likewise.
1112         * resolv/tst-resolv-network: Likewise.
1113         * resolv/tst-resolv-search: Likewise.
1114         * support/Makefile (libsupport-routines): Add check_addrinfo,
1115         check_dns_packet, check_hostent, check_netent, resolv_test,
1116         support_format_address_family, support_format_addrinfo,
1117         support_format_dns_packet, support_format_herrno,
1118         support_format_hostent, support_format_netent, support_run_diff,
1119         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
1120         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
1121         xstrdup, xwrite.
1122         * support/check_addrinfo.c: New file.
1123         * support/check_dns_packet.c: Likewise.
1124         * support/check_hostent.c: Likewise.
1125         * support/check_netent.c: Likewise.
1126         * support/check_nss.h: Likewise.
1127         * support/format_nss.h: Likewise.
1128         * support/resolv_test.c: Likewise.
1129         * support/resolv_test.h: Likewise.
1130         * support/run_diff.h: Likewise.
1131         * support/support_format_address_family.c: Likewise.
1132         * support/support_format_addrinfo.c: Likewise.
1133         * support/support_format_dns_packet.c: Likewise.
1134         * support/support_format_herrno.c: Likewise.
1135         * support/support_format_hostent.c: Likewise.
1136         * support/support_format_netent.c: Likewise.
1137         * support/support_run_diff.c: Likewise.
1138         * support/xaccept.c: Likewise.
1139         * support/xbind.c: Likewise.
1140         * support/xconnect.c: Likewise.
1141         * support/xfclose.c: Likewise.
1142         * support/xfopen.c: Likewise.
1143         * support/xgetsockname.c: Likewise.
1144         * support/xlisten.c: Likewise.
1145         * support/xmemstream.c: Likewise.
1146         * support/xmemstream.h: Likewise.
1147         * support/xpoll.c: Likewise.
1148         * support/xpthread_once.c: Likewise.
1149         * support/xrecvfrom.c: Likewise.
1150         * support/xsendto.c: Likewise.
1151         * support/xsetsockopt.c: Likewise.
1152         * support/xstdio.h: Likewise.
1153         * support/xstrdup.c: Likewise.
1154         * support/support.h (xstrdup): Declare.
1155         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
1156         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
1157         * support/xthread.h (xpthread_once): Likwise.
1158         * support/xunistd.h (xwrite): Declare.
1160 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1162         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
1163         (test_verbose): Declare.
1164         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
1165         * support/support_test_main.c (default_options): Likewise.
1166         (usage, support_test_main): Handle 'v'.
1167         (test_verbose): Define.
1168         * support/tst-support_record_failure.c (do_test): Use
1169         test_verbose.
1170         * support/tst-support_record_failure-2.sh (different_status): Add
1171         --verbose test.
1173 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1175         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
1176         test failures are recorded.
1177         * support/check.c (support_print_failure_impl): Call
1178         support_record_failure.
1179         (support_exit_failure_impl): Call support_record_failure if status
1180         indicates failure.
1181         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
1182         * support/xasprintf.c (xasprintf): Likewise.
1183         * support/xfork.c (xfork): Likewise.
1184         * support/xpthread_check_return.c (xpthread_check_return):
1185         Likewise.
1186         * support/xsocket.c (xsocket): Likeweise.
1187         * support/xwaitpid.c (xwaitpid): Likewise.
1188         * support/support_record_failure.c (struct test_failures): Adjust
1189         to coding style.
1190         * support/support_test_verify_impl.c (support_test_verify_impl):
1191         Adjust error messages.
1192         * support/tst-support_record_failure-2.sh (different_status):
1193         Adjust error messages.
1195 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1197         * support/namespace.h: New file.
1198         * support/support_become_root.c: Likewise.
1199         * support/support_enter_network_namespace.c: Likewise.
1200         * support/tst-support-namespace.c: Likewise.
1201         * support/xsocket.c: Likewise.
1202         * support/xsocket.h: Likewise.
1203         * support/Makefile (libsupport-routines): Add support_become_root,
1204         support_enter_network_namespace, xsocket.
1205         (tests): Add tst-support-namespace.
1207 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1209         [BZ #17252]
1210         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1211         __USE_GNU.
1213 2016-12-31  Torvald Riegel  <triegel@redhat.com>
1215         [BZ #13165]
1216         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1217         use new algorithm.
1218         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1219         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1220         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1221         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1222         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1223         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1224         __condvar_cleanup_waiting, __condvar_dec_grefs,
1225         __pthread_cond_wait_common): New.
1226         (__condvar_cleanup): Remove.
1227         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1228         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1229         Likewise.
1230         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1231         Likewise.
1232         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1233         * nptl/tst-cond1.c: Add comment.
1234         * nptl/tst-cond20.c (do_test): Adapt.
1235         * nptl/tst-cond22.c (do_test): Likewise.
1236         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1237         structure.
1238         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1239         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1240         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1241         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1242         Likewise.
1243         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1244         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1245         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1246         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1247         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1248         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1249         Likewise.
1250         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1251         Likewise.
1252         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1253         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1254         (COND_CLOCK_BITS): Adapt.
1255         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1256         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1257         __PTHREAD_COND_SHARED_MASK): New.
1258         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1259         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1260         * nptl/nptl_lock_constants.pysym: Adapt.
1261         * nptl/test-cond-printers.py: Adapt.
1262         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1263         cond_compat_check_and_clear): Adapt.
1264         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1265         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1266         (__pthread_cond_timedwait): ... and move here.
1267         * nptl/DESIGN-condvar.txt: Remove file.
1268         * nptl/lowlevelcond.sym: Likewise.
1269         * nptl/pthread_cond_timedwait.c: Likewise.
1270         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1271         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1272         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1273         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1274         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1275         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1276         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1277         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1278         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1279         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1280         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1281         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1282         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1283         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1284         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1285         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1287 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
1289         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1290         (fromfp): New declaration.
1291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1294         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1298         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1299         * math/math.h: Include <bits/types.h>.
1300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1301         constant and macro.
1302         (FP_INT_DOWNWARD): Likewise.
1303         (FP_INT_TOWARDZERO): Likewise.
1304         (FP_INT_TONEARESTFROMZERO): Likewise.
1305         (FP_INT_TONEAREST): Likewise.
1306         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1307         (fromfpf): Likewise.
1308         (fromfpl): Likewise.
1309         (ufromfp): Likewise.
1310         (ufromfpf): Likewise.
1311         (ufromfpl): Likewise.
1312         (fromfpx): Likewise.
1313         (fromfpxf): Likewise.
1314         (fromfpxl): Likewise.
1315         (ufromfpx): Likewise.
1316         (ufromfpxf): Likewise.
1317         (ufromfpxl): Likewise.
1318         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1319         s_fromfpxF and s_ufromfpxF.
1320         * math/gen-fromfp-tests.py: New file.
1321         * math/gen-fromfp-tests-inputs: Likewise.
1322         * math/libm-test.inc: Include <stdint.h>
1323         (check_intmax_t): New function.
1324         (check_uintmax_t): Likewise.
1325         (struct test_fiu_M_data): New type.
1326         (struct test_fiu_U_data): Likewise.
1327         (RUN_TEST_fiu_M): New macro.
1328         (RUN_TEST_LOOP_fiu_M): Likewise.
1329         (RUN_TEST_fiu_U): Likewise.
1330         (RUN_TEST_LOOP_fiu_U): Likewise.
1331         (fromfp_test_data): New array.
1332         (fromfp_test): New function.
1333         (fromfpx_test_data): New array.
1334         (fromfpx_test): New function.
1335         (ufromfp_test_data): New array.
1336         (ufromfp_test): New function.
1337         (ufromfpx_test_data): New array.
1338         (ufromfpx_test): New function.
1339         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1340         ufromfpx_test.
1341         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1342         characters.
1343         * math/test-tgmath-ret.c: Include <stdint.h>.
1344         (rm): New variable.
1345         (width): Likewise.
1346         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1347         called function.
1348         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1349         CHECK_RET_CONST_TYPE.
1350         (CHECK_RET_CONST_DOUBLE): Likewise.
1351         (CHECK_RET_CONST_LDOUBLE): Likewise.
1352         (CHECK_RET_CONST): Take extra arguments and pass them to calls
1353         macros.
1354         (fromfp): New CHECK_RET_CONST call.
1355         (ufromfp): Likewise.
1356         (fromfpx): Likewise.
1357         (ufromfpx): Likewise.
1358         (do_test): Call check_return_fromfp, check_return_ufromfp,
1359         check_return_fromfpx and check_return_ufromfpx.
1360         * math/test-tgmath.c: Include <stdint.h>
1361         (NCALLS): Increase to 138.
1362         (F(compile_test)): Initialize i.  Call fromfp functions.
1363         (F(fromfp)): New function.
1364         (F(fromfpx)): Likewise.
1365         (F(ufromfp)): Likewise.
1366         (F(ufromfpx)): Likewise.
1367         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1368         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1369         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1370         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1371         ufromfpxl.
1372         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1373         ufromfp and ufromfpx.
1374         * math/fromfp.h: New file.
1375         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1376         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1377         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1378         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1379         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1380         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1381         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1382         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1383         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1384         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1385         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1386         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1387         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1388         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1389         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1390         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1391         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1392         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1393         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1394         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1395         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1396         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1397         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1398         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1399         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1400         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1401         ufromfp, fromfpx and ufromfpx.
1402         (CFLAGS-nldbl-fromfp.c): New variable.
1403         (CFLAGS-nldbl-fromfpx.c): Likewise.
1404         (CFLAGS-nldbl-ufromfp.c): Likewise.
1405         (CFLAGS-nldbl-ufromfpx.c): Likewise.
1406         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1407         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1408         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1409         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1410         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1411         * sysdeps/nacl/libm.abilist: Update.
1412         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1413         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1414         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1415         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1416         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1417         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1418         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1419         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1420         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1421         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1422         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1423         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1425         Likewise.
1426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1427         Likewise.
1428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1429         Likewise.
1430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1431         Likewise.
1432         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1433         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1434         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1435         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1436         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1438         Likewise.
1439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1440         Likewise.
1441         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1442         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1443         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1445 2016-12-30  Florian Weimer  <fweimer@redhat.com>
1447         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1448         compat-gethnamaddr.
1449         (CPPFLAGS): Remove.
1450         * resolv/gethnamaddr.c: Rename ...
1451         * resolv/compat-gethnamaddr.c: ... to this file.
1452         (_endhtent): Make static.
1453         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
1454         symbol.
1455         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
1456         compat symbol.
1457         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
1458         symbol.
1459         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1460         Turn into compat symbol.
1461         * include/resolv.h (_endhtent): Remove declaration.
1463 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
1465         * bits/types.h (__intmax_t): New typedef.
1466         (__uintmax_t): Likewise.
1467         * sysdeps/generic/stdint.h: Include <bits/types.h>.
1468         (intmax_t): Define using __intmax_t.
1469         (uintmax_t): Define using __uintmax_t.
1471         * support/Makefile (tests-special): Make definition conditional on
1472         [$(run-built-tests) = yes].
1473         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1474         on [$(run-built-tests) = yes].
1476 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1478         * Rules (tests): Add tests-printers-programs to tests to be
1479         built.
1481 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1483         * sysvipc/Makefile (tests): Add test-sysvshm.
1484         * sysvipc/test-sysvshm.c: New file.
1486         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1487         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1488         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1489         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1490         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1491         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1492         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1493         Likewise.
1494         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1495         Likewise.
1496         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1497         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1498         is defined.
1500         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1501         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1502         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1503         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1504         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1505         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1506         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1507         Likewise.
1508         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1509         Likewise.
1510         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1511         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1512         defined.
1514         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1515         oldshmctl.
1516         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1517         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1518         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1519         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1520         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1521         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1522         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1523         Likewise.
1524         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1525         Likewise.
1526         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1527         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1528         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1529         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1530         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1531         implementation.
1532         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1533         if it is defined.
1535         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1536         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1537         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1538         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1539         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1540         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1541         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1542         Likewise.
1543         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1544         Likewise.
1545         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1546         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1547         Define to __NR_osf_shmat.
1548         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1549         defined.
1551         * sysvipc/Makefile (tests): Add test-sysvsem.
1552         * sysvipc/test-sysvsem.c: New file.
1554         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1555         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1556         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1557         Likewise.
1558         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1559         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1560         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1561         Likewise.
1562         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1563         Likewise.
1564         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1565         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1566         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1567         add a comment about s390 syscall difference from default one.
1568         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1569         syscall if it is defined.
1571         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1572         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1573         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1574         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1575         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1576         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1577         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1578         Likewise.
1579         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1580         Likewise.
1581         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1582         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1583         defined.
1585         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1586         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1587         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1588         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1589         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1590         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1591         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1592         Likewise.
1593         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1594         Likewise.
1595         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1596         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1597         if it is defined.
1599         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1600         oldsemctl.
1601         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1602         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1603         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1604         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1605         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1606         implementation.
1607         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1608         syscall if it is defined.
1609         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1610         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1611         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1612         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1613         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1614         Likewise.
1615         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1617         * sysvipc/Makefile (tests): Add test-sysvmsg.
1618         * sysvipc/test-sysvmsg.c: New file.
1619         * support/check.h (FAIL_UNSUPPORTED): New define.
1621         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1622         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1623         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1624         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1625         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1626         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1627         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1628         Likewise.
1629         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1630         Likewise.
1631         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1632         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1633         define.
1635         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1636         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1637         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1638         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1639         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1640         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1641         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1642         Likewise.
1643         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1644         Likewise.
1645         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1646         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1647         if defined.
1649         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1650         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1651         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1652         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1653         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1654         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1655         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1656         Likewise.
1657         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1658         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1659         Likewise.
1660         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1661         if defined.
1662         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1664         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1665         oldmsgctl.
1666         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1667         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1668         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1669         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1670         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1671         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1672         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1673         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1674         Likewise.
1675         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1676         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1677         implementation.
1678         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1679         if defined.
1681         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1682         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1683         definition and define its own.
1684         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1685         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1686         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1687         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1688         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1689         definitions to common header.
1690         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1691         operation from ipc_ops.h.
1693         * sysdeps/unix/sysv/linux/kernel-features.h
1694         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1695         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1696         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1697         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1698         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1699         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1700         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1701         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1702         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1703         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1704         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1705         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1706         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1707         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1708         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1710 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1712         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1713         overflow in pointer addition.
1715 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1717         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1718         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1720         (strchr): Add __strchr_power8 to list of strchr functions.
1721         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1722         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1723         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1724         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1725         (strchr): Add __strchr_power8 to ifunc list.
1726         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1727         (__strchrnul): Add __strchrnul_power8 to ifunc list.
1728         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1729         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1731 2016-12-28  Florian Weimer  <fweimer@redhat.com>
1733         * support/Makefile (libsupport-routines): Add
1734         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1735         (tests): Add tst-support_record_failure.
1736         (tests-special): tst-support_record_failure-2.
1737         (tst-support_record_failure-2.out): Depend on
1738         tst-support_record_failure-2.sh and tst-support_record_failure.
1739         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1740         (support_test_verify_impl, support_record_failure)
1741         (support_report_failure, support_report_failure_reset): Declare.
1742         * support/support_test_main.c (adjust_exit_status): New function.
1743         (support_test_main): Call it to incorporate record test failures.
1744         * support/support_test_verify_impl.c: New file.
1745         * support/support_record_failure.c: Likewise.
1746         * support/tst-support_record_failure.c: Likewise.
1747         * support/tst-support_record_failure-2.sh: Likewise.
1748         * support/xunistd.h: Likewise.
1749         * support/xfork.c: Likewise.
1750         * support/xwaitpid.c: Likewise.
1752 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
1754         * scripts/check-c++-types.sh: Add comments.
1756 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
1758         [BZ #19514]
1759         * resolv/res_send.c: Fix typo in comment.
1760         * sysdeps/i386/i386-mcount.S: Likewise.
1761         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1762         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1763         * sysdeps/sparc/sparc-mcount.S: Likewise.
1765 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1767         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1768         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1769         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1770         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1771         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1772         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1773         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1774         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1776 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1778         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1780 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1782         [BZ #17252]
1783         * posix/unistd.h (getentropy): Declare.
1785 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1787         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1788         Remove.
1789         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1790         (cmd): Remove spoof, nospoof, spoofalert.
1791         (parse_line): Ignore spoof-related lines.
1792         (do_init): Do not process RESOLV_SPOOF_CHECK.
1794 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1796         [BZ #20964]
1797         sunrpc: Always obtain AF_INET addresses from NSS.
1798         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1799         * sunrpc/rpc_gethostbyname.c: New file.
1800         * sunrpc/Makefile (routines): Add it.
1801         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1802         * sunrpc/clnt_simp.c (callrpc): Likewise.
1803         * sunrpc/getrpcport.c (getrpcport): Likewise.
1805 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1807         * sunrpc/rpcinfo.c: Remove.
1808         * sunrpc/Makefile: Remove comments referring to rpcinfo.
1810 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1812         [BZ# 19387]
1813         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1814         addition.
1815         * string/test-memchr.c (do_test): Remove alignment limitation.
1816         (test_main): Add test that trigger BZ# 19387.
1818 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1820         [BZ #7065]
1821         Enable stack protectore if requested by ./configure.
1822         * Makeconfig (+stack-protector): New variable.
1823         (+cflags): Use it.
1825 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1827         [BZ #7065]
1828         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1829         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1830         (__rt_sigreturn_stub): Use inhibit_stack_protector.
1831         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1832         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1834 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1836         [BZ #7065]
1837         * login/Makefile (pt_chown-cflags): Remove.
1838         * nscd/Makefile (CFLAGS-nscd): Likewise.
1839         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1841 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1843         [BZ #7065]
1844         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1845         non-libc-linking testcase.
1847 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1848             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1849             Florian Weimer  <fweimer@redhat.com>
1851         [BZ #7065]
1852         PLT avoidance for __stack_chk_fail*.
1853         * debug/Makefile (CFLAGS-stack_chk_fail.c)
1854         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1855         * debug/stack_chk_fail.c (__stack_chk_fail): Add
1856         __stack_chk_fail_local alias.
1857         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1858         (__stack_chk_fail): Turn into hidden reference to
1859         __stack_chk_fail_local.
1861 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1863         [BZ #7065]
1864         * configure.ac: Add check for unsupported stack-protection level.
1865         (libc_cv_predef_stack_protector): Remove.
1866         (no_ssp): New variable.
1867         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1868         (stack_protector): Set to -fno-stack-protector similarly.
1869         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1870         (libc_cv_asm_set_directive): Likewise.
1871         (libc_cv_protected_data): Likewise.
1872         (libc_cv_z_combreloc): Likewise.
1873         (libc_cv_hashstyle): Likewise.
1874         (libc_cv_has_glob_dat): Likewise.
1875         (libc_cv_output_format): Likewise.
1876         (libc_cv_output_format): Likewise.
1877         (libc_cv_ehdr_start): Likewise.
1878         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1879         (LIBC_LINKER_FEATURE): Likewise.
1880         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1882 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1884         [BZ #7065]
1885         * elf/Makefile (dummy-stack-chk-fail): New.
1886         (librtld.map): Use it.
1888 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1890         [BZ #7065]
1891         Compile the dynamic linker without stack protection.
1892         * elf/Makefile (elide-stack-protector): New.
1893         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1894         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1895         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1896         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1898 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1900         [BZ #7065]
1901         * config.make.in (have-ssp, no-stack-protector): New.
1902         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1903         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1904         (CFLAGS-sbrk.op): Likewise.
1905         (CFLAGS-brk.o): Likewise.
1906         (CFLAGS-brk.op): Likewise.
1907         * string/Makefile (CFLAGS-memcpy.c): Likewise.
1908         (CFLAGS-wordcopy.c): Likewise.
1910 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1912         [BZ #7065]
1913         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1914         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1915         * include/libc-symbols.h (inhibit_stack_protector): New macro.
1916         (__ifunc_resolver): Use it.
1917         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1918         inhibit_stack_protector.
1919         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1920         * elf/ifuncmain7.c (foo_ifunc): Likewise.
1921         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1922         (foo_protected_ifunc): Likewise.
1923         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1924         (foo_protected_ifunc): Likewise.
1925         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1926         * sysdeps/nacl/nacl_interface_query.c
1927         (nacl_interface_query_ifunc): Likewise.
1928         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1929         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1930         Likewise.
1931         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1932         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1933         the generated vDSO syscall resolver.
1935 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1936             Florian Weimer  <fweimer@redhat.com>
1938         [BZ #7065]
1939         Initialize the stack guard earlier when linking statically.
1940         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1941         (__pthread_initialize_minimal): Declare.
1942         * csu/libc-start.c (__pthread_initialize_minimal): Remove
1943         declaration.
1944         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
1945         stack canary and apply_irel initialization up.  Call
1946         __pthread_initialize_minimal only if linked in.
1947         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1948         constant values.
1949         (__pthread_initialize_minimal): Remove.
1950         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1951         (__pthread_initialize_minimal_internal): Do not call
1952         __libc_setup_tls.
1954 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1956         [BZ #7065]
1957         * configure.ac (libc_cv_ssp): Move up.
1958         (libc_cv_ssp_strong): Likewise.
1959         (libc_cv_ssp_all): New.
1960         (stack_protector): Augment, adding -fstack-protector-all.
1961         (no_stack_protector): New.
1962         (STACK_PROTECTOR_LEVEL): New.
1963         (AC_ARG_ENABLE(stack-protector)): New configure flag.
1964         * manual/install.texi (--enable-stack-protector): Document it.
1965         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1967 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
1969         * README.pretty-printers: Must specify CPPFLAGS-* also.
1970         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1971         (CPPFLAGS-test-mutex-printers.c): Define.
1972         (CPPFLAGS-test-condattr-printers.c): Define.
1973         (CPPFLAGS-test-cond-printers.c): Define.
1974         (CPPFLAGS-test-rwlockattr-printers.c): Define.
1975         (CPPFLAGS-test-rwlock-printers.c): Define.
1977         * nss/Makefile [ifeq (yes,$(have-thread-library))]
1978         (tests): Add tst-cancel-getpwuid_r.
1979         * nss/tst-cancel-getpwuid_r.c: New file.
1981         [BZ #11941]
1982         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1983         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1984         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1985         tst-nodelete-dlclose.
1986         (modules-names): Add tst-nodelete-dlclose-dso and
1987         tst-nodelete-dlclose-plugin.
1988         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1989         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1990         ($(objpfx)tst-nodelete-dlclose): Define.
1991         ($(objpfx)tst-nodelete-dlclose.out): Define.
1993 2016-12-23  Florian Weimer  <fweimer@redhat.com>
1995         * scripts/test_printers_common.py: Log GDB output in case of
1996         Python detection failure.
1998 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2000         * configure.ac: Check for python3 or python.
2001         * configure: Regenerated.
2002         * config.make.in (PYTHON): New variable.
2003         * benchtests/Makefile: Don't define PYTHON.
2004         (bench): Define target only if PYTHON was defined.
2005         * Rules: Don't define PYTHON.
2006         Define pretty printer targets only if PYTHON was defined.
2007         (tests-printers): Add to tests-unsupported if PYTHON is not
2008         found.
2009         (python-flags, python-invoke): Remove.
2010         (tests-printers-out): Use PYTHON instead of python-invoke.
2012 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
2014         [BZ #20978]
2015         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2016         Compare name == NULL, not name != NULL.
2018         * manual/texinfo.tex: Update to version 2016-09-18.18 with
2019         trailing whitespace removed.
2020         * scripts/config.guess: Update to version 2016-10-02.
2021         * scripts/config.sub: Update to version 2016-11-19.
2022         * scripts/install-sh: Update to version 2016-01-11.22.
2023         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
2024         * scripts/move-if-change: Update to version 2016-01-11 22:04.
2026 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
2028         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
2029         (do_one_test) Restore original string so iteration works.
2030         * string/string-inlines.c (do_test): Create better input strings.
2031         (test_main) Reduce number of testruns.
2032         * string/string-inlines.c (__old_strsep_1c): New function.
2033         (__old_strsep_2c): Likewise.
2034         (__old_strsep_3c): Likewise.
2035         * string/strsep.c (__strsep): Remove case of small delim string.
2036         Call strcspn directly rather than strpbrk.
2037         * string/bits/string2.h (__strsep): Remove define.
2038         (__strsep_1c): Remove.
2039         (__strsep_2c): Remove.
2040         (__strsep_3c): Remove.
2041         (strsep): Remove.
2042         * sysdeps/unix/sysv/linux/internal_statvfs.c
2043         (__statvfs_getflags): Rename to __strsep.
2045 2016-12-21  Florian Weimer  <fweimer@redhat.com>
2047         * csu/libc-tls.c (_dl_tls_setup): Remove.
2048         * elf/dl-tls.c (_dl_tls_setup): Likewise.
2049         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
2050         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
2052 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
2054         [BZ #7065]
2055         * sysdeps/x86_64/Makefile [$(subdir) = elf]
2056         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
2058 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
2059             Florian Weimer  <fweimer@redhat.com>
2061         [BZ #7065]
2062         * csu/Makefile (tests): Empty assignment and document it.
2063         (tests-static): Remove.
2064         * csu/tst-empty.c: Move to...
2065         * misc/tst-empty.c: ... here.  Switch to new test driver.
2066         * csu/tst-atomic.c: Move to...
2067         * misc/tst-atomic.c: ... here.  Switch to new test driver.
2068         * csu/tst-atomic-long.c: Move to...
2069         * misc/tst-atomic-long.c: ... here.
2070         * misc/Makefile (tests): Add tst-empty, tst-atomic,
2071         tst-atomic-long.
2072         (tests-static): Add tst-empty.
2074 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
2076         * manual/nss.texi: Change incorrect @vtable to @table.
2077         * manual/arith.texi: Convert @tables of variables to @vtables
2078         and remove unnecessary indexing.
2079         * manual/filesys.texi: Likewise.
2080         * manual/llio.texi: Likewise.
2081         * manual/memory.texi: Likewise.
2082         * manual/process.texi: Likewise.
2083         * manual/resource.texi: Likewise.
2084         * manual/search.texi: Likewise.
2085         * manual/signal.texi: Likewise.
2086         * manual/socket.texi: Likewise.
2087         * manual/stdio.texi: Likewise.
2088         * manual/sysinfo.texi: Likewise.
2089         * manual/syslog.texi: Likewise.
2090         * manual/terminal.texi: Likewise.
2091         * manual/time.texi: Likewise.
2092         * manual/users.texi: Likewise.
2094 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
2096         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2097         (roundeven): New declaration.
2098         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
2099         macro.
2100         * math/Versions (roundeven): New libm symbol at version
2101         GLIBC_2.25.
2102         (roundevenf): Likewise.
2103         (roundevenl): Likewise.
2104         * math/Makefile (libm-calls): Add s_roundevenF.
2105         * math/libm-test.inc (roundeven_test_data): New array.
2106         (roundeven_test): New function.
2107         (main): Call roundeven_test.
2108         * math/test-tgmath.c (NCALLS): Increase to 134.
2109         (F(compile_test)): Call roundeven.
2110         (F(roundeven)): New function.
2111         * manual/arith.texi (Rounding Functions): Document roundeven,
2112         roundevenf and roundevenl.
2113         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
2114         * include/math.h (roundeven): Use libm_hidden_proto.
2115         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
2116         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
2117         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
2118         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
2119         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
2120         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
2121         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2122         roundeven.
2123         (CFLAGS-nldbl-roundeven.c): New variable.
2124         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
2125         * sysdeps/nacl/libm.abilist: Update.
2126         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2127         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2128         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2129         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2130         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2131         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2132         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2133         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2134         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2135         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2136         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2137         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2139         Likewise.
2140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2141         Likewise.
2142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2143         Likewise.
2144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2145         Likewise.
2146         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2147         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2148         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2149         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2150         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2152         Likewise.
2153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2154         Likewise.
2155         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2156         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2157         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2159 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2161         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
2162         preprocessor indentation inside #if.
2164 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2166         * math/libm-test.inc (fmt_ftostr): New function.
2167         (print_float, check_float_internal): Replace some uses of
2168         FTOSTR with uses of fmt_ftostr.
2169         (print_max_error, print_complex_max_error, print_function_ulps)
2170         (print_complex_function_ulps): Remove uses of the macros
2171         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
2172         * math/test-double.h (FTOSTR): Define to strfromd.
2173         (PRINTF_EXPR): Delete.
2174         (PRINTF_XEXPR): Likewise.
2175         (PRINTF_NEXPR): Likewise.
2176         * math/test-float.h (FTOSTR): Define to strfromf.
2177         (PRINTF_EXPR): Delete.
2178         (PRINTF_XEXPR): Likewise.
2179         (PRINTF_NEXPR): Likewise.
2180         * math/test-ldouble.h (FTOSTR): Define to strfroml.
2181         (PRINTF_EXPR): Delete.
2182         (PRINTF_XEXPR): Likewise.
2183         (PRINTF_NEXPR): Likewise.
2185 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2187         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2188         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2189         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2190         (__lll_lock_elision): Decrement adapt_count while unlocking
2191         instead of before locking.
2192         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2193         (__lll_trylock_elision): Likewise.
2194         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2195         (__lll_unlock_elision): Likewise.
2197 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2199         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2200         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2201         Use __libc_tbegin_retry macro.
2203 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2205         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2206         Add -msoft-float.
2207         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2208         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2209         Use __libc_t* transaction macros instead of __builtin_t*.
2210         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2211         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2213 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2215         * sysdeps/unix/sysv/linux/s390/elision-lock.c
2216         (__lll_lock_elision): Use atomics to load / store adapt_count.
2217         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2218         (__lll_trylock_elision): Likewise.
2220 2016-12-20  Florian Weimer  <fweimer@redhat.com>
2222         Do not require memset elimination in explicit_bzero test.
2223         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2224         (enum test_expectation): Add NO_EXPECTATIONS.
2225         (subtests): NO_EXPECTATIONS for ordinary clear.
2226         (check_test_buffer): Handle NO_EXPECTATIONS.
2227         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2229 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2231         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2232         (fmaxmag): New declaration.
2233         (fminmag): Likewise.
2234         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2235         macro.
2236         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2237         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2238         (fmaxmagf): Likewise.
2239         (fmaxmagl): Likewise.
2240         (fminmag): Likewise.
2241         (fminmagf): Likewise.
2242         (fminmagl): Likewise.
2243         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2244         * math/s_fmaxmag_template.c: New file.
2245         * math/s_fminmag_template.c: Likewise.
2246         * math/libm-test.inc (fmaxmag_test_data): New array.
2247         (fmaxmag_test): New function.
2248         (fminmag_test_data): New array.
2249         (fminmag_test): New function.
2250         (main): Call fmaxmag_test and fminmag_test.
2251         * math/test-tgmath.c (NCALLS): Increase to 132.
2252         (F(compile_test)): Call fmaxmag and fminmag.
2253         (F(fminmag)): New function.
2254         (F(fmaxmag)): Likewise.
2255         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2256         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2257         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2258         fminmag.
2259         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2260         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2261         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2262         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2263         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2264         and fminmag.
2265         (CFLAGS-nldbl-fmaxmag.c): New variable.
2266         (CFLAGS-nldbl-fminmag.c): Likewise.
2267         * sysdeps/nacl/libm.abilist: Update.
2268         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2269         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2271         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2272         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2273         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2274         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2275         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2276         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2277         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2278         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2279         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2281         Likewise.
2282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2283         Likewise.
2284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2285         Likewise.
2286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2287         Likewise.
2288         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2289         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2290         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2291         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2292         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2294         Likewise.
2295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2296         Likewise.
2297         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2298         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2299         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2301 2016-12-19  Torvald Riegel  <triegel@redhat.com>
2303         [BZ #20973]
2304         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2305         wake-up in robust mutexes.
2306         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2308 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2310         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2311         (CFLAGS-bench-fmaxf.c): New rule.
2312         (CFLAGS-bench-fminf.c): Likewise.
2313         * benchtests/fmaxf-inputs: New file.
2314         * benchtests/fminf-inputs: Likewise.
2316         * benchtests/Makefile (bench-math): Add fmin and fmax.
2317         (CFLAGS-bench-fmax.c): New rule.
2318         (CFLAGS-bench-fmin.c): Likewise.
2319         * benchtests/fmax-inputs: New file.
2320         * benchtests/fmin-inputs: Likewise.
2322         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2323         parenthesis.
2324         (CMDLINE_PROCESS): Define using function instead of macro.
2325         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2326         of test-skeleton.
2327         * benchtests/bench-memchr.c: Likewise.
2328         * benchtests/bench-memcmp.c: Likewise.
2329         * benchtests/bench-memcpy-large.c: Likewise.
2330         * benchtests/bench-memcpy.c: Likewise.
2331         * benchtests/bench-memmem.c: Likewise.
2332         * benchtests/bench-memmove-large.c: Likewise.
2333         * benchtests/bench-memmove.c: Likewise.
2334         * benchtests/bench-memset-large.c: Likewise.
2335         * benchtests/bench-memset.c: Likewise.
2336         * benchtests/bench-rawmemchr.c: Likewise.
2337         * benchtests/bench-strcasecmp.c: Likewise.
2338         * benchtests/bench-strcasestr.c: Likewise.
2339         * benchtests/bench-strcat.c: Likewise.
2340         * benchtests/bench-strchr.c: Likewise.
2341         * benchtests/bench-strcmp.c: Likewise.
2342         * benchtests/bench-strcpy.c: Likewise.
2343         * benchtests/bench-strcpy_chk.c: Likewise.
2344         * benchtests/bench-strlen.c: Likewise.
2345         * benchtests/bench-strncasecmp.c: Likewise.
2346         * benchtests/bench-strncmp.c: Likewise.
2347         * benchtests/bench-strncpy.c: Likewise.
2348         * benchtests/bench-strnlen.c: Likewise.
2349         * benchtests/bench-strpbrk.c: Likewise.
2350         * benchtests/bench-strrchr.c: Likewise.
2351         * benchtests/bench-strsep.c: Likewise.
2352         * benchtests/bench-strspn.c: Likewise.
2353         * benchtests/bench-strstr.c: Likewise.
2354         * benchtests/bench-strtok.c: Likewise.
2356 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2358         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2359         stepping identification.
2360         (init_cpu_features): Add handle of Haswell.
2362 2016-11-25  Jim Meyering  <meyering@fb.com>
2364         [BZ #20386]
2365         Let gcc detect assert(a = 1) errors.
2366         * assert/assert.h (assert): Rewrite, retaining the old definintion
2367         when required, but otherwise putting the expression as-is in an "if"
2368         expression (hence, with no added parentheses) within a statement
2369         expression.
2371 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2373         * benchtests/Makefile (binaries-benchset): Depend on libsupport
2374         DSO.
2376 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
2378         * Rules (python-flags, python-invoke): New.
2379         ($(test-printers-out)): Use $(python-flags).
2381 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2383         * manual/arith.texi (Math Error Reporting): Document that sNaN
2384         arguments are not considered domain errors.
2386 2016-12-16  Zack Weinberg <zackw@panix.com>
2387             Florian Weimer <fweimer@redhat.com>
2388             Nick Mathewson <nickm@torproject.org>
2390         * string/explicit_bzero.c: New routine.
2391         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2392         * string/Makefile (routines, strop-tests, tests): Add them.
2393         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2394         * string/string.h [__USE_MISC]: Declare explicit_bzero.
2396         * debug/explicit_bzero_chk.c: New routine.
2397         * debug/Makefile (routines): Add it.
2398         * debug/tst-chk1.c: Test fortification of explicit_bzero.
2399         * string/bits/string3.h: Fortify explicit_bzero.
2401         * manual/string.texi: Document explicit_bzero.
2402         * NEWS: Mention addition of explicit_bzero.
2404         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2405         data before returning, using explicit_bzero.
2406         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2407         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2408         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2410         * include/string.h: Redirect internal uses of explicit_bzero
2411         to __explicit_bzero_chk[_internal].
2412         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2413         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2414         * sysdeps/arm/nacl/libc.abilist
2415         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2416         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2417         * sysdeps/unix/sysv/linux/arm/libc.abilist
2418         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2419         * sysdeps/unix/sysv/linux/i386/libc.abilist
2420         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2421         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2422         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2423         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2424         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2425         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2426         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2427         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2428         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2433         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2434         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2435         * sysdeps/unix/sysv/linux/sh/libc.abilist
2436         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2437         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2440         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2441         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2442         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2443         Add entries for explicit_bzero and __explicit_bzero_chk.
2445 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2447         * math/fenv.h
2448         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2449         (FE_SNANS_ALWAYS_SIGNAL): New macro.
2450         * math/test-fe-snans-always-signal.c: New file.
2451         * math/Makefile (tests): Add test-fe-snans-always-signal.
2452         (CFLAGS-test-fe-snans-always-signal.c): New variable.
2453         * manual/arith.texi (Infinity and NaN): Document
2454         FE_SNANS_ALWAYS_SIGNAL.
2456 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2458         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2459         bracket.
2461 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2463         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2464         before calling execv.
2466 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2468         [BZ# 20971]
2469         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2470         overflow in pointer addition.
2471         * string/test-memchr.c (do_test): Add an argument to pass as
2472         the size on memchr.
2473         (test_main): Add check for SIZE_MAX.
2475 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2477         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2478         (libm-calls): Add w_scalblnF.
2479         * math/w_scalbln.c: Remove.
2480         * math/w_scalblnf.c: Likewise.
2481         * math/w_scalblnl.c: Likewise.
2482         * math/w_scalbln_template.c: New file with type-generic
2483         implementation based on math/w_scalbln.c.
2484         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2485         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2487 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2489         [BZ #20947]
2490         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2491         either is a signaling NaN.
2492         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
2493         follow fmaxl more closely.
2494         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2495         when either is a signaling NaN.
2496         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2497         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2498         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2499         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2500         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2501         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2502         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2503         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2504         (fmin_test_data): Likewise.
2506 2016-12-15  Andreas Schwab  <schwab@suse.de>
2508         * support/support_test_main.c (support_test_main): Don't shadow
2509         file-local variable test_pid.
2511 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2513         [BZ #20947]
2514         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2515         either is a signaling NaN.
2516         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2518 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2520         [BZ #20947]
2521         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2522         when either is a signaling NaN.
2523         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2525         * bits/long-double.h: New file.
2526         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2527         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2528         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2529         * sysdeps/mips/bits/long-double.h: Likewise.
2530         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2531         * math/Makefile (headers): Add bits/long-double.h.
2532         * misc/sys/cdefs.h: Include <bits/long-double.h>.
2533         * stdlib/strtold.c: Include <bits/long-double.h> instead of
2534         <bits/wordsize.h>.
2535         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2536         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2537         * math/math.h: Do not include <bits/mathdef.h>.
2538         * sysdeps/aarch64/bits/mathdef.h: Remove file.
2539         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2540         inclusion.
2541         * sysdeps/ia64/bits/mathdef.h: Remove file.
2542         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2543         * sysdeps/mips/bits/mathdef.h: Likewise.
2544         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2545         * sysdeps/s390/bits/mathdef.h: Likewise.
2546         * sysdeps/sparc/bits/mathdef.h: Likewise.
2547         * sysdeps/x86/bits/mathdef.h: Likewise.
2548         * sysdeps/s390/s390-32/bits/wordsize.h
2549         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2550         conditional code.
2551         * sysdeps/s390/s390-64/bits/wordsize.h
2552         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2553         Likewise.
2554         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2555         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2556         Likewise.
2557         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2558         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2559         Likewise.
2560         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2561         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2562         Likewise.
2564         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2565         <linux/falloc.h>.
2566         (FALLOC_FL_KEEP_SIZE): Remove.
2567         (FALLOC_FL_PUNCH_HOLE): Likewise.
2568         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2569         (FALLOC_FL_ZERO_RANGE): Likewise.
2571 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2573         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2575 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2577         * sysdeps/unix/sysv/linux/renameat.c: New file.
2578         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2580         * sysdeps/unix/sysv/linux/rename.c: New file.
2581         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2583 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2585         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2586         * string/strtok.c (strtok): Change to tailcall __strtok_r.
2587         * string/strtok_r.c (__strtok_r): Optimize for performance.
2588         * string/string-inlines.c (__old_strtok_r_1c): New function.
2589         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2591 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2593         * math/Makefile (gen-libm-calls): Add w_log1pF.
2594         (libm-calls): Remove w_log1pF.
2595         * math/w_log1p.c: Remove.
2596         * math/w_log1pf.c: Likewise.
2597         * math/w_log1pl.c: Likewise.
2598         * math/w_log1p_template.c: New file with type-generic
2599         implementation based on math/w_log1p.c.
2600         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2601         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2603 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2605         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2607 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2609         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2610         kernel version to 4.9.
2612 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
2614         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2615         ($(inst_libdir)/libm.a): Fix rule to create the target only.
2617 2016-12-13  Andreas Schwab  <schwab@suse.de>
2619         * sysdeps/powerpc/dl-procinfo.c: Don't define
2620         _dl_powerpc_platforms.
2621         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2622         constants instead of referencing _dl_powerpc_platforms.
2623         (_dl_platform_string): Remove.
2625 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2627         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2629 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2631         * Rules (binaries-shared-tests, binaries-pie-tests)
2632         (binaries-static-tests): Link with $(link-extra-libs-tests).
2633         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2634         Remove $(link-extra-libs-tests).
2636 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2638         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2639         (sysdep_routines): Add strncmp_power9.
2640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2641         (strncmp): Add __strncmp_power9 to list of strncmp functions.
2642         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2643         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2644         (strncmp): Add __strncmp_power9 to ifunc list.
2645         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2647 2016-12-12  Florian Weimer  <fweimer@redhat.com>
2649         [BZ #17252]
2650         Add getentropy, getrandom.
2651         * stdlib/sys/random.h: New file.
2652         (headers): Add it.
2653         * stdlib/Makefile (routines): Add getentropy, getrandom.
2654         (tests): Add tst-getrandom.
2655         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2656         * stdlib/getentropy.c: New file.
2657         * stdlib/getrandom.c: Likewise.
2658         * stdlib/tst-getrandom.c: Likewise.
2659         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2660         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2661         * manual/crypt.texi (Unpredictable Bytes): New section.
2662         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2663         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2664         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2665         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2666         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2667         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2668         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2669         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2670         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2671         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2672         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2673         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2674         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2675         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2676         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2677         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2679         Likewise.
2680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2681         Likewise.
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2684         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2685         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2686         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2687         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2688         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2691         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2692         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2693         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2695 2016-12-10  Florian Weimer  <fweimer@redhat.com>
2697         [BZ #20956]
2698         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2699         as additional compiler barriers.
2700         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2701         (fn2, do_test): Declare with external linkage.
2702         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2703         (do_test): Declare with external linkage.
2704         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2705         (do_test): Declare with external linkage.
2706         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2707         (do_test): Declare with external linkage.
2709 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
2711         * support/support_test_main.c (support_test_main): Use correct
2712         timeout.
2714 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
2715             Florian Weimer  <fweimer@redhat.com>
2717         [BZ #16421]
2718         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2719         and __u6_addr32 members.
2720         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2721         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2722         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2723         Use __u6_addr32.
2724         * inet/tst-checks.c: Use <support/test-driver.c>
2725         * inet/tst-checks-posix.c: New file.
2726         * inet/Makefile (tests): Add it.
2727         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2729 2016-12-09  Florian Weimer  <fweimer@redhat.com>
2731         New subdirectory support for build and test infrastructure.
2732         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
2733         setting install-lib.
2734         * Makeconfig (link-extra-libs-tests): Define.
2735         (+link-pie-tests, +link-static-tests, +link-tests): Use
2736         link-extra-libs-tests.
2737         (rpath-dirs, all-subdirs): Add support.
2738         (built-modules): Add libsupport.
2739         (libsupport): Define.
2740         * support: New directory.
2741         * support/Makefile: New file.
2742         * support/check.c: Likewise.
2743         * support/check.h: Likewise.
2744         * support/delayed_exit.c: Likewise.
2745         * support/ignore_stderr.c: Likewise.
2746         * support/oom_error.c: Likewise.
2747         * support/set_fortify_handler.c: Likewise.
2748         * support/support.h: Likewise.
2749         * support/temp_file-internal.h: Likewise.
2750         * support/temp_file.c: Likewise.
2751         * support/test-driver.c: Likewise.
2752         * support/test-driver.h: Likewise.
2753         * support/test_main.c: Likewise.
2754         * support/write_message.c: Likewise.
2755         * support/xasprintf.c: Likewise.
2756         * support/xcalloc.c: Likewise.
2757         * support/xmalloc.c: Likewise.
2758         * support/xpthread_barrier_destroy.c: Likewise.
2759         * support/xpthread_barrier_init.c: Likewise.
2760         * support/xpthread_barrier_wait.c: Likewise.
2761         * support/xpthread_cancel.c: Likewise.
2762         * support/xpthread_check_return.c: Likewise.
2763         * support/xpthread_cond_wait.c: Likewise.
2764         * support/xpthread_create.c: Likewise.
2765         * support/xpthread_detach.c: Likewise.
2766         * support/xpthread_join.c: Likewise.
2767         * support/xpthread_mutex_lock.c: Likewise.
2768         * support/xpthread_mutex_unlock.c: Likewise.
2769         * support/xpthread_sigmask.c: Likewise.
2770         * support/xpthread_spin_lock.c: Likewise.
2771         * support/xpthread_spin_unlock.c: Likewise.
2772         * support/xrealloc.c: Likewise.
2773         * support/xsignal.h: Likewise.
2774         * support/xthread.h: Likewise.
2775         * support_tempfile.h: Likewise.
2776         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2777         (TEST_DATA_LIMIT): Remove unused macro.
2778         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
2779         <support/check.h>.
2780         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2781         (ignore_stderr, set_fortify_handler): Remove.  Now in
2782         <support/support.h>.
2783         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
2784         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2785         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2786         (xpthread_join): Remove.  Now in <support/xthread.h>.
2787         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2788         Introduce legacy wrappers.
2789         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2790         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2791         (write_message): Remove.
2792         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2793         test-skeleton.c.
2794         * io/test-open-tmpfile: Likewise.
2795         * io/tst-posix_fallocate-common.c: Likewise.
2796         * libio/tst-fseek.c: Likewise.
2797         * malloc/tst-malloc-backtrace.c: Likewise.
2798         * malloc/tst-malloc-fork-deadlock.c: Likewise.
2799         * malloc/tst-malloc-thread-exit.c: Likewise.
2800         * nptl/tst-cancel7.c: Likewise.
2801         * nptl/tst-cleanup0.c: Likewise.
2802         * posix/tst-posix_fadvise-common.c: Likewise.
2803         * rt/tst-shm.c: Likewise.
2804         * time/bug-getdate1.c: Likewise.
2805         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2806         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2807         * elf/Makefile (tst-piemod1.so): Link against libsupport.
2809 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
2811         * Rules [$(run-built-tests) != no] (tests-expected): Add
2812         $(tests-printers).
2813         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2815 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2817         [BZ #20539]
2818         * math/Makefile (install-lib-ldscripts): Add libm.a.
2819         (install_subdir): Remove.
2820         (install-others): Add.
2821         ($(inst_libdir)/libm.a): Add rule for installation as
2822         linker script.
2823         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2825 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
2827         * INSTALL: Regenerated.
2828         * Makeconfig: Add comments and whitespace to make the control flow
2829         clearer.
2830         (+link-printers-tests, +link-pie-printers-tests,
2831         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2832         built-rtld-LDFLAGS, link-libc-rpath,
2833         link-libc-tests-after-rpath-link,
2834         link-libc-printers-tests): New.
2835         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2836         link-libc-tests): Use the new variables as required.
2837         * Makerules ($(py-const)): New rule.
2838         generated: Add $(py-const).
2839         * README.pretty-printers: New file.
2840         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2841         (others): Depend on $(py-const).
2842         (tests): Depend on $(tests-printers-programs) or
2843         $(tests-printers-out),
2844         as required.  Pass $(tests-printers) to merge-test-results.sh.
2845         * manual/install.texi: Add requirements for testing the pretty
2846         printers.
2847         * nptl/Makefile (gen-py-const-headers, pretty-printers,
2848         tests-printers, CFLAGS-test-mutexattr-printers.c
2849         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2850         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2851         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2852         * nptl/nptl-printers.py: New file.
2853         * nptl/nptl_lock_constants.pysym: Likewise.
2854         * nptl/test-cond-printers.c: Likewise.
2855         * nptl/test-cond-printers.py: Likewise.
2856         * nptl/test-condattr-printers.c: Likewise.
2857         * nptl/test-condattr-printers.py: Likewise.
2858         * nptl/test-mutex-printers.c: Likewise.
2859         * nptl/test-mutex-printers.py: Likewise.
2860         * nptl/test-mutexattr-printers.c: Likewise.
2861         * nptl/test-mutexattr-printers.py: Likewise.
2862         * nptl/test-rwlock-printers.c: Likewise.
2863         * nptl/test-rwlock-printers.py: Likewise.
2864         * nptl/test-rwlockattr-printers.c: Likewise.
2865         * nptl/test-rwlockattr-printers.py: Likewise.
2866         * scripts/gen-py-const.awk: Likewise.
2867         * scripts/test_printers_common.py: Likewise.
2868         * scripts/test_printers_exceptions.py: Likewise.
2870 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2872         * scripts/build-many-glibcs.py (Context.__init__): Take strip
2873         argument.
2874         (Glibc.build_glibc): Strip installed shared libraries if
2875         requested.
2876         (get_parser): Add --strip option.
2877         (main): Update Context call.
2879 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2880             Dominik Vogt  <vogt@linux.vnet.ibm.com>
2882         [BZ #20847]
2883         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2884         array bounds for else branch.
2885         (__execvpe): Style fixes.
2886         * posix/tst-vfork3.c (run_script): New function.
2887         (create_script): Likewise.
2888         (do_test): Use run_script internal function.
2889         (do_prepare): Use create_script internal function.
2891 2016-12-07  Andreas Schwab  <schwab@suse.de>
2893         * sysdeps/unix/sysv/linux/x86/elision-conf.h
2894         (__elision_available): Don't declare.
2895         * sysdeps/unix/sysv/linux/x86/elision-conf.c
2896         (__elision_available): Don't define.
2897         (elision_init): Don't set __elision_available.
2899 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2901         [BZ #20940]
2902         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2903         return Inf for arguments Inf and sNaN.
2904         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2905         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2906         Likewise.
2907         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2908         Likewise.
2909         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2910         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2911         for arguments Inf and sNaN.  When returning a NaN, compute it by
2912         arithmetic on the arguments.
2913         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2914         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2915         arguments.
2917 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
2919         [BZ #20916]
2920         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2921         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2922         to compute result.
2923         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2924         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2926 2016-12-05  Torvald Riegel  <triegel@redhat.com>
2928         * include/atomic.h (__atomic_check_size_ls): New.
2929         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2930         atomic_store_release): Use it.
2931         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2932         (elision_adapt, ELIDE_LOCK): Use atomics.
2933         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2934         atomics and improve code comments.
2935         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2936         (__lll_trylock_elision): Likewise.
2938 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2940         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2941         programs.
2943 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2945         [BZ #20916]
2946         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2947         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
2948         arguments to compute result.
2949         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2950         1 for arguments (sNaN, 0) or (1, sNaN).
2951         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2952         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2954         [BZ #20919]
2955         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2956         NaN first argument when raised to power 0.
2957         * math/w_pow.c (__pow): Do not check for NaN or zero results from
2958         raising to power zero.
2959         * math/w_powf.c (__powf): Likewise.
2960         * math/w_powl.c (__powl): Likewise.
2961         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2962         pow (0, 0) or pow (NaN, 0).
2964 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
2966         [BZ #20918]
2967         * configure.ac: Test for static NSS cryptographic libraries and set
2968         libc_cv_static_nss_crypt.
2969         * configure: Regenerate.
2970         * config.make.in (static-nss-crypt): Define.
2971         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2972         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2973         (CFLAGS-tst-linkall-static.c): Define.
2974         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2975         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2976         ($(objpfx)tst-linkall-static): Define.
2977         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2978         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2980 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2982         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2983         (one-hundred, tst-tls-many-dynamic-modules): Define.
2984         (modules-names): Add $(tst-tls-many-dynamic-modules).
2985         (tst-tls-manydynamic%mod.os): Build with special preprocessor
2986         macros.
2987         (tst-tls-manydynamic): Link against libdl, libpthread.
2988         (tst-tls-manydynamic.out): The test needs the test modules at run
2989         time.
2990         * elf/tst-tls-manydynamic.c: New file.
2991         * elf/tst-tls-manydynamic.h: Likewise.
2992         * elf/tst-tls-manydynamicmod.c: Likewise.
2994 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2996         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2997         (TLS_DTV_UNALLOCATED): Add.
2998         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2999         offsets.
3001 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
3003         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3005 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
3007         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
3008         Add -fno-optimize-sibling-calls.
3010 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
3012         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
3013         New declaration.
3014         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
3015         macro.
3016         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
3017         New macro.
3018         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
3019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
3020         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
3021         (llogbf): Likewise.
3022         (llogbl): Likewise.
3023         * math/Makefile (gen-libm-calls): Add w_llogbF.
3024         (tests): Add test-fp-llogb-constants.
3025         * math/w_llogb_template.c: New file.  Based on
3026         math/w_ilogb_template.c.
3027         * math/libm-test.inc (llogb_test_data): New array.
3028         (llogb_test): New function.
3029         (main): Call llogb_test.
3030         * math/test-fp-llogb-constants.c: New file.  Based on
3031         math/test-fp-ilogb-constants.c.
3032         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
3033         (do_test): Call check_return_llogb.
3034         * math/test-tgmath.c (NCALLS): Increase to 126.
3035         (F(compile_test)): Call llogb.
3036         (F(llogb)): New function.
3037         * manual/math.texi (Exponents and Logarithms): Document llogb,
3038         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
3039         * manual/libm-err-tab.pl (@all_functions): Add llogb.
3040         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
3041         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3042         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
3043         (CFLAGS-nldbl-llogb.c): New variable.
3044         * sysdeps/nacl/libm.abilist: Update.
3045         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3048         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3051         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3052         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3053         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3054         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3055         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3056         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3058         Likewise.
3059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3060         Likewise.
3061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3062         Likewise.
3063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3064         Likewise.
3065         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3066         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3067         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3068         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3069         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3071         Likewise.
3072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3073         Likewise.
3074         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3075         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3076         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3078 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
3080         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
3081         _Float128 instead of long double.
3082         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
3084         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
3085         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
3086         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
3087         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
3088         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
3089         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
3090         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
3091         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3092         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
3093         Likewise.
3095 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3097         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
3098         Remove redirection to __strrchr_ppc.
3100 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3102         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3103         (sysdep_routines): Add strcmp_power9.
3104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3105         (strcmp): Add __strcmp_power9 to list of strcmp functions.
3106         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
3107         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3108         (strcmp): Add __strcmp_power9 to ifunc list.
3109         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
3111 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
3113         * bits/fp-logb.h: New file.
3114         * sysdeps/ia64/bits/fp-logb.h: Likewise.
3115         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
3116         * sysdeps/x86/bits/fp-logb.h: Likewise.
3117         * math/Makefile (headers): Add bits/fp-logb.h.
3118         * math/math.h: Include <bits/fp-logb.h>.
3119         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
3120         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
3121         * bits/mathdef.h (FP_ILOGB0): Remove.
3122         (FP_ILOGBNAN): Likewise.
3123         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
3124         (FP_ILOGBNAN): Likewise.
3125         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
3126         (FP_ILOGBNAN): Likewise.
3127         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
3128         (FP_ILOGBNAN): Likewise.
3129         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
3130         (FP_ILOGBNAN): Likewise.
3131         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
3132         (FP_ILOGBNAN): Likewise.
3133         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
3134         (FP_ILOGBNAN): Likewise.
3135         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
3136         (FP_ILOGBNAN): Likewise.
3137         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
3138         (FP_ILOGBNAN): Likewise.
3139         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
3140         (FP_ILOGBNAN): Likewise.
3142         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
3143         time module.
3144         (Context.__init__): Initialize self.logsdir_old.
3145         (Context.run_builds): Handle bot action.
3146         (Context.bot_cycle): Copy logs directory before running builds.
3147         (Context.bot_run_self): Take argument for whether to check
3148         subprocess result.  Flush stdout before running subprocess.
3149         (Context.bot): New function.
3150         (get_parser): Allow bot action.
3152 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
3154         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
3155         Import email.mime.text, email.utils and smtplib modules.
3156         (Context.__init__): Initialize self.bot_config_json.
3157         (Context.run_builds): Handle bot-cycle action.
3158         (Context.load_bot_config_json): New function.
3159         (Context.part_build_old): Likewise.
3160         (Context.bot_cycle): Likewise.
3161         (Context.bot_build_mail): Likewise.
3162         (Context.bot_run_self): Likewise.
3163         (get_parser): Allow bot-cycle action.
3165 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3167         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
3168         Remove redirection to __stpcpy_ppc.
3170 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3172         Remove __libc_memalign from ld.so because it is unused.
3173         * elf/dl-minimal.c: Update comment on the malloc implementation.
3174         (malloc): Renamed from __libc_memalign, replacing the original
3175         malloc implementation.  Replace the align parameter with
3176         MALLOC_ALIGNMENT.
3177         * elf/Versions (ld): Update comment and remove __libc_memalign.
3178         * sysdeps/nacl/ld.abilist: Likewise.
3179         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
3180         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
3181         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
3182         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
3183         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
3184         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3185         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3186         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3187         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3188         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3189         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3190         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3191         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3195         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3196         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3197         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3198         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3199         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3202         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3203         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3204         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3205         * sysdeps/generic/localplt.data (ld.so): Likewise.
3206         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3207         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3208         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3209         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3210         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3211         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3212         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3213         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3214         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3216         (ld.so): Likewise.
3217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3218         (ld.so): Likewise.
3219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3220         Likewise.
3221         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3222         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3223         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3224         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3225         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3227 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3229         [BZ #16628]
3230         Implement _dl_catch_error, _dl_signal_error in libc.so.
3231         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3232         (catch_hook): Define as thread-local or regular variable,
3233         depending on DL_ERROR_BOOTSTRAP.
3234         (CATCH_HOOK): Remove.
3235         (dl_signal_error, _dl_catch_error): Use
3236         catch_hook.  Add hidden definition for libc.
3237         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
3238         for DL_ERROR_BOOTSTRAP only.
3239         * elf/dl-error.c: New file.
3240         * elf/dl-error-minimal.c: Likewise.
3241         * elf/tst-latepthread.c: Likewise.
3242         * elf/tst-latepthreadmod.c: Likewise.
3243         * elf/Makefile (routines): Add dl-error.
3244         (dl-routines): Remove dl-error.
3245         (rtld-routines): Add dl-error-minimal.
3246         [build-shared] (tests): Add tst-latepthread.
3247         (module-names): Add tst-latepthreadmod.
3248         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3249         symbol.
3250         (tst-latepthreadmod.so): Link against libpthread.
3251         (tst-latepthread): Link against libdbl.
3252         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3253         _dl_catch_error.
3254         [ld] (GLIBC_PRIVATE): Likewise.
3255         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3256         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3257         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3258         directly.
3259         * elf/dl-tsd.c: Remove file.
3260         * elf/rtld.c (_rtld_global_ro): Remove initializers for
3261         _dl_catch_error, _dl_signal_error.
3262         (_dl_initial_error_catch_tsd): Remove definition.
3263         (do_preload): Remove initialization of dl_error_catch_tsd.
3264         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3265         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3266         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3267         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3268         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3269         set dl_error_catch_tsd.
3270         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3271         _dl_error_catch_tsd member.
3272         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3273         members.
3274         (_dl_initial_error_catch_tsd): Remove declaration.
3275         (_dl_dprintf): Provide definition for use outside of ld.so.
3276         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3277         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
3278         prototype for libc.
3279         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3280         _dl_catch_error.
3281         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3282         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3283         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3284         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3285         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3286         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3287         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3288         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3289         Likewise.
3290         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3292         (ld.so): Likewise.
3293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3294         (ld.so): Likewise.
3295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3296         Likewise.
3297         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3298         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3299         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3300         Likewise.
3301         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3302         Likewise.
3303         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3305 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3307         [BZ #4099]
3308         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3309         _IO_BUFSIZ (8192).
3311 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
3313         * PROJECTS: Remove file.
3315 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3317         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3319 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
3320             Steve Ellcey  <sellcey@caviumnetworks.com>
3322         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3323         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3324         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3325         fxstatat.
3326         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3327         lxstat.
3328         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3329         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3330         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3331         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3332         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3333         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3334         __xstat.
3336 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3338         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3339         Define.
3340         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3341         definition.
3343 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3345         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3346         version and turn into strong alias.  Remove compat symbol.
3348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3349         (__longjmp): Remove.
3351 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
3353         * bits/fp-fast.h: New file.
3354         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3355         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3356         * math/Makefile (headers): Add bits/fp-fast.h.
3357         * math/math.h: Include <bits/fp-fast.h>.
3358         * bits/mathdef.h (FP_FAST_FMA): Remove.
3359         (FP_FAST_FMAF): Likewise.
3360         (FP_FAST_FMAL): Likewise.
3361         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3362         (FP_FAST_FMAF): Likewise.
3363         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3364         (FP_FAST_FMAF): Likewise.
3365         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3366         (FP_FAST_FMAF): Likewise.
3367         (FP_FAST_FMAL): Likewise.
3368         * sysdeps/arm/bits/mathdef.h: Remove file.
3369         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3370         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3371         * sysdeps/tile/bits/mathdef.h: Likewise.
3373 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3375         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
3376         * math/w_ilogb.c: Remove.
3377         * math/w_ilogbf.c: Likewise.
3378         * math/w_ilogbl.c: Likewise.
3379         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3380         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3381         * math/Makefile (gen-libm-calls): Add w_ilogbF.
3382         (libm-calls): Remove w_ilogbF.
3383         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3384         (LDOUBLE_ilogbl_libm_version): New macro.
3386         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3388         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3389         [!__STRICT_ANSI__ && !__cplusplus].
3391 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3393         [BZ #20750]
3394         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3395         of PIC.
3397 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3398             Yury Norov  <ynorov@caviumnetworks.com>
3399             Steve Ellcey  <sellcey@caviumnetworks.com>
3401         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3402         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3403         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3404         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3405         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3406         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3407         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3408         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3409         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3410         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3411         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3412         to get correct reg name for ILP32.
3413         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3414         (RELA_SIZE): New Macro.
3415         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3416         to support ILP32.
3417         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3418         cast for ILP32 mode.
3419         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3420         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3421         * sysdeps/aarch64/memset.S (__memset): Ditto.
3422         * sysdeps/aarch64/strchr.S (strchr): Ditto.
3423         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3424         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3425         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3426         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3427         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3428         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3429         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3430         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3431         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3432         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3433         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3434         change PTR_MANGLE call to use register numbers instead of names.
3435         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3436         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3437         ILP32 mode, change PTR_MANGLE calls to use register numbers.
3438         * sysdeps/aarch64/start.S (_start): Ditto.
3439         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3440         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3441         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3442         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3443         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3444         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3445         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3446         Make defined values dependent on __ILP32__.
3447         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3448         (sem_t): Change __align type.
3449         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3450         PTR_SIZE): New Macros.
3451         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3452         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3453         Set when in ILP32 mode.
3454         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3455         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3456         Set elf flags for ILP32.
3457         (add_system_dir): Set ILP32 library directories.
3458         * sysdeps/unix/sysv/linux/aarch64/init-first.c
3459         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3460         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3461         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3462         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3463         New Macros.
3464         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3466 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3468         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3469         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3470         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3472 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3474         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3475         <asm/cachectl.h>.
3477 2016-11-27  Zack Weinberg  <zackw@panix.com>
3479         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3480         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3482 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3484         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3485         error_t to fix usage in C++ programs.
3487 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
3489         * scripts/build-many-glibcs.py: Import datetime module.
3490         (Context.__init__): Load JSON build state.  Initialize list of
3491         status logs.
3492         (Context.run_builds): Update saved build state.
3493         (Context.add_makefile_cmdlist): Update list of status logs.
3494         (Context.load_build_state_json): New function.
3495         (Context.store_build_state_json): Likewise.
3496         (Context.clear_last_build_state): Likewise.
3497         (Context.update_build_state): Likewise.
3498         (CommandList.status_logs): Likewise.
3500 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
3502         * scripts/build-many-glibcs.py (Context.__init__): Save text of
3503         script being executed.
3504         (Context.get_script_text): New function.
3505         (Context.exec_self): Likewise.
3506         (Context.checkout): Re-exec script if changed by checkout process.
3508 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3510         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3511         (setpayloadsig): New declaration.
3512         * math/Versions (setpayloadsig): New libm symbol at version
3513         GLIBC_2.25.
3514         (setpayloadsigf): Likewise.
3515         (setpayloadsigl): Likewise.
3516         * math/Makefile (libm-calls): Add s_setpayloadsigF.
3517         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3518         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3519         (setpayloadsig_test_data): New array.
3520         (setpayloadsig_test): New function.
3521         (main): Call setpayloadsig_test.
3522         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3523         setpayloadsigf and setpayloadsigl.
3524         * manual/libm-err-tab.pl: Update comment on interfaces without
3525         ulps tabulated.
3526         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3527         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3528         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3529         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3530         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3531         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3532         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3533         setpayloadsig.
3534         (CFLAGS-nldbl-setpayloadsig.c): New variable.
3535         * sysdeps/nacl/libm.abilist: Update.
3536         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3537         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3538         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3539         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3540         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3541         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3542         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3543         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3544         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3545         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3546         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3547         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3549         Likewise.
3550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3551         Likewise.
3552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3553         Likewise.
3554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3555         Likewise.
3556         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3557         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3558         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3559         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3560         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3562         Likewise.
3563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3564         Likewise.
3565         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3566         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3567         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3569         * scripts/build-many-glibcs.py: Import json module.
3570         (Context.__init__): Take replace_sources argument.  Load
3571         versions.json.
3572         (Context.load_versions_json): New function.
3573         (Context.store_json): Likewise.
3574         (Context.store_versions_json): Likewise.
3575         (Context.set_component_version): Likewise.
3576         (Context.checkout): Update versions.json.  Check for and handle
3577         changes of version.  Prefer previously explicitly specified
3578         version to default version.
3579         (Context.checkout_vcs): Return a revision identifier.
3580         (Context.git_checkout): Likewise.
3581         (Context.gcc_checkout): Likewise.
3582         (get_parser): Add --replace-sources option.
3583         (main): Pass replace_sources argument to Context call.
3585 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3587         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3588         * nptl/allocatestack.c (allocate_stack): Likewise.
3589         (__reclaim_stacks): Likewise.
3590         (setxid_signal_thread): Obtain pid through syscall.
3591         * nptl/nptl-init.c (sigcancel_handler): Likewise.
3592         (sighandle_setxid): Likewise.
3593         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3594         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3595         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3596         Likewise.
3597         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3598         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3599         comment.
3600         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3601         * nptl/descr.h (struct pthread): Change comment about pid value.
3602         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3603         pid assert.
3604         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3605         Do not set pid value.
3606         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3607         pid cache check.
3608         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3609         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3610         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3611         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3612         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3613         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3614         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3615         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3616         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3617         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3618         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3619         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3620         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3621         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3622         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3623         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3624         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3625         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3626         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3627         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3628         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3629         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3630         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3631         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3632         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3635         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3636         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3637         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3638         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3639         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3640         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3641         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3642         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3643         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3644         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3645         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3646         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3647         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3648         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3649         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3650         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3653         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3654         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3655         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3656         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3657         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3658         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3659         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3660         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3661         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3662         struct access.
3663         (clone_test): Remove function.
3664         (do_test): Rewrite to take in consideration pid is not cached anymore.
3666 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3668         * bits/flt-eval-method.h: New file.
3669         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3670         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3671         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3672         * math/Makefile (headers): Add bits/flt-eval-method.h.
3673         * math/math.h: Include <bits/flt-eval-method.h>.
3674         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3675         [__USE_ISOC99] (double_t): Likewise.
3676         * bits/mathdef.h (float_t): Remove.
3677         (double_t): Likewise.
3678         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3679         (double_t): Likewise.
3680         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3681         (double_t): Likewise.
3682         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3683         (double_t): Likewise.
3684         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3685         (double_t): Likewise.
3686         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3687         (double_t): Likewise.
3688         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3689         (double_t): Likewise.
3690         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3691         (double_t): Likewise.
3692         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3693         (double_t): Likewise.
3694         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3695         (double_t): Likewise.
3696         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3697         (double_t): Likewise.
3698         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3699         (double_t): Likewise.
3700         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3701         (double_t): Likewise.
3702         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3703         (double_t): Likewise.
3705 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
3707         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3708         instead of PIC.
3710 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3712         [BZ #20859]
3713         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3714         (-0x7fffffff) instead of 0x80000001.
3715         * math/test-fp-ilogb-constants.c: New file.
3716         * math/Makefile (tests): Add test-fp-ilogb-constants.
3718 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
3720         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3721         (_init): Use it in place of hardcoded R_MIPS_JALR.
3722         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3723         (_init): Use it in place of hardcoded R_MIPS_JALR.
3724         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3725         (_init): Use it in place of hardcoded R_MIPS_JALR.
3727 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3729         [BZ #20787]
3730         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3731         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3732         (double_t): Do not define to double if [__x86_64__] when
3733         __FLT_EVAL_METHOD__ is nonzero.
3734         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3735         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3736         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3737         test-flt-eval-method-387 and test-flt-eval-method-sse.
3738         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3739         variable.
3740         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3742 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
3744         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3745         use of -fno-isolate-erroneous-paths options for tilepro.
3747 2016-11-23  Florian Weimer  <fweimer@redhat.com>
3749         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3750         structure initialization is no longer needed.
3752 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3754         [BZ #20855]
3755         * bits/mathdef.h (float_t): Define to float.
3756         * math/test-flt-eval-method.c: New file.
3757         * math/Makefile (tests): Add test-flt-eval-method.
3758         (CFLAGS-test-flt-eval-method.c): New variable.
3760 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
3762         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3763         and __fstatfs.  Make them aliases of __fstatfs64 if
3764         STATFS_IS_STATFS64 is set to non-zero.
3765         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3766         and __statfs64.
3767         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3768         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3769         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3770         for __statfs and statfs.
3771         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3772         to 0.
3773         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3774         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3775         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3776         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3777         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3778         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3781         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3782         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3783         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3784         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3786 2016-11-22  Andreas Schwab  <schwab@suse.de>
3788         * misc/mkstemp.c: Include <fcntl.h>.
3789         * misc/mkstemps.c: Likewise.
3790         * misc/mkostemp.c: Likewise.
3791         * misc/mkostemps.c: Likewise.
3793 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
3795         [BZ #20847]
3796         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3797         array bounds.
3798         (__execvpe): Likewise.
3800 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
3802         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3803         -fno-isolate-erroneous-paths options for tilepro.
3805 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
3807         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3808         to 0 when in 32 bit mode.
3809         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3810         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3811         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3812         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3814         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3815         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3816         XSTAT_IS_XSTAT64 test.
3817         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3818         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3819         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3820         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3821         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3822         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3823         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3824         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3825         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3826         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3827         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3829 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
3831         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3832         (setpayload): New declaration.
3833         * math/Versions (setpayload): New libm symbol at version
3834         GLIBC_2.25.
3835         (setpayloadf): Likewise.
3836         (setpayloadl): Likewise.
3837         * math/Makefile (libm-calls): Add s_setpayloadF.
3838         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3839         test_Ff_b1_data.
3840         (RUN_TEST_Ff_b1): New macro.
3841         (RUN_TEST_LOOP_Ff_b1): Likewise.
3842         (canonicalize_test_data): Update type.
3843         (setpayload_test_data): New array.
3844         (setpayload_test): New function.
3845         (main): Call setpayload_test.
3846         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3847         setpayloadf and setpayloadl.
3848         * manual/libm-err-tab.pl: Update comment on interfaces without
3849         ulps tabulated.
3850         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3851         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3852         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3853         Likewise.
3854         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3855         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3856         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3857         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3858         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3859         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3860         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3861         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3862         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3863         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3864         setpayload.
3865         (CFLAGS-nldbl-setpayload.c): New variable.
3866         * sysdeps/nacl/libm.abilist: Update.
3867         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3868         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3869         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3870         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3871         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3872         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3873         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3874         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3875         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3876         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3877         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3878         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3880         Likewise.
3881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3882         Likewise.
3883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3884         Likewise.
3885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3886         Likewise.
3887         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3888         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3889         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3890         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3891         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3893         Likewise.
3894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3895         Likewise.
3896         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3897         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3898         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3900 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3902         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3903         * include/unistd.h: Extend comment about __access_noerrno return
3904         semantics.
3905         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3906         (access_common): Correct typo for EACCES.
3908 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
3910         * sysdeps/tile/math-tests.h: New file.
3912         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3913         (__old_set_dataplane): Rename from set_dataplane and make a
3914         compatibility symbol.
3915         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3916         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3917         sys/dataplane.h.
3919 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
3921         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3922         script quote words in command output to log suitably for input to
3923         the shell.
3925 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
3926             Maciej W. Rozycki  <macro@imgtec.com>
3928         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3929         `.Lno_weak_fn' label.
3930         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3931         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3933 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3934             Yury Norov  <ynorov@caviumnetworks.com>
3936         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3937         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3938         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3939         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3940         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3941         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3942         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3943         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3944         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3945         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3946         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3947         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3948         (sysdep_routines): Remove oldgetrlimit64.
3949         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3950         (sysdep_routines): Likewise.
3951         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3952         (sysdep_routines): Likewise.
3953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3954         [$(subdir) = resource] (sysdep_routines): Likewise.
3955         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3956         [$(subdir) = resource] (sysdep_routines): Likewise.
3957         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3958         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3959         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3960         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3961         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3962         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3963         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3964         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3965         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3966         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3967         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3968         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3969         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3970         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3971         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3972         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3973         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3974         setrlimit and getrlimit.
3975         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3976         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3977         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3980         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3981         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3982         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3983         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3984         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3985         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3986         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3987         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3988         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3989         (__old_getrlimit64): Add compatibility symbol.
3990         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3992 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
3994         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3995         newly built gmp, mpfr and mpc.
3997         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3999 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
4001         * conform/Makefile (linknamespace-libs): Rename to
4002         linknamespace-libs-thr.
4003         (linknamespace-libs-posix): New variable.
4004         (linknamespace-libs-xsi): Likewise.
4005         (linknamespace-libs-XPG3): Include libcrypt.a.
4006         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
4007         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
4008         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
4009         (linknamespace-libs-XOPEN2K): Likewise.
4010         (linknamespace-libs-XOPEN2K8): Likewise.
4011         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
4013         [BZ #20829]
4014         * stdio-common/Versions (__snprintf): Add to version
4015         GLIBC_PRIVATE.
4016         * include/stdio.h (__snprintf): Use libc_hidden_proto.
4017         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
4018         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
4019         of snprintf.
4020         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4022 2016-11-16  Zack Weinberg  <zackw@panix.com>
4024         * string/string.h: Remove obsolete comment stating that
4025         strcoll_l and strxfrm_l have not yet been standardized.
4027 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4029         * hurd/hurd.h (__hurd_fail_noerrno): New function.
4030         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
4031         __access_noerrno.
4032         * io/access.c (__access_noerrno): New function.
4033         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
4034         (hurd_fail_seterrno): Likewise.
4035         (access_common): Likewise.
4036         (__access_noerrno): Likewise.
4037         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
4038         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
4039         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
4040         macro.
4042 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
4044         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
4045         Only declare fpregs if [__SH_FPU_ANY__].
4047 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
4049         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
4050         Make code unconditional.
4051         [!(__SH4__ || __SH4A__)]: Remove conditional code.
4053 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
4055         * manual/sysinfo.texi (S_APPEND): Delete.
4056         (S_IMMUTABLE): Likewise.
4058 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
4059             Magnus Granberg  <zorry@gentoo.org>
4060             Mike Frysinger  <vapier@gentoo.org>
4062         [BZ #20662]
4063         * configure.ac (libc_cv_predef_stack_protector): Also check for
4064         __stack_chk_fail_local symbols.
4065         * configure: Regenerated.
4067 2016-11-15  Florian Weimer  <fweimer@redhat.com>
4069         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4070         (libc_hidden_def): Remove redefinition.
4071         (__sigsetjmp): Add hidden definition.
4072         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4073         (libc_hidden_def): Remove redefinition.
4074         (__sigsetjmp): Add hidden definition.
4076 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
4078         * scripts/build-many-glibcs.py (os.path): Do not import.
4079         (Context): Inherit explicitly from object.  Remove blank line
4080         between class and docstring.
4081         (Config): Likewise.
4082         (Glibc): Likewise.
4083         (Command): Likewise.
4084         (CommandList): Likewise.
4085         (Context.write_files): Store chmod mode in a variable.
4087         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
4088         LIBC_SLIBDIR_RTLDDIR for tilegx32.
4089         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
4091 2016-11-14  Zack Weinberg  <zackw@panix.com>
4093         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
4094         creating or re-creating it.
4096         * string/bits/string2.h: Fix typo in comment.
4098 2016-11-14  Zack Weinberg  <zackw@panix.com>
4100         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
4101         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
4102         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
4103         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
4104         of redirected function names.
4106         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
4107         as well.  Document that MESSAGE must be a single string literal.
4109 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
4111         * scripts/build-many-glibcs.py: New file.
4113         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
4114         (do_test): Disable -Wmaybe-uninitialized around uses of
4115         except_mask.
4117         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
4119 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
4121         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
4122         (atomic_store_release): Provide tilepro-specific implementations.
4124 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
4126         * math/math.h (__MATH_TG): New macro.
4127         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
4128         [__USE_ISOC99] (signbit): Likewise.
4129         [__USE_ISOC99] (isfinite): Likewise.
4130         [__USE_ISOC99] (isnan): Likewise.
4131         [__USE_ISOC99] (isinf): Likewise.
4132         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
4133         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
4134         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
4135         __MATH_TG and __MATH_EVAL_FMT2.
4136         * sysdeps/generic/math_private.h (fabs_tg): Define using
4137         __MATH_TG.
4138         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4139         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
4140         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
4141         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
4142         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
4143         macro.
4144         (__iscanonical): Likewise.
4145         (iscanonical): Define using __MATH_TG.
4147 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4149         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
4150         guards.
4152         * sysdeps/unix/sysv/linux/access.c: New file.
4153         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
4155 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
4157         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
4158         and __WORDSIZE32_PTRDIFF_LONG.
4160 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4162         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4164 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4166         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
4167         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
4168         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
4169         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
4170         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
4171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4172         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
4173         * sysdeps/unix/sysv/linux/truncate.c: New file.
4174         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
4175         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4176         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
4177         Remove.
4178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
4179         Likewise.
4181         * posix/tst-truncate-common.c: New file.
4182         * posix/tst-truncate.c: Use tst-truncate-common.c.
4183         * posix/tst-truncate64.c: Likewise and add LFS tests.
4184         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4185         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4186         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4187         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4188         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4190         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4191         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4192         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4193         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4194         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4195         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4196         Remove.
4197         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4198         Likewise.
4200 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
4202         [BZ #20790]
4203         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4204         to MAXLINESIZE.
4205         * sunrpc/bug20790.x: New file.
4206         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4207         variable.
4208         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4209         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4211         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4213         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4215         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4216         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
4217         calloc, realloc, free, memalign and __libc_memalign rather than
4218         making them optional.
4220         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4221         for libc.so.
4223 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4225         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4226         ptw-lseek64.
4227         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4228         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
4229         Likewise.
4230         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4231         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4232         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4233         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4234         * sysdeps/unix/sysv/linux/lseek.c: New file.
4235         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4236         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4237         __libc_lseek64 from auto-generation.
4238         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4239         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4241 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4243         * nptl/tst-basic1.c (tf, do_test): Use write_message.
4244         * nptl/tst-cleanup1.c (do_test): Likewise.
4245         * nptl/tst-cleanup3.c (do_test): Likewise.
4246         * nptl/tst-key1.c (do_test): Likewise.
4247         * nptl/tst-key2.c (tf, do_test): Likewise.
4248         * nptl/tst-key3.c (tf, do_test): Likewise.
4249         * nptl/tst-stdio1.c (do_test): Likewise.
4250         * nptl/tst-stdio2.c (do_test): Likewise.
4252         * nptl/tst-kill3.c (handler): Use write_message in place of write.
4253         * nptl/tst-kill6.c (handler): Likewise.
4254         * nptl/tst-tls2.c (CB): Likewise.
4255         * nptl/tst-tls3.c (CB): Likewise.
4257 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
4259         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4261 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
4262             Steve Ellcey  <sellcey@caviumnetworks.com>
4264         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4265           __ASSUME_ST_INO_64_BIT as 0
4266         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4267         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4268           over the code where __ASSUME_ST_INO_64_BIT is used.
4269         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4270         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4271         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4273 2016-11-07  Florian Weimer  <fweimer@redhat.com>
4275         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4276         Document ABI exposure of the __kind offset.
4277         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4278         Mention reason for the __kind offset exposure in the ABI.
4279         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4280         Likewise.
4281         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4282         Likewise.
4283         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4284         Likewise.
4285         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4286         (struct __pthread_mutex_s): Likewise.
4287         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4288         Likewise.
4289         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4290         Likewise.
4291         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4292         Likewise.
4293         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4294         Likewise.
4295         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4296         Likewise.
4297         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4298         Likewise.
4299         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4300         (struct __pthread_mutex_s): Likewise.
4301         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4302         (struct __pthread_mutex_s): Likewise.
4303         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4304         Likewise.
4306 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
4308         * test-skeleton.c: Document do_test usage.
4310 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
4312         * iconv/gconv.h (__gconv_info): Define __data element using a
4313         zero-length array.
4315 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
4317         * math/test-tgmath2.c: Split up test function.
4319 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4321         * Rules (tests-expected): New variable, depending on
4322         $(run-built-tests).
4323         (tests): Pass $(tests-expected) to merge-test-results.sh, not
4324         $(tests).
4326         * Rules [$(run-built-tests) = no] (tests): Do not depend on
4327         $(tests-unsupported).
4329 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4331         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4332         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
4334 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4336         [BZ #20768]
4337         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4338         __fegetenv instead of fegetenv.
4340         [BZ #14139]
4341         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4342         (find_files): Obtain platform name from libm-test-ulps-name and
4343         store in %pplatforms.
4344         (canonicalize_platform): Remove.
4345         (print_platforms): Use $pplatforms directly.
4346         (by_platforms): Do not allow for platforms missing from
4347         %pplatforms.
4348         * sysdeps/aarch64/libm-test-ulps-name: New file.
4349         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4350         * sysdeps/arm/libm-test-ulps-name: Likewise.
4351         * sysdeps/generic/libm-test-ulps-name: Likewise.
4352         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4353         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4354         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4355         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4356         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4357         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4358         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4359         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4360         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4361         * sysdeps/nios2/libm-test-ulps-name: Likewise.
4362         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4363         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4364         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4365         * sysdeps/sh/libm-test-ulps-name: Likewise.
4366         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4367         * sysdeps/tile/libm-test-ulps-name: Likewise.
4368         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4370         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4372         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4373         (test-xfail-check-execstack): New variable.
4375         * sysdeps/mips/localplt.data: New file.
4377 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
4378             Steve Ellcey  <sellcey@caviumnetworks.com>
4380         * bits/wordsize.h: Add documentation.
4381         * sysdeps/aarch64/bits/wordsize.h : New file
4382         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4383         definitions.
4384         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4385         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4386         with #if instead of #ifdef.
4387         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4388         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4389         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4390         Add or change defines.
4391         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4392         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4393         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4394         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4395         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4396         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4397         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4398         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4399         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4400         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4401         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4402         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4403         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4404         * sysdeps/x86/bits/wordsize.h: Likewise.
4406 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
4407             Kevin Petit  <kevin.petit@arm.com>
4409         * sysdeps/aarch64/memchr.S (__memchr): New file.
4411 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4413         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4415 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
4417         [BZ #19398]
4418         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4419         $(linknamespace-symlists-tests).
4421 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
4423         * time/tst-strptime2.c: Ignore -Wformat-length warning.
4425 2016-11-02  Florian Weimer  <fweimer@redhat.com>
4426             Carlos O'Donell  <carlos@redhat.com>
4428         [Bug #20729]
4429         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4430         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
4431         for -Os related change.
4433 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
4435         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4437 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
4439         [BZ #19673]
4440         * manual/math.texi (Exponents and Logarithms): Correct description
4441         of clog10.
4443 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
4445         [Bz #20729]
4446         * locale/weight.h: Include libc-internal.h.
4447         * locale/weightwc.h: Likewise.
4448         * nptl/nptl_dbP.h: Likewise.
4450 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
4452         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4453         when it is MACH_PORT_NULL.
4455 2016-10-31  Andreas Schwab  <schwab@suse.de>
4457         [BZ #20707]
4458         * posix/glob.c (glob): Initialize pglob before checking for
4459         GLOB_BRACE.  Don't call glob recursively if pattern contains no
4460         valid brace expression despite GLOB_BRACE.
4461         * posix/globtest.sh: Test it.
4463 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4465         [BZ #20729]
4466         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4467         Define.
4468         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4469         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4470         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4471         for seq2.back_us and seq1.back_us only for -Os compiles.
4472         * locale/weightwc.h (findix): Likewise.
4473         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4474         DB_GET_FIELD_ADDRESS only for -Os compiles.
4475         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4476         for slen only for -Os compiles.
4477         * string/strcoll_l.c (get_next_seq): Ignore
4478         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4479         for -Os compiles.
4481         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4482         * include/crypt.h: New file.
4484 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4486         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4487         from test-skeleton.c.
4488         (statclass): Replace calls to write with calls to write_message.
4490 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4492         * math/math.h
4493         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4494         New macro.
4495         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4496         Likewise.
4497         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4498         Likewise.
4499         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4500         SNANL.
4501         * math/test-double.h (snan_value_MACRO): New macro.
4502         * math/test-float.h (snan_value_MACRO): Likewise.
4503         * math/test-ldouble.h (snan_value_MACRO): Likewise.
4504         * math/libm-test.inc (issignaling_test_data): Add tests of
4505         snan_value_MACRO.
4507 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4509         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4510         behavior when eliding a lock not held by the current thread.
4511         * sysdeps/powerpc/nptl/elide.h: Likewise.
4513 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4515         [BZ #20728]
4516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4517         branch to _exit() by a function call.
4519 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4521         * malloc/malloc.c: Update chunk layout comments.
4522         (chunk_main_arena): Update comment.
4524 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4526         * crypt/sha256.c, crypt/sha256-block.c,
4527         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4528         sha256_process_block to __sha256_process_block.
4529         * crypt/sha512.c, crypt/sha512-block.c,
4530         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4531         sha512_process_block to __sha512_process_block.
4533 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4535         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4537         * math/test-nan-overflow.c: Include stdlib.h for malloc.
4539 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
4541         [BZ #20019]
4542         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4543         definition in unrelocated shared library.
4544         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4546 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4548         [BZ #20729]
4549         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4550         * sysdeps/unix/sysv/linux/i386/Makefile
4551         (uses-6-syscall-arguments): Define.
4552         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4553         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4554         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4555         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4556         Likewise.
4557         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4558         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4559         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4560         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4561         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4562         (CFLAGS-fallocate64.os): Likewise.
4563         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4564         (CFLAGS-pthread_rwlock_timedrdlock.os)
4565         (CFLAGS-pthread_rwlock_timedwrlock.o)
4566         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4567         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4568         (CFLAGS-sem_timedwait.os): Likewise.
4570 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4572         * elf/tst-linkall-static.c: New file.
4573         * elf/Makefile (tests-static): Add tst-linkall-static.
4574         (tst-linkall-static): Link against static libraries.
4576 2016-10-27  Florian Weimer  <fweimer@redhat.com>
4578         * malloc/malloc.c (sysmalloc): Initialize previous size field of
4579         mmaped chunks.
4581 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4583         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4584         members to mchunk_prev_size, mchunk_size.
4585         (chunk_main_arena): Reverse sense and rename from
4586         chunk_non_main_arena.
4587         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4588         mchunk_size instead of size.
4589         (set_non_main_arena): Define.
4590         (chunksize): Use chunksize_nomask instead of direct member access.
4591         (chunksize_nomask): Define.
4592         (next_chunk): Use chunksize instead of direct member access.
4593         (prev_size, set_prev_size): Define.
4594         (prev_chunk): Use prev_size instead of direct member access.
4595         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4596         (inuse_bit_at_offset, set_inuse_bit_at_offset)
4597         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4598         (mchunk_prev_size, mchunk_size): Poison tokens.
4599         (unlink): Use chunksize_nomask, prev_size accessors.
4600         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4601         (do_check_free_chunk): Use prev_size accessor.
4602         (sysmalloc): Use set_prev_size, set_head accessors.
4603         (munmap_chunk, mremap_chunk): Use prev_size accessor.
4604         (__libc_free): Use chunksize_nomask accessor.
4605         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4606         chunk_main_arena accessors.
4607         (_int_free): Use chunksize_nomask, prev_size accessors.
4608         (malloc_consolidate): Use chunksize, prev_size accessors.
4609         (_int_realloc): Use chunksize_nomask accessor.
4610         (_int_memalign): Use set_prev_size accessor.
4611         (__malloc_info): Use chunksize_nomask accessor.
4612         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4613         accessors.
4614         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4615         (heap_trim): Use chunksize_nomask, prev_size accessors.
4617 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4619         [BZ #19380]
4620         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4621         for inexact results.
4622         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4623         of inexact result where mpfr_subnormalize is the only inexact
4624         step.
4625         * stdlib/tst-strtod-round-data.h: Regenerated.
4626         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4627         Define to 0.
4628         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4630 2016-10-27  David S. Miller  <davem@davemloft.net>
4632         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4634 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4636         * malloc/malloc.c (do_set_mallopt_check): New function.
4637         (do_set_mmap_threshold): Likewise.
4638         (do_set_mmaps_max): Likewise.
4639         (do_set_top_pad): Likewise.
4640         (do_set_perturb_byte): Likewise.
4641         (do_set_trim_threshold): Likewise.
4642         (do_set_arena_max): Likewise.
4643         (do_set_arena_test): Likewise.
4644         (__libc_mallopt): Use them.
4646 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
4648         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4649         (canonicalize): New declaration.
4650         * math/Versions (canonicalize): New libm symbol at version
4651         GLIBC_2.25.
4652         (canonicalizef): Likewise.
4653         (canonicalizel): Likewise.
4654         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4655         * math/s_canonicalize_template.c: New file.
4656         * math/libm-test.inc: Update comment on functions tested and
4657         testing of NaN payloads.
4658         (TEST_NAN_PAYLOAD): New macro.
4659         (NO_TEST_INLINE): Update value.
4660         (XFAIL_TEST): Likewise.
4661         (ERRNO_UNCHANGED): Likewise.
4662         (ERRNO_EDOM): Likewise.
4663         (ERRNO_ERANGE): Likewise.
4664         (IGNORE_RESULT): Likewise.
4665         (NON_FINITE): Likewise.
4666         (TEST_SNAN): Likewise.
4667         (NO_TEST_MATHVEC): Likewise.
4668         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4669         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4670         (struct test_Ffp_b1_data): New type.
4671         (RUN_TEST_Ffp_b1): New macro.
4672         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4673         (canonicalize_test_data): New array.
4674         (canonicalize_test): New function.
4675         (main): Call canonicalize_test.
4676         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4677         canonicalizef and canonicalizel.
4678         * manual/libm-err-tab.pl: Update comment on interfaces without
4679         ulps tabulated.
4680         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4681         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4682         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4683         canonicalize.
4684         (CFLAGS-nldbl-canonicalize.c): New variable.
4685         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4686         to ...
4687         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4688         ... here.
4689         (do_test): Also test canonicalizel.
4690         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4691         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4692         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4693         file.
4694         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4695         Use libm_hidden_def.
4696         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4697         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4698         (do_test): Also test canonicalizel.
4699         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4700         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4701         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4702         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4703         libm_hidden_def.
4704         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4705         macro.
4706         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4707         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4708         * sysdeps/nacl/libm.abilist: Update.
4709         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4710         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4711         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4712         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4713         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4714         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4715         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4716         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4717         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4718         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4719         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4720         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4722         Likewise.
4723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4724         Likewise.
4725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4726         Likewise.
4727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4728         Likewise.
4729         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4730         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4731         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4732         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4733         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4735         Likewise.
4736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4737         Likewise.
4738         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4739         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4740         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4742         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4743         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4744         getpayload.
4745         (CFLAGS-nldbl-getpayload.c): New variable.
4747 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4749         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4750         integer from the format string.
4752 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4754         [BZ #19473]
4755         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4756         declarations.
4757         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4758         weak aliases.
4759         * malloc/hooks.c (__malloc_get_state): Remove definition.
4760         (malloc_get_state): New stub implementation as
4761         compatibility symbol.
4762         (malloc_set_state): Rename from __malloc_set_state.  Turn into
4763         compat symbol.
4764         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4765         malloc_set_state.
4766         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4768 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4770         * iconvdata/iso646.c (enum variant): Drop illegal_var.
4771         (names): Turn into concatenation of strings.
4772         (gconv_init): Adapt iteration over names.
4774 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4776         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4777         make const.
4778         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4779         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4780         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4781         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4782         character in sbconv.
4783         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4784         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4785         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4787 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4789         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4791         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4792         (M_TRIM_THRESHOLD): Likewise.
4794         * manual/memory.texi (M_ARENA_TEST): Add documentation.
4795         (M_ARENA_MAX): Likewise.
4796         * malloc/malloc.c: Remove obsolete comment.
4798         * manual/memory.texi: Add environment variable alternatives to
4799         setting mallopt parameters.
4801 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
4803         * include/atomic.h
4804         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4805         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4807 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4809         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4810         * stdlib/tst-strfrom.h: New file.
4811         * stdlib/tst-strfrom.c: New file.
4812         * stdlib/tst-strfrom-locale.c: New file.
4814         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4815         * stdlib/bug-strtod2.c: Likewise.
4816         * stdlib/tst-strtod-round-skeleton.c: Likewise.
4817         * stdlib/tst-strtod6.c: Likewise.
4818         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4820 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4822         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4823         * manual/arith.texi: Document strfromd, strfromf, strfroml.
4824         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4825         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4826         * stdlib/stdlib.h (strfromd): New declaration.
4827         (strfromf): Likewise.
4828         (strfroml): Likewise.
4829         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
4830         strfrom.
4831         * stdlib/strfromd.c: New file.
4832         * stdlib/strfromf.c: Likewise.
4833         * stdlib/strfroml.c: Likewise.
4834         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4835         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4836         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4837         * sysdeps/arm/nacl/libc.abilist: Update.
4838         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4839         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4842         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4843         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4844         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4845         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4846         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4847         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4848         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4849         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4850         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4851         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4856         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4857         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4858         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4859         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4860         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4863         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4864         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4865         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4867 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
4869         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4870         instead of cmpli.
4871         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4872         instead of cmpli.
4874 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
4876         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4877         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4878         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4879         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4880         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4881         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4883 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4885         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4886         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4887         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4888         SYSCALL_LL64_PRW.
4889         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4890         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4891         __ASSUME_PRW_DUMMY_ARG.
4892         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4893         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4894         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4895         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4896         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4897         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4899 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4901         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4903 2016-10-22  Florian Weimer  <fweimer@redhat.com>
4905         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4906         "C++", to override a potential extern "C" directive around the
4907         header file inclusion.
4909 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
4911         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4913 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4915         * sysdeps/powerpc/fpu/fenv_private.h:
4916         (_FPU_MASK_ALL): Rename to...
4917         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4918         XE FPSCR bits.
4920         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4922         (_FPU_MASK_ROUNDING): Rename to...
4923         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4924         NI bits.
4926         (_FPU_MASK_EXCEPT_ROUND): Rename to...
4927         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4928         bits and rounding bits.
4930         (__libc_feholdbits_ppc): New inline function to mask, set,
4931         and pontentially clear FSPCR bits, and change MSR[FE] bits.
4932         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4933         (libc_feholdexcept_setround_ppc): Likewise.
4935         (__libc_femergeenv_ppc): New function to dynamically mask both
4936         old and new FP environments and merge.
4937         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4938         (libc_feresetround_ppc): Likewise.
4939         (libc_feupdateenv_test_ppc): Likewise.
4940         (libc_feupdateenv_ppc): Likewise.
4942         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4943         of ISA RN bits, and update macro names.
4944         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4945         effectively the same as the previously mentioned function.
4947         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4948         usage with fe_resetround_ppc.
4950         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4951         to be used.
4952         (libc_feholdexcept_setround_ctxf): Likewise.
4953         (libc_feholdexcept_setround_ctxl): Likewise.
4955 2016-10-21  Florian Weimer  <fweimer@redhat.com>
4957         [BZ #20715]
4958         * math/math.h [__cplusplus] (iszero): Define as function template.
4959         * math/Makefile [CXX] (tests): Add test-math-iszero.
4960         (CFLAGS-test-math-iszero.cc): Set.
4961         * math/test-math-iszero.cc: New file.
4963 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
4965         [BZ #20660]
4966         * sysdeps/arm/e_sqrt.c: New file.
4967         * sysdeps/arm/e_sqrtf.c: Likewise.
4969 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
4971         [BZ #20718]
4972         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4973         not use floating-point comparisons to test sign.
4974         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4975         Likewise.
4977         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4978         (getpayload): New declaration.
4979         * math/Versions (getpayload): New libm symbol at version
4980         GLIBC_2.25.
4981         (getpayloadf): Likewise.
4982         (getpayloadl): Likewise.
4983         * math/Makefile (libm-calls): Add s_getpayloadF.
4984         * math/libm-test.inc: Include <nan-high-order-bit.h>.
4985         (struct test_f_f_data): Add comment.
4986         (RUN_TEST_fp_f): New macro.
4987         (RUN_TEST_LOOP_fp_f): Likewise.
4988         (getpayload_test_data): New array.
4989         (getpayload_test): New function.
4990         (main): Call getpayload_test.
4991         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4992         descriptor.
4993         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4994         getpayloadf and getpayloadl.
4995         * manual/libm-err-tab.pl: Update comment on interfaces without
4996         ulps tabulated.
4997         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4998         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4999         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
5000         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
5001         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
5002         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
5003         * sysdeps/nacl/libm.abilist: Update.
5004         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5005         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5006         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5007         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5008         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5009         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5010         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5011         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5012         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5013         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5014         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5015         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5017         Likewise.
5018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5019         Likewise.
5020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5021         Likewise.
5022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5023         Likewise.
5024         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5025         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5026         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5027         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5028         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5030         Likewise.
5031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5032         Likewise.
5033         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5034         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5035         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5037 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5039         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
5040         tst-fallocate{64}.
5041         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
5042         on syscall return.
5044 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
5046         [BZ #20689]
5047         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
5048         usable.
5050 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
5052         * sysdeps/generic/nan-high-order-bit.h: New file.
5053         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
5054         * sysdeps/mips/nan-high-order-bit.h: Likewise.
5055         * sysdeps/hppa/math_private.h: Remove file.
5056         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
5057         not define here.
5058         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
5059         <nan-high-order-bit.h>.
5060         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5061         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5062         <nan-high-order-bit.h>.
5063         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5064         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5065         <nan-high-order-bit.h>.
5066         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5067         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
5068         <nan-high-order-bit.h>.
5069         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5070         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5071         <nan-high-order-bit.h>.
5072         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5073         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5074         <nan-high-order-bit.h>.
5075         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5076         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
5077         <nan-high-order-bit.h>.
5078         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5079         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5080         <nan-high-order-bit.h>.
5081         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5082         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5083         <nan-high-order-bit.h>.
5084         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5085         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
5086         <nan-high-order-bit.h>.
5087         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5088         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5089         <nan-high-order-bit.h>.
5090         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5091         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5092         <nan-high-order-bit.h>.
5093         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5094         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
5095         <nan-high-order-bit.h>.
5096         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5097         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
5098         <nan-high-order-bit.h>.
5099         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5100         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
5101         <nan-high-order-bit.h>.
5102         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5103         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
5104         <nan-high-order-bit.h>.
5105         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5106         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5107         <nan-high-order-bit.h>.
5108         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5109         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
5110         <nan-high-order-bit.h>.
5111         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5113 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5115         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5117 2016-09-22  John David Anglin  <dave.anglin@bell.net>
5119         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
5120         abort-instr.h.
5121         (EFAULT): Remove conditional define.
5122         (ENOSYS): Likewise.
5123         (atomic_compare_and_exchange_val_acq): Use instruction nullification
5124         instead of conditional branch instructions.
5126 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
5128         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5129         (totalordermag): New declaration.
5130         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
5131         New macro.
5132         * math/Versions (totalordermag): New libm symbol at version
5133         GLIBC_2.25.
5134         (totalordermagf): Likewise.
5135         (totalordermagl): Likewise.
5136         * math/Makefile (libm-calls): Add s_totalordermagF.
5137         * math/libm-test.inc (totalordermag_test_data): New array.
5138         (totalordermag_test): New function.
5139         (main): Call totalordermag_test.
5140         * math/test-tgmath.c (NCALLS): Increase to 125.
5141         (F(compile_test)): Call totalordermag.
5142         (F(totalordermag)): New function.
5143         * manual/arith.texi (FP Comparison Functions): Document
5144         totalordermag, totalordermagf and totalordermagl.
5145         * manual/libm-err-tab.pl: Update comment on interfaces without
5146         ulps tabulated.
5147         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
5148         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
5149         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
5150         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
5151         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
5152         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
5153         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
5154         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5155         totalordermag.
5156         (CFLAGS-nldbl-totalordermag.c): New variable.
5157         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
5158         (do_test): Also test totalordermagl.
5159         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
5160         Likewise.
5161         * sysdeps/nacl/libm.abilist: Update.
5162         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5163         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5164         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5165         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5166         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5167         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5168         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5169         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5170         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5171         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5172         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5173         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5175         Likewise.
5176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5177         Likewise.
5178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5179         Likewise.
5180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5181         Likewise.
5182         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5183         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5184         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5185         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5186         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5188         Likewise.
5189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5190         Likewise.
5191         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5192         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5193         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5195 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
5197         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5198         boolean.
5200 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
5202         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5203         raising FE_INVALID with feraisexcept in case where part of
5204         argument is infinite, subtract that part of argument from itself.
5205         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5206         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5207         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5209 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5211         * math/libm-test.inc (totalorder_test_data): Add more tests.
5213 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5215         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5216         Undefine weak_alias and add a comment why mips64 require
5217         versioning.
5219 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
5221         [BZ #20647]
5222         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5223         maximum CPUID level is less than 2.
5225 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5227         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5228         (totalorder): New declaration.
5229         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5230         New macro.
5231         * math/Versions (totalorder): New libm symbol at version
5232         GLIBC_2.25.
5233         (totalorderf): Likewise.
5234         (totalorderl): Likewise.
5235         * math/Makefile (libm-calls): Add s_totalorderF.
5236         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5237         string.
5238         * math/libm-test.inc (PAYLOAD_DIG): New macro.
5239         (qnan_value_pl): Likewise.
5240         (snan_value_pl): Likewise.
5241         (qnan_value): Define using qnan_value_pl.
5242         (snan_value): Define using snan_value_pl.
5243         (struct test_ff_i_data): Add comment about which tests use this
5244         structure.
5245         (RUN_TEST_ff_b): New macro.
5246         (RUN_TEST_LOOP_ff_b): Likewise.
5247         (totalorder_test_data): New array.
5248         (totalorder_test): New function.
5249         (main): Call totalorder_test.
5250         * math/test-tgmath.c (NCALLS): Increase to 122.
5251         (F(compile_test)): Call totalorder.
5252         (F(totalorder)): New function.
5253         * manual/arith.texi (FP Comparison Functions): Document
5254         totalorder, totalorderf and totalorderl.
5255         * manual/libm-err-tab.pl: Update comment on interfaces without
5256         ulps tabulated.
5257         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5258         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5259         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5260         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5261         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5262         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5263         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5264         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5265         totalorder.
5266         (CFLAGS-nldbl-totalorder.c): New variable.
5267         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5268         file.
5269         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5270         Add test-totalorderl-ldbl-128ibm.
5271         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5272         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5273         test-totalorderl-ldbl-96.
5274         * sysdeps/nacl/libm.abilist: Update.
5275         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5276         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5277         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5278         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5279         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5280         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5281         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5282         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5283         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5284         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5285         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5286         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5288         Likewise.
5289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5290         Likewise.
5291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5292         Likewise.
5293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5294         Likewise.
5295         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5296         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5297         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5298         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5299         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5301         Likewise.
5302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5303         Likewise.
5304         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5305         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5306         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5308 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5310         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5311         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5312         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5313         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5314         remove ENOSYS implementation.
5315         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5316         Consolidate all Linux implementations.
5318 2016-10-11  Florian Weimer  <fweimer@redhat.com>
5320         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5321         * resolv/herror.c (herror): Cast away const-ness.
5322         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5323         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5325 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
5327         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5328         instead of M_NAN + M_NAN.
5329         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5331 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5333         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5334         unused variable 'p'.
5336 2016-10-09  Alan Modra  <amodra@gmail.com>
5337             Andreas Schwab  <schwab@linux-m68k.org>
5339         [BZ #20554]
5340         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5341         [PIC && !SHARED]: Set up PIC register for PLT call.
5343 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
5345         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5346         conditional on value of [__FLT_EVAL_METHOD__].
5347         * math/test-iseqsig-excess-precision.c: New file.
5348         * math/Makefile (tests): Add test-iseqsig-excess-precision.
5350 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5352         * math/s_iseqsig_template.c: Include math-private.h.
5354         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5355         * posix/tst-posix_fadvise.c: New file.
5356         * posix/tst-posix_fadvise64.c: Likewise.
5357         * posix/tst-posix_fadvise-common.c: Likewise.
5358         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5359         (__ASSUME_FADVISE64_64_6ARG): Define.
5360         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5361         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5362         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5363         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5364         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5365         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5366         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5367         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5368         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5369         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5370         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5371         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5374         Likewise.
5375         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5376         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5377         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5378         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5379         Alias to __posix_fadvise64_l32.
5380         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5381         Add compat definition to posix_fadvise64.
5382         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5383         Add versioned definition to posix_fadvise64.
5384         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5385         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5386         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5387         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5388         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5390         * io/Makefile (tests): Add tst-posix_fallocate and
5391         tst-posix_fallocate64.
5392         * io/tst-posix_fallocate-common.c: New file.
5393         * io/tst-posix_fallocate.c: Likewise.
5394         * io/tst-posix_fallocate64.c: Likewise.
5395         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5396         file.
5397         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5398         Likewise.
5399         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5400         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5401         Likewise.
5402         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5403         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5404         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5405         SYSCALL_LL to pass both offset and len arguments.
5406         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5407         Likewise.
5408         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5409         __libc_pwrite64 alias used by posix_fallocate64.
5411         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5412         tst-fallocate64.
5413         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5414         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5415         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5416         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5417         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5418         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5419         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5420         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5421         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5422         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5423         macro on offset argument.
5424         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5425         SYSCALL_LL64 on offset argument.
5427         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5428         tst-fallocate64.
5429         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5430         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5431         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5432         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5433         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5434         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5435         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5436         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5437         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5438         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5439         macro on offset argument.
5440         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5441         SYSCALL_LL64 on offset argument.
5442         * test-skeleton.c (FAIL_RET): Add macro.
5443         (FAIL_EXIT): Likewise.
5444         (FAIL_EXIT1): Likewise.
5445         (_FAIL): Likewise.
5447 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5449         [BZ #20629]
5450         resolv: Remove RES_USEBSTRING and its implementation.
5451         * resolv/resolv.h (RES_USEBSTRING): Remove.
5452         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5453         (digitvalue, encode_bitstring, decode_bitstring): Remove.
5454         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5455         (labellen): Remove extended label types support.
5456         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5457         * resolv/res_init.c (res_setoptions): Likewise.
5458         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5460 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5462         resolv: Remove RES_NOIP6DOTINT and its implementation.
5463         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5464         (RES_NOIP6DOTINT): Remove.
5465         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5466         handling.
5467         * resolv/res_debug.c (p_option): Likewise.
5468         * resolv/res_init.c (res_setoptions): Likewise.
5469         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5471 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5473         resolv: Deprecate unimplemented flags.
5474         * misc/sys/cdefs.h (__glibc_macro_warning1)
5475         (__glibc_macro_warning): Define.
5476         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5477         (RES_KEEPTSIG): Mark as deprecated.
5478         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5479         RES_NOCHECKNAME, RES_KEEPTSIG.
5480         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5482 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5484         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5485         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5486         Use strong_alias to create symbols for glibc verison 2.19.
5488 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5490         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5492 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5494         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5496 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5498         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5500 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5502         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5503         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5504         in header for using it as type for ifunc function because __GI_* symbols
5505         for ppc32 do not target the ifunc symbols.
5506         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5508 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5510         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5511         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5512         libc_ifunc_hidden_def.
5513         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5514         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5515         Redirect ifunced function in header for using it as type of ifunc'ed
5516         function. Redefine libc_hidden_def to use fallback non ifunc'ed
5517         function for __GI_* symbol.
5518         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5519         * include/libc-symbols.h
5520         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5522 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5524         [BZ #20478]
5525         * sysdeps/s390/multiarch/ifunc-resolve.h
5526         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5527         to create ifunc symbols.
5528         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5529         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5530         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5531         for using it as type for ifunc function.
5532         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5533         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5534         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5535         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5536         * sysdeps/s390/multiarch/strcat.c: Likewise.
5537         * sysdeps/s390/multiarch/strchr.c: Likewise.
5538         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5539         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5540         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5541         * sysdeps/s390/multiarch/strlen.c: Likewise.
5542         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5543         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5544         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5545         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5546         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5547         * sysdeps/s390/multiarch/strspn.c: Likewise.
5548         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5549         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5550         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5551         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5552         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5553         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5554         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5555         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5556         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5557         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5558         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5559         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5561 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5563         * include/libc-symbols.h (__ifunc_resolver):
5564         New macro is used by __ifunc* macros.
5565         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5566         depending on HAVE_GCC_IFUNC.
5567         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5568         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5570         Redirect ifunced function in header for using as type for ifunc function.
5571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5576         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5577         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5578         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5579         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5580         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5581         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5582         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5583         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5584         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5590         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5591         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5592         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5593         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5594         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5595         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5596         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5597         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5598         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5599         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5600         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5601         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5602         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5603         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5605         Add libc_hidden_def() and use libc_ifunc_hidden() macro
5606         instead of libc_ifunc() macro.
5607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5608         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5610 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5612         * config.h.in (HAVE_GCC_IFUNC): New undef.
5613         * configure.ac: Add check if gcc supports attribute ifunc feature.
5614         * configure: Regenerated.
5615         * manual/install.texi: Add recommendation for gcc with
5616         indirect-function support.
5617         * INSTALL: Regenerated.
5619 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
5621         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5622         macro.
5623         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5624         (__iseqsig): New declaration.
5625         * math/s_iseqsig_template.c: New file.
5626         * math/Versions (__iseqsigf): New libm symbol at version
5627         GLIBC_2.25.
5628         (__iseqsig): Likewise.
5629         (__iseqsigl): Likewise.
5630         * math/libm-test.inc (iseqsig_test_data): New array.
5631         (iseqsig_test): New function.
5632         (main): Call iseqsig_test.
5633         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5634         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5635         * manual/libm-err-tab.pl: Update comment on interfaces without
5636         ulps tabulated.
5637         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5638         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5639         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5640         * sysdeps/nacl/libm.abilist: Update.
5641         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5642         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5643         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5644         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5645         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5646         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5647         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5648         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5649         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5650         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5651         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5652         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5654         Likewise.
5655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5656         Likewise.
5657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5658         Likewise.
5659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5660         Likewise.
5661         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5662         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5663         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5664         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5665         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5667         Likewise.
5668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5669         Likewise.
5670         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5671         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5672         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5674 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5676         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5677         do_sincos_2, sloww, sloww1): Update comments.
5679         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5680         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5682         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5683         K boolean and rename it.
5684         (__sin): Adjust.
5685         (__cos): Adjust.
5687 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5688             Siddhesh Poyarekar  <siddhesh@sourceware.org>
5690         * manual/nss.texi: Fix typos in the manual.
5692 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5694         * manual/contrib.texi: Fix typos in the manual.
5696         * manual/maint.texi: Fix typos in the manual.
5698         * manual/install.texi: Fix typos in the manual.
5699         * INSTALL: Regenerated.
5701         * manual/lang.texi: Fix typos in the manual.
5703         * manual/probes.texi: Fix typos in the manual.
5705         * manual/threads.texi: Fix typos in the manual.
5707         * manual/debug.texi: Fix typos in the manual.
5709         * manual/crypt.texi: Fix typos in the manual.
5711         * manual/conf.texi: Fix typos in the manual.
5713         * manual/sysinfo.texi: Fix typos in the manual.
5715         * manual/users.texi: Fix typos in the manual.
5717         * manual/job.texi: Fix typos in the manual.
5719         * manual/process.texi: Fix typos in the manual.
5721         * manual/argp.texi: Fix typos in the manual.
5722         * manual/getopt.texi: Likewise.
5723         * manual/startup.texi: Likewise.
5725         * manual/signal.texi: Fix typos in the manual.
5727         * manual/setjmp.texi: Fix typos in the manual.
5729         * manual/resource.texi: Fix typos in the manual.
5731         * manual/time.texi: Fix typos in the manual.
5733         * manual/arith.texi: Fix typos in the manual.
5735         * manual/math.texi: Fix typos in the manual.
5737         * manual/syslog.texi: Fix typos in the manual.
5739         * manual/terminal.texi: Fix typos in the manual.
5741         * manual/socket.texi: Fix typos in the manual.
5743         * manual/filesys.texi: Fix typos in the manual.
5745         * manual/llio.texi: Fix typos in the manual.
5747         * manual/stdio.text: Fix typos in the manual.
5749 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5751         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5752         instead of K1.
5754         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5755         SHIFT_QUADRANT and make it bool.
5756         (do_sincos_2): Likewise.
5757         (sloww): Likewise.
5758         (sloww1): Likewise.
5759         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5760         (__cos): Likewise.
5762 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5764         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5766 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
5768         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5769         Define to __WORDSIZE, not conditional on [LONG_MAX ==
5770         0x7fffffffL].
5771         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5773 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5775         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5776         inline by __inline__.
5777         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5778         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5779         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5780         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5781         sigset_t from signal.h.
5782         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5783         which is already required.
5785 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5787         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5789 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
5791         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5792         (struct tcp_repair_window): New type.
5794 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5796         * libio/tst-memstream3.c: Include string.h.
5798 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5800         [BZ #18241]
5801         [BZ #20181]
5802         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5803         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5804         write position is at the end the buffer.
5805         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5806         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5807         (_IO_str_seekoff): Set correct offset from negative displacement and
5808         set EINVAL for invalid ones.
5809         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5810         buffer length.
5811         (_IO_wstr_switch_to_get_mode): New function.
5812         (_IO_wstr_seekoff): Set correct offset from negative displacement and
5813         set EINVAL for invalid ones.
5814         * libio/tst-memstream3.c: New file.
5815         * libio/tst-wmemstream3.c: Likewise.
5816         * manual/examples/memstrm.c: Remove warning when priting size_t.
5818 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5820         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5821         macro to use __builtin_fma.
5822         * sysdeps/x86_64/fpu/dla.h: Remove file.
5824         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5825         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5826         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5828 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
5830         [BZ #20292]
5831         * elf/Makefile (routines): Add dl-addr-obj.
5832         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5833         tst-_dl_addr_inside_object.
5834         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5835         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5836         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5837         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5838         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5839         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5840         * elf/dl-open.c: Likewise.
5841         * elf/dl-addr-obj.c: New file.
5842         * elf/tst-_dl_addr_inside_object.c: New file.
5844 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5846         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5847         <bits/iscanonical.h>.
5848         * bits/iscanonical.h: New file.
5849         * math/s_iscanonicall.c: Likewise.
5850         * math/Versions (__iscanonicall): New libm symbol at version
5851         GLIBC_2.25.
5852         * math/libm-test.inc (iscanonical_test_data): New array.
5853         (iscanonical_test): New function.
5854         (main): Call iscanonical_test.
5855         * math/Makefile (headers): Add bits/iscanonical.h.
5856         (type-ldouble-routines): Add s_iscanonicall.
5857         * manual/arith.texi (Floating Point Classes): Document
5858         iscanonical.
5859         * manual/libm-err-tab.pl: Update comment on interfaces without
5860         ulps tabulated.
5861         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5862         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5863         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5864         Likewise.
5865         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5866         test-iscanonical-ldbl-128ibm.
5867         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5868         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5869         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5870         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5871         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5872         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5873         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5875         Likewise.
5876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5877         Likewise.
5878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5879         Likewise.
5880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5881         Likewise.
5882         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5883         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5885 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5887         * string/bits/string3.h: Remove C++ style comments.
5889 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5891         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5892         instead of ternary condition.
5893         (do_sincos_2): Likewise.
5894         (__sin): Likewise.
5895         (__cos): Likewise.
5896         (slow): Likewise.
5897         (sloww): Likewise.
5898         (sloww1): Likewise.
5899         (bsloww): Likewise.
5900         (bsloww1): Likewise.
5902         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5903         instead of ternary condition.
5904         (do_sin_slow): Likewise.
5905         (do_sincos_1): Likewise.
5906         (do_sincos_2): Likewise.
5907         (__cos): Likewise.
5908         (sloww): Likewise.
5909         (sloww1): Likewise.
5910         (sloww2): Likewise.
5911         (bsloww): Likewise.
5912         (bsloww1): Likewise.
5913         (bsloww2): Likewise.
5915         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5916         check from here...
5917         (slow2): ... and here...
5918         (__sin): ... to here.
5920 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5922         * math/math.h
5923         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5924         Cast argument to its own type.
5925         * math/test-iszero-excess-precision.c: New file.
5926         * math/Makefile (tests): Add test-iszero-excess-precision.
5927         (CFLAGS-test-iszero-excess-precision.c): New variable.
5929 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
5931         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5932         field, add err field.
5933         (__spawni_child): Report error through err member instead of pipe.
5934         (__spawnix): Likewise.
5936 2016-09-28  Zack Weinberg  <zackw@panix.com>
5938         * scripts/check-installed-headers.sh: Generalize treatment of
5939         sys/elf.h to all target architectures.
5941         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5942         deleted typedef ucontext_t.
5944 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5946         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5947         (__INTERNAL_SYSCALL1): Likewise.
5948         (__INTERNAL_SYSCALL2): Likewise.
5949         (__INTERNAL_SYSCALL3): Likewise.
5950         (__INTERNAL_SYSCALL4): Likewise.
5951         (__INTERNAL_SYSCALL5): Likewise.
5952         (__INTERNAL_SYSCALL6): Likewise.
5953         (__INTERNAL_SYSCALL7): Likewise.
5954         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5955         (__INTERNAL_SYSCALL_NARGS): Likewise.
5956         (__INTERNAL_SYSCALL_DISP): Likewise.
5957         (INTERNAL_SYSCALL_CALL): Likewise.
5958         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5959         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5960         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5961         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5962         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5963         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5964         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5965         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5966         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5967         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5968         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5969         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5970         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5972 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
5974         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5975         macro.
5976         * math/libm-test.inc (iszero_test_data): New array.
5977         (iszero_test): New function.
5978         (main): Call iszero_test.
5979         * manual/arith.texi (Floating Point Classes): Document iszero.
5980         * manual/libm-err-tab.pl: Update comment on interfaces without
5981         ulps tabulated.
5983 2016-09-23  Zack Weinberg  <zackw@panix.com>
5985         * scripts/check-installed-headers.sh: New script.
5986         * Rules: In each directory that defines header files to be installed,
5987         run check-installed-headers.sh on them as a special test.
5988         * Makefile: Likewise for the headers installed at top level.
5990         * include/aliases.h, include/alloca.h, include/argz.h
5991         * include/arpa/nameser.h, include/arpa/nameser_compat.h
5992         * include/elf.h, include/envz.h, include/err.h
5993         * include/execinfo.h, include/fpu_control.h, include/getopt.h
5994         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5995         * include/link.h, include/malloc.h, include/mcheck.h
5996         * include/mntent.h, include/netinet/ether.h
5997         * include/nss.h, include/obstack.h, include/printf.h
5998         * include/pty.h, include/resolv.h, include/rpc/auth.h
5999         * include/rpc/auth_des.h, include/rpc/auth_unix.h
6000         * include/rpc/clnt.h, include/rpc/des_crypt.h
6001         * include/rpc/key_prot.h, include/rpc/netdb.h
6002         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
6003         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
6004         * include/rpc/rpc_msg.h, include/rpc/svc.h
6005         * include/rpc/svc_auth.h, include/rpc/xdr.h
6006         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
6007         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
6008         * include/rpcsvc/ypupd.h, include/shadow.h
6009         * include/stdio_ext.h, include/sys/epoll.h
6010         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
6011         * include/sys/prctl.h, include/sys/profil.h
6012         * include/sys/statfs.h, include/sys/sysctl.h
6013         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
6014         * sysdeps/arm/nacl/include/bits/setjmp.h
6015         * sysdeps/mips/include/sys/asm.h
6016         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
6017         * sysdeps/unix/sysv/linux/include/sys/timex.h
6018         * sysdeps/x86/fpu/include/bits/fenv.h:
6019         Add #ifndef _ISOMAC guard around internal declarations.
6020         Add multiple-inclusion guard if not already present.
6022 2016-09-23  Zack Weinberg  <zackw@panix.com>
6024         * sysdeps/generic/sys/ucontext.h
6025         * sysdeps/arm/sys/ucontext.h
6026         * sysdeps/i386/sys/ucontext.h
6027         * sysdeps/m68k/sys/ucontext.h
6028         * sysdeps/mips/sys/ucontext.h
6029         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
6030         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
6031         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
6032         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
6033         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
6034         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
6035         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
6036         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
6037         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
6038         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
6039         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
6040         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
6041         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
6042         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
6043         Include both bits/sigcontext.h and bits/sigstack.h.
6044         Fix grammar error in comment, if present.
6046         * bits/sigstack.h
6047         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
6048         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
6049         * sysdeps/unix/sysv/linux/bits/sigstack.h
6050         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
6051         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
6052         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
6053         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
6054         * bits/sigcontext.h
6055         * sysdeps/mach/hurd/i386/bits/sigcontext.h
6056         * sysdeps/unix/sysv/linux/bits/sigcontext.h
6057         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
6058         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
6059         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
6060         as well as signal.h, if this was not already allowed.  Request
6061         definition of size_t if necessary.  Minimize semantically-null
6062         differences across files.
6064 2016-09-23  Zack Weinberg  <zackw@panix.com>
6066         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
6067         Remove all logic conditional on __need macros.  Move all the
6068         conditionally defined types to their own headers...
6069         * time/bits/types/clock_t.h: Define clock_t here.
6070         * time/bits/types/clockid_t.h: Define clockid_t here.
6071         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
6072         * time/bits/types/struct_timespec.h: Define struct timespec here.
6073         * time/bits/types/struct_timeval.h: Define struct timeval here.
6074         * time/bits/types/struct_tm.h: Define struct tm here.
6075         * time/bits/types/time_t.h: Define time_t here.
6076         * time/bits/types/timer_t.h: Define timer_t here.
6077         * time/Makefile: Install the new headers.
6079         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
6080         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
6081         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
6082         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
6083         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
6084         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
6085         * sysdeps/unix/sysv/linux/bits/resource.h
6086         * sysdeps/unix/sysv/linux/bits/timex.h
6087         * sysdeps/unix/sysv/linux/mips/bits/resource.h
6088         * sysdeps/unix/sysv/linux/net/ppp_defs.h
6089         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
6090         * sysdeps/unix/sysv/linux/sys/acct.h
6091         * sysdeps/unix/sysv/linux/sys/timerfd.h
6092         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
6093         * time/sys/time.h, time/sys/timeb.h
6094         Use the new bits/types headers.
6096         * include/time.h: Remove __need logic.
6097         * include/bits/time.h
6098         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
6099         * include/bits/types/time_t.h, include/bits/types/timer_t.h
6100         * include/bits/types/struct_itimerspec.h
6101         * include/bits/types/struct_timespec.h
6102         * include/bits/types/struct_timeval.h
6103         * include/bits/types/struct_tm.h:
6104         New wrapper headers.
6106 2016-09-23  Zack Weinberg  <zackw@panix.com>
6108         * sysdeps/mach/hurd/net/if_ppp.h
6109         * sysdeps/unix/sysv/linux/net/if_ppp.h:
6110         Only define struct ifpppstatsreq and struct ifpppcstatsreq
6111         if __USE_MISC is defined, to ensure struct ifreq is declared.
6113         * inet/netinet/ether.h: Condition all function prototypes
6114         on __USE_MISC, to ensure struct ether_addr is declared.
6116         * socket/bits/types/struct_osockaddr.h: New header.
6117         * include/bits/types/struct_osockaddr.h: New wrapper.
6118         * socket/Makefile: Install the new header.
6119         * socket/sys/socket.h, inet/protocols/talkd.h:
6120         Refer to bits/types/struct_osockaddr.h for the definition of
6121         struct osockaddr.
6123 2016-09-23  Zack Weinberg  <zackw@panix.com>
6125         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
6126         * inet/protocols/routed.h, inet/protocols/talkd.h
6127         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6128         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
6129         * sysdeps/generic/netinet/if_ether.h
6130         * sysdeps/generic/netinet/in_systm.h
6131         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
6132         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6133         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
6134         * sysdeps/mach/hurd/net/if_arp.h
6135         * sysdeps/mach/hurd/net/if_ppp.h
6136         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
6137         * sysdeps/unix/sysv/linux/bits/in.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/net/route.h
6143         * sysdeps/unix/sysv/linux/netinet/if_ether.h
6144         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6145         * sysdeps/unix/sysv/linux/netinet/if_tr.h
6146         * sysdeps/unix/sysv/linux/netipx/ipx.h
6147         * sysdeps/unix/sysv/linux/sys/acct.h
6148         * include/arpa/nameser.h, include/resolv.h:
6149         Change all uses of u_char to unsigned char,
6150         u_short and ushort to unsigned short, u_int and uint to unsigned int,
6151         u_long and ulong to unsigned long, u_int8_t to uint8_t,
6152         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
6153         and u_int64_t and u_quad_t to uint64_t.
6155         * mach/sys/reboot.h: Remove two casts of integer literals
6156         to the types they already have.
6158         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
6159         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6160         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
6161         from referring to 'unsigned char' to 'uint8_t' for consistency with
6162         the macro definition below.
6164         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
6165         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
6166         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
6167         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
6168         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
6169         * sysdeps/unix/sysv/linux/sys/acct.h
6170         * include/arpa/nameser.h, include/resolv.h:
6171         Fix indentation disrupted by mechanical edits.
6173         * inet/protocols/talkd.h, resolv/arpa/nameser.h
6174         * sysdeps/generic/netinet/in_systm.h
6175         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6176         * sysdeps/gnu/netinet/udp.h
6177         * sysdeps/unix/sysv/linux/net/ethernet.h
6178         * sysdeps/unix/sysv/linux/net/if_arp.h
6179         * sysdeps/unix/sysv/linux/net/if_ppp.h
6180         * sysdeps/unix/sysv/linux/net/if_shaper.h
6181         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6182         * sysdeps/unix/sysv/linux/netinet/if_tr.h
6183         * sysdeps/unix/sysv/linux/netipx/ipx.h
6184         * sysdeps/unix/sysv/linux/sys/acct.h
6185         Include stdint.h for uintNN_t definitions.
6186         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6188 2016-09-23  Zack Weinberg  <zackw@panix.com>
6190         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6191         * sysdeps/unix/sysv/linux/netrose/rose.h:
6192         Include sys/socket.h and netax25/ax25.h.
6194         * inet/netinet/icmp6.h, inet/netinet/ip6.h
6195         * resolv/arpa/nameser_compat.h:
6196         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6198         * sysdeps/unix/sysv/linux/sys/quota.h:
6199         Use __caddr_t instead of caddr_t.
6200         * sysdeps/unix/sysv/linux/sys/timerfd.h:
6201         Use __clockid_t instead of clockid_t.
6203         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6205         * argp/argp.h: Check whether _LIBC is defined before expanding it.
6206         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6207         expanding it.
6209         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6210         Define __glibc_c99_flexarr_available to 1 when the compiler
6211         supports C99-compatible flexible array members, 0 otherwise.
6212         * sysdeps/unix/sysv/linux/bits/socket.h
6213         * sysdeps/mach/hurd/bits/socket.h
6214         * bits/socket.h: Use __glibc_c99_flexarr_available in
6215         definitions of struct cmsghdr and CMSG_DATA.
6217 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6219         * manual/nss.texi (NSS Modules Interface): Adjust function return
6220         type to enum nss_status.  Document errnop argument.  Clarify
6221         h_errnop semantics.  Fix cross-reference formatting.
6222         (NSS Module Function Internals): Mention that *errnop needs to be
6223         set on failure, but not to zero.
6225 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6227         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6228         (get_random_name): New functions.
6229         (check_wrapper_flags_mode): Use linkat to give the new file a name
6230         determined by get_random_name.
6231         (do_test): Add calls to test open64 and openat64.
6233 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6235         * test-skeleton.c: Remove #include <stdarg.h>.
6237 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
6239         [BZ #19826]
6240         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6241         initialization of static TLS entries.
6242         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6243         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6245 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6247         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6248         _hurd_malloc_fork_prepare.
6249         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6250         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6251         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6252         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6253         (_hurd_fork_child_hook): Drop malloc_fork_child.
6254         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6255         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6256         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6257         after locking locks (notably hurd_dtable_lock). Call
6258         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6259         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6260         __malloc_fork_unlock_child.
6261         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6263 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
6265         * soft-fp/extendhftf2.c: New.
6266         * soft-fp/fixhfti.c: Likewise.
6267         * soft-fp/fixunshfti.c: Likewise.
6268         * soft-fp/floattihf.c: Likewise.
6269         * soft-fp/floatuntihf.c: Likewise.
6270         * soft-fp/half.h: Likewise.
6271         * soft-fp/trunctfhf2.c: Likewise.
6273 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
6275         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6276         macro.
6277         * math/libm-test.inc (issubnormal_test_data): New array.
6278         (issubnormal_test): New function.
6279         * manual/arith.texi (Floating Point Classes): Document
6280         issubnormal.
6281         * manual/libm-err-tab.pl: Update comment on interfaces without
6282         ulps tabulated.
6284         * sysdeps/generic/stdint.h: Define
6285         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6286         <bits/libc-header-start.h> instead of including <features.h>.
6287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6298         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6312         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6320         * manual/arith.texi (Integers): Document these macros for types
6321         specified by width properties.
6322         * manual/lang.texi (Width of Type): Document these macros for
6323         other standard typedefs.
6324         * stdlib/tst-width-stdint.c: New file.
6325         * stdlib/Makefile (tests): Add tst-width-stdint.
6327 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6329         [BZ #20016]
6330         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6331         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6332         Move ...
6333         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6334         ... here, as compatibility symbols in a new file.
6335         * resolv/Makefile (libresolv-routines): Add compat-hooks.
6336         * resolv/res_init.c (__res_vinit): Adjust member names.
6337         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6338         * resolv/resolv.h (res_sendhookact, res_send_qhook)
6339         (res_send_rhook): Remove.
6340         (struct __res_state): Rename qhook, rhook members.
6342 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6344         malloc: Use __libc_lock wrappers.
6345         * malloc/arena.c (list_lock, free_list_lock): Define using
6346         __libc_lock_define_initialized.
6347         (arena_lock): Adjust formatting.
6348         * malloc/malloc.c (struct malloc_state): Define mutex using
6349         __libc_lock_define.
6350         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6351         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6352         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6353         (mutex_unlock, mutex_trylock): Remove.
6354         (__pthread_initialize): Remove unused macro.
6355         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6356         (mutex_unlock, mutex_trylock): Remove.
6358 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6360         [BZ #20592]
6361         Remove RR type classification macros.
6362         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6363         (ns_t_udp_p, ns_t_xfr_p): Remove.
6365 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6367         Remove misleading version information.
6368         * resolv/arpa/nameser.h (__NAMESER): Remove.
6369         * resolv/arpa/nameser_compat.h (__BIND): Remove.
6371 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6373         Remove the always-defined BIND_4_COMPAT macro.
6374         * resolv/arpa/nameser.h: Unconditionally include
6375         <arpa/nameser_compat.h>.
6376         (BIND_4_COMPAT): Remove.
6377         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6379 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6381         [BZ #20591]
6382         Remove obsolete DNSSEC support.
6383         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6384         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6385         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6386         (ns_verify_tcp, ns_verify_tcp_init): Remove.
6387         (ns_cert_types): Add comment.
6388         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6389         separately.
6390         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6391         (dst_s_dns_key_id): Remove.
6392         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6393         variables.
6395 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6397         [BZ #20524]
6398         * manual/string.texi (String/Array Comparison): Clarify the
6399         strverscmp behavior.
6401 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6403         * test-skeleton.c (xasprintf): Add function.
6404         * io/tst-open-tmpfile.c: New test.
6405         * io/Makefile (tests): Add it.
6407 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6409         Avoid running $(CXX) during build to obtain header file paths.
6410         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6411         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6412         * Makerules (cstdlib, cmath): Remove variables.  Use
6413         $(c++-cstdlib-header), $(c++-cmath-header) instead.
6414         * configure: Regenerate.
6416 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6418         * Makeconfig (all-object-suffixes): Include .op only if
6419         $(build-profile).
6421 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6423         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6424         conditionals.  Do not define PATH_MAX.
6426 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6428         * posix/Makefile (tests): Add tst-spawn3.
6429         * posix/tst-spawn3.c: New file.
6430         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6431         if it is already opened for open action.
6433         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6434         all signals when executing the clone vfork child.
6435         (SIGALL_SET): Remove macro.
6437         * nptl/Makefile (tests): Add tst-exec5.
6438         * nptl/tst-exec5.c: New file.
6439         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6440         asynchronous cancellation.
6442 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6444         * hurd/exc2signal.c: #include <hurd/signal.h>
6445         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6446         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
6447         accordingly.
6448         * mach/mach_error.c (mach_error): Fix old-style function definition.
6449         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6451 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6453         * math/Makefile (libm-calls): Remove s_nanF.
6454         (gen-libm-calls): Add s_nanF.
6456         * math/s_nan.c: Refactor into ...
6457         * math/s_nan_template.c: New file.
6459         * math/s_nanf.c: Removed.
6460         * math/s_nanl.c: Removed.
6461         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6462         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6464         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6465         (LDOUBLE_nanl_libm_version): New macro.
6467         * sysdeps/generic/math-type-macros-double.h:
6468         (M_STRTO_NAN): New macro.
6469         * sysdeps/generic/math-type-macros-float.h: Likewise.
6470         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6472         * sysdeps/generic/math-type-macros.h: Document
6473         M_STRTO_NAN.
6475 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6477         * math/s_nanf.c: Remove __nanf undef.
6478         * math/s_nan.c: Remove __nan undef.
6479         * math/s_nanl.c: Remove __nanl undef.
6481         * sysdeps/generic/math_private.h (__nan): Remove macro
6482         override.
6483         (__nanf): Likewise.
6484         (__nanl): Likewise.
6486 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6488         * math/Makefile (gen-all-calls): New variable.
6489         (generated): Replace gen-libm-calls with gen-all-calls.
6490         (gen-libm-templates.stmp): Likewise.  Also, ensure
6491         the output directory exists or is created and add
6492         dependency on the Makefile.
6493         (calls): Move s_ldexpF into gen-calls.
6494         (gen-calls): New variable.
6496         * math/s_ldexpf.c: Removed.
6497         * math/s_ldexpl.c: Removed.
6498         * math/s_ldexp.c: Refactored into ...
6499         * math/s_ldexp_template.c: New file.
6501         * sysdeps/generic/math-type-macros-double.h: Remove
6502         redundant fall-through definition of declare_mgen_alias.
6503         (declare_mgen_alias_2): New macro.
6505         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6506         New macro for function aliased to two exported symbols.
6508         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6509         new template file.
6510         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6512 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6514         * Makeconfig (all-object-suffixes): Remove .og.
6515         * Makerules (elide-routines.og): Remove.
6516         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6517         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6518         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6520 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6522         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6523         .os objects.
6525 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6527         [BZ #20615]
6528         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6529         fpu directory by non-fpu.
6530         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6531         on non-fpu directory from a fpu directory.
6533 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
6535         * include/limits.h: Define
6536         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6537         <bits/libc-header-start.h> instead of including <features.h>.
6538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6541         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6544         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6547         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6548         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6549         * manual/lang.texi (Width of Type): Document these macros.
6550         * stdlib/tst-width.c: New file.
6551         * stdlib/Makefile (tests): Add tst-width.
6553 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6555         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6556         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6558 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6560         * nptl/sem_init.c (__new_sem_init): 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  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6566         [BZ #18243]
6567         * rt/Makefile (test): Add tst-shm-cancel.
6568         * rt/tst-shm-cancel.c: New file.
6569         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6571         [BZ #18243]
6572         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6573         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6574         definition.
6575         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6576         uncontended case.
6577         * nptl/sem_wait.c (__new_sem_wait): Likewise.
6578         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6579         (tf): Fix check for uncontended case.
6580         (do_test): Likewise.
6581         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6582         (tf): Fix check for uncontended case.
6583         (do_test): Likewise.
6584         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6585         (tf): Fix check for uncontended case.
6586         (do_test): Likewise.
6587         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6588         (tf): Fix check for uncontended case.
6589         (do_test): Likewise.
6591         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6592         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6594         [BZ #15765]
6595         * nptl/Makefile (tests): Add tst-sem16.
6596         * nptl/tst-sem16.c: New file.
6597         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6599         * nptl/sem_open.c (sem_open): Init pad value to 0.
6600         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6601         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6603 2016-09-15  Florian Weimer  <fweimer@redhat.com>
6605         [BZ #20611]
6606         * inet/Makefile (routines): Add inet6_scopeid_pton.
6607         (tests): Add tst-inet6_scopeid_pton.
6608         * inet/inet6_scopeid_pton.c: New file.
6609         * inet/net-internal.h: Likewise.
6610         * inet/tst-inet6_scopeid_pton.c: New test.
6611         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6612         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6615 2016-09-14  Florian Weimer  <fweimer@redhat.com>
6617         Remove support for compiling wrappers with PTW.
6618         * sysdeps/nptl/Makeconfig: Drop ptw- support.
6619         * nptl/Makefile (pthread-compat-wrappers): Define.
6620         (libpthread-routines): Use pthread-compat-wrappers.
6621         * sysdeps/unix/sysv/linux/alpha/Makefile
6622         (libpthread-routines, libpthread-shared-only-routines): Remove
6623         ptw- prefix.
6624         * sysdeps/s390/nptl/Makefile
6625         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6626         * sysdeps/ia64/nptl/Makefile
6627         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6628         * sysdeps/nacl/Makefile (libpthread-routines): Use
6629         pthread-compat-wrappers to filter the routines list instead of the
6630         ptw- prefix.
6632 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6634         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6635         with L() and remove explicit suffix, convert real literals
6636         which can be equivalentally substituted with integers, and
6637         transform -L(x) to L(-x).
6639         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6640         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6641         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6642         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6643         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6644         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6645         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6646         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6647         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6648         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6649         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6650         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6651         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6652         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6653         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6654         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6655         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6656         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6657         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6658         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6659         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6660         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6661         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6662         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6663         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6664         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6665         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6666         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6667         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6668         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6669         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6670         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6671         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6672         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6673         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6674         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6675         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6676         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6677         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6678         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6679         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6680         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6681         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6682         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6683         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6684         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6685         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6686         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6687         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6688         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6690 2016-09-13  Florian Weimer  <fweimer@redhat.com>
6692         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6694 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6696         * malloc/Makefile (tests): Remove individual static test names
6697         and just add all of tests-static.
6699         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6701 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
6703         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6704         file.
6706         * sysdeps/sparc/fpu/fegetmode.c: New file.
6707         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6709         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6710         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6712         * sysdeps/s390/fpu/fegetmode.c: New file.
6713         * sysdeps/s390/fpu/fesetmode.c: Likewise.
6715         * sysdeps/powerpc/fpu/fegetmode.c: New file.
6716         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6717         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6718         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6719         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6720         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6722         * sysdeps/mips/fpu/fegetmode.c: New file.
6723         * sysdeps/mips/fpu/fesetmode.c: Likewise.
6725         * sysdeps/m68k/fpu/fegetmode.c: New file.
6726         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6728         * sysdeps/ia64/fpu/fegetmode.c: New file.
6729         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6731         * sysdeps/hppa/fpu/fegetmode.c: New file.
6732         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6734         * sysdeps/arm/fegetmode.c: New file.
6735         * sysdeps/arm/fesetmode.c: Likewise.
6737         * sysdeps/alpha/fpu/fegetmode.c: New file.
6738         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6740         * sysdeps/aarch64/fpu/fegetmode.c: New file.
6741         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6743         * math/fegetmode.c: New file.
6744         * math/fesetmode.c: Likewise.
6745         * sysdeps/i386/fpu/fegetmode.c: Likewise.
6746         * sysdeps/i386/fpu/fesetmode.c: Likewise.
6747         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6748         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6749         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6751         declaration.
6752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6753         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6754         typedef.
6755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6756         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6757         (femode_t): New typedef.
6758         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6759         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6760         (femode_t): New typedef.
6761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6762         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6763         (femode_t): New typedef.
6764         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6765         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6766         (femode_t): New typedef.
6767         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6768         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6769         (femode_t): New typedef.
6770         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6771         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6772         (femode_t): New typedef.
6773         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6774         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6775         (femode_t): New typedef.
6776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6777         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6778         (femode_t): New typedef.
6779         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6780         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6781         (femode_t): New typedef.
6782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6783         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6784         (femode_t): New typedef.
6785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6786         declaration.
6787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6788         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6789         (femode_t): New typedef.
6790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6791         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6792         (femode_t): New typedef.
6793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6794         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6795         (femode_t): New typedef.
6796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6797         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6798         (femode_t): New typedef.
6799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6800         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6801         (femode_t): New typedef.
6802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6803         * manual/arith.texi (FE_DFL_MODE): Document macro.
6804         (fegetmode): Document function.
6805         (fesetmode): Likewise.
6806         * math/Versions (fegetmode): New libm symbol at version
6807         GLIBC_2.25.
6808         (fesetmode): Likewise.
6809         * math/Makefile (libm-support): Add fegetmode and fesetmode.
6810         (tests): Add test-femode and test-femode-traps.
6811         * math/test-femode-traps.c: New file.
6812         * math/test-femode.c: Likewise.
6813         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6814         alias for __fe_dfl_env.
6815         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6816         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6817         (__fe_dfl_mode): Likewise.
6818         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6819         version GLIBC_2.25.
6820         * sysdeps/nacl/libm.abilist: Update.
6821         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6822         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6823         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6824         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6825         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6826         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6827         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6828         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6829         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6830         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6831         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6832         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6834         Likewise.
6835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6836         Likewise.
6837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6838         Likewise.
6839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6840         Likewise.
6841         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6842         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6843         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6844         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6845         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6847         Likewise.
6848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6849         Likewise.
6850         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6851         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6852         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6854 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6856         [BZ #20495]
6857         [BZ #20508]
6858         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6859         processors, set Use_dl_runtime_resolve_slow and set
6860         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6861         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6862         New.
6863         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6864         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6865         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6866         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6867         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6868         if Use_dl_runtime_resolve_opt is set.  Use
6869         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6870         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6871         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
6872         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6873         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6874         New.
6875         (_dl_runtime_resolve_opt): Likewise.
6876         (_dl_runtime_profile): Define only if _dl_runtime_profile is
6877         defined.
6879 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6881         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6882         __libc_memalign with "+ RELA R_390_GLOB_DAT".
6884 2016-09-06  Florian Weimer  <fweimer@redhat.com>
6886         Convert malloc to __libc_lock.  Automated part, using this Perl
6887         s/// command:
6888           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6889             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6890         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6891         conversion.
6893 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
6895         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6896         (linknamespace-symlists-tests): Likewise.
6897         (linknamespace-header-tests): Likewise.
6899 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
6901         [BZ #19810]
6902         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6903         * elf/tst-noload.c: New test case.
6904         * elf/Makefile (tests): Add tst-noload.
6906 2016-09-02  Roland McGrath  <roland@hack.frob.com>
6908         * sysdeps/nacl/dup.c: Add libc_hidden_def.
6910         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6911         not any more.
6913         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6915 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6917         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6918         (do_cos_slow): Likewise.
6919         (do_sin): Likewise.
6920         (do_sin_slow): Likewise.
6921         (slow): Likewise.
6922         (slow1): Likewise.
6923         (slow2): Likewise.
6924         (sloww): Likewise.
6925         (sloww1): Likewise.
6926         (sloww2): Likewise.
6927         (bsloww): Likewise.
6928         (bsloww1): Likewise.
6929         (bsloww2): Likewise.
6930         (cslow2): Likewise.
6932         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6934         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6935         arguments.  Consolidate input partitioning from callers here.
6936         (do_cos_slow): Likewise.
6937         (do_sin): Likewise.
6938         (do_sin_slow): Likewise.
6939         (do_sincos_1): Remove the no longer necessary input partitioning.
6940         (do_sincos_2): Likewise.
6941         (__sin): Likewise.
6942         (__cos): Likewise.
6943         (slow1): Likewise.
6944         (slow2): Likewise.
6945         (sloww1): Likewise.
6946         (sloww2): Likewise.
6947         (bsloww1): Likewise.
6948         (bsloww2): Likewise.
6949         (cslow2): Likewise.
6951 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6953         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6954         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
6955         outside of allocated array.
6957 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6959         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6960         instead of MB_CUR_MAX to avoid variable-length array.
6962 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6964         * math/Makefile (libm-calls): Remove k_rem_pio2F.
6965         (type-double-routines): Add k_rem_pio2.
6966         (type-float-routines): Add k_rem_pio2f.
6968         * sysdeps/generic/math_private.h:
6969         (__kernel_rem_pio2l): Removed.
6971         * math/k_rem_pio2l.c: Removed.
6972         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6973         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6974         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6975         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6977 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6979         * math/Makefile (gen-libm-calls): Add s_fmin
6980         (libm-calls): Remove above.
6982         * math/s_fmin.c: Refactor into ...
6983         * math/s_fmin_template.c: New file.
6985         * math/s_fminf.c: Removed.
6986         * math/s_fminl.c: Removed.
6987         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6988         (LDOUBLE_fmin_libm_version): New macro.
6990         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6991         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6993 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6995         * math/Makefile: (gen-libm-calls): Add s_fmax.
6996         (libm-calls): Remove above.
6998         * math/s_fmax.c: Refactor into ...
6999         * math/s_fmax_template.c: New file.
7000         * math/s_fmaxf.c: Removed.
7001         * math/s_fmaxl.c: Removed.
7003         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7004         (LDOUBLE_fmaxl_libm_version): New macro.
7006         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
7007         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
7009         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
7010         s_fmin.c to pick the aarch64 version of the file.
7011         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
7012         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
7014 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7016         * math/Makefile: (gen-libm-calls): Add s_nextdown.
7017         (libm-calls): Remove above.
7019         * math/s_nextdown.c: Refactor into ...
7020         * math/s_nextdown_template.c: New file.
7021         * math/s_nextdownf.c: Removed.
7022         * math/s_nextdownl.c: Removed.
7024         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
7026 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7028         * math/Makefile (gen-libm-calls): Add s_fdim.
7029         (libm-calls): Move to above.
7031         * math/s_fdim.c: Renamed and refactored into to ...
7032         * math/s_fdim_template.c: New file.
7033         * math/s_fdiml.c: Removed.
7034         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
7035         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
7037         * sysdeps/generic/math-type-macros-double.h:
7038         (declare_mgen_alias): Don't declare if already declared.
7039         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
7040         Likewise.
7042         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7043         (declare_mgen_alias): Don't declare if already declared.
7044         (M_LIBM_NEED_COMPAT): Likewise.
7045         (declare_mgen_libm_compat): Likewise.
7046         (LDOUBLE_fdiml_libm_version): New macro.
7048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7049         Include math/s_fdim.c now that ldbl-opt version is not needed.
7050         (declare_mgen_alias): New macro to disable aliasing.
7052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
7053         (declare_mgen_alias): Likewise.
7054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
7055         (declare_mgen_alias): Likewise.
7056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
7057         (declare_mgen_alias): Likewise.
7058         (M_LIBM_NEED_COMPAT): Likewise.
7060 2016-09-01  Florian Weimer  <fweimer@redhat.com>
7062         [BZ #20525]
7063         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
7064         Include <linux/quota.h>.
7065         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
7066         and btodb.
7067         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
7068         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
7069         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
7070         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
7071         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
7072         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
7073         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
7074         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
7075         types.
7076         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
7077         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
7079 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7081         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
7082         (gammal_positive): Fix spacing.
7083         (__ieee754_gammal_r): Likewise.
7085 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7087         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
7088         (_Float128): Define as long double, always.
7089         (L): Apply long double type suffix, always.
7091         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
7092         _Float128, excepting comments.
7094         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7095         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7096         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7097         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7098         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7099         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7100         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7101         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7102         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7103         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
7104         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7105         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7106         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7107         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7108         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7109         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7110         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7111         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7112         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7113         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7114         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7115         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7116         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7117         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7118         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7119         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7120         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7121         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7122         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7123         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7124         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7125         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7126         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7127         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7128         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7129         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7130         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7131         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7132         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7133         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7134         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7135         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7136         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7137         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7138         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7139         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7140         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7141         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7142         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7143         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7144         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7145         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7146         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7147         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7148         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7149         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7150         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7151         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7152         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7153         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7154         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7155         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7156         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7157         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7158         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7159         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7160         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7161         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7163         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
7164         _Float128, and include math_private.h.
7165         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7167         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
7168         long double semantics.
7169         (_Float128): Likewise.
7170         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
7171         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7172         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7173         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7175 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7177         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
7178         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
7179         * sysdeps/s390/configure: Regenerated.
7180         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
7181         instruction for raising over-/underflow if z196 zarch is supported
7182         by default.
7183         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
7185 2016-08-30  Svante Signell  <svante.signell@gmail.com>
7187         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7188         it point to a dumb buffer for RPC to fill it.
7190 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7192         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7193         instead of if/else.
7194         (do_sin_slow): Likewise.
7195         (do_sincos_1): Use fabs instead of if/else.
7196         (do_sincos_2): Likewise.
7197         (__sin): Likewise.
7198         (__cos): Likewise.
7199         (slow2): Likewise.
7200         (sloww): Likewise.
7201         (sloww1): Likewise.  Drop argument M.
7202         (sloww2): Use fabs instead of if/else.
7203         (bsloww): Likewise.
7204         (bsloww1): Likewise.
7205         (bsloww2): Likewise.
7207         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7208         fall through comment.
7209         (do_sincos_1): Likewise.
7211         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7212         Consolidate switch cases 0 and 2.
7214 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7216         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7217         (libm-calls): Remove the above.
7219         * math/s_cexp_template.c: Update using type-generic macros.
7220         * math/s_clog10_template.c: Likewise.
7221         * math/s_cpow_template.c: Likewise.
7222         * math/s_clog_template.c: Likewise.
7223         * math/s_cproj_template.c: Likewise.
7224         * math/s_csqrt_template.c: Likewise.
7226         * math/s_cexp.c: Removed.
7227         * math/s_cexpf.c: Removed.
7228         * math/s_cexpl.c: Removed.
7229         * math/s_clog10.c: Removed.
7230         * math/s_clog10f.c: Removed.
7231         * math/s_clog10l.c: Removed.
7232         * math/s_cpow.c: Removed.
7233         * math/s_cpowf.c: Removed.
7234         * math/s_cpowl.c: Removed.
7235         * math/s_clog.c: Removed.
7236         * math/s_clogf.c: Removed.
7237         * math/s_clogl.c: Removed.
7238         * math/s_cproj.c: Removed.
7239         * math/s_cprojf.c: Removed.
7240         * math/s_cprojl.c: Removed.
7241         * math/s_csqrt.c: Removed.
7242         * math/s_csqrtf.c: Removed.
7243         * math/s_csqrtl.c: Removed.
7245         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7246         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7247         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7248         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7249         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7250         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7252         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7253         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7254         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7255         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7256         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7257         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7258         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7259         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7260         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7261         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7262         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7264         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7265         version.
7267         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7268         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7269         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7270         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7272 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7274         * s_cexp_template.c: Copy of s_cexp.c.
7275         * s_clog_template.c: Copy of s_clog.c.
7276         * s_clog10_template.c: Copy of s_clog10.c.
7277         * s_cpow_template.c: Copy of s_cpow.c.
7278         * s_cproj_template.c: Copy of s_cproj.c.
7279         * s_csqrt_template.c: Copy of s_csqrt.c.
7281 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7283         [BZ #20517]
7284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7285         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7286         exported.
7288 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
7290         * math/fetestexceptflag.c: New file.
7291         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
7292         Stefan Liebler.
7293         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7294         (fetestexceptflag): New function declaration.
7295         * manual/arith.texi (fetestexceptflag): Document function.
7296         * math/Versions (fetestexceptflag): New libm symbol at version
7297         GLIBC_2.25.
7298         * math/Makefile (libm-support): Add fetestexceptflag.
7299         (tests): Add test-fetestexceptflag.
7300         * math/test-fetestexceptflag.c: New file.
7301         * sysdeps/nacl/libm.abilist: Update.
7302         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7303         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7304         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7305         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7306         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7307         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7308         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7309         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7310         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7311         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7312         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7313         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7315         Likewise.
7316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7317         Likewise.
7318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7319         Likewise.
7320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7321         Likewise.
7322         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7323         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7324         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7325         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7326         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7328         Likewise.
7329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7330         Likewise.
7331         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7332         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7333         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7335 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7337         [BZ #20432]
7338         Avoid strong references to malloc-internal symbols when linking
7339         statically, to support statically interposed mallocs.
7340         * include/libc-symbols.h (call_function_static_weak): New macro.
7341         * malloc/Makefile (tests): Add tst-interpose-nothread,
7342         tst-interpose-thread, tst-interpose-static-nothread,
7343         tst-interpose-static-thread.
7344         (tests-static): Add tst-interpose-static-nothread,
7345         tst-interpose-static-thread.
7346         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7347         tst-interpose-aux-thread.o.
7348         (test-extras): Add tst-interpose-aux-nothread,
7349         tst-interpose-aux-thread.
7350         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7351         tst-interpose-aux-nothread.o.
7352         (tst-interpose-thread, tst-interpose-static-thread): Link with
7353         tst-interpose-aux-thread.o and libthread.
7354         * malloc/tst-interpose-aux-nothread.c: New file.
7355         * malloc/tst-interpose-aux-thread.c: Likewise.
7356         * malloc/tst-interpose-aux.c: Likewise.
7357         * malloc/tst-interpose-aux.h: Likewise.
7358         * malloc/tst-interpose-nothread.c: Likewise.
7359         * malloc/tst-interpose-skeleton.c: Likewise.
7360         * malloc/tst-interpose-static-nothread.c: Likewise.
7361         * malloc/tst-interpose-static-thread.c: Likewise.
7362         * malloc/tst-interpose-thread.c: Likewise.
7363         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7364         * sysdeps/mach/hurd/fork.c (__fork): Only call
7365         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7366         __malloc_fork_unlock_child if defined.
7367         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7369 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7371         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7372         timespec C99 designated initialization.
7374 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7376         [BZ #19946]
7377         Avoid expected SIGALRM signals.
7378         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7379         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7380         (xpthread_create, xpthread_detach, xpthread_join)
7381         (delayed_exit_thread, delayed_exit): New functions.
7382         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7383         (tf): Use xpthread_cond_wait.
7384         (do_test): Likewise.  Replace alarm with delayed_exit.
7385         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7386         (do_test): Call delayed_exit.  Report failure.
7387         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7388         (do_test): Call delayed_exit.
7389         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7390         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
7391         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7392         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
7393         error.
7394         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7395         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
7396         error.
7397         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7398         (do_test): Call delayed_exit.
7399         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7400         (do_test): Call delayed_exit.
7401         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7402         (do_test): Call delayed_exit instead of alarm.  Use
7403         xpthread_mutex_lock.
7404         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7405         (do_test): Call delayed_exit instead of alarm.  Use
7406         xpthread_mutex_lock.
7407         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7408         (do_test): Call delayed_exit instead of alarm.
7409         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7410         (do_test): Call delayed_exit instead of alarm.  Use
7411         xpthread_spin_lock.
7412         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7413         (do_test): Call delayed_exit instead of alarm.  Use
7414         xpthread_join.
7416 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7418         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7419         adjust CFA when allocating register save area on re-aligned
7420         stack.
7422 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7424         * string/tst-cmp.c: New test.
7425         * string/Makefile (tests): Add it.
7427 2016-08-25  Mark Wielaard  <mark@klomp.org>
7429         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7430         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
7431         (check_tree_recurse): Use newly defined accessors.
7432         (check_tree): Likewise.
7433         (maybe_split_for_insert): Likewise.
7434         (__tfind): Likewise.
7435         (__tdelete): Likewise.
7436         (trecurse): Likewise.
7437         (tdestroy_recurse): Likewise.
7438         (__tsearch): Likewise. And add asserts for malloc alignment.
7439         (__twalk): Cast root to node in case CHECK_TREE is defined.
7441 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7443         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7445 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7447         * math/Makefile (libm-gen-calls): Add
7448         catan, catanh, ctan, ctanh.
7449         (libm-calls): Remove the above.
7451         * math/s_catan_template.c: Update using type-generic macros.
7452         * math/s_catanh_template.c: Likewise.
7453         * math/s_ctan_template.c: Likewise.
7454         * math/s_ctanh_template.c: Likewise.
7456         * math/s_catanf.c: Removed.
7457         * math/s_catan.c: Removed.
7458         * math/s_catanl.c: Removed.
7459         * math/s_catanhf.c: Removed.
7460         * math/s_catanh.c: Removed.
7461         * math/s_catanhl.c: Removed.
7462         * math/s_ctanf.c: Removed.
7463         * math/s_ctan.c: Removed.
7464         * math/s_ctanl.c: Removed.
7465         * math/s_ctanhf.c: Removed.
7466         * math/s_ctanh.c: Removed.
7467         * math/s_ctanhl.c: Removed.
7469         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7470         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7471         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7472         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7473         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7474         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7476         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7477         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7478         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7479         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7481 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7483         * s_catan_template.c: Copy of s_catan.c.
7484         * s_catanh_template.c: Copy of s_catanh.c.
7485         * s_ctan_template.c: Copy of s_ctan.c.
7486         * s_ctanh_template.c: Copy of s_ctanh.c.
7488 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7490         * math/Makefile (gen-libm-calls): Move
7491         casin, casinh, csin, csinh here.
7492         (libm-calls): Remove the above.
7494         * math/s_casin_template.c: Update using type-generic macros.
7495         * math/s_casinh_template.c: Likewise.
7496         * math/s_csin_template.c: Likewise.
7497         * math/s_csinh_template.c: Likewise.
7498         * math/k_casinh_template.c: Likewise.
7500         * math/s_casinf.c: Removed.
7501         * math/s_casin.c: Removed.
7502         * math/s_casinl.c: Removed.
7503         * math/s_casinh.c: Removed.
7504         * math/s_casinhf.c: Removed.
7505         * math/s_casinhl.c: Removed.
7506         * math/s_csin.c: Removed.
7507         * math/s_csinf.c: Removed.
7508         * math/s_csinl.c: Removed.
7509         * math/s_csinh.c: Removed.
7510         * math/s_csinhf.c: Removed.
7511         * math/s_csinhl.c: Removed.
7512         * math/k_casinh.c: Removed.
7513         * math/k_casinhf.c: Removed.
7514         * math/k_casinhl.c: Removed.
7516         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7517         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7518         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7519         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7521         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7522         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7523         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7524         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7525         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7526         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7527         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7528         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7530         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7531         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7532         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7533         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7535         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7536         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7537         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7538         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7540 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7542         * s_casin_template.c: Copy of s_casin.c.
7543         * s_casinh_template.c: Copy of s_casinh.c.
7544         * s_csin_template.c: Copy of s_csin.c.
7545         * s_csinh_template.c: Copy of s_csinh.c.
7546         * k_casinh_template.c: Copy of k_casinh.c.
7548 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7550         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7552 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7554         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7555         (mul_split) Remove, rename as mul_splitl, remove
7556         redundant float.h include, and include via mul_splitl.h
7558         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7559         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7560         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7561         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7562         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7564         * math/mul_splitl.h: New file.
7566         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7567         Move into mul_split.h, and remove redundant float.h include.
7569         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7570         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7571         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7572         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7574         * math/mul_split.h: New file.
7576 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7578         * math/Makefile (libm-gen-calls): Move
7579         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7580         (libm-calls): Remove above.
7582         * math/s_cacos_template.c: Update using type-generic macros.
7583         * math/s_cacosh_template.c: Likewise.
7584         * math/s_ccos_template.c: Likewise.
7585         * math/s_ccosh_template.c: Likewise.
7587         * math/s_cacosf.c: Removed.
7588         * math/s_cacos.c: Removed.
7589         * math/s_cacosl.c: Removed.
7590         * math/s_cacoshf.c: Removed.
7591         * math/s_cacosh.c: Removed.
7592         * math/s_cacoshl.c: Removed.
7593         * math/s_ccosf.c: Removed.
7594         * math/s_ccos.c: Removed.
7595         * math/s_ccosl.c: Removed.
7596         * math/s_ccoshf.c: Removed.
7597         * math/s_ccosh.c: Removed.
7598         * math/s_ccoshl.c: Removed.
7600         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7601         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7602         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7603         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7604         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7605         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7607         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7608         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7609         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7610         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7612         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7613         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7614         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7615         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7617 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7619         * s_cacos_template.c: Copy of s_cacos.c.
7620         * s_cacosh_template.c: Copy of s_cacosh.c.
7621         * s_ccos_template.c: Copy of s_ccos.c.
7622         * s_ccosh_template.c: Copy of s_ccosh.c.
7624 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7626         * stdlib/tst-strtod-round-skeleton.c:
7627         Refactored from tst-strtod-round.c.
7629         (L_): New macro to apply literal modifier.
7630         (FNPFX): New macro to select str or wcs prefix.
7631         (CHAR): New macro to choose wchar_t or char.
7632         (STRM): New macro to choose printf for tested character type.
7634         (STRTO): New macro to choose appropriate string -> real function.
7635         (FNPFXS): Stringitized version of FNPFX.
7636         (STR): Support for above macro.
7637         (STRX): Likewise.
7639         (TEST): Update with above macros.
7640         (test): Likewise.
7641         (GEN_ONE_TEST): Likewise.
7642         (test_in_one_mode): Likewise.
7644         * stdlib/tst-strtod-round.c: New file.
7645         * wcsmbs/tst-wcstod-round.c: New file.
7647         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7648         (tst-wcstod-round): Add libm depencency for fesetround.
7650 2016-08-19  Zack Weinberg  <zackw@panix.com>
7652         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7654 2016-08-18  Torvald Riegel  <triegel@redhat.com>
7656         [BZ #20477]
7657         * resolv/res_hconf.c (do_init): Use atomic access.
7658         * resolv/res_hconf.h: Add comments.
7659         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7660         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7663 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7665         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7666         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7667         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7668         Likewise.
7670 2016-08-18  Florian Weimer  <fweimer@redhat.com>
7672         [BZ #16907]
7673         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7674         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7675         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7676         (__attribute__): Remove definition.
7678 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7680         * sysdeps/ieee754/ldbl-128/e_asinl.c:
7681         Remove unused sqrtl declaration.
7683 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7685         * math/Makefile: (gen-libm-templates.stmp): New rule.
7686         (libm-calls): Move carg conj cimag and cabs into ...
7687         (gen-libm-calls): New variable.
7688         (generated): Inform Make objects from gen-libm-calls
7689         may be generated.
7691         * sysdeps/generic/math-type-macros.h: New file.
7692         * sysdeps/generic/math-type-macros-float.h: Likewise.
7693         * sysdeps/generic/math-type-macros-double.h: Likewise.
7694         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7695         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7696         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7698         * math/cabs.c: Refactor into
7699         * math/cabs_template.c: new file.
7700         * math/cabsf.c: Removed.
7701         * math/cabsl.c: Removed.
7702         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7703         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7705         * math/carg.c: Refactor into
7706         * math/carg_template.c: new file.
7707         * math/cargf.c: Removed.
7708         * math/cargl.c: Removed.
7709         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7710         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7712         * math/conj.c: Refactor into
7713         * math/conj_template.c: new file.
7714         * math/conjf.c: Removed.
7715         * math/conjl.c: Removed.
7716         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7717         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7719         * math/cimag.c: Refactor into
7720         * math/cimag_template.c: new file.
7721         * math/cimagf.c: Removed.
7722         * math/cimagl.c: Removed.
7723         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7724         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7726         * math/cimag.c: Refactor into
7727         * math/cimag_template.c: new file.
7728         * math/cimagf.c: Removed.
7729         * math/cimagl.c: Removed.
7730         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7731         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7733 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7735         Reduce time to expected nptl/tst-once5 failure.
7736         * nptl/tst-once5.cc (TIMEOUT): Define.
7738 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7740         [BZ #20452]
7741         Avoid additional copies of objects in libc.a in static libraries.
7742         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7743         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7744         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7745         rt-sysdep.
7746         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7747         Add nptl-sysdep.
7748         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7749         Add ptw-sysdep.
7750         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7751         rt-sysdep.
7752         * sysdeps/unix/sysv/linux/alpha/Makefile
7753         (libpthread-shared-only-routines): Add ptw-sysdep,
7754         ptw-sigprocmask, ptw-rt_sigaction.
7755         * sysdeps/unix/sysv/linux/ia64/Makefile
7756         (librt-shared-only-routines): Add rt-sysdep.
7757         * sysdeps/unix/sysv/linux/i386/Makefile
7758         (libpthread-shared-only-routines): Add libc-do-syscall.
7759         * sysdeps/unix/sysv/linux/microblaze/Makefile
7760         (libpthread-shared-only-routines): Add sysdep.
7761         * sysdeps/unix/sysv/linux/powerpc/Makefile
7762         (librt-shared-only-routines): Add rt-sysdep.
7763         (libpthread-shared-only-routines): Add sysdep.
7764         * sysdeps/unix/sysv/linux/s390/Makefile
7765         (librt-shared-only-routines): Add rt-sysdep.
7766         * sysdeps/unix/sysv/linux/sparc/Makefile
7767         (librt-shared-only-routines): Add rt-sysdep.
7768         (libpthread-shared-only-routines): Add sysdep.
7769         * sysdeps/unix/sysv/linux/tile/Makefile
7770         (libpthread-shared-only-routines): Likewise.
7772 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
7774         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7775         Mask implicit bit out of unpacked value.
7776         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7777         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7778         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7780         * sysdeps/sparc/fpu/fesetexcept.c: New file.
7782         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7784         * sysdeps/s390/fpu/fesetexcept.c: New file.
7786         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7787         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7788         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7790         * sysdeps/mips/fpu/fesetexcept.c: New file.
7792         * sysdeps/m68k/fpu/fesetexcept.c: New file.
7794         * sysdeps/ia64/fpu/fesetexcept.c: New file.
7796         * sysdeps/hppa/fpu/fesetexcept.c: New file.
7798         * sysdeps/arm/fesetexcept.c: New file.
7800         * sysdeps/alpha/fpu/fesetexcept.c: New file.
7802         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7804         * math/fesetexcept.c: New file.
7805         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7806         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7807         * math/fenv.h: Define
7808         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7809         <bits/libc-header-start.h> instead of including <features.h>.
7810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7811         declaration.
7812         * manual/arith.texi (fesetexcept): Document function.
7813         * math/Versions (fesetexcept): New libm symbol at version
7814         GLIBC_2.25.
7815         * math/Makefile (libm-support): Add fesetexcept.
7816         (tests): Add test-fesetexcept and test-fesetexcept-traps.
7817         * math/test-fesetexcept.c: New file.
7818         * math/test-fesetexcept-traps.c: Likewise.
7819         * sysdeps/nacl/libm.abilist: Update.
7820         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7821         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7822         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7823         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7824         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7825         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7826         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7827         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7828         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7829         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7830         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7831         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7833         Likewise.
7834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7835         Likewise.
7836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7837         Likewise.
7838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7839         Likewise.
7840         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7841         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7842         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7843         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7844         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7846         Likewise.
7847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7848         Likewise.
7849         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7850         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7851         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7853 2016-08-16  Florian Weimer  <fweimer@redhat.com>
7855         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7856         New.
7857         (do_test): Apply default_stack_size_in_mb if not set.
7858         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7860 2016-08-15  Andreas Schwab  <schwab@suse.de>
7862         [BZ #20435]
7863         CVE-2016-6323
7864         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7865         as .cantunwind.
7867 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
7869         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7870         comment from fraiseexcpt.c.
7872         * math/test-fexcept.c (feraiseexcept_exact): New function.
7873         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7874         (test_except): Likewise.
7876 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
7878         [BZ #20455]
7879         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7880         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7881         to be restored.
7883         * math/test-fexcept-traps.c: New file.
7884         * math/test-fexcept.c: Likewise.
7885         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7886         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7887         macro.
7888         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7889         (EXCEPTION_SET_FORCES_TRAP): Likewise.
7891 2016-08-09  Torvald Riegel  <triegel@redhat.com>
7893         * include/atomic.h (atomic_fetch_and_relaxed,
7894         atomic_fetch_and_release, atomic_fetch_or_release,
7895         atomic_fetch_xor_release): New.
7897 2016-08-06  Christian Seiler  <christian@iwakd.de>
7899         [BZ #20444]
7900         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7901         MACH_PORT_NULL.
7903 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7905         * math/s_fdim.c: Avoid alias renamed.
7906         * math/s_fdimf.c: Likewise.
7907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7908         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7909         Add s_fdimf-vis3, s_fdim-vis3.
7910         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7911         (CFLAGS-s_fdim-vis3.c): Likewise.
7912         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7913         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7915 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7918         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7919         Remove s_fdimf-vis3, s_fdim-vis3.
7920         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7921         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7928         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7929         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7931 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7933         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7934         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7935         -Wa,-Av9a -mvis.
7937 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7939         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7940         LIT() to individual constants in simple expressions
7941         after splitting on spaces.
7942         (_apply_lit): Rename replaced version, and use it to
7943         apply to what appears to be a token.
7945         * math/libm-test.inc: Fix many, many issues with
7946         spacing.
7948 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
7950         * math/math.h: Move comment about <bits/mathdef.h> definitions
7951         above inclusion of <bits/mathdef.h>.  Do not mention
7952         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7954 2016-08-05  Torvald Riegel  <triegel@redhat.com>
7956         * include/atomic.h (atomic_exchange_relaxed): New.
7958 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
7960         * math/e_scalb.c: Do not include <fenv.h>.
7961         (invalid_fn): Do calculation resulting in NaN instead of raising
7962         FE_INVALID and returning a NaN explicitly.
7963         * math/e_scalbf.c: Do not include <fenv.h>.
7964         (invalid_fn): Do calculation resulting in NaN instead of raising
7965         FE_INVALID and returning a NaN explicitly.
7966         * math/e_scalbl.c: Do not include <fenv.h>.
7967         (invalid_fn): Do calculation resulting in NaN instead of raising
7968         FE_INVALID and returning a NaN explicitly.
7970 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
7972         * po/de.po: Updated from Translation Project.
7973         * po/fi.po: Likewise.
7974         * po/sv.po: Likewise.
7976 2016-08-04  Florian Weimer  <fweimer@redhat.com>
7978         [BZ #20452]
7979         Use sysdep.o from libc.a in static libraries.
7980         * sysdeps/unix/sysv/linux/i386/Makefile
7981         (libpthread-shared-only-routines): Add sysdep.
7982         (librt-shared-only-routines): Likewise.
7984 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7986         * math/tgmath.h (nextdown): Define if
7987         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7988         (nextup): Likewise.
7990         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7991         macro.
7992         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7993         Document.
7994         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7995         Document macro.
7996         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7997         (exp10f): Likewise.
7998         (exp10l): Likewise.
7999         * math/bits/mathcalls.h (exp10): Declare if
8000         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
8002         * manual/arith.texi (nextup): Fix typo in last change.
8004 2016-08-03  Zack Weinberg  <zackw@panix.com>
8006         [BZ #19239]
8007         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
8008         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
8009         define major, minor, and makedev to issue deprecation warnings on use.
8010         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
8011         previously-activated deprecation warnings for these macros and prevent
8012         subsequent inclusions of this header from having any effect.
8013         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
8014         including <sys/sysmacros.h>, and undefine it again afterward.
8016 2016-08-03  Zack Weinberg  <zackw@panix.com>
8018         * sysdeps/generic/sys/sysmacros.h: Delete file.
8019         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
8020         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
8021         * bits/sysmacros.h: ... here; this encoding is now the generic
8022         encoding.  Now defines only the following macros:
8023         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
8024         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
8025         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
8027         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
8028         bits/sysmacros.h and the above new macros to generate the
8029         public implementations of major, minor, and makedev.
8030         * misc/tst-makedev.c: New test.
8031         * include/sys/sysmacros.h: New wrapper.
8033         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
8034         (routines): Add makedev.
8035         (tests): Add tst-makedev.
8036         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
8037         gnu_dev_makedev.
8038         * posix/Makefile (headers): Remove sys/sysmacros.h.
8039         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
8041         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
8042         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
8043         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8044         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8045         * sysdeps/unix/sysv/linux/arm/libc.abilist
8046         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8047         * sysdeps/unix/sysv/linux/i386/libc.abilist
8048         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8049         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8050         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8051         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8052         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8053         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8054         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8055         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8056         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8061         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8062         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8063         * sysdeps/unix/sysv/linux/sh/libc.abilist
8064         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8065         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8068         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8069         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8070         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8071         Add GLIBC_2.25.
8073         * include/features.h (__glibc_clang_prereq): New macro.
8074         * misc/sys/cdefs.h (__glibc_clang_has_extension)
8075         (__attribute_deprecated_msg__): New macros.
8077 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8079         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
8080         macro.
8081         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
8082         * manual/arith.texi (issignaling): Document as ISO from TS
8083         18661-1:2014.
8084         (nextup): Likewise.
8085         (nextupf): Likewise.
8086         (nextupl): Likewise.
8087         (nextdown): Likewise.
8088         (nextdownf): Likewise.
8089         (nextdownl): Likewise.
8090         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
8091         macro.
8092         * math/math.h: Define
8093         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8094         <bits/libc-header-start.h> instead of including <features.h>.
8095         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
8096         [__USE_GNU].
8097         * math/bits/mathcalls.h (nextdown): Declare if
8098         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
8099         (nextup): Likewise.
8100         (__issignaling): Likewise.
8102 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8104         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
8105         check, and remove __glibc_likely hint
8106         from FP_INFINITE check.
8107         * s_csinhf.c (__csinhf): Likewise.
8109         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
8110         hint from FP_INFINITE check.
8111         * s_csinhl.c (__csinhl): Likewise.
8113 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8115         * math/Makefile (libm-calls): Insert F placeholder into
8116         object names.  Move w_lgamma_compat* routines into
8117         (libm-compat-calls): New variable.
8118         (libm-compat-calls-ldouble-yes): New variable.
8119         (calls): Insert F placeholder.
8120         (generated): Redefine using new type-foreach macro call.
8121         (routines): Likewise.
8123         (types): New variable to hold a list of symbolic names
8124         for each type supported by the target machine.
8125         (libm-routines): Redefine using new types variable.
8126         (type-foreach): macro to replace fooF with the
8127         appropriately suffixed foo for each types.
8129         (type-ldouble-suffix): New variable.
8130         (type-ldouble-routines): Likewise.
8131         (type-ldouble-yes): Likewise.
8132         (type-double-suffix): Likewise.
8133         (type-double-routines): Likewise.
8134         (type-float-suffix): Likewise.
8135         (type-float-routines): Likewise.
8137         (dbl-only-routines): Remove.
8138         (long-c-yes): Likewise.
8139         (long-m-routines): Likewise.
8140         (long-m-support): Likewise.
8141         (long-m-yes): Likewise.
8142         (test-longdouble-yes): Likewise.
8144         (test-float.o): Simplify by increasing the scope of the
8145         recipe which adds libm-test.stmp to the vector types.
8146         (test-ifloat.o): Likewise.
8147         (test-float-finite.o): Likewise.
8148         (test-double.o): Likewise
8149         (test-idouble.o): Likewise.
8150         (test-double-finite.o): Likewise.
8151         (test-ldouble.o): Likewise
8152         (test-ildoubl.o): Likewise.
8153         (test-ldouble-finite.o): Likewise.
8155         (libm-tests): Redefine type tests using foreach and the
8156         list of types in types.
8158         (CPPFLAGS-test-ildoubl.c): Rename to
8159         (CPPFLAGS-test-ildouble.c): New variable
8161         * math/test-ildoubl.c: Rename to
8162         * math/test-ildouble.c: New file.
8164 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8166         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
8167         Use fabsl instead of fabs.
8168         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
8169         Likewise.
8170         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
8171         Add long double suffix to constant to ensure proper
8172         promotion to long double.
8174 2016-08-03  Tom Tromey  <tom@tromey.com>
8176         [BZ #20311]
8177         * nptl_db/Makefile (headers): Add proc_service.h.
8178         * nptl_db/proc_service.h: Add include guard.  Use
8179         __BEGIN/__END_DECLS.
8180         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
8181         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
8182         arguments.
8185 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8187         [BZ #17730]
8188         Avoid using memalign for TCB allocations.
8189         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8190         (_dl_allocate_tls_storage): Use malloc and manual alignment.
8191         Avoid alignment gap in the TLS_DTV_AT_TP case.
8192         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8193         determine the pointer to free.
8194         * nptl/tst-tls3-malloc.c: New test.
8195         * nptl/Makefile (tests): Add it.
8196         (tst-tls3-malloc): Link with libdl, libpthread.
8197         (LDFLAGS-tst-tls3-malloc): Set.
8198         (tst-tls3-malloc.out): Depend on DSO used in test.
8200 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8202         [BZ #17730]
8203         Avoid using memalign for TLS allocations.
8204         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
8205         is_static member with to_free member.
8206         (union dtv): Use struct dtv_pointer.
8207         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8208         dtv_pointer instead of is_static.
8209         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8210         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8211         instead of val.
8212         (allocate_dtv_entry): New function.
8213         (allocate_and_init): Return struct dtv_pointer.  Call
8214         allocate_dtv_entry instead of __libc_memalign.
8215         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8216         instead of val.
8217         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8218         instead of is_static.  Adjust call to allocate_and_init.
8219         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8220         struct dtv_pointer instead of val.
8222 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8224         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8225         (MALLOC_ALIGN_MASK): Move ...
8226         * malloc/malloc-internal.h: ... to here.
8227         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8229 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8231         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8232         (UDP_ENCAP_GTP1U): Likewise.
8234         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8235         (PF_MAX): Update value.
8236         (AF_QIPCRTR): New macro.
8238 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8240         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8241         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8242         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8244         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8245         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8246         s_truncf-vis3, s_trunc-vis3.
8247         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8248         (CFLAGS-s_ceil-vis3.c): Likewise.
8249         (CFLAGS-s_floorf-vis3.c): Likewise.
8250         (CFLAGS-s_floor-vis3.c): Likewise.
8251         (CFLAGS-s_truncf-vis3.c): Likewise.
8252         (CFLAGS-s_trunc-vis3.c): Likewise.
8253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8261         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8262         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8263         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8264         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8266 2016-08-02  David S. Miller  <davem@davemloft.net>
8268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8269         (__nearbyint_vis3): Don't check for sNaN before float register is
8270         loaded with the incoming argument.
8271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8272         (__nearbyintf_vis3): Likewise.
8273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8274         Likewise.
8275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8276         Likewise.
8278         * string/test-strncmp.c (do_test_limit): Make sure the test data
8279         stream is aligned as required for the type "CHAR".
8280         (do_test): Likewise.
8282 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8284         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8285         by beq instructions jumping to the end of the function.
8286         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8287         clobber list. Use "i" constraint instead of "X".
8288         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8289         of "X".
8291 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
8293         * bits/libc-header-start.h: New file.
8294         * Makefile (headers): Add bits/libc-header-start.h.
8295         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8296         (__GLIBC_USE): New macro.
8297         * libio/stdio.h: Define
8298         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8299         <bits/libc-header-start.h> instead of including <features.h>.
8300         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8301         (open_memstream): Likewise.
8302         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8303         (__asprintf): Likewise.
8304         (asprintf): Likewise.
8305         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8306         (getdelim): Likewise.
8307         (getline): Likewise.
8308         * string/string.h: Define
8309         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8310         <bits/libc-header-start.h> instead of including <features.h>.
8311         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8312         (strndup): Likewise.
8313         * wcsmbs/wchar.h: Define
8314         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8315         <bits/libc-header-start.h> instead of including <features.h>.
8316         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8317         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8319 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8321         Support linking against compatibility symbols, for use in tests.
8322         * include/libc-symbols.h (symbol_version_reference): New macro.
8323         (symbol_version): Use it.
8324         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8325         (compat_symbol): Use compat_symbol_reference.
8326         (compat_symbol_1, compat_symbol_2): Remove.
8327         (compat_symbol_reference, compat_symbol_reference_1)
8328         (compat_symbol_reference_2): New macro.  Use
8329         symbol_version_reference.
8331 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8333         [BZ #19469]
8334         * malloc/Makefile (CPPFLAGS): Compile tests with
8335         -DTEST_NO_MALLOPT.
8336         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8338 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
8340         [BZ #20033]
8341         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8342         finite version.
8343         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8344         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8345         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8346         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8347         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8348         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8350         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8351         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8352         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8353         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8354         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8355         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8356         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8357         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8358         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8359         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8360         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8361         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8362         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8363         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8364         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8365         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8366         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8367         in zero power.
8369 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8371         [BZ #20370]
8372         * malloc/arena.c (get_free_list): Update comment.  Assert that
8373         arenas on the free list have no attached threads.
8374         (remove_from_free_list): New function.
8375         (reused_arena): Call it.
8377 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
8379         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8380         when it is a NaN.
8381         [_IEEE_FP_INEXACT] Remove.
8382         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8383         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8384         when it is a NaN.
8385         [_IEEE_FP_INEXACT] Remove.
8386         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8387         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8388         when it is a NaN.
8389         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8390         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8391         when its absolute value is greater than 0x1.0p52.
8392         [_IEEE_FP_INEXACT] Remove.
8393         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8394         when its absolute value is greater than 0x1.0p23.
8395         [_IEEE_FP_INEXACT] Remove.
8397 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
8399         * version.h (RELEASE): Set to "development"
8400         (VERSION): Set to 2.24.90.
8401         * NEWS: Add 2.25 section.
8403         * version.h (RELEASE): Set to "stable"
8404         (VERSION): Set to 2.24.
8405         * include/features.h (__GLIBC_MINOR__): Set to 24.
8407         * NEWS: Add 2.24 fixed bugs.
8408         * po/libc.pot: Regenerate.
8410 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
8412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8413         [$(subdir) = math] (libm-sysdep_routines): Remove.
8414         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8415         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8416         s_truncf-vis3, s_trunc-vis3.
8417         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8419         file.
8420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8445         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8446         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8447         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8452         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8453         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8454         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8455         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8456         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8457         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8458         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8459         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8460         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8461         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8462         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8464 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
8466         [BZ #20384]
8467         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8468         test-double-libmvec-sincos-avx-main.o,
8469         test-double-libmvec-sincos-avx2-main.o,
8470         test-double-libmvec-sincos-main.o,
8471         test-float-libmvec-sincosf-avx-main.o,
8472         test-float-libmvec-sincosf-avx2-main.o and
8473         test-float-libmvec-sincosf-main.o.
8474         test-float-libmvec-sincosf-avx512-main.o.
8475         ($(objpfx)test-double-libmvec-sincos): Also link with
8476         $(objpfx)test-double-libmvec-sincos-main.o.
8477         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8478         $(objpfx)test-double-libmvec-sincos-avx-main.o.
8479         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8480         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8481         ($(objpfx)test-float-libmvec-sincosf): Also link with
8482         $(objpfx)test-float-libmvec-sincosf-main.o.
8483         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8484         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8485         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8486         test-double-libmvec-sincos-avx512-main.o and
8487         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8488         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8489         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8490         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8491         (CFLAGS-test-double-libmvec-sincos.c): Removed.
8492         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8493         (CFLAGS-test-double-libmvec-sincos-main.c): New.
8494         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8495         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8496         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8497         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8498         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8499         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8500         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8501         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8502         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8503         -DREQUIRE_AVX2.
8504         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8505         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8506         -DREQUIRE_AVX512F.
8507         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8508         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8509         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8510         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8511         file.
8512         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8513         Likewise.
8514         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8515         Likewise.
8516         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8517         Likewise.
8518         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8519         Likewise.
8520         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8521         Likewise.
8522         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8523         Likewise.
8524         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8525         Likewise.
8527 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
8529         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8531 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
8533         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8534         and typo in a comment about AT_HWCAP entry.
8536 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8538         * sysdeps/aarch64/libm-test-ulps: Updated.
8540 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8542         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8543         of r13 as it is not restored in mvcle case.
8545 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
8547         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8548         Rename "ret" to "__ret".
8549         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8550         inline_syscall5, inline_syscall6): Likewise.
8552 2016-07-19   Will Newton  <will.newton@gmail.com>
8554         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8555         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8556         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8557         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8558         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8560 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
8562         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8563         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8564         -mfpmath=387 with $(rtld-CFLAGS).
8565         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8566         $(rtld-CFLAGS).
8568 2016-07-18   Ross Burton  <ross.burton@intel.com>
8569              Khem Raj  <raj.khem@gmail.com>
8571         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8572         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8573         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8574         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8575         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8576         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8577         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8578         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8579         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8580         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8581         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8582         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8583         R_METAG_TLS_DTPOFF): New.
8585 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8586             Matt Clay  <mclay@lycos.com>
8588         [BZ #20357]
8589         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8590         to call __mpsin/__mpcos and to negate values.
8591         * math/auto-libm-test-in: Add test.
8592         * math/auto-libm-test-out: Regenerate.
8594 2016-07-18  Zack Weinberg  <zackw@panix.com>
8596         * grp/Makefile: Don't install the internal header grp-merge.h.
8598 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8600         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8602 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8604         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8606 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8608         [BZ #15368]
8609         * sysdeps/unix/sysv/linux/nptl-signals.h
8610         (__nptl_clear_internal_signals): New function.
8611         (__libc_signal_block_all): Likewise.
8612         (__libc_signal_block_app): Likewise.
8613         (__libc_signal_restore_set): Likewise.
8614         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8615         implementation.
8616         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8617         the cached pid/tid value in pthread structure.
8619 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
8621         [BZ #20347]
8622         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8624 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8626         [BZ #20348]
8627         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8628         preadv64, pwrite64 and pwritev64.
8630 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8632         [BZ #20350]
8633         * posix/tst-preadwrite.c: Renamed to ...
8634         * posix/tst-preadwrite-common.c: This.
8635         (PREAD): Removed.
8636         (PWRITE): Likewise.
8637         (STRINGIFY): Likewise.
8638         (STRINGIFY2): Likewise.
8639         (do_prepare): Make it static and remove function arguments.
8640         (do_test): Likewise.
8641         (PREPARE): Updated.
8642         (TEST_FUNCTION): New.
8643         (name): Make it static.
8644         (fd): Likewise.
8645         (do_prepare): Use create_temp_file.
8646         (do_test): Renamed to ...
8647         (do_test_with_offset): This.  Make it static and accept offset.
8648         Properly check return value of PWRITE and PREAD.  Return bytes
8649         read.  Don't close fd nor unlink name.
8650         * posix/tst-preadwrite.c: Rewrite.
8651         * posix/tst-preadwrite64.c: Likewise.
8653 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8655         [BZ #20309]
8656         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8657         -mtls-dialect=gnu2 works.
8658         * configure: Regenerated.
8659         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8660         (tests): Add tst-gnu2-tls1.
8661         (modules-names): Add tst-gnu2-tls1mod.
8662         ($(objpfx)tst-gnu2-tls1): New.
8663         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8664         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8665         * elf/tst-gnu2-tls1.c: New file.
8666         * elf/tst-gnu2-tls1mod.c: Likewise.
8667         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8668         bytes for push in the PLT entry to align the stack.
8670 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8672         [BZ #20349]
8673         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8675 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8677         [BZ #18707]
8678         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8679         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8681 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8683         * sysdeps/unix/sysv/linux/sysdep.h
8684         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8685         guards.
8686         * misc/tst-preadvwritev-common.c: New file.
8687         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8688         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8689         a check for files larger than 2GB.
8691         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8692         (__ASSUME_OFF_DIFF_OFF64): Remove define.
8693         * sysdeps/unix/sysv/linux/pread.c
8694         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8695         __OFF_T_MATCHES_OFF64_T.
8696         * sysdeps/unix/sysv/linux/pread64.c
8697         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8698         * sysdeps/unix/sysv/linux/preadv.c
8699         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8700         * sysdeps/unix/sysv/linux/preadv64.c
8701         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8702         * sysdeps/unix/sysv/linux/pwrite.c
8703         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8704         * sysdeps/unix/sysv/linux/pwrite64.c
8705         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8706         * sysdeps/unix/sysv/linux/pwritev.c
8707         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8708         * sysdeps/unix/sysv/linux/pwritev64.c
8709         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8711 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
8713         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8714         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8716 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8718         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8720 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8722         [BZ #20240]
8723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8724         (CFLAGS-s_modf-ppc32.c): New variable.
8725         (CFLAGS-s_modff-ppc32.c): Likewise.
8726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8727         (CFLAGS-s_modf-ppc64.c): Likewise.
8728         (CFLAGS-s_modff-ppc64.c): Likewise.
8730 2016-07-07  Andreas Schwab  <schwab@suse.de>
8732         [BZ #20263]
8733         * nptl/tst-robust10.c: New test.
8734         * nptl/Makefile (tests): Add tst-robust10.
8736 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
8738         [BZ #20263]
8739         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8741 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8743         * sysdeps/s390/linkmap.h (struct link_map_machine):
8744         Remove member gotplt and add member jmprel.
8745         * sysdeps/s390/s390-32/dl-machine.h
8746         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8747         instead of gotplt with &got[3].
8748         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8749         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8751 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
8753         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8755 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8757         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8758         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8759         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8760         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8761         * libio/vtables.c (_IO_vtable_check)
8762         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8763         * libio/libioP.h (IO_set_accept_foreign_vtables)
8764         [!PTR_MANGLE]: Do not call PTR_MANGLE.
8766 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
8768         [BZ #20314]
8769         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8770         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8771         $(common-objpfx)cmath.
8772         ($(common-objpfx)cstdlib): New target.
8773         ($(common-objpfx)cmath): Likewise.
8775 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
8777         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8779 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8781         [BZ #20327]
8782         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8783         are not part of the string.
8785 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8787         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8788         * nptl/tst-cancel4-common.h (fifoname): New variable.
8789         (fifofd): Likewise.
8790         (cl_fifo): New function.
8791         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8792         SIGINT.
8793         (tf_open): Add early cancel test.
8795 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
8797         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8799 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
8801         * sysdeps/generic/ldsodefs.h
8802         (dl_symbol_visibility_binds_local_p): New inline function.
8803         * elf/dl-addr.c (determine_info): Treat hidden and internal
8804         symbols as local.
8805         * elf/dl-lookup.c (do_lookup_x): Likewise.
8806         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8808 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
8810         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8811         invalid exception for a sNaN input.
8812         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8813         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8814         (__nearbyint_vis3): Likewise
8815         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8816         (__nearbyintf_vis3): Likewise
8817         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8818         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8819         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8820         Likewise.
8821         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8822         Likewise.
8824 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
8826         [BZ #20139]
8827         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8828         (HAVE_AVX512DQ_ASM_SUPPORT): This.
8829         * sysdeps/x86_64/configure.ac: Require assembler from binutils
8830         2.24 or above.
8831         (HAVE_AVX512_ASM_SUPPORT): Removed.
8832         (HAVE_AVX512DQ_ASM_SUPPORT): New.
8833         * sysdeps/x86_64/configure: Regenerated.
8834         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8835         check unconditional.
8836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8837         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8838         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8839         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8840         Likewise.
8841         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8842         Likewise.
8843         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8844         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8845         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8846         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8847         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8848         Likewise.
8849         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8850         Likewise.
8851         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8852         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8853         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8854         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8855         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8856         Likewise.
8857         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8858         Likewise.
8859         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8860         Likewise.
8861         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8862         Likewise.
8863         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8864         Likewise.
8865         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8866         Likewise.
8867         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8868         Likewise.
8869         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8870         Likewise.
8871         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8872         Likewise.
8873         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8874         Likewise.
8875         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8876         Likewise.
8878 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
8880         [BZ #20024]
8881         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8882         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8883         of this implementation of vector function.
8884         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8885         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8886         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8887         Likewise.
8888         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8889         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8890         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8891         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8892         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8893         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8894         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8895         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8896         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8897         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8898         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8899         for testing vector sincos with fixed ABI.
8900         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8901         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8902         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8903         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8904         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8905         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8906         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8907         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8908         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8909         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8910         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8911         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8912         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8913         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8914         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8915         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8917 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8919         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8921 2016-06-30  Anton Blanchard  <anton@samba.org>
8923         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8924         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8925         s_sinf-ppc64.
8926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8929         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8931 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8935         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8936         e_expf-ppc64.
8937         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8938         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8939         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8940         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8942 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
8944         [BZ #20277]
8945         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8946         when SHARED is defined.
8948 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
8950         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8951         (index_arch_Prefer_ERMS): Likewise.
8952         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8953         __memcpy_erms for Prefer_ERMS.
8954         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8955         (__memmove_erms): Enabled for libc.a.
8956         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8957         __memmove_erms or Prefer_ERMS.
8958         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8959         __mempcpy_erms for Prefer_ERMS.
8960         * sysdeps/x86_64/multiarch/memset.S (memset): Return
8961         __memset_erms for Prefer_ERMS.
8963 2016-06-30  Andreas Schwab  <schwab@suse.de>
8965         [BZ #20262]
8966         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8967         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
8968         of memory.
8970 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
8972         [BZ #18645]
8973         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8974         (test-extras): Add tst-cleanupx4aux.
8975         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
8976         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8977         tst-cleanupx4aux.o.
8978         * nptl/tst-cleanupx4aux.c: New file.
8980 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8982         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8984 2016-06-29  Andreas Schwab  <schwab@suse.de>
8986         [BZ #20260]
8987         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8988         address before the beginning of the string as an integer to avoid
8989         array-bounds warning.
8991 2016-06-28  Richard Henderson  <rth@redhat.com>
8993         * elf/elf.h (EM_BPF): New.
8994         (EM_NUM): Update.
8995         (R_BPF_NONE, R_BPF_MAP_FD): New.
8997         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8998         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8999         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
9000         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
9001         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
9002         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
9003         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
9004         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
9005         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
9006         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
9007         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
9008         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
9009         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
9010         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
9011         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
9012         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
9013         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
9014         (EM_NUM): Update.
9016 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
9018         [BZ #18960]
9019         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
9020         Set _nl_current_LC_CATEGORY_used to two instead of one.
9022 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
9024         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
9025         (do_test): ... this.
9026         (TEST_FUNCTION): New macro.
9027          Include test-skeleton.c.
9028         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
9029         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
9031 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
9033         [BZ #15479]
9034         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
9035         floating-point environment rather than just control word.
9036         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9037         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
9038         floating-point environment, with "invalid" exceptions merged in,
9039         rather than just control word.
9040         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
9041         * math/libm-test.inc (trunc_test_data): Do not allow spurious
9042         "inexact" exceptions.
9044         [BZ #15479]
9045         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
9046         floating-point environment rather than just control word.
9047         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9048         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
9049         floating-point environment, with "invalid" exceptions merged in,
9050         rather than just control word.
9051         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
9052         * math/libm-test.inc (floor_test_data): Do not allow spurious
9053         "inexact" exceptions.
9055         [BZ #15479]
9056         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
9057         floating-point environment rather than just control word.
9058         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9059         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
9060         floating-point environment, with "invalid" exceptions merged in,
9061         rather than just control word.
9062         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
9063         * math/libm-test.inc (ceil_test_data): Do not allow spurious
9064         "inexact" exceptions.
9066 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
9068         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
9069         __libc_vfork.
9070         (__vfork) [IS_IN (libc)]: Remove alias.
9071         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
9072         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9073         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9075 2016-06-24  Torvald Riegel  <triegel@redhat.com>
9077         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
9078         of atomic_compare_and_exchange_bool_rel.
9079         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9080         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
9081         catomic_compare_and_exchange_bool_rel): Remove.
9082         * sysdeps/aarch64/atomic-machine.h
9083         (atomic_compare_and_exchange_bool_rel): Likewise.
9084         * sysdeps/alpha/atomic-machine.h
9085         (atomic_compare_and_exchange_bool_rel): Likewise.
9086         * sysdeps/arm/atomic-machine.h
9087         (atomic_compare_and_exchange_bool_rel): Likewise.
9088         * sysdeps/mips/atomic-machine.h
9089         (atomic_compare_and_exchange_bool_rel): Likewise.
9090         * sysdeps/microblaze/atomic-machine.h
9091         ( __arch_compare_and_exchange_bool_8_rel,
9092         __arch_compare_and_exchange_bool_16_rel): Likewise.
9093         * sysdeps/powerpc/atomic-machine.h
9094         ( __arch_compare_and_exchange_bool_8_rel,
9095         __arch_compare_and_exchange_bool_16_rel): Likewise.
9096         * sysdeps/powerpc/powerpc32/atomic-machine.h
9097         ( __arch_compare_and_exchange_bool_32_rel,
9098         __arch_compare_and_exchange_bool_64_rel): Likewise.
9099         * sysdeps/powerpc/powerpc64/atomic-machine.h
9100         ( __arch_compare_and_exchange_bool_32_rel,
9101         __arch_compare_and_exchange_bool_64_rel): Likewise.
9102         * sysdeps/tile/atomic-machine.h
9103         (atomic_compare_and_exchange_bool_rel): Likewise.
9105 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
9107         [BZ #20296]
9108         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
9109         when either argument is a NaN.
9110         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9111         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
9113         * math/libm-test.inc (snan_value_ld): New macro.
9114         (isgreater_test_data): Add sNaN tests.
9115         (isgreaterequal_test_data): Likewise.
9116         (isless_test_data): Likewise.
9117         (islessequal_test_data): Likewise.
9118         (islessgreater_test_data): Likewise.
9119         (isunordered_test_data): Likewise.
9120         (nextafter_test_data): Likewise.
9121         (nexttoward_test_data): Likewise.
9122         (remainder_test_data): Likewise.
9123         (remquo_test_data): Likewise.
9124         (significand_test_data): Likewise.
9125         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
9127 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9129         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
9130         environment macros are defined.
9131         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
9133 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9135         [BZ #20191]
9136         Implement vtable verification in libio.
9137         * Makerules (shlib.lds): Place __libc_IO_vtables section.
9138         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
9139         * debug/vdprintf_chk.c (__vdprintf_chk): Call
9140         _IO_new_file_init_internal instead of _IO_file_init.
9141         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
9142         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
9143         * libio/Makefile (routines): Add vtables.
9144         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
9145         (_IO_init): Remove, not for internal use.
9146         (_IO_init_internal): Declare, internal replacement for _IO_init.
9147         (_IO_file_init): Remove, not for internal use.
9148         (_IO_new_file_init): Remove, not for internal use.
9149         (_IO_new_file_init_internal): Declare, internal replacement for
9150         _IO_new_file_init.
9151         (_IO_old_file_init): Remove, not for internal use.
9152         (_IO_old_file_init_internal): Declare, internal replacement for
9153         _IO_old_file_init.
9154         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
9155         internal use.
9156         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
9157         Declare.
9158         (libio_vtable): New macro.
9159         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
9160         functions.
9161         * libio/fileops.c (_IO_new_file_init_internal): Rename from
9162         _IO_new_file_init.
9163         (_IO_new_file_init): New externally visible wrapper which disables
9164         vtable verification.
9165         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
9166         Define as vtables.
9167         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
9168         (_IO_init): New externally visible wrapper which disables
9169         vtable verification.
9170         * libio/iofdopen.c (_IO_new_fdopen): Call
9171         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
9172         comment.
9173         * libio/iofopen.c (__fopen_internal): Call
9174         _IO_new_file_init_internal instead of _IO_file_init.
9175         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
9176         Define as vtables.
9177         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
9178         _IO_new_file_init_internal instead of _IO_file_init.
9179         * libio/iopopen.c (_IO_new_popen): Likewise.
9180         (_IO_proc_jumps): Define as vtable.
9181         * libio/iovdprintf.c (_IO_vdprintf): Call
9182         _IO_new_file_init_internal instead of _IO_file_init.
9183         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
9184         (__open_memstream): Call _IO_init_internal instead of _IO_init.
9185         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9186         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9187         _IO_old_file_init.
9188         (_IO_old_file_init): New externally visible wrapper which disables
9189         vtable verification.
9190         (_IO_old_file_jumps): Define as vtable.
9191         * libio/oldiofdopen.c (_IO_old_fdopen): Call
9192         _IO_old_file_init_internal instead of _IO_old_file_init.
9193         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9194         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9195         (_IO_old_proc_jumps): Define as vtable.
9196         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9197         Define as vtables.
9198         * libio/vtables.c: New file.
9199         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9200         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9201         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9202         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9203         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9204         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9205         instead of _IO_init.
9207 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9209         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9211 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9213         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9214         potentially unused.
9216 2016-06-22  Florian Weimer  <fweimer@redhat.com>
9218         * test-skeleton.c (write_message): New function.
9219         * malloc/tst-mallocfork2.c (write_message): Remove.
9220         * debug/tst-longjmp_chk2.c (write_indented): New function.
9221         (write_message): Remove.
9222         (stackoverflow_handler): Call write_indented.
9224 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
9226         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9227         "inexact" exceptions after fnstenv.
9228         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9229         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9230         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9232 2015-06-22  Zack Weinberg  <zackw@panix.com>
9234         * sysdeps/generic/bits/hwcap.h: Moved to ...
9235         * bits/hwcap.h: Here.
9237 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
9239         * sysdeps/aarch64/memcpy.S (memcpy):
9240         Further tuning for performance.
9242 2016-06-21  Florian Weimer  <fweimer@redhat.com>
9244         [BZ #20284]
9245         * malloc/arena.c (reused_arena): Do not return NULL if we start
9246         out with a non-corrupted arena.
9248 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9250         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9251         * misc/tst-preadvwritev.c: New file.
9252         * misc/tst-preadvwritev64.c: Likewise.
9253         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9254         usage.
9255         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9256         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9257         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9258         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9260 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
9262         [BZ #19654]
9263         * sysdeps/x86_64/fpu/Makefile: Added new tests.
9264         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9265         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9266         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9267         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9268         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9269         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9270         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9271         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9272         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9273         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9274         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9275         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9276         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9277         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9278         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9279         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9280         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9281         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9282         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9283         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9284         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9285         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9286         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9287         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9288         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9290 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9292         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9293         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9295 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9297         * sysdeps/aarch64/memcpy.S (memcpy):
9298         Rewrite of optimized memcpy and memmove.
9299         * sysdeps/aarch64/memmove.S (memmove): Remove
9300         memmove code (merged into memcpy.S).
9302 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9304         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9305         * sysdeps/generic/dl-dtv.h: New file.
9306         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9307         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9308         (dtv_t): Remove.
9309         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9310         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9311         (dtv_t): Remove.
9312         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9313         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9314         (dtv_t): Remove.
9315         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9316         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9317         (dtv_t): Remove.
9318         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9319         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9320         (dtv_t): Remove.
9321         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9322         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9323         (dtv_t): Remove.
9324         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9325         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9326         (dtv_t): Remove.
9327         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9328         (dtv_t): Remove.
9329         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9330         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9331         (dtv_t): Remove.
9332         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9333         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9334         (dtv_t): Remove.
9335         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9336         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9337         (dtv_t): Remove.
9338         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9339         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9340         (dtv_t): Remove.
9341         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9342         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9343         (dtv_t): Remove.
9344         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9345         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9346         (dtv_t): Remove.
9347         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9348         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9349         (dtv_t): Remove.
9350         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9351         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9352         (dtv_t): Remove.
9354 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9356         Revert symbol poisoning of  __malloc_initialize_hook.
9357         * include/stdc-predef.h (__malloc_initialize_hook): Remove
9358         poisoning.
9359         * malloc/Makefile: Remove un-poisoning.
9360         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9361         instead of old__malloc_initialize_hook.
9362         * malloc/malloc-hooks.h: Likewise.
9363         * malloc/malloc.c: Likewise.
9364         * malloc/mcheck-init.c: Likewise.
9366 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
9368         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9370 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
9372         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9373         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9374         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9375         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9377 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9379         * NEWS: Mention addition of nextup and nextdown.
9380         * manual/arith.texi: Document nextup and nextdown.
9381         * manual/libm-err-tab.pl: Add nextup and nextdown.
9382         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9383         * math/Versions (libm): Add GLIBC_2.24.
9384         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9385         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9386         Add new test.
9387         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9388         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9389         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9390         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9391         (nextup_test_data): Likewise.
9392         (nextdown_test_data): Likewise.
9393         * math/s_nextdown.c: New file.
9394         * math/s_nextdownf.c: Likewise.
9395         * math/s_nextdownl.c: Likewise.
9396         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9397         F(nextup): New function.
9398         F(nextdown): Likewise.
9399         * math/tgmath.h: Add nextup and nextdown.
9400         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9401         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9402         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9403         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9404         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9405         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9406         Add nextup and nextdown.
9407         (CFLAGS-nldbl-nextup.c): New variable.
9408         (CFLAGS-nldbl-nextdown.c): Likewise.
9409         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9410         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9411         * sysdeps/nacl/libm.abilist: Update.
9412         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9413         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9414         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9415         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9416         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9417         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9418         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9419         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9420         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9421         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9422         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9423         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9426         Likewise.
9427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9429         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9430         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9431         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9432         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9433         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9436         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9437         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9438         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9439         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9441 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9443         * manual/pattern.texi: Fix typos & grammar errors.
9445 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9447         * manual/search.texi: Fix typos & grammar errors.
9449 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9451         * manual/message.texi: Fix typos & grammar errors.
9453 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
9455         * manual/contrib.texi: Fix spelling typos.
9456         * manual/crypt.texi: Likewise.
9457         * manual/filesys.texi: Likewise.
9458         * manual/locale.texi: Likewise.
9459         * manual/message.texi: Likewise.
9460         * manual/nss.texi: Likewise.
9461         * manual/string.texi: Likewise.
9463 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9465         * manual/locale.texi: Fix typos & grammar errors.
9467 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9469         * manual/charset.texi: Fix typos & grammar errors.
9471 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9473         * manual/string.texi: Fix typos.
9475 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9477         * manual/ctype.texi: Fix typos.
9479 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9481         * manual/memory.texi: Fix various typos & grammar errors.
9483 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
9485         [BZ #20255]
9486         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
9487         * math/libm-test.inc (fdim_test_data): Add another test.
9489         [BZ #6796]
9490         [BZ #20255]
9491         [BZ #20256]
9492         * math/s_fdim.c: Include <math_private.h>.
9493         (__fdim): Use math_narrow_eval on result.
9494         * math/s_fdimf.c: Include <math_private.h>.
9495         (__fdimf): Use math_narrow_eval on result.
9496         * sysdeps/i386/fpu/s_fdim.S: Remove file.
9497         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9498         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9499         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9500         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9501         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9502         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9503         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9504         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9505         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9506         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9507         * math/libm-test.inc (fdim_test_data): Expect errno setting on
9508         overflow.  Add sNaN tests.
9510         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9511         fpclassify.
9512         * math/s_fdimf.c (__fdimf): Likewise.
9513         * math/s_fdiml.c (__fdiml): Likewise.
9515 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9517         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9518         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9520         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9521         ifunc'ed strcasecmp/strncasecmp.
9522         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9523         [EALIGN]: Removed.
9524         [END]: Likewise.
9525         [__strcasecmp]: Define instead of the above to control symbol name.
9526         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9527         for __strcasecmp_power8.
9528         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9529         for __strncasecmp_power8.
9530         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9531         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9532         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9533         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9534         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9535         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9537 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
9539         [BZ #20252]
9540         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9541         arguments when second argument is a NaN.
9542         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9543         qNaN tests.
9545         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9546         (conj_test_data): Likewise.
9547         (copysign_test_data): Likewise.
9548         (creal_test_data): Likewise.
9549         (fma_test_data): Likewise.
9550         (fmod_test_data): Likewise.
9552         [BZ #20250]
9553         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9554         itself.
9555         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9556         zero input to itself.
9557         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9558         Likewise.
9559         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9560         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9561         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9562         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9563         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9565 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9567         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9568         * nptl/tst-cancel4-common.c: New file.
9569         * nptl/tst-cancel4-common.h: Likewise.
9570         * nptl/tst-cancel4.c: Move common definitions to
9571         tst-cancel4-common.{c,h} file.
9572         * nptl/tst-cancel4_1.c: New test.
9573         * nptl/tst-cancel4_2.c: New test.
9575 2016-06-13  Florian Weimer  <fweimer@redhat.com>
9577         [BZ #20248]
9578         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9579         (write_message): New function.
9580         (stackoverflow_handler): Call it instead of printf, to avoid
9581         excessive stack usage by printf.
9582         (do_test): Restore SIGSEGV, SIGBUS default handlers.
9584 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9586         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9587         (prio_inherit_missing): Remove define.
9588         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9589         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9591         Likewise.
9592         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9593         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9594         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9595         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9596         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9597         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9599 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9601         [BZ #19670]
9602         [BZ #19672]
9604         * io/test-lfs.c (do_prepare): Use xmalloc.
9605         * io/tst-fcntl.c (do_prepare): Likewise.
9606         * libio/tst-fopenloc.c (do_bz17916): Likewise.
9607         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9608         * login/tst-utmp.c (do_prepare): Likewise.
9609         * posix/tst-exec.c (do_prepare): Likewise.
9610         * posix/tst-pathconf.c (prepare): Likewise.
9611         * posix/tst-spawn.c (do_prepare): Likewise.
9612         * posix/tst-truncate.c (do_prepare): Likewise.
9613         * rt/tst-aio.c (do_prepare): Likewise.
9614         * rt/tst-aio64.c (do_prepare): Likewise.
9616 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9618         [BZ #20237]
9619         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9620         (get*ent): Set entidx to NULL during initialization.  If entidx is
9621         NULL, start iteration from the beginning.
9623 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9625         * malloc/malloc.c (musable): Return correct size for dumped fake
9626         mmapped chunk.
9628 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9630         [BZ #20222]
9631         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9632         (_IO_cookie_write): Likewise.
9633         (_IO_cookie_seek): Likewise.
9634         (_IO_cookie_close): Likewise.
9635         (_IO_old_cookie_seek): Likewise.
9636         (set_callbacks): New function.
9637         (_IO_cookie_init): Call set_callbacks to copy callbacks.
9639 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
9641         * locale/programs/localedef.c (oldstyle_tables): Remove.
9642         * locale/programs/localedef.h (oldstyle_tables): Likewise.
9644 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
9646         [BZ #20240]
9647         * math/Makefile (CFLAGS-s_modf.c): New variable.
9648         (CFLAGS-s_modff.c): Likewise.
9649         (CFLAGS-s_modfl.c): Likewise.
9650         * math/libm-test.inc (modf_test_data): Add sNaN tests.
9652 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
9654         [BZ #20215]
9655         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9656         [!__GNUC_PREREQ (3,2)]: Likewise.
9658 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9660         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9661         (msghdr.msg_controllen): Likewise.
9662         (cmsghdr.cmsg_len): Likewise.
9663         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9664         ptw-oldsendmsg.
9665         (CFLAGS-oldrecvmsg.c): Remove rule.
9666         (CFLAGS-oldsendmsg.c): Likewise.
9667         (CFLAGS-recvmsg.c): Add rule.
9668         (CFLAGS-sendmsg.c): Likewise.
9669         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9670         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9671         (CFLAGS-recvmsg.c): Remove rule.
9672         (CFLAGS-sendmsg.c): Likewise.
9673         (CFLAGS-oldrecvmsg.c): Likewise.
9674         (CFLAGS-oldsendmsg.c): Likewise.
9675         (CFLAGS-recvmmsg.c): Likewise.
9676         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9677         to kernel defined interfaces.
9678         (msghdr.msg_controllen): Likewise.
9679         (cmsghdr.cmsg_len): Likewise.
9680         (msghdr.__glibc_reserved1): Remove member.
9681         (msghdr.__glibc_reserved2): Likewise.
9682         (cmsghdr.__glibc_reserved1): Likewise.
9683         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9684         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9685         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9686         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9687         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9688         version.
9689         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9690         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9691         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9692         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9693         Remove recvmsg and sendmsg.
9694         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9695         Likewise.
9696         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9697         Likewise.
9698         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9699         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9700         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9701         Likewise.
9702         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9703         Likewise.
9704         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9705         [libc] (GLIBC_2.24): Likewise.
9706         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9707         Likewise.
9708         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9709         Likewise.
9710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9711         [libc] (GLIBC_2.24): Likewise.
9712         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9713         Likewise.
9714         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9715         Likewise.
9716         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9717         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9718         Likewise.
9719         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9720         Likewise.
9721         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9722         Likewise.
9723         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9724         Likewise.
9725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9726         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9727         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9728         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9729         version for {recv,send,recm,sendm}msg.
9730         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9731         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9732         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9733         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9734         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9735         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9736         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9737         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9738         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9739         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9740         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9741         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9743         Likewise.
9744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9745         Likewise.
9746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9748         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9749         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9750         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9751         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9752         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9753         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9756         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9757         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9758         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9760 2016-06-10  Florian Weimer  <fweimer@redhat.com>
9762         [BZ #19564]
9763         Remove __malloc_initialize_hook from the API.
9764         * malloc/malloc.h (__malloc_initialize_hook): Remove.
9765         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9766         #pragma GCC poison.
9767         * malloc/malloc-hooks.h: New file.
9768         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9769         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9770         (old__malloc_initialize_hook): Rename from
9771         __malloc_initialize_hook to evade poisoning.  Turn into compat
9772         symbol.
9773         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9774         __malloc_initialize_hook.
9775         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9776         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9777         * manual/memory.texi (Hooks for Malloc): Remove
9778         __malloc_initialize_hook.  Adjust hook example.
9780 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
9782         [BZ #20235]
9783         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9784         itself.
9785         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9786         * math/libm-test.inc (log2_test_data): Add sNaN tests.
9788         [BZ #20234]
9789         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9790         infinity or NaN input to itself.
9792         [BZ #20233]
9793         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9794         to itself.
9796         [BZ #20232]
9797         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9798         itself.
9800 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9802         * sysdeps/x86_64/start.S (_start): Always indirect branch to
9803         __libc_start_main via GOT.
9805 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9807         * sysdeps/x86_64/memcopy.h: New file.
9808         * sysdeps/x86_64/wordcopy.c: Likewise.
9810 2016-06-09  Florian Weimer  <fweimer@redhat.com>
9812         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9813         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9814         <cstdlib>.
9815         (optimization_barrier): New.
9816         (do_test): Use it.  Call quick_exit in the global namespace.
9817         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9818         instead of <cstdlib>, <thread>.
9819         (optimization_barrier): New.
9820         (non_main_thread): Adjust declaration.  Call optimization_barrier.
9821         Call quick_exit in the global namespace.
9822         (do_test): Call optimization_barrier.  Use pthread_create,
9823         pthread_join instead of std::thread.
9825 2016-06-09  Andreas Schwab  <schwab@suse.de>
9827         [BZ #19755]
9828         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9829         new entries in auto-propagate mode.
9830         * nscd/grpcache.c (cache_addgr): Likewise.
9832 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9834         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9835         New functions.
9836         (add_temp_file): Use them.
9838 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
9840         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9842 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
9844         [BZ #20229]
9845         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9846         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9847         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9849         [BZ #20228]
9850         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9851         itself.
9852         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9853         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9855         [BZ #20227]
9856         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9857         itself.
9858         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9859         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9860         * math/libm-test.inc (log_test_data): Add sNaN tests.
9862         [BZ #20226]
9863         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9864         itself.
9865         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9866         * math/libm-test.inc (exp_test_data): Add sNaN tests.
9867         (exp10_test_data): Likewise.
9868         (expm1_test_data): Likewise.
9870         [BZ #20225]
9871         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9872         itself.
9873         * math/s_ldexpf.c (__ldexpf): Likewise.
9874         * math/s_ldexpl.c (__ldexpl): Likewise.
9875         * math/w_scalbln.c (__w_scalbln): Likewise.
9876         * math/w_scalblnf.c (__w_scalblnf): Likewise.
9877         * math/w_scalblnl.c (__w_scalblnl): Likewise.
9878         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9879         (scalbln_test_data): Likewise.
9881         [BZ #20224]
9882         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9883         argument to itself.
9884         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9886 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9888         [BZ #19776]
9889         * sysdeps/x86_64/memcpy.S: Make it dummy.
9890         * sysdeps/x86_64/mempcpy.S: Likewise.
9891         * sysdeps/x86_64/memmove.S: New file.
9892         * sysdeps/x86_64/memmove_chk.S: Likewise.
9893         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9894         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9895         * sysdeps/x86_64/memmove.c: Removed.
9896         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9897         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9898         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9899         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9900         Likewise.
9901         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9902         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9904         memcpy-sse2-unaligned, memmove-avx-unaligned,
9905         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9907         (__libc_ifunc_impl_list): Replace
9908         __memmove_chk_avx512_unaligned_2 with
9909         __memmove_chk_avx512_unaligned.  Remove
9910         __memmove_chk_avx_unaligned_2.  Replace
9911         __memmove_chk_sse2_unaligned_2 with
9912         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
9913         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
9914         with __memmove_avx512_unaligned.  Replace
9915         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9916         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
9917         with __memcpy_chk_avx512_unaligned.  Remove
9918         __memcpy_chk_avx_unaligned_2.  Replace
9919         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9920         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
9921         Replace __memcpy_avx512_unaligned_2 with
9922         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9923         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9924         with __mempcpy_chk_avx512_unaligned.  Remove
9925         __mempcpy_chk_avx_unaligned_2.  Replace
9926         __mempcpy_chk_sse2_unaligned_2 with
9927         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
9928         Replace __mempcpy_avx512_unaligned_2 with
9929         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
9930         Replace __mempcpy_sse2_unaligned_2 with
9931         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
9932         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9933         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9934         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9935         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
9936         (ENTRY): Removed.
9937         (END): Likewise.
9938         (ENTRY_CHK): Likewise.
9939         (libc_hidden_builtin_def): Likewise.
9940         Don't include ../memcpy.S.
9941         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9942         __memcpy_chk_avx512_unaligned_erms and
9943         __memcpy_chk_avx512_unaligned.  Use
9944         __memcpy_chk_avx_unaligned_erms and
9945         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9946         Default to __memcpy_chk_sse2_unaligned.
9947         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9948         Change function suffix from unaligned_2 to unaligned.
9949         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9950         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9951         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9952         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
9953         (ENTRY): Removed.
9954         (END): Likewise.
9955         (ENTRY_CHK): Likewise.
9956         (libc_hidden_builtin_def): Likewise.
9957         Don't include ../mempcpy.S.
9958         (mempcpy): New.  Add a weak alias.
9959         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9960         __mempcpy_chk_avx512_unaligned_erms and
9961         __mempcpy_chk_avx512_unaligned.  Use
9962         __mempcpy_chk_avx_unaligned_erms and
9963         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9964         Default to __mempcpy_chk_sse2_unaligned.
9966 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9968         [BZ #19881]
9969         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9970         into ...
9971         * sysdeps/x86_64/memset.S: This.
9972         (__bzero): Removed.
9973         (__memset_tail): Likewise.
9974         (__memset_chk): Likewise.
9975         (memset): Likewise.
9976         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9977         defined.
9978         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9979         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9980         (__memset_zero_constant_len_parameter): Check SHARED instead of
9981         PIC.
9982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9983         memset-avx2 and memset-sse2-unaligned-erms.
9984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9985         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9986         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9987         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9988         (__bzero): Enabled.
9989         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9990         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9991         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
9992         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
9993         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9994         (memset): Removed.
9995         (__memset_chk): Likewise.
9996         (MEMSET_SYMBOL): New.
9997         (libc_hidden_builtin_def): Replace __memset_sse2 with
9998         __memset_sse2_unaligned.
9999         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
10000         __memset_chk_sse2 and __memset_chk_avx2 with
10001         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
10002         Use __memset_chk_sse2_unaligned_erms or
10003         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
10004         __memset_chk_avx512_unaligned_erms and
10005         __memset_chk_avx512_unaligned.
10007 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10009         * math/gen-auto-libm-test.c (fp_format_desc): remove
10010         suffix member.
10011         (output_generic_value): Remove usage of suffix member,
10012         and the resulting unuse of the fp_format argument.
10013         (output_for_one_input_case): Remove unused fp_format
10014         parameter.
10016         * math/auto-libm-test-out: Regenerate.
10018         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
10019         usage with TEST_COND_ibm128.
10020         (TEST_COND_flt_32): Remove.
10021         (TEST_COND_dbl_64): Remove.
10022         (TEST_COND_ldbl_96_intel): Remove.
10023         (TEST_COND_ldbl_96_m68k): Remove.
10024         (TEST_COND_ldbl_128): Remove.
10026 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10028         * auto-libm-test-in:
10029         Replace flt-32 usage with binary32.
10030         Replace dbl-64 usage with binary64.
10031         Replace ldbl-intel-96 usage with intel96.
10032         Replace ldbl-m68k-96 usage with m68k96.
10033         Replace ldbl-128ibm usage with ibm128.
10034         Replace ldbl-128 usage with binary128.
10036         * auto-libm-test-out: Regenerate.
10038 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10040         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
10041         (parse_ulps): Dynamically generate type name matching
10042         string from all_floats.
10043         (get_ulps): Generate the ulps as an array instead.
10044         (output_ulps): Dynamically compose the type based
10045         on the number of supported formats, and print
10046         the indices as type specific helper macros.
10048         * math/libm-test.inc: Remove comment about CHOOSE.
10049         (ulp_data): Generate the type in libm-test-ulps.h.
10050         (ULP_IDX): New macro.
10051         (find_ulps): Update usage of max_ulp.
10053         * math/test-double-vlen2.h (CHOOSE): Remove.
10054         * math/test-double-vlen4.h (CHOOSE): Likewise.
10055         * math/test-double-vlen8.h (CHOOSE): Likewise.
10056         * math/test-float.c (CHOOSE): Likewise.
10057         * math/test-float-finite.c (CHOOSE): Likewise.
10058         * math/test-double.c (CHOOSE): Likewise.
10059         * math/test-double-finite.c (CHOOSE): Likewise.
10060         * math/test-idouble.c (CHOOSE): Likewise.
10061         * math/test-ifloat.c (CHOOSE): Likewise.
10062         * math/test-ildoubl.c (CHOOSE): Likewise.
10063         * math/test-ldouble-finite.c (CHOOSE): Likewise.
10064         * math/test-ldouble.c (CHOOSE): Likewise.
10066         * math/test-float.h (TEST_FLOAT): Remove.
10067         * math/test-double.h (TEST_DOUBLE): Likewise.
10068         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
10070 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10072         * math/gen-libm-test.pl: (apply_lit): New subroutine.
10073         (parse_args): Strip C suffix from floating point literals
10074         typed with 'f' and wrap them with LIT().
10076         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
10077         (test_ff_f_data_nexttoward): Rename to
10078         (test_fj_f_data): New struct.
10079         (nexttoward_test_data): Relabel tests as
10080         TEST_fj_f instead of TEST_ff_f.
10082 2016-06-08  Florian Weimer  <fweimer@redhat.com>
10084         Emacs bug 23726.
10085         * malloc/malloc.c (dumped_main_arena_start): Update comment.
10086         (__libc_realloc): Correct size computation for dumped fake mmapped
10087         chunks.
10089 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
10091         [BZ #20219]
10092         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
10093         to itself.
10094         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
10096         [BZ #20218]
10097         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
10098         to itself.
10099         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
10101 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
10103         [BZ #20195]
10104         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
10105         check to ...
10106         (init_cpu_features): Here.
10108 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
10110         [BZ #20214]
10111         * sysdeps/unix/sysv/linux/bits/in.h
10112         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10113          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
10114         Define to 1.
10115         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10116          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
10117         Define to 0.
10118         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
10119         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
10121 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
10123         [BZ #20198]
10124         * stdlib/Makefile (tests): Add tst-quick_exit, and
10125         tst-thread-quick_exit.
10126         [ifeq ($(have-cxx-thread_local),yes)]
10127         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
10128         (CFLAGS-tst-thread-quick_exit.o): Likewise.
10129         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
10130         (LDLIBS-tst-thread-quick_exit): Likewise.
10131         [ifneq ($(have-cxx-thread_local),yes)]
10132         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
10133         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
10134         If run_dtors is true call __call_tls_dtors.
10135         (exit): Call __run_exit_handlers with run_dtors set to true.
10136         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
10137         definition.
10138         * stdlib/quick_exit.c (quick_exit): Remove function.
10139         (__new_quick_exit): New function.
10140         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
10141         function.
10142         * stdlib/tst-quick_exit.cc: New file.
10143         * stdlib/tst-thread-quick_exit.cc: New file.
10144         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
10145         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
10146         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
10147         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
10148         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
10149         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
10150         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
10151         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
10152         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
10153         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
10154         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
10155         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
10156         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
10157         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
10158         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
10159         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
10161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
10162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
10163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
10164         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
10165         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
10166         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
10167         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
10168         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
10169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
10170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
10171         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
10172         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
10173         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
10175 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10177         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
10178         a typo in comments.
10180 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10182         [BZ #20213]
10183         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10184         argument to itself.
10185         * math/libm-test.inc (asin_test_data): Add sNaN tests.
10187 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10189         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10190         required flags.
10191         (CFLAGS-pwritev64.c): Likewise.
10192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10193         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10194         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10195         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10196         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10197         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10198         syscall from auto-generation.
10199         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10200         [WORDSIZE == 64] (pwritev64): Remove macro.
10201         [!PWRITEV] (PWRITEV): Likewise.
10202         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10203         [!PWRITEV] (PWRITE): Likewise.
10204         [!PWRITEV] (OFF_T): Likewise.
10205         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10206         (LO_HI_LONG): Remove macro.
10207         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10208         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10209         (PWRITEV): Remove macro.
10210         (PWRITEV_REPLACEMENTE): Likewise.
10211         (PWRITE): Likewise.
10212         (OFF_T): Likewise.
10213         (pwritev64): New function.
10214         * nptl/tst-cancel4.c (tf_writev): Add test.
10216         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10217         required flags.
10218         (CFLAGS-preadv64.c): Likewise.
10219         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10220         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10221         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10222         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10223         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10224         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10225         syscall from auto-generation.
10226         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10227         [WORDSIZE == 64] (preadv64): Remove macro.
10228         [!PREADV] (PREADV): Likewise.
10229         [!PREADV] (PREADV_REPLACEMENT): Likewise.
10230         [!PREADV] (PREAD): Likewise.
10231         [!PREADV] (OFF_T): Likewise.
10232         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10233         (LO_HI_LONG): Remove macro.
10234         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10235         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10236         (PREADV): Remove macro.
10237         (PREADV_REPLACEMENTE): Likewise.
10238         (PREAD): Likewise.
10239         (OFF_T): Likewise.
10240         (preadv64): New function.
10241         * nptl/tst-cancel4.c (tf_preadv): Add test.
10243 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10245         [BZ #20212]
10246         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10247         argument to itself.
10248         * math/libm-test.inc (acos_test_data): Add sNaN tests.
10250 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10252         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10253         New symbol defined as libc_hidden_def.
10254         (strcasestr): Became a weak alias to __strcasestr.
10255         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10256         according to multi-arch support.  Move __stpncpy hidden
10257         definition from here to...
10258         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
10259         symbol stpncpy.
10260         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10261         libc_hidden_builtin_def.
10262         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10263         memset symbol to use when multi-arch support is available.
10265 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10267         * dlfcn/tst-rec-dlopen.c: Include string.h.
10269 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10271         * manual/install.texi: Remove mention of --without-tls
10272         * INSTALL: Regenerate.
10274 2016-06-05  Florian Weimer  <fweimer@redhat.com>
10276         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10277         Remove.
10278         (call_function, interposed_malloc_called): New variables.
10279         (malloc): New function.
10280         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
10281         and clear call_function as needed.
10283 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
10285         * include/wchar.h (__wmemset): Use __typeof.
10287 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
10289         * include/wchar.h (__wmemset): Declare function without typeof.
10291 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
10293         [BZ #20205]
10294         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10295         exponent when incrementing negative subnormal with low mantissa
10296         word zero.
10297         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10298         Add another test.
10300 2016-06-03  Florian Weimer  <fweimer@redhat.com>
10302         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10303         __wmemset instead of wmemset.
10305 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
10307         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10308         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10309         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10310         __USE_KERNEL_IPV6_DEFS to 0.
10311         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10312         Update comment.
10314 2016-06-01  Florian Weimer  <fweimer@redhat.com>
10316         [BZ #19861]
10317         Do not use IFUNC resolver with potentially unrelocated symbol.
10318         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10319         (DEFINE_FORK): Remove macro and inline definition.
10320         (fork_alias): Renamed from fork_ifunc.
10321         (__fork_alias): Renamed from __fork_ifunc.
10323 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
10325         [BZ 19653]
10326         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10327         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10329 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10331         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10332         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10333         i386-linux-gnu).
10334         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10335         Set to no.
10336         * sysdeps/mach/hurd/configure: Refresh.
10338 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10340         [BZ #20178]
10341         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10342         on failure instead of exit.
10344 2016-05-30  Roland McGrath  <roland@hack.frob.com>
10346         [BZ #3629]
10347         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10348         of POSIX.1-2008.
10350 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10352         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10353           Use PLT entry for calling _hurd_self_sigstate.
10355 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
10357         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10358         available logical processors with SMT level type sharing L2
10359         cache for Intel processors.
10361 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10363         [BZ #20160]
10364         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10365         argument to itself before returning the result.
10366         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10367         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10368         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10369         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10370         Likewise.
10371         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10372         Likewise.
10373         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10374         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10375         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10376         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10377         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10378         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10380         [BZ #20160]
10381         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10382         argument to itself before returning the result.
10383         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10384         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10385         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10386         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10387         Likewise.
10388         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10389         Likewise.
10390         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10391         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10392         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10393         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10394         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10395         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10397 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10399         * libm-test.inc: Replace usage of M_El with
10400         (lit_e): New macro.
10402 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10404         * libm-test.inc: Replace usage of M_PI_4l with
10405         (lit_pi_4_d): New macro.
10407 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10409         * libm-test.inc: Replace usage of M_PIl with
10410         (lit_pi): New macro.
10412 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10414         * libm-test.inc: Replace usage of M_PI2l with
10415         (lit_pi_2_d): New macro.
10417         * math/test-double.h (LITM): New macro.
10418         * math/test-float.h (LITM): Likewise.
10419         * math/test-ldouble.h (LITM): Likewise.
10421 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10423         * libm-test.inc (M_PI_34l): Rename to
10424         (lit_pi_3_m_4_d): New Macro.
10425         (M_PI_34_LOG10El): Rename to
10426         (lit_pi_3_m_4_ln10_m_d): New Macro.
10427         (M_PI2_LOG10El): Rename to
10428         (lit_pi_2_ln10_m_d):  New Macro.
10429         (M_PI4_LOG10El): Rename to
10430         (lit_pi_4_ln10_m_d):  New Macro.
10431         (M_PI_LOG10El): Rename to
10432         (lit_pi_ln10_d):  New Macro.
10434 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10436         [BZ #20157]
10437         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10438         determine whether to negate low half if [_ARCH_PPCGR], and integer
10439         comparison otherwise.
10440         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10441         determine whether to negate low half.
10443         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10444         (NO_TEST_INLINE_DOUBLE): Likewise.
10445         (TEST_COND_x86_64): Likewise.
10446         (TEST_COND_x86): Likewise.
10447         (M_PI_6l): Likewise.
10449 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10451         * math/libm-test.inc:
10452         (TEST_FLOAT): Change usage to TEST_COND_binary32.
10453         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10454         (TEST_LDOUBLE): Update usage to evaluate as true if
10455         the guarded tests match the property being tested.
10456         (LDBL_MAX_EXP): Change to MAX_EXP.
10457         (LDBL_MIN_EXP): Change to MIN_EXP.
10458         (LDBL_MANT_DIG): Change to MANT_DIG, except for
10459         nexttoward tests.
10461 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10463         * math/libm-test.inc:
10464         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10465         (TYPE_MIN): Likewise.
10466         (TYPE_TRUE_MIN): Likewise.
10467         (TYPE_MAX): Likewise.
10468         (MIN_EXP): Likewise.
10469         (MAX_EXP): Likewise.
10470         (MANT_DIG): Likewise.
10472         (FSTR_MAX): New macro.
10473         (__CONCATX): Likewise.
10474         (QTYPE_STR): Likewise.
10475         (TEST_COND_binary32): Likewise.
10476         (TEST_COND_binary64): Likewise.
10477         (TEST_COND_binary128): Likewise.
10478         (TEST_COND_ibm128): Likewise.
10479         (TEST_COND_intel96): Likewise.
10480         (TEST_COND_m68k96): Likewise.
10482         (TEST_COND_flt_32): Redefine as equivalent format test macro.
10483         (TEST_COND_dbl_64): Likewise.
10484         (TEST_COND_ldbl_96_intel): Likewise.
10485         (TEST_COND_ldbl_96_m68k): Likewise.
10486         (TEST_COND_ldbl_128): Likewise.
10487         (TEST_COND_ldbl_128ibm): Likewise.
10489         (plus_zero): Redefine using LIT macro.
10490         (minus_zero): Likewise.
10491         (plus_infty): Redefine as (INF).
10492         (minux_infty): Redefine as (-INF).
10493         (max_value): Redefine as TYPE_MAX.
10494         (min_value): Redefine as TYPE_MIN.
10495         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10497         (print_float): Refactor to use snprintf to convert FLOAT values
10498         to string. This brings it closer to dropin replacement of strtof
10499         for the TS 18661 defined types.
10500         (update_stats): Likewise.
10501         (print_complex_function_ulps): Likewise.
10502         (print_max_error): Likewise.
10503         (print_complex_max_error): Likewise.
10504         (check_float_internal): Likewise.
10506         * math/test-float.h (PREFIX): New macro.
10507         (LIT): Likewise.
10508         (TYPE_STR): Likewise.
10509         (FTOSTR): Likewise.
10511         * math/test-double.h (PREFIX): New macro.
10512         (LIT): Likewise.
10513         (TYPE_STR): Likewise.
10514         (FTOSTR): Likewise.
10516         * math/test-ldouble.h (PREFIX): New macro.
10517         (LIT): Likewise.
10518         (TYPE_STR): Likewise.
10519         (FTOSTR): Likewise.
10521 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10523         [BZ #20156]
10524         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10525         to itself when zero or not finite.
10526         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10527         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10528         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10529         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10531 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
10533         [BZ #20153]
10534         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10535         x * x + x for infinities and NaNs.
10537         [BZ #20151]
10538         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10539         argument to itself before returning result.
10540         (__ieee754_y0l): Likewise.
10541         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10542         (__ieee754_y1l).
10544         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10545         (atan_test_data): Likewise.
10546         (ceil_test_data): Likewise.
10547         (cos_test_data): Likewise.
10548         (cosh_test_data): Likewise.
10549         (erf_test_data): Likewise.
10550         (exp2_test_data): Likewise.
10551         (fabs_test_data): Likewise.
10552         (floor_test_data): Likewise.
10553         (ilogb_test_data): Likewise.
10554         (j0_test_data): Likewise.
10555         (j1_test_data): Likewise.
10556         (jn_test_data): Likewise.
10557         (lgamma_test_data): Likewise.
10558         (lrint_test_data): Likewise.
10559         (llrint_test_data): Likewise.
10560         (logb_test_data): Likewise.
10561         (lround_test_data): Likewise.
10562         (llround_test_data): Likewise.
10563         (nearbyint_test_data): Likewise.
10564         (rint_test_data): Likewise.
10565         (round_test_data): Likewise.
10566         (sin_test_data): Likewise.
10567         (sincos_test_data): Likewise.
10568         (sinh_test_data): Likewise.
10569         (sqrt_test_data): Likewise.
10570         (tan_test_data): Likewise.
10571         (tanh_test_data): Likewise.
10572         (tgamma_test_data): Likewise.
10573         (trunc_test_data): Likewise.
10574         (y0_test_data): Likewise.
10575         (y1_test_data): Likewise.
10576         (yn_test_data): Likewise.
10578         * math/libm-test.inc: Update comment about NaN testing.
10579         (TEST_SNAN): New macro.
10580         (snan_value): Likewise.
10581         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10582         (fpclassify_test_data): Add sNaN tests.
10583         (isfinite_test_data): Likewise.
10584         (isinf_test_data): Likewise.
10585         (isnan_test_data): Likewise.
10586         (isnormal_test_data): Likewise.
10587         (issignaling_test_data): Likewise.
10588         (signbit_test_data): Likewise.
10589         * math/gen-libm-test.pl (%beautify): Add snan_value.
10590         (show_exceptions): Add argument $test_snan.
10591         (parse_args): Handle snan_value as non-finite.  Update call to
10592         show_exceptions.
10593         * math/Makefile (libm-test-no-inline-cflags): Add
10594         -fsignaling-nans.
10596 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10598         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10599         (CFLAGS-oldsendmsg.c): Add rule.
10600         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10601         Correct recvmsg symbol name.
10602         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10603         Likewise.
10605 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10607         * sysdeps/unix/sysv/linux/Makefile
10608         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10609         oldsendmmsg.
10610         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10611         sendmmsg.
10612         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10613         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10614         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10615         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10617         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10618         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10620         Likewise.
10621         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10622         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10623         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10624         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10625         iovlen and controllen fields to adjust to POSIX specification.
10626         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10628         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10629         and change to correct expected type.
10630         (msghdr.msg_controllen): Likewise.
10631         (cmsghdr.cmsg_len): Likewise.
10632         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10633         expected POSIX assumption about the size.
10634         (msghdr.msg_controllen): Likewise.
10635         (msghdr.__glibc_reserved1): Likewise.
10636         (msghdr.__glibc_reserved2): Likewise.
10637         (cmsghdr.cmsg_len): Likewise.
10638         (cmsghdr.__glibc_reserved1): Likewise.
10639         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10640         Add ptw-oldrecvmsg and ptw-oldsendmsg.
10641         (CFLAGS-sendmsg.c): Remove rule.
10642         (CFLAGS-recvmsg.c): Likewise.
10643         (CFLAGS-oldsendmsg.c): Add rule.
10644         (CFLAGS-oldrecvmsg.c): Likewise.
10645         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10646         recvmsg and sendmsg.
10647         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10648         Likewise.
10649         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10650         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10651         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10652         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10653         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10654         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10655         Likewise.
10656         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10657         Likewise.
10658         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10659         Likewise.
10660         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10661         Likewise.
10662         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10663         Likewise.
10664         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10665         Likewise.
10666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10667         (GLIBC_2.24): Likewise.
10668         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10669         Likewise.
10670         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10671         Likewise.
10672         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10673         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10674         Likewise.
10675         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10676         Likewise.
10677         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10678         Likewise.
10679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10680         (GLIBC_2.24): Likewise.
10681         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10682         Likewise.
10683         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10684         Likewise.
10685         * sysdeps/unix/sysv/linux/Makefile
10686         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10687         (CFLAGS-sendmsg.c): Add rule.
10688         (CFLAGS-recvmsg.c): Likewise.
10689         (CFLAGS-oldsendmsg.c): Likewise.
10690         (CFLAGS-oldrecvmsg.c): Likewise.
10691         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10692         initialization.
10693         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10694         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10695         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10696         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10697         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10698         iovlen and controllen fields to adjust to POSIX specification.
10699         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10700         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10701         added recvmsg and sendmsg.
10702         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10703         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10704         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10705         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10706         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10707         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10708         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10709         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10710         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10711         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10712         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10713         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10715         Likewise.
10716         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10718         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10719         Likewise.
10720         Likewise.
10721         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10722         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10723         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10724         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10725         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10726         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10728         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10730         Likewise.
10731         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10732         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10734         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10735         from auto-generation.
10736         (sendmsg): Likewise.
10737         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10738         (sendmsg): Likewise.
10739         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10740         (sendmsg): Likewise.
10741         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10742         (sendmsg): Likewise.
10743         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10744         (sendmsg): Likewise.
10745         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10746         (sendmsg): Likewise.
10747         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10748         Likewise.
10749         (sendmsg): Likewise.
10750         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10751         (sendmsg): Likewise.
10752         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10753         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10754         Remove.
10755         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10756         Likewise.
10757         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10758         Undefine.
10759         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10760         Likewise.
10761         * sysdeps/unix/sysv/linux/kernel-features.h
10762         (__ASSUME_SENDMSG_SYSCALL): Define.
10763         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10764         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10765         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10766         Remove.
10767         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10768         Likewise.
10769         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10770         Undefine.
10771         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10772         Likewise.
10773         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10774         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10775         Remove.
10776         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10777         Likewise.
10778         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10779         Undefine.
10780         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10781         Likewise.
10782         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10783         (__ASSUME_SENDMSG_SYSCALL): Undefine.
10784         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10785         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10786         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10787         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10788         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10789         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10790         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10792 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10794         * stdlib/gen-tst-strtod-round.c: Add backslash to
10795         compile command in comment.
10796         (printfp): Remove the literal suffix, and define an infinite
10797         value as INF to avoid expansion clash with INFINITY.
10798         (round_str): Remove the literal suffix.
10799         (round_for_all): Likewise, remove the now duplicate ldbl-64
10800         entry, and remove some magic constants.
10802         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10803         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
10804         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10805         (_CONCAT): New macro.
10806         (CONCAT): Likewise.
10807         (CHOOSE_ld): Likewise.
10808         (CHOOSE_f): Likewise.
10809         (CHOOSE_d): Likewise.
10810         (FTYPE_MEMBER): Likewise.
10811         (BOOL_MEMBER): Likewise.
10812         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10813         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10814         (_XNTRY): Likewise.
10815         (XNTRY): Likewise.
10816         (_ENTRY): Likewise.
10817         (ENTRY): Likewise.
10818         (test_exactness): Generate members via macro.
10819         (test_results): Likewise.
10820         (test): Update members.
10821         (TEST): Redefine using new macros.
10822         (INF): New macro.
10823         (fetestmodes): New structure.
10824         (do_test): Refactor to be type generic.
10825         (test_in_one_mode): Refactor duplicate code into
10826         (GEN_ONE_TEST): New macro.
10828         * stdlib/tst-strtod-round-data.h: Regenerate.
10830         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10831         Extend to pass additional arbitrary parameters to
10832         generators.
10834 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
10836         [BZ #15479]
10837         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10838         floating-point state after first floating-point operation on
10839         input.  Restore full floating-point state instead of just rounding
10840         mode.
10841         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10842         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10843         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10844         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10845         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10847         [BZ #15479]
10848         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10849         floating-point state after first floating-point operation on
10850         input.  Restore full floating-point state instead of just rounding
10851         mode.
10852         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10853         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10854         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10855         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10856         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10858 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10860         [BZ #19727]
10861         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10862         valid high surrogate.
10863         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10864         of an utf16 surrogate.
10865         * iconv/gconv_simple.c (BODY): Likewise.
10866         * iconvdata/bug-iconv12.c: New file.
10867         * iconvdata/Makefile (tests): Add bug-iconv12.
10869 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10871         [BZ #19726]
10872         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10873         outptrp in case of an illegal input.
10874         * iconv/tst-iconv6.c: New file.
10875         * iconv/Makefile (tests): Add tst-iconv6.
10877 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10879         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10880         an error in case of a value in range of an utf16 low surrogate.
10882 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10884         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10885         an error in case of a value in range of an utf16 low surrogate.
10887 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10889         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10890         Move to ...
10891         * sysdeps/s390/Makefile: ... here.
10892         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10893         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10894         (BRANCH_ON_COUNT): New define.
10895         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10896         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10897         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10898         run on s390-32, too.
10899         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10900         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10901         run on s390-32, too.
10902         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10903         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10904         run on s390-32, too.
10906 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10908         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10909         etf3eh or new vector loop-variant.
10911 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10913         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10914         etf3eh or new vector loop-variant.
10916 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10918         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10919         or new vector loop-variant.
10921 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10923         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10924         Rename to TR_LOOP and usage of tr instead of troo instruction.
10926 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10928         * sysdeps/s390/multiarch/gconv_simple.c: New File.
10929         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10931 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10933         * sysdeps/s390/multiarch/8bit-generic.c: New File.
10934         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10935         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10936         New override define.
10937         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10939 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10941         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10942         * sysdeps/s390/configure.ac: Add test for S390 vector register
10943         support in gcc.
10944         * sysdeps/s390/configure: Regenerated.
10946 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10948         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10949         Install file from $(objpfx)gconv-modules.
10950         ($(objpfx)gconv-modules): Concatenate architecture specific file
10951         in variable sysdeps-gconv-modules and gconv-modules in src dir.
10952         * sysdeps/s390/gconv-modules: New file.
10953         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10954         Deleted.
10955         ($(objpfx)gconv-modules-s390): Deleted.
10956         (sysdeps-gconv-modules): New variable.
10958 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10960         [BZ #15479]
10961         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10962         of immediate operand to rounding instruction.
10963         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10964         Likewise.
10965         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10966         Likewise.
10967         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10968         Likewise.
10970 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10972         * math/libm-test.inc (MIN_EXP): Directly define as
10973         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10975 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10977         * math/libm-test.inc (MANT_DIG): Directly define as
10978         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10980 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10982         * stdlib/gen-tst-strtod-round.c (main):
10983           Change usage to more closely match the generated
10984           output.  Add usage and compilation instructions.
10985           (string_to_fp): Add and use FILE* parameter as
10986           output target.
10987           (print_fp): Likewise.
10988           (round_str): Likewise.
10989           (round_for_all): Likewise.
10990         * stdlib/tst-strtod-round.c (tests): Move into
10991         * stdlib/tst-strtod-round-data.h: New file.
10993 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10995         [BZ #15479]
10996         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10997         (__round): Do not force "inexact" exception.
10998         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10999         variable.
11000         (__round): Do not force "inexact" exception.
11001         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
11002         (__roundf): Do not force "inexact" exception.
11003         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
11004         (__roundl): Do not force "inexact" exception.
11005         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
11006         (__roundl): Do not force "inexact" exception.
11007         * math/libm-test.inc (round_test_data): Do not allow spurious
11008         "inexact" exceptions.
11010         [BZ #15479]
11011         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
11012         exception in comment.
11013         (huge): Remove variable.
11014         (__floor): Do not force "inexact" exception.
11015         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
11016         "inexact" exception in comment.
11017         (huge): Remove variable.
11018         (__floor): Do not force "inexact" exception.
11019         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
11020         exception in comment.
11021         (huge): Remove variable.
11022         (__floorf): Do not force "inexact" exception.
11023         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
11024         exception in comment.
11025         (huge): Remove variable.
11026         (__floorl): Do not force "inexact" exception.
11028         [BZ #15479]
11029         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
11030         exception in comment.
11031         (huge): Remove variable.
11032         (__ceil): Do not force "inexact" exception.
11033         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
11034         "inexact" exception in comment.
11035         (huge): Remove variable.
11036         (__ceil): Do not force "inexact" exception.
11037         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
11038         (__ceilf): Do not force "inexact" exception.
11039         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
11040         exception in comment.
11041         (huge): Remove variable.
11042         (__ceill): Do not force "inexact" exception.
11044 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11046         * config.h.in (BIND_NOW): New.
11047         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
11048         * configure: Regenerated.
11049         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
11050         indirect branch via the GOT slot.
11052 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11054         [BZ #19765]
11055         * sysdeps/s390/mempcpy.S: New File.
11056         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11057         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
11058         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11059         Add mempcpy variants.
11060         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
11061         (memcpy): Adjust to be usable from mempcpy entry point.
11062         (__memcpy_mvcle): Likewise.
11063         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11064         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
11065         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
11066         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
11067         (__memcpy_z10): Likewise.
11068         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11070 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11072         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
11073         Remove __GI_ symbol.
11074         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
11075         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
11076         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
11077         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11078         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
11079         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
11081 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11083         * sysdeps/s390/s390-64/memcpy.S (memcpy):
11084         Use cghi instead of chi to compare 64bit value.
11086 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11088         * sysdeps/s390/s390-32/memcpy.S (memcpy):
11089         Jump to 1MB check before executing mvc-loop.
11091 2016-05-24  Florian Weimer  <fweimer@redhat.com>
11093         [BZ #6527]
11094         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
11095         unconditionally.
11096         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
11098 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11100         * stdlib/tst-strtod6.c (do_test): Use new type generic
11101         invocation of the test function.
11102         (test): Refactor into ...
11103         (TEST_STRTOD): New macro base function.
11105 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11107         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
11108         (TEST_STRTOD): New macro.
11109         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
11111 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11113         * stdlib/tst-strtod6.c (do_test): Use new type generic
11114         invocation of the test function.
11115         (test): Refactor into ...
11116         (TEST_STRTOD): New macro base function.
11118 2016-05-23  Florian Weimer  <fweimer@redhat.com>
11120         CVE-2016-4429
11121         [BZ #20112]
11122         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
11123         payload.
11125 2016-05-23  Florian Weimer  <fweimer@redhat.com>
11127         [BZ #20111]
11128         * bits/sockaddr.h (_SS_SIZE): Define.
11129         * bits/socket.h (_SS_SIZE): Remove.
11130         (_SS_PADSIZE): Adjust to account for all padding.
11131         (struct sockaddr_storage): Update comment.  Avoid implicit
11132         padding.
11133         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
11134         (_SS_PADSIZE): Adjust to account for all padding.
11135         (struct sockaddr_storage): Update comment.  Avoid implicit
11136         padding.
11137         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
11138         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
11139         (_SS_PADSIZE): Adjust to account for all padding.
11140         (struct sockaddr_storage): Update comment.  Avoid implicit
11141         padding.
11142         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
11143         __SS_SIZE is 126 in this version.
11144         * inet/tst-sockaddr.c: New file.
11145         * inet/Makefile (tests): Add tst-sockaddr.c
11146         (tst-sockaddr.c): Compile with non-strict aliasing.
11148 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
11150         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
11151         [XPG3 || XPG4].
11152         (NL_ARGMAX): Also expect for [XPG3].
11153         (NL_LANGMAX): Likewise.
11154         (NL_MSGMAX): Likewise.
11155         (NL_NMAX): Likewise.
11156         (NL_SETMAX): Likewise.
11157         (NL_TEXTMAX): Likewise.
11158         (NZERO): Likewise.
11159         (TMP_MAX): Likewise.
11160         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
11161         variable.
11163         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
11164         (PF_MAX): Update value.
11165         (AF_KCM): New macro.
11166         (SOL_NETBEUI): Likewise.
11167         (SOL_LLC): Likewise.
11168         (SOL_DCCP): Likewise.
11169         (SOL_NETLINK): Likewise.
11170         (SOL_TIPC): Likewise.
11171         (SOL_RXRPC): Likewise.
11172         (SOL_PPPOL2TP): Likewise.
11173         (SOL_BLUETOOTH): Likewise.
11174         (SOL_PNPIPE): Likewise.
11175         (SOL_RDS): Likewise.
11176         (SOL_IUCV): Likewise.
11177         (SOL_CAIF): Likewise.
11178         (SOL_ALG): Likewise.
11179         (SOL_NFC): Likewise.
11180         (SOL_KCM): Likewise.
11181         (MSG_BATCH): New enum value and macro.
11183 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
11185         [BZ #18185]
11186         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11187         sharing L2 cache to 2 for Knights Landing.
11189 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
11191         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11192         (FTW_DP): Do not expect for [XPG3 || XPG4].
11193         (FTW_SL): Do not expect for [XPG3].
11194         (FTW_SLN): Likewise.
11195         (FTW_PHYS): Likewise.
11196         (FTW_MOUNT): Likewise.
11197         (FTW_DEPTH): Likewise.
11198         (FTW_CHDIR): Likewise.
11199         (nftw): Likewise.
11200         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11201         variable.
11203 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11205         * manual/errno.texi: Fix various typos & grammar errors.
11207 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11209         * manual/intro.texi: Fix duplicated typo.
11211 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11213         [BZ #13304]
11214         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11215         <float.h>, <math_private.h> and <stdlib.h>.
11216         (add_split): New function.
11217         (mul_split): Likewise.
11218         (ext_val): New typedef.
11219         (store_ext_val): New function.
11220         (mul_ext_val): New function.
11221         (compare): New function.
11222         (add_split_ext): New function.
11223         (__fmal): After checking for Inf, NaN and zero, compute result as
11224         an exact sum of scaled double values in round-to-nearest before
11225         adding those up and adjusting for other rounding modes.
11226         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11227         tests of fma.
11228         * math/auto-libm-test-out: Regenerated.
11230 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11232         [BZ #20119]
11233         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11234         processor level type mask for CPUID with EAX == 11.
11236 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11238         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11239         logical threads if the HTT bit is 0.
11240         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11241         (index_cpu_HTT): Likewise.
11242         (reg_HTT): Likewise.
11244 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11246         [BZ #20115]
11247         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11248         Remove alignments on jump targets.
11250 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11252         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11253         (getpwent): Likewise.
11254         (setpwent): Likewise.
11255         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11256         variable.
11258         * conform/data/search.h-data (insque): Do not expect for [XPG3].
11259         (remque): Likewise.
11260         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11261         variable.
11263 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11265         * math/libm-test.inc: Update comment not to refer to signs of NaNs
11266         not being tested.
11268 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11270         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11271         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
11272         call.
11273         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11274         (__condvar_cleanup1): Likewise.
11276 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11278         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11279         New
11280         (__pthread_unwind): Renamed to ...
11281         (PTHREAD_UNWIND): This.
11282         (__pthread_enable_asynccancel): Replace
11283         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11285 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11287         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11288         (CLONE_NEWCGROUP): New macro.
11290         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11291         (Q_GETNEXTQUOTA): New macro.
11293 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11295         [BZ #19907]
11296         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11297         buffer updated by the previous run.
11298         * string/test-memcpy.c (do_one_test): Likewise.
11299         * benchtests/bench-memmove.c (do_one_test): Add a comment.
11300         * string/test-memmove.c (do_one_test): Likewise.
11302 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
11304         [BZ #20094]
11305         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11306         not [__USE_XOPEN].
11307         (unlockpt): Likewise.
11308         (ptsname): Likewise.
11309         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11310         variable.
11312         [BZ #20076]
11313         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11314         instead of [__USE_UNIX98].
11315         (S_ISSOCK): Likewise.
11316         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11317         variable.
11319         [BZ #20074]
11320         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11321         [__USE_POSIX].
11322         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11323         variable.
11325         [BZ #20051]
11326         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11327         (ttyslot): Do not declare.
11328         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11329         (ttyslot): New prototype.
11330         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11331         variable.
11332         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11334 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11336         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11338 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11340         Fix race condition in tst-mallocfork2, use fewer resources.
11341         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11342         to current process group.
11343         (signal_sender): Yield in the non-sleeping case.
11345 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
11347         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11348         (ecvt): Likewise.
11349         (fcvt): Likewise.
11350         (gcvt): Likewise.
11351         (getsubopt): Likewise.
11352         (grantpt): Likewise.
11353         (initstate): Likewise.
11354         (l64a): Likewise.
11355         (mktemp): Likewise.
11356         (mkstemp): Likewise.
11357         (ptsname): Likewise.
11358         (random): Likewise.
11359         (realpath): Likewise.
11360         (setstate): Likewise.
11361         (srandom): Likewise.
11362         (ttyslot): Likewise.
11363         (unlockpt): Likewise.
11364         (valloc): Likewise.
11366         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11367         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11368         variable.
11370 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11372         [BZ #20072]
11373         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11374         init_cpu_features only if SHARED is defined.
11375         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11377 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11379         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11380         non-inclusive caches on Intel processors.
11382 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11384         * malloc/malloc.c (dumped_main_arena_start)
11385         (dumped_main_arena_end): New variables.
11386         (DUMPED_MAIN_ARENA_CHUNK): New macro.
11387         (do_check_chunk): Skip dumped fake mmapped chunks.
11388         (munmap_chunk): Likewise.
11389         (__libc_free): Do not adjust statistics for fake mmapped chunks.
11390         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
11391         mmapped chunks.
11392         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11393         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
11394         and dumped_main_arena_end to cover the dumped heap.
11396 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
11398         * conform/data/time.h-data (getdate_err): Do not expect for
11399         [XPG3].
11400         (getdate): Likewise.
11401         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11402         variable.
11404         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11405         (F_ULOCK): Likewise.
11406         (F_TEST): Likewise.
11407         (F_TLOCK): Likewise.
11408         (useconds_t): Likewise.
11409         (intptr_t): Do not expect for [XPG3] or [XPG4].
11410         (brk): Do not expect for [XPG3]
11411         (fchown): Likewise.
11412         (fchdir): Likewise.
11413         (ftruncate): Likewise.
11414         (getdtablesize): Likewise.
11415         (gethostid): Likewise.
11416         (getpagesize): Likewise.
11417         (getpgid): Likewise.
11418         (getsid): Likewise.
11419         (getwd): Likewise.
11420         (lchown): Likewise.
11421         (lockf): Likewise.
11422         (readlink): Likewise.
11423         (sbrk): Likewise.
11424         (setpgrp): Likewise.
11425         (setregid): Likewise.
11426         (setreuid): Likewise.
11427         (symlink): Likewise.
11428         (sync): Likewise.
11429         (truncate): Likewise.
11430         (ualarm): Likewise.
11431         (usleep): Likewise.
11432         (vfork): Likewise.
11433         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11434         variable.
11436         [BZ #20054]
11437         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11438         not [__USE_UNIX98].
11439         * conform/data/unistd.h-data (gethostname): Do not expect for
11440         [XPG3].
11442         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11443         [!POSIX] (S_IFBLK): Likewise.
11444         [!POSIX] (S_IFCHR): Likewise.
11445         [!POSIX] (S_IFIFO): Likewise.
11446         [!POSIX] (S_IFREG): Likewise.
11447         [!POSIX] (S_IFDIR): Likewise.
11448         [!POSIX] (S_IFLNK): Likewise.
11449         [!POSIX] (S_IFSOCK): Likewise.
11450         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11451         variable.
11452         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11454 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
11456         * sysdeps/aarch64/memset.S (__memset):
11457         Rewrite of optimized memset.
11459 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11461         [BZ #19703]
11462         Partially async-signal-safe fork for single-threaded processes.
11463         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11464         variable.  Do not acquire and reset/release malloc and libio locks
11465         in single-threaded processes.
11466         * malloc/tst-mallocfork2.c: New file.
11467         * malloc/Makefile (tests): Add it.
11469 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11471         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11472         argument.  Use scratch buffer instead of extend_alloca.
11473         (gethosts): Use scratch buffer instead of extend_alloca.
11474         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
11475         extend_alloca.
11476         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11478 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
11480         [BZ #20055]
11481         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11482         instead of [__USE_UNIX98].
11483         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11484         [__USE_UNIX98].
11485         * conform/data/termios.h-data (tcgetsid): Do not expect for
11486         [XPG3].
11487         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11488         variable.
11489         (test-xfail-XPG4/termios.h/conform): Likewise.
11491 2016-05-11  Florian Weimer  <fweimer@redhat.com>
11493         Do not use mcheck in localedef.
11494         * locale/programs/localedef.c (turn_on_mcheck)
11495         (__malloc_initialize_hook): Remove.
11497 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11499         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11500         * sysdeps/s390/s390-64/Makefile: Likewise.
11502 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
11504         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11505         Remove ifunc-defines.sym.
11506         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11507         Likewise.
11508         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11509         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11510         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11511         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11512         rtld-global-offsets.sym.
11513         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11514         * sysdeps/x86/cpu-features-offsets.sym: This.
11515         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11516         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11518 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
11520         [BZ #20073]
11521         * io/sys/stat.h (fchmod): Declare for
11522         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11523         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11524         variable.
11526         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11527         [XPG3] (S_IFSOCK): Likewise.
11528         [XPG3] (S_ISVTX): Likewise.
11529         [XPG3] (S_ISLNK): Likewise.
11530         [XPG3] (S_ISSOCK): Likewise.
11531         [XPG3] (fchmod): Likewise.
11532         [XPG3] (lstat): Likewise.
11533         [XPG3] (mknod): Likewise.
11535         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11536         [XPG3].  Expect type long and XFAIL for [XPG4].
11537         (st_blocks): Likewise.
11539         [BZ #20044]
11540         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11541         (pthread_atfork): New prototype.
11542         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11543         variable.
11545         [BZ #20043]
11546         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11547         prototype.
11549 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11551         [BZ #20017]
11552         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11553         gmtime.
11555 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11557         [BZ #19994]
11558         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11559         flag in _res.options.
11561 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
11563         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11564         [XPG3 || XPG4].
11565         (blksize_t): Likewise.
11566         (clockid_t): Likewise.
11567         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11568         variable.
11569         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11571 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11573         * sysdeps/unix/sysv/linux/s390/init-first.c:
11574         Add VDSO_SYMBOL(getcpu).
11575         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11576         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11577         Add VDSO_SYMBOL(getcpu).
11578         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11579         New define HAVE_GETCPU_VSYSCALL.
11580         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11582 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11584         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11585         instead of <sysdeps/x86_64/cacheinfo.c>.
11586         * sysdeps/x86_64/cacheinfo.c: Moved to ...
11587         * sysdeps/x86/cacheinfo.c: Here.
11589 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11591         * malloc/malloc-internal.h: Adjust header file guard.
11593 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11595         [BZ #19787]
11596         * inet/getnameinfo.c (check_sprintf_result): New function.
11597         (CHECKED_SNPRINTF): New macro.
11598         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11599         to the host buffer.
11600         (gni_host_local): Use checked_copy to copy the host name.
11601         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11602         (gni_serv_local): Use checked_copy to copy the service name.
11603         (getnameinfo): Remove unnecessary truncation of result buffers.
11605 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11607         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11608         in case of inet_ntop failure.
11610 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11612         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11613         avoid long lines.
11614         (gni_host_inet_numeric): Likewise.  Reduce scope of local
11615         variables.
11616         (gni_host_inet, gni_host_local): Add comment.
11617         (gni_host): Add comment.  Use temporary to avoid long lines.
11619 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11621         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11622         registers specifiers where general purpose registers specifiers should
11623         have been used.
11625 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11627         [BZ #19779]
11628         CVE-2016-1234
11629         Avoid copying names of directory entries.
11630         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11631         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11632         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11633         (struct readdir_result): New type.
11634         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11635         (GL_READDIR): New macros.
11636         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11637         (convert_dirent, convert_dirent64): New functions.
11638         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
11639         convert_dirent64.  Adjust references to the readdir result.
11640         * sysdeps/unix/sysv/linux/i386/glob64.c:
11641         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11642         * posix/bug-glob2.c (LONG_NAME): Define.
11643         (filesystem): Add LONG_NAME.
11644         (my_DIR): Increase the size of room_for_dirent.
11646 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
11648         [BZ #20041]
11649         * misc/sys/select.h (__need_timespec): Only define if
11650         [__USE_XOPEN2K].
11651         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11652         variable.
11653         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11654         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11655         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11657 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11658             Segher Boessenkool  <segher@gcc.gnu.org>
11660         [BZ #20004]
11661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11662         (__novec_swapcontext): Add missing load.
11664 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
11666         [BZ #20023]
11667         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11668         <time.h>.
11669         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11670         variable.
11671         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11673 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11676         flags CLONE_VM compare.
11678 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11680         [BZ #20031]
11681         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11682         completely empty.
11684 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11686         [BZ #19573]
11687         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11688         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11689         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11690         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11691         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11692         (hesiod_free_list): Mark as hidden.
11693         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11694         res_set, res_get.
11695         * hesiod/hesiod.c: Remove unnecessary forward declarations.
11696         (init, __hesiod_res_get, __hesiod_res_set): Remove.
11697         (hesiod_init): Remove obsolete res_ninit call.
11698         (hesiod_end): Do not free resolver state.  Do not invoke callback.
11699         (hesiod_bind): Do not call init.
11700         (get_txt_records): Use res_mkquery, res_send instead of
11701         res_nmkquery, res_nsend.
11702         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11703         instead of _nss_hesiod_init.
11704         (_nss_hesiod_initgroups_dyn): Likewise.
11705         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11706         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11707         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11709 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11711         * hesiod/hesiod_p.h (DEF_RHS): Remove.
11712         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11714 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11716         * hesiod/hesiod.h: Remove RCS keyword.
11717         * hesiod/hesiod_p.h: Likewise.
11719         * hesiod/hesiod.c: Likewise.
11721 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
11723         [BZ #12450]
11724         * locale/iso-639.def: Add Samogitian/sgs.
11726 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
11728         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11730         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11732 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
11733             Carlos O'Donell  <carlos@redhat.com>
11735         [BZ #19072]
11736         * grp/Makefile (headers): Add grp-merge.h
11737         (routines): Add grp-merge.
11738         * grp/getgrgid_r.c: Include grp-merge.h.
11739         (DEEPCOPY_FN): Define.
11740         (MERGE_FN): Define.
11741         * grp/getgrname_r.c: Include grp-merge.h.
11742         (DEEPCOPY_FN): Define.
11743         (MERGE_FN): Define.
11744         * grp/grp-merge.c: New file.
11745         * grp/grp-merge.h: New file.
11746         * include/grp-merge.h: New file.
11747         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11748         __copy_grp@GLIBC_PRIVATE.
11749         * manual/nss.texi (Actions in the NSS configuration): Describe
11750         return, continue, and merge.
11751         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11752         (DEEPCOPY_FN): Define.
11753         (MERGE_FN): Define.
11754         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11755         (DEEPCOPY_FN): Define.
11756         (MERGE_FN): Define.
11757         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11758         [!MERGE_FN]: Define __merge_einval.
11759         (CHECK_MERGE): Define.
11760         (REENTRANT_NAME): Process merge if do_merge is true.
11761         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11762         (__nss_getent_r): Likewise.
11763         * nss/nsswitch.c (nss_parse_service_list): Likewise.
11764         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11766 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11768         [BZ #20012]
11769         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11770         length to calculate the buffer to read.
11771         (fmemopen_write): Set the buffer position based on bytes written.
11772         (fmemopen_seek): Return EINVAL for invalid whence modes.
11774         [BZ #19957]
11775         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11776         tst-getpid2.
11777         (test): Add tst-clone2.
11778         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11779         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11780         pid/tid fields for CLONE_VM.
11781         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11782         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11783         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11784         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11785         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11786         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11787         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11788         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11790         Likewise.
11791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11792         Likewise.
11793         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11794         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11795         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11796         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11797         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11798         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11799         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11800         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11802 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11804         [BZ #19642]
11805         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11806         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11807         (gni_serv_local, gni_serv): New functions extracted from
11808         getnameinfo.
11809         (getnameinfo): Call gni_host and gni_serv to perform the
11810         processing.  Always free scratch buffer.
11812 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11814         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11815         remaining bytes in the dest string, with zeros.
11817 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11819         [BZ #20010]
11820         CVE-2016-3706
11821         * sysdeps/posix/getaddrinfo.c
11822         (convert_hostent_to_gaih_addrtuple): New function.
11823         (gethosts): Call convert_hostent_to_gaih_addrtuple.
11824         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11825         AF_INET data.
11827 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11829         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11830         callback function gl_readdir.
11831         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11832         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11833         (glob_in_dir): Remove len.  Use strdup instead of malloc and
11834         memcpy to copy the name.
11835         * manual/pattern.texi (Calling Glob): Document requirements for
11836         implementations of the gl_readdir callback function.
11837         * manual/examples/mkdirent.c: New example.
11838         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11839         per the manual guidance.
11840         * posix/tst-gnuglob.c (my_readdir): Likewise.
11842 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
11844         [BZ #20014]
11845         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11846         not [__USE_POSIX].
11847         (getchar_unlocked): Likewise.
11848         (putc_unlocked): Likewise.
11849         (putchar_unlocked): Likewise.
11850         (flockfile): Likewise.
11851         (ftrylockfile): Likewise.
11852         (funlockfile): Likewise.
11853         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11854         variable.
11855         (test-xfail-XPG4/stdio.h/conform): Likewise.
11857         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11858         Expect constant.
11859         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11860         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11861         variable.
11862         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11863         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11865         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11866         [__USE_LARGEFILE64] (off64_t): Likewise.
11867         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11868         variable.
11870 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11872         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11874 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11876         * resolv/inet_addr.c: Reindent preprocessor conditionals.
11877         * resolv/res_init.c: Likewise.
11878         * resolv/res_mkquery.c: Likewise.
11880 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11882         * resolv/res_init.c (isascii): Do not define.  Use definition in
11883         <ctype.h>.
11884         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11885         (LOG_AUTH): Remove.
11886         (SPRINTF): Remove, adjust caller.
11887         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11889 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11891         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11892         SUNSECURITY conditional.
11893         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11895 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11897         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11898         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11899         Remove BSD-related preprocessor conditionals.
11900         * conf/portability.h: Remove.
11902 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11904         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11905         * resolv/res_data.c: Likewise.
11907 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11909         * resolv/res_comp.c: Remove code conditional on __ultrix__.
11910         * resolv/res_data.c: Remove code conditional on ultrix.
11912 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11914         * resolv/res_init.c (RFC1535): Do not define.  Remove
11915         RFC1535 preprocessor conditionals.
11916         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
11917         because there configuration options which make the resolver
11918         behavior different.
11920 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11922         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11923         RESOLVSORT preprocessor conditionals.
11924         * resolv/nss_dns/dns-host.c: Likewise.
11925         * resolv/res_init.c: Likewise.
11927 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11929         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
11930         is never defined.
11932 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11934         * inet/inet_lnaof.c: Remove SCSS keyword.
11935         * inet/inet_mkadr.c: Likewise.
11936         * inet/inet_net.c: Likewise.
11937         * inet/inet_netof.c: Likewise.
11938         * inet/rcmd.c: Likewise.
11939         * inet/rexec.c: Likewise.
11940         * inet/ruserpass.c: Likewise.
11942 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11944         * resolv/inet_addr.c: Remove _LIBC conditionals.
11945         * resolv/res_data.c: Likewise.
11946         * resolv/res_init.c: Likewise.
11947         * resolv/res_mkquery.c: Likewise.
11948         * resolv/res_libc.c: Update comment.
11949         * resolv/README: Update.
11951 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11953         * resolv/gethnamaddr.c: Remove SCSS keyword.
11954         * resolv/herror.c: Likewise.
11955         * resolv/inet_addr.c: Likewise.
11956         * resolv/inet_net_ntop.c: Likewise.
11957         * resolv/inet_net_pton.c: Likewise.
11958         * resolv/inet_neta.c: Likewise.
11959         * resolv/inet_ntop.c: Likewise.
11960         * resolv/inet_pton.c: Likewise.
11961         * resolv/ns_date.c: Remove RCS keyword.
11962         * resolv/ns_name.c: Likewise.
11963         * resolv/ns_netint.c: Likewise.
11964         * resolv/ns_parse.c: Likewise.
11965         * resolv/ns_print.c: Likewise.
11966         * resolv/ns_samedomain.c: Likewise.
11967         * resolv/ns_ttl.c: Likewise.
11968         * resolv/nsap_addr.c: Likewise.
11969         * resolv/res_comp.c: Remove SCSS and RCS keyword.
11970         * resolv/res_data.c: Remove RCS keyword.
11971         * resolv/res_debug.c: Remove SCSS and RCS keyword.
11972         * resolv/res_init.c: Likewise.
11973         * resolv/res_mkquery.c: Likewise.
11974         * resolv/res_query.c: Likewise.
11975         * resolv/res_send.c: Likewise.
11977 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11979         * conform/data/stdio.h-data (fdopen): Expect also for
11980         [XPG3 || XPG4].
11982         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11983         (fseeko): Likewise.
11984         (ftello): Likewise.
11985         (ftrylockfile): Likewise.
11986         (funlockfile): Likewise.
11987         (getc_unlocked): Likewise.
11988         (getchar_unlocked): Likewise.
11989         (putc_unlocked): Likewise.
11990         (putchar_unlocked): Likewise.
11992 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11994         [BZ #19868]
11995         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11996         DNS packet syntax checks (which were not needed before).  Skip
11997         over non-PTR records.
11999 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12001         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
12002         definition.  Include <stddef.h> instead.
12004 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12006         [BZ #19831]
12007         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
12008         function.
12009         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
12010         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
12012 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12014         [BZ #19862]
12015         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
12016         (getanswer_r): Do not call syslog.
12017         (gaih_getanswer_slice): Likewise.
12018         * resolv/gethnamaddr.c (AskedForGot): Remove.
12019         (getanswer): Do not call syslog.
12020         (gethostbyaddr): Likewise.
12022 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
12024         * conform/data/signal.h-data (union sigval): Expect also if
12025         [XOPEN2K].
12026         (struct sigevent): Likewise.
12027         (SIGEV_NONE): Likewise.
12028         (SIGEV_SIGNAL): Likewise.
12029         (SIGEV_THREAD): Likewise.
12030         (SIGRTMIN): Likewise.
12031         (SIGRTMAX): Likewise.
12032         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
12033         variable.
12034         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12036 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12038         [BZ #19830]
12039         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
12040         (gaih_getanswer_slice): Likewise.
12041         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
12042         Also check for availability of RR metadata.
12044 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12046         [BZ #19825]
12047         * resolv/res_send.c (send_vc): Remove early *resplen2
12048         initialization.  Set *resplen2 on socket error.  Call
12049         close_and_return_error for other errors.
12051 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
12053         * sysdeps/unix/sysv/linux/netiucv/iucv.h
12054         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
12055         (SCM_IUCV_TRGCLS): New define.
12057 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12059         [BZ #20005]
12060         * libio/fmemopen.c (fmemopen_write): Update internal position after
12061         write.
12062         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
12063         * stdio-common/tst-fmemopen4.c: New file..
12065 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
12067         [BZ #19996]
12068         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
12069         not [__USE_XOPEN2K].
12070         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
12071         variable.
12073         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
12074         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
12075         variable.
12077         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
12078         [__USE_XOPEN2K8].
12079         [__USE_LARGEFILE64] (off64_t): Likewise.
12080         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
12081         variable.
12083 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
12085         [BZ #19989]
12086         * libio/stdio.h (cuserid): Do not declare if
12087         [__USE_XOPEN2K && !__USE_GNU].
12088         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
12089         variable.
12091 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12093         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12094         (sysdep_routines): Add P8 and PPC64 strcspn targets.
12095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12096         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12097         ifunc'ed strcspn.
12098         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12099         [EALIGN]: Removed.
12100         [END]: Likewise
12101         [STRSPN]: Define instead of the above to control symbol name.
12102         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
12103         New file.
12104         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
12105         Likewise.
12106         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
12107         Likewise.
12108         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
12109         Likewise.
12110         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12111         [INITIAL_MASK]: New macro.
12112         [STRCSPN]: Likewise.
12113         [UPDATE_MASK]: Likewise.
12114         [USE_AS_STRCSPN]: Likewise.
12116 2016-04-25  Florian Weimer  <fweimer@redhat.com>
12118         [BZ #19931]
12119         * stdio-common/tst-vfprintf-width-prec.c: New file.
12120         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
12121         (tests-special): Add tst-vfprintf-width-prec-mem.out.
12122         (generated): Add mtrace-related files.
12123         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
12124         (tst-%-mem.out): New pattern rule, replaces
12125         tst-printf-bz18872-mem.out.
12126         * stdio-common/vfprintf.c (vfprintf): When handling a precision
12127         specifier, deallocate any previously allocated work buffer.
12129 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12131         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
12132         Add nop before __startcontext, add explaining comments.
12134 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
12136         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
12137         any more. Notably since IPV6_PKTINFO has been reintroduced with a
12138         completely different API.
12140         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
12141         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
12142         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
12143         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
12144         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
12145         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
12146         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
12147         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
12148         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
12149         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
12151 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
12153         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
12155 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
12157         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
12158         when it is the default of 0.
12160 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12162         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
12163         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12164         (sysdep_routines): Add new strcasestr targets.
12165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12166         (__libc_ifunc_impl_list): Likewise.
12167         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
12168         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
12169         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
12170         * sysdeps/powerpc/powerpc64/power8/Makefile:
12171         New file to add strcasestr-ppc64 to sysdep_routines.
12172         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
12173         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
12175 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
12177         * benchtests/Makefile (wcsmbs-benchset): Include only for
12178         native builds and runs.
12179         (LOCALES): Likewise.
12180         (bench-build): Build timing-type here instead of the bench
12181         target.  Generate locale only for native builds.
12182         * benchtests/README: Add note for cross-building.
12184         * benchtests/Makefile (bench-clean): Clean up extra-objs.
12186         * benchtests/README: Update README to include instructions on
12187         using bench-build.
12189         * Makefile.in (bench-build): New target.
12190         * Rules (PHONY): Add bench-build target.
12191         * benchtests/Makefile (bench): Depend on bench-build.
12192         (bench-build): New target.
12194 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12196         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12197         profil_reply_port.
12198         (profile_waiter): Do not initialize profil_reply_port.
12199         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12200         frequency instead of tick length in us.
12202 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
12204         [BZ #18712]
12205         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12206         (__old_mempcpy_small): Likewise.
12207         (__old_strcpy_small): Likewise.
12208         (__old_stpcpy_small): Likewise.
12209         (__old_strpbrk_c2): Fix compat symbol name.
12210         (__old_strpbrk_c3): Likewise.
12211         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12212         (__mempcpy_small): Remove.
12213         (__strcpy_small): Remove.
12214         (__stpcpy_small): Remove.
12216 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
12218         [BZ #19400]
12219         * locale/iso-639.def: Add the Talossan/tzl language.
12221 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12223         [BZ #16983]
12224         * locale/programs/ld-address.c (address_finish): Update postal_fmt
12225         comment.  Add "ln" to strchr check on postal_fmt.
12227 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12229         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12230         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
12231         tel_dom_fmt.
12233 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12235         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12236         (sysdep_routines): Added __strlen_power8.
12237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12238         __strlen_power8 entry.
12239         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12240         Implementation for POWER8.
12241         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12242         for __strlen_power8.
12243         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12244         Implementation for POWER8.
12246 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
12248         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12250 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
12252         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12253         Goldmont and Airmont processors.
12255 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
12257         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12258         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12259         (__STRING2_SMALL_GET32): Remove.
12260         (memset): Remove.
12261         (__memset_1): Remove.
12262         (__memset_gc): Remove.
12263         (__mempcpy): Remove.
12264         (mempcpy): Remove.
12265         (__mempcpy_args): Remove.
12266         (strchr): Remove.
12267         (strcpy): Remove.
12268         (strcpy_args): Remove.
12269         (__stpcpy_args): Remove.
12270         (__strcmp_cc): Remove.
12271         (__strcmp_gc): Remove.
12272         (strstr): Remove.
12274 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
12276         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12277         * nis/nis_call.c (nis_server_cache_add): Likewise.
12279 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12281         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12283 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12285         * malloc/arena.c (__malloc_fork_lock_parent)
12286         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12287         internal_function attribute.
12289 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
12291         * stdio-common/printf_fp.c (__printf_fp_l):
12292         Rename ___printf_fp_l to __printf_fp_l and
12293         remove strong alias. Use libc_hidden_def instead
12294         of ldbl_hidden_def macro.
12296 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12298         Remove malloc hooks from fork handler.  They are no longer needed
12299         because malloc runs right before fork, and no malloc calls from
12300         other fork handlers are not possible anymore.
12301         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12302         declarations.
12303         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12304         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12305         (atfork_recursive_cntr): Remove.
12306         (__malloc_fork_lock_parent): Do not override malloc hooks and
12307         thread_arena.
12308         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12309         thread_arena.
12310         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
12311         thread_arena instead of save_arena.
12313 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12315         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12316         (thread_atfork, thread_atfork_static): Remove.
12317         * sysdeps/mach/hurd/malloc-machine.h:
12318         (thread_atfork, thread_atfork_static): Remove.
12320 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12322         [BZ #19431]
12323         Run the malloc fork handler as late as possible to avoid deadlocks.
12324         * malloc/malloc-internal.h: New file.
12325         * malloc/malloc.c: Include it.
12326         * malloc/arena.c (ATFORK_MEM): Remove.
12327         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12328         Update comment.
12329         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12330         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12331         Remove outdated comment.
12332         (ptmalloc_init): Do not call thread_atfork.  Remove
12333         thread_atfork_static.
12334         * malloc/tst-malloc-fork-deadlock.c: New file.
12335         * Makefile (tests): Add tst-malloc-fork-deadlock.
12336         (tst-malloc-fork-deadlock): Link against libpthread.
12337         * manual/memory.texi (Aligned Memory Blocks): Update safety
12338         annotation comments.
12339         * sysdeps/nptl/fork.c (__libc_fork): Call
12340         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12341         __malloc_fork_unlock_child.
12342         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12344 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12346         [BZ #19613]
12347         Remove union wait.
12348         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12349         (w_stopsig, w_stopval): Remove.
12350         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12351         stat_loc argument.
12352         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12353         (__WAIT_STATUS_DEFN): Remove.
12354         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12355         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12356         (wait, wait3, wait4): Use int * for the stat_loc argument.
12357         * posix/wait.c (__wait): Likewise.
12358         * posix/wait3.c (__wait3): Likewise.
12359         * posix/wait4.c (__wait4): Likewise.
12360         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12361         (__WAIT_STATUS_DEFN): Remove.
12362         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12363         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12364         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12365         argument.
12366         * sysdeps/posix/wait.c (__libc_wait): Likewise.
12367         * sysdeps/posix/wait3.c (__wait3): Likewise.
12368         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12369         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12370         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12371         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12372         stat_loc argument.
12373         * manual/process.texi (BSD Wait Functions): Remove union wait.
12375 2016-04-13  Andreas Schwab  <schwab@suse.de>
12377         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12378         (test-extras): Add tst-tlsalign-vars.
12379         * math/Makefile: Wrap long lines.
12380         (libm-vec-test-wrappers): Define.
12381         (test-extras): Add $(libm-vec-test-wrappers).
12382         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12383         * nss/Makefile (extra-test-objs): Add nss_test1.os.
12384         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12385         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12386         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12387         (extra-test-objs): Add corresponding objects.
12389 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
12391         [BZ #19928]
12392         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12393         New.
12394         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12395         times of shared cache size.
12396         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12397         (VMOVNT): New.
12398         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12399         (VMOVNT): Likewise.
12400         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12401         (VMOVNT): Likewise.
12402         (VMOVU): Changed to movups for smaller code sizes.
12403         (VMOVA): Changed to movaps for smaller code sizes.
12404         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12405         comments.
12406         (PREFETCH): New.
12407         (PREFETCH_SIZE): Likewise.
12408         (PREFETCHED_LOAD_SIZE): Likewise.
12409         (PREFETCH_ONE_SET): Likewise.
12410         Rewrite to use forward and backward loops, which move 4 vector
12411         registers at a time, to support overlapping addresses and use
12412         non temporal store if size is above the threshold and there is
12413         no overlap between destination and source.
12415 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
12417         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12418         Include dl-vdso.
12419         * sysdeps/unix/sysv/linux/mips/Versions: Add
12420         __vdso_clock_gettime.
12421         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12422         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12423         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12424         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12425         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12426         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12427         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12428         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12429         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12431 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12433         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12434         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12435         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12436         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12437         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12438         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12441         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12442         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12443         syscalls generation.
12444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12445         [__NR_pwrite64] (__NR_write): Remove define.
12446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12447         [__NR_pwrite64] (__NR_write): Remove define.
12448         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12449         Remove define.
12450         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12451         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12452         Remove define.
12453         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12454         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12455         Linux implementation as base.
12456         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12458         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12459         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12461         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12464         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12465         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12466         syscall generation.
12467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12468         [__NR_pread64] (__NR_pread): Remove define.
12469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12470         [__NR_pread64] (__NR_pread): Likewise.
12471         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12472         define.
12473         (__libc_pread): Use SYSCALL_LL macro on offset argument.
12474         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12475         Remove define.
12476         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12477         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12478         Linux implementation as base.
12479         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12480         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12481         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12483         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12484         definition.
12485         (__ALIGNMENT_COUNT): Likewise.
12486         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12487         (__ALIGNMENT_COUNT): Likewise.
12488         (SYSCALL_LL): New define.
12489         (SYSCALL_LL64): Likewise.
12490         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12491         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12492         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12493         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12495         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12496         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12497         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12498         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12499         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12500         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12502 2016-04-11  Florian Weimer  <fweimer@redhat.com>
12504         [BZ #19865]
12505         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12506         original buffer before retry.
12508 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12510         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12511         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12512         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12513         GLRO(dl_auxv) list.
12514         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12515         including <ldsodefs.h>.
12516         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12518 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
12520         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12521         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12522         $(CPPFLAGS).
12524 2016-04-09  Khem Raj  <raj.khem@gmail.com>
12526         [BZ #17950]
12527         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12528         Add -mfpmath=387.
12530 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
12532         * sysdeps/i386/configure.ac: Change == to = when calling test.
12533         * sysdeps/x86_64/configure.ac: Likewise.
12534         * sysdeps/i386/configure: Regenerated.
12535         * sysdeps/x86_64/configure: Likewise.
12537 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
12539         [BZ #16137]
12540         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12541         * benchtests/bench-strcoll.c (input_files): Likewise.
12542         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12543         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12544         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12546 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
12548         [BZ #19929]
12549         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12550         [__USE_XOPEN2K8 && !__USE_GNU].
12551         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12552         variable.
12554         [BZ #19925]
12555         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12556         define if [!__USE_MISC && __USE_XOPEN2K].
12557         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12558         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12559         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12560         Likewise.
12561         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12562         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12563         variable.
12564         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12566 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12568         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12569         (sysdep_routines): Add new strspn targets.
12570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12571         (__libc_ifunc_impl_list): Add strspn.
12572         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12573         New file.
12574         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12575         Likewise.
12576         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12577         Likewise.
12578         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12579         Likewise.
12581 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12583         * misc/hsearch_r.c: Include <limits.h>.
12585 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12587         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12589 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12591         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12592         (MEMCPY_SYMBOL): New.
12593         (MEMPCPY_SYMBOL): Likewise.
12594         (MEMMOVE_CHK_SYMBOL): Likewise.
12595         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12596         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12597         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
12598         Provide alias for memcpy in libc.a and ld.so.
12600 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12602         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12603         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
12604         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12605         Disabled fro now.
12606         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12607         symbols.  Properly check USE_MULTIARCH on __memset symbols.
12609 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12611         * benchtests/Makefile (string-benchset): Add memcpy-large,
12612         memmove-large and memset-large.
12613         * benchtests/bench-memcpy-large.c: New file.
12614         * benchtests/bench-memmove-large.c: Likewise.
12615         * benchtests/bench-memmove-large.c: Likewise.
12616         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12618 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12620         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12621         32-bit displacement to avoid long nop between instructions.
12623 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12625         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12626         a comment on VMOVU and VMOVA.
12628 2016-04-04  Florian Weimer  <fweimer@redhat.com>
12630         [BZ #19633]
12631         Use specified locale for number formatting in strfmon_l.
12632         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12633         (__nl_lookup_word): New inline functions.
12634         * include/printf.h (__print_fp_l): Declare.
12635         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12636         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
12637         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12638         (___printf_fp): New function.
12639         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12640         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12641         * stdlib/tst-strfmon_l.c (do_test): New test.
12642         * stdlib/Makefile (tests): Add kt.
12643         (LOCALES): Build additional locales.
12644         (tst-strfmon_l.out): Require locales.
12646 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12648         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12649         if not in libc.
12650         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12651         Likewise.
12652         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12653         Likewise.
12654         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12655         Likewise.
12657 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12659         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12660         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12661         with unaligned_erms.
12662         (__memmove_erms): Skip if source == destination.
12663         (__memmove_unaligned_erms): Don't check source == destination
12664         first.
12666 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12668         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12669         bit_arch_Fast_Copy_Backward for Intel Core proessors.
12671 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12673         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12674         * string/strspn.c (strspn): Likewise.
12676 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12678         * benchtests/bench-memset.c (do_test): Support 64-byte
12679         alignment.
12680         (test_main): Test 64-byte alignment.
12682 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12684         * benchtests/bench-memmove.c (test_main): Test 64-byte
12685         alignment.
12687 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12689         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12691 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12693         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12694         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12695         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12697         * string/strpbrk.c (strpbrk): Rewrite function.
12698         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12699         (__strpbrk_c2): Likewise.
12700         (__strpbrk_c3): Likewise.
12701         * string/string-inlines.c
12702         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12703         Likewise.
12704         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12705         Likewise.
12707         * string/strspn.c (strcspn): Rewrite function.
12708         * string/bits/string2.h (strspn): Use __builtin_strcspn.
12709         (__strspn_c1): Remove inline function.
12710         (__strspn_c2): Likewise.
12711         (__strspn_c3): Likewise.
12712         * string/string-inlines.c
12713         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12714         compatibility symbol.
12715         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12716         Likewise.
12717         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12718         Likewise.
12719         * string/string-inlines.c: Include generic version.
12721 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
12722             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12724         * string/Version (libc): Add GLIBC_2.24.
12725         * string/strcspn.c (strcspn): Rewrite function.
12726         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12727         (__strcspn_c1): Remove inline function.
12728         (__strcspn_c2): Likewise.
12729         (__strcspn_c3): Likewise.
12730         * string/string-inline.c
12731         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12732         compatibility symbol.
12733         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12734         Likewise.
12735         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12736         Likewise.
12737         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12739 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12741         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12742         Use ahi instead of aghi to adjust stack pointer.
12744 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12746         [BZ #19853]
12747         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12748         TEST to take significant digits as second parameter.
12749         [TEST]: Redefine in terms of TEST_N taking 30
12750         significant digits.
12751         (do_test): Add test case to demonstrate precision
12752         failure in the ldbl-128ibm printf.
12753         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12754         (__mpn_extract_long_double): Carry 7 extra intermediate
12755         bits of precision to aide computing difference when
12756         signs differ.
12758 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12760         [BZ #19881]
12761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12762         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12763         memset-avx512-unaligned-erms.
12764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12765         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12766         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12767         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12768         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12769         __memset_sse2_unaligned_erms, __memset_erms,
12770         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12771         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12772         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12773         file.
12774         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12775         Likewise.
12776         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12777         Likewise.
12778         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12779         Likewise.
12781 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12783         [BZ #19776]
12784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12785         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12786         memmove-avx512-unaligned-erms.
12787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12788         (__libc_ifunc_impl_list): Test
12789         __memmove_chk_avx512_unaligned_2,
12790         __memmove_chk_avx512_unaligned_erms,
12791         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12792         __memmove_chk_sse2_unaligned_2,
12793         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12794         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12795         __memmove_avx512_unaligned_erms, __memmove_erms,
12796         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12797         __memcpy_chk_avx512_unaligned_2,
12798         __memcpy_chk_avx512_unaligned_erms,
12799         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12800         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12801         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12802         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12803         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12804         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12805         __mempcpy_chk_avx512_unaligned_erms,
12806         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12807         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12808         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12809         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12810         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12811         __mempcpy_erms.
12812         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12813         file.
12814         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12815         Likewise.
12816         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12817         Likewise.
12818         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12819         Likewise.
12821 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12823         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12824         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12825         (La_s390_64_regs): Likewise.
12826         (La_s390_32_retval): Append vector register lrv_v24.
12827         (La_s390_64_retval): Likeweise.
12828         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12829         Handle extended structs La_s390_32_regs and La_s390_32_retval.
12830         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12831         Handle extended structs La_s390_64_regs and La_s390_64_retval.
12833 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12835         [BZ #19916]
12836         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12837         to create a non-vector/vector version for _dl_runtime_resolve and
12838         _dl_runtime_profile. Move implementation to ...
12839         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12840         (_dl_runtime_resolve) Save and restore fpr/vrs.
12841         (_dl_runtime_profile) Save and restore vrs and fix some issues
12842         if _dl_call_pltexit is called.
12843         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12844         Choose the correct resolver function if running on a machine with vx.
12845         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12846         to create a non-vector/vector version for _dl_runtime_resolve and
12847         _dl_runtime_profile. Move implementation to ...
12848         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12849         (_dl_runtime_resolve) Save and restore fpr/vrs.
12850         (_dl_runtime_profile) Save and restore vrs and fix some issues
12851         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12852         Choose the correct resolver function if running on a machine with vx.
12854 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12856         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12858 2016-03-31  Florian Weimer  <fweimer@redhat.com>
12860         [BZ #19509]
12861         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12862         skip_map != NULL.
12863         * elf/tst-dlsym-error.c: New file.
12864         * elf/Makefile (tests): Add tst-dlsym-error.
12865         (tst-dlsym-error): Link against libdl.
12867 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
12869         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12870         (__ASSUME_FUTIMESAT): Remove macro.
12871         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12873 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12875         [BZ #19879]
12876         CVE-2016-3075
12877         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12878         copy name.
12880 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12882         [BZ #19837]
12883         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12884         error if parse_line fails.
12886 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12888         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12889         (index_cpu_ERMS): Likewise.
12890         (reg_ERMS): Likewise.
12892 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
12894         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12895         PER_LINUX_FDPIC): Add.
12897 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12900         memcpy-avx512-no-vzeroupper.
12901         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12902         to ...
12903         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12904         (MEMCPY): Don't define.
12905         (MEMCPY_CHK): Likewise.
12906         (MEMPCPY): Likewise.
12907         (MEMPCPY_CHK): Likewise.
12908         (MEMPCPY_CHK): Renamed to ...
12909         (__mempcpy_chk_avx512_no_vzeroupper): This.
12910         (MEMPCPY_CHK): Renamed to ...
12911         (__mempcpy_chk_avx512_no_vzeroupper): This.
12912         (MEMCPY_CHK): Renamed to ...
12913         (__memmove_chk_avx512_no_vzeroupper): This.
12914         (MEMCPY): Renamed to ...
12915         (__memmove_avx512_no_vzeroupper): This.
12916         (__memcpy_avx512_no_vzeroupper): New alias.
12917         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12919 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12921         [BZ #18858]
12922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12923         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12924         and mempcpy-avx512-no-vzeroupper.
12925         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12926         New.
12927         (MEMPCPY): Likewise.
12928         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12929         (MEMPCPY_CHK): New.
12930         (MEMPCPY): Likewise.
12931         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12932         (MEMPCPY): Likewise.
12933         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12934         (MEMPCPY): Likewise.
12935         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12936         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12937         Likewise.
12938         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12939         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12941 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12942              Amit Pawar  <Amit.Pawar@amd.com>
12944         [BZ #19583]
12945         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12946         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12947         processors.  Set Fast_Copy_Backward for AMD Excavator
12948         processors.
12949         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12950         New.
12951         (index_arch_Fast_Unaligned_Copy): Likewise.
12952         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12953         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12955 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12957         [BZ #19791]
12958         * resolv/res_send.c (close_and_return_error): New function.
12959         (send_dg): Initialize *resplen2 after reopen failure.  Call
12960         close_and_return_error for error returns.  On error paths without
12961         __res_iclose, initialze *resplen2 explicitly.  Update comment for
12962         successful return.
12964 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12966         [BZ# 19860]
12967         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12968         zero if the compiler does not provide the AVX512F bit.
12970 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
12972         [BZ #19848]
12973         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12974         from 8 to 4.
12975         (__ieee754_powl): Compare integer exponent against 4 not 8.
12976         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12977         from 8 to 4.
12978         (__ieee754_powl): Compare integer exponent against 4 not 8.
12979         * math/auto-libm-test-in: Add more tests of pow.
12980         * math/auto-libm-test-out: Regenerated.
12981         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12984 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12986         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12987         Make code unconditional.
12988         [!__NR_utimensat]: Remove conditional code.
12989         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12990         Make code unconditional.
12991         [!__NR_utimensat]: Remove conditional code.
12992         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12993         Make code unconditional.
12994         [!__NR_utimensat]: Remove conditional code.
12996 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12998         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12999         Make code unconditional.
13001 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
13003         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
13004         call-clobbered %eax on retry path.
13005         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13007 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13009         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
13010         Don't set %rcx twice before "rep movsb".
13012 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13014         [BZ #19583]
13015         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
13016         inline.  Check family before setting family, model and
13017         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
13018         bits here.
13019         (init_cpu_features): Replace HAS_CPU_FEATURE and
13020         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
13021         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
13022         for Intel processors with usable AVX2.  Call get_common_indeces
13023         for other processors with family == NULL.
13024         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
13025         (CPU_FEATURES_ARCH_P): Likewise.
13026         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
13027         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
13029 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13031         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
13032         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
13033         $(shared-thread-library) instead of hardcoding the path to libpthread.
13035 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
13037         * sysdeps/unix/sysv/linux/kernel-features.h
13038         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
13039         * sysdeps/unix/sysv/linux/getdents.c
13040         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13041         [!have_no_getdents64_defined]: Likewise.
13042         (__GETDENTS): Remove __have_no_getdents64 conditional.
13044 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
13046         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
13047         Remove macro.
13048         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
13049         <kernel-features.h>.
13050         (signalfd) [__NR_signalfd4]: Make code unconditional.
13051         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
13053 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13055         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
13056         style.
13058 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13060         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
13061         (__pthread_enable_asynccancel): Use JUMPTARGET to call
13062         __pthread_unwind.
13063         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13064         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
13065         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13066         (__condvar_cleanup1): Likewise.
13068 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
13070         [BZ #19822]
13071         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
13072         move it to the final $@ location.
13074 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13076         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
13077         access where posix_spawn success and pid argument is null.
13078         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
13079         success case.
13081 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
13083         * sysdeps/mach/hurd/i386/c++-types.data: New file.
13085         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
13087         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
13088         and __fcntl.
13089         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
13090         __fcntl only.
13091         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
13092         adding attribute_hidden to __open and __fcntl.
13094         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
13095         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
13096         depend on libc-modules.h,
13097         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
13099 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
13101         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
13102         Remove macro.
13103         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
13104         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
13105         entry.
13107         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
13108         Remove macro.
13109         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
13110         include <kernel-features.h>.
13111         [!__ASSUME_FALLOCATE]: Remove conditional code.
13112         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
13114 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13116         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
13117         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
13118         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
13119         (_ZGVdN4v_cos_avx2): Likewise.
13120         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
13121         (_ZGVdN4v_cos): Likewise.
13122         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
13123         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
13124         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
13125         (_ZGVdN4v_exp_avx2): Likewise.
13126         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
13127         (_ZGVdN4v_exp): Likewise.
13128         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
13129         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
13130         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
13131         (_ZGVdN4v_log_avx2): Likewise.
13132         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
13133         (_ZGVdN4v_log): Likewise.
13134         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
13135         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
13136         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
13137         (_ZGVdN4vv_pow_avx2): Likewise.
13138         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
13139         (_ZGVdN4vv_pow): Likewise.
13140         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
13141         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
13142         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
13143         (_ZGVdN4v_sin_avx2): Likewise.
13144         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
13145         (_ZGVdN4v_sin): Likewise.
13146         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
13147         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
13148         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
13149         (_ZGVdN4vvv_sincos_avx2): Likewise.
13150         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
13151         (_ZGVdN4vvv_sincos): Likewise.
13152         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
13153         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
13154         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
13155         (_ZGVbN4v_cosf_sse4): Likewise.
13156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
13157         (_ZGVdN8v_cosf_avx2): Likewise.
13158         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
13159         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
13160         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
13161         (_ZGVbN4v_expf_sse4): Likewise.
13162         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
13163         (_ZGVdN8v_expf_avx2): Likewise.
13164         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
13165         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
13166         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
13167         (_ZGVbN4v_logf_sse4): Likewise.
13168         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
13169         (_ZGVdN8v_logf_avx2): Likewise.
13170         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
13171         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
13172         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
13173         (_ZGVbN4vv_powf_sse4): Likewise.
13174         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
13175         (_ZGVdN8vv_powf_avx2): Likewise.
13176         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13177         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
13178         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13179         (_ZGVbN4vvv_sincosf_sse4): Likewise.
13180         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13181         (_ZGVdN8vvv_sincosf_avx2): Likewise.
13182         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
13183         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
13184         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13185         (_ZGVbN4v_sinf_sse4): Likewise.
13186         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13187         (_ZGVdN8v_sinf_avx2): Likewise.
13188         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13189         Use JUMPTARGET to call callee.
13190         (WRAPPER_IMPL_SSE2_ff): Likewise.
13191         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13192         (WRAPPER_IMPL_AVX): Likewise.
13193         (WRAPPER_IMPL_AVX_ff): Likewise.
13194         (WRAPPER_IMPL_AVX_fFF): Likewise.
13195         (WRAPPER_IMPL_AVX512): Likewise.
13196         (WRAPPER_IMPL_AVX512_ff): Likewise.
13197         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13198         Likewise.
13199         (WRAPPER_IMPL_SSE2_ff): Likewise.
13200         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13201         (WRAPPER_IMPL_AVX): Likewise.
13202         (WRAPPER_IMPL_AVX_ff): Likewise.
13203         (WRAPPER_IMPL_AVX_fFF): Likewise.
13204         (WRAPPER_IMPL_AVX512): Likewise.
13205         (WRAPPER_IMPL_AVX512_ff): Likewise.
13206         (WRAPPER_IMPL_AVX512_fFF): Likewise.
13208 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13210         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13211         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13212         qualifier.
13213         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13214         internal_function qualifiers.
13216 2016-03-15  Carlos O'Donell <carlos@redhat.com>
13218         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13219         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13220         * math/atest-exp.c (exp_mpn): Mark chk unused.
13221         * math/atest-exp2.c (exp_mpn): Likewise.
13222         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13223         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13225 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
13227         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13228         Remove macro.
13229         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13230         <kernel-features.h>.
13231         [__NR_ppoll]: Make code unconditional.
13232         [!__ASSUME_PPOLL]: Remove conditional code.
13234         * sysdeps/unix/sysv/linux/kernel-features.h
13235         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13236         (__ASSUME_ACCEPT4): Likewise.
13237         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13238         Define.
13239         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13240         Likewise.
13241         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13242         Likewise.
13243         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13244         Likewise.
13245         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13246         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13247         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13248         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13249         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13250         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13251         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13252         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13253         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13254         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13255         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13256         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13257         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13258         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13259         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13260         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13261         Likewise.
13262         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13263         Likewise.
13264         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13265         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13266         0x040300].
13267         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13268         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13269         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13270         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13271         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13272         0x030300].
13273         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13274         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13275         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13276         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13277         0x040300].
13278         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13279         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13280         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13281         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13282         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13283         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13284         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13285         0x030300].
13286         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13287         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13288         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13289         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13290         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13291         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13292         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13293         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13294         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13295         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13296         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13297         0x040300].
13298         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13299         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13300         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13301         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13302         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13303         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13304         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13305         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13306         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13307         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13308         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13309         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13310         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13311         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13312         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13313         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13314         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13315         Likewise.
13316         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13317         Likewise.
13319 2016-03-15  Andreas Schwab  <schwab@suse.de>
13321         [BZ #19257]
13322         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13323         statp->_u._ext.nscount as loop count.
13325 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13327         * math/test-signgam-finite-c99.c: Also #undef
13328         __LIBC_INTERNAL_MATH_INLINES.
13329         * math/test-signgam-main.c: Likewise.
13331 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
13333         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13334         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13335         (MADV_FREE): Likewise.
13336         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13337         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13338         EPOLLEXCLUSIVE.
13340 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
13342         * timezone/README: Remove mention of checktab.awk. Mention wiki
13343         SharedSourceFiles.
13345 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
13347         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13348         WUNTRACED.
13350 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13352         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13353         order to match the type of p when calling atomic_exchange_acq().
13355 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13357         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13358         cfi_offset calls.
13359         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13360         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13361         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13362         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13363         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13365 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
13367         * timezone/checktab.awk: Removed.
13369 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
13371         * manual/math.texi (Errors in Math Functions): Document relaxed
13372         accuracy goals for IBM long double.
13373         * math/libm-test.inc (test_exceptions): Always allow spurious
13374         "underflow" and "inexact" exceptions for IBM long double.
13376 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
13378         [BZ #19762]
13379         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13380         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13381         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13382         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13383         (bit_arch_*): This for feature array.
13384         (bit_*): Renamed to ...
13385         (bit_cpu_*): This for cpu array.
13386         (index_*): Renamed to ...
13387         (index_arch_*): This for feature array.
13388         (index_*): Renamed to ...
13389         (index_cpu_*): This for cpu array.
13390         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13391         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13392         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13393         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13394         bit_##name with index_cpu_##name and bit_cpu_##name.
13395         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13396         bit_##name with index_arch_##name and bit_arch_##name.
13398 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
13400         [BZ #19792]
13401         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13402         Terminate FDE before return label.
13404 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
13406         [BZ #19790]
13407         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13408         (rintl): Define as macro.
13409         [USE_AS_NEARBYINTL] (__rintl): Likewise.
13410         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13411         of fesetround.  Ensure results are evaluated before end of scope.
13412         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13413         USE_AS_NEARBYINTL and include s_rintl.c.
13414         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13415         Disable exception traps in new environment.
13416         (libc_feholdsetround_ppc_ctx): Likewise.
13418 2016-03-08  Roland McGrath  <roland@hack.frob.com>
13420         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13421         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13422         (tst_audit10_aux) [__AVX512F__]: ... here.
13424 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
13426         * include/sys/auxv.h: New file.
13428 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13430         [BZ #19759]
13431         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13433 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13435         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13436         operand modifier.
13437         (feclearexcept): Likewise.
13439 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13441         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13442         to reflect the entire 32-bit HWCAP.
13443         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13444         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
13446 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13448         [BZ #19783]
13449         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13450         $(test-via-rtld-prefix).
13451         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13453 2016-03-08  Florian Weimer  <fweimer@redhat.com>
13455         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13456         union wait.  Report any non-zero exit status as error.
13458 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13460         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13461         configured with --enable-hardcoded-path-in-tests.
13463 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
13465         [BZ #19677]
13466         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13467         (__ieee754_remainderl): Put zero low parts in canonical form.
13468         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13469         file.  Based on
13470         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13471         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13472         with wrapper round test-fmodrem-ldbl-128ibm.c.
13473         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13474         file.
13475         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13476         Likewise.
13477         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13478         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13480 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13482         [BZ #19610]
13483         * elf/ldconfig.c (opt_link): Update comment.
13484         (options): Update help string for option -X.
13485         (search_dir): Unlink stale symbolic link only if updating symbolic
13486         links.
13487         * elf/tst-ldconfig-X.sh: New file.
13488         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13489         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13491 2016-03-07  Andreas Schwab  <schwab@suse.de>
13493         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13494         needed arguments.
13496 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
13498         [BZ #15333]
13499         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13500         to lstat64.
13502 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13504         * libio/filedoalloc.c (isatty): Remove.
13505         (local_isatty): Add comment.  Call __isatty directly.
13506         (_IO_file_doallocate): Update comment.  Assume _LIBC.
13507         * libio/wfiledoalloc.c (isatty): Remove.
13508         (_IO_wfile_doallocate): Update comment.
13510 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13512         [BZ #19269]
13513         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13514         tst-audit4-aux.o.
13515         (tst-audit10): Depend on tst-audit10-aux.o.
13516         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13517         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13518         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13519         instead of inline AVX code.
13520         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13521         instead of inline AVX512 code.
13522         * sysdeps/x86_64/tst-audit4-aux.c: New file
13523         * sysdeps/x86_64/tst-audit10-aux.c: New file
13525         [BZ #19648]
13526         * test-skeleton.c (main): Do not set RLIMIT_DATA.
13528 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13530         [BZ #14750]
13531         [BZ #10354]
13532         [BZ #18433]
13533         * include/sched.h (__clone): Add hidden prototype.
13534         (__clone2): Likewise.
13535         * include/unistd.h (__dup): Likewise.
13536         * posix/Makefile (tests): Add tst-spawn2.
13537         * posix/tst-spawn2.c: New file.
13538         * sysdeps/posix/dup.c (__dup): Add hidden definition.
13539         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13540         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13541         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13542         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13543         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13544         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13545         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13546         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13547         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13548         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13550         Likewise.
13551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13552         Likewise.
13553         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13554         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13555         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13556         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13557         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13558         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13559         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13560         * sysdeps/unix/sysv/linux/nptl-signals.h
13561         (____nptl_is_internal_signal): New function.
13562         * sysdeps/unix/sysv/linux/spawni.c: New file.
13564         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13565         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13566         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13567         * posix/tst-execvp2.c (do_test): Likewise.
13568         * posix/tst-execvp3.c (do_test): Likewise.
13569         * posix/tst-execvp4.c (do_test): Likewise.
13570         * posix/tst-execvpe1.c: New file.
13571         * posix/tst-execvpe2.c: Likewise.
13572         * posix/tst-execvpe3.c: Likewise.
13573         * posix/tst-execvpe4.c: Likewise.
13574         * posix/tst-execvpe5.c: Likewise.
13575         * posix/tst-execvpe6.c: Likewise.
13577         [BZ #19534]
13578         * posix/execl.c (execl): Remove dynamic memory allocation.
13579         * posix/execle.c (execle): Likewise.
13580         * posix/execlp.c (execlp): Likewise.
13582 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13584         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13585         Replace .text with .text.avx512.
13586         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13587         Likewise.
13589 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
13591         * sysdeps/generic/libnsl.abilist: New file.
13592         * sysdeps/generic/libutil.abilist: New file.
13594 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13596         [BZ #19762]
13597         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13598         HAS_ARCH_FEATURE with Fast_Rep_String.
13599         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13600         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13601         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13602         Likewise.
13603         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13604         Likewise.
13605         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13606         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13607         Likewise.
13608         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13609         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13610         Likewise.
13612 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13614         [BZ #19745]
13615         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13616         with *%rax in call.
13618 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13620         [BZ #19745]
13621         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13622         with *__libc_start_main@GOTPCREL(%rip) in call.
13624 2016-03-04  Roland McGrath  <roland@hack.frob.com>
13626         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13627         inside conditional for nonempty $(CXX).
13629         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13630         nonempty.
13632         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13633         to test for empty $(CXX) rather than $(CXX) of "no".
13635 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13637         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13639 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
13640             H.J. Lu  <hongjiu.lu@intel.com>
13642         [BZ #18880]
13643         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13644         instead of Slow_BSF, and also check for Fast_Copy_Backward to
13645         enable __memcpy_ssse3_back.
13647 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13649         [BZ #19758]
13650         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13651         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13653 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13655         [BZ #19490]
13656         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13657         (__fentry__): Likewise.
13659 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13661         * gmon/Makefile (noprof): Add $(sysdep_noprof).
13662         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13664 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13666         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13667         __mcount_internal directly.
13668         (C_LABEL(__fentry__)): Likewise.
13669         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13670         directly.
13672 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13674         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13675         (__start_context): Call __setcontext directly.
13677 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
13679         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13680         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13681         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13682         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13683         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13684         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13685         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13686         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13687         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13688         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13689         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13690         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13691         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13692         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13693         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13694         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13695         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13696         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13697         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13698         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13699         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13700         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13701         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13702         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13703         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13704         Remove conditional code.
13705         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13706         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13707         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13708         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13709         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13710         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13711         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13712         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13713         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13714         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13715         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13716         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13718 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
13720         * NEWS (2.23): Fix typo in bug 19048 text.
13722 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
13724         [BZ #14259]
13725         * Makeconfig: Rename msgcatdir to localedir.
13726         Rename inst_msgcatdir to inst_localedir.
13727         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13728         * config.make.in: Add localedir.
13729         * elf/Makefile ($(objpfx)sotruss): Use localedir.
13730         (ldd-rewrite): Likewise.
13731         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13732         (install-others): Use inst_localedir.
13733         (CPPFLAGS): Use localedir.
13734         * locale/Makefile (locale-CPPFLAGS): Likewise.
13735         * po/Makefile (mo-installed): Use inst_localedir.
13737         [BZ #19575]
13738         * localedata/charmaps/GB18030: Update comments regarding PAU to
13739         non-PUA mappings.
13741 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
13743         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13744         test for header.
13745         * sysdeps/unix/sysv/linux/configure: Regenerated.
13746         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13747         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13748         Remove conditional code.
13749         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13751         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13752         Define to 3.2.0.
13753         (arch_minimum_kernel): Likewise.
13754         * sysdeps/unix/sysv/linux/configure: Regenerated.
13755         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13756         Define to 2.6.32.
13757         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13758         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13759         (arch_minimum_kernel): Define to 2.6.32.
13760         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13761         * README: Document Linux 3.2 requirement.
13762         * manual/install.texi (Linux): Document Linux 3.2 headers
13763         requirement.
13764         * INSTALL: Regenerated.
13766 2016-02-24  Andreas Schwab  <schwab@suse.de>
13768         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13769         if !NO_LONG_DOUBLE.
13771 2016-02-22  Roland McGrath  <roland@hack.frob.com>
13773         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13774         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13776 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
13778         [BZ #19512]
13779         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13781 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13783         * posix/tst-dir.c: Include libc-internal.h.
13785 2016-02-20  Florian Weimer  <fweimer@redhat.com>
13787         [BZ #19056]
13788         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13789         * manual/filesys.texi (Reading/Closing Directory): Mention
13790         deprecaion.
13791         * posix/tst-dir.c (main): Disable deprecation warning in test.
13793 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
13795         [BZ #19679]
13796         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13797         Renamed to ...
13798         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
13799         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13800         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
13801         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13802         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13803         * sysdeps/x86_64/dl-trampoline.h
13804         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13805         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13807 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13809         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13811 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13813         * elf/elf.h (R_386_GOT32X): New.
13814         (R_386_NUM): Update.
13815         (R_X86_64_GOTPCRELX: New.
13816         (R_X86_64_REX_GOTPCRELX): New.
13817         (R_X86_64_NUM): Update.
13819 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
13821         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13823 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
13825         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13826         assign attr->stackaddr to it, and adjust it down when
13827         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
13828         [_STACK_GROWS_UP]: Delete assert.
13829         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13830         Implement stack grows up logic.
13831         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13832         stack grows up logic.
13834 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13836         * NEWS: Update with 2.24 template.
13838 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13840         [BZ #19678]
13841         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13842         Ensure +0.0 is returned when taking the next value below the least
13843         positive value.
13845 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13847         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13848         available.  Do not define NO_THREADS.
13849         * malloc/malloc.c: Do not check NO_THREADS.
13850         * malloc/arena.c: Likewise.
13852 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13854         * malloc/malloc.c (__libc_mallinfo): Update comment.
13855         (struct malloc_par): Remove max_total_mem member, it was always 0.
13856         (int_mallinfo): Store 0 into usmblks (no functional change).
13857         * malloc/hooks.c (struct malloc_state): Document that
13858         max_total_mem is always 0.
13859         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13860         always 0.
13861         * manual/memory.texi (Statistics of Malloc): Likewise.
13863 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13865         * malloc/malloc.c (sysmalloc): Do not update arena_max.
13866         * malloc/arena.c (arena_max): Remove.
13867         (heap_trim, _int_new_arena): Do not update arena_max.
13869 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13871         * resolv/res_init.c (res_ninit): Update comment.
13873 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13875         [BZ #19505]
13876         * posix/spawn_int.h: Add headers and include guard.
13877         (__spawn_valid_fd): New function.
13878         * posix/spawn_faction_addopen.c
13879         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13880         * posix/spawn_faction_addclose.c
13881         (posix_spawn_file_actions_addclose): Likewise.
13882         * posix/spawn_faction_adddup2.c
13883         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
13884         second file descriptor.
13885         * posix/spawn_valid_fd.c: New file.
13886         * posix/tst-posix_spawn-fd.c: New file.
13887         * posix/Makefile (routines): Add spawn_valid_fd.
13888         (tests): Add tst-posix_spawn-fd.
13890 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13892         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13893         (do_test): Limit the number of arenas, so that we can use fewer
13894         outer threads.  Limit timeout to 3 seconds, in preparation for a
13895         larger TIMEOUT value.
13897 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13899         [BZ #19674]
13900         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13901         sign in overflowing and underflowing results when overflow or
13902         underflow is detected early.  Include sign in result before rather
13903         than after scaling.
13905         [BZ #19603]
13906         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13907         (__ieee754_remainderl): Adjust sign of integer version of low part
13908         when taking absolute value of high part.
13909         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13910         * math/libm-test.inc (remainder_test_data): Add another test.
13911         (remquo_test_data): Likewise.
13913 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
13915         [BZ #19602]
13916         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13917         equal high parts and both low parts zero specially.
13918         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13919         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13920         Add test-fmodl-ldbl-128ibm.
13922         [BZ #19595]
13923         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13924         common logic for all cases of shifting subnormal results.  Do not
13925         insert sign bit in shifted mantissa.  Always pass -1023 as biased
13926         exponent to ldbl_insert_mantissa in subnormal case.
13928         [BZ #19594]
13929         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13930         on high and low parts then adjust result and use
13931         ldbl_canonicalize_int if needed.
13933         [BZ #19593]
13934         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13935         on high part and __floor or __ceil on low part then use
13936         ldbl_canonicalize_int if needed.
13938         [BZ #19592]
13939         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13940         high and low parts then use ldbl_canonicalize_int if needed.
13942         [BZ #17899]
13943         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13944         New function.
13945         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13946         on high and low parts then use ldbl_canonicalize_int if needed.
13948 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13950         * configure: Regenerated.
13952         * po/libc.pot: Regenerated.
13954         * po/be.po: Updated translation.
13955         * po/bg.po: Likewise.
13956         * po/ca.po: Likewise.
13957         * po/cs.po: Likewise.
13958         * po/da.po: Likewise.
13959         * po/el.po: Likewise.
13960         * po/eo.po: Likewise.
13961         * po/es.po: Likewise.
13962         * po/fi.po: Likewise.
13963         * po/fr.po: Likewise.
13964         * po/gl.po: Likewise.
13965         * po/hr.po: Likewise.
13966         * po/hu.po: Likewise.
13967         * po/ia.po: Likewise.
13968         * po/id.po: Likewise.
13969         * po/it.po: Likewise.
13970         * po/ja.po: Likewise.
13971         * po/lt.po: Likewise.
13972         * po/nb.po: Likewise.
13973         * po/nl.po: Likewise.
13974         * po/pt_BR.po: Likewise.
13975         * po/rw.po: Likewise.
13976         * po/sk.po: Likewise.
13977         * po/sl.po: Likewise.
13978         * po/sv.po: Likewise.
13979         * po/tr.po: Likewise.
13980         * po/zh_CN.po: Likewise.
13981         * po/zh_TW.po: Likewise.
13983         * version.h (RELEAES): Set to "development".
13984         (VERSION): Set to 2.23.90.
13986         * version.h (RELEASE): Set to "stable".
13987         (VERSION): Set to 2.23.
13988         * include/feature.h (__GLIBC_MINOR__): Set to 23.
13990         * NEWS: Updated fixed bugs.
13992 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
13993             Wilco Dijkstra  <wdijkstr@arm.com>
13995         [BZ #19462]
13996         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13997         (_STRING_INLINE_unaligned): This.
13998         * include/string.h: Include <string_private.h>.
13999         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
14000         _STRING_INLINE_unaligned.
14001         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
14002         (_STRING_INLINE_unaligned): New.
14003         * sysdeps/aarch64/string_private.h: New file.
14004         * sysdeps/generic/string_private.h: Likewise.
14005         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
14006         * sysdeps/s390/string_private.h: Likewise.
14007         * sysdeps/x86/string_private.h: Likewise.
14008         * sysdeps/m68k/m680x0/m68020/bits/string.h
14009         (_STRING_ARCH_unaligned): Renamed to ...
14010         (_STRING_INLINE_unaligned): This.
14011         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
14012         to ...
14013         (_STRING_INLINE_unaligned): This.
14014         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
14015         to ...
14016         (_STRING_INLINE_unaligned): This.
14017         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
14018         to ...
14019         (_STRING_INLINE_unaligned): This.
14021 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14022             H.J. Lu  <hongjiu.lu@intel.com>
14024         [BZ #19590]
14025         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
14026         relocation.
14028 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
14030         [BZ #18665]
14031         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
14032         *herrno_p.
14033         (gaih_getanswer): Document functional behviour. Return tryagain
14034         if any result is tryagain.
14035         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
14036         when freed.
14037         * resolv/res_send.c: Add copyright text.
14038         (__libc_res_nsend): Document that MAXPACKET is expected.
14039         (send_vc): Document. Remove buffer reuse.
14040         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
14041         size of the buffer. Add Dprint for truncated UDP buffer.
14043 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
14045         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
14046         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
14047         * INSTALL: Regenerate.
14049 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
14050             Jonathan Wakely  <jwakely@redhat.com>
14051             Carlos O'Donell  <carlos@redhat.com>
14053         [BZ 19439]
14054         * math/Makefile (tests): Add test-math-isinff.
14055         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
14056         * math/bits/mathcalls.h [__USE_MISC]: Use
14057         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
14058         functions not in C++11 and which don't conflict e.g. isinff,
14059         isinfl etc.
14060         * math/test-math-isinff.cc: New file.
14062 2016-02-12  Florian Weimer  <fweimer@redhat.com>
14064         * misc/bug18240.c (do_test): Set RLIMIT_AS.
14066 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14068         [BZ #19529]
14069         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
14071 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14073         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14075 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
14077         [BZ #19550]
14078         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
14079         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
14080         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
14081         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
14082         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
14083         New syscall entry.
14084         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
14085         New syscall entry.
14086         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
14087         syscall entry.
14089 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
14091         [BZ #18240]
14092         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
14093         unsigned int wraparound.
14095 2016-01-27  Florian Weimer  <fweimer@redhat.com>
14097         [BZ #18240]
14098         * misc/bug18240.c: New test.
14099         * misc/Makefile (tests): Add it.
14101 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
14102             Joseph Myers  <joseph@codesourcery.com>
14104         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
14105         load in branch delay slot when less than a word of input left.
14107 2016-01-27  Andreas Schwab  <schwab@suse.de>
14109         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
14110         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
14111         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
14112         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
14114 2016-01-26  David S. Miller  <davem@davemloft.net>
14116         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
14118 2016-01-25  David S. Miller  <davem@davemloft.net>
14120         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
14121         __sqrtl_finite.
14122         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
14123         instead using versioned_symbol.
14124         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
14125         of entries.
14127         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
14128         __sqrtl_finite to GLIBC_2.23
14130 2016-01-25  Ricchard Henderson  <rth@redhat.com>
14132         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14134 2016-01-25  Andreas Schwab  <schwab@suse.de>
14136         [BZ #17514]
14137         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
14138         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
14139         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
14140         * nptl/tst-mutex-errorcheck.c: New file.
14142 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14144         [BZ #18560]
14145         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
14146         (IPCOP_semop): Likewise.
14147         (IPCOP_semget): Likewise.
14148         (IPCOP_semctl): Likewise.
14149         (IPCOP_msgsnd): Likewise.
14150         (IPCOP_msgrcv): Likewise.
14151         (IPCOP_msgget): Likewise.
14152         (IPCOP_msgctl): Likewise.
14153         (IPCOP_shmat): Likewise.
14154         (IPCOP_shmdt): Likewise.
14155         (IPCOP_shmget): Likewise.
14156         (IPCOP_shmctl): Likewise.
14158 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
14160         * string/tst-endian.c: Include <libc-internal.h>.
14161         (do_test): Ignore tautological-compare warnings around
14162         "htobeXX (beXXtoh (i)) != i" and
14163         "htoleXX (leXXtoh (i)) != i" if-statements.
14165 2016-01-24  David S. Miller  <davem@davemloft.net>
14167         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
14168         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
14169         alias.
14170         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14171         __sqrtl_finite.
14173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14175 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
14177         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
14178         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
14179         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14181 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14183         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
14184         (thread_func): Use new function to simplify barrier check.
14185         (do_test): Use new function to simplify checking barrier exit
14186         code, and actually join the child thread.
14188 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14190         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14191         semicolon.
14192         (__libc_tend): Likewise.
14193         (__libc_tabort): Likewise.
14195 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
14197         * sysdeps/nios2/libm-test-ulps: Update.
14198         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14199         (__gtsf2): Likewise.
14200         (__unorddf2): Likewise.
14201         (__unordsf2): Likewise.
14202         (__ledf2): Likewise.
14204 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
14206         * nis/nis_table.c (__follow_path): Disable diagnostic for
14207         uninitialized variable that is a false positive for gcc 4.7.
14208         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14210 2016-01-20  Roland McGrath  <roland@hack.frob.com>
14212         * sysdeps/nacl/lowlevellock-futex.h
14213         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14214         Always evaluate PRIVATE argument.
14216 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
14218         [BZ #19490]
14219         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14220         (pthread_cond_broadcast): Use ENTRY/END
14221         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14222         (pthread_cond_signal): Likewise.
14223         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14224         Likewise.
14225         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14226         Likewise.
14227         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14228         Likewise.
14230 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
14232         * sysdeps/ieee754/dbl-64/s_finite.c
14233         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14234         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14235         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14236         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14237         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14240         (__gtsf2): Add as optional for libc.so.
14241         (__unordsf2): Likewise.
14242         (__signbit): Remove for libc.so.
14243         (__signbitl): Likewise.
14245 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14247         * iconvdata/bug-iconv11.c (test_ibm93x):
14248         Use %zu printf format specifier for size_t argument.
14250 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
14252         * math/gen-libm-test.pl (parse_ulps): Do not reduce
14253         already-recorded ulps.
14254         * sysdeps/arm/libm-test-ulps: Regenerated.
14255         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14256         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14257         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14259 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14260             Paul Pluzhnikov  <ppluzhnikov@google.com>
14262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14263         assembler not supporting AVX-512.
14265 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14267         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14269 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
14271         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14272         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14274         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14276         * sysdeps/arm/libm-test-ulps: Regenerated.
14278 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14280         [BZ #19451]
14281         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14283 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14285         [BZ #19486]
14286         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14287         * sysdeps/generic/fix-fp-int-convert-overflow.h
14288         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14289         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14290         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14291         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14292         Likewise.
14293         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14294         Avoid conversions to long int where inexact exceptions
14295         could be raised.
14296         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14297         Likewise.
14298         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14299         Avoid conversions to long long int where inexact exceptions
14300         could be raised.
14301         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14302         Likewise.
14304 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
14306         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14307         * configure: Regenerated.
14309 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14311         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14313 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
14315         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14316         outside of comment.
14318 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14320         * nptl/tst-barrier1.c: Add description on first line.
14321         * nptl/tst-barrier2.c: Likewise.
14322         * nptl/tst-barrier3.c: Likewise.
14323         * nptl/tst-barrier4.c: Likewise.
14324         * nptl/tst-barrier5.c: Likewise.
14326 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14328         [BZ #18868]
14329         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14331 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14335         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14336         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14337         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14338         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14339         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14340         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14341         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14342         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14343         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14345 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14347         [BZ #13065]
14348         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14349         new implementation.
14350         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14351         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14352         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14353         (BARRIER_IN_THRESHOLD): New macro.
14354         * nptl/pthread_barrierattr_setpshared.c
14355         (pthread_barrierattr_setpshared): Clean up.
14356         * nptl/tst-barrier4.c: Correct comment.
14357         * nptl/tst-barrier5.c: New file.
14358         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14359         (gen-as-const-headers): Remove lowlevelbarrier.sym.
14360         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14361         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14362         * nptl/lowlevelbarrier.sym: Remove.
14363         * nptl/DESIGN-barrier.txt: Remove.
14364         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14365         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14366         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14367         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14368         error.
14369         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14370         implementation.
14372 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14374         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14375         (do_child): Mask SIGRTMIN while thr is running.
14377 2016-01-15  Martin Sebor  <msebor@redhat.com>
14379         [BZ #19432]
14380         * iconvdata/Makefile: Add bug-iconv11.
14381         * iconvdata/bug-iconv11.c: New test.
14382         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14383         * iconvdata/ibm933.c: Same.
14384         * iconvdata/ibm935.c: Same.
14385         * iconvdata/ibm937.c: Same.
14386         * iconvdata/ibm939.c: Same.
14388 2016-01-15  Martin Sebor  <msebor@redhat.com>
14390         [BZ #19443]
14391         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14392         [DEBUG] (_ufc_set_bits): Declare used.
14393         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14394         [DEBUG] (print_all): Declare used.
14395         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14396         operands of the ternary ?: expression to target type.
14397         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14398         calling the undeclared abort.
14399         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14401 2016-01-15  Martin Sebor  <msebor@redhat.com>
14403         [BZ #18755]
14404         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14405         warnings.
14406         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14407         (__gai_create_helper_thread): Same.
14408         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14409         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14410         to suppress -Wmaybe-uninitialized warnings.
14412 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
14414         [BZ #19465]
14415         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14416         inside if.
14417         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14418         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14419         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14421 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
14423         [BZ #19466]
14424         * time/tst-mktime2.c (time_t_max): Removed.
14425         (time_t_min): Likewise.
14426         (TYPE_SIGNED): New.
14427         (TYPE_MINIMUM): Likewise.
14428         (TYPE_MAXIMUM): Likewise.
14429         (TIME_T_MIN): Likewise.
14430         (TIME_T_MAX): Likewise.
14431         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14432         and TIME_T_MIN.
14433         (do_test): Likewise.
14435 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
14437         [BZ #19467]
14438         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14439         index_Fast_Unaligned_Load flag for Excavator family CPUs.
14441 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
14443         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14445 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
14447         * benchtests/Makefile (PYTHON): Define.
14448         (bench-func): Use $(PYTHON) to run python scripts.
14449         ($(objpfx)bench-%.c): Likewise.
14451 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
14453         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14454         leading slash when `file_name' is "/".
14456 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
14458         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14459         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14460         Likewise.
14461         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14462         Likewise.
14463         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14464         Likewise.
14465         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14466         enum constant and macro.
14467         (PTRACE_SETSIGMASK): Likewise.
14468         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14469         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14470         (PTRACE_GETSIGMASK): Likewise.
14471         (PTRACE_SETSIGMASK): Likewise.
14472         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14473         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14474         Likewise.
14475         (PTRACE_SETSIGMASK): Likewise.
14476         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14477         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14478         (PTRACE_GETSIGMASK): Likewise.
14479         (PTRACE_SETSIGMASK): Likewise.
14480         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14481         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14482         Likewise.
14483         (PTRACE_SETSIGMASK): Likewise.
14484         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14485         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14486         Likewise.
14487         (PTRACE_SETSIGMASK): Likewise.
14488         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14489         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14490         Likewise.
14491         (PTRACE_SETSIGMASK): Likewise.
14492         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14494 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
14495             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14497         [BZ #19439]
14498         * math/bits/mathcalls.h
14499         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14500         prototype.
14501         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14503 2016-01-11  Andreas Schwab  <schwab@suse.de>
14505         [BZ #19253]
14506         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14507         cache when TZDEFRULES was used.
14508         * time/tst-tzname.c: New file.
14509         * time/Makefile (test): Add tst-tzname.
14510         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14511         * timezone/Makefile (test-zones): Add $(posixrules-file).
14512         ($(testdata)/$(posixrules-file)): New rule.
14514 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
14516         Fix doc quoting problems with Texinfo 5
14517         Without this change, in the info file output, Texinfo 5 quotes code
14518         in text with undirected single quotes 'like this' and generates
14519         code examples that with many PDF readers cannot be cut out of PDFs
14520         and pasted into code.
14521         * manual/libc.texinfo: Configure the libc manual like the GNU
14522         Emacs manual, by using @documentencoding and setting
14523         txicodequoteundirected and txicodequotebacktick.  This way,
14524         Texinfo 5 quotes code in text with directed single quotes ‘like
14525         this’ and produces examples that can be cut out of PDFs.  This
14526         change causes Texinfo 5 to generate info files that contain UTF-8
14527         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14528         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14530 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14532         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14533         __libc_tabort, __libc_tend): New wrappers that enforce compiler
14534         barriers to their respective compiler built-ins.
14535         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14536         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14537         * sysdeps/powerpc/sysdep.h: Likewise.
14538         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14539         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14540         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14542 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
14544         * scripts/config.guess: Revert previous shebang change.
14545         * scripts/config.sub: Likewise.
14546         * scripts/mkinstalldirs: Likewise.
14548 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14550         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14551         PPC_FEATURE2_HAS_IEEE128.
14552         * sysdeps/powerpc/dl-procinfo.c:
14553         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14555 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
14557         [BZ #19415]
14558         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14559         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
14560         (_dl_lookup_address): Rewrite using function resolver trampoline.
14561         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14562         two bits in address.
14564 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14566         * longlong.h: Change !__SHMEDIA__ to
14567         (!defined (__SHMEDIA__) || !__SHMEDIA__).
14568         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14570 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
14571             Joseph Myers  <joseph@codesourcery.com>
14572             Mark Shinwell  <shinwell@codesourcery.com>
14573             Andrew Stubbs  <ams@codesourcery.com>
14574             Rich Felker <dalias@libc.org>
14576         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14578 2016-01-07  Richard Henderson  <rth@redhat.com>
14580         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14582 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14584         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14585         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14586         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14587         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14588         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14590 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
14591             Joseph Myers  <joseph@codesourcery.com>
14593         * timezone/private.h: Update from tzcode 2015g.
14594         * timezone/tzfile.h: Likewise.
14595         * timezone/tzselect.ksh: Likewise.
14596         * timezone/zdump.c: Likewise.
14597         * timezone/zic.c: Likewise.
14598         * timezone/ialloc.c: Remove file.
14599         * timezone/scheck.c: Likewise.
14600         * timezone/Makefile (extra-objs): Remove variable.
14601         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14602         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14603         -Wno-maybe-uninitialized.
14604         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14605         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14606         (CFLAGS-ialloc.c): Remove variable.
14607         (CFLAGS-scheck.c): Likewise.
14608         * timezone/README: Update list of files from tzcode.
14610 2016-01-07  Khem Raj  <raj.khem@gmail.com>
14612         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14613         instead of __fxprintf when _LIBC is undefined.
14615 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
14617         * catgets/test-gencat.sh: Remove space after shebang.
14618         * conform/GlibcConform.pm: Likewise.
14619         * conform/check-header-lists.sh: Likewise.
14620         * conform/conformtest.pl: Likewise.
14621         * conform/linknamespace.pl: Likewise.
14622         * conform/list-header-symbols.pl: Likewise.
14623         * debug/catchsegv.sh: Likewise.
14624         * elf/genrtldtbl.awk: Likewise.
14625         * elf/tst-pathopt.sh: Likewise.
14626         * elf/tst-rtld-load-self.sh: Likewise.
14627         * grp/tst_fgetgrent.sh: Likewise.
14628         * iconvdata/gen-8bit-gap-1.sh: Likewise.
14629         * iconvdata/gen-8bit-gap.sh: Likewise.
14630         * iconvdata/gen-8bit.sh: Likewise.
14631         * iconvdata/run-iconv-test.sh: Likewise.
14632         * intl/tst-gettext.sh: Likewise.
14633         * intl/tst-gettext2.sh: Likewise.
14634         * intl/tst-gettext4.sh: Likewise.
14635         * intl/tst-gettext6.sh: Likewise.
14636         * intl/tst-translit.sh: Likewise.
14637         * io/ftwtest-sh: Likewise.
14638         * libio/test-freopen.sh: Likewise.
14639         * locale/gen-translit.pl: Likewise.
14640         * malloc/tst-mtrace.sh: Likewise.
14641         * manual/check-safety.sh: Likewise.
14642         * manual/libc-texinfo.sh: Likewise.
14643         * manual/tsort.awk: Likewise.
14644         * manual/xtract-typefun.awk: Likewise.
14645         * nptl/tst-cancel-wrappers.sh: Likewise.
14646         * nptl/tst-tls6.sh: Likewise.
14647         * posix/globtest.sh: Likewise.
14648         * posix/tst-getconf.sh: Likewise.
14649         * posix/wordexp-tst.sh: Likewise.
14650         * scripts/check-c++-types.sh: Likewise.
14651         * scripts/check-local-headers.sh: Likewise.
14652         * scripts/config.guess: Likewise.
14653         * scripts/config.sub: Likewise.
14654         * scripts/cpp: Likewise.
14655         * scripts/cross-test-ssh.sh: Likewise.
14656         * scripts/documented.sh: Likewise.
14657         * scripts/evaluate-test.sh: Likewise.
14658         * scripts/gen-libc-abis: Likewise.
14659         * scripts/gen-sorted.awk: Likewise.
14660         * scripts/list-fixed-bugs.py: Likewise.
14661         * scripts/merge-test-results.sh: Likewise.
14662         * scripts/mkinstalldirs: Likewise.
14663         * scripts/rellns-sh: Likewise.
14664         * scripts/test-installation.pl: Likewise.
14665         * scripts/update-copyrights: Likewise.
14666         * stdio-common/tst-printf.sh: Likewise.
14667         * stdio-common/tst-unbputc.sh: Likewise.
14668         * stdlib/tst-fmtmsg.sh: Likewise.
14669         * stdlib/tst-setcontext3.sh: Likewise.
14670         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14671         * sysdeps/unix/make-syscalls.sh: Likewise.
14673 2016-01-06  John David Anglin  <dave.anglin@bell.net>
14675         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14676         asm stw with atomic_exchange_rel.  Add explanatory comment.
14677         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14678         Likewise.
14680 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14682         [BZ #19122]
14683         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14684         * sysdeps/generic/dl-unistd.h: New file.
14685         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14687 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14689          [BZ #19122]
14690          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14691          * sysdeps/generic/dl-mman.h: New file.
14692          * sysdeps/mach/hurd/dl-mman.h: Likewise.
14694 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
14696         * manual/texinfo.tex: Update to version 2016-01-04.21 with
14697         trailing whitespace removed.
14698         * scripts/config.guess: Update to version 2016-01-01.
14699         * scripts/config.sub: Update to version 2016-01-01.
14700         * scripts/move-if-change: Update from gnulib.
14702 2016-01-04  Anton Blanchard  <anton@samba.org>
14704         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14705         for array indices.
14706         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14708 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
14710         * NEWS: Update copyright dates.
14711         * catgets/gencat.c (print_version): Likewise.
14712         * csu/version.c (banner): Likewise.
14713         * debug/catchsegv.sh: Likewise.
14714         * debug/pcprofiledump.c (print_version): Likewise.
14715         * debug/xtrace.sh (do_version): Likewise.
14716         * elf/ldconfig.c (print_version): Likewise.
14717         * elf/ldd.bash.in: Likewise.
14718         * elf/pldd.c (print_version): Likewise.
14719         * elf/sotruss.sh: Likewise.
14720         * elf/sprof.c (print_version): Likewise.
14721         * iconv/iconv_prog.c (print_version): Likewise.
14722         * iconv/iconvconfig.c (print_version): Likewise.
14723         * locale/programs/locale.c (print_version): Likewise.
14724         * locale/programs/localedef.c (print_version): Likewise.
14725         * login/programs/pt_chown.c (print_version): Likewise.
14726         * malloc/memusage.sh (do_version): Likewise.
14727         * malloc/memusagestat.c (print_version): Likewise.
14728         * malloc/mtrace.pl: Likewise.
14729         * manual/libc.texinfo: Likewise.
14730         * nptl/version.c (banner): Likewise.
14731         * nscd/nscd.c (print_version): Likewise.
14732         * nss/getent.c (print_version): Likewise.
14733         * nss/makedb.c (print_version): Likewise.
14734         * posix/getconf.c (main): Likewise.
14735         * scripts/test-installation.pl: Likewise.
14736         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14738         * All files with FSF copyright notices: Update copyright dates
14739         using scripts/update-copyrights.
14740         * intl/plural.c: Regenerated.
14741         * locale/programs/charmap-kw.h: Likewise.
14742         * locale/programs/locfile-kw.h: Likewise.
14744 2016-01-02  Helge Deller  <deller@gmx.de>
14746         [BZ #19285]
14747         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14748         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14749         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14750         (MADV_xxK_PAGES): Remove.
14752 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
14754         [BZ #15421]
14755         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14756         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
14757         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14758         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14760 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
14762         [BZ #19408]
14763         * sysdeps/unix/sysv/linux/personality.c: New file.
14764         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14765         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14766         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14767         (sysdep_routines): Add personality.
14768         (tests): Add tst-personality.
14769         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14770         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14771         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14772         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14773         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14774         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14775         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14776         Likewise.
14777         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14778         Likewise.
14779         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14780         Likewise.
14781         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14782         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14783         Likewise.
14785 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
14787         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14788         (PATH_ARM_SYSTYPE): Remove.
14789         (PATH_CPUINFO): Likewise.
14790         (IO_BASE_FOOTBRIDGE): Likewise.
14791         (IO_SHIFT_FOOTBRIDGE): Likewise.
14792         (struct platform): Likewise.
14793         (init_iosys): Remove compatibility code for 2.4 kernels.
14794         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14796 2015-12-29  Florian Weimer  <fweimer@redhat.com>
14798         * malloc/tst-malloc-thread-fail.c: New file.
14799         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14800         (tst-malloc-thread-fail): Link against libpthread.
14802 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
14804         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
14805         (get_parser): New function.
14806         (main): New function.
14808 2015-12-29  Rob Wu  <rob@robwu.nl>
14810         [BZ #19369]
14811         * resolv/res_init.c (__res_vinit): Reset defdname before use.
14813 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
14815         [BZ #19270]
14816         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14818 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
14820         [BZ #15421]
14821         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14823 2015-12-23  Torvald Riegel  <triegel@redhat.com>
14825         [BZ #13690]
14826         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14827         after releasing it.
14828         (__lll_robust_unlock): Likewise.
14829         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14830         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14831         (lll_robust_unlock): Likewise.
14832         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14833         Prevent warnings in callers.
14835 2015-12-23  Florian Weimer  <fweimer@redhat.com>
14837         * malloc/arena.c (list_lock): Update comment.
14839 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14841         * sysdeps/powerpc/hwcapinfo.c: Export symbol
14842         __parse_hwcap_and_convert_at_platform to libc.a.
14844 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14846         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14847         platform and feature support for POWER9.
14848         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14849         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14850         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14851         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14852         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14853         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14854         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14855         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14857 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14859         Harmonize generic stdio-lock support with nptl
14861         This fixes build when _IO_funlockfile is a macro, fixes build where
14862         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14863         stack unwind.
14865         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14866         _IO_release_lock ): Use cleanup attribute on new
14867         _IO_acquire_lock_file variable instead of assuming that
14868         _IO_release_lock will be called.
14869         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14870         _IO_acquire_lock_needs_exceptions_enabled.
14871         (_IO_acquire_lock_clear_flags2): New macro.
14873 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14875         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14877 2015-12-21  Florian Weimer  <fweimer@redhat.com>
14879         [BZ #19182]
14880         * malloc/arena.c (list_lock): Document lock ordering requirements.
14881         (free_list_lock): New lock.
14882         (ptmalloc_lock_all): Comment on free_list_lock.
14883         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14884         (detach_arena): Update comment.  free_list_lock is now needed.
14885         (_int_new_arena): Use free_list_lock around detach_arena call.
14886         Acquire arena lock after list_lock.  Add comment, including FIXME
14887         about incorrect synchronization.
14888         (get_free_list): Switch to free_list_lock.
14889         (reused_arena): Acquire free_list_lock around detach_arena call
14890         and attached threads counter update.  Add two FIXMEs about
14891         incorrect synchronization.
14892         (arena_thread_freeres): Switch to free_list_lock.
14893         * malloc/malloc.c (struct malloc_state): Update comments to
14894         mention free_list_lock.
14896 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14898         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14899         Remove functions.
14900         (sloww, sloww1): Accept argument to offset quadrant.
14901         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14902         quadrant.
14903         (__sin, __cos): Consolidate common code into new functions.
14904         (reduce_sincos_1, do_sincos_1): New functions.
14905         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14907         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14908         code to new functions.
14909         (reduce_sincos_2, do_sincos_2): New functions.
14910         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14912         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14913         common code for sincos.
14914         (__cos) [!IN_SINCOS]: Likewise.
14915         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14916         New function.
14917         (__sincos): Use it.
14919 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
14921         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14922         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14923         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14925 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14927         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14929         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14930         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14931         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14932         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14933         index_Prefer_No_VZEROUPPER): New feature.
14934         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14935         Prefer_No_VZEROUPPER for Knights Landing.
14937 015-12-18  Torvald Riegel  <triegel@redhat.com>
14939         * math/atest-exp2.c (mp_exp_m1): Remove.
14941 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14943         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14944         syscalls.
14945         (__SYSCALL0): New macro.
14946         (__SYSCALL1): Likewise.
14947         (__SYSCALL2): Likewise.
14948         (__SYSCALL3): Likewise.
14949         (__SYSCALL4): Likewise.
14950         (__SYSCALL5): Likewise.
14951         (__SYSCALL6): Likewise.
14952         (__SYSCALL_CONCAT_X): Likewise.
14953         (__SYSCALL_CONCAT): Likewise.
14954         (__SYSCALL_DIST): Likewise.
14955         (__SYSCALL_CALL): Likewise.
14957 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
14959         [BZ #19363]
14960         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14962 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14964         [BZ #19375]
14965         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14966         negative subnormals.
14968 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
14970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14971         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14972         (INTERNAL_SYSCALL_NCS): Use it.
14973         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14975 2015-12-16  Florian Weimer  <fweimer@redhat.com>
14977         [BZ #19243]
14978         * malloc/arena.c (get_free_list): Remove assert and adjust
14979         reference count handling.  Add comment about reused_arena
14980         interaction.
14981         (reused_arena): Add comments abount get_free_list interaction.
14982         * malloc/tst-malloc-thread-exit.c: New file.
14983         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14984         (tst-malloc-thread-exit): Link against libpthread.
14986 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14988         [BZ #19367]
14989         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14990         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14991         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14992         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14993         (index_Prefer_MAP_32BIT_EXEC): Likewise.
14995 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14997         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14998         Silvermont optimizations for Knights Landing.
15000 2015-12-15  Andreas Schwab  <schwab@suse.de>
15002         [BZ #17197]
15003         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
15004         immediately after emitting SI.
15005         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
15006         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
15007         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
15008         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
15009         * iconvdata/bug-iconv10.c: New file.
15010         * iconvdata/Makefile (tests): Add bug-iconv10.
15011         ($(objpfx)bug-iconv10.out): New rule.
15013 2015-12-15  Florian Weimer  <fweimer@redhat.com>
15015         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
15016         aliasing violation.
15018 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
15020         [BZ #18472]
15021         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
15022         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
15023         conditionals for them.
15024         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
15025         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
15026         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
15027         sys/kdaemon.h.
15028         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
15029         compat-only syscall, obsoleted in glibc 2.23.
15030         (create_module): Likewise.
15031         (get_kernel_syms): Likewise.
15032         (query_module): Likewise.
15033         (uselib): Likewise.
15034         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
15036 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
15038         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
15039         <linux/version.h>.
15040         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
15041         conditional code.
15042         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
15043         and ioshift_name initialization.
15045 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15047         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15048         Fix indentation.
15050 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15052         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
15054 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15056         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
15058 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
15059             Jakub Wilk  <jwilk@debian.org>
15061         [BZ #19347]
15062         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
15063         to change the group of the device to the tty group.
15065 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
15067         Split large string section; add truncation advice
15068         * manual/examples/strncat.c: Remove.
15069         This example was misleading, as the code would have undefined
15070         behavior if "hello" was longer than SIZE.  Anyway, the manual
15071         shouldn't encourage strncpy+strncat for this sort of thing.
15072         * manual/string.texi (Copying Strings and Arrays): Split into
15073         three sections Copying Strings and Arrays, Concatenating Strings,
15074         and Truncating Strings, as this section was way too long.  All
15075         cross-referenced changed.  Add advice about string-truncation
15076         functions.  Remove misleading strncat example.
15078 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
15080         * manual/nss.texi (NSS Modules Interface): Document
15081         NSS_STATUS_NOTFOUND and SUCCESS.
15083 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
15085         [BZ 18568]
15086         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15087         201505L, for Unicode 8.
15089 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
15091         * locale/C-translit.h: Regenerate.
15093 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
15095         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
15096         and U+0153.
15098 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
15100         [BZ #19351]
15101         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
15102         expanding log(1+z), compare z rather than its square with epsilon
15103         to determine when to avoid evaluating the expansion.
15105         [BZ #19350]
15106         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15107         Increase overflow threshold.
15109         [BZ #19349]
15110         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
15111         when small.
15113         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15114         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15115         New macro.
15116         [__LINUX_KERNEL_VERSION >= 0x040300]
15117         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15118         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15119         Likewise.
15120         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15121         Likewise.
15122         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15123         Likewise.
15124         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15125         Likewise.
15126         [__LINUX_KERNEL_VERSION >= 0x040300]
15127         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15128         [__LINUX_KERNEL_VERSION >= 0x040300]
15129         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15130         [__LINUX_KERNEL_VERSION >= 0x040300]
15131         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15132         [__LINUX_KERNEL_VERSION >= 0x040300]
15133         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15134         [__LINUX_KERNEL_VERSION >= 0x040300]
15135         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15136         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15137         Likewise.
15138         [__LINUX_KERNEL_VERSION >= 0x040300]
15139         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15140         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15141         Likewise.
15142         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15143         Likewise.
15144         [__LINUX_KERNEL_VERSION >= 0x040300]
15145         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15146         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15147         Likewise.
15148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15149         Likewise.
15150         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15151         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
15152         Likewise.
15153         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
15154         Likewise.
15155         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15156         Likewise.
15157         [__LINUX_KERNEL_VERSION >= 0x040300]
15158         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15160         Likewise.
15161         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15162         Likewise.
15163         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15164         Likewise.
15165         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15166         Likewise.
15167         [__LINUX_KERNEL_VERSION >= 0x040300]
15168         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15169         [__LINUX_KERNEL_VERSION >= 0x040300]
15170         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15171         [__LINUX_KERNEL_VERSION >= 0x040300]
15172         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15173         [__LINUX_KERNEL_VERSION >= 0x040300]
15174         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15175         [__LINUX_KERNEL_VERSION >= 0x040300]
15176         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15177         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15178         Likewise.
15179         [__LINUX_KERNEL_VERSION >= 0x040300]
15180         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15181         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15182         Likewise.
15183         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15184         Likewise.
15185         [__LINUX_KERNEL_VERSION >= 0x040300]
15186         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15187         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15188         Likewise.
15189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15190         Likewise.
15191         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15192         (__ASSUME_SOCKET_SYSCALL): Likewise.
15193         (__ASSUME_BIND_SYSCALL): Likewise.
15194         (__ASSUME_CONNECT_SYSCALL): Likewise.
15195         (__ASSUME_LISTEN_SYSCALL): Likewise.
15196         (__ASSUME_ACCEPT_SYSCALL): Likewise.
15197         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15198         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15199         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15200         (__ASSUME_SEND_SYSCALL): Likewise.
15201         (__ASSUME_SENDTO_SYSCALL): Likewise.
15202         (__ASSUME_RECV_SYSCALL): Likewise.
15203         (__ASSUME_RECVFROM_SYSCALL): Likewise.
15204         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15205         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15206         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15207         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15208         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15209         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15210         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15211         Likewise.
15212         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15213         Likewise.
15214         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15215         Likewise.
15216         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15217         Likewise.
15218         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15219         Likewise.
15220         [__LINUX_KERNEL_VERSION >= 0x020625]
15221         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15222         [__LINUX_KERNEL_VERSION >= 0x020625]
15223         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15224         [__LINUX_KERNEL_VERSION >= 0x020625]
15225         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15226         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15227         Likewise.
15228         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15229         Likewise.
15230         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15231         Likewise.
15232         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15233         Likewise.
15234         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15235         Likewise.
15236         [__LINUX_KERNEL_VERSION >= 0x020625]
15237         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15238         [__LINUX_KERNEL_VERSION >= 0x020625]
15239         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15240         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15241         Likewise.
15242         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15243         Likewise.
15245 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15247         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15248         record the current if the current ABI and CPU support the FP64
15249         extension.
15250         (has-modd-spreg): Define to record the current if the current ABI and
15251         CPU support 32-bit floating point values in odd FPU registers.
15252         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15253         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15254         $(has-modd-spreg) equals yes.
15255         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15256         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15257         $(has-modd-spreg) equal yes.
15259 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15261         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15262         basename.
15264 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
15266         * benchtests/Makefile (bench-math): Move ffs and ffsll...
15267         (bench-string): ... here.
15268         (bench): Add bench-string.
15269         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15270         to *-benchset to reflect what they are.
15271         (benchset): Adjust.
15273         * benchtests/sincos-inputs: Add inputs from sin-inputs and
15274         cos-inputs.
15276 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
15278         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15279         __attribute__ ((__simd__)) for vector math function declarations.
15281 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15283         Fix typo in strncat, wcsncat manual entries
15284         * manual/string.texi (Copying and Concatenation): Fix typos in
15285         sample implementations of strncat and wcsncat, by having them use
15286         the old value of the destination length, not the new one.
15288 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
15290         [BZ #16961]
15291         [BZ #16962]
15292         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15293         string on the stack for strtod.
15294         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15295         a string on the stack for strtof.
15296         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15297         constructing a string on the stack for strtold.
15298         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15299         __strtold_nan to GLIBC_PRIVATE.
15300         * math/test-nan-overflow.c: New file.
15301         * math/test-nan-payload.c: Likewise.
15302         * math/Makefile (tests): Add test-nan-overflow and
15303         test-nan-payload.
15305 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15307         Consistency about byte vs character in string.texi
15308         * manual/string.texi (String and Array Utilities):
15309         Distinguish more carefully among bytes, multibyte characters,
15310         and wide characters.  Use "byte" when talking about C 'char',
15311         to distinguish it more clearly from multibyte characters.
15312         Say "wide character" or "multibyte character" instead of
15313         "character", when a wide or multibyte character is intended.
15314         Similarly for "multibyte string" versus "string".
15315         Define these terms more carefully.
15317 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
15319         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15320         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15321         Likewise.
15322         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15323         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15324         * sysdeps/sh/math_private.h: New file.
15325         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15326         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15327         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15328         long double function name.
15329         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15330         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15331         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15332         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15333         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15335         Remove __finitel, __isinfl, and __isnanl.
15336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15337         Likewise.
15338         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15340         Remove __finitel.
15341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15342         Likewise.
15343         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15345 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
15347         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15348         installed libmvec_nonshared.a.
15350 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15352         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15353         (sysdep_routines): Likewise.
15354         (sysdep-rtld-routines): Likewise.
15355         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15356         [$(subdir) = nptl](tests-static): test-get_hwcap-static
15357         * sysdeps/powerpc/Versions: Added new
15358         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15359         * sysdeps/powerpc/hwcapinfo.c: New file.
15360         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15361         and parse hwcap, hwcap2 and platform number information.
15362         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
15363         to store HWCAP+HWCAP2 and platform number.
15364         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15365         for HWCAP+HWCAP2 and platform number in the TCB.
15366         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
15367         the HWCAP, HWCAP2 and platform number in the TCB.
15368         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15369         (TLS_INIT_TP): Included calls to add the hwcap and
15370         at_platform values in the TCB in TP initialization.
15371         (TLS_DEFINE_INIT_TP): Likewise.
15372         (THREAD_GET_HWCAP): New macro.
15373         (THREAD_SET_HWCAP): Likewise.
15374         (THREAD_GET_AT_PLATFORM): Likewise.
15375         (THREAD_SET_AT_PLATFORM): Likewise.
15376         * sysdeps/powerpc/powerpc32/dl-machine.h:
15377         (dl_platform_init): New function that calls
15378         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15379         powerpc32.
15380         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15381         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
15382         this functionality, static linking case.
15383         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
15384         linking case.
15385         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15386         __parse_hwcap_and_convert_at_platform for the static linking case.
15387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15388         Included the new __parse_hwcap_and_convert_at_platform symbol in the
15389         ABI list for GLIBC 2.23.
15390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15391         Likewise.
15392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15393         Likewise.
15395 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
15397         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15398         * configure: Regenerate.
15399         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15400         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
15402 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
15404         * iconvdata/ibm930.c: Add comment explaining encoding uses.
15405         * iconvdata/ibm933.c: Likewise.
15406         * iconvdata/ibm935.c: Likewise.
15407         * iconvdata/ibm937.c: Likewise.
15408         * iconvdata/ibm939.c: Likewise.
15410 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15412         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15413         pthread_join.
15414         * nptl/tst-cancel21.c (tf): Likewise.
15416 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15418         [BZ #19313]
15419         * bits/typesizes.h (__CPU_MASK_TYPE): New.
15420         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15421         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15422         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15423         Likewise.
15424         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15425         Likewise.
15426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15427         Likewise.
15428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15429         Likewise.
15430         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15431         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15432         unsigned long int with __CPU_MASK_TYPE.
15434 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15436         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15438 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
15440         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15441         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15442         t512.x.
15443         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15445 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
15447         [BZ #19214]
15448         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15449         argument to return extended model.  Update family and model
15450         with extended family and model when family == 0x0f.
15451         (init_cpu_features): Updated.
15453 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15455         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15456         signed off_t, so 32bit bigger than 2GiB values are fine actually.
15458         * sysdeps/mach/hurd/mmap64.c: New file.
15460 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
15462         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15463         rights for its main user thread in NEWTASK.
15465 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
15467         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15468         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15470 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
15472         [BZ #14259]
15473         * Makeconfig: Rename localedir to complocaledir.
15474         Rename inst_localedir to inst_complocaledir.
15475         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15476         * config.make.in: Use complocaledir and libc_cv_complocaledir.
15477         * configure.ac: Use libc_cv_complocaledir.
15478         * configure: Regenerate.
15479         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15480         -DCOMPLOCALEDIR.
15481         * locale/findlocale.c: Use COMPLOCALEDIR.
15482         * locale/loadarchive.c: Likewise.
15483         * locale/programs/locale.c: Likewise.
15484         * locale/programs/localedef.c: Likewise.
15485         * locale/programs/locarchive.c: Likewise.
15486         * localedata/Makefile: Use inst_complocaledir.
15487         * sysdeps/gnu/configure: Regenerate.
15488         * sysdeps/hppa/configure: Regenerate.
15489         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15490         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15492         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15493         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15494         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15495         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15497 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
15499         [BZ #19058]
15500         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15501         AS_NEEDED.
15502         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15503         workaround.
15504         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15505         libmvec-static-only-routines): Added new file.
15506         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15508 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15510         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15511         of interrupted RPC instead of restoring it.
15513         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15514         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15515         libc_hidden_def.
15516         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15517         into initialized data instead of common. Define rtld_hidden_data_def.
15518         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15519         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15520         libc_hidden_def.
15521         (if_freenameindex): Add libc_hidden_weak.
15522         (if_nameindex): Add libc_hidden_weak.
15523         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15524         __open64.
15525         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15526         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15527         * sysdeps/mach/nanosleep.c: Include <time.h>
15528         (__nanosleep): Rename to __libc_nanosleep.
15529         (__nanosleep): Add weak_alias.
15530         (nanosleep): Update alias.
15532 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
15534         * stdlib/strtod_nan.c: New file.
15535         * stdlib/strtod_nan_double.h: Likewise.
15536         * stdlib/strtod_nan_float.h: Likewise.
15537         * stdlib/strtod_nan_main.c: Likewise.
15538         * stdlib/strtod_nan_narrow.h: Likewise.
15539         * stdlib/strtod_nan_wide.h: Likewise.
15540         * stdlib/strtof_nan.c: Likewise.
15541         * stdlib/strtold_nan.c: Likewise.
15542         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15543         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15544         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15545         * wcsmbs/wcstod_nan.c: Likewise.
15546         * wcsmbs/wcstof_nan.c: Likewise.
15547         * wcsmbs/wcstold_nan.c: Likewise.
15548         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15549         strtold_nan.
15550         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15551         wcstof_nan.
15552         * include/stdlib.h (__strtof_nan): Declare and use
15553         libc_hidden_proto.
15554         (__strtod_nan): Likewise.
15555         (__strtold_nan): Likewise.
15556         (__wcstof_nan): Likewise.
15557         (__wcstod_nan): Likewise.
15558         (__wcstold_nan): Likewise.
15559         * include/wchar.h (____wcstoull_l_internal): Declare.
15560         * stdlib/strtod_l.c: Do not include <ieee754.h>.
15561         (____strtoull_l_internal): Remove declaration.
15562         (STRTOF_NAN): Define macro.
15563         (SET_MANTISSA): Remove macro.
15564         (STRTOULL): Likewise.
15565         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15566         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15567         (STRTOF_NAN): Define macro.
15568         (SET_MANTISSA): Remove macro.
15569         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15570         (SET_MANTISSA): Remove macro.
15571         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15572         macro.
15573         (SET_MANTISSA): Remove macro.
15574         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15575         macro.
15576         (SET_MANTISSA): Remove macro.
15577         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15578         (SET_MANTISSA): Remove macro.
15579         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15580         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15581         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15583         [BZ #19266]
15584         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15585         upper case and lower case letters inside NAN(), not using TOLOWER.
15586         * stdlib/tst-strtod-nan-locale-main.c: New file.
15587         * stdlib/tst-strtod-nan-locale.c: Likewise.
15588         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15589         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15590         Depend on $(gen-locales).
15591         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15592         * wcsmbs/tst-wcstod-nan-locale.c: New file.
15593         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15594         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15595         Depend on $(gen-locales).
15596         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15598 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
15600         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15602         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15604         __finitel, __isinfl, and __isnanl.
15605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15606         Likewise.
15607         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15609         __finitel.
15610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15611         Likewise.
15612         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15614 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15616         * malloc/memusage.c (me): Remove redundant getenv call.
15618 2015-10-24  Florian Weimer  <fweimer@redhat.com>
15620         [BZ #19143]
15621         [BZ #19164]
15622         * nptl/check-cpuset.h: Remove.
15623         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15624         Remove CPU set size check.
15625         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15626         Likewise.
15627         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15628         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15629         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15630         (__pthread_setaffinity_new): Remove CPU set size check.
15631         * sysdeps/unix/sysv/linux/sched_setaffinity.c
15632         (__kernel_cpumask_size): Remove.
15633         (__sched_setaffinity_new): Remove CPU set size check.
15634         * manual/threads.texi (Default Thread Attributes): Remove stale
15635         reference to check_cpuset_attr, determine_cpumask_size in comment.
15636         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15637         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
15638         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15639         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15640         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15641         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15642         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15643         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15644         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15645         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15646         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15647         skeleton test file.
15648         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
15649         tst-affinity-pid.
15651 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15653         * scripts/update-abilist.sh: New file.
15654         * Makefile (+subdir_targets): Add subdir_update-all-abi.
15655         * Makerules (update-all-abi-%, update-all-abi)
15656         (subdir_update-all-abi): New targets.
15657         * elf/Makefile (update-all-abi): New target.
15659 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15661         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15662         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15663         (__libc_lock_define_initialized): Use it.
15664         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15665         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15666         * malloc/malloc.c (main_arena): Likewise.
15667         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15668         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15670 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
15672         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15673         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15674         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15675         (PTRACE_O_MASK): Update value.
15676         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15677         New value in enum __ptrace_setoptions.
15678         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15679         (PTRACE_O_MASK): Update value.
15680         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15681         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15682         (PTRACE_O_MASK): Update value.
15683         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15684         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15685         (PTRACE_O_MASK): Update value.
15686         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15687         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15688         (PTRACE_O_MASK): Update value.
15689         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15690         New value in enum __ptrace_setoptions.
15691         (PTRACE_O_MASK): Update value.
15692         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15693         New value in enum __ptrace_setoptions.
15694         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15695         (PTRACE_O_MASK): Update value.
15697         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15698         New macro.
15699         (PACKET_AUXDATA): Likewise.
15700         (PACKET_ORIGDEV): Likewise.
15701         (PACKET_VERSION): Likewise.
15702         (PACKET_HDRLEN): Likewise.
15703         (PACKET_RESERVE): Likewise.
15704         (PACKET_TX_RING): Likewise.
15705         (PACKET_LOSS): Likewise.
15706         (PACKET_VNET_HDR): Likewise.
15707         (PACKET_TX_TIMESTAMP): Likewise.
15708         (PACKET_TIMESTAMP): Likewise.
15709         (PACKET_FANOUT): Likewise.
15710         (PACKET_TX_HAS_OFF): Likewise.
15711         (PACKET_QDISC_BYPASS): Likewise.
15712         (PACKET_ROLLOVER_STATS): Likewise.
15713         (PACKET_FANOUT_DATA): Likewise.
15714         (PACKET_MR_UNICAST): Likewise.
15716         [BZ #19242]
15717         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15718         (TOUPPER): Likewise.
15719         * stdlib/tst-strtol-locale-main.c: New file.
15720         * stdlib/tst-strtol-locale.c: Likewise.
15721         * stdlib/Makefile (tests): Add tst-strtol-locale.
15722         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15723         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15724         Depend on $(gen-locales).
15725         * wcsmbs/tst-wcstol-locale.c: New file.
15726         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15727         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15728         tr_TR.ISO-8859-9.
15729         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15730         Depend on $(gen-locales).
15732 2015-11-20  Roland McGrath  <roland@hack.frob.com>
15734         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15735         __glibc_likely instead of __builtin_expect.  After falling back to
15736         dyncode_create in a non-ET_DYN case, use the allocate_code_data
15737         system interface to register the code pages as occupied.
15739 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
15741         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15742         [!ARM_MATH_PRIVATE_H].
15743         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15744         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15745         [!HPPA_MATH_PRIVATE_H].
15746         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15747         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15748         to [!I386_MATH_PRIVATE_H].
15749         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15750         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15751         Change guard to [!M68K_MATH_PRIVATE_H].
15752         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15753         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15754         guard to [!MICROBLAZE_MATH_PRIVATE_H].
15755         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15756         macro.
15757         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15758         [!MIPS_MATH_PRIVATE_H].
15759         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15760         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15761         [!NIO2_MATH_PRIVATE_H].
15762         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15763         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15764         [!TILE_MATH_PRIVATE_H].
15765         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15767         [BZ #15421]
15768         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15769         initialize with 0 and define as weak alias of __signgam.
15770         * include/math.h [!_ISOMAC] (__signgam): Declare.
15771         * math/Makefile (libm-calls): Add w_lgamma_compat.
15772         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15773         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15774         test-signgam-ullong-init.
15775         (tests-static): Add test-signgam-uchar-static,
15776         test-signgam-uchar-init-static, test-signgam-uint-static,
15777         test-signgam-uint-init-static, test-signgam-ullong-static and
15778         test-signgam-ullong-init-static.
15779         (CFLAGS-test-signgam-uchar.c): New variable.
15780         (CFLAGS-test-signgam-uchar-init.c): Likewise.
15781         (CFLAGS-test-signgam-uchar-static.c): Likewise.
15782         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15783         (CFLAGS-test-signgam-uint.c): Likewise.
15784         (CFLAGS-test-signgam-uint-init.c): Likewise.
15785         (CFLAGS-test-signgam-uint-static.c): Likewise.
15786         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15787         (CFLAGS-test-signgam-ullong.c): Likewise.
15788         (CFLAGS-test-signgam-ullong-init.c): Likewise.
15789         (CFLAGS-test-signgam-ullong-static.c): Likewise.
15790         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15791         * math/Versions (libm): Add GLIBC_2.23.
15792         * math/lgamma-compat.h: New file.
15793         * math/test-signgam-main.c: Likewise.
15794         * math/test-signgam-uchar-init-static.c: Likewise.
15795         * math/test-signgam-uchar-init.c: Likewise.
15796         * math/test-signgam-uchar-static.c: Likewise.
15797         * math/test-signgam-uchar.c: Likewise.
15798         * math/test-signgam-uint-init-static.c: Likewise.
15799         * math/test-signgam-uint-init.c: Likewise.
15800         * math/test-signgam-uint-static.c: Likewise.
15801         * math/test-signgam-uint.c: Likewise.
15802         * math/test-signgam-ullong-init-static.c: Likewise.
15803         * math/test-signgam-ullong-init.c: Likewise.
15804         * math/test-signgam-ullong-static.c: Likewise.
15805         * math/test-signgam-ullong.c: Likewise.
15806         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15807         wrapper of w_lgamma_main.c.
15808         * math/w_lgamma_compat.c: New file.
15809         * math/w_lgamma_compatf.c: Likewise.
15810         * math/w_lgamma_compatl.c: Likewise.
15811         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
15812         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15813         defining compatibility symbols.
15814         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
15815         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15816         wrapper of w_lgammaf_main.c.
15817         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
15818         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15819         defining compatibility symbols.
15820         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
15821         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15822         wrapper of w_lgammal_main.c.
15823         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
15824         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15825         defining compatibility symbols.
15826         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
15827         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15828         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15829         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
15830         <lgamma-compat.h>.
15831         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
15832         (__ieee754_gamma): Define as alias.
15833         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15834         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
15835         <lgamma-compat.h>.
15836         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
15837         (__ieee754_gammaf): Define as alias.
15838         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15839         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
15840         <lgamma-compat.h>.
15841         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
15842         (__ieee754_gammal): Define as alias.
15843         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15844         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
15845         <math/w_lgamma_compat.c>.
15846         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15847         Define as alias of __lgamma_compat and use in defining lgammal.
15848         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15849         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
15850         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15851         (USE_AS_COMPAT): New macro.
15852         (LGAMMA_OLD_VER): Undefine and redefine.
15853         (lgammal): Do not define here.
15854         (gammal): Only define here if [GAMMA_ALIAS].
15855         * conform/linknamespace.pl (@whitelist): Remove signgam.
15856         * sysdeps/nacl/libm.abilist: Update.
15857         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15858         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15859         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15860         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15861         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15862         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15863         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15864         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15865         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15866         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15867         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15868         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15870         Likewise.
15871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15872         Likewise.
15873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15874         Likewise.
15875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15876         Likewise.
15877         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15878         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15879         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15880         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15881         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15883         Likewise.
15884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15885         Likewise.
15886         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15887         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15888         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15890 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15892         [BZ #16364]
15893         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15894         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15896 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15898         * sysdeps/s390/fpu/bits/mathinline.h:
15899         Use __asm__ [__volatile__] instead of asm [volatile].
15900         * sysdeps/s390/abort-instr.h: Likewise.
15901         * sysdeps/s390/atomic-machine.h: Likewise.
15902         * sysdeps/s390/bits/string.h: Likewise.
15903         * sysdeps/s390/dl-tls.h: Likewise.
15904         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15905         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15906         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15907         * sysdeps/s390/fpu/fesetround.c: Likewise.
15908         * sysdeps/s390/fpu/fpu_control.h: Likewise.
15909         * sysdeps/s390/fpu/s_fma.c: Likewise.
15910         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15911         * sysdeps/s390/memusage.h: Likewise.
15912         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15913         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15914         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15915         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15916         * sysdeps/s390/nptl/tls.h: Likewise.
15917         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15918         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15919         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15920         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15921         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15922         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15923         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15924         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15925         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15926         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15927         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15928         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15929         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15930         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15931         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15932         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15933         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15934         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15935         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15936         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15937         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15938         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15939         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15941 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15942             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15944         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15945         Add lwarx hint, and use macro for acquire instruction.
15946         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15947         Likewise.
15948         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15949         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15950         update to use new atomic macros.
15952 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15954         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15955         (__lll_trylock_elision): Fix setting of adapt_count.
15956         * sysdeps/unix/sysv/linux/powerpc/htm.h
15957         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15958         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15959         (_ABORT_SYSCALL): Renumber, and clarify definition.
15960         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15962 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15964         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15965         after system headers to prevent MIN/MAX redefinition.  Define
15966         HAVE_ALLOCA to preserve builtin alloca usage.
15968 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
15970         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15971         static and don't set or restore rounding.
15972         (__cos)[IN_SINCOS]: Likewise.
15973         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15974         (__sincos): Set and restore rounding mode.  Remove check for infinite
15975         or NaN input.
15977         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15979         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15980         as used.
15982 2015-11-16  Florian Weimer  <fweimer@redhat.com>
15984         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15986 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15988         * config.make.in (have-glob-dat-reloc): New.
15989         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
15990         target supports GLOB_DAT relocaton. AC_SUBST.
15991         * configure: Regenerated.
15992         * elf/Makefile (tests): Add tst-prelink.
15993         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15994         (tst-prelink-ENV): New.
15995         ($(objpfx)tst-prelink-conflict.out): Likewise.
15996         ($(objpfx)tst-prelink-cmp.out): Likewise.
15997         * sysdeps/x86/tst-prelink.c: Moved to ...
15998         * elf/tst-prelink.c: Here.
15999         * sysdeps/x86/tst-prelink.exp: Moved to ...
16000         * elf/tst-prelink.exp: Here.
16001         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
16002         (tst-prelink-ENV): Removed.
16003         ($(objpfx)tst-prelink-conflict.out): Likewise.
16004         ($(objpfx)tst-prelink-cmp.out): Likewise.
16005         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
16007 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
16009         [BZ #14551]
16010         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
16011         (__mpn_construct_long_double): If high part overflows to infinity,
16012         set errno and recompute overflowed result of the correct sign.
16013         * sysdeps/ieee754/ldbl-128ibm/Makefile
16014         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
16015         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
16016         $(libm).
16017         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
16019 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
16021         [BZ #15479]
16022         [BZ #19238]
16023         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
16024         floating-point state after first operation on input.  Restore full
16025         state rather than just rounding mode.
16026         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16027         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16028         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16030         [BZ #19235]
16031         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
16032         add 0.5 to integer arguments.
16033         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
16034         Likewise.
16035         (.LC2): New object.
16037 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
16039         * scripts/pylintrc (reports): Set to no.
16041 2015-11-10  Roland McGrath  <roland@hack.frob.com>
16043         * elf/dl-load.c (open_verify): Take new argument FD.
16044         Skip __open call if passed FD is not -1.
16045         (_dl_map_object, open_path): Update callers.
16046         * elf/dl-sysdep-open.h: New file.
16047         * elf/dl-load.c: Include it.
16048         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
16049         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
16050         * sysdeps/nacl/dl-sysdep-open.h: New file.
16051         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
16052         from libc to rtld.
16054 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
16056         [BZ #19228]
16057         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
16058         and restore full floating-point state.
16059         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16060         Likewise.
16061         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16062         Likewise.
16063         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16064         Likewise.
16065         * math/test-nearbyint-except-2.c: New file.
16066         * math/Makefile (tests): Add test-nearbyint-except-2.
16068 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
16070         [BZ #19178]
16071         * sysdeps/x86/Makefile (tests): Add tst-prelink.
16072         (tst-prelink-ENV): New.
16073         ($(objpfx)tst-prelink-conflict.out): Likewise.
16074         ($(objpfx)tst-prelink-cmp.out): Likewise.
16075         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16076         * sysdeps/x86/tst-prelink.c: New file.
16077         * sysdeps/x86/tst-prelink.exp: Likewise.
16079 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
16081         * math/auto-libm-test-in: Add another test of pow.
16082         * math/auto-libm-test-out: Regenerated.
16083         * math/libm-test.inc (pow_test_data): Add another test.
16085 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16087         [BZ #19219]
16088         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
16089         weak_alias to nearbyintl.
16091 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
16093         * sysdeps/aarch64/bits/string.h: New file.
16094         (_STRING_ARCH_unaligned): Define.
16096 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
16098         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
16099         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16100         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16101         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
16102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
16104 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
16106         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
16107         for original name of the DSO.  Add it to the name list of the DSO
16108         if it is actually given.
16109         (_dl_map_object): Keep track of whether an audit module rewrote
16110         the file name.  If yes, pass the original name to
16111         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
16112         debugging is enabled, log the change of the file name.
16113         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
16114         _dl_map_object_from_fd.
16115         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
16116         * elf/tst-audit11.c: New file
16117         * elf/tst-auditmod11.c: New file.
16118         * elf/tst-audit11mod1.c: New file.
16119         * elf/tst-audit11mod2.c: New file.
16120         * elf/tst-audit11mod2.map: New file.
16121         * elf/tst-audit12.c: New file
16122         * elf/tst-auditmod12.c: New file.
16123         * elf/tst-audit12mod1.c: New file.
16124         * elf/tst-audit12mod2.c: New file.
16125         * elf/tst-audit12mod2.map: New file.
16126         * elf/tst-audit12mod3.c: New file.
16128 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16130         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
16131         Don't create weak aliases,
16132         because versioned symbols are created later.
16133         * sysdeps/s390/s390-32/setjmp.S
16134         (setjmp, _setjmp): Remove weak and rename to an unique name
16135         in SHARED case due to existing versioned symbols.
16136         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16137         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
16138         (getcontext): Create weak alias only in non SHARED case.
16139         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16141 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16143         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
16144         (__ASSUME_*_SYSCALL) Define new macros.
16145         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
16146         Remove socketcall syscalls.
16147         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
16148         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
16149         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
16150         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
16151         * sysdeps/unix/sysv/linux/send.c (__libc_send):
16152         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
16154 2015-11-09  Florian Weimer  <fweimer@redhat.com>
16156         [BZ #12926]
16157         Terminate process on invalid netlink response.
16158         * sysdeps/unix/sysv/linux/netlinkaccess.h
16159         (__netlink_assert_response): Declare.
16160         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
16161         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
16162         (sysdep_routines): Add netlink_assert_response.
16163         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
16164         __netlink_assert_response.
16165         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16166         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16167         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
16168         __netlink_assert_response.
16170 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16172         [BZ #19178]
16173         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
16174         (RTYPE_CLASS_PLT): Likewise.
16175         (RTYPE_CLASS_COPY): Likewise.
16176         (RTYPE_CLASS_TLS): Likewise.
16177         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
16178         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
16179         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
16180         DL_DEBUG_PRELINK.
16182 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
16184         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16185         calls with argument -0.5.
16186         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16188         * configure.ac (libc_cv_z_nodelete): Remove configure test.
16189         (libc_cv_z_nodlopen): Likewise.
16190         (libc_cv_z_initfirst): Likewise.
16191         * configure: Regenerated.
16193 2015-11-06  Florian Weimer  <fweimer@redhat.com>
16195         Simplify abilist format to be line-based.
16196         * scripts/abilist.awk: Collect descriptors in the descs variable.
16197         (emit): Write descs variable and sort it
16198         externally, with sort.
16199         * sysdeps/**/*.abilist: Convert to new format.
16201 2015-11-06  Mark Wielaard  <mjw@redhat.com>
16203         [BZ #11460]
16204         * io/Makefile (routines): Add fts64.
16205         (tests): Add tst-fts and tst-fts-lfs.
16206         (CFLAGS-fts64.c): New.
16207         * io/Versions (GLIBC_2.23): New.
16208         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16209         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16210         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16211         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16212         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16213         (FTSENT64): Likewise.
16214         (fts64_children): Likewise.
16215         (fts64_close): Likewise.
16216         (fts64_open): Likewise.
16217         (fts64_read): Likewise.
16218         (fts64_set): Likewise.
16219         * io/fts64.c: New file.
16220         * io/tst-fts.c: New test.
16221         * io/tst-fts-lfs.c: Likewise.
16222         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16223         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16224         fts64_set.
16225         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16226         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16227         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16228         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16229         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16230         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16231         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16232         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16233         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16234         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16235         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16236         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16237         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16239         Likewise.
16240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16241         Likewise.
16242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16244         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16245         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16246         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16247         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16248         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16251         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16252         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16253         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16254         * sysdeps/wordsize-64/fts.c: New file.
16255         * sysdeps/wordsize-64/fts64.c: Likewise.
16256         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16257         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16258         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16259         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16261 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16263         * math/libm-test.inc (NON_FINITE): New macro.
16264         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16265         * math/gen-libm-test.pl (show_exceptions): Add argument
16266         $non_finite.
16267         (parse_args): Update call to show_exceptions.
16268         * math/test-math-finite.h: New file.
16269         * math/test-math-no-finite.h: Likewise.
16270         * math/test-double-finite.c: Likewise.
16271         * math/test-float-finite.c: Likewise.
16272         * math/test-ldouble-finite.c: Likewise.
16273         * math/test-double.c: Include "test-math-no-finite.h".
16274         * math/test-float.c: Include "test-math-no-finite.h".
16275         * math/test-ldouble.c: Include "test-math-no-finite.h".
16276         * math/test-math-inline.h (TEST_FINITE): New macro.
16277         * math/test-math-vector.h (TEST_FINITE): Likewise.
16278         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16279         (libm-tests): Add test-float-finite and test-double-finite.
16280         ($(objpfx)test-float-finite.o): New dependency on
16281         $(objpfx)libm-test.stmp.
16282         ($(objpfx)test-double-finite.o): Likewise.
16283         ($(objpfx)test-ldouble-finite.o): Likewise.
16284         (libm-test-no-inline-cflags): New variable.
16285         (libm-test-finite-cflags): Likewise.
16286         (CFLAGS-test-float-finite.c): Likewise.
16287         (CFLAGS-test-double-finite.c): Likewise.
16288         (CFLAGS-test-ldouble-finite.c): Likewise.
16289         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16290         (CFLAGS-test-double.c): Likewise.
16291         (CFLAGS-test-ldouble.c): Likewise.
16293 2015-11-05  Roland McGrath  <roland@hack.frob.com>
16295         * io/fcntl.c (__fcntl): Add ... to prototype.
16296         * misc/ioctl.c (__ioctl): Likewise.
16297         * misc/syscall.c (syscall): Likewise.
16299 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16301         * scripts/list-fixed-bugs.py: New file.
16303         [BZ #19213]
16304         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16305         returned for argument 1.
16306         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16307         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16308         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16309         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16310         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16311         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16313         [BZ #19211]
16314         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16315         __USE_XOPEN], not if [!__USE_ISOC99].
16316         (lgammaf): Likewise.
16317         (lgammal): Likewise.
16318         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16319         (gammaf): Likewise.
16320         (gammal): Likewise.
16321         * math/test-signgam-finite-c11.c: New file.
16322         * math/test-signgam-finite-c99.c: Likewise.
16323         * math/test-signgam-finite.c: Likewise.
16324         * math/Makefile (tests): Add test-signgam-finite,
16325         test-signgam-finite-c99 and test-signgam-finite-c11.
16326         (CFLAGS-test-signgam-finite.c): New variable.
16327         (CFLAGS-test-signgam-finite-c99.c): Likewise.
16328         (CFLAGS-test-signgam-finite-c11.c): Likewise.
16330         [BZ #19212]
16331         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16332         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16333         500].
16334         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16335         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16336         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16337         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16338         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16339         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16340         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16341         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16342         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16343         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16345         [BZ #19209]
16346         * math/bits/math-finite.h (ldexp): Remove declaration.
16347         (ldexpf): Likewise.
16348         (ldexpl): Likewise.
16350         [BZ #19205]
16351         * math/bits/math-finite.h (acosf): Condition declaration on
16352         [__USE_ISOC99].
16353         (acosl): Likewise.
16354         (acoshf): Likewise.
16355         (acoshl): Likewise.
16356         (asinf): Likewise.
16357         (asinl): Likewise.
16358         (atan2f): Likewise.
16359         (atan2l): Likewise.
16360         (atanhf): Likewise.
16361         (atanhl): Likewise.
16362         (coshf): Likewise.
16363         (coshl): Likewise.
16364         (expf): Likewise.
16365         (expl): Likewise.
16366         (fmodf): Likewise.
16367         (fmodl): Likewise.
16368         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16369         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16370         (j0l): Likewise.
16371         (y0f): Likewise.
16372         (y0l): Likewise.
16373         (j1f): Likewise.
16374         (j1l): Likewise.
16375         (y1f): Likewise.
16376         (y1l): Likewise.
16377         (jnf): Likewise.
16378         (jnl): Likewise.
16379         (ynf): Likewise.
16380         (ynl): Likewise.
16381         (lgammaf_r): Condition declaration on [__USE_ISOC99].
16382         (lgammal_r): Likewise.
16383         (__lgamma_r_finite): New declaration.
16384         (__lgammaf_r_finite): Likewise.
16385         (__lgammal_r_finite): Likewise.
16386         (lgamma): Use __lgamma_r_finite.
16387         (lgammaf): Condition definition on [__USE_ISOC99].  Use
16388         __lgammaf_r_finite.
16389         (lgammal): Condition definition on [__USE_ISOC99].  Use
16390         __lgammal_r_finite.
16391         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
16392         __lgamma_r_finite.
16393         (gammaf): Condition definition on [__USE_ISOC99].  Use
16394         __lgammaf_r_finite.
16395         (gammal): Condition definition on [__USE_ISOC99].  Use
16396         __lgammal_r_finite.
16397         (logf): Condition declaration on [__USE_ISOC99].
16398         (logl): Likewise.
16399         (log10f): Likewise.
16400         (log10l): Likewise.
16401         (ldexpf): Likewise.
16402         (ldexpl): Likewise.
16403         (powf): Likewise.
16404         (powl): Likewise.
16405         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16406         __USE_ISOC99].
16407         (remainderf): Condition declaration on [__USE_ISOC99].
16408         (remainderl): Likewise.
16409         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16410         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16411         (scalbl): Likewise.
16412         (sinhf): Condition declaration on [__USE_ISOC99].
16413         (sinhl): Likewise.
16414         (sqrtf): Likewise.
16415         (sqrtl): Likewise.
16417 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16419         * sysdeps/arm/atomic-machine.h
16420         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16421         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16422         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16423         Remove conditional code.
16424         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16425         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16426         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16427         Change conditional to [__ASSEMBLER__].
16428         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16429         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16430         [!__ASSEMBLER__].
16431         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16432         code.
16433         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16434         conditional macro definitions.
16435         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16436         (__arch_compare_and_exchange_val_16_acq): Likewise.
16437         (__arch_compare_and_exchange_val_32_acq): Likewise.
16438         (atomic_exchange_and_add): Likewise.
16439         (atomic_add): Likewise.
16440         (atomic_add_negative): Likewise.
16441         (atomic_add_zero): Likewise.
16442         (atomic_bit_set): Likewise.
16443         (atomic_bit_test_set): Likewise.
16444         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16445         code unconditional.
16446         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16448         * math/test-math-errno.h: New file.
16449         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16450         empty.
16451         (TEST_ERRNO): New macro.
16452         (TEST_EXCEPTIONS): Likewise.
16453         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16454         (TEST_EXCEPTIONS): Likewise.
16455         * math/test-math-vector.h (TEST_ERRNO): Likewise.
16456         * math/test-double.c: Include "test-math-errno.h".
16457         * math/test-float.c: Likewise.
16458         * math/test-ldouble.c: Likewise.
16459         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16460         code unconditional.
16461         (test_exceptions): Only run code if TEST_EXCEPTIONS.
16462         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16463         unconditional.
16464         (test_errno): Only run code if TEST_ERRNO.
16465         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16467 2015-11-04  Florian Weimer  <fweimer@redhat.com>
16469         * nptl/tst-once5.cc: Remove attribution.
16471 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16473         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16474         sqrt, tan, tanh, y0, y1 and yn.
16475         * math/auto-libm-test-out: Regenerated.
16476         * math/libm-test.inc (scalb_test_data): Add more tests.
16477         (scalbn_test_data): Likewise.
16478         (scalbln_test_data): Likewise.
16479         (signbit_test_data): Likewise.
16480         (sin_test_data): Likewise.
16481         (sincos_test_data): Likewise.
16482         (sinh_test_data): Likewise.
16483         (sqrt_test_data): Likewise.
16484         (tan_test_data): Likewise.
16485         (tanh_test_data): Likewise.
16486         (tgamma_test_data): Likewise.
16487         (y0_test_data): Likewise.
16488         (y1_test_data): Likewise.
16489         (yn_test_data): Likewise.
16490         (significand_test_data): Likewise.
16491         * sysdeps/i386/fpu/libm-test-ulps: Update.
16493 2015-11-03  David Kastrup  <dak@gnu.org>
16495         [BZ #18604]
16496         * assert/assert.h (assert): Don't macro-expand failed assertion
16497         expression in error message.
16498         * malloc/malloc.c (assert): Likewise.
16500 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
16502         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16503         test.
16504         * configure: Regenerated.
16506 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
16508         * math/libm-test.inc (modf_test_data): Add more tests.
16509         (nearbyint_test_data): Likewise.
16510         (nextafter_test_data): Likewise.
16511         (nexttoward_test_data): Likewise.
16512         (pow_test_data): Likewise.
16513         (remainder_test_data): Likewise.
16514         (remquo_test_data): Likewise.
16515         (rint_test_data): Likewise.
16517         [BZ #19201]
16518         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16519         Check for zero remainder in case of large exponents and ensure
16520         correct sign of result in that case.
16521         * math/libm-test.inc (remainder_test_data): Add more tests.
16523         [BZ #6799]
16524         * math/s_nextafter.c: Include <errno.h>.
16525         (__nextafter): Set errno on overflow and underflow.
16526         * math/s_nexttowardf.c: Include <errno.h>.
16527         (__nexttowardf): Set errno on overflow and underflow.
16528         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16529         (__nextafterl): Set errno on overflow and underflow.
16530         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16531         (__nexttoward): Set errno on overflow and underflow.
16532         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16533         (__nexttowardf): Set errno on overflow and underflow.
16534         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16535         (__nextafterf): Set errno on overflow and underflow.
16536         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16537         (__nextafterl): Set errno on overflow and underflow.
16538         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16539         (__nexttoward): Set errno on overflow and underflow.
16540         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16541         (__nexttowardf): Set errno on overflow and underflow.
16542         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16543         (__nextafterl): Set errno on overflow and underflow.
16544         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16545         (__nexttoward): Set errno on overflow and underflow.
16546         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16547         (__nexttowardf): Set errno on overflow and underflow.
16548         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16549         (__nexttoward): Set errno on overflow and underflow.
16550         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16551         (__nexttowardf): Set errno on overflow and underflow.
16552         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16553         (__nldbl_nexttowardf): Set errno on overflow and underflow.
16554         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16555         (__nextafterl): Set errno on overflow and underflow.
16556         * math/libm-test.inc (nextafter_test_data): Do not allow errno
16557         setting to be missing on overflow.  Add more tests.
16558         (nexttoward_test_data): Likewise.
16560         * configure.ac (libc_cv_initfini_array): Remove configure test.
16561         * configure: Regenerated.
16563 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
16565         [BZ #19189]
16566         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16567         non-finite argument handle arguments with negative sign.
16569         * math/libm-test.inc (j0_test_data): Do not test sign of zero
16570         result from infinite argument.
16571         (j1_test_data): Likewise.
16572         (jn_test_data): Likewise.
16573         (y0_test_data): Likewise.
16574         (y1_test_data): Likewise.
16575         (yn_test_data): Likewise.
16577         [BZ #16171]
16578         * math/w_remainder.c (drem): Define as weak alias of __remainder.
16579         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16580         * math/w_remainderf.c (dremf): Define as weak alias of
16581         __remainderf.
16582         * math/w_remainderl.c (dreml): Define as weak alias of
16583         __remainderl.
16584         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16585         __remainder.
16586         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16587         __remainderf.
16588         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16589         __remainderl.
16590         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16591         weak alias of remainderl.
16592         * sysdeps/ieee754/ldbl-opt/w_remainder.c
16593         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16594         alias of __remainder.
16595         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16596         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16597         strong alias of __remainderl.
16598         (dreml): Use long_double_symbol.
16599         * math/Makefile (libm-calls): Remove w_drem.
16600         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16601         (CFLAGS-nldbl-drem.c): Remove variable.
16602         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16603         * math/w_drem.c: Remove file.
16604         * math/w_dremf.c: Likewise.
16605         * math/w_dreml.c: Likewise.
16606         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16607         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16608         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16610         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16611         * sysdeps/i386/configure: Regenerated.
16612         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16613         * sysdeps/x86_64/configure: Regenerated.
16615         * configure.ac (libc_cv_asm_protected_directive): Remove configure
16616         test.
16617         (libc_cv_visibility_attribute): Likewise.
16618         (libc_cv_protected_data): Test unconditionally.
16619         (libc_cv_broken_visibility_attribute): Remove configure test.
16620         (libc_cv_have_sdata_section): Test unconditionally.
16621         * configure: Regenerated.
16623         * include/libc-internal.h (libc_max_align_t): Remove typedef.
16624         * include/scratch_buffer.h: Include <stddef.h> instead of
16625         <libc-internal.h>.
16626         (struct scratch_buffer): Use max_align_t instead of
16627         libc_max_align_t.
16629 2015-10-29  Florian Weimer  <fweimer@redhat.com>
16631         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16632         instead of extend_alloca.  Change control flow to avoid a goto.
16633         Remove assert which is trivially always true.
16635 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16637         [BZ #16068]
16638         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16639         (FE_ALL_EXCEPT_X86): New macro.
16640         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16641         FE_ALL_EXCEPT.  Ensure precision control is included in
16642         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16643         handle "denormal operand exception" and clear FZ and DAZ bits.
16644         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16645         (FE_ALL_EXCEPT_X86): New macro.
16646         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16647         FE_ALL_EXCEPT.  Ensure precision control is included in
16648         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16649         handle "denormal operand exception" and clear FZ and DAZ bits.
16650         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16651         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16652         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16653         test-fenv-x87 and test-fenv-sse-2.
16654         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16656         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16657         * math/test-double.h (BUILD_COMPLEX): New macro.
16658         * math/test-float.h (BUILD_COMPLEX): Likewise.
16659         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16661         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16662         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16663         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16664         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16665         instead of DBL_DENORM_MIN in comment.
16666         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16667         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16668         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16669         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16670         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16671         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16673 2015-10-28  Florian Weimer  <fweimer@redhat.com>
16675         [BZ# 19048]
16676         * malloc/malloc.c (struct malloc_state): Update comment.  Add
16677         attached_threads member.
16678         (main_arena): Initialize attached_threads.
16679         * malloc/arena.c (list_lock): Update comment.
16680         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16681         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16682         (deattach_arena): New function.
16683         (_int_new_arena): Initialize arena reference count and deattach
16684         replaced arena.
16685         (get_free_list, reused_arena): Update reference count and deattach
16686         replaced arena.
16687         (arena_thread_freeres): Update arena reference count and only put
16688         unreferenced arenas on the free list.
16690 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16692         [BZ #19181]
16693         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16694         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16695         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16696         * math/test-fenv-clear-main.c: New file.
16697         * math/test-fenv-clear.c: Likewise.
16698         * math/Makefile (tests): Add test-fenv-clear.
16699         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16700         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16701         test-fenv-clear-sse.
16702         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16704         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16705         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16706         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16708 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16710         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16711         static libc.
16713 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16715         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16716         test.
16717         * sysdeps/i386/configure: Regenerated.
16718         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16719         test.
16720         * sysdeps/x86_64/configure: Regenerated.
16721         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16723         memset-avx2 unconditionally instead of conditionally on
16724         [$(config-cflags-avx2) = yes].
16725         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16726         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16727         unconditional.
16728         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16729         * sysdeps/x86_64/multiarch/memset_chk.S
16730         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16731         to [IS_IN (libc) && SHARED].
16733 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16735         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16736         configure test.
16737         * sysdeps/arm/configure: Regenerated.
16738         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16739         Define variable if not already defined.
16741         [BZ #17404]
16742         * sysdeps/mips/atomic-machine.h
16743         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16744         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16745         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16747         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16748         unconditional.
16749         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16750         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16751         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16752         unconditional.
16753         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16754         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16755         unconditional.
16756         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16757         * stdlib/setenv.c
16758         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16759         code unconditional.
16760         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16761         Remove conditional code.
16762         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16763         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16764         unconditional.
16765         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16766         code.
16767         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16768         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16769         unconditional.
16770         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16771         code.
16772         * sysdeps/ieee754/ldbl-128/k_tanl.c
16773         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16774         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16775         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16776         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16777         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16778         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16779         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16780         unconditional.
16781         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16782         code.
16783         * sysdeps/ieee754/ldbl-96/k_tanl.c
16784         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16785         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16787         * nptl/tst-initializers1-c11.c: New file.
16788         * nptl/tst-initializers1-gnu11.c: Likewise.
16789         * nptl/Makefile (tests): Add these new tests.
16790         (CFLAGS-tst-initializers1-c11.c): New variable.
16791         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16793         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16794         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16795         instead of -std=gnu99.
16796         * configure.ac (systemtap): Test with -std=gnu11 instead of
16797         -std=gnu99.
16798         * configure: Regenerated.
16799         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16800         in compilation command in comment.
16802         * sysdeps/nptl/configure.ac: Remove file.
16803         * sysdeps/nptl/configure: Remove generated file.
16804         * configure.ac (libc_cv_forced_unwind): Do not substitute.
16805         * configure: Regenerated.
16806         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16807         * config.make.in (have-forced-unwind): Remove variable.
16808         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16809         unconditional.
16810         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16811         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16812         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16813         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16814         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16815         unconditional.
16817 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16819         [BZ #19174]
16820         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16821         .skip_lock_out_of_tbegin_retries.
16822         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16823         (__lll_lock_elision): Likewise, and respect a value of
16824         try_tbegin <= 0.
16826 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16828         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16829         statement.
16831 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16833         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16834         variable.
16835         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16836         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16838         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16839         of -std=c1x -D_ISOC11_SOURCE.
16841         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16842         * configure: Regenerated.
16843         * manual/install.texi (Tools for Compilation): Document
16844         requirement for GCC 4.7 or later.
16845         * INSTALL: Regenerated.
16847 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
16849         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16850         on CNT to a conditional jump to 'puntdata'.
16852 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16854         * configure.ac (libc_cv_gcc___thread): Remove configure test.
16855         (libc_cv_gcc_tls_model_attr): Likewise.
16856         * configure: Regenerated.
16858         * configure.ac (libc_cv_need_minus_P): Remove configure test.
16859         * configure: Regenerated.
16860         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16862 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
16864         * configure.ac (old_glibc_headers): Remove configure test.
16865         * configure: Regenerated.
16866         * config.make.in (old-glibc-headers): Remove variable.
16867         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16868         (install): Remove dependency on remove-old-headers.
16869         (headers2_0): Remove variable.
16870         (remove-old-headers): Remove rule.
16872         * configure.ac (libc_cv_dot_text): Remove configure test.
16873         (libc_cv_asm_set_directive): Use .text instead of
16874         ${libc_cv_dot_text} in configure test.
16875         * configure: Regenerated.
16877 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16879         [BZ #19168]
16880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16882 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16884         * configure.ac (CXX): Clear the variable if the C++ toolchain does
16885         not support static linking.
16886         * configure: Regenerate.
16888 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
16890         * math/libm-test.inc (check_float_internal): Do not special-case
16891         errors up to 0.5 ulp.
16893         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16894         log2.
16895         * math/auto-libm-test-out: Regenerated.
16896         * math/libm-test.inc (MAX_EXP): New macro.
16897         (ilogb_test_data): Add more tests.
16898         (isfinite_test_data): Likewise.
16899         (isgreater_test_data): Likewise.
16900         (isgreaterequal_test_data): Likewise.
16901         (isinf_test_data): Likewise.
16902         (isless_test_data): Likewise.
16903         (islessequal_test_data): Likewise.
16904         (islessgreater_test_data): Likewise.
16905         (isnan_test_data): Likewise.
16906         (isnormal_test_data): Likewise.
16907         (issignaling_test_data): Likewise.
16908         (isunordered_test_data): Likewise.
16909         (j0_test_data): Likewise.
16910         (j1_test_data): Likewise.
16911         (jn_test_data): Likewise.
16912         (lgamma_test_data): Likewise.
16913         (log_test_data): Likewise.
16914         (log10_test_data): Likewise.
16915         (log1p_test_data): Likewise.
16916         (log2_test_data): Likewise.
16917         (logb_test_data): Likewise.
16918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16920         [BZ #18611]
16921         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16922         avoid excess range and precision on underflow.
16923         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16924         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16925         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16926         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16927         underflow.
16928         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16929         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16930         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16931         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16932         * math/auto-libm-test-in: Do not allow missing errno setting for
16933         tests of j1 and jn.
16934         * math/auto-libm-test-out: Regenerated.
16936 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
16938         [BZ #15491]
16939         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16940         floating-point environment instead of clearing all exceptions.
16941         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16942         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16943         merging in "invalid" exceptions from frndint.
16944         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16945         * math/test-nearbyint-except.c: New file.
16946         * math/Makefile (tests): Add test-nearbyint-except.
16948 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
16950         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16952         * sysdeps/tile/libm-test-ulps: Regenerated.
16954 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16957         (__NR_sync_file_range2): Assume it is always defined.
16958         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16959         (__NR_sync_file_range): Assume it is always defined.
16961 2015-10-22  Andreas Schwab  <schwab@suse.de>
16963         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16964         INTERNAL_SYSCALL_ERRNO.
16965         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16966         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16967         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16968         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16969         Likewise.
16970         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16972 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16974         * io/tst-fcntl.c (fd): New static variable.
16975         (do_prepare): Open temporary file here....
16976         (do_test): ...not here.
16978         * io/ftwtest-sh: Also trap on exit to remove temporary files.
16980 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16982         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16983         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16984         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16985         Moved before "#ifdef __ASSEMBLER__".
16987 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16989         [BZ #19156]
16990         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16991         arguments very close to 0.
16993 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
16995         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16996         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16998 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
17000         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17001         New.  Defined for GCC 5 and above when not compiling for
17002         profiling.
17003         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17005         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
17006         Renamed to ...
17007         (CFLAGS-epoll_pwait.o): This.
17008         (CFLAGS-mmap.c): Renamed to ...
17009         (CFLAGS-mmap.o): This.
17010         (CFLAGS-mmap64.c): Renamed to ...
17011         (CFLAGS-mmap64.o): This.
17012         (CFLAGS-epoll_pwait.os): New.
17013         (CFLAGS-mmap.os): Likewise.
17014         (CFLAGS-mmap64.os): Likewise.
17015         (CFLAGS-semtimedop.os): Likewise.
17016         (CFLAGS-semtimedop.c): Renamed to ...
17017         (CFLAGS-semtimedop.o): This.
17019 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17021         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
17022         warning message.
17024 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
17026         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
17027         * Makefile ($(objpfx)c++-types-check.out): Filter out
17028         $(+gccwarn-c) instead of -Wstrict-prototypes.
17030         * io/fts.c (fts_open): Convert to prototype-style function
17031         definition.
17032         * malloc/mcheck.c (mcheck): Likewise.
17033         (mcheck_pedantic): Likewise.
17034         * posix/regexec.c (re_search_2_stub): Likewise.  Use
17035         internal_function.
17036         (re_search_internal): Likewise.
17037         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
17038         prototype-style function definition.
17039         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17040         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17041         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
17042         (xdr_utmpptr): Likewise.
17043         (xdr_utmparr): Likewise.
17044         (xdr_utmpidle): Likewise.
17045         (xdr_utmpidleptr): Likewise.
17046         (xdr_utmpidlearr): Likewise.
17048         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
17049         log, log10 and log2.
17050         * math/auto-libm-test-out: Regenerated.
17051         * math/libm-test.inc (fmod_test_data): Add more tests.
17052         (fpclassify_test_data): Likewise.
17053         (frexp_test_data): Likewise.
17054         (hypot_test_data): Likewise.
17055         (ilogb_test_data): Likewise.
17057 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
17059         * debug/fortify_fail.c (__fortify_fail): Convert to
17060         prototype-style function definition.  Use internal_function.
17061         * libio/genops.c (save_for_backup): Convert to prototype-style
17062         function definition.
17063         * libio/wgenops.c (save_for_wbackup): Likewise.
17064         * login/grantpt.c (grantpt): Likewise.
17065         * login/ptsname.c (ptsname): Likewise.
17066         (__ptsname_r): Likewise.
17067         * login/unlockpt.c (unlockpt): Likewise.
17068         * mach/msgserver.c (__mach_msg_server): Likewise.
17069         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
17070         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
17071         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
17072         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17073         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
17074         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
17075         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
17076         Likewise.
17077         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
17078         internal_function.
17079         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
17080         prototype-style function definition.
17081         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
17082         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
17083         (__pthread_create_2_0): Likewise.
17084         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
17085         * nptl/register-atfork.c (__register_atfork): Likewise.
17086         * posix/glob.c (glob): Likewise.
17087         * posix/regcomp.c (re_comp): Likewise.
17088         * posix/regexec.c (re_exec): Likewise.
17089         * stdlib/add_n.c [__STDC__]: Make code unconditional.
17090         [!__STDC__]: Remove conditional code.
17091         * stdlib/cmp.c [__STDC__]: Make code unconditional.
17092         [!__STDC__]: Remove conditional code.
17093         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
17094         [!__STDC__]: Remove conditional code.
17095         * stdlib/divrem.c [__STDC__]: Make code unconditional.
17096         [!__STDC__]: Remove conditional code.
17097         * stdlib/lshift.c [__STDC__]: Make code unconditional.
17098         [!__STDC__]: Remove conditional code.
17099         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
17100         [!__STDC__]: Remove conditional code.
17101         * stdlib/mul.c [__STDC__]: Make code unconditional.
17102         [!__STDC__]: Remove conditional code.
17103         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
17104         [!__STDC__]: Remove conditional code.
17105         * stdlib/rshift.c [__STDC__]: Make code unconditional.
17106         [!__STDC__]: Remove conditional code.
17107         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
17108         function definition.
17109         (STRTOF): Likewise.
17110         * stdlib/strtod_l.c (__STRTOF): Likewise.
17111         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
17112         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
17113         (__strtol_l): Likewise.
17114         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
17115         [!__STDC__]: Remove conditional code.
17116         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
17117         definition.
17118         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17119         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17120         type.
17121         (__strcasecmp): Convert to prototype-style function definition.
17122         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
17123         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17124         type.
17125         (__strncasecmp): Convert to prototype-style function definition.
17126         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
17127         * sunrpc/xdr.c (xdr_union): Likewise.
17128         * sunrpc/xdr_array.c (xdr_array): Likewise.
17129         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
17130         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
17131         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
17132         Likewise.
17133         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
17134         Likewise.
17135         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
17136         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17137         Likewise.
17138         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
17139         (LOCALE_PARAM_PROTO): Likewise.
17140         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
17141         argument type.
17142         (ut_argument_spec): Remove macro.
17143         (ut_argument_spec_iso): Rename to ut_argument_spec.
17144         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
17145         prototype-style function definition.
17146         (memcpy_uppcase): Likewise.
17147         (__strftime_internal): Likewise.
17148         (my_strftime): Likewise.
17149         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
17150         (LOCALE_PARAM_DECL): Likewise.
17151         [_LIBC] (LOCALE_PARAM): Include argument type.
17152         (__strptime_internal): Convert to prototype-style function
17153         definition.
17154         (strptime): Likewise.
17155         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17156         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17157         type.
17158         (__wcscasecmp): Convert to prototype-style function definition.
17159         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
17160         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17161         type.
17162         (__wcsncasecmp): Convert to prototype-style function definition.
17164         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
17165         function definition.
17166         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17167         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17168         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
17169         * elf/dl-minimal.c (_itoa): Likewise.
17170         * hurd/hurdmalloc.c (malloc): Likewise.
17171         (free): Likewise.
17172         (realloc): Likewise.
17173         * inet/inet6_option.c (inet6_option_space): Likewise.
17174         (inet6_option_init): Likewise.
17175         (inet6_option_append): Likewise.
17176         (inet6_option_alloc): Likewise.
17177         (inet6_option_next): Likewise.
17178         (inet6_option_find): Likewise.
17179         * io/ftw.c (FTW_NAME): Likewise.
17180         (NFTW_NAME): Likewise.
17181         (NFTW_NEW_NAME): Likewise.
17182         (NFTW_OLD_NAME): Likewise.
17183         * libio/iofwide.c (_IO_fwide): Likewise.
17184         * libio/strops.c (_IO_str_init_static_internal): Likewise.
17185         (_IO_str_init_static): Likewise.
17186         (_IO_str_init_readonly): Likewise.
17187         (_IO_str_overflow): Likewise.
17188         (_IO_str_underflow): Likewise.
17189         (_IO_str_count): Likewise.
17190         (_IO_str_seekoff): Likewise.
17191         (_IO_str_pbackfail): Likewise.
17192         (_IO_str_finish): Likewise.
17193         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17194         (_IO_wstr_overflow): Likewise.
17195         (_IO_wstr_underflow): Likewise.
17196         (_IO_wstr_count): Likewise.
17197         (_IO_wstr_seekoff): Likewise.
17198         (_IO_wstr_pbackfail): Likewise.
17199         (_IO_wstr_finish): Likewise.
17200         * locale/programs/localedef.c (normalize_codeset): Likewise.
17201         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17202         (add_locales_to_archive): Likewise.
17203         (delete_locales_from_archive): Likewise.
17204         * malloc/malloc.c (__libc_mallinfo): Likewise.
17205         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17206         * misc/tsearch.c (__tfind): Likewise.
17207         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17208         * nptl/pthread_attr_getdetachstate.c
17209         (__pthread_attr_getdetachstate): Likewise.
17210         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17211         Likewise.
17212         * nptl/pthread_attr_getinheritsched.c
17213         (__pthread_attr_getinheritsched): Likewise.
17214         * nptl/pthread_attr_getschedparam.c
17215         (__pthread_attr_getschedparam): Likewise.
17216         * nptl/pthread_attr_getschedpolicy.c
17217         (__pthread_attr_getschedpolicy): Likewise.
17218         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17219         Likewise.
17220         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17221         Likewise.
17222         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17223         Likewise.
17224         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17225         Likewise.
17226         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17227         (__pthread_attr_init_2_0): Likewise.
17228         * nptl/pthread_attr_setdetachstate.c
17229         (__pthread_attr_setdetachstate): Likewise.
17230         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17231         Likewise.
17232         * nptl/pthread_attr_setinheritsched.c
17233         (__pthread_attr_setinheritsched): Likewise.
17234         * nptl/pthread_attr_setschedparam.c
17235         (__pthread_attr_setschedparam): Likewise.
17236         * nptl/pthread_attr_setschedpolicy.c
17237         (__pthread_attr_setschedpolicy): Likewise.
17238         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17239         Likewise.
17240         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17241         Likewise.
17242         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17243         Likewise.
17244         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17245         Likewise.
17246         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17247         Likewise.
17248         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17249         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17250         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17251         use internal_function.
17252         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17253         prototype-style function definition.
17254         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17255         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
17256         internal_function.
17257         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17258         Convert to prototype-style function definition.
17259         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17260         Likewise.
17261         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17262         Likewise.
17263         (__pthread_mutex_unlock): Likewise.
17264         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17265         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17266         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17267         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17268         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17269         * nss/makedb.c (process_input): Likewise.
17270         * posix/fnmatch.c (__strchrnul): Likewise.
17271         (__wcschrnul): Likewise.
17272         (fnmatch): Likewise.
17273         * posix/fnmatch_loop.c (FCT): Likewise.
17274         * posix/glob.c (globfree): Likewise.
17275         (__glob_pattern_type): Likewise.
17276         (__glob_pattern_p): Likewise.
17277         * posix/regcomp.c (re_compile_pattern): Likewise.
17278         (re_set_syntax): Likewise.
17279         (re_compile_fastmap): Likewise.
17280         (regcomp): Likewise.
17281         (regerror): Likewise.
17282         (regfree): Likewise.
17283         * posix/regexec.c (regexec): Likewise.
17284         (re_match): Likewise.
17285         (re_search): Likewise.
17286         (re_match_2): Likewise.
17287         (re_search_2): Likewise.
17288         (re_search_stub): Likewise.  Use internal_function
17289         (re_copy_regs): Likewise.
17290         (re_set_registers): Convert to prototype-style function
17291         definition.
17292         (prune_impossible_nodes): Likewise.  Use internal_function.
17293         * resolv/inet_net_pton.c (inet_net_pton): Convert to
17294         prototype-style function definition.
17295         (inet_net_pton_ipv4): Likewise.
17296         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17297         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17298         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17299         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17300         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17301         Make variadic.
17302         * time/strptime_l.c (localtime_r): Convert to prototype-style
17303         function definition.
17304         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17305         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17306         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17307         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17309         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17310         definition.
17311         (_ufc_doit_r): Likewise.
17312         * crypt/crypt_util.c (_ufc_copymem): Likewise.
17313         (_ufc_output_conversion_r): Likewise.
17314         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17315         * inet/rcmd.c (rcmd_af): Likewise.
17316         (rcmd): Likewise.
17317         (ruserok_af): Likewise.
17318         (ruserok): Likewise.
17319         (ruserok2_sa): Likewise.
17320         (ruserok_sa): Likewise.
17321         (iruserok_af): Likewise.
17322         (iruserok): Likewise.
17323         (__ivaliduser): Likewise.
17324         (__validuser2_sa): Likewise.
17325         * inet/rexec.c (rexec_af): Likewise.
17326         (rexec): Likewise.
17327         * inet/ruserpass.c (ruserpass): Likewise.
17328         * locale/programs/xmalloc.c (xcalloc): Likewise.
17329         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17330         * math/w_drem.c (__drem): Likewise.
17331         * math/w_dremf.c (__dremf): Likewise.
17332         * math/w_dreml.c (__dreml): Likewise.
17333         * misc/daemon.c (daemon): Likewise.
17334         * resolv/res_debug.c (p_fqnname): Likewise.
17335         * stdlib/div.c (div): Likewise.
17336         * string/memcmp.c (memcmp_bytes): Likewise.
17337         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17338         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17340         * crypt/cert.c (main): Convert to prototype-style function
17341         definition.
17342         * io/pipe.c (__pipe): Likewise.
17343         * io/pipe2.c (__pipe2): Likewise.
17344         * misc/futimesat.c (futimesat): Likewise.
17345         * misc/utimes.c (__utimes): Likewise.
17346         * posix/execve.c (__execve): Likewise.
17347         * posix/execvp.c (execvp): Likewise.
17348         * posix/execvpe.c (__execvpe): Likewise.
17349         * posix/fexecve.c (fexecve): Likewise.
17350         * socket/socketpair.c (socketpair): Likewise.
17351         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17352         * stdlib/erand48.c (erand48): Likewise.
17353         * stdlib/erand48_r.c (__erand48_r): Likewise.
17354         * stdlib/jrand48.c (jrand48): Likewise.
17355         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17356         * stdlib/lcong48.c (lcong48): Likewise.
17357         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17358         * stdlib/nrand48.c (nrand48): Likewise.
17359         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17360         * stdlib/seed48.c (seed48): Likewise.
17361         * stdlib/seed48_r.c (__seed48_r): Likewise.
17362         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17363         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17364         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17366 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17368         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17369         * configure: Regenerated.
17370         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17371         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17372         unconditional.
17373         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17374         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17375         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17376         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17377         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17378         unconditional.
17379         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17381         * posix/Makefile (CFLAGS-regex.c): Remove variable.
17382         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17384         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17385         function definition.
17386         * crypt/crypt_util.c (__encrypt_r): Likewise.
17387         * libio/genops.c (_IO_no_init): Likewise.
17388         * libio/iofopncook.c (_IO_fopencookie): Likewise.
17389         (_IO_old_fopencookie): Likewise.
17390         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17391         * libio/iogetline.c (_IO_getline): Likewise.
17392         (_IO_getline_info): Likewise.
17393         * libio/iogetwline.c (_IO_getwline): Likewise.
17394         (_IO_getwline_info): Likewise.
17395         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17396         * libio/vswprintf.c (_IO_vswprintf): Likewise.
17397         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17398         (find_entry): Likewise.
17399         (iterate_table): Likewise.
17400         (lookup): Likewise.
17401         * login/forkpty.c (forkpty): Likewise.
17402         * misc/hsearch_r.c (__hsearch_r): Likewise.
17403         * misc/select.c (__select): Likewise.
17404         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17405         Likewise.
17406         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17407         Likewise.
17408         * nptl/old_pthread_cond_timedwait.c
17409         (__pthread_cond_timedwait_2_0): Likewise.
17410         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17411         * nptl/pthread_barrierattr_getpshared.c
17412         (pthread_barrierattr_getpshared): Likewise.
17413         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17414         Likewise.
17415         * nptl/pthread_mutex_setprioceiling.c
17416         (pthread_mutex_setprioceiling): Likewise.
17417         * nptl/pthread_mutexattr_getprioceiling.c
17418         (pthread_mutexattr_getprioceiling): Likewise.
17419         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17420         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17421         Likewise.
17422         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17423         Likewise.
17424         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17425         Likewise.
17426         * socket/recvfrom.c (__recvfrom): Likewise.
17427         * socket/sendto.c (__sendto): Likewise.
17428         * socket/setsockopt.c (__setsockopt): Likewise.
17429         * stdio-common/_itoa.c (_itoa): Likewise.
17430         * stdio-common/_itowa.c (_itowa): Likewise.
17431         * stdio-common/reg-printf.c (__register_printf_specifier):
17432         Likewise.
17433         (__register_printf_function): Likewise.
17434         * stdio-common/tempname.c (__path_search): Likewise.
17435         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17436         * stdlib/mul_1.c (mpn_mul_1): Likewise.
17437         * stdlib/random_r.c (__initstate_r): Likewise.
17438         * stdlib/setenv.c (__add_to_environ): Likewise.
17439         * stdlib/submul_1.c (mpn_submul_1): Likewise.
17440         * streams/getpmsg.c (getpmsg): Likewise.
17441         * streams/putmsg.c (putmsg): Likewise.
17442         * streams/putpmsg.c (putpmsg): Likewise.
17443         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17444         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17445         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17446         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17447         * sunrpc/pm_getport.c (pmap_getport): Likewise.
17448         * sunrpc/svc_udp.c (cache_get): Likewise.
17449         * sunrpc/xdr_array.c (xdr_vector): Likewise.
17450         * sysdeps/mach/hurd/getcwd.c
17451         (__canonicalize_directory_name_internal): Likewise.
17452         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17453         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17454         * sysdeps/mach/hurd/select.c (__select): Likewise.
17455         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17456         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17457         * sysdeps/sparc/nptl/pthread_barrier_init.c
17458         (__pthread_barrier_init): Likewise.
17459         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17460         (__pthread_cond_timedwait): Likewise.
17461         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17462         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17463         Likewise.
17464         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17465         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17466         Likewise.
17467         * sysvipc/semtimedop.c (semtimedop): Likewise.
17468         * time/setitimer.c (__setitimer): Likewise.
17469         * time/strftime_l.c (emacs_strftime): Likewise.
17471 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17473         * config.make.in (have-ssp): Delete.
17474         (stack-protector): New variable.
17475         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
17476         cache test for -fstack-protector-strong.  Export stack_protector to
17477         the best ssp flag.
17478         * configure: Regenerated.
17479         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17480         * nscd/Makefile (CFLAGS-nscd): Likewise.
17481         * resolv/Makefile (CFLAGS-libresolv): Likewise.
17483 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
17485         [BZ #19122]
17486         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17487         attribute_hidden.
17489 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17491         [BZ #18743]
17492         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17493         code to...
17494         (ELIDE_LOCK): ...here.
17495         (__get_new_count): New function with part of the code from
17496         __elide_lock that updates the value of adapt_count after a
17497         transaction abort.
17498         (__elided_trylock): Moved this code to...
17499         (ELIDE_TRYLOCK): ...here.
17501 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17503         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17504         * configure: Regenerate.
17505         * INSTALL: Regenerate.
17506         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17507         and tweak grammar.
17509 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
17511         * login/programs/pt_chown.c: Include signal.h
17512         (main): Clear any signal mask from the parent process.
17514 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17516         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17517         * configure: Regenerated.
17518         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17519         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17520         $(gnu89-inline-CFLAGS).
17522         * configure.ac (libc_cv_asm_weak_directive): Remove configure
17523         test.
17524         (libc_cv_asm_weakext_directive): Likewise.
17525         * configure: Regenerated.
17526         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17527         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17528         * include/libc-symbols.h
17529         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17530         #error.
17531         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17532         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17534         * sysdeps/arm/backtrace.c (__backtrace): Convert to
17535         prototype-style function definition.
17536         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17537         * sysdeps/i386/ffs.c (__ffs): Likewise.
17538         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17539         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17540         Likewise.
17541         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17542         Likewise.
17543         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17544         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17545         Likewise.
17546         * sysdeps/m68k/ffs.c (__ffs): Likewise.
17547         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17548         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17549         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17550         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17551         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17552         * sysdeps/mach/hurd/access.c (__access): Likewise.
17553         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17554         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17555         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17556         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17557         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17558         (cthread_getspecific): Likewise.
17559         (cthread_setspecific): Likewise.
17560         (__libc_getspecific): Likewise.
17561         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17562         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17563         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17564         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17565         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17566         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17567         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17568         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17569         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17570         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17571         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17572         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17573         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17574         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17575         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17576         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17577         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17578         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17579         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17580         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17581         * sysdeps/mach/hurd/link.c (__link): Likewise.
17582         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17583         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17584         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17585         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17586         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17587         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17588         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17589         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17590         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17591         * sysdeps/mach/hurd/rename.c (rename): Likewise.
17592         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17593         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17594         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17595         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17596         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17597         * sysdeps/mach/hurd/send.c (__send): Likewise.
17598         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17599         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17600         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17601         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17602         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17603         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17604         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17605         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17606         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17607         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17608         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17609         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17610         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17611         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17612         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17613         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17614         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17615         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17616         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17617         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17618         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17619         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17620         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17621         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17622         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17623         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17624         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17625         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17626         * sysdeps/posix/alarm.c (alarm): Likewise.
17627         * sysdeps/posix/cuserid.c (cuserid): Likewise.
17628         * sysdeps/posix/dirfd.c (dirfd): Likewise.
17629         * sysdeps/posix/dup.c (__dup): Likewise.
17630         * sysdeps/posix/dup2.c (__dup2): Likewise.
17631         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17632         (main): Likewise.
17633         * sysdeps/posix/flock.c (__flock): Likewise.
17634         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17635         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17636         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17637         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17638         * sysdeps/posix/isatty.c (__isatty): Likewise.
17639         * sysdeps/posix/killpg.c (killpg): Likewise.
17640         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17641         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17642         * sysdeps/posix/raise.c (raise): Likewise.
17643         * sysdeps/posix/remove.c (remove): Likewise.
17644         * sysdeps/posix/rename.c (rename): Likewise.
17645         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17646         * sysdeps/posix/seekdir.c (seekdir): Likewise.
17647         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17648         * sysdeps/posix/sigignore.c (sigignore): Likewise.
17649         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17650         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17651         * sysdeps/posix/sigset.c (sigset): Likewise.
17652         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17653         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17654         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17655         * sysdeps/posix/time.c (time): Likewise.
17656         * sysdeps/posix/ttyname.c (getttyname): Likewise.
17657         (ttyname): Likewise.
17658         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17659         * sysdeps/posix/utime.c (utime): Likewise.
17660         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17661         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17662         Likewise.
17663         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17664         (pthread_spin_trylock): Likewise.
17665         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17666         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17667         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17668         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17669         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17670         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17671         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17672         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17673         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17674         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17675         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17676         * sysdeps/s390/ffs.c (__ffs): Likewise.
17677         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17678         Likewise.
17679         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17680         Likewise.
17681         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17682         Likewise.
17683         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17684         (pthread_barrier_destroy): Likewise.
17685         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17686         (__pthread_barrier_wait): Likewise.
17687         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17688         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17689         (__pthread_barrier_wait): Likewise.
17690         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17691         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17692         (memcmp_not_common_alignment): Likewise.
17693         (MEMCMP): Likewise.
17694         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17695         (_wordcopy_fwd_dest_aligned): Likewise.
17696         (_wordcopy_bwd_aligned): Likewise.
17697         (_wordcopy_bwd_dest_aligned): Likewise.
17698         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17699         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17700         * sysdeps/unix/bsd/stty.c (stty): Likewise.
17701         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17702         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17703         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17704         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17705         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17706         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17707         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17708         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17709         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17710         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17711         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17712         * sysdeps/unix/stime.c (stime): Likewise.
17713         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17714         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17715         Likewise.  Use internal_function.
17716         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17717         Convert to prototype-style function definition.
17718         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17719         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17720         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17721         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17722         Likewise.  Use internal_function.
17723         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17724         prototype-style function definition
17725         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17726         Likewise.
17727         (__getlogin_r): Likewise.
17728         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17729         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17730         (__pthread_cond_broadcast): Likewise.
17731         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17732         (__pthread_cond_destroy): Likewise.
17733         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17734         (__pthread_cond_init): Likewise.
17735         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17736         (__pthread_cond_signal): Likewise.
17737         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17738         (__pthread_cond_wait): Likewise.
17739         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17740         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17741         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17742         Likewise.
17743         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17744         Likewise.
17745         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17746         Likewise.
17747         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17748         Likewise.
17749         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17751         (__ftruncate64): Likewise.
17752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17753         (truncate64): Likewise.
17754         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17755         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17756         (pthread_getcpuclockid): Likewise.
17757         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17758         Likewise.
17759         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17760         Likewise.
17761         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17762         Likewise.
17763         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17764         Likewise.
17765         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17766         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17767         (__libc_sigaction): Likewise.
17768         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17769         Likewise.
17770         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17771         (__sigprocmask): Likewise.
17772         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17773         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17774         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17775         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17776         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17777         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17778         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17779         Likewise.
17780         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17781         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17782         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17783         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17784         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17785         Likewise.
17786         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17787         (__sigprocmask): Likewise.
17788         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17789         (cfgetispeed): Likewise.
17790         (cfsetospeed): Likewise.
17791         (cfsetispeed): Likewise.
17792         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17793         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17794         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17795         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17796         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17797         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17798         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17799         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17800         Likewise.
17801         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17802         Likewise.
17803         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17804         Likewise.
17805         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17806         Likewise.
17807         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17809 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17811         sunrpc: Rewrite with explicit TLS access using __thread.
17812         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17813         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17814         directly.
17815         (__rpc_thread_variables): Access thread_rpc_vars directly.
17816         Eliminate redundant assignment of the tvp variable.
17818 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17820         malloc: Rewrite with explicit TLS access using __thread.
17821         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17822         (tsd_setspecific, tsd_getspecific): Remove.
17823         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17824         (tsd_setspecific, tsd_getspecific): Likewise.
17825         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17826         (tsd_setspecific, tsd_getspecific): Likewise.
17827         * malloc/arena.c (thread_arena): New TLS variable.
17828         (arena_key): Remove variable.
17829         (arena_get): Use thread_arena.
17830         (arena_lookup): Remove macro.
17831         (malloc_atfork, free_atfork, ptmalloc_lock_all)
17832         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17833         (_int_new_arena, get_free_list, reused_arena)
17834         (arena_thread_freeres): Use thread_arena.
17835         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17836         tsd_getspecific, tsd_setspecific from safety annotations.
17837         (Allocating Cleared Space): Remove arena_lookup from safety
17838         annotations.
17840 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17842         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17843         struct scratch_buffer instead of extend_alloca.
17845 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17847         * sysdeps/unix/sysv/linux/kernel-features.h
17848         (__ASSUME_SOCK_CLOEXEC): Remove.
17849         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17850         (__have_paccept): Remove unused macro.
17851         * include/unistd.h (__have_sock_cloexec): Remove declaration.
17852         * misc/syslog.c (openlog_internal): Remove fallback code for
17853         !__ASSUME_SOCK_CLOEXEC.
17854         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17855         missing SOCK_CLOEXEC.
17856         * nscd/connections.c (have_sock_cloexec): Remove definition.
17857         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17858         * nscd/nscd_helper.c (open_socket): Remove fallback code for
17859         !__ASSUME_SOCK_CLOEXEC.
17860         * resolv/res_send.c (__have_o_nonblock): Remove definition.
17861         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17862         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17863         definition.
17864         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17865         code for !__ASSUME_SOCK_CLOEXEC.
17867 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17869         [BZ #18982]
17870         * manual/stdio.texi (Variable Arguments Output): Add portability
17871         note, explaining that vfprintf clobbers the va_list pointer.
17873 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17875         * math/libm-test.inc (fabs_test_data): Add more tests.
17876         (fdim_test_data): Likewise.
17877         (fma_test_data): Likewise.
17878         (fmax_test_data): Likewise.
17879         (fmin_test_data): Likewise.
17880         (fmod_test_data): Likewise.
17882 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
17884         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
17885         data.
17887 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17889         * math/libm-test.inc (ceil_test_data): Add more tests and more
17890         expectations for "inexact".
17891         (floor_test_data): Add more tests.
17892         (round_test_data): Likewise.
17893         (trunc_test_data): Likewise.
17895         * crypt/cert.c (good_bye): Convert to prototype-style function
17896         definition.
17897         (get8): Likewise.
17898         (put8): Likewise.
17899         * crypt/crypt-entry.c (crypt): Likewise.
17900         (__fcrypt): Likewise.
17901         * crypt/crypt_util.c (_ufc_prbits): Likewise.
17902         (_ufc_set_bits): Likewise.
17903         (_ufc_clearmem): Likewise.
17904         (__init_des_r): Likewise.
17905         (shuffle_sb): Likewise.
17906         (shuffle_sb): Likewise.
17907         (_ufc_setup_salt_r): Likewise.
17908         (_ufc_mk_keytab_r): Likewise.
17909         (_ufc_dofinalperm_r): Likewise.
17910         (encrypt): Likewise.
17911         (__setkey_r): Likewise.
17912         (setkey): Likewise.
17913         * crypt/md5.c (md5_init_ctx): Likewise.
17914         (md5_read_ctx): Likewise.
17915         (md5_finish_ctx): Likewise.
17916         (md5_stream): Likewise.
17917         (md5_buffer): Likewise.
17918         (md5_process_bytes): Likewise.
17919         * crypt/sha256.c (__sha256_init_ctx): Likewise.
17920         (__sha256_finish_ctx): Likewise.
17921         (__sha256_process_bytes): Likewise.
17922         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17923         (__sha512_finish_ctx): Likewise.
17924         (__sha512_process_bytes): Likewise.
17925         * ctype/isctype.c (__isctype): Likewise.
17926         * debug/backtrace.c (__backtrace): Likewise.
17927         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17928         * debug/fgets_chk.c (__fgets_chk): Likewise.
17929         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17930         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17931         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17932         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17933         * debug/memset_chk.c (__memset_chk): Likewise.
17934         * debug/strcat_chk.c (__strcat_chk): Likewise.
17935         * debug/strncat_chk.c (__strncat_chk): Likewise.
17936         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17937         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17938         * dirent/dirfd.c (dirfd): Likewise.
17939         * dirent/getdents.c (__getdirentries): Likewise.
17940         * dirent/getdents64.c (getdirentries64): Likewise.
17941         * dirent/rewinddir.c (__rewinddir): Likewise.
17942         * dirent/seekdir.c (seekdir): Likewise.
17943         * dirent/telldir.c (telldir): Likewise.
17944         * elf/sln.c (makesymlinks): Likewise.
17945         (makesymlink): Likewise.
17946         * gmon/gmon.c (__moncontrol): Likewise.
17947         (__monstartup): Likewise.
17948         (write_hist): Likewise.
17949         (write_call_graph): Likewise.
17950         (write_bb_counts): Likewise.
17951         * grp/setgroups.c (setgroups): Likewise.
17952         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17953         * inet/inet_net.c (inet_network): Likewise.
17954         * inet/inet_netof.c (inet_netof): Likewise.
17955         * inet/rcmd.c (rresvport_af): Likewise.
17956         (rresvport): Likewise.
17957         * io/access.c (__access): Likewise.
17958         * io/chdir.c (__chdir): Likewise.
17959         * io/chmod.c (__chmod): Likewise.
17960         * io/chown.c (__chown): Likewise.
17961         * io/close.c (__close): Likewise.
17962         * io/creat.c (creat): Likewise.
17963         * io/creat64.c (creat64): Likewise.
17964         * io/dup.c (__dup): Likewise.
17965         * io/dup2.c (__dup2): Likewise.
17966         * io/dup3.c (__dup3): Likewise.
17967         * io/euidaccess.c (__euidaccess): Likewise.
17968         * io/faccessat.c (faccessat): Likewise.
17969         * io/fchmod.c (__fchmod): Likewise.
17970         * io/fchmodat.c (fchmodat): Likewise.
17971         * io/fchown.c (__fchown): Likewise.
17972         * io/fchownat.c (fchownat): Likewise.
17973         * io/fcntl.c (__fcntl): Likewise.
17974         * io/flock.c (__flock): Likewise.
17975         * io/fts.c (fts_load): Likewise.
17976         (fts_close): Likewise.
17977         (fts_read): Likewise.
17978         (fts_set): Likewise.
17979         (fts_children): Likewise.
17980         (fts_build): Likewise.
17981         (fts_stat): Likewise.
17982         (fts_sort): Likewise.
17983         (fts_alloc): Likewise.
17984         (fts_lfree): Likewise.
17985         (fts_palloc): Likewise.
17986         (fts_padjust): Likewise.
17987         (fts_maxarglen): Likewise.
17988         (fts_safe_changedir): Likewise.
17989         * io/getwd.c (getwd): Likewise.
17990         * io/isatty.c (__isatty): Likewise.
17991         * io/lchown.c (__lchown): Likewise.
17992         * io/link.c (__link): Likewise.
17993         * io/linkat.c (linkat): Likewise.
17994         * io/lseek.c (__libc_lseek): Likewise.
17995         * io/mkdir.c (__mkdir): Likewise.
17996         * io/mkdirat.c (mkdirat): Likewise.
17997         * io/mkfifo.c (mkfifo): Likewise.
17998         * io/mkfifoat.c (mkfifoat): Likewise.
17999         * io/open.c (__libc_open): Likewise.
18000         * io/open64.c (__libc_open64): Likewise.
18001         * io/readlink.c (__readlink): Likewise.
18002         * io/readlinkat.c (readlinkat): Likewise.
18003         * io/rmdir.c (__rmdir): Likewise.
18004         * io/symlink.c (__symlink): Likewise.
18005         * io/symlinkat.c (symlinkat): Likewise.
18006         * io/ttyname.c (ttyname): Likewise.
18007         * io/ttyname_r.c (__ttyname_r): Likewise.
18008         * io/umask.c (__umask): Likewise.
18009         * io/unlink.c (__unlink): Likewise.
18010         * io/unlinkat.c (unlinkat): Likewise.
18011         * io/utime.c (utime): Likewise.
18012         * libio/clearerr.c (clearerr): Likewise.
18013         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
18014         * libio/feof.c (_IO_feof): Likewise.
18015         * libio/feof_u.c (feof_unlocked): Likewise.
18016         * libio/ferror.c (_IO_ferror): Likewise.
18017         * libio/ferror_u.c (ferror_unlocked): Likewise.
18018         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18019         * libio/fileno.c (__fileno): Likewise.
18020         * libio/fputc.c (fputc): Likewise.
18021         * libio/fputc_u.c (fputc_unlocked): Likewise.
18022         * libio/fputwc.c (fputwc): Likewise.
18023         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
18024         * libio/freopen.c (freopen): Likewise.
18025         * libio/freopen64.c (freopen64): Likewise.
18026         * libio/fseek.c (fseek): Likewise.
18027         * libio/fseeko.c (fseeko): Likewise.
18028         * libio/fseeko64.c (fseeko64): Likewise.
18029         * libio/ftello.c (__ftello): Likewise.
18030         * libio/ftello64.c (ftello64): Likewise.
18031         * libio/fwide.c (fwide): Likewise.
18032         * libio/genops.c (_IO_un_link): Likewise.
18033         (_IO_link_in): Likewise.
18034         (_IO_least_marker): Likewise.
18035         (_IO_switch_to_main_get_area): Likewise.
18036         (_IO_switch_to_backup_area): Likewise.
18037         (_IO_switch_to_get_mode): Likewise.
18038         (_IO_free_backup_area): Likewise.
18039         (_IO_switch_to_put_mode): Likewise.
18040         (__overflow): Likewise.
18041         (__underflow): Likewise.
18042         (__uflow): Likewise.
18043         (_IO_setb): Likewise.
18044         (_IO_doallocbuf): Likewise.
18045         (_IO_default_underflow): Likewise.
18046         (_IO_default_uflow): Likewise.
18047         (_IO_default_xsputn): Likewise.
18048         (_IO_sgetn): Likewise.
18049         (_IO_default_xsgetn): Likewise.
18050         (_IO_sync): Likewise.
18051         (_IO_default_setbuf): Likewise.
18052         (_IO_default_seekpos): Likewise.
18053         (_IO_default_doallocate): Likewise.
18054         (_IO_init): Likewise.
18055         (_IO_old_init): Likewise.
18056         (_IO_default_sync): Likewise.
18057         (_IO_default_finish): Likewise.
18058         (_IO_default_seekoff): Likewise.
18059         (_IO_sputbackc): Likewise.
18060         (_IO_sungetc): Likewise.
18061         (_IO_set_column): Likewise.
18062         (_IO_set_column): Likewise.
18063         (_IO_adjust_column): Likewise.
18064         (_IO_get_column): Likewise.
18065         (_IO_init_marker): Likewise.
18066         (_IO_remove_marker): Likewise.
18067         (_IO_marker_difference): Likewise.
18068         (_IO_marker_delta): Likewise.
18069         (_IO_seekmark): Likewise.
18070         (_IO_unsave_markers): Likewise.
18071         (_IO_nobackup_pbackfail): Likewise.
18072         (_IO_default_pbackfail): Likewise.
18073         (_IO_default_seek): Likewise.
18074         (_IO_default_stat): Likewise.
18075         (_IO_default_read): Likewise.
18076         (_IO_default_write): Likewise.
18077         (_IO_default_showmanyc): Likewise.
18078         (_IO_default_imbue): Likewise.
18079         (_IO_iter_next): Likewise.
18080         (_IO_iter_file): Likewise.
18081         * libio/getc.c (_IO_getc): Likewise.
18082         * libio/getwc.c (_IO_getwc): Likewise.
18083         * libio/iofclose.c (_IO_new_fclose): Likewise.
18084         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18085         * libio/iofflush.c (_IO_fflush): Likewise.
18086         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
18087         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
18088         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
18089         * libio/iofgets.c (_IO_fgets): Likewise.
18090         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
18091         * libio/iofgetws.c (fgetws): Likewise.
18092         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18093         * libio/iofopen64.c (_IO_fopen64): Likewise.
18094         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18095         (_IO_cookie_write): Likewise.
18096         (_IO_cookie_seek): Likewise.
18097         (_IO_cookie_close): Likewise.
18098         (_IO_cookie_seekoff): Likewise.
18099         (_IO_old_cookie_seek): Likewise.
18100         * libio/iofputs.c (_IO_fputs): Likewise.
18101         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
18102         * libio/iofputws.c (fputws): Likewise.
18103         * libio/iofputws_u.c (fputws_unlocked): Likewise.
18104         * libio/iofread.c (_IO_fread): Likewise.
18105         * libio/iofread_u.c (__fread_unlocked): Likewise.
18106         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
18107         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
18108         * libio/ioftell.c (_IO_ftell): Likewise.
18109         * libio/iofwrite.c (_IO_fwrite): Likewise.
18110         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18111         * libio/iogets.c (_IO_gets): Likewise.
18112         * libio/iopadn.c (_IO_padn): Likewise.
18113         * libio/iopopen.c (_IO_new_proc_open): Likewise.
18114         (_IO_new_popen): Likewise.
18115         (_IO_new_proc_close): Likewise.
18116         * libio/ioputs.c (_IO_puts): Likewise.
18117         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
18118         (_IO_seekoff): Likewise.
18119         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
18120         (_IO_seekpos): Likewise.
18121         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
18122         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
18123         * libio/ioungetc.c (_IO_ungetc): Likewise.
18124         * libio/ioungetwc.c (ungetwc): Likewise.
18125         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18126         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
18127         * libio/iowpadn.c (_IO_wpadn): Likewise.
18128         * libio/libc_fatal.c (__libc_fatal): Likewise.
18129         * libio/memstream.c (__open_memstream): Likewise.
18130         (_IO_mem_sync): Likewise.
18131         (_IO_mem_finish): Likewise.
18132         * libio/oldfileops.c (_IO_old_file_init): Likewise.
18133         (_IO_old_file_close_it): Likewise.
18134         (_IO_old_file_finish): Likewise.
18135         (_IO_old_file_fopen): Likewise.
18136         (_IO_old_file_attach): Likewise.
18137         (_IO_old_file_setbuf): Likewise.
18138         (_IO_old_do_write): Likewise.
18139         (old_do_write): Likewise.
18140         (_IO_old_file_underflow): Likewise.
18141         (_IO_old_file_overflow): Likewise.
18142         (_IO_old_file_sync): Likewise.
18143         (_IO_old_file_seekoff): Likewise.
18144         (_IO_old_file_write): Likewise.
18145         (_IO_old_file_xsputn): Likewise.
18146         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
18147         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18148         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
18149         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
18150         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18151         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
18152         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
18153         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
18154         (_IO_old_popen): Likewise.
18155         (_IO_old_proc_close): Likewise.
18156         * libio/oldpclose.c (__old_pclose): Likewise.
18157         * libio/pclose.c (__new_pclose): Likewise.
18158         * libio/peekc.c (_IO_peekc_locked): Likewise.
18159         * libio/putc.c (_IO_putc): Likewise.
18160         * libio/putc_u.c (putc_unlocked): Likewise.
18161         * libio/putchar.c (putchar): Likewise.
18162         * libio/putchar_u.c (putchar_unlocked): Likewise.
18163         * libio/putwc.c (putwc): Likewise.
18164         * libio/putwc_u.c (putwc_unlocked): Likewise.
18165         * libio/putwchar.c (putwchar): Likewise.
18166         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
18167         * libio/rewind.c (rewind): Likewise.
18168         * libio/setbuf.c (setbuf): Likewise.
18169         * libio/setlinebuf.c (setlinebuf): Likewise.
18170         * libio/vasprintf.c (_IO_vasprintf): Likewise.
18171         * libio/vscanf.c (_IO_vscanf): Likewise.
18172         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
18173         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
18174         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18175         * libio/wgenops.c (_IO_least_wmarker): Likewise.
18176         (_IO_switch_to_main_wget_area): Likewise.
18177         (_IO_switch_to_wbackup_area): Likewise.
18178         (_IO_wsetb): Likewise.
18179         (_IO_wdefault_pbackfail): Likewise.
18180         (_IO_wdefault_finish): Likewise.
18181         (_IO_wdefault_uflow): Likewise.
18182         (__woverflow): Likewise.
18183         (__wuflow): Likewise.
18184         (__wunderflow): Likewise.
18185         (_IO_wdefault_xsputn): Likewise.
18186         (_IO_wdefault_xsgetn): Likewise.
18187         (_IO_wdoallocbuf): Likewise.
18188         (_IO_wdefault_doallocate): Likewise.
18189         (_IO_switch_to_wget_mode): Likewise.
18190         (_IO_free_wbackup_area): Likewise.
18191         (_IO_switch_to_wput_mode): Likewise.
18192         (_IO_sputbackwc): Likewise.
18193         (_IO_sungetwc): Likewise.
18194         (_IO_adjust_wcolumn): Likewise.
18195         (_IO_init_wmarker): Likewise.
18196         (_IO_wmarker_delta): Likewise.
18197         (_IO_seekwmark): Likewise.
18198         (_IO_unsave_wmarkers): Likewise.
18199         * libio/wmemstream.c (open_wmemstream): Likewise.
18200         (_IO_wmem_sync): Likewise.
18201         (_IO_wmem_finish): Likewise.
18202         * locale/nl_langinfo.c (nl_langinfo): Likewise.
18203         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18204         * locale/programs/simple-hash.c (init_hash): Likewise.
18205         (delete_hash): Likewise.
18206         (insert_entry): Likewise.
18207         (set_entry): Likewise.
18208         (next_prime): Likewise.
18209         (is_prime): Likewise.
18210         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18211         (xmalloc): Likewise.
18212         (xrealloc): Likewise.
18213         * locale/programs/xstrdup.c (xstrdup): Likewise.
18214         * localedata/collate-test.c (xstrcoll): Likewise.
18215         * localedata/xfrm-test.c (xstrcmp): Likewise.
18216         * login/getlogin_r.c (__getlogin_r): Likewise.
18217         * login/getpt.c (__posix_openpt): Likewise.
18218         * login/login_tty.c (login_tty): Likewise.
18219         * login/setlogin.c (setlogin): Likewise.
18220         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18221         (mach_msg_destroy_port): Likewise.
18222         (mach_msg_destroy_memory): Likewise.
18223         * malloc/mcheck.c (flood): Likewise.
18224         * misc/acct.c (acct): Likewise.
18225         * misc/brk.c (__brk): Likewise.
18226         * misc/chflags.c (chflags): Likewise.
18227         * misc/chroot.c (chroot): Likewise.
18228         * misc/fchflags.c (fchflags): Likewise.
18229         * misc/fstab.c (getfsspec): Likewise.
18230         (getfsfile): Likewise.
18231         * misc/fsync.c (fsync): Likewise.
18232         * misc/ftruncate.c (__ftruncate): Likewise.
18233         * misc/ftruncate64.c (__ftruncate64): Likewise.
18234         * misc/getdomain.c (getdomainname): Likewise.
18235         (getdomainname): Likewise.
18236         * misc/gethostname.c (__gethostname): Likewise.
18237         * misc/getpass.c (getpass): Likewise.
18238         * misc/getttyent.c (skip): Likewise.
18239         (value): Likewise.
18240         * misc/gtty.c (gtty): Likewise.
18241         * misc/hsearch.c (hsearch): Likewise.
18242         (hcreate): Likewise.
18243         * misc/hsearch_r.c (__hcreate_r): Likewise.
18244         (__hdestroy_r): Likewise.
18245         * misc/ioctl.c (__ioctl): Likewise.
18246         * misc/mkdtemp.c (mkdtemp): Likewise.
18247         * misc/mkostemp.c (mkostemp): Likewise.
18248         * misc/mkostemp64.c (mkostemp64): Likewise.
18249         * misc/mkostemps.c (mkostemps): Likewise.
18250         * misc/mkostemps64.c (mkostemps64): Likewise.
18251         * misc/mkstemp.c (mkstemp): Likewise.
18252         * misc/mkstemp64.c (mkstemp64): Likewise.
18253         * misc/mkstemps.c (mkstemps): Likewise.
18254         * misc/mkstemps64.c (mkstemps64): Likewise.
18255         * misc/mktemp.c (__mktemp): Likewise.
18256         * misc/preadv.c (preadv): Likewise.
18257         * misc/preadv64.c (preadv64): Likewise.
18258         * misc/pwritev.c (pwritev): Likewise.
18259         * misc/pwritev64.c (pwritev64): Likewise.
18260         * misc/readv.c (__readv): Likewise.
18261         * misc/revoke.c (revoke): Likewise.
18262         * misc/setdomain.c (setdomainname): Likewise.
18263         * misc/setegid.c (setegid): Likewise.
18264         * misc/seteuid.c (seteuid): Likewise.
18265         * misc/sethostid.c (sethostid): Likewise.
18266         * misc/sethostname.c (sethostname): Likewise.
18267         * misc/setregid.c (__setregid): Likewise.
18268         * misc/setreuid.c (__setreuid): Likewise.
18269         * misc/sstk.c (sstk): Likewise.
18270         * misc/stty.c (stty): Likewise.
18271         * misc/syscall.c (syscall): Likewise.
18272         * misc/syslog.c (setlogmask): Likewise.
18273         * misc/truncate.c (__truncate): Likewise.
18274         * misc/truncate64.c (truncate64): Likewise.
18275         * misc/ualarm.c (ualarm): Likewise.
18276         * misc/usleep.c (usleep): Likewise.
18277         * misc/ustat.c (ustat): Likewise.
18278         * misc/writev.c (__writev): Likewise.
18279         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18280         * nptl/old_pthread_cond_broadcast.c
18281         (__pthread_cond_broadcast_2_0): Likewise.
18282         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18283         Likewise.
18284         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18285         Likewise.
18286         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18287         Likewise.
18288         * nptl/pt-raise.c (raise): Likewise.
18289         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18290         Likewise.
18291         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18292         * nptl/pthread_barrierattr_destroy.c
18293         (pthread_barrierattr_destroy): Likewise.
18294         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18295         Likewise.
18296         * nptl/pthread_barrierattr_setpshared.c
18297         (pthread_barrierattr_setpshared): Likewise.
18298         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18299         Likewise.
18300         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18301         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18302         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18303         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18304         Likewise.
18305         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18306         Likewise.
18307         * nptl/pthread_condattr_getpshared.c
18308         (pthread_condattr_getpshared): Likewise.
18309         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18310         Likewise.
18311         * nptl/pthread_condattr_setpshared.c
18312         (pthread_condattr_setpshared): Likewise.
18313         * nptl/pthread_detach.c (pthread_detach): Likewise.
18314         * nptl/pthread_equal.c (__pthread_equal): Likewise.
18315         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18316         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18317         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18318         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18319         Likewise.
18320         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18321         Likewise.
18322         * nptl/pthread_mutex_getprioceiling.c
18323         (pthread_mutex_getprioceiling): Likewise.
18324         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18325         Likewise.
18326         * nptl/pthread_mutexattr_getprotocol.c
18327         (pthread_mutexattr_getprotocol): Likewise.
18328         * nptl/pthread_mutexattr_getpshared.c
18329         (pthread_mutexattr_getpshared): Likewise.
18330         * nptl/pthread_mutexattr_getrobust.c
18331         (pthread_mutexattr_getrobust): Likewise.
18332         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18333         Likewise.
18334         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18335         Likewise.
18336         * nptl/pthread_mutexattr_setprioceiling.c
18337         (pthread_mutexattr_setprioceiling): Likewise.
18338         * nptl/pthread_mutexattr_setprotocol.c
18339         (pthread_mutexattr_setprotocol): Likewise.
18340         * nptl/pthread_mutexattr_setpshared.c
18341         (pthread_mutexattr_setpshared): Likewise.
18342         * nptl/pthread_mutexattr_setrobust.c
18343         (pthread_mutexattr_setrobust): Likewise.
18344         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18345         Likewise.
18346         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18347         Likewise.
18348         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18349         Likewise.
18350         * nptl/pthread_rwlockattr_getkind_np.c
18351         (pthread_rwlockattr_getkind_np): Likewise.
18352         * nptl/pthread_rwlockattr_getpshared.c
18353         (pthread_rwlockattr_getpshared): Likewise.
18354         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18355         Likewise.
18356         * nptl/pthread_rwlockattr_setkind_np.c
18357         (pthread_rwlockattr_setkind_np): Likewise.
18358         * nptl/pthread_rwlockattr_setpshared.c
18359         (pthread_rwlockattr_setpshared): Likewise.
18360         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18361         Likewise.
18362         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18363         Likewise.
18364         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18365         Likewise.
18366         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18367         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18368         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18369         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18370         * nptl/sem_close.c (sem_close): Likewise.
18371         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18372         * nptl/sem_init.c (__old_sem_init): Likewise.
18373         * nptl/sigaction.c (__sigaction): Likewise.
18374         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18375         * posix/_exit.c (_exit): Likewise.
18376         * posix/alarm.c (alarm): Likewise.
18377         * posix/confstr.c (confstr): Likewise.
18378         * posix/fpathconf.c (__fpathconf): Likewise.
18379         * posix/getgroups.c (__getgroups): Likewise.
18380         * posix/getpgid.c (__getpgid): Likewise.
18381         * posix/group_member.c (__group_member): Likewise.
18382         * posix/pathconf.c (__pathconf): Likewise.
18383         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18384         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18385         * posix/setgid.c (__setgid): Likewise.
18386         * posix/setpgid.c (__setpgid): Likewise.
18387         * posix/setuid.c (__setuid): Likewise.
18388         * posix/sleep.c (__sleep): Likewise.
18389         * posix/sysconf.c (__sysconf): Likewise.
18390         * posix/times.c (__times): Likewise.
18391         * posix/uname.c (__uname): Likewise.
18392         * posix/waitid.c (__waitid): Likewise.
18393         * pwd/getpw.c (__getpw): Likewise.
18394         * resolv/base64.c (b64_pton): Likewise.
18395         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18396         * resolv/gethnamaddr.c (Dprintf): Likewise.
18397         (gethostbyname): Likewise.
18398         (gethostbyname2): Likewise.
18399         (gethostbyaddr): Likewise.
18400         (_sethtent): Likewise.
18401         (_gethtbyname): Likewise.
18402         (_gethtbyname2): Likewise.
18403         (_gethtbyaddr): Likewise.
18404         (map_v4v6_address): Likewise.
18405         (map_v4v6_hostent): Likewise.
18406         (addrsort): Likewise.
18407         (ht_sethostent): Likewise.
18408         (ht_gethostbyname): Likewise.
18409         (ht_gethostbyaddr): Likewise.
18410         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18411         (inet_net_ntop_ipv4): Likewise.
18412         * resolv/inet_neta.c (inet_neta): Likewise.
18413         * resolv/inet_ntop.c (inet_ntop): Likewise.
18414         (inet_ntop4): Likewise.
18415         (inet_ntop6): Likewise.
18416         * resolv/inet_pton.c (__inet_pton): Likewise.
18417         (inet_pton4): Likewise.
18418         (inet_pton6): Likewise.
18419         * resolv/res_debug.c (loc_aton): Likewise.
18420         (loc_ntoa): Likewise.
18421         * resource/getpriority.c (__getpriority): Likewise.
18422         * resource/getrusage.c (__getrusage): Likewise.
18423         * resource/nice.c (nice): Likewise.
18424         * resource/setpriority.c (__setpriority): Likewise.
18425         * resource/setrlimit64.c (setrlimit64): Likewise.
18426         * resource/vlimit.c (vlimit): Likewise.
18427         * resource/vtimes.c (vtimes): Likewise.
18428         * rt/aio_error.c (aio_error): Likewise.
18429         * rt/aio_return.c (aio_return): Likewise.
18430         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18431         * signal/kill.c (__kill): Likewise.
18432         * signal/killpg.c (killpg): Likewise.
18433         * signal/raise.c (raise): Likewise.
18434         * signal/sigaction.c (__sigaction): Likewise.
18435         * signal/sigaddset.c (sigaddset): Likewise.
18436         * signal/sigaltstack.c (sigaltstack): Likewise.
18437         * signal/sigandset.c (sigandset): Likewise.
18438         * signal/sigblock.c (__sigblock): Likewise.
18439         * signal/sigdelset.c (sigdelset): Likewise.
18440         * signal/sigempty.c (sigemptyset): Likewise.
18441         * signal/sigfillset.c (sigfillset): Likewise.
18442         * signal/sighold.c (sighold): Likewise.
18443         * signal/sigignore.c (sigignore): Likewise.
18444         * signal/sigintr.c (siginterrupt): Likewise.
18445         * signal/sigisempty.c (sigisemptyset): Likewise.
18446         * signal/sigismem.c (sigismember): Likewise.
18447         * signal/signal.c (signal): Likewise.
18448         * signal/sigorset.c (sigorset): Likewise.
18449         * signal/sigpause.c (__sigpause): Likewise.
18450         * signal/sigpending.c (sigpending): Likewise.
18451         * signal/sigprocmask.c (__sigprocmask): Likewise.
18452         * signal/sigrelse.c (sigrelse): Likewise.
18453         * signal/sigreturn.c (__sigreturn): Likewise.
18454         * signal/sigset.c (sigset): Likewise.
18455         * signal/sigsetmask.c (__sigsetmask): Likewise.
18456         * signal/sigstack.c (sigstack): Likewise.
18457         * signal/sigsuspend.c (__sigsuspend): Likewise.
18458         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18459         * signal/sysv_signal.c (__sysv_signal): Likewise.
18460         * socket/accept.c (accept): Likewise.
18461         * socket/accept4.c (__libc_accept4): Likewise.
18462         * socket/bind.c (__bind): Likewise.
18463         * socket/connect.c (__connect): Likewise.
18464         * socket/getpeername.c (getpeername): Likewise.
18465         * socket/getsockname.c (__getsockname): Likewise.
18466         * socket/getsockopt.c (getsockopt): Likewise.
18467         * socket/listen.c (__listen): Likewise.
18468         * socket/recv.c (__recv): Likewise.
18469         * socket/recvmsg.c (__recvmsg): Likewise.
18470         * socket/send.c (__send): Likewise.
18471         * socket/sendmsg.c (__sendmsg): Likewise.
18472         * socket/shutdown.c (shutdown): Likewise.
18473         * socket/sockatmark.c (sockatmark): Likewise.
18474         * socket/socket.c (__socket): Likewise.
18475         * stdio-common/ctermid.c (ctermid): Likewise.
18476         * stdio-common/cuserid.c (cuserid): Likewise.
18477         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18478         * stdio-common/remove.c (remove): Likewise.
18479         * stdio-common/rename.c (rename): Likewise.
18480         * stdio-common/renameat.c (renameat): Likewise.
18481         * stdio-common/tempname.c (__gen_tempname): Likewise.
18482         * stdio-common/xbug.c (InitBuffer): Likewise.
18483         (AppendToBuffer): Likewise.
18484         (ReadFile): Likewise.
18485         * stdlib/a64l.c (a64l): Likewise.
18486         * stdlib/drand48_r.c (drand48_r): Likewise.
18487         * stdlib/getcontext.c (getcontext): Likewise.
18488         * stdlib/getenv.c (getenv): Likewise.
18489         * stdlib/l64a.c (l64a): Likewise.
18490         * stdlib/llabs.c (llabs): Likewise.
18491         * stdlib/lldiv.c (lldiv): Likewise.
18492         * stdlib/lrand48_r.c (lrand48_r): Likewise.
18493         * stdlib/mrand48_r.c (mrand48_r): Likewise.
18494         * stdlib/putenv.c (putenv): Likewise.
18495         * stdlib/random.c (__srandom): Likewise.
18496         (__initstate): Likewise.
18497         (__setstate): Likewise.
18498         * stdlib/random_r.c (__srandom_r): Likewise.
18499         (__setstate_r): Likewise.
18500         (__random_r): Likewise.
18501         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18502         * stdlib/setcontext.c (setcontext): Likewise.
18503         * stdlib/setenv.c (setenv): Likewise.
18504         (unsetenv): Likewise.
18505         * stdlib/srand48.c (srand48): Likewise.
18506         * stdlib/srand48_r.c (__srand48_r): Likewise.
18507         * stdlib/swapcontext.c (swapcontext): Likewise.
18508         * stdlib/system.c (__libc_system): Likewise.
18509         * stdlib/tst-strtod.c (expand): Likewise.
18510         * stdlib/tst-strtol.c (expand): Likewise.
18511         * stdlib/tst-strtoll.c (expand): Likewise.
18512         * streams/fattach.c (fattach): Likewise.
18513         * streams/fdetach.c (fdetach): Likewise.
18514         * streams/getmsg.c (getmsg): Likewise.
18515         * streams/isastream.c (isastream): Likewise.
18516         * string/ffs.c (__ffs): Likewise.
18517         * string/ffsll.c (ffsll): Likewise.
18518         * string/memcmp.c (memcmp_common_alignment): Likewise.
18519         (memcmp_not_common_alignment): Likewise.
18520         (MEMCMP): Likewise.
18521         * string/memcpy.c (memcpy): Likewise.
18522         * string/memmove.c (MEMMOVE): Likewise.
18523         * string/memset.c (memset): Likewise.
18524         * string/rawmemchr.c (RAWMEMCHR): Likewise.
18525         * string/strchrnul.c (STRCHRNUL): Likewise.
18526         * string/strerror.c (strerror): Likewise.
18527         * string/strndup.c (__strndup): Likewise.
18528         * string/strverscmp.c (__strverscmp): Likewise.
18529         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18530         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18531         (clnttcp_freeres): Likewise.
18532         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18533         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18534         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18535         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18536         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18537         (xdr_callhdr): Likewise.
18538         * sunrpc/rpcinfo.c (udpping): Likewise.
18539         (tcpping): Likewise.
18540         (pstatus): Likewise.
18541         (pmapdump): Likewise.
18542         (brdcst): Likewise.
18543         (deletereg): Likewise.
18544         (getprognum): Likewise.
18545         (getvers): Likewise.
18546         (get_inet_address): Likewise.
18547         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18548         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18549         (svcudp_stat): Likewise.
18550         (svcudp_recv): Likewise.
18551         (svcudp_reply): Likewise.
18552         (svcudp_getargs): Likewise.
18553         (svcudp_freeargs): Likewise.
18554         (svcudp_destroy): Likewise.
18555         * sunrpc/xdr.c (xdr_bytes): Likewise.
18556         (xdr_netobj): Likewise.
18557         (xdr_string): Likewise.
18558         (xdr_wrapstring): Likewise.
18559         * sunrpc/xdr_float.c (xdr_float): Likewise.
18560         (xdr_double): Likewise.
18561         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18562         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18563         * sysvipc/ftok.c (ftok): Likewise.
18564         * sysvipc/msgctl.c (msgctl): Likewise.
18565         * sysvipc/msgget.c (msgget): Likewise.
18566         * sysvipc/msgrcv.c (msgrcv): Likewise.
18567         * sysvipc/msgsnd.c (msgsnd): Likewise.
18568         * sysvipc/semget.c (semget): Likewise.
18569         * sysvipc/semop.c (semop): Likewise.
18570         * sysvipc/shmat.c (shmat): Likewise.
18571         * sysvipc/shmctl.c (shmctl): Likewise.
18572         * sysvipc/shmdt.c (shmdt): Likewise.
18573         * sysvipc/shmget.c (shmget): Likewise.
18574         * termios/cfmakeraw.c (cfmakeraw): Likewise.
18575         * termios/speed.c (cfgetospeed): Likewise.
18576         (cfgetispeed): Likewise.
18577         (cfsetospeed): Likewise.
18578         (cfsetispeed): Likewise.
18579         * termios/tcflow.c (tcflow): Likewise.
18580         * termios/tcflush.c (tcflush): Likewise.
18581         * termios/tcgetattr.c (__tcgetattr): Likewise.
18582         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18583         * termios/tcgetsid.c (tcgetsid): Likewise.
18584         * termios/tcsendbrk.c (tcsendbreak): Likewise.
18585         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18586         * time/adjtime.c (__adjtime): Likewise.
18587         * time/dysize.c (dysize): Likewise.
18588         * time/ftime.c (ftime): Likewise.
18589         * time/getitimer.c (__getitimer): Likewise.
18590         * time/gettimeofday.c (__gettimeofday): Likewise.
18591         * time/gmtime.c (__gmtime_r): Likewise.
18592         (gmtime): Likewise.
18593         * time/localtime.c (__localtime_r): Likewise.
18594         (localtime): Likewise.
18595         * time/offtime.c (__offtime): Likewise.
18596         * time/settimeofday.c (__settimeofday): Likewise.
18597         * time/stime.c (stime): Likewise.
18598         * time/strftime_l.c (tm_diff): Likewise.
18599         (iso_week_days): Likewise.
18600         * time/strptime.c (strptime): Likewise.
18601         * time/time.c (time): Likewise.
18602         * time/timespec_get.c (timespec_get): Likewise.
18603         * time/tzset.c (tzset_internal): Likewise.
18604         (compute_change): Likewise.
18605         (__tz_compute): Likewise.
18606         * wcsmbs/btowc.c (__btowc): Likewise.
18607         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18608         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18609         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18610         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18611         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18612         * wcsmbs/wcscat.c (__wcscat): Likewise.
18613         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18614         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18615         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18616         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18617         * wcsmbs/wcsdup.c (wcsdup): Likewise.
18618         * wcsmbs/wcslen.c (__wcslen): Likewise.
18619         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18620         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18621         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18622         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18623         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18624         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18625         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18626         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18627         * wcsmbs/wcstok.c (wcstok): Likewise.
18628         * wcsmbs/wctob.c (wctob): Likewise.
18629         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18630         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18631         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18632         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18633         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18634         * wcsmbs/wmemset.c (__wmemset): Likewise.
18635         * wctype/wcfuncs.c (__towlower): Likewise.
18636         (__towupper): Likewise.
18638         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18639         (lll_unlock_elision): Add adapt_count parameter.
18641 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18643         * sysdeps/nptl/configure.ac: Do not give errors based on the
18644         results of top-level configure tests.
18645         * sysdeps/nptl/configure: Regenerated.
18647         * configure.ac (libc_cv_Bgroup): Remove configure test.
18648         * configure: Regenerated.
18649         * config.make.in (have-Bgroup): Remove variable.
18651         * configure.ac (sizeof_long_double): Remove configure test.
18652         * configure: Regenerated.
18653         * config.make.in (sizeof-long-double): Remove variable.
18655         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18656         * configure: Regenerated.
18657         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18658         variable.
18659         (exceptions): Likewise.
18660         * sysdeps/arm/configure: Regenerated.
18661         * config.make.in (exceptions): Remove variable.
18662         * Makeconfig (uses-callbacks): Use -fexceptions instead of
18663         $(exceptions).
18664         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18665         (CFLAGS-vdprintf_chk.c): Likewise.
18666         (CFLAGS-printf_chk.c): Likewise.
18667         (CFLAGS-fprintf_chk.c): Likewise.
18668         (CFLAGS-vprintf_chk.c): Likewise.
18669         (CFLAGS-vfprintf_chk.c): Likewise.
18670         (CFLAGS-gets_chk.c): Likewise.
18671         (CFLAGS-fgets_chk.c): Likewise.
18672         (CFLAGS-fgets_u_chk.c): Likewise.
18673         (CFLAGS-fread_chk.c): Likewise.
18674         (CFLAGS-fread_u_chk.c): Likewise.
18675         (CFLAGS-wprintf_chk.c): Likewise.
18676         (CFLAGS-fwprintf_chk.c): Likewise.
18677         (CFLAGS-vwprintf_chk.c): Likewise.
18678         (CFLAGS-vfwprintf_chk.c): Likewise.
18679         (CFLAGS-fgetws_chk.c): Likewise.
18680         (CFLAGS-fgetws_u_chk.c): Likewise.
18681         * libio/Makefile (CFLAGS-fileops.c): Likewise.
18682         (CFLAGS-fputc.c): Likewise.
18683         (CFLAGS-fputwc.c): Likewise.
18684         (CFLAGS-freopen64.c): Likewise.
18685         (CFLAGS-freopen.c): Likewise.
18686         (CFLAGS-fseek.c): Likewise.
18687         (CFLAGS-fseeko64.c): Likewise.
18688         (CFLAGS-fseeko.c): Likewise.
18689         (CFLAGS-ftello64.c): Likewise.
18690         (CFLAGS-ftello.c): Likewise.
18691         (CFLAGS-fwide.c): Likewise.
18692         (CFLAGS-genops.c): Likewise.
18693         (CFLAGS-getc.c): Likewise.
18694         (CFLAGS-getchar.c): Likewise.
18695         (CFLAGS-getwc.c): Likewise.
18696         (CFLAGS-getwchar.c): Likewise.
18697         (CFLAGS-iofclose.c): Likewise.
18698         (CFLAGS-iofflush.c): Likewise.
18699         (CFLAGS-iofgetpos64.c): Likewise.
18700         (CFLAGS-iofgetpos.c): Likewise.
18701         (CFLAGS-iofgets.c): Likewise.
18702         (CFLAGS-iofgetws.c): Likewise.
18703         (CFLAGS-iofputs.c): Likewise.
18704         (CFLAGS-iofputws.c): Likewise.
18705         (CFLAGS-iofread.c): Likewise.
18706         (CFLAGS-iofsetpos64.c): Likewise.
18707         (CFLAGS-iofsetpos.c): Likewise.
18708         (CFLAGS-ioftell.c): Likewise.
18709         (CFLAGS-iofwrite.c): Likewise.
18710         (CFLAGS-iogetdelim.c): Likewise.
18711         (CFLAGS-iogetline.c): Likewise.
18712         (CFLAGS-iogets.c): Likewise.
18713         (CFLAGS-iogetwline.c): Likewise.
18714         (CFLAGS-ioputs.c): Likewise.
18715         (CFLAGS-ioseekoff.c): Likewise.
18716         (CFLAGS-ioseekpos.c): Likewise.
18717         (CFLAGS-iosetbuffer.c): Likewise.
18718         (CFLAGS-iosetvbuf.c): Likewise.
18719         (CFLAGS-ioungetc.c): Likewise.
18720         (CFLAGS-ioungetwc.c): Likewise.
18721         (CFLAGS-oldfileops.c): Likewise.
18722         (CFLAGS-oldiofclose.c): Likewise.
18723         (CFLAGS-oldiofgetpos64.c): Likewise.
18724         (CFLAGS-oldiofgetpos.c): Likewise.
18725         (CFLAGS-oldiofsetpos64.c): Likewise.
18726         (CFLAGS-oldiofsetpos.c): Likewise.
18727         (CFLAGS-peekc.c): Likewise.
18728         (CFLAGS-putc.c): Likewise.
18729         (CFLAGS-putchar.c): Likewise.
18730         (CFLAGS-putwc.c): Likewise.
18731         (CFLAGS-putwchar.c): Likewise.
18732         (CFLAGS-rewind.c): Likewise.
18733         (CFLAGS-wfileops.c): Likewise.
18734         (CFLAGS-wgenops.c): Likewise.
18735         (CFLAGS-oldiofopen.c): Likewise.
18736         (CFLAGS-iofopen.c): Likewise.
18737         (CFLAGS-iofopen64.c): Likewise.
18738         (CFLAGS-oldtmpfile.c): Likewise.
18739         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18740         (CFLAGS-fprintf.c): Likewise.
18741         (CFLAGS-printf.c): Likewise.
18742         (CFLAGS-vfwprintf.c): Likewise.
18743         (CFLAGS-vfscanf.c): Likewise.
18744         (CFLAGS-vfwscanf.c): Likewise.
18745         (CFLAGS-fscanf.c): Likewise.
18746         (CFLAGS-scanf.c): Likewise.
18747         (CFLAGS-isoc99_vfscanf.c): Likewise.
18748         (CFLAGS-isoc99_vscanf.c): Likewise.
18749         (CFLAGS-isoc99_fscanf.c): Likewise.
18750         (CFLAGS-isoc99_scanf.c): Likewise.
18751         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18752         (CFLAGS-isoc99_fwscanf.c): Likewise.
18753         (CFLAGS-isoc99_vwscanf.c): Likewise.
18754         (CFLAGS-isoc99_vfwscanf.c): Likewise.
18756         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18757         after mkstemp64.
18758         * login/tst-utmp.c (do_prepare): Likewise.
18759         * rt/tst-aio.c (do_prepare): Likewise.
18760         * rt/tst-aio64.c (do_prepare): Likewise.
18762 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18764         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18765         (__lll_lock_elision): Remove adapt_count decrement...
18766         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18767         (__lll_trylock_elision): Likewise.
18768         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18769         (__lll_unlock_elision): ... to here. And utilize
18770         new adapt_count parameter.
18771         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18772         (__lll_unlock_elision): Update to include adapt_count
18773         parameter.
18774         (lll_unlock_elision): Pass pointer to adapt_count
18775         variable.
18777 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18779         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18780         Add elision adapt_count parameter to list of arguments.
18781         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18782         (lll_unlock_elision): Update with new parameter list
18783         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18784         (lll_unlock_elision): Likewise.
18785         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18786         (lll_unlock_elision): Likewise.
18788 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18790         [BZ #19122]
18791         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18792         attribute_hidden.
18794         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18795         attribute_hidden.
18796         [IS_IN (rtld)] (__strdup): Likewise.
18797         [IS_IN (rtld)] (__strerror_r): Likewise.
18798         [IS_IN (rtld)] (__strsep_g): Likewise.
18799         [IS_IN (rtld)] (memchr): Likewise.
18800         [IS_IN (rtld)] (memcmp): Likewise.
18801         [IS_IN (rtld)] (memcpy): Likewise.
18802         [IS_IN (rtld)] (memmove): Likewise.
18803         [IS_IN (rtld)] (memset): Likewise.
18804         [IS_IN (rtld)] (rawmemchr): Likewise.
18805         [IS_IN (rtld)] (stpcpy): Likewise.
18806         [IS_IN (rtld)] (strchr): Likewise.
18807         [IS_IN (rtld)] (strcmp): Likewise.
18808         [IS_IN (rtld)] (strlen): Likewise.
18809         [IS_IN (rtld)] (strnlen): Likewise.
18810         [IS_IN (rtld)] (strsep): Likewise.
18812         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18813         attribute_hidden.
18814         [IS_IN (rtld)] (__strtoul_internal): Likewise.
18816         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18817         attribute_hidden.
18818         [IS_IN (rtld)] (__libc_sigaction): Likewise.
18820         * include/setjmp.h (__longjmp): Add attribute_hidden.
18821         [IS_IN (rtld)] (__sigsetjmp): Likewise.
18823         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18824         Add attribute_hidden.
18826         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18827         [IS_IN (rtld)] (__open): Likewise.
18828         [IS_IN (rtld)] (__fcntl): Likewise.
18830         * include/dirent.h (__opendirat): Add attribute_hidden.
18831         (__getdents): Likewise.
18832         (__getdents64): Likewise.
18833         (__alloc_dir): Likewise.
18834         [IS_IN (rtld)] (__closedir): Likewise.
18835         [IS_IN (rtld)] (__fdopendir): Likewise.
18836         [IS_IN (rtld)] (__readdir): Likewise.
18837         [IS_IN (rtld)] (__readdir64): Likewise.
18838         [IS_IN (rtld)] (__rewinddir): Likewise.
18840         * include/dlfcn.h (_dl_catch_error): Moved to ...
18841         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18842         attribute_hidden.
18844         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18845         (_itoa_word): Likewise.
18847         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18848         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18849         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18850         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18851         (_dl_higher_prime_number): Likewise.
18852         (_dl_debug_printf_c): Likewise.
18853         (_dl_signal_cerror): Likewise.
18854         (_dl_receive_error): Likewise.
18855         (_dl_reloc_bad_type): Likewise.
18856         (_dl_resolve_conflicts): Likewise.
18857         (_dl_check_all_versions): Likewise.
18858         (_dl_check_map_versions): Likewise.
18859         (_dl_sort_fini): Likewise.
18860         (_dl_debug_initialize): Likewise.
18861         (_dl_init_paths): Likewise.
18862         (_dl_show_auxv): Likewise.
18863         (_dl_next_ld_env_entry): Likewise.
18864         (_dl_important_hwcaps): Likewise.
18865         (_dl_load_cache_lookup): Likewise.
18866         (_dl_update_slotinfo): Likewise.
18867         (_dl_show_scope): Likewise.
18869         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18870         attribute_hidden.
18871         (_wordcopy_fwd_dest_aligned): Likewise.
18872         (_wordcopy_bwd_aligned): Likewise.
18873         (_wordcopy_bwd_dest_aligned): Likewise.
18875         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18876         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18877         Likewise.
18878         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18879         Likewise.
18880         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18882 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18884         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18885         GCC 5 requirement.
18887 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18889         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18890         test.
18891         * sysdeps/i386/configure: Regenerated.
18892         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18893         code unconditional.
18895         * configure.ac (libc_cv_asm_previous_directive): Remove configure
18896         test.
18897         (libc_cv_asm_popsection_directive): Likewise.
18898         * configure: Regenerated.
18899         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18900         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18901         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18902         (__make_section_unallocated): Make definition unconditional.
18903         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18904         Remove conditional definition.
18905         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18906         (__make_section_unallocated): Likewise.
18908         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18909         * configure: Regenerated.
18910         * config.make.in (static-libgcc): Remove variable.
18911         * Makerules (build-shlib-helper): Use -static-libgcc instead of
18912         $(static-libgcc).
18913         (build-module-helper): Likewise.
18915         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18916         * configure: Regenerated.
18918 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18920         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18921         (struct char_buffer): New type.
18922         (char_buffer_start, char_buffer_size, char_buffer_error)
18923         (char_buffer_rewind, char_buffer_add): New functions.
18924         (ADDW): Remove macro, replaced by the char_buffer_add function.
18925         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18926         of extend_alloca.  Make control flow more explicit.
18928 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18930         [BZ #19137]
18931         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18932         Add -fomit-frame-pointer.
18933         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18935 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18937         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18938         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18939         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18940         only if !__GNUC_PREREQ (5,0).
18941         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18942         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18943         (INTERNAL_SYSCALL_NCS): Likewise.
18944         (LOADREGS_0): New macro for GCC 5.
18945         (ASMARGS_0): Likewise.
18946         (LOADREGS_1): Likewise.
18947         (ASMARGS_1): Likewise.
18948         (LOADREGS_2): Likewise.
18949         (ASMARGS_2): Likewise.
18950         (LOADREGS_3): Likewise.
18951         (ASMARGS_3): Likewise.
18952         (LOADREGS_4): Likewise.
18953         (ASMARGS_4): Likewise.
18954         (LOADREGS_5): Likewise.
18955         (ASMARGS_5): Likewise.
18956         (LOADREGS_6): Likewise.
18957         (ASMARGS_6): Likewise.
18959 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18961         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18962         -fomit-frame-pointer.
18963         (CFLAGS-mmap64.c): Likewise.
18964         (CFLAGS-semtimedop.c): Likewise.
18965         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18966         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18967         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18968         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18970 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18972         [BZ #18928]
18973         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18974         _dl_pointer_guard member.
18975         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18976         initializer.
18977         (security_init): Always set up pointer guard.
18978         (process_envvars): Do not process LD_POINTER_GUARD.
18980 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
18982         [BZ #19134]
18983         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18984         (.LC2): Likewise.
18985         (.LC3): Likewise.
18986         (__lround): Do not add 0.5 to integer or out-of-range arguments.
18988 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18990         [BZ #19129]
18991         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18992         r0 and r1.
18994 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
18996         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18998 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
19000         * include/stap-probe.h: Fix macro definition formatting.
19002 2015-10-14  Florian Weimer  <fweimer@redhat.com>
19004         [BZ #19074]
19005         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
19006         load and store num_ifs.
19008 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19010         [BZ #18822]
19011         * sysdeps/unix/sysv/linux/sched_getaffinity.c
19012         (__sched_getaffinity_new): Add libc_hidden_proto and
19013         libc_hidden_def.
19015 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19017         [BZ #19007]
19018         * scripts/localplt.awk: Also allow GOT references.
19019         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
19020         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
19021         with "+ REL R_386_GLOB_DAT".
19022         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
19023         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
19025 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19027         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
19028         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19029         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
19030         Likewise.
19031         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19032         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
19033         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19034         INTERNAL_SYSCALLINTERNAL_SYSCALL and
19035         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19036         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19037         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19038         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19039         Likewise.
19040         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19042 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
19044         [BZ #19125]
19045         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
19046         <math_private.h> and <stdint.h>.
19047         (__llround): Avoid conversions to and from long long int, and
19048         subtractions, where those might raise spurious exceptions.
19049         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19050         <math_private.h> and <stdint.h>.
19051         (__llroundf): Avoid conversions to and from long long int, and
19052         subtractions, where those might raise spurious exceptions.
19054 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19056         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
19057         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19058         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19059         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
19060         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19061         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19062         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
19063         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
19064         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
19065         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19066         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19067         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19068         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
19069         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19070         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19071         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
19072         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
19073         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19074         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
19075         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
19076         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19077         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
19078         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
19079         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19080         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
19081         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19082         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
19083         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19084         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19085         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
19086         (__xstat64_conv): Likewise.
19087         (__xstat32_conv): Likewise.
19089 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19091         * sysdeps/unix/sysv/linux/sysdep.h: New file.
19092         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
19093         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
19094         <sysdeps/unix/sysv/linux/sysdep.h>.
19095         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19096         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
19097         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
19098         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19099         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19100         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
19101         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
19102         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19103         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19106         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19108         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19109         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19111         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
19112         (sysdep-dl-routines): Add sysdep.
19113         [$(subdir) == nptl] (libpthread-routines): Likewise.
19114         [$(subdir) == rt] (librt-routines): Likewise.
19115         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
19116         PIC when branching to SYSCALL_ERROR_LABEL.
19117         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
19118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
19119         <sysdeps/unix/sysv/linux/sysdep.h>.
19120         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
19121         (SYSCALL_ERROR_ERRNO): Removed.
19122         (SYSCALL_ERROR_HANDLER): Changed to empty.
19123         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
19124         (__syscall_error): New prototype.
19125         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
19126         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
19128 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19130         [BZ #19124]
19131         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
19132         (_dl_runtime_resolve_avx512): Make it a hidden alias of
19133         _dl_runtime_resolve_avx.
19134         (_dl_runtime_profile_avx512): Make it a hidden alias of
19135         _dl_runtime_profile_avx.
19137 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
19139         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
19140         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
19141         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
19142         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
19144         [BZ #16422]
19145         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
19146         New configure test.
19147         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
19148         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
19149         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
19150         <math_private.h> and <stdint.h>.
19151         (__llrint): Avoid conversions to long long int where those might
19152         raise spurious exceptions.
19153         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19154         <math_private.h> and <stdint.h>.
19155         (__llrintf): Avoid conversions to long long int where those might
19156         raise spurious exceptions.
19158 2015-10-12  Andreas Schwab  <schwab@suse.de>
19160         [BZ #18969]
19161         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
19162         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
19163         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
19164         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
19165         $(gen-locales).
19166         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
19167         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
19168         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
19169         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
19170         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
19171         $(gen-locales).
19172         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
19173         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
19174         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
19175         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
19176         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
19177         ($(objpfx)tst-ftell-active-handler.out)
19178         ($(objpfx)tst-ftell-append.out)
19179         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
19180         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
19181         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
19182         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
19183         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
19184         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19185         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19186         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19187         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19188         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19189         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19190         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19191         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19192         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19193         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19194         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19195         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19196         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19197         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
19198         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19199         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19200         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19201         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19202         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
19203         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19204         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19205         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19206         $(gen-locales).
19207         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
19208         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19209         $(gen-locales).
19210         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
19211         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19212         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19213         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19214         $(gen-locales).
19215         * libio/tst_wprintf2.c (main): Use explicit locale.
19216         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19218 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19220         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19221         __msg_sig_post.
19222         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19224 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19226         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19227         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19229         * sysdeps/arm/libm-test-ulps: Regenerated.
19231         [BZ #15470]
19232         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19234         [BZ #16399]
19235         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19236         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19237         and <fix-fp-int-convert-overflow.h>.
19238         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19239         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19240         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19241         and <fix-fp-int-convert-overflow.h>.
19242         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19243         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19244         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19245         <fix-fp-int-convert-overflow.h>.
19246         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19247         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19248         * sysdeps/ieee754/dbl-64/s_lround.c: Include
19249         <fix-fp-int-convert-overflow.h>.
19250         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19251         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19252         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19253         and <fix-fp-int-convert-overflow.h>.
19254         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19255         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19256         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19257         <limits.h> and <fix-fp-int-convert-overflow.h>.
19258         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19259         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19260         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19261         and <fix-fp-int-convert-overflow.h>.
19262         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19263         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19264         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19265         and <fix-fp-int-convert-overflow.h>.
19266         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19267         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19268         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19270 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
19272         [BZ #18589]
19273         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19274         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19275         $(gen-locales).
19277 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19278             Phil Blundell <pb@pbcl.net>
19280         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19281         * nptl/tst-cancel26.c: New file.
19282         * nptl/tst-cancel27.c: Likewise.
19284 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
19286         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19287         __ILP32__ isn't defined.
19288         (lrint): Likewise.
19289         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19290         (lrintf): Likewise.
19291         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19292         (lrintl): Likewise.
19293         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19294         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19295         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19297 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19299         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19300         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19302         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19303         file.
19304         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19305         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19307 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19309         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19310         configure test.
19311         * sysdeps/i386/configure: Regenerated.
19312         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19313         configure test.
19314         * sysdeps/x86_64/configure: Regenerated.
19315         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19316         Make code unconditional.
19318         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19319         test.
19320         * sysdeps/i386/configure: Regenerated.
19321         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19322         test.
19323         * sysdeps/x86_64/configure: Regenerated.
19324         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19325         Make code unconditional.
19326         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19327         Likewise.
19328         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19329         Likewise.
19330         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19331         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19332         code unconditional.
19333         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19334         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19335         code unconditional.
19336         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19337         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19338         code unconditional.
19339         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19340         code unconditional.
19341         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19342         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19343         code unconditional.
19344         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19345         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19346         code unconditional.
19347         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19348         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19349         code unconditional.
19350         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19351         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19352         code unconditional.
19353         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19354         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19356         [BZ #19095]
19357         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19358         mantissa to long int before shifting left.
19360 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19362         [BZ #19094]
19363         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19364         <limits.h>.
19365         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19366         when result overflows but exception would not result from cast.
19367         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19368         <limits.h>.
19369         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19370         when result overflows but exception would not result from cast.
19371         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19372         <limits.h>.
19373         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19374         when result overflows but exception would not result from cast.
19375         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19376         <limits.h>.
19377         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19378         when result overflows but exception would not result from cast.
19379         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19380         <limits.h>.
19381         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19382         when result overflows but exception would not result from cast.
19383         * math/libm-test.inc (lrint_test_data): Add more tests.
19384         (llrint_test_data): Likewise.
19386 2015-10-08  Roland McGrath  <roland@hack.frob.com>
19388         [BZ #18872]
19389         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19390         Move out from under [$(run-built-tests) = yes] conditional.
19391         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19392         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19394 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
19396         [BZ #18589]
19397         * string/Makefile (tests): Add bug-strcoll2.
19398         (LOCALES): Add cs_CZ.UTF-8.
19399         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19401         [BZ #18589]
19402         * string/bug-strcoll2.c: New file.
19403         * locale/categories.def: Revert commit
19404         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19405         * locale/langinfo.h: Likewise.
19406         * locale/localeinfo.h: Likewise.
19407         * locale/C-collate.c: Likewise.
19408         * locale/programs/ld-collate.c (collate_output): Likewise.
19409         * string/strcoll_l.c (STRDIFF): Likewise.
19410         (STRCOLL): Likewise.
19411         * wcsmbs/wcscoll_l.c: Likewise.
19413 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19415         * math/libm-test.inc (lround_test_data): Do not expect the absence
19416         of "inexact" for some tests with non-integer arguments.
19417         (llround_test_data): Likewise.
19419         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19420         test.
19421         (libc_cv_cc_sse2avx): Likewise.
19422         * sysdeps/i386/configure: Regenerated.
19423         * sysdeps/i386/i686/multiarch/Makefile
19424         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19425         [$(subdir) = math].
19426         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19427         code unconditional.
19428         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19429         Likewise.
19430         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19431         Likewise.
19432         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19433         Likewise.
19434         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19435         test.
19436         (libc_cv_cc_sse2avx): Likewise.
19437         * sysdeps/x86_64/configure: Regenerated.
19438         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19439         unconditional.
19440         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19441         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19442         unconditional.
19443         (_dl_runtime_profile)
19444         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19445         conditional code.
19446         * sysdeps/x86_64/fpu/multiarch/Makefile
19447         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19448         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19449         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19450         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19451         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19452         * sysdeps/x86_64/fpu/multiarch/e_log.c
19453         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19454         * sysdeps/x86_64/fpu/multiarch/s_atan.c
19455         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19456         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19457         Likewise.
19458         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19459         Likewise.
19460         * sysdeps/x86_64/fpu/multiarch/s_sin.c
19461         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19462         * sysdeps/x86_64/fpu/multiarch/s_tan.c
19463         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19464         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19465         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19466         (HAVE_SSE2AVX_SUPPORT): Likewise.
19468 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
19470         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19471         instead of #pragma optimize.
19473 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19475         [BZ #17195]
19476         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19477         as is similarly done in systrim and _int_free already.
19479 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19481         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19483 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19485         [BZ #19088]
19486         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19487         <limits.h>.
19488         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19489         overflows but exception would not result from cast.
19490         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19491         and <limits.h>.
19492         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19493         overflows but exception would not result from cast.
19494         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19495         <limits.h>.
19496         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19497         overflows but exception would not result from cast.
19498         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19499         <limits.h>.
19500         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19501         overflows but exception would not result from cast.
19502         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19503         <limits.h>.
19504         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19505         overflows but exception would not result from cast.
19506         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19507         <limits.h>.
19508         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19509         overflows but exception would not result from cast.
19510         * math/libm-test.inc (lround_test_data): Add more tests.
19511         (llround_test_data): Likewise.
19513 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
19515         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19516         (CFLAGS-ialloc.c): Ditto.
19517         (CFLAGS-scheck.c): Ditto.
19519 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19521         [BZ #19086]
19522         * manual/filesys.texi (Storage Allocation): Fix argument order for
19523         posix_fallocate64.
19525 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19527         [BZ #19085]
19528         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19529         exponent below 48 inside case for non-overflowing exponent.
19530         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19532 2015-10-07  Florian Weimer  <fweimer@redhat.com>
19534         * iconvdata/cp737.h (from_idx): Add const.
19535         * iconvdata/cp775.h (from_idx): Likewise.
19537 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19539         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19540         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19541         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19543         [BZ #19079]
19544         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19545         file, conditioned on [!_LP64].
19546         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19547         [!_LP64] (__lround): Do not define as function or alias.
19548         [!_LP64] (lround): Likewise.
19549         [!_LP64] (__lroundl): Likewise.
19550         [!_LP64] (lroundl): Likewise.
19551         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19552         macro.
19553         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19554         Likewise.
19556 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19558         * math/libm-test.inc (lrint_test_data): Add more tests.
19559         (llrint_test_data): Likewise.
19560         (lround_test_data): Likewise.
19561         (llround_test_data): Likewise.
19563         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19564         (llrint_test_data): Add tests used for lrint.
19566         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19567         test.
19568         * sysdeps/i386/configure: Regenerated.
19569         * sysdeps/i386/i686/multiarch/Makefile
19570         [$(config-cflags-sse4) = yes]: Make code unconditional.
19571         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19572         Likewise.
19573         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19574         Likewise.
19575         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19576         test.
19577         * sysdeps/x86_64/configure: Regenerated.
19578         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19579         Make code unconditional.
19580         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19581         Likewise.
19582         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19583         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19585         * scripts/rpm2dynsym.sh: Remove file.
19587 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19589         * configure.ac (libc_cv_cxx_thread_local): Define.
19590         * configure: Regenerate.
19591         * config.make.in (have-cxx-thread_local): Define.
19592         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19593         (LDLIBS-tst-thread_local1): Define.
19594         (tests): Add tst-thread_local1.
19595         [have-cxx-thread_local != yes] (tests-unsupported): Add
19596         tst-thread_local1.
19597         * nptl/tst-thread_local1.cc: New file.
19599 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19601         [BZ #19078]
19602         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19603         (u_thres): Likewise.
19604         (__expl): Determine whether to call __kernel_standard_l based on
19605         value of result, not argument.
19607         * math/libm-test.inc (scalb_test_data): Add more expectations for
19608         the "inexact" exception.
19610         [BZ #19077]
19611         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19612         0.0L for argument 1.0L.
19614         [BZ #19076]
19615         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19616         constant 0.0L when computing infinite result.
19618 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19620         [BZ #10432]
19621         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19622         malloc_usable_size.
19624 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19626         [BZ #19018]
19627         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19628         Mangle function pointer before storing it.
19629         (__call_tls_dtors): Demangle function pointer before calling it.
19631 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19633         [BZ #19012]
19634         * iconv/gconv_db.c (gen_steps): Check for additional errors.
19635         Clean up on failure.
19637 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
19639         [BZ #19071]
19640         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19641         long int variable to store possibly incremented high part of
19642         mantissa.
19643         * math/libm-test.inc (lround_test_data): Add tests used for
19644         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
19645         for tests requiring 64-bit long.  Do not condition tests on
19646         [TEST_FLOAT] unnecessarily.
19647         (llround_test_data): Add tests used for lround.  Add another
19648         expectation for the "inexact" exception.  Do not condition tests
19649         on [TEST_FLOAT] unnecessarily.
19651         [BZ #887]
19652         [BZ #19049]
19653         [BZ #19050]
19654         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19655         * sysdeps/ieee754/dbl-64/e_log10.c: Include
19656         <fix-int-fp-convert-zero.h>.
19657         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19658         * sysdeps/ieee754/dbl-64/e_log2.c: Include
19659         <fix-int-fp-convert-zero.h>.
19660         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19661         * sysdeps/ieee754/dbl-64/s_erf.c: Include
19662         <fix-int-fp-convert-zero.h>.
19663         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19664         * sysdeps/ieee754/dbl-64/s_logb.c: Include
19665         <fix-int-fp-convert-zero.h>.
19666         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19667         * sysdeps/ieee754/flt-32/e_log10f.c: Include
19668         <fix-int-fp-convert-zero.h>.
19669         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19670         * sysdeps/ieee754/flt-32/e_log2f.c: Include
19671         <fix-int-fp-convert-zero.h>.
19672         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19673         * sysdeps/ieee754/flt-32/s_erff.c: Include
19674         <fix-int-fp-convert-zero.h>.
19675         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19676         * sysdeps/ieee754/flt-32/s_logbf.c: Include
19677         <fix-int-fp-convert-zero.h>.
19678         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19679         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19680         <fix-int-fp-convert-zero.h>.
19681         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19682         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19683         <fix-int-fp-convert-zero.h>.
19684         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19685         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19686         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19687         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19688         file.
19689         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19691 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19693         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19695 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
19697         [BZ #19059]
19698         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19699         overflowing computation.
19700         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19701         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19702         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19703         Likewise.
19704         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19705         Likewise.
19706         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19707         Likewise.
19708         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19709         Likewise.
19710         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19711         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19712         Likewise.
19713         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19714         Likewise.
19715         * math/libm-test.inc (nexttoward_test_data): Add more tests.
19717         * nss/rewrite_field.c (__nss_rewrite_field): Use
19718         internal_function.
19719         * nss/valid_field.c (__nss_valid_field): Likewise.
19720         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19722 2015-10-02  Florian Weimer  <fweimer@redhat.com>
19724         [BZ #18724]
19725         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19726         (__nss_invalid_field_characters, __nss_valid_field)
19727         (__nss_valid_list_field, __nss_rewrite_field): Declare.
19728         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19729         tst-field.c: New file.
19730         * nss/Makefile (routines): Add valid_field, rewrite_field.
19731         (tests-static): Define unconditionally.
19732         (tests): Include tests-static.
19733         [build-static-nss] (tests-static): Use append.
19734         [build-static-nss] (tests): Remove modification.
19735         * nss/getent.c (print_group): Call putgrent.  Report error.
19736         (print_gshadow): Call putsgent.  Report error.
19737         (print_passwd): Call putpwent.  Report error.
19738         (print_shadow): Call putspent.  Report error.
19739         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19740         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19741         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
19742         name, password, directory, shell fields for valid syntax.  Rewrite
19743         GECOS field to match syntax.
19744         * pwd/Makefile (tests): Add tst-putpwent.
19745         * pwd/tst-putpwent.c: New file.
19746         * grp/putgrent.c (putgrent): Convert to ISO function definition.
19747         Check grName, grpasswd, gr_mem fields for valid syntax.
19748         Change loop variable i to size_t.
19749         * grp/Makefile (tests): Add tst-putgrent.
19750         * grp/tst-putgrent.c: New file.
19751         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19752         valid syntax.
19753         * shadow/Makefile (tests): Add tst-putspent.
19754         * shadow/tst-putspent.c: New file.
19755         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19756         sg_mem fields for valid syntax.
19757         * gshadow/Makefile (tests): Add tst-putsgent.
19758         * gshadow/tst-putsgent.c: New file.
19760 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19762         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19763         assembly instructions.
19765 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19767         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19768         prefix from operands.
19770 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
19772         [BZ #16347]
19773         [BZ #19046]
19774         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19775         <libc-internal.h>.
19776         (MAXLGM): Do not use diagnostic control macros.
19777         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19778         threshold for ldbl-128ibm.
19779         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19780         instead of multiplying by log then subtracting.
19781         * math/auto-libm-test-in: Add more tests of lgamma.
19782         * math/auto-libm-test-out: Regenerated.
19784         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19785         (TYPE_HEX_DIG): Likewise.
19786         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19787         precisions when printing floating-point numbers.
19788         (check_float_internal): Likewise.
19790 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19792         [BZ #16620]
19793         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19794         of log (10) rounded downward to 48 bits.
19795         (log10_low): Use corresponding low part of log (10).
19797         [BZ #19032]
19798         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19799         compute result as (x - x) / (x - x) not as 0 / 0.
19800         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19801         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19803         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19804         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19805         and expm1.
19806         * math/auto-libm-test-out: Regenerated.
19807         * math/libm-test.inc (acos_test_data): Add more tests.
19808         (asin_test_data): Likewise.
19809         (asinh_test_data): Likewise.
19810         (atan_test_data): Likewise.
19811         (atanh_test_data): Likewise.
19812         (atan2_test_data): Likewise.
19813         (cbrt_test_data): Likewise.
19814         (ceil_test_data): Likewise.
19815         (copysign_test_data): Likewise.
19816         (cos_test_data): Likewise.
19817         (cosh_test_data): Likewise.
19818         (erf_test_data): Likewise.
19819         (erfc_test_data): Likewise.
19820         (exp_test_data): Likewise.
19821         (exp10_test_data): Likewise.
19822         (exp2_test_data): Likewise.
19823         (expm1_test_data): Likewise.
19824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19826 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
19828         [BZ #19006]
19829         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19830         to ...
19831         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19832         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19833         to ...
19834         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19835         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19836         to ...
19837         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19838         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19839         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19840         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19841         to ...
19842         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19843         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19844         Moved to ...
19845         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19846         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19847         Moved to ...
19848         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19849         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19850         to ...
19851         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19852         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19853         Moved to ...
19854         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19855         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19856         to ...
19857         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19858         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19859         Removed.
19860         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19861         Likewise.
19862         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19863         Likewise.
19864         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19865         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19866         Likewise.
19867         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19868         Likewise.
19869         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19870         Likewise.
19871         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19872         Likewise.
19873         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19874         Likewise.
19875         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19876         Likewise.
19877         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19878         Likewise.
19879         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19880         Likewise.
19881         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19882         Likewise.
19883         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19884         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19885         Likewise.
19886         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19887         Likewise.
19888         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19889         Likewise.
19890         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19891         Likewise.
19892         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19893         Likewise.
19894         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19895         Replace ../i486/pthread_cond_timedwait.S with
19896         ../pthread_cond_timedwait.S.
19898 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19900         * math/libm-test.inc (acos_test_data): Refine expectations for
19901         errno and "inexact" exceptions.
19902         (acosh_test_data): Likewise.
19903         (asin_test_data): Likewise.
19904         (asinh_test_data): Likewise.
19905         (atan_test_data): Likewise.
19906         (atanh_test_data): Likewise.
19907         (atan2_test_data): Likewise.
19908         (cbrt_test_data): Likewise.
19909         (ceil_test_data): Likewise.
19910         (copysign_test_data): Likewise.
19911         (cosh_test_data): Likewise.
19912         (erf_test_data): Likewise.
19913         (erfc_test_data): Likewise.
19914         (exp_test_data): Likewise.
19915         (exp10_test_data): Likewise.
19916         (exp2_test_data): Likewise.
19917         (expm1_test_data): Likewise.
19918         (fabs_test_data): Likewise.
19919         (floor_test_data): Likewise.
19920         (fma_test_data): Likewise.
19921         (fmax_test_data): Likewise.
19922         (fmin_test_data): Likewise.
19923         (fmod_test_data): Likewise.
19924         (fpclassify_test_data): Likewise.
19925         (frexp_test_data): Likewise.
19926         (hypot_test_data): Likewise.
19927         (ilogb_test_data): Likewise.
19928         (isgreater_test_data): Likewise.
19929         (isgreaterequal_test_data): Likewise.
19930         (isinf_test_data): Likewise.
19931         (isless_test_data): Likewise.
19932         (islessequal_test_data): Likewise.
19933         (islessgreater_test_data): Likewise.
19934         (isnan_test_data): Likewise.
19935         (isnormal_test_data): Likewise.
19936         (issignaling_test_data): Likewise.
19937         (isunordered_test_data): Likewise.
19938         (j0_test_data): Likewise.
19939         (j1_test_data): Likewise.
19940         (jn_test_data): Likewise.
19941         (lgamma_test_data): Likewise.
19942         (lrint_test_data): Likewise.
19943         (llrint_test_data): Likewise.
19944         (log_test_data): Likewise.
19945         (log10_test_data): Likewise.
19946         (log1p_test_data): Likewise.
19947         (log2_test_data): Likewise.
19948         (logb_test_data): Likewise.
19949         (lround_test_data): Likewise.
19950         (llround_test_data): Likewise.
19951         (modf_test_data): Likewise.
19952         (nearbyint_test_data): Likewise.
19953         (nextafter_test_data): Likewise.
19954         (nexttoward_test_data): Likewise.
19955         (pow_test_data): Likewise.
19956         (remainder_test_data): Likewise.
19957         (remquo_test_data): Likewise.
19958         (rint_test_data): Likewise.
19959         (round_test_data): Likewise.
19960         (signbit_test_data): Likewise.
19961         (sinh_test_data): Likewise.
19962         (sqrt_test_data): Likewise.
19963         (tanh_test_data): Likewise.
19964         (tgamma_test_data): Likewise.
19965         (trunc_test_data): Likewise.
19966         (y0_test_data): Likewise.
19967         (y1_test_data): Likewise.
19968         (yn_test_data): Likewise.
19969         (significand_test_data): Likewise.
19971 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
19973         * manual/filesys.texi (Storage Allocation): Document that
19974         posix_fallocate emulation fails when fd is open with O_WRONLY.
19976 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
19978         [BZ #19016]
19979         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19980         allow more cases with X^2 + Y^2 >= 0.5.
19981         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
19982         normal element in sum instead of special-casing based on values of
19983         arguments.
19984         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19985         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
19986         -1 as normal element in sum instead of special-casing based on
19987         values of arguments.
19988         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19989         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19990         (__x2y2m1): Update comment.
19991         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
19992         as normal element in sum instead of special-casing based on values
19993         of arguments.
19994         * math/s_clog.c (__clog): Handle more cases using log1p without
19995         hypot.
19996         * math/s_clog10.c (__clog10): Likewise.
19997         * math/s_clog10f.c (__clog10f): Likewise.
19998         * math/s_clog10l.c (__clog10l): Likewise.
19999         * math/s_clogf.c (__clogf): Likewise.
20000         * math/s_clogl.c (__clogl): Likewise.
20001         * math/auto-libm-test-in: Add more tests of clog and clog10.
20002         * math/auto-libm-test-out: Regenerated.
20003         * sysdeps/i386/fpu/libm-test-ulps: Update.
20004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20006 2015-09-28  Martin Sebor  <msebor@redhat.com>
20008         [BZ #18969]
20009         * string/Makefile (LOCALES): Define.
20010         (gen-locales.mk): Include.
20011         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
20012         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
20013         * string/tst-strxfrm2.c (do_test): Print the name of the locale
20014         on setlocale failure.
20016 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20018         [BZ #18985]
20019         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
20020         (__strftime_internal): Likewise.
20021         * time/tst-strftime.c (do_bz18985): New test.
20022         (do_test): Call it.
20024 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
20026         [BZ #18956]
20027         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
20028         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
20029         extracting high part.
20030         * math/auto-libm-test-in: Add another test of pow.
20031         * math/auto-libm-test-out: Regenerated.
20032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20034 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
20036         [BZ #18825]
20037         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
20038         New macro.
20039         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
20040         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20041         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
20042         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
20043         DBL_NARROW_EVAL, reloading the PIC register as needed.
20044         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
20045         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
20046         FLT_NARROW_EVAL.  Use separate return path for case when first
20047         argument is NaN.
20048         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
20049         DEFINE_LDBL_MIN.
20050         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
20051         PIC register.
20052         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
20053         math_check_force_underflow_nonneg.
20054         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
20055         underflow for subnormal result.
20056         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20057         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
20058         math_check_force_underflow_nonneg.
20059         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
20060         math_check_force_underflow.
20061         * sysdeps/x86_64/fpu/x86_64-math-asm.h
20062         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
20063         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
20064         DEFINE_LDBL_MIN.
20065         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
20066         * math/auto-libm-test-in: Add more tests of pow.
20067         * math/auto-libm-test-out: Regenerated.
20069 2015-09-25  Florian Weimer  <fweimer@redhat.com>
20071         * nss/bug17079.c (init_test_items): Add diagnostic for
20072         inconsistent entries.
20073         (test_buffer_size): Skip inconsistent entries.
20075 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
20077         [BZ #13304]
20078         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
20079         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20080         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
20082         [BZ #13304]
20083         * sysdeps/microblaze/s_fma.c: New file.
20084         * sysdeps/microblaze/s_fmaf.c: Likewise.
20085         * sysdeps/microblaze/sfp-machine.h: Likewise.
20087 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
20089         [BZ #17250]
20090         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
20091         member.
20093 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
20095         [BZ #18803]
20096         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
20097         (MO): New macro.
20098         (__ieee754_hypot) [PIC]: Load PIC register.
20099         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
20100         DBL_NARROW_EVAL.
20101         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
20102         math_check_force_underflow_nonneg in case where result might be
20103         tiny.
20104         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20105         Likewise.
20106         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20107         Likewise.
20108         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20109         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20110         * math/auto-libm-test-in: Add more tests of hypot.
20111         * math/auto-libm-test-out: Regenerated.
20113 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
20115         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
20117 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
20119         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
20120         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-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/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
20124         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20125         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20127         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
20128         LOAD_PIC_REG.
20130         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
20131         (FLT_CHECK_FORCE_UFLOW): Likewise.
20132         (DBL_CHECK_FORCE_UFLOW): Likewise.
20133         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
20134         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
20135         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
20136         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20137         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20138         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20139         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20140         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20141         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
20142         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20143         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
20144         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
20145         (flt_min): Replace with use of DEFINE_FLT_MIN.
20146         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
20147         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
20148         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20149         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
20150         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
20151         (flt_min): Replace with use of DEFINE_FLT_MIN.
20152         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
20153         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
20154         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20155         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
20156         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
20157         (flt_min): Replace with use of DEFINE_FLT_MIN.
20158         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
20159         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
20160         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20161         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20162         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
20163         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20164         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20165         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
20166         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20167         (__atan): Use DBL_CHECK_FORCE_UFLOW.
20168         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
20169         (flt_min): Replace with use of DEFINE_FLT_MIN.
20170         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
20171         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
20172         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20173         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
20174         main computation.
20175         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
20176         (flt_min): Replace with use of DEFINE_FLT_MIN.
20177         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
20178         main computation.
20179         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
20180         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20181         (MO): New macro.
20182         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
20183         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
20184         (flt_min): Replace with use of DEFINE_FLT_MIN.
20185         (MO): New macro.
20186         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20187         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20188         (__log1pl): Use MO.
20190         [BZ #19003]
20191         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20192         $(config-cflags-nofma).
20194 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20196         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20198 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
20200         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20201         (TWO127): Likewise.
20203         * sysdeps/generic/math_private.h (fabs_tg): New macro.
20204         (min_of_type): Likewise.
20205         (math_check_force_underflow): Likewise.
20206         (math_check_force_underflow_nonneg): Likewise.
20207         (math_check_force_underflow_complex): Likewise.
20208         * math/e_exp2l.c (__ieee754_exp2l): Use
20209         math_check_force_underflow_nonneg.
20210         * math/k_casinh.c (__kernel_casinh): Likewise.
20211         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20212         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20213         * math/s_catan.c (__catan): Use
20214         math_check_force_underflow_complex.
20215         * math/s_catanf.c (__catanf): Likewise.
20216         * math/s_catanh.c (__catanh): Likewise.
20217         * math/s_catanhf.c (__catanhf): Likewise.
20218         * math/s_catanhl.c (__catanhl): Likewise.
20219         * math/s_catanl.c (__catanl): Likewise.
20220         * math/s_ccosh.c (__ccosh): Likewise.
20221         * math/s_ccoshf.c (__ccoshf): Likewise.
20222         * math/s_ccoshl.c (__ccoshl): Likewise.
20223         * math/s_cexp.c (__cexp): Likewise.
20224         * math/s_cexpf.c (__cexpf): Likewise.
20225         * math/s_cexpl.c (__cexpl): Likewise.
20226         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20227         * math/s_clog10.c (__clog10): Likewise.
20228         * math/s_clog10f.c (__clog10f): Likewise.
20229         * math/s_clog10l.c (__clog10l): Likewise.
20230         * math/s_clogf.c (__clogf): Likewise.
20231         * math/s_clogl.c (__clogl): Likewise.
20232         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20233         * math/s_csinf.c (__csinf): Likewise.
20234         * math/s_csinh.c (__csinh): Likewise.
20235         * math/s_csinhf.c (__csinhf): Likewise.
20236         * math/s_csinhl.c (__csinhl): Likewise.
20237         * math/s_csinl.c (__csinl): Likewise.
20238         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20239         * math/s_csqrtf.c (__csqrtf): Likewise.
20240         * math/s_csqrtl.c (__csqrtl): Likewise.
20241         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20242         * math/s_ctanf.c (__ctanf): Likewise.
20243         * math/s_ctanh.c (__ctanh): Likewise.
20244         * math/s_ctanhf.c (__ctanhf): Likewise.
20245         * math/s_ctanhl.c (__ctanhl): Likewise.
20246         * math/s_ctanl.c (__ctanl): Likewise.
20247         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20248         instead of volatile.
20249         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20250         math_check_force_underflow.
20251         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20252         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20253         volatile when forcing underflow.
20254         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20255         math_check_force_underflow_nonneg.
20256         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20257         Likewise.
20258         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20259         math_check_force_underflow.
20260         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20261         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20262         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20263         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20264         math_check_force_underflow_nonneg.
20265         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20266         math_check_force_underflow.
20267         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20269         instead of volatile.
20270         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20271         math_check_force_underflow.
20272         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20273         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20274         math_check_force_underflow_nonneg.
20275         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20276         math_check_force_underflow.
20277         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20278         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20279         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20280         math_check_force_underflow_nonneg.
20281         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20282         Likewise.
20283         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20284         math_check_force_underflow.
20285         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20286         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20287         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20288         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20289         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20290         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20291         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20292         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20293         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20294         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20295         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20296         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20297         Likewise.
20298         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20299         math_check_force_underflow_nonneg.
20300         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20301         Likewise.
20302         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20303         math_check_force_underflow.
20304         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20305         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20306         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20307         Likewise.
20308         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20309         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20310         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20311         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20312         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20313         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20314         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20315         instead of volatile.
20316         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20317         math_check_force_underflow.
20318         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20319         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20320         math_check_force_underflow.
20321         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20322         Likewise.
20323         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20324         Use math_check_force_underflow_nonneg.
20325         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20326         math_check_force_underflow.
20327         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20328         Likewise.
20329         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20330         Likewise.
20331         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20332         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20333         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20334         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20335         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20336         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20337         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20338         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20339         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20340         math_check_force_underflow_nonneg.
20341         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20342         math_check_force_underflow.
20343         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20344         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20345         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20346         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20347         math_check_force_underflow_nonneg.
20348         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20349         math_check_force_underflow.
20350         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20352         instead of volatile.
20353         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20354         math_check_force_underflow.
20356         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20357         * stdlib/strtod_l.c: Include <math_private.h>.
20358         (overflow_value): Use math_narrow_eval.
20359         (underflow_value): Likewise.
20360         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20361         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20362         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20363         (__ieee754_gamma_r): Likewise.
20364         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20365         Likewise.
20366         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20367         Likewise.
20368         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20369         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20370         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20371         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20372         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20373         (__ieee754_gammaf_r): Likewise.
20374         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20375         Likewise.
20376         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20377         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20378         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20379         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20380         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20381         volatile.
20382         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20383         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20384         math_narrow_eval.
20385         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20386         Likewise.
20387         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20388         Likewise.
20389         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20390         Likewise.
20391         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20392         volatile.
20393         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20394         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20395         math_narrow_eval.
20396         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20397         Likewise.
20398         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20399         Likewise.
20401 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
20403         * nptl/Versions: Remove ignored symbols.
20405 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20407         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
20408         * nss/Makefile (tests): Update.
20410 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20412         * nss/bug18287.c: New file.
20413         * nss/Makefile (tests): Add bug18287.
20415 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20417         * mach/Versions (__mach_host_self_): Add symbol.
20419 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20421         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20422         vm_page_size.
20424 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20426         Really fix sysdeps/i386/fpu/s_scalbn.S build
20428         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20429         (libc: GLIBC_2_22): Remove unused version set.
20431 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20433         * config.make.in (enable-timezone-tools): New variable.
20434         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20435         (enable_timezone_tools): Export to generated files.
20436         * configure: Regenerate.
20437         * INSTALL: Regenerate.
20438         * manual/install.texi (--disable-timezone-tools): Document new flag.
20439         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20440         ifeq ($(enable-timezone-tools),yes) check.
20442 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20444         * timezone/Makefile: Revert previous change.
20446         [BZ #18980]
20447         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20448         (DEFINE_DBL_MIN): Likewise.
20449         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20450         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20451         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20452         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20453         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20454         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20455         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20456         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20457         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20458         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20459         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20460         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20461         (flt_min): Replace with use of DEFINE_FLT_MIN.
20462         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20463         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20464         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20465         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20466         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20467         (flt_min): Replace with use of DEFINE_FLT_MIN.
20468         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20469         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20470         (flt_min): Replace with use of DEFINE_FLT_MIN.
20471         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20472         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20473         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20474         (__ieee754_hypot): Use DBL_NARROW_EVAL.
20475         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20476         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20477         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20478         (__ieee754_pow): Use DBL_NARROW_EVAL.
20479         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20480         (__ieee754_powf): Use FLT_NARROW_EVAL.
20481         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20482         (__ieee754_expf_sse2): Convert double-precision result to single
20483         precision.
20484         * sysdeps/i386/fpu/libm-test-ulps: Update.
20486 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20488         * timezone/Makefile: Ignore unused variable errors due to private.h
20489         (time_t_min) and (time_t_max).
20490         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
20491         Likewise.
20493 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20495         [BZ #18981]
20496         * sysdeps/i386/fpu/i386-math-asm.h: New file.
20497         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20498         (__ieee754_scalb): Use DBL_NARROW_EVAL.
20499         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20500         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20501         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20502         (__scalbn): Use DBL_NARROW_EVAL.
20503         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20504         (__scalbnf): Use FLT_NARROW_EVAL.
20506 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20508         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20509         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20510         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20511         * stdio-common/printf_fp.c (___printf_fp):
20512         Use signbit to get the sign. Use isinf macro to allow inlining.
20513         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20514         * stdio-common/printf_size.c (__printf_size): Likewise.
20516 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20518         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20520 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20522         [BZ #18980]
20523         * sysdeps/generic/math_private.h: Include <float.h>.
20524         (math_narrow_eval): New macro.
20525         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20526         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20527         math_narrow_eval on overflowing return value.
20528         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20529         Likewise.
20530         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20531         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20532         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20533         Likewise.
20534         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20536 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20538         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20539         * math/Makefile: Remove isinf_ns.c.
20540         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20541         * math/multc3.c (__multc3): Likewise.
20542         * math/s_casin.c (__casin): Likewise.
20543         * math/s_casinf.c (__casinf): Likewise.
20544         * math/s_casinl.c (__casinl): Likewise.
20545         * math/s_cproj.c (__cproj): Likewise.
20546         * math/s_cprojf.c (__cprojf): Likewise.
20547         * math/s_cprojl.c (__cprofl): Likewise.
20548         * math/s_ctan.c (__ctan): Likewise.
20549         * math/s_ctanf.c (__ctanf): Likewise.
20550         * math/s_ctanh.c (__ctanh): Likewise.
20551         * math/s_ctanhf.c (__ctanhf): Likewise.
20552         * math/s_ctanhl.c (__ctanhl): Likewise.
20553         * math/s_ctanl.c (__ctanl): Likewise.
20554         * math/w_fmod.c (__fmod): Likewise.
20555         * math/w_fmodf.c (__fmodf): Likewise.
20556         * math/w_fmodl.c (_fmodl): Likewise.
20557         * math/w_remainder.c (__remainder): Likewise.
20558         * math/w_remainderf.c (__remainderf): Likewise.
20559         * math/w_remainderl.c (__remainderl): Likewise.
20560         * math/w_scalb.c (__scalb): Likewise.
20561         * math/w_scalbf.c (__scalbf): Likewise.
20562         * math/w_scalbl.c (__scalbl): Likewise.
20563         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20564         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20565         with isinf.
20566         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20567         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20568         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20569         __isinf_nsf with isinf.
20570         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20571         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20572         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20573         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20574         with isinf.
20575         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20576         __isinf_nsl with isinf.
20577         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20578         with isinf.
20579         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20580         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20581         __isinf_nsl with isinf.
20582         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20583         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20584         with isinf.
20586 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20588         * resolv/base64.c (rcsid): Remove unused static.
20589         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20590         static.  (tqpi1): Likewise.
20591         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20592         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20593         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20594         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20595         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20596         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20597         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20598         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
20599         Likewise.
20601 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
20603         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20604         <nptl/pthreadP.h>.
20605         (_longjmp_unwind): Use __libc_ptf_call.
20606         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20608 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
20610         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20611         * sysdeps/arm/__longjmp.S: Likewise.
20613 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20615         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20616         Use __builtin_signbit.
20617         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20618         Use __builtin_signbitf.
20619         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20620         Use __builtin_signbitl.
20621         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20622         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20624 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20626         [BZ #15367]
20627         [BZ #17441]
20629         * math/Makefile: Build test-snan.c with -fsignaling-nans.
20630         * math/math.h (fpclassify): Use __builtin_fpclassify when
20631         available.  (signbit): Use __builtin_signbit(f/l).
20632         (isfinite): Use__builtin_isfinite.  (isnormal): Use
20633         __builtin_isnormal.  (isnan): Use __builtin_isnan.
20634         (isinf): Use __builtin_isinf_sign.
20636 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20638         * benchtests/Makefile: Add bench-math-inlines, link with libm.
20639         * benchtests/bench-math-inlines.c: New benchmark.
20640         * benchtests/bench-util.h: New file.
20641         * benchtests/bench-util.c: New file.
20642         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20644 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
20646         * elf/tst-dlmopen1.c: Define TEST_SO.
20647         (do_test): Use TEST_SO.
20649         * elf/dl-load.c: Include libc-internal.h.
20650         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20652 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20654         [BZ #17887]
20655         * time/strptime_l.c (__strptime_internal): Make %z accept
20656         [+-]HH:MM time zones.
20658 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20660         [BZ #17886]
20661         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20662         valid time zone.
20664 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
20666         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20667         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20668         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20669         (__ASSUME_FDATASYNC): Delete.
20671 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20673         * conform/linknamespace.pl: Require weak undefined symbols to be
20674         in the standard namespace.
20675         (%strong_syms): Rename to %seen_syms.
20676         (%strong_seen): Rename to %seen_where.
20678 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
20680         [BZ #18970]
20681         * misc/error.c (error): Replace pthread_setcancelstate with
20682         __pthread_setcancelstate.
20683         (error_at_line): Likewise.
20684         * posix/wordexp.c (parse_comm): Likewise.
20685         * stdlib/fmtmsg.c (fmtmsg): Likewise.
20686         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20687         (__pthread_setcancelstate): This.
20688         (pthread_setcancelstate): Add an alias.
20689         * nptl/nptl-init.c (pthread_functions): Replace
20690         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20691         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20692         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20693         hidden_proto.
20694         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20695         it with hidden_def.
20696         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20697         (pthread_setcancelstate): Renamed to ...
20698         (__pthread_setcancelstate): This.
20699         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20700         __libc_ptf_call with __pthread_setcancelstate.
20702 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20703             Andreas Schwab  <schwab@suse.de>
20705         [BZ #17118]
20706         * math/s_ctan.c (__ctan): Determine sign of zero real part of
20707         result when imaginary part of argument is infinite using sine and
20708         cosine.
20709         * math/s_ctanf.c (__ctanf): Likewise.
20710         * math/s_ctanl.c (__ctanl): Likewise.
20711         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20712         of result when real part of argument is infinite using sine and
20713         cosine.
20714         * math/s_ctanhf.c (__ctanhf): Likewise.
20715         * math/s_ctanhl.c (__ctanhl): Likewise.
20716         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20717         (ctanh_test_data): Add more tests of ctanh.
20719 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20721         [BZ #15384]
20722         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20723         bit-mask as in subtraction.
20724         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20725         Likewise.
20726         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20727         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20728         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20730         [BZ #18951]
20731         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20732         underflow exception for small results.
20733         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20734         Likewise.
20735         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20736         Likewise.
20737         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20738         Likewise.
20739         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20740         Likewise.
20741         * math/auto-libm-test-in: Add more tests of tgamma.
20742         * math/auto-libm-test-out: Regenerated.
20744 2015-09-17  Andreas Schwab  <schwab@suse.de>
20746         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20748 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20750         [BZ #18977]
20751         * math/bits/mathcalls.h
20752         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20753         not declare.
20754         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20755         Likewise.
20756         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20757         Likewise.
20758         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20759         Likewise.
20760         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20761         Likewise.
20762         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20763         Likewise.
20764         * conform/data/math.h-data
20765         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20766         function.
20767         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20768         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20769         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20770         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20771         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20772         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20773         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20774         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20775         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20776         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20777         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20779         [BZ #6803]
20780         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20781         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20782         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20783         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20784         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20785         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20786         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20787         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20788         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20790         Likewise.
20791         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20792         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20793         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20794         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20795         long_double_symbol calls.
20796         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20797         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20798         strong alias of __ldexpl.
20799         (scalbnl): Define using long_double_symbol.
20800         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20801         Remove alias.
20802         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20803         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20804         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20805         (scalbln_test_data): Add more errno expectations.
20807 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
20809         Cache the host port like we cache the task port.  This way we do not
20810         need to call the kernel just to get the port.  Furthermore, we no
20811         longer increase the reference count on every invocation of
20812         `mach_host_self'.
20814         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20815         Protect declarations against the macro expansion.
20816         * mach/mach_init.c (__mach_host_self_): New variable.
20817         (mach_init): Initialize `__mach_host_self_'.
20818         * mach/mach_init.h (__mach_host_self_): New declaration.
20819         (__mach_host_self, mach_host_self): New macros.
20820         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20821         Release reference.
20823 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20825         [BZ #4404]
20826         * po/de.po: Update from Translation Project.
20828         [BZ #16415]
20829         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20830         (__expm1l): Remove code to handle positive infinity and overflow.
20831         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20832         variable.
20833         (__expm1l): Remove code to handle positive infinity and overflow.
20835 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
20836             Paul Pluzhnikov  <ppluzhnikov@google.com>
20838         [BZ #18872]
20839         * stdio-common/Makefile (tst-printf-bz18872): New test.
20840         (tst-printf-bz18872-mem.out): Likewise.
20841         * stdio-common/tst-printf-bz18872.sh: Generate new test.
20842         * stdio-common/vfprintf.c: Fix memory leaks.
20844 2015-09-16  Andreas Schwab  <schwab@suse.de>
20846         [BZ #17244]
20847         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20848         Remove extra va_start/va_end calls.
20850         [BZ #17243]
20851         * posix/execl.c (execl): Add missing va_end.
20852         * posix/execle.c (execle): Likewise.
20853         * posix/execlp.c (execlp): Likewise.
20855 2015-09-15  Roland McGrath  <roland@hack.frob.com>
20857         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20858         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20860 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
20862         [BZ #18967]
20863         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
20864         undefine around includes of <bits/mathcalls.h>.
20865         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20866         not declare function.
20867         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20868         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20869         (scalb): Likewise.
20870         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20871         not define macro.
20872         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20873         variable.
20874         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20875         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20876         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20878         [BZ #18857]
20879         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20880         return non-finite argument without doing ordered comparisons on
20881         it.
20883         [BZ #16296]
20884         * math/fenv.h (fegetround): Use __attribute_pure__.
20885         * include/fenv.h (__fegetround): Likewise.
20887         [BZ #18595]
20888         * math/s_ctan.c (__ctan): Force underflow exception for results
20889         whose real or imaginary part has small absolute value.
20890         * math/s_ctanf.c (__ctanf): Likewise.
20891         * math/s_ctanh.c (__ctanh): Likewise.
20892         * math/s_ctanhf.c (__ctanhf): Likewise.
20893         * math/s_ctanhl.c (__ctanhl): Likewise.
20894         * math/s_ctanl.c (__ctanl): Likewise.
20895         * math/auto-libm-test-in: Do not allow missing underflow for ctan
20896         and ctanh.  Add more tests of ctan and ctanh.
20898         [BZ #15918]
20899         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20900         handling of cases where one argument is an infinity.
20902         [BZ #18875]
20903         [BZ #18966]
20904         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20905         (MO): New macro.
20906         (__ieee754_exp10): For small results, force underflow exception
20907         and remove excess range and precision from return value.
20908         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20909         (MO): New macro.
20910         (__ieee754_exp10f): For small results, force underflow exception
20911         and remove excess range and precision from return value.
20912         * math/auto-libm-test-in: Add more tests of exp10.
20913         * math/auto-libm-test-out: Regenerated.
20915 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
20917         [BZ #18875]
20918         [BZ #18961]
20919         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20920         (MO): New macro.
20921         (__ieee754_exp): For small results, force underflow exception and
20922         remove excess range and precision from return value.
20923         (__exp_finite): Likewise.
20924         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20925         (MO): New macro.
20926         (__ieee754_expf): For small results, force underflow exception and
20927         remove excess range and precision from return value.
20928         (__expf_finite): Likewise.
20929         * math/auto-libm-test-in: Add more tests of exp.
20930         * math/auto-libm-test-out: Regenerated.
20932         [BZ #16521]
20933         [BZ #18875]
20934         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20935         small results.
20936         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20937         (MO): New macro.
20938         (__ieee754_exp2): For small results, force underflow exception and
20939         remove excess range and precision from return value.
20940         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20941         (MO): New macro.
20942         (__ieee754_exp2f): For small results, force underflow exception
20943         and remove excess range and precision from return value.
20944         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20945         (MO): New macro.
20946         (__ieee754_exp2l): Force underflow exception for small results.
20947         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20948         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20949         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20950         (MO): New macro.
20951         (__ieee754_exp2l): Force underflow exception for small results.
20952         * math/auto-libm-test-in: Add more tests or exp2.
20953         * math/auto-libm-test-out: Regenerated.
20955 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
20957         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20959         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20960         /dev/null.
20962 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20964         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20965         io fs process)): Drop spurious backslash.
20967 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20969         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20970         Use sysinfo system call instead of parsing /proc/meminfo.
20971         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20972         Likewise.
20974 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
20976         [BZ #16985]
20977         * programs/localedef.c (main): Display argv[remaining] when
20978         output_path is NULL.
20980 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20982         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20983         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20984         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20985         tanh.
20986         * math/auto-libm-test-out: Regenerated.
20987         * sysdeps/i386/fpu/libm-test-ulps: Update.
20988         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20989         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20992 2015-09-11  Roland McGrath  <roland@hack.frob.com>
20994         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20995         Use 'override' keyword to freeze the value here, preventing
20996         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20998 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
21000         [BZ #14912]
21001         * sysdeps/aarch64/bits/atomic.h: Move to ...
21002         * sysdeps/aarch64/atomic-machine.h: ...here.
21003         (_AARCH64_BITS_ATOMIC_H): Rename macro to
21004         _AARCH64_ATOMIC_MACHINE_H.
21005         * sysdeps/alpha/bits/atomic.h: Move to ...
21006         * sysdeps/alpha/atomic-machine.h: ...here.
21007         * sysdeps/arm/bits/atomic.h: Move to ...
21008         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
21009         * bits/atomic.h: Move to ...
21010         * sysdeps/generic/atomic-machine.h: ...here.
21011         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21012         * sysdeps/i386/bits/atomic.h: Move to ...
21013         * sysdeps/i386/atomic-machine.h: ...here.
21014         * sysdeps/ia64/bits/atomic.h: Move to ...
21015         * sysdeps/ia64/atomic-machine.h: ...here.
21016         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
21017         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
21018         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21019         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
21020         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
21021         * sysdeps/microblaze/bits/atomic.h: Move to ...
21022         * sysdeps/microblaze/atomic-machine.h: ...here.
21023         * sysdeps/mips/bits/atomic.h: Move to ...
21024         * sysdeps/mips/atomic-machine.h: ...here.
21025         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
21026         * sysdeps/powerpc/bits/atomic.h: Move to ...
21027         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
21028         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
21029         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
21030         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
21031         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
21032         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
21033         <atomic-machine.h> instead of <bits/atomic.h>.
21034         * sysdeps/s390/bits/atomic.h: Move to ...
21035         * sysdeps/s390/atomic-machine.h: ...here.
21036         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
21037         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
21038         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21039         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
21040         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
21041         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
21042         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
21043         * sysdeps/tile/bits/atomic.h: Move to ...
21044         * sysdeps/tile/atomic-machine.h: ...here.
21045         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
21046         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
21047         <sysdeps/tile/atomic-machine.h> instead of
21048         <sysdeps/tile/bits/atomic.h>.
21049         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21050         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
21051         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
21052         <sysdeps/tile/atomic-machine.h> instead of
21053         <sysdeps/tile/bits/atomic.h>.
21054         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21055         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
21056         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
21057         <sysdeps/arm/atomic-machine.h> instead of
21058         <sysdeps/arm/bits/atomic.h>.
21059         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
21060         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
21061         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21062         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
21063         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
21064         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21065         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
21066         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
21067         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
21068         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
21069         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
21070         * sysdeps/x86_64/bits/atomic.h: Move to ...
21071         * sysdeps/x86_64/atomic-machine.h: ...here.
21072         * include/atomic.h: Include <atomic-machine.h> instead of
21073         <bits/atomic.h>.
21075         * sysdeps/mips/mips32/libm-test-ulps: Update.
21076         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21078         [BZ #18952]
21079         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
21080         not convert non-integer negative arguments to int to determine the
21081         value of signgam.
21082         * math/auto-libm-test-in: Add more tests of lgamma.
21083         * math/auto-libm-test-out: Regenerated.
21085         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
21086         cosh, csqrt, erfc, expm1 and lgamma.
21087         * math/auto-libm-test-out: Regenerated.
21088         * sysdeps/i386/fpu/libm-test-ulps: Update.
21089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21091 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
21093         [BZ #2542]
21094         [BZ #2543]
21095         [BZ #2558]
21096         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
21097         __lgamma_neg for arguments from -28.0 to -2.0.
21098         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
21099         __lgamma_negf for arguments from -15.0 to -2.0.
21100         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21101         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
21102         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
21103         Call __lgamma_negl for arguments from -33.0 to -2.0.
21104         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
21105         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
21106         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
21107         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
21108         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
21109         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
21110         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
21111         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
21112         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
21113         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
21114         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
21115         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
21116         (__lgamma_neg): Likewise.
21117         (__lgamma_negl): Likewise.
21118         (__lgamma_product): Likewise.
21119         (__lgamma_productl): Likewise.
21120         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
21121         * math/auto-libm-test-in: Add more tests of lgamma.
21122         * math/auto-libm-test-out: Regenerated.
21123         * sysdeps/i386/fpu/libm-test-ulps: Update.
21124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21126 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
21128         [BZ #18675]
21129         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
21131 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
21133         [BZ #14912]
21134         * bits/libc-lock.h: Move to ...
21135         * sysdeps/generic/libc-lock.h: ...here.
21136         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21137         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
21138         * sysdeps/mach/hurd/libc-lock.h: ...here.
21139         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21140         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
21141         * sysdeps/mach/bits/libc-lock.h: Move to ...
21142         * sysdeps/mach/libc-lock.h: ...here.
21143         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21144         * sysdeps/nptl/bits/libc-lock.h: Move to ...
21145         * sysdeps/nptl/libc-lock.h: ...here.
21146         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21147         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
21148         * sysdeps/nptl/libc-lockP.h: ...here.
21149         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
21150         * crypt/crypt_util.c: Include <libc-lock.h> instead of
21151         <bits/libc-lock.h>.
21152         * dirent/scandir-tail.c: Likewise.
21153         * dlfcn/dlerror.c: Likewise.
21154         * elf/dl-close.c: Likewise.
21155         * elf/dl-iteratephdr.c: Likewise.
21156         * elf/dl-lookup.c: Likewise.
21157         * elf/dl-open.c: Likewise.
21158         * elf/dl-support.c: Likewise.
21159         * elf/dl-writev.h: Likewise.
21160         * elf/rtld.c: Likewise.
21161         * grp/fgetgrent.c: Likewise.
21162         * gshadow/fgetsgent.c: Likewise.
21163         * gshadow/sgetsgent.c: Likewise.
21164         * iconv/gconv_conf.c: Likewise.
21165         * iconv/gconv_db.c: Likewise.
21166         * iconv/gconv_dl.c: Likewise.
21167         * iconv/gconv_int.h: Likewise.
21168         * iconv/gconv_trans.c: Likewise.
21169         * include/link.h: Likewise.
21170         * inet/getnameinfo.c: Likewise.
21171         * inet/getnetgrent.c: Likewise.
21172         * inet/getnetgrent_r.c: Likewise.
21173         * intl/bindtextdom.c: Likewise.
21174         * intl/dcigettext.c: Likewise.
21175         * intl/finddomain.c: Likewise.
21176         * intl/gettextP.h: Likewise.
21177         * intl/loadmsgcat.c: Likewise.
21178         * intl/localealias.c: Likewise.
21179         * intl/textdomain.c: Likewise.
21180         * libidn/idn-stub.c: Likewise.
21181         * libio/libioP.h: Likewise.
21182         * locale/duplocale.c: Likewise.
21183         * locale/freelocale.c: Likewise.
21184         * locale/newlocale.c: Likewise.
21185         * locale/setlocale.c: Likewise.
21186         * login/getutent_r.c: Likewise.
21187         * login/getutid_r.c: Likewise.
21188         * login/getutline_r.c: Likewise.
21189         * login/utmp-private.h: Likewise.
21190         * login/utmpname.c: Likewise.
21191         * malloc/mtrace.c: Likewise.
21192         * misc/efgcvt.c: Likewise.
21193         * misc/error.c: Likewise.
21194         * misc/fstab.c: Likewise.
21195         * misc/getpass.c: Likewise.
21196         * misc/mntent.c: Likewise.
21197         * misc/syslog.c: Likewise.
21198         * nis/nis_call.c: Likewise.
21199         * nis/nis_callback.c: Likewise.
21200         * nis/nss-default.c: Likewise.
21201         * nis/nss_compat/compat-grp.c: Likewise.
21202         * nis/nss_compat/compat-initgroups.c: Likewise.
21203         * nis/nss_compat/compat-pwd.c: Likewise.
21204         * nis/nss_compat/compat-spwd.c: Likewise.
21205         * nis/nss_nis/nis-alias.c: Likewise.
21206         * nis/nss_nis/nis-ethers.c: Likewise.
21207         * nis/nss_nis/nis-grp.c: Likewise.
21208         * nis/nss_nis/nis-hosts.c: Likewise.
21209         * nis/nss_nis/nis-network.c: Likewise.
21210         * nis/nss_nis/nis-proto.c: Likewise.
21211         * nis/nss_nis/nis-pwd.c: Likewise.
21212         * nis/nss_nis/nis-rpc.c: Likewise.
21213         * nis/nss_nis/nis-service.c: Likewise.
21214         * nis/nss_nis/nis-spwd.c: Likewise.
21215         * nis/nss_nisplus/nisplus-alias.c: Likewise.
21216         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21217         * nis/nss_nisplus/nisplus-grp.c: Likewise.
21218         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21219         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21220         * nis/nss_nisplus/nisplus-network.c: Likewise.
21221         * nis/nss_nisplus/nisplus-proto.c: Likewise.
21222         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21223         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21224         * nis/nss_nisplus/nisplus-service.c: Likewise.
21225         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21226         * nis/ypclnt.c: Likewise.
21227         * nptl/libc_pthread_init.c: Likewise.
21228         * nss/getXXbyYY.c: Likewise.
21229         * nss/getXXent.c: Likewise.
21230         * nss/getXXent_r.c: Likewise.
21231         * nss/nss_db/db-XXX.c: Likewise.
21232         * nss/nss_db/db-netgrp.c: Likewise.
21233         * nss/nss_db/nss_db.h: Likewise.
21234         * nss/nss_files/files-XXX.c: Likewise.
21235         * nss/nss_files/files-alias.c: Likewise.
21236         * nss/nsswitch.c: Likewise.
21237         * posix/regex_internal.h: Likewise.
21238         * posix/wordexp.c: Likewise.
21239         * pwd/fgetpwent.c: Likewise.
21240         * resolv/res_hconf.c: Likewise.
21241         * resolv/res_libc.c: Likewise.
21242         * shadow/fgetspent.c: Likewise.
21243         * shadow/lckpwdf.c: Likewise.
21244         * shadow/sgetspent.c: Likewise.
21245         * socket/opensock.c: Likewise.
21246         * stdio-common/reg-modifier.c: Likewise.
21247         * stdio-common/reg-printf.c: Likewise.
21248         * stdio-common/reg-type.c: Likewise.
21249         * stdio-common/vfprintf.c: Likewise.
21250         * stdio-common/vfscanf.c: Likewise.
21251         * stdlib/abort.c: Likewise.
21252         * stdlib/cxa_atexit.c: Likewise.
21253         * stdlib/fmtmsg.c: Likewise.
21254         * stdlib/random.c: Likewise.
21255         * stdlib/setenv.c: Likewise.
21256         * string/strsignal.c: Likewise.
21257         * sunrpc/auth_none.c: Likewise.
21258         * sunrpc/bindrsvprt.c: Likewise.
21259         * sunrpc/create_xid.c: Likewise.
21260         * sunrpc/key_call.c: Likewise.
21261         * sunrpc/rpc_thread.c: Likewise.
21262         * sysdeps/arm/backtrace.c: Likewise.
21263         * sysdeps/generic/ldsodefs.h: Likewise.
21264         * sysdeps/generic/stdio-lock.h: Likewise.
21265         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21266         * sysdeps/i386/backtrace.c: Likewise.
21267         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21268         * sysdeps/m68k/backtrace.c: Likewise.
21269         * sysdeps/mach/hurd/cthreads.c: Likewise.
21270         * sysdeps/mach/hurd/dirstream.h: Likewise.
21271         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21272         * sysdeps/nptl/malloc-machine.h: Likewise.
21273         * sysdeps/nptl/stdio-lock.h: Likewise.
21274         * sysdeps/posix/dirstream.h: Likewise.
21275         * sysdeps/posix/getaddrinfo.c: Likewise.
21276         * sysdeps/posix/system.c: Likewise.
21277         * sysdeps/pthread/aio_suspend.c: Likewise.
21278         * sysdeps/s390/s390-32/backtrace.c: Likewise.
21279         * sysdeps/s390/s390-64/backtrace.c: Likewise.
21280         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21281         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21282         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21283         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21284         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21285         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21286         * sysdeps/unix/sysv/linux/system.c: Likewise.
21287         * sysdeps/x86_64/backtrace.c: Likewise.
21288         * time/alt_digit.c: Likewise.
21289         * time/era.c: Likewise.
21290         * time/tzset.c: Likewise.
21291         * wcsmbs/wcsmbsload.c: Likewise.
21292         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21293         instead of <bits/libc-lock.h> in comment.
21295 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
21297         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21298         Only use .set mips2 if the current ISA is below mips2.
21299         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21300         Likewise.
21301         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21302         mips32r2 if the current ISA is below mips32r2.
21303         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21304         (TLS_IE): Updated to use the TLD_RDHWR macro.
21305         (TLS_LE): Likewise.
21306         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21307         __ASSEMBLER__ condition.
21309 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21311         Fix parallel build of before-compile targets.
21313         * sysdeps/mach/Makefile ($(patsubst
21314         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21315         mach-before-compile target.
21316         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21317         io fs process)): Move rule to dedicated hurd-before-compile target.
21319 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21321         Fix rules generating headers in hurd/ and mach/ when initial make call
21322         has subdir= explicitly set.
21324         * sysdeps/mach/Makefile ($(patsubst
21325         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21326         calling $(MAKE).
21327         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21328         io fs process)): Force subdir to hurd when calling $(MAKE).
21329         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21330         subdir to mach when calling $(MAKE).
21332 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
21334         Check sysheaders when looking for Mach and Hurd headers
21336         * sysdeps/mach/configure.ac: Add sysheaders check.
21337         * sysdeps/mach/configure: Regenerate.
21338         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21339         * sysdeps/mach/hurd/configure: Regenerate.
21341 2015-09-04  Roland McGrath  <roland@hack.frob.com>
21343         [BZ #18921]
21344         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21345         Fix inverted sense of test of 'o_directory_works' value.
21346         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21347         Bernhard Voelker <mail@bernhard-voelker.de>.
21349 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21351         [BZ #14912]
21352         * bits/linkmap.h: Move to ...
21353         * sysdeps/generic/linkmap.h: ...here.
21354         * sysdeps/aarch64/bits/linkmap.h: Move to ...
21355         * sysdeps/aarch64/linkmap.h: ...here.
21356         * sysdeps/arm/bits/linkmap.h: Move to ...
21357         * sysdeps/arm/linkmap.h: ...here.
21358         * sysdeps/hppa/bits/linkmap.h: Move to ...
21359         * sysdeps/hppa/linkmap.h: ...here.
21360         * sysdeps/ia64/bits/linkmap.h: Move to ...
21361         * sysdeps/ia64/linkmap.h: ...here.
21362         * sysdeps/mips/bits/linkmap.h: Move to ...
21363         * sysdeps/mips/linkmap.h: ...here.
21364         * sysdeps/s390/bits/linkmap.h: Move to ...
21365         * sysdeps/s390/linkmap.h: ...here.
21366         * sysdeps/sh/bits/linkmap.h: Move to ...
21367         * sysdeps/sh/linkmap.h: ...here.
21368         * sysdeps/x86/bits/linkmap.h: Move to ...
21369         * sysdeps/x86/linkmap.h: ...here.
21370         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21372 2015-09-04  Andreas Schwab  <schwab@suse.de>
21374         [BZ #18635]
21375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21376         (__makecontext): Terminate FDE before return label.
21377         (__novec_makecontext): Likewise.
21379 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21381         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21382         first member of struct sv in syscall macro.
21384 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21386         [BZ #14912]
21387         * bits/stdio-lock.h: Move to ...
21388         * sysdeps/generic/stdio-lock.h: ...here.
21389         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21390         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21391         * sysdeps/nptl/stdio-lock.h: ...here.
21392         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21393         * include/libio.h: Include <stdio-lock.h> instead of
21394         <bits/stdio-lock.h>.
21395         * sysdeps/nptl/fork.c: Likewise.
21396         * sysdeps/pthread/flockfile.c: Likewise.
21397         * sysdeps/pthread/ftrylockfile.c: Likewise.
21398         * sysdeps/pthread/funlockfile.c: Likewise.
21400         [BZ #14912]
21401         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21402         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21403         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21404         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21405         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21406         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21407         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21409 2015-09-03  Roland McGrath  <roland@hack.frob.com>
21411         * elf/Makefile (test-xfail-tst-protected1a): New variable.
21412         (test-xfail-tst-protected1b): New variable.
21414 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
21416         [BZ #14912]
21417         * bits/libc-tsd.h: Move to ...
21418         * sysdeps/generic/libc-tsd.h: ...here.
21419         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21420         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21421         * sysdeps/mach/hurd/libc-tsd.h: ...here.
21422         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21423         * include/ctype.h: Include <libc-tsd.h> instead of
21424         <bits/libc-tsd.h>.
21425         * include/rpc/rpc.h: Likewise.
21426         * locale/localeinfo.h: Likewise.
21427         * sunrpc/rpc_thread.c: Likewise.
21428         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21429         * sysdeps/nptl/malloc-machine.h: Likewise.
21431         * Makefile (headers): Remove bits/libc-lock.h.
21432         * libio/Makefile (headers): Remove bits/stdio-lock.h.
21434         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21435         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21436         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21437         <bits/stdio-lock.h>.
21438         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21439         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21441 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21443         [BZ #18757]
21444         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21445         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21446         BZ #18757.
21448 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21450         * malloc/mtrace.pl: Filter out NULL entries.
21452 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
21454         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21455         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21456         macro.
21458         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21459         (TCP_CC_INFO): Likewise.
21460         (TCP_SAVE_SYN): Likewise.
21461         (TCP_SAVED_SYN): Likewise.
21463 2015-08-31  Brett Neumeier <brett@neumeier.us>
21465         [BZ #18870]
21466         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21468 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
21470         [BZ #18873]
21471         Fix broken overflow check in posix_fallocate
21472         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21473         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21474         Fix parenthesization typo.
21476 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
21478         [BZ #18887]
21479         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21480         tst-mntent-blank-passno.
21481         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21482         * misc/tst-mntent-blank-corrupt.c: New test.
21483         * misc/tst-mntent-blank-passno.c: New test ripped from ...
21484         * misc/tst-mntent.c (do_test): ... here.
21486 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
21488         [BZ #4404]
21489         * po/de.po: Fix SIGALRM typo.
21491 2015-08-28  James Perkins  <james@loowit.net>
21493         * time/tst-strptime2.c (tests): Replace short list of test
21494         strings for strptime %z specifier with code which exhaustively
21495         tests every combination of sign and 0 to 5 digits. Tests for
21496         rejection of invalid strings.
21498 2015-08-28  James Perkins  <james@loowit.net>
21500         [BZ #16141]
21501         * time/strptime_l.c (__strptime_internal): Fix %z minutes
21502         calculation, removing incorrect decimal time rounding, so that
21503         all minute values result in a valid seconds value.
21504         * time/strptime_l.c (__strptime_internal): Extend %z time zone
21505         offset range limits to UTC-99:59 through UTC+99:59 to parse
21506         current and historical use cases.
21507         * time/tst-strptime2.c (tests): Modify and add tests for the
21508         strptime %z input field descriptor, specifically conversion of
21509         minutes to seconds and validating an offset range of -9959 to
21510         +9959.
21512 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21513             Dmitry V. Levin  <ldv@altlinux.org>
21515         [BZ #18877]
21516         * posix/Makefile (tests): Add tst-mmap-offset.
21517         * posix/tst-mmap.c: New file.
21518         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21519         offset calculation for negative values.
21521 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21523         * sysdeps/i386/init-arch.h: New file.
21524         * sysdeps/i386/i586/init-arch.h: Likewise.
21525         * sysdeps/i386/i686/init-arch.h: Likewise.
21526         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21527         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
21528         * sysdeps/x86/cpu-features.h (bit_I586): New.
21529         (bit_I686): Likewise.
21530         (bit_CX8): Likewise.
21531         (bit_CMOV): Likewise.
21532         (index_CX8): Likewise.
21533         (index_CMOV): Likewise.
21534         (index_I586): Likewise.
21535         (index_I686): Likewise.
21536         (reg_CX8): Likewise.
21537         (reg_CMOV): Likewise.
21538         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21539         available at compile-time.
21540         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21541         available at compile-time.
21542         * sysdeps/x86/init-arch.h (USE_I586): New macro.
21543         (USE_I686): Likewise.
21545 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21547         * sysdeps/i386/bcopy.S: New file.
21548         * sysdeps/i386/bzero.S: Likewise.
21549         * sysdeps/i386/memcpy.S: Likewise.
21550         * sysdeps/i386/memmove.S: Likewise.
21551         * sysdeps/i386/mempcpy.S: Likewise.
21552         * sysdeps/i386/memset.S: Likewise.
21553         * sysdeps/i386/bzero.c: Removed.
21554         * sysdeps/i386/memset.c: Likewise.
21555         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21556         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21557         * sysdeps/i386/i586/memset_chk.S: Likewise.
21558         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21559         * sysdeps/i386/memcpy_chk.S: Here.
21560         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21561         * sysdeps/i386/memmove_chk.S: Here.
21562         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21563         * sysdeps/i386/mempcpy_chk.S: Likewise.
21564         * sysdeps/i386/i686/memset_chk.S: Moved to ...
21565         * sysdeps/i386/memset_chk.S: Likewise.
21567 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
21569         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21570         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21571         file, move DIAG_POP_NEEDS_COMMENT to end of file.
21572         * soft-fp/fmadf4.c: Ditto.
21573         * soft-fp/fmatf4.c: Ditto.
21575 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21577         * sysdeps/i386/i586/Implies: Removed.
21578         * sysdeps/i386/i686/Implies: Likewise.
21580 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21582         * sysdeps/i386/i486/strlen.S: Moved to ...
21583         * sysdeps/i386/strlen.S: Here.
21585 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21587         * sysdeps/i386/i486/strcat.S: Moved to ...
21588         * sysdeps/i386/strcat.S: Here.
21590 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21592         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21593         * sysdeps/i386/pthread_spin_trylock.S: Here.
21594         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21595         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21597 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21599         * sysdeps/i386/i486/string-inlines.c: Moved to ...
21600         * sysdeps/i386/string-inlines.c: Here.
21602 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21604         * sysdeps/i386/i486/htonl.S: Moved ...
21605         * sysdeps/i386/htonl.S: here.
21607 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21609         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21610         * sysdeps/i386/bits/atomic.h: Here.
21612 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21614         * sysdeps/i386/i486/Versions: Removed.
21616 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21618         [BZ #2898]
21619         * misc/mktemp.c: Add mkdtemp to the link_warning message.
21620         Based on patch by Aurelien Jarno.
21622 2015-08-26  Stan Shebs  <stanshebs@google.com>
21624         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21625         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21627 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21629         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21630         * sysdeps/powerpc/dl-procinfo.c:
21631         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21632         feature so it shows when LD_SHOW_AUXV=1.
21634 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21636         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21637         (__arch_compare_and_exchange_val_32_acq): Remove and use common
21638         definition.  ISA 2.07B no longer requires full sync.
21640 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
21642         [BZ #18863]
21643         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21644         (si_call_addr): Define.
21645         (si_syscall): Define.
21646         (si_arch): Define.
21648 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
21650         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21651         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21652         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21653         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21654         (__memset_zero_constant_len_parameter): New.
21655         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21656         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21657         (__memset_zero_constant_len_parameter): Don't define if
21658         __memset_chk or USE_AS_BZERO are defined.
21660         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21661         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21662         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21664         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21665         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21666         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21667         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
21668         comments.
21669         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21670         -mno-mmx for $(all-rtld-routines).
21671         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21672         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
21673         i386.
21675 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21677         * sysdeps/generic/unwind.h
21678         (_Unwind_Word): Use __mode__(__unwind_word__)
21679         instead of __mode__(__word__).
21680         (_Unwind_Sword): Likewise.
21682         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21683         (MAX_NEEDED_INPUT): New define.
21684         (MAX_NEEDED_OUTPUT): New define.
21686         * NEWS: New item for IBM z13 string optimizations.
21688         * sysdeps/s390/multiarch/memrchr-c.c: New File.
21689         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21690         * sysdeps/s390/multiarch/memrchr.c: Likewise.
21691         * sysdeps/s390/multiarch/Makefile
21692         (sysdep_routines): Add memrchr functions.
21693         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21694         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21696         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21697         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21698         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21699         * sysdeps/s390/multiarch/Makefile
21700         (sysdep_routines): Add wmemcmp functions.
21701         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21702         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21703         * benchtests/bench-wmemcmp.c: New File.
21704         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21706         * sysdeps/s390/multiarch/wmemset-c.c: New File.
21707         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21708         * sysdeps/s390/multiarch/wmemset.c: Likewise.
21709         * sysdeps/s390/multiarch/Makefile
21710         (sysdep_routines): Add wmemset functions.
21711         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21712         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21713         * wcsmbs/wmemset.c: Use WMEMSET if defined.
21714         * string/test-memset.c: Add wmemset support.
21715         * wcsmbs/test-wmemset.c: New File.
21716         * wcsmbs/Makefile (strop-tests): Add wmemset.
21717         * benchtests/bench-memset.c: Add wmemset support.
21718         * benchtests/bench-wmemset.c: New File.
21719         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21721         * sysdeps/s390/multiarch/memccpy-c.c: New File.
21722         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21723         * sysdeps/s390/multiarch/memccpy.c: Likewise.
21724         * sysdeps/s390/multiarch/Makefile
21725         (sysdep_routines): Add memccpy functions.
21726         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21727         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21728         * string/memccpy.c: Use MEMCCPY if defined.
21730         * sysdeps/s390/multiarch/memchr-vx.S: New File.
21731         * sysdeps/s390/multiarch/memchr.c: Likewise.
21732         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21733         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21734         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21735         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21736         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21737         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21738         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21739         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21740         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21741         and rawmemchr functions.
21742         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21743         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21744         and wmemchr.
21745         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21746         * string/test-memchr.c: Add wmemchr support.
21747         * wcsmbs/test-wmemchr.c: New File.
21748         * wcsmbs/Makefile (strop-tests): Add wmemchr.
21749         * benchtests/bench-memchr.c: Add wmemchr support.
21750         * benchtests/bench-wmemchr.c: New File.
21751         * benchtests/Makefile (wcsmbs-bench): wmemchr.
21753         * sysdeps/s390/multiarch/strcspn-c.c: New File.
21754         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21755         * sysdeps/s390/multiarch/strcspn.c: Likewise.
21756         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21757         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21758         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21759         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21760         wcscspn functions.
21761         * sysdeps/s390/multiarch/ifunc-impl-list.c
21762         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21763         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21764         * string/test-strcspn.c: Add wcscspn support.
21765         * wcsmbs/test-wcscspn.c: New File.
21766         * wcsmbs/Makefile (strop-tests): Add wcscspn.
21767         * benchtests/bench-strcspn.c: Add wcscspn support.
21768         * benchtests/bench-wcscspn.c: New File.
21769         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21771         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21772         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21773         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21774         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21775         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21776         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21777         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21778         wcspbrk functions.
21779         * sysdeps/s390/multiarch/ifunc-impl-list.c
21780         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21781         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21782         * string/test-strpbrk.c: Add wcspbrk support.
21783         * wcsmbs/test-wcspbrk.c: New File.
21784         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21785         * benchtests/bench-strpbrk.c: Add wcspbrk support.
21786         * benchtests/bench-wcspbrk.c: New File.
21787         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21789         * sysdeps/s390/multiarch/strspn-c.c: New File.
21790         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21791         * sysdeps/s390/multiarch/strspn.c: Likewise.
21792         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21793         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21794         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21795         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21796         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21797         wcsspn functions.
21798         * sysdeps/s390/multiarch/ifunc-impl-list.c
21799         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21800         * string/test-strspn.c: Add wcsspn support.
21801         * wcsmbs/test-wcsspn.c: New File.
21802         * wcsmbs/Makefile (strop-tests): Add wcsspn.
21803         * benchtests/bench-strspn.c: Add wcsspn support.
21804         * benchtests/bench-wcsspn.c: New File.
21805         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21807         * sysdeps/s390/multiarch/strrchr-c.c: New File.
21808         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21809         * sysdeps/s390/multiarch/strrchr.c: Likewise.
21810         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21811         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21812         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21813         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21814         wcsrchr functions.
21815         * sysdeps/s390/multiarch/ifunc-impl-list.c
21816         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21817         * benchtests/bench-wcsrchr.c: New File.
21818         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21820         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21821         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21822         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21823         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21824         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21825         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21826         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21827         wcschrnul functions.
21828         * sysdeps/s390/multiarch/ifunc-impl-list.c
21829         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21830         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21831         * string/test-strchr.c: Add wcschrnul support.
21832         * wcsmbs/test-wcschrnul.c: New File.
21833         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21834         * benchtests/bench-strchr.c: Add wcschrnul support.
21835         * benchtests/bench-wcschrnul.c: New File.
21836         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21838         * sysdeps/s390/multiarch/strchr-c.c: New File.
21839         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21840         * sysdeps/s390/multiarch/strchr.c: Likewise.
21841         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21842         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21843         * sysdeps/s390/multiarch/wcschr.c: Likewise.
21844         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21845         wcschr functions.
21846         * sysdeps/s390/multiarch/ifunc-impl-list.c
21847         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21848         * string/strchr.c (STRCHR): Define and use macro.
21849         * benchtests/bench-wcschr.c: New File.
21850         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21852         * sysdeps/s390/multiarch/strncmp-c.c: New File.
21853         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21854         * sysdeps/s390/multiarch/strncmp.c: Likewise.
21855         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21856         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21857         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21858         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21859         wcsncmp functions.
21860         * sysdeps/s390/multiarch/ifunc-impl-list.c
21861         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21862         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21863         * benchtests/bench-strncmp.c: Add wcsncmp support.
21864         * benchtests/bench-wcsncmp.c: New File.
21865         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21867         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21868         * sysdeps/s390/multiarch/strcmp.c: Likewise.
21869         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21870         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21871         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21872         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21873         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21874         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21875         wcscmp functions.
21876         * sysdeps/s390/multiarch/ifunc-impl-list.c
21877         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21878         * string/strcmp.c (STRCMP): Define and use macro.
21879         * benchtests/bench-wcscmp.c: New File.
21880         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21881         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21882         instead of _HAVE_STRING_ARCH_memchr.
21884         * sysdeps/s390/multiarch/strncat-c.c: New File.
21885         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21886         * sysdeps/s390/multiarch/strncat.c: Likewise.
21887         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21888         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21889         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21890         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21891         wcsncat functions.
21892         * sysdeps/s390/multiarch/ifunc-impl-list.c
21893         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21894         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21895         * string/test-strncat.c: Add wcsncat support.
21896         * wcsmbs/test-wcsncat.c: New File.
21897         * wcsmbs/Makefile (strop-tests): Add wcsncat.
21898         * benchtests/bench-strncat.c: Add wcsncat support.
21899         * benchtests/bench-wcsncat.c: New File.
21900         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21902         * sysdeps/s390/multiarch/strcat-c.c: New File.
21903         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21904         * sysdeps/s390/multiarch/strcat.c: Likewise.
21905         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21906         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21907         * sysdeps/s390/multiarch/wcscat.c: Likewise.
21908         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21909         wcscat functions.
21910         * sysdeps/s390/multiarch/ifunc-impl-list.c
21911         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21912         * string/strcat.c (STRCAT): Define and use macro.
21913         * wcsmbs/wcscat.c: Use WCSCAT if defined.
21914         * string/test-strcat.c: Add wcscat support.
21915         * wcsmbs/test-wcscat.c: New File.
21916         * wcsmbs/Makefile (strop-tests): Add wcscat.
21917         * benchtests/bench-strcat.c: Add wcscat support.
21918         * benchtests/bench-wcscat.c: New File.
21919         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21921         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21922         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21923         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21924         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21925         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21926         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21927         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21928         wcpncpy functions.
21929         * sysdeps/s390/multiarch/ifunc-impl-list.c
21930         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21931         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21932         * string/test-stpncpy.c: Add wcpncpy support.
21933         * wcsmbs/test-wcpncpy.c: New File.
21934         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21935         * benchtests/bench-stpncpy.c: Add wcpncpy support.
21936         * benchtests/bench-wcpncpy.c: New File.
21937         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21939         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21940         * sysdeps/s390/multiarch/strncpy.c: Likewise.
21941         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21942         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21943         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21944         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21945         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21946         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21947         wcsncpy functions.
21948         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21949         * sysdeps/s390/multiarch/ifunc-impl-list.c
21950         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21951         * string/test-strncpy.c: Add wcsncpy support.
21952         * wcsmbs/test-wcsncpy.c: New File.
21953         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21954         * benchtests/bench-strncpy.c: Add wcsncpy support.
21955         * benchtests/bench-wcsncpy.c: New File.
21956         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21958         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21959         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21960         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21961         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21962         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21963         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21964         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21965         wcpcpy functions.
21966         * string/stpcpy.c: Use STPCPY if defined.
21967         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21968         * sysdeps/s390/multiarch/ifunc-impl-list.c
21969         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21970         * string/test-stpcpy.c: Add wcpcpy support.
21971         * wcsmbs/test-wcpcpy.c: New File.
21972         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21973         * benchtests/bench-stpcpy.c: Add wcpcpy support.
21974         * benchtests/bench-wcpcpy.c: New File.
21975         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21977         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21978         * sysdeps/s390/multiarch/strcpy.c: Likewise.
21979         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21980         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21981         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21982         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21983         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21984         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21985         wcscpy functions.
21986         * sysdeps/s390/multiarch/ifunc-impl-list.c
21987         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21988         * benchtests/bench-wcscpy.c: New File.
21989         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21991         * sysdeps/s390/multiarch/strnlen-c.c: New File.
21992         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21993         * sysdeps/s390/multiarch/strnlen.c: Likewise.
21994         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21995         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21996         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21997         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21998         wcsnlen functions.
21999         * sysdeps/s390/multiarch/ifunc-impl-list.c
22000         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
22001         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
22002         * string/test-strnlen.c: Add wcsnlen support.
22003         * wcsmbs/test-wcsnlen.c: New File.
22004         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
22005         * benchtests/bench-strnlen.c: Add wcsnlen support.
22006         * benchtests/bench-wcsnlen.c: New File.
22007         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
22009         * sysdeps/s390/multiarch/Makefile: New File.
22010         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
22011         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
22012         * sysdeps/s390/multiarch/strlen.c: Likewise.
22013         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
22014         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
22015         * sysdeps/s390/multiarch/wcslen.c: Likewise.
22016         * string/strlen.c (STRLEN): Define and use macro.
22017         * sysdeps/s390/multiarch/ifunc-impl-list.c
22018         (IFUNC_VX_IMPL): New macro function.
22019         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
22020         * benchtests/Makefile (wcsmbs-bench): New variable.
22021         (string-bench-all): Added wcsmbs-bench.
22022         * benchtests/bench-wcslen.c: New File.
22024         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
22025         s390_vx_libc_ifunc2): New macro function.
22027         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
22028         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
22029         assembler support.
22030         * sysdeps/s390/configure: Regenerated.
22032         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
22033         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
22035         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
22036         * sysdeps/s390/dl-procinfo.h: Add vector capability.
22037         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
22039         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
22040         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
22041         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
22042         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
22043         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
22044         (memcmp, bcmp): Use __memcmp_default as alias source.
22045         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
22046         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
22047         Rename to __memcmp_default.
22048         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
22049         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
22050         (memcpy): Use __memcpy_default as alias source.
22051         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22052         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
22053         Rename to __memcpy_default.
22054         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
22055         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
22056         (memset): Use __memset_default as alias source.
22057         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
22058         * sysdeps/s390/s390-32/memset.S (__memset_g5):
22059         Rename to __memset_default.
22060         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
22061         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
22062         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
22063         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
22064         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
22065         (memcmp, bcmp): Use __memcmp_default as alias source.
22066         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
22067         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
22068         Rename to __memcmp_default.
22069         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
22070         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
22071         (memcpy): Use __memcpy_default as alias source.
22072         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
22073         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
22074         Rename to __memcpy_default.
22075         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
22076         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
22077         (memset): Use __memset_default as alias source.
22078         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
22079         * sysdeps/s390/s390-64/memset.S (__memset_z900):
22080         Rename to __memset_default.
22081         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
22082         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
22084         [BZ #18610]
22085         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
22086         __ieee_instruction_pointer to __unused.
22087         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
22088         __ieee_instruction_pointer.
22089         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
22090         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
22091         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22092         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22093         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
22094         Mark dxc-field as reserved.
22096 2015-08-25  Roland McGrath  <roland@hack.frob.com>
22098         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
22099         if the weak reference is not null.
22101 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22103         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
22105         [BZ #11214]
22106         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
22108 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22110         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
22111         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
22112         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
22113         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
22114         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
22115         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
22116         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
22117         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
22118         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
22119         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22120         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
22121         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
22122         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
22123         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
22124         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
22125         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
22126         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
22127         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
22129 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22131         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
22132         register other than r0 for tabort, it has special meaning.
22133         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
22134         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
22135         transaction before starting syscall.
22137 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22139         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
22141 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22143         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
22145         * sysdeps/x86_64/rtld-memcmp.c: Removed.
22146         * sysdeps/x86_64/rtld-memset.S: Likewise.
22147         * sysdeps/x86_64/rtld-strchr.S: Likewise.
22148         * sysdeps/x86_64/rtld-strlen.S: Likewise.
22149         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
22150         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22152         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
22154 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
22156         * debug/strcpy_chk.c: Improve performance.
22157         * debug/stpcpy_chk.c: Likewise.
22158         * sysdeps/x86_64/strcpy_chk.S: Remove.
22159         * sysdeps/x86_64/stpcpy_chk.S: Remove.
22161         [BZ #18240]
22162         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
22164 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22166         [BZ #15128]
22167         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
22168         ifuncmain8.
22169         (modules-names): Add ifuncmod8.
22170         ($(objpfx)ifuncmain8): New rule.
22171         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
22172         <cpuid.h>.
22173         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
22174         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
22175         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
22176         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
22177         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
22178         * sysdeps/x86_64/dl-trampoline.h: Likewise.
22179         * sysdeps/x86_64/ifuncmain8.c: New file.
22180         * sysdeps/x86_64/ifuncmod8.c: Likewise.
22181         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
22182         Removed.
22183         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
22184         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22185         Change rtld_savespace_sse to __glibc_unused2.
22186         (RTLD_CHECK_FOREIGN_CALL): Removed.
22187         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22188         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22189         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22191 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22193         * sysdeps/aarch64/bzero.S (__bzero): Remove.
22195 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22197         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22198         Unconditionally set __fpcr to avoid uninialized warning.
22199         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22201 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22203         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22204         is corrupt.
22206         * malloc/arena.c (arena_get2): Drop unused argument.
22207         (arena_lock): Adjust.
22208         (arena_get_retry): Likewise.
22210 2015-08-24  Andreas Schwab  <schwab@suse.de>
22212         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22213         Don't define.
22214         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22215         (__ASSUME_IPC64): Don't undef.
22216         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22217         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22218         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22219         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22220         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22221         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22222         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22223         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22224         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22225         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22226         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22227         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22228         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22229         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22230         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22231         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22232         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22233         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22234         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22235         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22236         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22238 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
22240         * manual/Makefile (install): Only build manual when perl is available.
22242 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22244         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22245         '#undef memcpy' by '#undef memchr'.
22247 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22249         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22250         memchr not point to the internal __GI_memchr implementation.
22252 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22254         * timezone/Makefile (CFLAGS-zdump.c): Remove
22255         -Wno-strict-prototypes.
22256         (CFLAGS-zic.c): Likewise.
22257         (CFLAGS-ialloc.c): Likewise.
22258         (CFLAGS-scheck.c): Likewise.
22260         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22261         -Wno-error=undef.
22263 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22265         * i386/i686/multiarch/strcasestr-c.c: Removed.
22266         * x86_64/multiarch/strcasestr.c: Likewise.
22267         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22268         Remove strcasestr.
22270 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22272         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22274         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22275         variables for high and low parts before possibly modifying them.
22277 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22279         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22280         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22281         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22282         of "multiarch/init-arch.h".
22283         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22284         * sysdeps/x86/init-arch.h: This.
22286 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22288         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22289         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22291 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
22293         [BZ #17787]
22294         * manual/macros.texi: Add twoexp macro.
22295         * manual/filesys.texi: Fix exponents.
22296         * manual/llio.texi: Likewise.
22297         * manual/stdio.texi: Likewise.
22299 2015-08-20  Florian Weimer  <fweimer@redhat.com>
22301         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22302         incorrect use.
22304 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22306         [BZ #18370]
22307         * math/s_csqrt.c (__csqrt): Force underflow exception for results
22308         whose real or imaginary part has small absolute value.
22309         * math/s_csqrtf.c (__csqrtf): Likewise.
22310         * math/s_csqrtl.c (__csqrtl): Likewise.
22311         * math/auto-libm-test-in: Add more tests of csqrt.
22312         * math/auto-libm-test-out: Regenerated.
22313         * sysdeps/i386/fpu/libm-test-ulps: Update.
22315 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22317         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22318         __ppc_set_ppr_very_low): New functions.
22319         * manual/platform.texi: Add documentation about
22320         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22322 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
22324         * string/stpncpy.c (stpncpy): Improve performance using
22325         __strnlen/memcpy/memset.
22327 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22329         [BZ #18796]
22330         * scripts/test-installation.pl: Don't add -lmvec to build options if
22331         libmvec wasn't built.
22333 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22335         [BZ #14341]
22336         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22337         case when there is a gap between DT_REL and DT_JMPREL sections.
22338         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22339         (LDFLAGS-tst-split-dynreloc): New.
22340         (tst-split-dynreloc-ENV): Likewise.
22341         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22342         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22344 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22346         [BZ #18822]
22347         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22348         attribute_hidden.
22349         (__xstat64_conv): Likewise.
22350         (__xstat32_conv): Likewise.
22352 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22354         [BZ #18822]
22355         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22356         Don't load %ebx when calling __setcontext.  Call __setcontext
22357         with HIDDEN_JUMPTARGET.
22358         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22359         libc_hidden_def.
22361 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22363         * sysdeps/i386/i686/Makefile
22364         [$(subdir) == string] (sysdep_routines): Moved to ...
22365         * sysdeps/i386/Makefile: Here.
22366         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22367         * sysdeps/i386/cacheinfo.c: Here.
22368         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22369         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22370         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22371         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22373 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22375         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22376         __i586__ is defined.
22377         (HAS_I686): Defined to 1 if __i686__ is defined.
22379 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22381         * elf/Makefile [$(have-z-execstack) = yes]
22382         (CPPFLAGS-tst-execstack.c): New variable.
22384         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22385         conditional to [defined UTMPX || _HAVE_UT_TYPE].
22386         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22387         UTMPX || _HAVE_UT_TV].
22388         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22389         UTMPX || _HAVE_UT_TV - 0].
22391 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
22393         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22394         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22395         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22397 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22399         * sysdeps/powerpc/dl-procinfo.c:
22400         (_dl_powerpc_cap_flags): Added missing strings for some
22401         hwcap features.
22402         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22404 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
22406         Port the 0x7efe...feff pattern to GCC 6.
22407         See Steve Ellcey's bug report in:
22408         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22409         * string/memrchr.c (MEMRCHR):
22410         * string/rawmemchr.c (RAWMEMCHR):
22411         * string/strchr.c (strchr):
22412         * string/strchrnul.c (STRCHRNUL):
22413         Rewrite code to avoid issues with signed shift overflow.
22415 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
22417         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22418         whether cpuid is available only if HAS_CPUID is 0.
22419         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22420         (HAS_I586): Likewise.
22421         (HAS_I686): Likewise.
22423 2015-08-18  Zack Weinberg  <zackw@panix.com>
22425         * misc/Versions (libc): Add GLIBC_2.23.
22427 2015-08-18  Alan Modra  <amodra@gmail.com>
22429         [BZ #18421]
22430         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22431         .Lp__global.
22432         (_start): Load %dp via .Lp__global.
22433         [!SHARED]: Use .section .rodata.
22435 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22437         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22438         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22440 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22442         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22443         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22445 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22447         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22448         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22450 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22452         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22453         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22455 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22457         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22458         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22460 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22462         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22463         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22465 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22467         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22469 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22471         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22472         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
22473         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22474         (__ASSUME_LWS_CAS): Delete.
22476 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22478         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22479         * sysdeps/hppa/configure: Regenerated.
22480         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22481         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22482         * sysdeps/hppa/nptl/tls.h: Likewise.
22484 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
22486         [BZ #18823]
22487         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22488         for scaling up small arguments.
22489         * math/s_csqrtf.c (__csqrtf): Likewise.
22490         * math/s_csqrtl.c (__csqrtl): Likewise.
22491         * math/auto-libm-test-in: Add more tests of csqrt.
22492         * math/auto-libm-test-out: Regenerated.
22494 2015-08-17  Andreas Schwab  <schwab@suse.de>
22496         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22497         version set GLIBC_2.19.
22499 2015-08-16  Zack Weinberg  <zackw@panix.com>
22501         [BZ #18681]
22502         * misc/regexp.h: This interface is no longer supported.
22503         Remove all contents, leaving only an #error directive.
22504         * misc/regexp.c (loc1, loc2, locs, step, advance):
22505         Demote to compatibility symbols.
22507 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
22509         [BZ #18084]
22510         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22511         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22512         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22513         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22514         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22515         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22516         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22517         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22518         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22520 2015-08-15  Zack Weinberg  <zackw@panix.com>
22522         [BZ #18795]
22523         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22524         buffer length is known to be too large, not if it's known to be
22525         small enough.
22526         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22527         overflow at runtime, involving a length parameter, twice: once
22528         with a compile-time constant length parameter, once without.
22530 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
22532         [BZ #18824]
22533         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22534         scaling x * y up instead of down.
22535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22536         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22537         * math/auto-libm-test-in: Add more tests of fma.
22538         * math/auto-libm-test-out: Regenerated.
22540 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22542         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22544 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22546         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22547         unnecessary movq.
22548         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22549         Likewise.
22551 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
22553         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22554         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22555         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22556         and tgamma.
22557         * math/auto-libm-test-out: Regenerated.
22558         * sysdeps/i386/fpu/libm-test-ulps: Update.
22559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22561         [BZ #16520]
22562         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22563         (__tanh): Force underflow exception for arguments with small
22564         absolute value.
22565         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22566         (__tanhf): Force underflow exception for arguments with small
22567         absolute value.
22568         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22569         (__tanhl): Force underflow exception for arguments with small
22570         absolute value.
22571         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22572         (__tanhl): Force underflow exception for arguments with small
22573         absolute value.
22574         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22575         (__tanhl): Force underflow exception for arguments with small
22576         absolute value.
22577         * math/auto-libm-test-in: Add more tests of tanh.
22578         * math/auto-libm-test-out: Regenerated.
22579         * sysdeps/i386/fpu/libm-test-ulps: Update.
22581 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22583         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22584         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22586 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22588         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22589         <cpuid.h>.
22591 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22593         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22594         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22596 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22598         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22599         Remove $(objpfx)init-arch.o.
22600         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22601         init-arch.
22602         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22603         (INIT_ARCH_EXT): Defined as empty.
22604         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22605         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22606         __init_cpu_features call.  Replace HAS_XXX with
22607         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22608         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22609         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22610         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22611         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22612         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22613         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22614         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22615         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22616         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22617         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22618         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22619         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22620         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22621         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22622         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22623         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22624         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22625         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22626         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22627         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22628         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22630         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22631         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22632         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22633         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22634         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22635         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22636         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22637         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22638         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22639         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22640         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22641         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22642         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22644 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22646         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22647         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22648         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22649         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22650         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22651         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22652         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22653         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22654         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22655         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22656         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22657         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
22658         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22659         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22660         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22661         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22662         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22663         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22664         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22665         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22666         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22667         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22668         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22669         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22670         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22671         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22672         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22673         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22674         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22675         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22676         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22677         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22678         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22679         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22680         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22681         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22682         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22683         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22684         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22685         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22686         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22687         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22688         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22690 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22692         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22693         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22694         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22695         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22696         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22697         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22698         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22699         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22700         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22701         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22702         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22703         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22704         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22705         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22706         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22707         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22708         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22709         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22710         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22711         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22712         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22713         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22714         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22715         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22716         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22717         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22718         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22719         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
22720         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22721         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22722         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22723         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22724         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22725         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22726         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22727         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22728         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22729         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22730         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22731         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22732         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22733         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22734         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22736 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22738         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22739         (dl_platform_init): Call init_cpu_features.
22740         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22741         * sysdeps/i386/i686/cacheinfo.c
22742         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22743         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22744         * sysdeps/i386/i686/multiarch/Versions: Removed.
22745         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22746         Removed.
22747         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22748         * sysdeps/unix/sysv/linux/x86/Makefile
22749         (libpthread-sysdep_routines): Remove init-arch.
22750         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22751         <sysdeps/x86_64/dl-procinfo.c> instead of
22752         sysdeps/generic/dl-procinfo.c>.
22753         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22754         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22755         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22756         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22757         [$(subdir) == elf] (tests-static): Add
22758         tst-get-cpu-features-static.
22759         * sysdeps/x86/Versions: New file.
22760         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22761         * sysdeps/x86/cpu-features.c: Likewise.
22762         * sysdeps/x86/cpu-features.h: Likewise.
22763         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22764         * sysdeps/x86/libc-start.c: Likewise.
22765         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22766         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22767         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22768         * sysdeps/x86_64/dl-procinfo.c: Likewise.
22769         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22770         Assume USE_MULTIARCH is defined and don't check it.
22771         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22772         (is_amd): Likewise.
22773         (max_cpuid): Likewise.
22774         (intel_check_word): Likewise.
22775         (__cache_sysconf): Don't call __init_cpu_features.
22776         (__x86_preferred_memory_instruction): Removed.
22777         (init_cacheinfo): Don't call __init_cpu_features. Replace
22778         __cpu_features with GLRO(dl_x86_cpu_features).
22779         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22780         (dl_platform_init): Call init_cpu_features.
22781         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22782         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22783         * sysdeps/x86_64/multiarch/Versions: Removed.
22784         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22785         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22786         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22787         Removed.
22788         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22790 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22792         [BZ #18820]
22793         * libio/Makefile (test-fmemopen-mem): New test.
22794         * libio/test-fmemopen.c (do_bz18820): New test.
22795         * libio/fmemopen.c (__fmemopen): Fix memory leak.
22796         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22798 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22800         [BZ #16734]
22801         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22802         (FREE_BUF): Delete.
22803         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22804         * libio/genops.c (_IO_setb): Use malloc and free directly.
22805         (_IO_default_doallocate, _IO_default_finish): Likewise.
22806         ( _IO_unbuffer_all): Likewise.
22807         ( libc_freeres_fn): Likewise.
22808         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22809         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22810         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22811         (_IO_wdefault_doallocate): Likewise.
22813 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22815         [BZ #18086]
22816         * sysdeps/posix/nice.c (nice): Restore old errno.
22817         * posix/tst-nice.c (do_test): Add test for BZ #18086.
22819 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
22821         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22823 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22825         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22826         __bcopy and add a weak_alias to bcopy.
22827         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22828         for static build.
22830         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22831         cleanup macro usage.
22832         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22833         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22834         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22835         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22836         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22837         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22838         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22839         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22840         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22841         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22842         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22843         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22844         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22845         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22846         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22847         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22848         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22849         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22850         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22852         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22853         libc_hidden_def.
22854         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22856         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22857         (sysdep_routines): Add strstr-ppc64.
22858         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22860 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
22862         [BZ #18778]
22863         * elf/Makefile (tests): Add Add tst-nodelete2.
22864         (modules-names): Add tst-nodelete2mod.
22865         (tst-nodelete2mod.so-no-z-defs): New.
22866         ($(objpfx)tst-nodelete2): Likewise.
22867         ($(objpfx)tst-nodelete2.out): Likewise.
22868         (LDFLAGS-tst-nodelete2): Likewise.
22869         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22870         out of loop through all loaded libraries.
22871         * elf/tst-nodelete2.c: New file.
22872         * elf/tst-nodelete2mod.c: Likewise.
22873         * elf/tst-znodelete-zlib.cc: Delete.
22875 2015-08-11  Andreas Schwab  <schwab@suse.de>
22877         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22878         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22879         (__openat64_nocancel): Likewise.
22881 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
22883         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22884         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22885         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22886         * math/auto-libm-test-out: Regenerated.
22887         * sysdeps/i386/fpu/libm-test-ulps: Update.
22888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22890 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22892         [BZ #18790]
22893         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22894         threshold for returning +/- 1.
22895         * math/auto-libm-test-in: Add more tests of tanh.
22896         * math/auto-libm-test-out: Regenerated.
22897         * sysdeps/i386/fpu/libm-test-ulps: Update.
22899 2015-08-10  Andreas Schwab  <schwab@suse.de>
22901         [BZ #18781]
22902         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22903         MORE_OFLAGS to oflag.
22904         * io/test-lfs.c (do_test): Test openat64.
22906 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22908         [BZ #18789]
22909         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22910         smaller threshold for returning the argument.
22911         * math/auto-libm-test-in: Add more tests of sinh.
22912         * math/auto-libm-test-out: Regenerated.
22913         * sysdeps/i386/fpu/libm-test-ulps: Update.
22915 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22917         [BZ #18674]
22918         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22919         break.
22921 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22923         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22924         (generated): Don't add $(addprefix z.,$(tzfiles)).
22926 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22928         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22929         * scripts/sysd-rules.awk: Likewise.
22931 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22933         * iconvdata/tst-tables.sh: Change echo -n to printf.
22934         * nss/db-Makefile: Likewise.
22935         * posix/tst-getconf.sh: Likewise.
22936         * stdio-common/tst-unbputc.sh: Likewise.
22938 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22940         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22941         MADV_*_PAGES defines behind this feature check.
22943 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
22945         [BZ #18480]
22946         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22947         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22948         Define.
22949         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22950         LOAD_REGS_5, LOAD_REGS_6): Update.
22951         (INTERNAL_SYSCALL): Update using new LOAD defines.
22952         (INTERNAL_SYSCALL_NCS): Likewise.
22953         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22955 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22957         [BZ #16734]
22958         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22960 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22962         [BZ #17905]
22963         * catgets/Makefile (tst-catgets-mem): New test.
22964         * catgets/catgets.c (catopen): Don't use unbounded alloca.
22965         * catgets/open_catalog.c (__open_catalog): Likewise.
22966         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22968 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
22970         [BZ #18787]
22971         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22972         clobber registers.
22973         (atomic_compare_and_exchange_val_acq): Use register asms to assign
22974         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
22975         Cast return to __typeof (oldval).
22977 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
22979         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22980         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
22981         and delete sys/syscall.h include.
22983 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
22985         [BZ #16517]
22986         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22987         (tan): Force underflow exception for arguments with small absolute
22988         value.
22989         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22990         (__kernel_tanf): Force underflow exception for arguments with
22991         small absolute value.
22992         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22993         (__kernel_tanl): Force underflow exception for arguments with
22994         small absolute value.
22995         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22996         (__kernel_tanl): Force underflow exception for arguments with
22997         small absolute value.
22998         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22999         (__kernel_tanl): Force underflow exception for arguments with
23000         small absolute value.
23001         * math/auto-libm-test-in: Add more tests of tan.
23002         * math/auto-libm-test-out: Regenerated.
23004 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23006         Fix sysdeps/i386/fpu/s_scalbn.S build
23008         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
23010 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
23012         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23014 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23016         Fix gcrt0.o compilation
23018         When static-start-installed-name is different from
23019         start-installed-name, we must not use the shared objects.
23021         * csu/Makefile
23022         (extra-objs): Add gmon-start.o when building shared library and
23023         $(static-start-installed-name) is different from
23024         $(start-installed-name).
23025         $(objpfx)g$(static-start-installed-name): When building shared
23026         library and $(static-start-installed-name) is different from
23027         $(static-start-installed-name), revert to non-shared rule,
23028         i.e. using $(objpfx)% and gmon-start.o.
23030 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
23032         [BZ #16519]
23033         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
23034         (__ieee754_sinh): Force underflow exception for arguments with
23035         small absolute value.
23036         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
23037         (__ieee754_sinhf): Force underflow exception for arguments with
23038         small absolute value.
23039         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
23040         (__ieee754_sinhl): Force underflow exception for arguments with
23041         small absolute value.
23042         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
23043         (__ieee754_sinhl): Force underflow exception for arguments with
23044         small absolute value.
23045         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
23046         (__ieee754_sinhl): Force underflow exception for arguments with
23047         small absolute value.
23048         * math/auto-libm-test-in: Add more tests of sinh.
23049         * math/auto-libm-test-out: Regenerated.
23050         * sysdeps/i386/fpu/libm-test-ulps: Update.
23052 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23054         * libio/oldfileops.c: Include unistd.h.
23056 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
23058         * stdlib/isomac.c: Include ctype.h.
23060 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
23062         * dirent/tst-seekdir.c (main): Converted to ...
23063         (do_test): ... this.
23064         (TEST_FUNCTION): New macro.
23065         Include test-skeleton.c.
23066         * elf/tst-dlmodcount.c (main): Converted to ...
23067         (do_test): ... this.
23068         (TEST_FUNCTION): New macro.
23069         Include test-skeleton.c.
23070         * elf/tst-order-main.c (main): Converted to ...
23071         (do_test): ... this.
23072         (TEST_FUNCTION): New macro.
23073         Include test-skeleton.c.
23074         * elf/tst-pie2.c (main): Converted to ...
23075         (do_test): ... this.
23076         (TEST_FUNCTION): New macro.
23077         Include test-skeleton.c.
23078         * inet/tst-ether_aton.c (main): Converted to ...
23079         (do_test): ... this.
23080         (TEST_FUNCTION): New macro.
23081         Include test-skeleton.c.
23082         * misc/tst-mntent.c (main): Converted to ...
23083         (do_test): ... this.
23084         (TEST_FUNCTION): New macro.
23085         Include test-skeleton.c.
23086         * misc/tst-tsearch.c (main): Converted to ...
23087         (do_test): ... this.
23088         (TEST_FUNCTION): New macro.
23089         Include test-skeleton.c.
23090         * posix/tst-regexloc.c (main): Converted to ...
23091         (do_test): ... this.
23092         (TEST_FUNCTION): New macro.
23093         Include test-skeleton.c.
23094         * resolv/tst-aton.c (main): Converted to ...
23095         (do_test): ... this.
23096         (TEST_FUNCTION): New macro.
23097         Include test-skeleton.c.
23098         * stdio-common/test-fwrite.c (main): Converted to ...
23099         (do_test): ... this.
23100         (TEST_FUNCTION): New macro.
23101         Include test-skeleton.c.
23102         * stdio-common/tst-ferror.c (main): Converted to ...
23103         (do_test): ... this.
23104         (TEST_FUNCTION): New macro.
23105         Include test-skeleton.c.
23106         * stdio-common/tst-printf.c (main): Converted to ...
23107         (do_test): ... this.
23108         (TEST_FUNCTION): New macro.
23109         Include test-skeleton.c.
23110         * stdio-common/tst-printfsz.c (main): Converted to ...
23111         (do_test): ... this.
23112         (TEST_FUNCTION): New macro.
23113         Include test-skeleton.c.
23114         * stdlib/tst-strtod.c (main): Converted to ...
23115         (do_test): ... this.
23116         (TEST_FUNCTION): New macro.
23117         Include test-skeleton.c.
23118         * string/tst-strlen.c (main): Converted to ...
23119         (do_test): ... this.
23120         (TEST_FUNCTION): New macro.
23121         Include test-skeleton.c.
23122         * string/tst-svc.c (main): Converted to ...
23123         (do_test): ... this.
23124         (TEST_FUNCTION): New macro.
23125         Include test-skeleton.c.
23126         * time/tst-strptime.c (main): Converted to ...
23127         (do_test): ... this.
23128         (TEST_FUNCTION): New macro.
23129         Include test-skeleton.c.
23130         * timezone/tst-timezone.c (main): Converted to ...
23131         (do_test): ... this.
23132         (TEST_FUNCTION): New macro.
23133         Include test-skeleton.c.
23135 2015-08-05  Zack Weinberg  <zackw@panix.com>
23137         * misc/regexp.h: Update comments.
23139 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
23141         [BZ #18635]
23142         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
23143         before return label.
23145 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23147         [BZ #18661]
23148         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
23149         when calling __errno_location.
23150         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
23151         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
23153 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23155         [BZ #18661]
23156         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
23157         (__lll_timedwait_tid): Align stack to 16 bytes when calling
23158         __gettimeofday.
23160 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23162         [BZ #18661]
23163         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23164         (__start_context): Don't use pop to restore %rdi so that stack
23165         is aligned to 16 bytes when calling __setcontext.
23167 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23169         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
23170         only for libc.
23171         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23173 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23175         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
23176         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
23177         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
23179 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23181         * string/memccpy.c (memccpy):
23182         Improve performance by using memchr/memcpy/__mempcpy.
23184 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23186         * string/strncpy.c (strncpy):
23187         Improve performance by using __strnlen/memcpy.
23189 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23191         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23192         Optimize to avoid an unnecessary FPCR read.
23194 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23196         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23197         Optimize to reduce FPCR/FPSR accesses.
23199 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23201         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23202         dead->data[category] != NULL.
23204 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
23206         [BZ #18647]
23207         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23208         and |x| close to 1, use absolute value of x when computing log.
23209         * math/auto-libm-test-in: Add more tests of pow.
23210         * math/auto-libm-test-out: Regenerated.
23212 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23214         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23215         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23216         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23218 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
23220         [BZ #18525]
23221         * locales/km_KH: Remove timezone definition.
23222         * locales/lo_LA: Likewise.
23223         * locales/my_MM: Likewise.
23224         * locales/nan_TW@latin: Likewise.
23225         * locales/th_TH: Likewise.
23226         * locales/uk_UA: Likewise.
23228 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23230         [BZ #18265]
23231         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23232         (wcsncat): Likewise.
23233         (wcscmp): Likewise.
23234         (wcsncmp): Likewise.
23236 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23238         * test-skeleton.c (usage): New function.
23239         (main): Call usage when opt is '?'.
23241 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23243         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23244         before first use.
23246 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23248         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23249         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
23250         in there too.
23252 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
23254         * version.h (RELEASE): Set to "development".
23255         (VERSION): Set to "2.22.90"
23257         * version.h (RELEASE): Set to "stable".
23258         (VERSION): Set to "2.22"
23259         * include/features.h (__GLIBC_MINOR__): Set to 22.
23261 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
23263         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23264         Restructure macro to avoid "value computed is not used" warning.
23265         (atomic_compare_and_exchange_val_acq): Likewise.
23267 2015-08-04  Andreas Schwab  <schwab@suse.de>
23269         [BZ #18635]
23270         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23271         ret.
23272         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23274 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
23276         * po/pl.po: Updated translation.
23277         * po/uk.po: Likewise.
23278         * po/fi.po: Likewise.
23279         * po/ko.po: Likewise.
23280         * po/ru.po: Likewise.
23281         * po/vi.po: Likewise.
23283 2015-07-31  Zack Weinberg  <zackw@panix.com>
23285         [BZ #18681]
23286         * regexp.h: Add unconditional #warning stating that this header
23287         will be removed soon.  Revise banner comment to match.
23288         (compile): Consistently use ERROR instead of RETURN to report
23289         errors (partial fix for bz#18681).
23290         * regexp.c: Don't include regexp.h. Remove some unnecessary
23291         declarations.
23293 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
23295         * po/libc.pot: Regenerated.
23297 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23299         [BZ #18740]
23300         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23301         float-vlen4-arch-ext-cflags): Removed.
23302         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23303         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23305 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23307         [BZ #14113]
23308         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23309         aligned to __aligned__.
23310         (pthread_cond_t, pthread_rwlock_t): Likewise.
23312 2015-07-30  Torvald Riegel  <triegel@redhat.com>
23314         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23316 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23318         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23319         (struct sigaction): Change sa_flags from a long to an int, and add
23320         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23322 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23324         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23325         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23326         sysdeps/generic/sysdep.h include.
23327         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23328         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
23329         sysdeps/hppa/sysdep.h.
23330         (ENTRY, PSEUDO): Undefine before defining.
23332 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23334         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23335         from scratch to use INTERNAL_SYSCALL.
23337 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
23339         [BZ #18078]
23340         * scripts/check-localplt.awk: Support alternate relocations.
23341         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23342         sections.
23343         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23344         malloc entries with + REL R_386_GLOB_DAT.
23345         * sysdeps/x86_64/localplt.data: New file.
23347 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
23349         [BZ #18731]
23350         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23351         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23352         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23354 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23356         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23358 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23360         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23361         directly in terms of __sync_fetch_and_add and delete (int) cast.
23363 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23365         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23366         the -D_ASM_IA64_CURRENT_H flag.
23368 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23370         [BZ #18641]
23371         * pwd/pwd.h (putpwent): Delete __nonnull markings.
23373 2015-07-27  Andreas Schwab  <schwab@suse.de>
23375         * conform/conformtest.pl (checknamespace): Filter out string
23376         literals while tokenizing.
23378 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23380         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23381         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23382         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23384 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23386         * nptl/tst-join7mod.c: Add #include <string.h>.
23388 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23390         * sysdeps/nios2/libm-test-ulps: Update.
23392 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23394         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23395         Fix order of arguments to the rt_sigprocmask syscall.
23396         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23397         Likewise.
23399 2015-07-24  Roland McGrath  <roland@hack.frob.com>
23401         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23403 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23405         [BZ #18457]
23406         * nptl/Makefile (tests): New test case tst-join7.
23407         (modules-names): New test case module tst-join7mod.
23408         * nptl/tst-join7.c: New file.
23409         * nptl/tst-join7mod.c: New file.
23410         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23411         all translation units in libc.so, libpthread.so and rtld.
23413 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23417 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23419         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23420         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23421         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23422         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23423         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23424         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23425         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23426         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23427         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23428         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23429         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23430         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23431         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23432         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23433         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23434         implementation.
23436 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23438         [BZ #17711]
23439         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23440         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23441         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23442         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23443         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23444         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23446 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23448         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23449         instead of just saying load lock in the comments.
23451 2015-07-23  Roland McGrath  <roland@hack.frob.com>
23453         * sysdeps/unix/Subdirs: Moved ...
23454         * sysdeps/posix/Subdirs: ... here.
23455         * login/pty.h (struct termios, struct winsize): Add forward decls.
23456         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23457         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23458         * sysdeps/arm/nacl/libc.abilist: Updated.
23459         * sysdeps/nacl/libutil.abilist: New file.
23461         * bits/signum.h: Update comments to mention 1003.1-2013 too.
23462         (SIGWINCH): New macro.
23464         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23465         * sysdeps/arm/nacl/libc.abilist: Add it.
23467 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23469         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23471 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23473         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23474         Swap __glibc_reserved0 and sa_flags order.
23476 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23478         [BZ #18657]
23479         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23480         are pending TLS destructor calls.
23481         * include/link.h (struct link_map): Add concurrency note for
23482         L_TLS_DTOR_COUNT.
23483         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23484         Don't touch the link map flag.  Atomically increment
23485         l_tls_dtor_count.
23486         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23487         Avoid taking the load lock and don't touch the link map flag.
23488         * stdlib/tst-tls-atexit-nodelete.c: New test case.
23489         * stdlib/Makefile (tests): Use it.
23490         * stdlib/tst-tls-atexit.c (do_test): dlopen
23491         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
23492         to allow tst-tls-atexit-nodelete test case to use it.
23494 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23496         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23497         to bits/types.h.
23498         (msgqnum_t): New typedef.
23499         (msglen_t): Likewise.
23500         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
23501         and msg_qbytes type to msglen_t.
23503 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23505         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23506         pad0 to __glibc_reserved0.
23507         (struct stat64): Likewise.
23509 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23511         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23512         Change sa_flags from a long to an int and add __glibc_reserved0 before
23513         it for padding.
23515 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23517         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23518         anonymous by deleting "siginfo" name.
23520 2015-07-21  Roland McGrath  <roland@hack.frob.com>
23522         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23523         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23524         rather than __nacl_irt_filename.
23525         * sysdeps/nacl/xstat.c (__xstat): Likewise.
23527         * NEWS: New item for arm-nacl port.
23528         * sysdeps/arm/nacl/libc.abilist: New file.
23529         * sysdeps/nacl/ld.abilist: New file.
23530         * sysdeps/nacl/libBrokenLocale.abilist: New file.
23531         * sysdeps/nacl/libanl.abilist: New file.
23532         * sysdeps/nacl/libcrypt.abilist: New file.
23533         * sysdeps/nacl/libdl.abilist: New file.
23534         * sysdeps/nacl/libm.abilist: New file.
23535         * sysdeps/nacl/libpthread.abilist: New file.
23536         * sysdeps/nacl/libresolv.abilist: New file.
23537         * sysdeps/nacl/librt.abilist: New file.
23539 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
23541         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23542         __startcontext to initialize the new context.
23543         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23544         up CFI directive to forbid further backtracing.
23546 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
23548         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23549         reference.
23550         * charmaps/ANSI_X3.4-1968: Likewise.
23551         * charmaps/BS_4730: Likewise.
23552         * charmaps/BS_VIEWDATA: Likewise.
23553         * charmaps/CP1250: Likewise.
23554         * charmaps/CP1251: Likewise.
23555         * charmaps/CP1252: Likewise.
23556         * charmaps/CP1253: Likewise.
23557         * charmaps/CP1254: Likewise.
23558         * charmaps/CP1255: Likewise.
23559         * charmaps/CP1256: Likewise.
23560         * charmaps/CSN_369103: Likewise.
23561         * charmaps/EBCDIC-DK-NO: Likewise.
23562         * charmaps/GB_1988-80: Likewise.
23563         * charmaps/GREEK-CCITT: Likewise.
23564         * charmaps/GREEK7: Likewise.
23565         * charmaps/INIS-8: Likewise.
23566         * charmaps/ISIRI-3342: Likewise.
23567         * charmaps/ISO_2033-1983: Likewise.
23568         * charmaps/ISO_5427-EXT: Likewise.
23569         * locales/POSIX: Likewise.
23570         * locales/ar_SA: Likewise.
23571         * locales/be_BY: Likewise.
23572         * locales/be_BY@latin: Likewise.
23573         * locales/ca_ES: Likewise.
23574         * locales/cs_CZ: Likewise.
23575         * locales/da_DK: Likewise.
23576         * locales/de_BE: Likewise.
23577         * locales/de_CH: Likewise.
23578         * locales/de_LU: Likewise.
23579         * locales/en_AU: Likewise.
23580         * locales/en_BW: Likewise.
23581         * locales/en_CA: Likewise.
23582         * locales/en_DK: Likewise.
23583         * locales/en_GB: Likewise.
23584         * locales/en_IE: Likewise.
23585         * locales/en_NZ: Likewise.
23586         * locales/en_ZA: Likewise.
23587         * locales/en_ZW: Likewise.
23588         * locales/es_AR: Likewise.
23589         * locales/es_BO: Likewise.
23590         * locales/es_CL: Likewise.
23591         * locales/es_CO: Likewise.
23592         * locales/es_DO: Likewise.
23593         * locales/es_EC: Likewise.
23594         * locales/es_ES: Likewise.
23595         * locales/es_HN: Likewise.
23596         * locales/es_MX: Likewise.
23597         * locales/es_PA: Likewise.
23598         * locales/es_PE: Likewise.
23599         * locales/es_PY: Likewise.
23600         * locales/es_SV: Likewise.
23601         * locales/es_US: Likewise.
23602         * locales/es_UY: Likewise.
23603         * locales/es_VE: Likewise.
23604         * locales/et_EE: Likewise.
23605         * locales/fa_IR: Likewise.
23606         * locales/fo_FO: Likewise.
23607         * locales/fr_CA: Likewise.
23608         * locales/fr_CH: Likewise.
23609         * locales/gv_GB: Likewise.
23610         * locales/he_IL: Likewise.
23611         * locales/hr_HR: Likewise.
23612         * locales/id_ID: Likewise.
23613         * locales/is_IS: Likewise.
23614         * locales/it_CH: Likewise.
23615         * locales/iw_IL: Likewise.
23616         * locales/kl_GL: Likewise.
23617         * locales/ko_KR: Likewise.
23618         * locales/kw_GB: Likewise.
23619         * locales/lg_UG: Likewise.
23620         * locales/lt_LT: Likewise.
23621         * locales/lv_LV: Likewise.
23622         * locales/mi_NZ: Likewise.
23623         * locales/nhn_MX: Likewise.
23624         * locales/nl_BE: Likewise.
23625         * locales/pl_PL: Likewise.
23626         * locales/sk_SK: Likewise.
23627         * locales/sl_SI: Likewise.
23628         * locales/sv_FI: Likewise.
23629         * locales/tl_PH: Likewise.
23630         * locales/tr_TR: Likewise.
23631         * locales/vi_VN: Likewise.
23633 2015-07-21  Khem Raj  <raj.khem@gmail.com>
23635         [BZ #17475]
23636         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23637         of tu_IN and bh_IN.
23639 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
23641         [BZ #18694]
23642         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23643         bits/wordsize.h.
23644         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23646 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23648         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23649         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23650         (spawn_thread): New function.
23651         (load): Rename to reg_dtor_and_close.  Move dlopen to...
23652         (do_test): ... here.  Use IS_LOADED to test for its
23653         availability.
23655 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
23657         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23659 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
23661         [BZ #18696]
23662         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23663         si_addr_bnd.
23664         (si_lower): New.
23665         (si_upper): Likewise.
23667 2015-07-16  David S. Miller  <davem@davemloft.net>
23669         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23671 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23673         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23674         buffer.
23675         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23676         fail output information.
23678 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23681         and strstr-ppc64..
23682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23683         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23684         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23685         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23686         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23688 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23690         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23691         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23692         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23693         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23695 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23697         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23698         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23699         rtld_hidden_proto.
23700         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23702 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23704         * tst-nodelete-opened.c (do_test): Add comment to clarify how
23705         the test can fail.
23707         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23709         [BZ #18676]
23710         * elf/tst-nodelete-opened.c: New test case.
23711         * elf/tst-nodelete-opened-lib.c: New test case module.
23712         * elf/Makefile (tests, modules-names): Use them.
23713         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23714         early.
23716 2015-07-15  David S. Miller  <davem@davemloft.net>
23718         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23719         futex-intenal.h
23720         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23721         * sysdeps/sparc/sparc64/Makefile: Likewise.
23722         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23723         Remove space from macro define.
23724         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23726 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
23728         [BZ #17475]
23729         * locale/iso-639.def: Update Bhili and Tulu language codes as
23730         per iso639-3.
23732 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
23734         * elf/tst-leaks1.c (main): Converted to ...
23735         (do_test): ... this.
23736         (TEST_FUNCTION): New macro.
23737         Include test-skeleton.c.
23738         * localedata/tst-langinfo.c (main): Converted to ...
23739         (do_test): ... this.
23740         (TEST_FUNCTION): New macro.
23741         Include test-skeleton.c.
23742         * math/test-fpucw.c (main): Converted to ...
23743         (do_test): ... this.
23744         (TEST_FUNCTION): New macro.
23745         Include test-skeleton.c.
23746         * math/test-tgmath.c (main): Converted to ...
23747         (do_test): ... this.
23748         (TEST_FUNCTION): New macro.
23749         Include test-skeleton.c.
23750         * math/test-tgmath2.c (main): Converted to ...
23751         (do_test): ... this.
23752         (TEST_FUNCTION): New macro.
23753         Include test-skeleton.c.
23754         * setjmp/tst-setjmp.c (main): Converted to ...
23755         (do_test): ... this.
23756         (TEST_FUNCTION): New macro.
23757         Include test-skeleton.c.
23758         * stdio-common/tst-sscanf.c (main): Converted to ...
23759         (do_test): ... this.
23760         (TEST_FUNCTION): New macro.
23761         Include test-skeleton.c.
23762         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23763         (do_test): ... this.
23764         (TEST_FUNCTION): New macro.
23765         Include test-skeleton.c.
23767         * elf/tst-audit9.c (main): Converted to ...
23768         (do_test): ... this.
23769         (TEST_FUNCTION): New macro.
23770         Include test-skeleton.c.
23772 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
23774         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23776 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23778         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23779         New variable.
23781 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23783         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23785 2015-07-14  Roland McGrath  <roland@hack.frob.com>
23787         * sysdeps/generic/dl-fileid.h: New file.
23788         * sysdeps/posix/dl-fileid.h: New file.
23789         * sysdeps/nacl/dl-fileid.h: New file.
23790         * include/link.h: Include <dl-fileid.h>.
23791         (struct link_map): Replace l_dev and l_ino with l_file_id.
23792         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23793         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
23794         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
23796 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23798         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23800 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23802         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23803         Add iff $CXX is set.
23804         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23805         Likewise.
23806         (tst-nodelete-zmodiff): Likewise.
23807         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23809 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23811         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23813 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23815         * sysdeps/aarch64/fpu/math_private.h
23816         (define math_opt_barrier): Add AArch64 version.
23817         (math_force_eval): Likewise.
23819 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23821         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23823 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
23825         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23826         %ld with %jd and cast to intmax_t.
23827         (do_test_length_zero): Likewise.
23829 2015-07-10  Roland McGrath  <roland@hack.frob.com>
23831         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23833 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
23835         * sysdeps/tile/libm-test-ulps: Regenerated.
23837         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23838         Comment out the whole function, not just its body.
23840 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23842         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23843         locks.
23845         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23847 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23849         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23850         (sem_assume_only_signals_cause_futex_EINTR): Remove.
23852 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23854         * sysdeps/nptl/futex-internal.h: New file.
23855         * sysdeps/nacl/futex-internal.h: New file.
23856         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23857         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23858         error checking.
23859         (setxid_unmark_thread): Likewise.
23860         (__nptl_setxid): Likewise.
23861         (__wait_lookup_done): Likewise.
23862         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23863         * nptl/nptl-init.c (sighandler_setxid): Likewise.
23864         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23865         * nptl/pthread_once.c (clear_once_control): Likewise.
23866         (__pthread_once_slow): Likewise.
23867         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23868         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23869         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23870         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23871         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23872         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23873         Likewise.
23874         (__pthread_rwlock_rdlock): Likewise.
23875         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23876         Likewise.
23877         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23878         Likewise.
23879         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23880         Likewise.
23881         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23882         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23883         Likewise.
23884         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23885         __ASSUME_PRIVATE_FUTEX check.
23886         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23887         Check that shared futexes are supported.
23888         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23889         wrappers with error checking.
23890         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23891         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23892         * nptl/pthread_barrierattr_setpshared.c
23893         (pthread_barrierattr_setpshared): Check that shared futexes are
23894         supported.
23895         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23896         Likewise.
23897         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23898         Likewise.
23899         * nptl/sem_init.c (futex_private_if_supported): Remove.
23900         (__new_sem_init): Adapt and check that shared futexes are supported.
23901         * nptl/sem_open.c (sem_open): Likewise.
23902         * nptl/sem_post.c (futex_wake): Remove.
23903         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23904         (do_futex_wait): Use futex wrappers with error checking.
23905         * nptl/sem_wait.c: Include lowlevellock.h.
23906         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23907         Use futex_supports_pshared.
23908         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23909         Use futex wrappers with error checking.
23910         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23911         Likewise.
23912         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23913         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23914         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23915         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23916         (futex_wake): Likewise.
23917         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23918         (do_futex_wait): Use futex wrappers with error checking.
23919         (__new_sem_wait_slow): Update EINTR handling.
23920         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23922 2015-07-09  Martin Sebor  <msebor@redhat.com>
23924         [BZ #18435]
23925         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23926         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23927         * nptl/Makefile (test-xfail-tst-once5): Define.
23929 2015-07-09  Roland McGrath  <roland@hack.frob.com>
23931         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23932         * elf/dl-minimal.c: For readability, reorder some definitions and
23933         introduce more page breaks.  Include <stdio.h>.
23934         (__libc_fatal): New function.
23936         * include/unistd.h: Add rtld_hidden_proto for _exit.
23937         * posix/_exit.c: Add rtld_hidden_def.
23938         * sysdeps/mach/hurd/_exit.c: Likewise.
23939         * sysdeps/nacl/_exit.c: Likewise.
23940         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23941         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23943 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
23945         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23946         bndmov encoding with zero displacement.
23948 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23949             H.J. Lu  <hongjiu.lu@intel.com>
23951         [BZ #18134]
23952         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23953         * sysdeps/i386/configure: Regenerated.
23954         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23955         (_dl_runtime_profile): Save and restore Intel MPX return bound
23956         registers when calling _dl_call_pltexit.  Add
23957         PRESERVE_BND_REGS_PREFIX before return.
23958         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23959         (LRV_BND1_OFFSET): Likewise.
23960         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23961         lrv_bnd1.
23962         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23963         typo in bndmov encoding.
23964         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23965         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
23966         branch instructions to preserve bounds.
23968 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23971         [GLIBC_2.22]: Add fmemopen.
23973 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23975         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23976         returns an error, also try to use host port from __mach_host_self for
23977         the __vm_wire call.
23978         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23980 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23982         [BZ #18400]
23983         [BZ #18648]
23984         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23985         Fix pr_uid and pr_gid members.
23986         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23987         definition to elf_greg_t.
23989 2015-07-08  Roland McGrath  <roland@hack.frob.com>
23991         [BZ #18383]
23992         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23993         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23994         * sysdeps/arm/configure: Regenerated.
23995         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23996         (test-xfail-tst-tlsalign-static): Variable removed.
23998         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23999         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
24000         rather than explicit 'ln -s'.
24002         * resolv/rpc/netdb.h: New file.
24003         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
24005 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24007         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
24008         length buffers.
24009         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24010         test-skeleton.c.
24012         [BZ #6544]
24013         [BZ #11216]
24014         [BZ #12836]
24015         [BZ #13151]
24016         [BZ #13152]
24017         [BZ #14292]
24018         * include/stdio.h (fmemopen): Remove hidden prototype.
24019         (__fmemopen): Add new hidden prototype.
24020         * libio/Makefile: Add oldfmemopen object.
24021         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
24022         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
24023         compliance.
24024         * libio/oldfmemopen.c: New file: old fmemopen implementation for
24025         symbol compatibility.
24026         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
24027         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
24028         fmemopen.
24029         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
24030         on append and read mode.
24031         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
24032         fmemopen.
24033         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
24034         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
24035         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
24036         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
24037         Likewise.
24038         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
24039         [GLIBC_2.22]: Likewise.
24040         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
24041         Likewise.
24042         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
24043         Likewise.
24044         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
24045         [GLIBC_2.22]: Likewise.
24046         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
24047         [GLIBC_2.22]: Likewise.
24048         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
24049         [GLIBC_2.22]: Likewise.
24050         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
24051         [GLIBC_2.22]: Likewise.
24052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
24053         [GLIBC_2.22]: Likewise.
24054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
24055         [GLIBC_2.22]: Likewise.
24056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
24057         [GLIBC_2.22]: Likewise.
24058         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
24059         Likewise.
24060         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
24061         Likewise.
24062         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
24063         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
24064         [GLIBC_2.22]: Likewise.
24065         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
24066         [GLIBC_2.22]: Likewise.
24067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
24068         [GLIBC_2.22]: Likewise.
24069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
24070         [GLIBC_2.22]: Likewise.
24071         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
24072         Likewise.
24073         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
24074         Likewise.
24075         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
24076         Likewise.
24077         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
24078         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
24080 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
24082         [BZ #18643]
24083         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
24084         IPV6_PATHMTU, and IPV6_DONTFRAG.
24086 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
24088         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
24089         and _IO_UNBUFFERED.
24090         * libio/oldfileops.c: Likewise.
24091         * libio/wfileops.c: Likewise.
24093 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
24095         * nscd/selinux.c: Delete selinux/flask.h include.
24097 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
24099         [BZ #18641]
24100         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
24101         (putpwent): Likewise.
24102         (getpwnam): Likewise.
24103         (getpwent_r): Likewise.
24104         (getpwuid_r): Likewise.
24105         (getpwnam_r): Likewise.
24106         (fgetpwent_r): Likewise.
24108 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
24110         [BZ #18557]
24111         * inet/rcmd.c (__validuser2_sa): Check user first to
24112         short-circuit host check.
24114 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
24115             Mikhail Ilin  <m.ilin@samsung.com>
24117         [BZ #17833]
24118         * elf/Makefile (tests): Add tst-nodelete.
24119         (modules-names): Add tst-nodelete-uniquemod.
24120         (tst-nodelete-uniquemod.so-no-z-defs): New.
24121         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
24122         (tst-nodelete-zmod.so-no-z-defs): Likewise.
24123         ($(objpfx)tst-nodelete): Likewise.
24124         ($(objpfx)tst-nodelete.out): Likewise.
24125         (LDFLAGS-tst-nodelete): Likewise.
24126         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
24127         * elf/dl-close.c (_dl_close_worker): Add a parameter to
24128         implement forced object deletion.
24129         (_dl_close): Pass false to _dl_close_worker.
24130         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
24131         * elf/tst-nodelete.cc: New file.
24132         * elf/tst-nodeletelib.cc: Likewise.
24133         * elf/tst-znodeletelib.cc: Likewise.
24134         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
24136 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24138         [BZ #18508]
24139         * stdlib/Makefile ($(objpfx)tst-makecontext3):
24140         Depend on $(libdl).
24141         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
24142         is not called infinitely times.
24143         (backtrace_helper): New function.
24144         (trace_arg): New struct.
24145         (st1): Enlarge stack size.
24146         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24147         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
24148         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24149         Likewise.
24151 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24153         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24155 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24157         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
24158         Include sys/types.h instead of bits/types.h.
24159         Remove inclusion of bits/wordsize.h.
24161 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24163         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
24164         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
24165         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
24166         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
24167         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
24168         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
24170 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24172         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
24173         link-defines.sym.
24174         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
24175         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
24176         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24177         and LR_SIZE.
24178         * sysdeps/i386/link-defines.sym: New file.
24180 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24182         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
24183         (modules-names): Add tst-auditmod3a tst-auditmod3b.
24184         ($(objpfx)tst-audit3): New rule.
24185         ($(objpfx)tst-audit3.out): Likewise.
24186         * sysdeps/i386/tst-audit3.c: New file.
24187         * sysdeps/i386/tst-audit3.h: Likewise.
24188         * sysdeps/i386/tst-auditmod3a.c: Likewise.
24189         * sysdeps/i386/tst-auditmod3b.c: Likewise.
24191 2015-07-07  Torvald Riegel  <triegel@redhat.com>
24193         [BZ #18633]
24194         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24195         pointer in C code.
24196         (__strcat_c): Likewise.
24197         (__strcat_g): Likewise.
24199 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
24201         [BZ #18592]
24202         * misc/sbrk.c: Set errno to ENOMEM on overflow.
24204 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24206         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24207         New function.  (__ieee754_sqrtf): New function.
24208         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24209         New function.
24210         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24211         New function.
24213 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24215         * sysdeps/ieee754/support.c: Remove unused file.
24217 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24219         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24220         registers instead of d ones so the layout is kernel abi compatible.
24221         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24222         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24223         Likewise.
24225 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24227         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24229 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24231         [BZ #18619]
24232         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24233         and return argument in case of subnormal argument.
24235 2015-07-01  Martin Sebor  <msebor@redhat.com>
24237         [BZ #18435]
24238         * nptl/Makefile: Add tst-once5.cc.
24239         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24240         Remove macro redefinitions.
24241         * nptl/tst-once5.cc: New test.
24243 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24245         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24247         * sysdeps/arm/libm-test-ulps: Regenerated.
24249         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24250         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24252 2015-06-30  Torvald Riegel  <triegel@redhat.com>
24254         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24255         lll_lock_wait_private and lll_futex_wake probes.
24257         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24258         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24259         Likewise.
24260         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24261         atomic_spin_nop.
24262         * sysdeps/x86_64/bits/atomic.h: Likewise.
24263         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24264         to atomic_spin_nop and move ...
24265         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24266         ... here and ...
24267         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24268         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24269         atomic_spin_nop instead of BUSY_WAIT_NOP.
24270         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24271         Likewise.
24272         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24273         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24274         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24275         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24276         instead of atomic_delay.
24278 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
24280         [BZ #18613]
24281         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24282         X_ADJ not X when adjusting exponent.
24283         (__ieee754_gamma_r): Do intermediate computations in
24284         round-to-nearest then adjust overflowing and underflowing results
24285         as needed.
24286         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24287         of X_ADJ not X when adjusting exponent.
24288         (__ieee754_gammaf_r): Do intermediate computations in
24289         round-to-nearest then adjust overflowing and underflowing results
24290         as needed.
24291         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24292         log of X_ADJ not X when adjusting exponent.
24293         (__ieee754_gammal_r): Do intermediate computations in
24294         round-to-nearest then adjust overflowing and underflowing results
24295         as needed.  Use 1.0L not 1.0f as numerator of division.
24296         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24297         log of X_ADJ not X when adjusting exponent.
24298         (__ieee754_gammal_r): Do intermediate computations in
24299         round-to-nearest then adjust overflowing and underflowing results
24300         as needed.  Use 1.0L not 1.0f as numerator of division.
24301         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24302         of X_ADJ not X when adjusting exponent.
24303         (__ieee754_gammal_r): Do intermediate computations in
24304         round-to-nearest then adjust overflowing and underflowing results
24305         as needed.  Use 1.0L not 1.0f as numerator of division.
24306         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
24307         to auto-libm-test-in.
24308         (tgamma_test): Use ALL_RM_TEST.
24309         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
24310         tests of tgamma with spurious-overflow.
24311         * math/auto-libm-test-out: Regenerated.
24312         * math/gen-libm-have-vector-test.sh: Do not check for START.
24313         * sysdeps/i386/fpu/libm-test-ulps: Update.
24314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24316         [BZ #18612]
24317         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24318         arguments, just return 0.5 times the argument, with underflow
24319         forced as needed.
24320         * math/auto-libm-test-in: Add more tests of j1.
24321         * math/auto-libm-test-out: Regenerated.
24323         [BZ #16559]
24324         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24325         (__ieee754_j1): Force underflow exception for small results.
24326         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24327         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24328         (__ieee754_j1f): Force underflow exception for small results.
24329         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24330         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24331         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24332         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24333         (__ieee754_j1l): Force underflow exception for small results.
24334         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24335         * math/auto-libm-test-in: Add more tests of j1 and jn.
24336         * math/auto-libm-test-out: Regenerated.
24338         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24339         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24340         (PF_MPLS): Likewise.
24341         (AF_IB): Likewise.
24342         (AF_MPLS): Likewise.
24343         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24344         value and macro.
24345         (MS_RMT_MASK): Include MS_LAZYTIME.
24347 2015-06-26  Mel Gorman  <mgorman@suse.de>
24349         [BZ #18502]
24350         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24351         already minimal.
24353 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
24355         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24356         (DT_MIPS_NUM): Update.
24357         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24358         DT_MIPS_RLD_MAP_REL.
24360 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
24362         [BZ #16559]
24363         [BZ #18602]
24364         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24365         round-to-nearest internally then recompute results that
24366         underflowed to zero in the original rounding mode.
24367         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24368         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24370         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24371         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24372         * sysdeps/i386/fpu/libm-test-ulps: Update.
24373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24375 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24377         * NEWS: Fixed description of link with vector math library.
24379 2015-06-25  Andreas Schwab  <schwab@suse.de>
24381         [BZ #18549]
24382         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24383         * libio/test-fmemopen.c (do_test): Add test for it.
24385 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24387         [BZ #17841]
24388         * Makeconfig (no-pie-ldflag): New.
24389         (+link): Set to $(+link-pie) if default to PIE.
24390         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24391         * config.make.in (build-pie-default): New.
24392         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
24393         is default.  AC_SUBST.
24394         * configure: Regenerated.
24395         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24397 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24399         * nptl/descr.h (struct pthread): Change type of field setxid_futex
24400         to 'unsigned int'.
24402         * resolv/gai_misc.h (struct waitlist): Change type of field
24403         counterp to 'volatile unsigned int *'.
24404         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24405         FUTEXADDR and OLDVAL.
24406         * resolv/getaddrinfo_a.c (getaddrinfo_a):
24407         Give local variable TOTAL type 'volatile unsigned int'.
24408         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24409         * resolv/gai_suspend.c (gai_suspend):
24410         Give local variable CNTR type 'unsigned int'.
24412         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24413         counterp to 'volatile unsigned int *'.
24414         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24415         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24416         (aio_suspend): Give local variable CNTR type 'unsigned int'.
24417         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24418         Give local variable TOTAL type 'volatile unsigned int'.
24419         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24421 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24423         [BZ #18383]
24424         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24425         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
24426         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24427         comment for i386/x86-64.
24428         (test-xfail-tst-tlsalign-extern-static): Removed.
24430 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24432         * math/test-double.h: New file.
24433         * math/test-float.h: Likewise.
24434         * math/test-ldouble.h: Likewise.
24435         * math/test-math-inline.h: Likewise.
24436         * math/test-math-no-inline.h: Likewise.
24437         * math/test-math-scalar.h: Likewise.
24438         * math/test-math-vector.h: Likewise.
24439         * math/test-vec-loop.h: Remove file.  Contents moved into
24440         test-math-vector.h.
24441         * math/libm-test.inc (MATHCONST): Do not document macro.
24442         * math/test-double.c: Include test-double.h, test-math-no-inline.h
24443         and test-math-scalar.h.
24444         (FUNC): Remove macro.
24445         (FUNC_TEST): Likewise.
24446         (FLOAT): Likewise.
24447         (MATHCONST): Likewise.
24448         (PRINTF_EXPR): Likewise.
24449         (PRINTF_XEXPR): Likewise.
24450         (PRINTF_NEXPR): Likewise.
24451         (TEST_DOUBLE): Likewise.
24452         (TEST_MATHVEC): Likewise.
24453         (__NO_MATH_INLINES): Likewise.
24454         * math/test-float.c: Include test-float.h, test-math-no-inline.h
24455         and test-math-scalar.h.
24456         (FUNC): Remove macro.
24457         (FUNC_TEST): Likewise.
24458         (FLOAT): Likewise.
24459         (MATHCONST): Likewise.
24460         (PRINTF_EXPR): Likewise.
24461         (PRINTF_XEXPR): Likewise.
24462         (PRINTF_NEXPR): Likewise.
24463         (TEST_FLOAT): Likewise.
24464         (TEST_MATHVEC): Likewise.
24465         (__NO_MATH_INLINES): Likewise.
24466         * math/test-idouble.c: Include test-double.h, test-math-inline.h
24467         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_DOUBLE): Likewise.
24476         (TEST_MATHVEC): Likewise.
24477         (TEST_INLINE): Likewise.
24478         (__NO_MATH_INLINES): Likewise.
24479         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24480         test-math-scalar.h.
24481         (FUNC): Remove macro.
24482         (FUNC_TEST): Likewise.
24483         (FLOAT): Likewise.
24484         (MATHCONST): Likewise.
24485         (PRINTF_EXPR): Likewise.
24486         (PRINTF_XEXPR): Likewise.
24487         (PRINTF_NEXPR): Likewise.
24488         (TEST_FLOAT): Likewise.
24489         (TEST_MATHVEC): Likewise.
24490         (TEST_INLINE): Likewise.
24491         (__NO_MATH_INLINES): Likewise.
24492         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24493         and test-math-scalar.h.
24494         (FUNC): Remove macro.
24495         (FUNC_TEST): Likewise.
24496         (FLOAT): Likewise.
24497         (MATHCONST): Likewise.
24498         (PRINTF_EXPR): Likewise.
24499         (PRINTF_XEXPR): Likewise.
24500         (PRINTF_NEXPR): Likewise.
24501         (TEST_LDOUBLE): Likewise.
24502         (TEST_MATHVEC): Likewise.
24503         (TEST_INLINE): Likewise.
24504         (__NO_MATH_INLINES): Likewise.
24505         * math/test-ldouble.c: Include test-ldouble.h,
24506         test-math-no-inline.h and test-math-scalar.h.
24507         (FUNC): Remove macro.
24508         (FUNC_TEST): Likewise.
24509         (FLOAT): Likewise.
24510         (MATHCONST): Likewise.
24511         (PRINTF_EXPR): Likewise.
24512         (PRINTF_XEXPR): Likewise.
24513         (PRINTF_NEXPR): Likewise.
24514         (TEST_LDOUBLE): Likewise.
24515         (TEST_MATHVEC): Likewise.
24516         (__NO_MATH_INLINES): Likewise.
24517         * math/test-double-vlen2.h: Include test-double.h,
24518         test-math-no-inline.h and test-math-vector.h.
24519         (FLOAT): Remove macro.
24520         (FUNC): Likewise.
24521         (MATHCONST): Likewise.
24522         (PRINTF_EXPR): Likewise.
24523         (PRINTF_XEXPR): Likewise.
24524         (PRINTF_NEXPR): Likewise.
24525         (TEST_DOUBLE): Likewise.
24526         (TEST_MATHVEC): Likewise.
24527         (__NO_MATH_INLINES): Likewise.
24528         (CNCT): Likewise.
24529         (CONCAT): Likewise.
24530         (WRAPPER_NAME): Likewise.
24531         (WRAPPER_DECL): Likewise.
24532         (WRAPPER_DECL_ff): Likewise.
24533         (WRAPPER_DECL_fFF): Likewise.
24534         (VECTOR_WRAPPER): Likewise.
24535         (VECTOR_WRAPPER_ff): Likewise.
24536         (VECTOR_WRAPPER_fFF): Likewise.
24537         (VEC_LEN): New macro.
24538         * math/test-double-vlen4.h: Include test-double.h,
24539         test-math-no-inline.h and test-math-vector.h.
24540         (FLOAT): Remove macro.
24541         (FUNC): Likewise.
24542         (MATHCONST): Likewise.
24543         (PRINTF_EXPR): Likewise.
24544         (PRINTF_XEXPR): Likewise.
24545         (PRINTF_NEXPR): Likewise.
24546         (TEST_DOUBLE): Likewise.
24547         (TEST_MATHVEC): Likewise.
24548         (__NO_MATH_INLINES): Likewise.
24549         (CNCT): Likewise.
24550         (CONCAT): Likewise.
24551         (WRAPPER_NAME): Likewise.
24552         (WRAPPER_DECL): Likewise.
24553         (WRAPPER_DECL_ff): Likewise.
24554         (WRAPPER_DECL_fFF): Likewise.
24555         (VECTOR_WRAPPER): Likewise.
24556         (VECTOR_WRAPPER_ff): Likewise.
24557         (VECTOR_WRAPPER_fFF): Likewise.
24558         (VEC_LEN): New macro.
24559         * math/test-double-vlen8.h: Include test-double.h,
24560         test-math-no-inline.h and test-math-vector.h.
24561         (FLOAT): Remove macro.
24562         (FUNC): Likewise.
24563         (MATHCONST): Likewise.
24564         (PRINTF_EXPR): Likewise.
24565         (PRINTF_XEXPR): Likewise.
24566         (PRINTF_NEXPR): Likewise.
24567         (TEST_DOUBLE): Likewise.
24568         (TEST_MATHVEC): Likewise.
24569         (__NO_MATH_INLINES): Likewise.
24570         (CNCT): Likewise.
24571         (CONCAT): Likewise.
24572         (WRAPPER_NAME): Likewise.
24573         (WRAPPER_DECL): Likewise.
24574         (WRAPPER_DECL_ff): Likewise.
24575         (WRAPPER_DECL_fFF): Likewise.
24576         (VECTOR_WRAPPER): Likewise.
24577         (VECTOR_WRAPPER_ff): Likewise.
24578         (VECTOR_WRAPPER_fFF): Likewise.
24579         (VEC_LEN): New macro.
24580         * math/test-float-vlen4.h: Include test-float.h,
24581         test-math-no-inline.h and test-math-vector.h.
24582         (FLOAT): Remove macro.
24583         (FUNC): Likewise.
24584         (MATHCONST): Likewise.
24585         (PRINTF_EXPR): Likewise.
24586         (PRINTF_XEXPR): Likewise.
24587         (PRINTF_NEXPR): Likewise.
24588         (TEST_FLOAT): Likewise.
24589         (TEST_MATHVEC): Likewise.
24590         (__NO_MATH_INLINES): Likewise.
24591         (CNCT): Likewise.
24592         (CONCAT): Likewise.
24593         (WRAPPER_NAME): Likewise.
24594         (WRAPPER_DECL): Likewise.
24595         (WRAPPER_DECL_ff): Likewise.
24596         (WRAPPER_DECL_fFF): Likewise.
24597         (VECTOR_WRAPPER): Likewise.
24598         (VECTOR_WRAPPER_ff): Likewise.
24599         (VECTOR_WRAPPER_fFF): Likewise.
24600         (VEC_LEN): New macro.
24601         * math/test-float-vlen8.h: Include test-float.h,
24602         test-math-no-inline.h and test-math-vector.h.
24603         (FLOAT): Remove macro.
24604         (FUNC): Likewise.
24605         (MATHCONST): Likewise.
24606         (PRINTF_EXPR): Likewise.
24607         (PRINTF_XEXPR): Likewise.
24608         (PRINTF_NEXPR): Likewise.
24609         (TEST_FLOAT): Likewise.
24610         (TEST_MATHVEC): Likewise.
24611         (__NO_MATH_INLINES): Likewise.
24612         (CNCT): Likewise.
24613         (CONCAT): Likewise.
24614         (WRAPPER_NAME): Likewise.
24615         (WRAPPER_DECL): Likewise.
24616         (WRAPPER_DECL_ff): Likewise.
24617         (WRAPPER_DECL_fFF): Likewise.
24618         (VECTOR_WRAPPER): Likewise.
24619         (VECTOR_WRAPPER_ff): Likewise.
24620         (VECTOR_WRAPPER_fFF): Likewise.
24621         (VEC_LEN): New macro.
24622         * math/test-float-vlen16.h: Include test-float.h,
24623         test-math-no-inline.h and test-math-vector.h.
24624         (FLOAT): Remove macro.
24625         (FUNC): Likewise.
24626         (MATHCONST): Likewise.
24627         (PRINTF_EXPR): Likewise.
24628         (PRINTF_XEXPR): Likewise.
24629         (PRINTF_NEXPR): Likewise.
24630         (TEST_FLOAT): Likewise.
24631         (TEST_MATHVEC): Likewise.
24632         (__NO_MATH_INLINES): Likewise.
24633         (CNCT): Likewise.
24634         (CONCAT): Likewise.
24635         (WRAPPER_NAME): Likewise.
24636         (WRAPPER_DECL): Likewise.
24637         (WRAPPER_DECL_ff): Likewise.
24638         (WRAPPER_DECL_fFF): Likewise.
24639         (VECTOR_WRAPPER): Likewise.
24640         (VECTOR_WRAPPER_ff): Likewise.
24641         (VECTOR_WRAPPER_fFF): Likewise.
24642         (VEC_LEN): New macro.
24643         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24644         test-vec-loop.h.
24645         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24646         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24647         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24648         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24649         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24650         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24651         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24653 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24655         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24656         (__getlogin_r): ... this.
24658 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24660         [BZ #18594]
24661         * math/s_ccosh.c (__ccosh): Compare with least normal value
24662         instead of comparing class with FP_SUBNORMAL.
24663         * math/s_ccoshf.c (__ccoshf): Likewise.
24664         * math/s_ccoshl.c (__ccoshl): Likewise.
24665         * math/s_cexp.c (__cexp): Likewise.
24666         * math/s_cexpf.c (__cexpf): Likewise.
24667         * math/s_cexpl.c (__cexpl): Likewise.
24668         * math/s_csin.c (__csin): Likewise.
24669         * math/s_csinf.c (__csinf): Likewise.
24670         * math/s_csinh.c (__csinh): Likewise.
24671         * math/s_csinhf.c (__csinhf): Likewise.
24672         * math/s_csinhl.c (__csinhl): Likewise.
24673         * math/s_csinl.c (__csinl): Likewise.
24674         * math/s_ctan.c (__ctan): Likewise.
24675         * math/s_ctanf.c (__ctanf): Likewise.
24676         * math/s_ctanh.c (__ctanh): Likewise.
24677         * math/s_ctanhf.c (__ctanhf): Likewise.
24678         * math/s_ctanhl.c (__ctanhl): Likewise.
24679         * math/s_ctanl.c (__ctanl): Likewise.
24680         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24681         csin, csinh, ctan and ctanh.
24682         * math/auto-libm-test-out: Regenerated.
24683         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24684         * sysdeps/i386/fpu/libm-test-ulps: Update.
24685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24687 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24689         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24690         return value is wrong, print the expected value too.
24692 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24694         [BZ #18585]
24695         * elf/readlib.c (is_gdb_python_file): New.
24696         (process_file): Don't issue errors on filenames with -gdb.py
24697         suffix.
24699 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24701         * math/auto-libm-test-in: Add more tests of csin and csinh.
24702         * math/auto-libm-test-out: Regenerated.
24703         * math/libm-test.inc (csin_test_data): Remove tests moved to
24704         auto-libm-test-in.
24705         (csinh_test_data): Likewise.
24707         [BZ #18593]
24708         * math/s_csin.c (__csin): Negate before rather than after possibly
24709         overflowing multiplication.
24710         * math/s_csinf.c (__csinf): Likewise.
24711         * math/s_csinh.c (__csinh): Likewise.
24712         * math/s_csinhf.c (__csinhf): Likewise.
24713         * math/s_csinhl.c (__csinhl): Likewise.
24714         * math/s_csinl.c (__csinl): Likewise.
24715         * math/auto-libm-test-in: Add some tests of csin and csinh.
24716         * math/auto-libm-test-out: Regenerated.
24717         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24718         (csinh_test_data): Likewise.
24719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24721         [BZ #18586]
24722         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24723         underflow exception for small results.
24725 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
24727         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24728         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24729         variable and included header.
24730         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24731         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24732         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24733         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24734         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24735         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24736         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24737         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24738         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24739         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24740         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24741         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24742         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24743         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24744         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24745         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24747 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24749         [BZ #16526]
24750         [BZ #16538]
24751         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24752         (__sin): Force underflow exception for arguments with small
24753         absolute value.
24754         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24755         (__kernel_sinf): Force underflow exception for arguments with
24756         small absolute value.
24757         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24758         (__kernel_sincosl): Force underflow exception for arguments with
24759         small absolute value.
24760         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24761         (__kernel_sinl): Force underflow exception for arguments with
24762         small absolute value.
24763         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24764         (__kernel_sincosl): Force underflow exception for arguments with
24765         small absolute value.
24766         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24767         (__kernel_sinl): Force underflow exception for arguments with
24768         small absolute value.
24769         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24770         (__kernel_sinl): Force underflow exception for arguments with
24771         small absolute value.
24772         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24773         (__kernel_sinf): Force underflow exception for arguments with
24774         small absolute value.
24775         * math/auto-libm-test-in: Add more tests of sin and sincos.
24776         * math/auto-libm-test-out: Regenerated.
24778         [BZ #18245]
24779         [BZ #18583]
24780         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24781         (__kernel_standard_l): Use feholdexcept and fesetenv around
24782         conversion to double instead of special-casing overflow and
24783         underflow.
24784         * math/libm-test.inc (fmod_test_data): Add more tests.
24785         (remainder_test_data): Likewise.
24786         (sqrt_test_data): Likewise.
24788 2015-06-23  Torvald Riegel  <triegel@redhat.com>
24790         [BZ #17403]
24791         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24792         atomic_read_barrier, atomic_write_barrier): Define.
24793         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24794         atomic_read_barrier, atomic_write_barrier): Define.
24796 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24798         * math/Makefile [$(PERL) != no]
24799         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24800         dependency on libm-test.stmp below the inclusion of Rules.
24802 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
24804         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24805         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24806         and included header.
24807         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24808         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24809         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24810         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24811         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24812         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24813         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24814         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24815         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24816         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24817         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24818         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24819         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24820         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24821         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24822         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24823         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24824         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24825         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24827 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24829         [BZ #18371]
24830         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24831         intermediate but not final result might underflow.
24832         * math/s_csqrtf.c (__csqrtf): Likewise.
24833         * math/s_csqrtl.c (__csqrtl): Likewise.
24834         * math/auto-libm-test-in: Add more tests of csqrt.
24835         * math/auto-libm-test-out: Regenerated.
24836         * sysdeps/i386/fpu/libm-test-ulps: Update.
24838         [BZ #18219]
24839         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24840         threshold on absolute value of exponent for which scaling is used.
24841         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24842         * math/auto-libm-test-in: Add more tests of exp2.
24843         * math/auto-libm-test-out: Regenerated.
24845 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
24847         [BZ #17977]
24848         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24849         when initializing interface list, based on the bug analysis
24850         and the patch proposed by Eric Newton.
24851         * resolv/tst-res_hconf_reorder.c: New test.
24852         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24853         tst-res_hconf_reorder.
24854         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24855         and $(shared-thread-library).
24856         (tst-res_hconf_reorder-ENV): New variable.
24858         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24859         in comment.
24861 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
24863         [BZ #16353]
24864         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24865         (__expm1): Force underflow exception for arguments with small
24866         absolute value.
24867         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24868         (__expm1f): Force underflow exception for arguments with small
24869         absolute value.
24870         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24871         (__expm1): Force underflow exception for arguments with small
24872         absolute value.
24873         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24874         (__expm1f): Force underflow exception for arguments with small
24875         absolute value.
24876         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24877         Check for small arguments before calling __expm1.
24878         * math/auto-libm-test-in: Do not mark underflow exceptions as
24879         possibly missing for bug 16353.
24880         * math/auto-libm-test-out: Regenerated.
24882 2015-06-22  Andreas Schwab  <schwab@suse.de>
24884         [BZ #18513]
24885         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24886         PTR queries.
24888 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
24890         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24892         * string/strcoll_l.c: Remove unused struct element idxnow.
24894 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
24896         [BZ #18569]
24897         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24898         underflow and return argument in case of subnormal argument.
24899         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24900         Likewise.
24901         * math/auto-libm-test-in: Add more tests of expm1.
24902         * math/auto-libm-test-out: Regenerated.
24904         [BZ #16361]
24905         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24906         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24907         tiny results.
24908         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24909         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24910         tiny results.
24911         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
24912         mark underflow exceptions as possibly missing for bug 16361.
24913         * math/auto-libm-test-out: Regenerated.
24915 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
24917         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24918         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24919         Remove variable.
24920         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24921         (test-xfail-XOPEN2K8/utmpx.h/conform).
24923         * conform/conformtest.pl ($xerrors): New variable.
24924         (note_error): New function.
24925         (compiletest): New argument $xfail.  Use not_error.
24926         (runtest): Likewise.
24927         (top level): Handle xfail- lines.  Update calls to compiletest and
24928         runtest.  Handle xfail- and optional- in headers listed with
24929         allow-header.
24930         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24931         (O_EXEC): Likewise.
24932         (O_SEARCH): Likewise.
24933         * conform/data/stropts.h-data (ioctl): Likewise.
24934         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24935         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24936         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24937         (msghdr.msg_controllen): Likewise.
24938         (cmsghdr.cmsg_len): Likewise.
24939         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24940         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24941         variable.
24942         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24943         (test-xfail-XPG4/stropts.h/conform): Likewise.
24944         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24945         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24946         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24947         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24948         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24949         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24950         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24951         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24952         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24953         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24954         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24955         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24956         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24957         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24958         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24959         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24960         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24961         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24962         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24964 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24966         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24967         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24968         definitions for proper unfolding of __MATHDECL_VEC.
24970 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24972         * benchtests/bench-strcoll.c:
24973         Include string.h.
24974         (main): Remove unused variable res.
24976 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24978         * timezone/Makefile (%/UTC %/Universal):
24979         Generate test-result files for UTC and Universal.
24981 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24983         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24985 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
24987         [BZ #16350]
24988         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24989         for arguments with small absolute value.
24990         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24991         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24992         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24993         (__asinh): Force underflow exception for arguments with small
24994         absolute value.
24995         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24996         (__asinhf): Force underflow exception for arguments with small
24997         absolute value.
24998         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24999         (__asinhl): Force underflow exception for arguments with small
25000         absolute value.
25001         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
25002         (__asinhl): Force underflow exception for arguments with small
25003         absolute value.
25004         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
25005         (__asinhl): Force underflow exception for arguments with small
25006         absolute value.
25007         * math/auto-libm-test-in: Do not mark underflow exceptions as
25008         possibly missing for bug 16350.
25009         * math/auto-libm-test-out: Regenerated.
25011         * include/bits/ipc.h: Remove file.
25012         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
25013         variable.
25014         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25015         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25016         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25017         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25018         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25019         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25020         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25021         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25022         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25024         * math/auto-libm-test-in: Remove spurious underflow allowance for
25025         tests of cexp.
25026         * math/auto-libm-test-out: Regenerated.
25028         [BZ #18558]
25029         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
25030         unconditional definition.
25031         (MCAST_BLOCK_SOURCE): Likewise.
25032         (MCAST_UNBLOCK_SOURCE): Likewise.
25033         (MCAST_LEAVE_GROUP): Likewise.
25034         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25035         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25036         (MCAST_MSFILTER): Likewise.
25037         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
25038         Remove variable.
25039         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25040         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25041         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25042         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25043         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25045 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
25047         * NEWS: Mention addition of x86_64 vector sincosf.
25048         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
25049         * math/test-float-vlen4.h: Likewise.
25050         * math/test-float-vlen8.h: Likewise.
25051         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25052         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
25053         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25054         * sysdeps/x86_64/fpu/Versions: New versions added.
25055         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25056         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25057         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25058         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
25059         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
25060         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
25061         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
25062         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
25063         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
25064         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
25065         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
25066         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
25067         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
25068         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
25069         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
25070         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
25071         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
25072         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25073         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25074         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25075         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25076         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25077         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25078         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25080         * NEWS: Mention addition of x86_64 vector sincos.
25081         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
25082         * math/math.h (__MATHDECL_VEC): New macro.
25083         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
25084         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
25085         declaration under condition.
25086         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
25087         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
25088         TEST_VEC_LOOP change.
25089         * math/test-double-vlen4.h: Likewise.
25090         * math/test-double-vlen8.h: Likewise.
25091         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
25092         * math/test-float-vlen4.h: Likewise.
25093         * math/test-float-vlen8.h: Likewise.
25094         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25095         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
25096         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25097         * sysdeps/x86_64/fpu/Versions: New versions added.
25098         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25099         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25100         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25101         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
25102         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
25103         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
25104         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
25105         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
25106         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
25107         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
25108         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
25109         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
25110         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
25111         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
25112         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
25113         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
25114         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
25115         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25117         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25118         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25119         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25120         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25121         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25123         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25124         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25125         redirections for powf.
25126         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25127         * sysdeps/x86_64/fpu/Versions: New versions added.
25128         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25129         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25130         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25131         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
25132         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
25133         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
25134         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
25135         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
25136         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
25137         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
25138         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
25139         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
25140         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
25141         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
25142         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
25143         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
25144         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
25145         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25146         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25147         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25148         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25149         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25150         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25151         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25152         * math/test-float-vlen16.h: Fixed 2 argument macro.
25153         * math/test-float-vlen4.h: Likewise.
25154         * math/test-float-vlen8.h: Likewise.
25155         * NEWS: Mention addition of x86_64 vector powf.
25157 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
25159         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25160         and redefine.
25161         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25162         and redefine.
25163         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
25164         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25165         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25167         [BZ #18553]
25168         * resource/getpriority.c (getpriority): Rename to __getpriority
25169         and define as weak alias of __getpriority.
25170         * resource/setpriority.c (setpriority): Rename to __setpriority
25171         and define as weak alias of __setpriority.
25172         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
25173         __getpriority and define as weak alias of __getpriority.
25174         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
25175         __setpriority and define as weak alias of __setpriority.
25176         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
25177         strong name.
25178         (setpriority): Use __setpriority as strong name.
25179         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
25180         __getpriority and define as weak alias of __getpriority.
25181         * include/sys/resource.h (__getpriority): Declare.  Use
25182         libc_hidden_proto.
25183         (__setpriority): Likewise.
25184         (getpriority): Don't use libc_hidden_proto.
25185         (setpriority): Likewise.
25186         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25187         getpriority.  Call __setpriority instead of setpriority.
25188         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25189         Remove variable.
25191         [BZ #18547]
25192         * misc/getttyent.c (getttynam): Rename to __getttynam and define
25193         as weak alias of __getttynam.  Use prototype function definition.
25194         Call __setttyent, __getttyent and __endttyent instead of
25195         setttyent, getttyent and endttyent.
25196         (getttyent): Rename to __getttyent and define as weak alias of
25197         __getttyent.  Call __setttyent instead of setttyent.  Call
25198         __fgets_unlocked instead of fgets_unlocked.
25199         (setttyent): Rename to __setttyent and define as weak alias of
25200         __setttyent.
25201         (endttyent): Rename to __endttyent and define as weak alias of
25202         __endttyent.
25203         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
25204         (__setttyent): Likewise.
25205         (__endttyent): Likewise.
25206         (getttyent): Don't use libc_hidden_proto.
25207         (setttyent): Likewise.
25208         (endttyent): Likewise.
25209         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25210         __endttyent instead of setttyent, getttyent and endttyent.
25211         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25212         Remove variable.
25214         [BZ #18546]
25215         * socket/recv.c (__recv): Use libc_hidden_def.
25216         * socket/socket.c (__socket): Likewise.
25217         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25218         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25219         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25220         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25221         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25222         libc_hidden_def.
25223         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25224         libc_hidden_weak.
25225         * include/sys/socket.h (__socket): Do not use attribute_hidden.
25226         Use libc_hidden_proto.
25227         (__recv): Likewise.
25228         * socket/Versions (libc): Export __recv and __socket at version
25229         GLIBC_PRIVATE.
25230         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25231         instead of recv.
25232         (init_mq_netlink): Call __socket instead of socket.
25233         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25234         Remove variable.
25236         [BZ #18545]
25237         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25238         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
25239         hidden_weak.
25240         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25241         define as alias of __mq_timedsend.  Use hidden_weak.
25242         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25243         __mq_timedsend as strong name.
25244         (mq_timedreceive): Use __mq_timedreceive as strong name.
25245         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
25246         (__mq_timedreceive): Likewise.
25247         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25248         __mq_timedreceive instead of mq_timedreceive.
25249         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25250         instead of mq_timedsend.
25251         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25252         Remove variable.
25254         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25255         hidden_def and hidden_weak instead of libc_hidden_def and
25256         libc_hidden_weak.
25257         (top level): Refer to hidden_def in comment.
25258         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25259         macro.  Use it instead of libc_hidden_def.
25260         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25261         specify __GI_* name explicitly.
25262         (mq_timedreceive): Likewise.
25263         (mq_setattr): Likewise.
25265         [BZ #18544]
25266         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25267         __pthread_barrier_init and define as weak alias of
25268         __pthread_barrier_init.
25269         * sysdeps/sparc/nptl/pthread_barrier_init.c
25270         (pthread_barrier_init): Likewise.
25271         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25272         __pthread_barrier_wait and define as weak alias of
25273         __pthread_barrier_wait.
25274         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25275         (pthread_barrier_wait): Likewise.
25276         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25277         (pthread_barrier_wait): Likewise.
25278         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25279         (pthread_barrier_wait): Likewise.
25280         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25281         (pthread_barrier_wait): Likewise.
25282         * nptl/Versions (libpthread): Export __pthread_barrier_init and
25283         __pthread_barrier_wait at version GLIBC_PRIVATE.
25284         * include/pthread.h (__pthread_barrier_init): Declare.
25285         (__pthread_barrier_wait): Likewise.
25286         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25287         Call __pthread_barrier_wait instead of pthread_barrier_wait.
25288         (helper_thread): Likewise.
25289         (init_mq_netlink): Call __pthread_barrier_init instead of
25290         pthread_barrier_init.
25292         [BZ #18542]
25293         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25294         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25295         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
25296         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25297         vswscanf.
25298         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25299         Remove variable.
25301         [BZ #18540]
25302         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25303         strong alias of _IO_fflush.  Use libc_hidden_def.
25304         * libio/iofflush_u.c (fflush_unlocked): Rename to
25305         __fflush_unlocked and define as weak alias of __fflush_unlocked.
25306         Use libc_hidden_weak.
25307         * include/stdio.h (__fflush_unlocked): Declare.  Use
25308         libc_hidden_proto.
25309         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25310         fflush_unlocked.
25311         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25312         Remove variable.
25314         [BZ #18539]
25315         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25316         define as weak alias of __addseverity.
25317         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25318         Remove variable.
25319         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25320         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25321         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25323         [BZ #18536]
25324         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25325         (__tfind): Likewise.
25326         (__tdelete): Likewise.
25327         (__twalk): Likewise.
25328         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25329         __twalk to GLIBC_PRIVATE.
25330         * include/search.h (__tsearch): Use libc_hidden_proto.
25331         (__tfind): Likewise.
25332         (__tdelete): Likewise.
25333         (__twalk): Likewise.
25334         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25335         Call __tdelete instead of tdelete.
25336         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25337         tfind.  Call __tsearch instead of tsearch.
25338         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25339         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25340         Remove variable.
25341         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25343         [BZ #18534]
25344         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25345         (dprintf): Define as a weak alias of __dprintf, not a strong
25346         alias.
25347         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
25348         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25349         dprintf.
25350         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25351         Remove variable.
25352         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25353         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25355         [BZ #18533]
25356         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25357         not a strong alias.
25358         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25359         Remove variable.
25361         [BZ #18532]
25362         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25363         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
25364         (in6addr_loopback): Rename to __in6addr_loopback and define as
25365         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
25366         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
25367         libc_hidden_proto.
25368         (__in6addr_any): Likewise.
25369         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25370         in6addr_any.
25371         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25372         variable.
25373         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25375 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
25377         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25378         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25379         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25380         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25381         redirections for pow.
25382         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25383         * sysdeps/x86_64/fpu/Versions: New versions added.
25384         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25385         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25386         build of SSE, AVX2 and AVX512 IFUNC versions.
25387         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25388         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25389         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25390         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25391         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25392         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25393         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25394         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25395         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25396         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25397         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25398         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25399         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25400         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25401         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25402         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25403         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25404         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25405         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25406         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25407         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25408         * NEWS: Mention addition of x86_64 vector pow.
25410         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25411         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25412         redirections for expf.
25413         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25414         * sysdeps/x86_64/fpu/Versions: New versions added.
25415         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25416         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25417         build of SSE, AVX2 and AVX512 IFUNC versions.
25418         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25419         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25420         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25421         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25422         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25423         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25424         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25425         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25426         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25427         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25428         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25429         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25430         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25431         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25432         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25433         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25434         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25435         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25436         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25437         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25438         * NEWS: Mention addition of x86_64 vector expf.
25440         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25441         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25442         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25443         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25444         redirections for exp.
25445         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25446         * sysdeps/x86_64/fpu/Versions: New versions added.
25447         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25448         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25449         build of SSE, AVX2 and AVX512 IFUNC versions.
25450         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25451         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25452         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25453         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25454         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25455         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25456         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25457         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25458         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25459         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25460         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25461         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25462         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25463         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25464         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25465         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25466         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25467         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25468         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25469         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25470         * NEWS: Mention addition of x86_64 vector exp.
25472         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25473         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25474         redirections for logf.
25475         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25476         * sysdeps/x86_64/fpu/Versions: New versions added.
25477         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25478         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25479         build of SSE, AVX2 and AVX512 IFUNC versions.
25480         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25481         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25482         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25483         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25484         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25485         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25486         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25487         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25488         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25489         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25490         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25491         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25492         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25493         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25494         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25495         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25496         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25497         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25498         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25499         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25500         * NEWS: Mention addition of x86_64 vector logf.
25502         * bits/libm-simd-decl-stubs.h: Added stubs for log.
25503         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25504         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25505         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25506         redirections for log.
25507         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25508         * sysdeps/x86_64/fpu/Versions: New versions added.
25509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25510         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25511         build of SSE, AVX2 and AVX512 IFUNC versions.
25512         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25513         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25514         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25515         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25516         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25517         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25518         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25519         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25520         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25521         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25522         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25523         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25524         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25525         test.
25526         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25527         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25528         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25529         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25530         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25531         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25532         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25533         * NEWS: Mention addition of x86_64 vector log.
25535 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25537         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25538         cfi_adjust_cfa_offset argument.
25539         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25540         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25542         [BZ #18034]
25543         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25544         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25545         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25546         ordering using ldar.
25547         (_dl_tlsdesc_dynamic): Likewise.
25548         (_dl_tlsdesc_return_lazy): Likewise.
25549         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25550         relaxed atomics instead of volatile and synchronize with release store.
25551         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25552         volatile.
25553         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25555 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
25557         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25558         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25559         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25560         * sysdeps/x86_64/fpu/Versions: New versions added.
25561         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25562         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25563         build of SSE, AVX2 and AVX512 IFUNC versions.
25564         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25565         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25566         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25567         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25568         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25569         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25570         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25571         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25572         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25573         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25574         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25575         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25576         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25577         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25578         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25579         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25580         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25581         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25582         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25583         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25584         * NEWS: Mention addition of x86_64 vector sinf.
25586 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
25588         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25589         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25590         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25591         Remove variable.
25592         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25593         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25595 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25597         [BZ #18530]
25598         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25599         strong alias of _IO_fputs.  Use libc_hidden_def.
25600         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25601         and define as weak alias of __fputs_unlocked.  Use
25602         libc_hidden_weak.
25603         * include/stdio.h (__fputs_unlocked): Declare.  Use
25604         libc_hidden_proto.
25605         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25606         fputs_unlocked.
25608         [BZ #18529]
25609         * resolv/netdb.h [__USE_POSIX]: Change condition to
25610         [__USE_XOPEN2K].
25611         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25612         not expect.
25613         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25614         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25615         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25616         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25617         [XPG4 || UNIX98] (AI_ALL): Likewise.
25618         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25619         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25620         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25621         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25622         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25623         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25624         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25625         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25626         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25627         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25628         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25629         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25630         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25631         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25632         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25633         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25634         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25635         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25636         [XPG4 || UNIX98] (gai_strerror): Likewise.
25637         [XPG4 || UNIX98] (getaddrinfo): Likewise.
25638         [XPG4 || UNIX98] (getnameinfo): Likewise.
25640         [BZ #18528]
25641         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25642         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25643         __USE_XOPEN2K8].
25644         (getgrent): Likewise.
25645         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25646         expect.
25647         [XPG3 || POSIX2008] (endgrent): Likewise.
25648         [XPG3] (setgrent): Likewise.
25649         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25650         variable.
25651         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25653         [BZ #18527]
25654         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25655         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
25656         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25657         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25658         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25659         * include/unistd.h (__getlogin_r): Declare.  Use
25660         libc_hidden_proto.
25661         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25662         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25663         variable.
25664         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25665         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25666         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25668 2015-06-12  Martin Sebor  <msebor@redhat.com>
25670         [BZ #18512]
25671         * Makerules (check-install-supported): New target.
25672         (install): Add check-install-supported as a dependency.
25673         * manual/install.texi (Installing the C Library): Document
25674         that overriding prefix and exec_prefix is not supported.
25675         Mention DESTDIR.
25676         * INSTALL: Regenerate from the above.
25678 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25680         [BZ #18519]
25681         * posix/Versions (libc): Export __libc_pread at version
25682         GLIBC_PRIVATE.
25683         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25684         instead of pread.
25685         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25686         variable.
25688         [BZ #18522]
25689         * misc/efgcvt_r.c
25690         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25691         (cvt_symbol): Use weak_alias instead of strong_alias.
25692         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25693         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25694         Remove variable.
25695         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25696         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25698         [BZ #18520]
25699         * inet/herrno.c (h_errno): Rename to __h_errno.
25700         (__libc_h_errno): Define as alias of __h_errno not h_errno.
25701         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25702         to __h_errno instead of h_errno.
25703         * nptl/herrno.c (h_errno): Rename to __h_errno.
25704         (__h_errno_location): Refer to __h_errno not h_errno.
25705         * resolv/Versions (h_errno): Rename to __h_errno.
25706         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25707         Remove variable.
25708         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25710 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
25712         * configure.ac: More strict check for AVX512 assembler support.
25713         * configure: Regenerated.
25715         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25716         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25717         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25718         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25719         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25720         * sysdeps/x86_64/fpu/Versions: New versions added.
25721         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25722         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25723         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25724         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25725         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25726         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25727         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25728         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25729         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25730         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25731         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25732         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25733         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25734         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25735         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25736         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25737         test.
25738         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25739         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25740         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25741         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25742         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25743         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25744         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25745         * NEWS: Mention addition of x86_64 vector sin.
25747 2015-06-11  Florian Weimer  <fweimer@redhat.com>
25749         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25750         comment.
25752 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25754         [BZ #18479]
25755         * nptl/pt-interp.c: New file.
25756         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25757         Add pt-interp.
25758         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25759         $(common-objpfx)runtime-linker.h.
25761 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
25763         * Makeconfig (+interp): Remove unused variable.
25764         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25765         only.  Depend on $(common-objpfx)runtime-linker.h instead of
25766         $(elf-objpfx)runtime-linker.h.
25767         ($(elf-objpfx)runtime-linker.h): Rename to
25768         $(common-objpfx)runtime-linker.h and move ...
25769         * Makerules [$(build-shared) = yes]: ... here.
25770         * elf/interp.c: Include <runtime-linker.h> instead of
25771         <elf/runtime-linker.h>.
25773 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25775         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25776         (__gettimeofday_syscall): Remove vsyscall fallback.
25777         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25778         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25779         Add syscall fallback function.
25780         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25781         if vDSO is not present.
25782         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25783         fallback function.
25784         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25785         present.
25786         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25787         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25789 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
25791         [BZ #18497]
25792         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25793         of wcscmp.
25794         (wcscmp): Define as weak alias of WCSCMP.
25795         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25796         wcscoll.
25797         (USE_HIDDEN_DEF): Define.
25798         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25799         __wcscoll.  Don't use libc_hidden_weak.
25800         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25801         wcscmp.
25802         * sysdeps/i386/i686/multiarch/wcscmp-c.c
25803         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25804         __GI_wcscmp.
25805         (weak_alias): Undefine and redefine.
25806         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25807         __wcscmp and define as weak alias of __wcscmp.
25808         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25809         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
25810         (__wcscoll): Likewise.
25811         (wcscmp): Don't use libc_hidden_proto.
25812         (wcscoll): Likewise.
25813         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25814         wcscoll.
25815         * posix/regexec.c (check_node_accept_bytes): Likewise.
25816         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25817         variable.
25818         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25819         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25821         [BZ #18507]
25822         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25823         __fstatvfs and define as weak alias of __fstatvfs.  Use
25824         libc_hidden_weak.
25825         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25826         and define as weak alias of __statvfs.  Use libc_hidden_weak.
25827         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25828         Define as alias of __fstatvfs, not fstatvfs.
25829         (fstatvfs64): Likewise.
25830         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25831         Define as alias of __statvfs, not statvfs.
25832         (statvfs64): Likewise.
25833         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25834         Remove variable.
25836 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25839         (HAVE_GETCPU_VSYSCALL): Define.
25840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25841         (HAVE_GETCPU_VSYSCALL): Likewise.
25842         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25843         * sysdeps/unix/sysv/linux/sched_getcpu.c
25844         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25845         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25846         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25847         prototype.
25848         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25849         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25850         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25851         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25852         Define.
25853         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25854         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25855         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25856         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25858 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
25860         * sysdeps/x86_64/fpu/Makefile: New file.
25861         * sysdeps/x86_64/fpu/Versions: New file.
25862         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25863         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25864         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25865         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25866         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25867         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25868         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25869         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25870         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25871         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25872         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25873         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25874         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25875         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25876         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25877         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25878         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25879         * sysdeps/x86_64/configure.ac: Options for libmvec build.
25880         * sysdeps/x86_64/configure: Regenerated.
25881         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25882         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25883         * manual/install.texi (Configuring and compiling): Document
25884         --disable-mathvec.
25885         * INSTALL: Regenerated.
25886         * NEWS: Mention addition of libmvec and x86_64 vector cos.
25888         * math/Makefile: Added rules for vector tests.
25889         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25890         declaration under condition.
25891         * math/test-double-vlen2.h: New file.
25892         * math/test-double-vlen4.h: New file.
25893         * math/test-double-vlen8.h: New file.
25894         * math/test-vec-loop.h: Added initialization macro.
25895         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25896         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25897         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25898         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25899         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25900         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25901         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25902         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25903         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25904         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25905         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25907         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25908         * sysdeps/x86_64/fpu/Versions: New versions added.
25909         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25910         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25911         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25912         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25913         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25914         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25915         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25916         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25917         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25918         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25919         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25920         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25921         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25922         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25923         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25924         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25925         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25926         * NEWS: Mention addition of x86_64 vector cosf.
25928         * math/Makefile: Added CFLAGS for new tests.
25929         * math/test-float-vlen16.h: New file.
25930         * math/test-float-vlen4.h: New file.
25931         * math/test-float-vlen8.h: New file.
25932         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25933         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25935         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25936         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25937         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25938         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25939         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25940         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25941         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25942         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25944 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
25946         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25947         * locale/programs/ld-ctype.c: Likewise.
25949 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
25951         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25952         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25953         bit_ZMM16_31_state): New macro.
25954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25955         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25957 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
25959         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25961 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
25963         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25965 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
25967         [BZ #18498]
25968         * libio/memstream.c (open_memstream): Rename to __open_memstream
25969         and define as weak alias of __open_memstream.
25970         * include/stdio.h (__open_memstream): Declare.  Use
25971         libc_hidden_proto.
25972         (open_memstream): Don't use libc_hidden_proto.
25973         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25974         open_memstream.
25975         * posix/getopt.c (_getopt_internal_r): Likewise.
25976         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25977         variable.
25978         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25979         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25980         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25982         [BZ #18496]
25983         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25984         instead of wcrtomb.
25986         [BZ #18483]
25987         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25988         [__USE_XOPEN2K8].  Remove redundant #endif.
25989         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25990         Remove redundant #if.
25991         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25992         Remove variable.
25993         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25994         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25996         [BZ #18495]
25997         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25998         (__iswlower): Likewise.
25999         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
26000         (__iswlower): Likewise.
26001         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
26002         instead of towlower.
26003         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
26004         instead of iswlower.  Call __towupper instead of towupper.
26005         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
26006         instead of iswalnum.
26008 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26010         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
26011         errors to stderr.
26013 2015-06-05  Florian Weimer  <fweimer@redhat.com>
26015         [BZ #15661]
26016         [BZ #17322]
26017         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26018         Check for overflow properly.  Check for O_APPEND.  Ignore large
26019         file system block sizes.  Add comments about problems.
26020         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
26021         * manual/filesys.texi (Storage Allocation): New node.
26023 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26025         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
26026         cancellable syscalls.
26027         (SYS_ify): Add guard to no redefine it.
26028         (INLINE_SYSCALL): Likewise.
26029         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
26030         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
26031         SYSCALL_CANCEL instead.
26032         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
26033         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26034         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26035         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26036         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26037         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
26038         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
26039         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
26040         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26041         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26042         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
26043         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
26044         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
26045         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
26046         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
26047         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26048         Likewise.
26049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26050         (__libc_pread64): Likewise.
26051         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
26052         (__libc_preadv): Likewise.
26053         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
26054         (__libc_readv64): Likewise.
26055         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26056         (__libc_pwrite): Likewise.
26057         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26058         (__libc_pwrite64): Likewise.
26059         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
26060         (__libc_pwritev): Likewise.
26061         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
26062         (__libc_pwritev64): Likewise.
26063         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
26064         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26065         (sync_file_range): Likewise.
26066         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
26067         Likewise.
26068         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
26069         Likewise.
26070         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26071         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26072         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26073         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26074         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26075         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26076         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26077         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
26078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26079         Likewise.
26080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26081         (__libc_read64): Likewise.
26082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
26083         Likewise.
26084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
26085         Likewise.
26086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
26087         Likewise.
26088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
26089         Likewise.
26090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26091         (__libc_pread64): Likewise.
26092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
26093         Likewise.
26094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26095         (__libc_pwrite64): Likewise.
26096         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
26097         (sync_file_range): Likewise.
26098         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
26099         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26100         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26101         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
26102         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
26103         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26104         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26105         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
26106         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
26107         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26108         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26109         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26110         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26111         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26112         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
26113         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26114         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26115         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26116         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26117         Likewise.
26118         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
26119         Likewise.
26120         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
26121         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
26122         Likewise.
26123         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
26124         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
26125         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
26126         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
26127         Likewise.
26128         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
26129         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
26130         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
26131         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
26132         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
26134 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
26136         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
26137         Include dl-vdso.
26138         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
26139         Use VDSO routines for gettimeofday, clock_gettime if
26140         available.
26141         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
26142         Declare VDSO symbols.
26143         * sysdeps/unix/sysv/linux/arm/sysdep.h:
26144         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
26145         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26146         * sysdeps/unix/sysv/linux/arm/Versions: Add
26147         __vdso_clock_gettime.
26149 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26151         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
26152         be an inline implementation regardless of library is built within.
26153         (open_not_cancel_2): Likewise.
26154         (__read_nocancel): Likewise.
26155         (__write_nocancel): Likewise.
26156         (openat_not_cancel): Likewise.
26157         (openat_not_cancel_3): Likewise.
26158         (openat64_not_cancel): Likewise.
26159         (openat64_not_cancel_3): Likewise.
26160         (__close_nocancel): Likewise.
26161         (pause_not_cancel): Likewise.
26162         (nanosleep_not_cancel): Likewise.
26163         (sigsuspend_not_cancel): Likewise.
26165 2015-06-04  Torvald Riegel  <triegel@redhat.com>
26167         [BZ #14958]
26168         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
26169         wake-up.
26170         (__pthread_rwlock_rdlock_slow): Likewise.
26171         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26172         Likewise.
26173         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26174         Likewise.
26175         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
26176         * nptl/tst-rwlock16.c: New file.
26177         * nptl/Makefile (tests): Add new test.
26179 2015-06-04  Torvald Riegel  <triegel@redhat.com>
26181         [BZ #18324]
26182         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
26183         missing wake-up of readers.
26184         * nptl/tst-rwlock15.c: New file.
26185         * nptl/Makefile (tests): Add new test.
26187 2015-06-03  Roland McGrath  <roland@hack.frob.com>
26189         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26190         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26191         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26192         and __nacl_supply_interface_rtld.
26193         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26194         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26195         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26196         Add __nacl_supply_interface_rtld.
26197         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26199 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26201         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26202         isfinite.
26203         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26204         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26206 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26208         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26209         __signbit* with standard C99 macros.
26210         * math/e_exp10l.c: Likewise.
26211         * math/e_exp2l.c: Likewise.
26212         * math/e_scalb.c: Likewise.
26213         * math/e_scalbf.c: Likewise.
26214         * math/e_scalbl.c: Likewise.
26215         * math/s_ldexp.c: Likewise.
26216         * math/s_ldexpf.c: Likewise.
26217         * math/s_ldexpl.c: Likewise.
26218         * math/w_atan2.c: Likewise.
26219         * math/w_atan2f.c: Likewise.
26220         * math/w_atan2l.c: Likewise.
26221         * math/w_cosh.c: Likewise.
26222         * math/w_coshf.c: Likewise.
26223         * math/w_coshl.c: Likewise.
26224         * math/w_exp10.c: Likewise.
26225         * math/w_exp10f.c: Likewise.
26226         * math/w_exp10l.c: Likewise.
26227         * math/w_exp2.c: Likewise.
26228         * math/w_exp2f.c: Likewise.
26229         * math/w_exp2l.c: Likewise.
26230         * math/w_fmod.c: Likewise.
26231         * math/w_fmodf.c: Likewise.
26232         * math/w_fmodl.c: Likewise.
26233         * math/w_hypot.c: Likewise.
26234         * math/w_hypotf.c: Likewise.
26235         * math/w_hypotl.c: Likewise.
26236         * math/w_jnl.c: Likewise.
26237         * math/w_lgamma.c: Likewise.
26238         * math/w_lgamma_r.c: Likewise.
26239         * math/w_lgammaf.c: Likewise.
26240         * math/w_lgammaf_r.c: Likewise.
26241         * math/w_lgammal.c: Likewise.
26242         * math/w_lgammal_r.c: Likewise.
26243         * math/w_pow.c: Likewise.
26244         * math/w_powf.c: Likewise.
26245         * math/w_powl.c: Likewise.
26246         * math/w_remainder.c: Likewise.
26247         * math/w_remainderf.c: Likewise.
26248         * math/w_remainderl.c: Likewise.
26249         * math/w_scalb.c: Likewise.
26250         * math/w_scalbf.c: Likewise.
26251         * math/w_scalbl.c: Likewise.
26252         * math/w_scalbln.c: Likewise.
26253         * math/w_scalblnf.c: Likewise.
26254         * math/w_scalblnl.c: Likewise.
26255         * math/w_sinh.c: Likewise.
26256         * math/w_sinhf.c: Likewise.
26257         * math/w_sinhl.c: Likewise.
26258         * math/w_tgamma.c: Likewise.
26259         * math/w_tgammaf.c: Likewise.
26260         * math/w_tgammal.c: Likewise.
26261         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26262         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26263         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26264         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26265         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26266         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26267         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26268         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26269         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26270         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26271         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26272         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26273         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26274         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26275         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26276         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26277         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26278         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26279         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26280         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26281         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26282         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26283         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26284         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26285         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26286         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26287         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26288         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26289         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26290         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26291         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26292         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26293         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26294         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26295         * stdio-common/printf_fp.c: Likewise.
26296         * stdio-common/printf_fphex.c: Likewise.
26297         * stdio-common/printf_size.c: Likewise.
26299 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
26301         [BZ #18470]
26302         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26303         strnlen.
26304         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26305         Remove variable.
26306         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26307         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26308         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26309         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26310         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26311         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26312         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26313         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26314         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26315         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26317         [BZ #18468]
26318         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26319         weak alias of __wmemchr.  Use libc_hidden_weak.
26320         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
26321         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26322         instead of wmemchr.
26324 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26326         [BZ #18383]
26327         * elf/tst-tlsalign-extern.c: New file.
26328         * elf/tst-tlsalign-extern-static.c: New file.
26329         * elf/tst-tlsalign-vars.c: New file.
26330         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26331         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26332         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26333         ($(objpfx)tst-tlsalign-extern-static): Likewise.
26334         (test-xfail-tst-tlsalign-extern-static): New variable.
26336 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
26338         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26339         Use variable name _sc_err instead of err.
26340         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26341         instead of ret.
26342         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26343         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26344         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26345         (INLINE_SYSCALL): Likewise.
26347         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26348         * include/string.h (__strnlen): Use libc_hidden_proto.
26349         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26350         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26351         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26352         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26353         (libc_hidden_def): Undefine and redefine.
26354         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26355         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26356         __GI_strnlen.
26357         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26358         libc_hidden_def.
26359         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26361         [BZ #18469]
26362         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26363         weak alias of __towlower.  Use libc_hidden_weak.
26364         (towupper): Rename to __towupper and define as weak alias of
26365         __towupper.  Use libc_hidden_weak.
26366         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
26367         (__towupper): Likewise.
26368         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26369         __towlower instead of towlower.
26371 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26373         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26374         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26376 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26378         * sysdeps/aarch64/libm-test-ulps: Update.
26380 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26382         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26383         Define.
26384         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26386         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26387         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26388         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26389         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26390         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26392 2015-06-01  Martin Sebor  <msebor@redhat.com>
26394         [BZ #18116]
26395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26396         (__setcontext): Use extended four-operand version of mtsf whenever
26397         possible.
26398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26399         (__novec_swapcontext): Likewise.
26401 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26403         * benchtests/scripts/compare_bench.py: New file.
26404         * benchtests/scripts/import_bench.py (mean): New function.
26405         (split_list): Likewise.
26406         (do_for_all_timings): Likewise.
26407         (compress_timings): Likewise.
26409         * benchtests/scripts/import_bench.py: New file.
26410         * benchtests/scripts/validate_benchout.py: Import import_bench
26411         instead of jsonschema.
26412         (validate_bench): Remove function.
26413         (main): Use import_bench.
26415 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
26417         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26418         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26420 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26424 2015-05-28  Roland McGrath  <roland@hack.frob.com>
26426         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26427         set THREAD_SELF->tid to a magic value and futex-wake it.
26428         Pass its address to the thread_exit system call.
26429         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26430         bit is clear.
26431         * sysdeps/nacl/lowlevellock.h: New file.
26432         * sysdeps/nacl/lll_timedwait_tid.c: New file.
26434         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26435         Add TIMEOUT to current time, don't subtract it.
26437 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
26439         [BZ #2981]
26440         [BZ #18422]
26441         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26442         ($(objpfx)tst-audit2.out): Also depend on
26443         $(objpfx)tst-auditmod9b.so.
26444         * elf/tst-audit2.c: Include <dlfcn.h>.
26445         (calloc_called): New.
26446         (calloc): Allow to be called more than once.
26447         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26449 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
26451         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26452         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26454 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
26456         * stdlib/monetary.h: Fix comment.
26458 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
26460         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26461         Avoid using variables in #defines that might cause shadowing.
26462         (INTERNAL_VSYSCALL_CALL): Likewise.
26464 2015-05-26  Roland McGrath  <roland@hack.frob.com>
26466         * sysdeps/nacl/lll_timedlock_wait.c: New file.
26468         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26469         * nptl/lll_timedlock_wait.c: ... to this new file.
26470         * nptl/Makefile (libpthread-routines): Add it.
26471         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26472         * nptl/lll_timedwait_tid.c: ... to this new file.
26473         * nptl/Makefile (libpthread-routines): Add it.
26474         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26475         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26476         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26477         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26478         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26479         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26480         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26481         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26482         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26483         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26485 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26487         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26488         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26489         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26490         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26491         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26492         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26493         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26494         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26495         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26496         * sysdeps/unix/sysv/linux/tile/sysdep.h
26497         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26498         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26499         using vDSO syscall macro.
26501 2015-05-26  Andriy Rysin  <arysin@gmail.com>
26503         [BZ #17293]
26504         * uk_UA: Fix sorting order for Ukrainian locale
26506 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
26508         * stdlib/monetary.h: Fix comment.
26510 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26512         [BZ #18234]
26513         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26514         st_mtim and st_ctim members.
26515         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26516         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26517         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26518         (struct stat64): Likewise.
26519         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26520         (struct stat64): Likewise.
26521         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26522         (struct stat64): Likewise.
26524 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26526         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26527         Define and include sysdep-vdso.h.
26528         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26529         Likewise.
26530         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26531         Likewise.
26532         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26533         Define with VDSO_SYMBOL and use PTR_MANGLE.
26534         (__vdso_clock_gettime): Likewise.
26535         (__vdso_clock_getres): Likewise.
26536         (_libc_vdso_platform_setup): Likewise.
26537         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26538         Likewise.
26539         (_libc_vdso_platform_setup): Likewise.
26540         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26541         Likewise.
26542         (__vdso_clock_gettime): Likewise.
26543         (__vdso_clock_getres): Likewise.
26544         (__vdso_get_tbfreq): Likewise.
26545         (__vdso_getcpu): Likewise.
26546         (__vdso_time): Likewise.
26547         (__vdso_sigtramp_rt64): Likewise.
26548         (__vdso_signtramp32): Likewise.
26549         (__vdso_sigtramp_rt32): Likewise.
26550         (_libc_vdso_platform_setup): Likewise.
26551         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26552         Likewise.
26553         (__vdso_clock_gettime): Likewise.
26554         (__vdso_clock_getres): Likewise.
26555         (_libc_vdso_platform_setup): Likewise.
26556         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26557         Likewise.
26558         (__vdso_clock_gettime): Likewise.
26559         (_libc_vdso_platform_setup): Likewise.
26560         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26561         Likewise.
26562         (__vdso_getcpu): Likewise.
26563         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26564         Use VDSO_SYMBOL macro to define.
26565         (__vdso_clock_gettime): Likewise.
26566         (__vdso_clock_getres): Likewise.
26567         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26568         Likewise.
26569         (__vdso_clock_gettime): Likewise.
26570         (__vdso_clock_getres): Likewise.
26571         (__vdso_get_tbfreq): Likewise.
26572         (__vdso_getcpu): Likewise.
26573         (__vdso_time): Likewise.
26574         (__vdso_sigtramp_rt64): Likewise.
26575         (__vdso_signtramp32): Likewise.
26576         (__vdso_sigtramp_rt32): Likewise.
26577         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26578         Likewise.
26579         (__vdso_clock_gettime): Likewise.
26580         (__vdso_clock_getres): Likewise.
26581         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26582         Likewise.
26583         (__vdso_clock_gettime): Likewise.
26584         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26585         Likewise.
26586         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
26587         macro.
26588         (INTERNAL_VSYSCALL): Likewise.
26589         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26590         Remove macro.
26591         (INTERNAL_VSYSCALL): Likewise.
26592         (INTERNAL_VSYSCALL_NCS): Likewise.
26593         (INTERNAL_VSYSCALL_CALL): New macro.
26594         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26595         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26596         Likewise.
26597         (INTERNAL_VSYSCALL): Likewise.
26598         (INTERNAL_VSYSCALL_NCS): Likewise.
26599         (INTERNAL_VSYSCALL_CALL): New macro.
26600         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26602         (INLINE_VSYSCALL): Remove macro.
26603         (INTERNAL_VSYSCALL): Remove macro.
26604         (INTERNAL_VSYSCALL_NCS): Remove macro.
26605         (INTERNAL_VSYSCALL_CALL): New macro.
26606         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26607         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26608         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26609         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26610         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26612         (INLINE_VSYSCALL): Remove macro.
26613         (INTERNAL_VSYSCALL): Likewise.
26614         (INTERNAL_VSYSCALL_NCS): Likewise.
26615         (INTERNAL_VSYSCALL_CALL): New macro.
26616         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26617         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26618         PTR_DEMANGLE on vDSO pointer.
26619         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26620         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26621         macro.
26622         (INTERNAL_SYSCALL): Likewise.
26623         (INTERNAL_VSYSCALL_NCS): Remove macro.
26624         (INTERNAL_VSYSCALL_CALL): New macro.
26625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26626         Remove macro.
26627         (INTERNAL_VSYSCALL): Likewise.
26628         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26629         sysdep-vdso.h instead of libc-vdso.h.
26630         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26631         definition.
26632         (INLINE_VSYSCALL): Likewise.
26633         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26634         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26635         definition.
26636         (INLINE_VSYSCALL): Likewise.
26637         (INTERNAL_VSYSCALL): Likewise.
26638         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26639         * sysdeps/unix/sysv/linux/timespec_get.c
26640         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26641         (timespec_get): Use ANSI prototype.
26642         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26643         and definition for Linux.
26645 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26647         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26648         * include/libc-symbols.h: libmvec_hidden_* macro series added.
26650 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26652         [BZ #2981]
26653         [BZ #18410]
26654         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26655         for missing DT_PLTRELSZ.
26657 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26659         Remove obsolete aliases that broke 'locale -a'
26660         [BZ #18412]
26661         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26662         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26663         breaking some applications that use 'locale -a' output.
26664         Change the encoding of this file from Latin-1 to ASCII to avoid
26665         other potential problems with people grepping this file.
26667 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26669         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26670         -fasynchronous-unwind-tables.
26671         (CFLAGS-sendto.c): Likewise.
26672         (CFLAGS-sendmsg.c): Likewise.
26673         (CFLAGS-connect.c): Likewise.
26674         (CFLAGS-recvmsg.c): Likewise.
26675         (CFLAGS-recvfrom.c): Likewise.
26676         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26677         (SOCKETCALL): New macro: non-cancellable socketcall.
26678         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26679         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26680         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26681         * sysdeps/unix/sysv/linux/accept.c: New file.
26682         * sysdeps/unix/sysv/linux/bind.c: Likewise.
26683         * sysdeps/unix/sysv/linux/connect.c: Likewise.
26684         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26685         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26686         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26687         * sysdeps/unix/sysv/linux/listen.c: Likewise.
26688         * sysdeps/unix/sysv/linux/recv.c: Likewise.
26689         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26690         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26691         * sysdeps/unix/sysv/linux/send.c: Likewise.
26692         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26693         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26694         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26695         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26696         * sysdeps/unix/sysv/linux/socket.c: Likewise.
26697         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26698         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26699         prototype.
26700         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26701         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26702         instead of __internal_xxx function.
26703         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26704         prototype.
26705         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26706         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26707         instead of __internal_xxx function.
26708         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26709         prototype.
26710         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26711         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26712         instead of __internal_xxx function.
26713         * sysdeps/unix/sysv/linux/accept.S: Remove file.
26714         * sysdeps/unix/sysv/linux/bind.S: Likewise.
26715         * sysdeps/unix/sysv/linux/connect.S: Likewise.
26716         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26717         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26718         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26719         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26720         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26721         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26722         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26723         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26724         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26725         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26726         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26727         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26728         * sysdeps/unix/sysv/linux/listen.S: Likewise.
26729         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26730         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26731         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26732         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26735         * sysdeps/unix/sysv/linux/recv.S: Likewise.
26736         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26737         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26738         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26739         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26740         * sysdeps/unix/sysv/linux/send.S: Likewise.
26741         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26742         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26743         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26744         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26745         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26746         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26747         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26748         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26749         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26750         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26751         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26752         socketcall is implemented in GLIBC.
26754 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26756         * soft-fp/fmadf4.c: Include <libc-internal.h>.
26757         (__fma): Ignore uninitialized warnings around packing.
26758         * soft-fp/fmasf4.c: Include <libc-internal.h>.
26759         (__fmaf): Ignore uninitialized warnings around packing.
26760         * soft-fp/fmatf4.c: Include <libc-internal.h>.
26761         (__fmal): Ignore uninitialized warnings around packing.
26763         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26764         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26765         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26766         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26768         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26769         switch statement into default case.
26770         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26772         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26773         a conditional in forcing "inexact".
26774         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26775         Likewise.
26777 2015-05-22  Roland McGrath  <roland@hack.frob.com>
26779         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26780         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26781         for each INTERNAL_SYSCALL use.
26783 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26785         [BZ #438]
26786         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26787         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26788         variable.
26790         [BZ #18444]
26791         * string/basename.c (basename): Rename to __basename and define as
26792         weak alias of __basename.  Use libc_hidden_weak.
26793         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
26794         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26795         __basename instead of basename.
26796         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26797         Remove variable.
26798         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26800 2015-05-18  Florian Weimer  <fweimer@redhat.com>
26802         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26803         (_IO_JUMPS_FILE_plus): New.
26804         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26805         _IO_CAST_FIELD_ACCESS.
26806         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26807         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26808         * libio/freopen.c (freopen): Likewise.
26809         * libio/freopen64.c (freopen64): Likewise.
26810         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26811         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26812         * libio/iofwide.c (_IO_fwide): Likewise.
26813         * libio/memstream.c (open_memstream): Likewise.
26814         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26815         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26816         * libio/oldiopopen.c (_IO_old_popen): Likewise.
26818 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
26820         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26821         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26822         NADJ.
26823         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26824         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26825         NADJ.
26826         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26827         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26828         NADJ.
26830         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26831         (p == 4) case.
26833         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26834         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26835         Remove variable.
26836         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26837         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26838         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26840 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26842         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26843         Adjust jump table label generation macros.
26845 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26847         * stdio-common/vfprintf.c (vfprintf): Move local variables
26848         args_malloced, specs, specs_malloced, and the code after
26849         do_positional to the printf_positional function.
26850         (printf_positional): New function.
26852 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26854         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26855         function.
26856         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26857         STEP4_TABLE, process_arg): Move macro definitions
26858         out of the vfprintf function.  (Cosmetic change only.)
26860 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
26862         * benchtests/Makefile (stdio-common-bench): Define.
26863         (benchset): Add stdio-common-bench.
26864         * sprintf-inputs: New file.
26865         * sprintf-source.c: New file.
26867 2015-05-21  Andreas Schwab  <schwab@suse.de>
26869         [BZ #13028]
26870         [BZ #17053]
26871         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26872         of struct __res_state.
26873         * resolv/res_send.c (__libc_res_nsend): Likewise.
26874         (get_nsaddr): New function.
26875         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26876         statp directly.
26878 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
26880         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26881         -D_POSIX_C_SOURCE=199506L.
26883         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26885         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26886         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26887         Do not mention otherwise.
26888         [POSIX] (_XOPEN_VERSION): Do not expect.
26889         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26890         [POSIX] (_POSIX2_C_BIND): Likewise.
26891         [POSIX] (_POSIX2_VERSION): Likewise.
26892         [POSIX] (_XOPEN_XPG2): Likewise.
26893         [POSIX] (_XOPEN_XPG3): Likewise.
26894         [POSIX] (_XOPEN_XPG4): Likewise.
26895         [POSIX] (_XOPEN_UNIX): Likewise.
26896         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26897         [POSIX] (_POSIX_BARRIERS): Likewise.
26898         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26899         [POSIX] (_POSIX_CPUTIME): Likewise.
26900         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26901         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26902         [POSIX] (_POSIX_SHELL): Likewise.
26903         [POSIX] (_POSIX_SPAWN): Likewise.
26904         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26905         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26906         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26907         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26908         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26909         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26910         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26911         [POSIX] (_XBS5_LP64_OFF64): Likewise.
26912         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26913         [POSIX] (_POSIX_TIMEOUTS): Likewise.
26914         [POSIX] (_POSIX2_PBS): Likewise.
26915         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26916         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26917         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26918         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26919         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26920         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26921         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26922         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26923         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26924         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26925         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26926         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26927         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26928         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26929         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26930         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26931         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26932         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26933         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26934         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26935         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26936         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26937         [POSIX] (_SC_2_C_BIND): Likewise.
26938         [POSIX] (_SC_2_C_VERSION): Likewise.
26939         [POSIX] (_SC_2_PBS): Likewise.
26940         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26941         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26942         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26943         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26944         [POSIX] (_SC_2_PBS_TRACK): Likewise.
26945         [POSIX] (_SC_ATEXIT_MAX): Likewise.
26946         [POSIX] (_SC_BARRIERS): Likewise.
26947         [POSIX] (_SC_BASE): Likewise.
26948         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26949         [POSIX] (_SC_DEVICE_IO): Likewise.
26950         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26951         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26952         [POSIX] (_SC_FD_MGMT): Likewise.
26953         [POSIX] (_SC_FIFO): Likewise.
26954         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26955         [POSIX] (_SC_FILE_LOCKING): Likewise.
26956         [POSIX] (_SC_FILE_SYSTEM): Likewise.
26957         [POSIX] (_SC_IOV_MAX): Likewise.
26958         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26959         [POSIX] (_SC_NETWORKING): Likewise.
26960         [POSIX] (_SC_PAGE_SIZE): Likewise.
26961         [POSIX] (_SC_PASS_MAX): Likewise.
26962         [POSIX] (_SC_PIPE): Likewise.
26963         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26964         [POSIX] (_SC_REGEXP): Likewise.
26965         [POSIX] (_SC_SHELL): Likewise.
26966         [POSIX] (_SC_SIGNALS): Likewise.
26967         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26968         [POSIX] (_SC_SPIN_LOCKS): Likewise.
26969         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26970         [POSIX] (_SC_USER_GROUPS): Likewise.
26971         [POSIX] (_SC_USER_GROUPS_R): Likewise.
26972         [POSIX] (_SC_STREAMS): Likewise.
26973         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26974         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26975         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26976         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26977         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26978         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26979         [POSIX] (_PC_FILESIZEBITS): Likewise.
26980         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26981         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26982         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26983         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26984         [POSIX] (uid_t): Likewise.
26985         [POSIX] (gid_t): Likewise.
26986         [POSIX] (off_t): Likewise.
26987         [POSIX] (pid_t): Likewise.
26988         [POSIX] (cuserid): Allow.
26989         (_SC_2_CHAR_TERM): Require constant.
26990         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26991         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26992         variable.
26994 2015-05-20  Roland McGrath  <roland@hack.frob.com>
26996         * sysdeps/nacl/pthread-pids.h: New file.
26997         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26998         (create_thread): Use __nacl_get_tid to initialize PD->tid.
27000         * nptl/pthread-pids.h: New file.
27001         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
27002         * nptl/nptl-init.c: Include <pthread-pids.h>.
27003         (__pthread_initialize_minimal_internal):
27004         Call __pthread_initialize_pids instead of set_tid_address syscall.
27006         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
27007         * sysdeps/posix/usleep.c: ... here.
27009 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27011         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
27012         call_pselect6 object.
27013         [$(subdir) = io]: Remove call_sync_file_range object.
27014         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
27015         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
27016         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
27017         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
27019 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
27021         * math/s_cproj.c: Add include "math_private.h".
27022         * math/s_cprojf.c: Likewise.
27023         * math/s_cprojl.c: Likewise.
27025 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
27027         [BZ #18244]
27028         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
27029         high mantissa bit when testing whether P is a NaN.
27030         * math/libm-test.inc (remainder_test_data): Add more tests.
27031         (remquo_test_data): Likewise.
27033         [BZ #18049]
27034         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
27035         below -32, return the argument, with underflow if subnormal.
27036         * math/auto-libm-test-in: Add more tests of atanh.
27037         * math/auto-libm-test-out: Regenerated.
27039 2015-05-19  Roland McGrath  <roland@hack.frob.com>
27041         [BZ #18434]
27042         * nptl/tst-sem15.c: New file.
27043         * nptl/Makefile (tests): Add it.
27044         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
27045         s/<</>>/ to fix typo in EOVERFLOW check.
27046         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
27048 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27050         * manual/strings.texi (envz_remove): Fix typo in safety
27051         annotations.
27053 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
27054             Steve Ellcey  <sellcey@imgtec.com>
27056         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27057         in order to avoid strict alias warnings.
27058         (iruserok_af): Ditto for ra.
27060 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
27062         [BZ #17581]
27063         * malloc/hooks.c
27064         (magicbyte): Convert to a function and avoid returning 0x01.
27065         (mem2mem_check): Avoid using a length byte equal to the magic byte.
27066         (mem2chunk_check): Fix unsigned comparisons to zero.
27067         Hoist defs of sz and magic.
27069 2015-05-19  Richard Henderson  <rth@redhat.com>
27071         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
27073         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27075 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27077         [BZ #16159]
27078         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
27079         * malloc/arena.c (arena_lock): Check if arena is corrupt.
27080         (reused_arena): Find a non-corrupt arena.
27081         (heap_trim): Pass arena to unlink.
27082         * malloc/hooks.c (malloc_check_get_size): Pass arena to
27083         malloc_printerr.
27084         (top_check): Likewise.
27085         (free_check): Likewise.
27086         (realloc_check): Likewise.
27087         * malloc/malloc.c (malloc_printerr): Add arena argument.
27088         (unlink): Likewise.
27089         (munmap_chunk): Adjust.
27090         (ARENA_CORRUPTION_BIT): New macro.
27091         (arena_is_corrupt): Likewise.
27092         (set_arena_corrupt): Likewise.
27093         (sysmalloc): Use mmap if there are no usable arenas.
27094         (_int_malloc): Likewise.
27095         (__libc_malloc): Don't fail if arena_get returns NULL.
27096         (_mid_memalign): Likewise.
27097         (__libc_calloc): Likewise.
27098         (__libc_realloc): Adjust for additional argument to
27099         malloc_printerr.
27100         (_int_free): Likewise.
27101         (malloc_consolidate): Likewise.
27102         (_int_realloc): Likewise.
27103         (_int_memalign): Don't touch corrupt arenas.
27104         * malloc/tst-malloc-backtrace.c: New test case.
27106         * Makefile (summarize-tests): Fix return value on success.
27108         * manual/string.texi (Envz Functions): Add envz_remove.
27110 2015-05-18  Roland McGrath  <roland@hack.frob.com>
27112         * sysdeps/posix/opendir.c: Include <stdbool.h>.
27113         (invalid_name): New function, broken out of ...
27114         (__opendirat): ... here.  Call it.
27115         (need_isdir_precheck): New function, broken out of ...
27116         (__opendirat): ... here.  Call it.
27117         Use __fxstatat64, not __xstatat64.
27118         (opendir_oflags): New function, broken out of ...
27119         (__opendirat): ... here.  Call it.
27120         (opendir_tail): New function, broken out of ...
27121         (__opendirat): ... here.  Call it.
27122         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
27123         opendir_tail, rather than punting to __opendirat.
27124         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
27126 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27128         * .gitignore: Ignore generated *.pyc.
27130 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
27132         * include/stdio.h: Define __need_wint_t.
27133         * test-skeleton.c: Avoid `for' loop initial declaration.
27134         * nptl/tst-initializers1.c: Use test-skeleton.c.
27136 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27138         [BZ #18418]
27139         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
27141 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27143         [BZ #16352]
27144         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
27145         (__ieee754_atanh): Force underflow exception for results with
27146         small absolute value.
27147         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
27148         (__ieee754_atanhf): Force underflow exception for results with
27149         small absolute value.
27150         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
27151         (__ieee754_atanh): Force underflow exception for results with
27152         small absolute value.
27153         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
27154         (__ieee754_atanhf): Force underflow exception for results with
27155         small absolute value.
27156         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
27157         (__ieee754_atanhl): Force underflow exception for results with
27158         small absolute value.
27159         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
27160         (__ieee754_atanhl): Force underflow exception for results with
27161         small absolute value.
27162         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
27163         (__ieee754_atanhl): Force underflow exception for results with
27164         small absolute value.
27165         * math/auto-libm-test-in: Do not allow missing underflow
27166         exceptions from atanh.
27167         * math/auto-libm-test-out: Regenerated.
27169         [BZ #18221]
27170         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
27171         2**-28 as threshold for returning x or +/- 1/x.
27172         * math/auto-libm-test-in: Add more tests of tan.
27173         * math/auto-libm-test-out: Regenerated.
27175         [BZ #18220]
27176         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27177         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
27178         * math/auto-libm-test-in: Add another test of lgamma.
27179         * math/auto-libm-test-out: Regenerated.
27181 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
27183         * stdio-common/printf_fp.c (___printf_fp): Use abs.
27184         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
27185         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27186         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27187         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
27188         (ADD2A): Use fabs.  (SUB2A): Use fabs.
27189         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27190         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27191         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27192         (log1): Use fabs.  (my_log2): Use fabs.
27193         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27194         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27195         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27196         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27197         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27198         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
27199         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
27200         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
27201         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
27202         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27203         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27205 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27207         [BZ #18217]
27208         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27209         as threshold for returning 1 - x.
27210         * math/auto-libm-test-in: Add more tests of erfc.
27211         * math/auto-libm-test-out: Regenerated.
27213 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
27215         [BZ #18196]
27216         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27217         threshold for large arguments.
27218         * math/auto-libm-test-in: Add another test of atan.
27219         * math/auto-libm-test-out: Regenerated.
27221         [BZ #16339]
27222         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27223         (__log1p): Force underflow exception for results with small
27224         absolute value.
27225         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27226         (__log1pf): Force underflow exception for results with small
27227         absolute value.
27228         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27229         (__log1p): Force underflow exception for results with small
27230         absolute value.
27231         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27232         (__log1pf): Force underflow exception for results with small
27233         absolute value.
27234         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27235         (__log1pl): Force underflow exception for results with small
27236         absolute value.
27237         * math/auto-libm-test-in: Do not allow missing underflow
27238         exceptions from log1p.
27239         * math/auto-libm-test-out: Regenerated.
27241 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
27242             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27244         [BZ #16704]
27245         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27247 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
27249         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27250         (libmvec): New variable.
27251         * configure.ac: Added option for mathvec build.
27252         * configure: Regenerated.
27253         * mathvec/Depend: New file.
27254         * mathvec/Makefile: New file.
27255         * shlib-versions: Added libmvec.
27256         * math/Makefile: Added rule for libm.so installation.
27258         * bits/math-vector.h: New file.
27259         * bits/libm-simd-decl-stubs.h: New header.
27260         * math/Makefile (headers): Added new header
27261         libm-simd-decl-stubs.h.
27262         * math/math.h (__MATHCALL_VEC): New macro.
27264         * math/gen-libm-have-vector-test.sh: Script generates series of macros
27265         for conditions in testing functions.
27266         * math/Makefile: Added call of libm-have-vector-test.sh.
27267         * math/libm-test.inc (HAVE_VECTOR): New macros.
27269         * math/libm-test.inc: START refactored.
27270         * math/test-double.c (TEST_MATHVEC): Add define.
27271         * math/test-float.c: Likewise.
27272         * math/test-idouble.c: Likewise.
27273         * math/test-ifloat.c: Likewise.
27274         * math/test-ildoubl.c: Likewise.
27275         * math/test-ldouble.c: Likewise.
27276         * sysdeps/generic/math-tests-arch.h
27277         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27278         architecture check.
27280         * math/test-double.c (FUNC_TEST): New macro.
27281         * math/test-float.c: Likewise.
27282         * math/test-idouble.c: Likewise.
27283         * math/test-ifloat.c: Likewise.
27284         * math/test-ildoubl.c: Likewise.
27285         * math/test-ldouble.c: Likewise.
27286         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27288 2015-05-13  Roland McGrath  <roland@hack.frob.com>
27290         * sysdeps/nacl/fdopendir.c: New file.
27292         * dirent/scandir-tail.c: New file.
27293         * dirent/scandir64-tail.c: New file.
27294         * dirent/Makefile (routines): Add them.
27295         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27296         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27297         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27298         [!SCANDIR] (SCANDIR_TAIL): New macro.
27299         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27300         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27301         (SCANDIRAT): Macro removed.
27302         (SCANDIR_TAIL): New macro.
27303         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27304         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27305         (SCANDIRAT): Just call __opendirat and __scandir_tail.
27306         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27307         (READDIR): Macro removed.
27308         (SCANDIR_TAIL): New macro.
27309         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27310         (SCANDIR_TAIL): New macro.
27312         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27313         * dirent/scandir-cancel.c: ... to this new file.
27314         * dirent/Makefile (routines): Add it.
27315         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27316         * sysdeps/unix/sysv/linux/i386/scandir64.c
27317         (SKIP_SCANDIR_CANCEL): Macro removed.
27318         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27320         * dirent/tst-scandir.c: New file.
27321         * dirent/tst-scandir64.c: New file.
27322         * dirent/Makefile (tests): Add them.
27324 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
27326         [BZ #18409]
27327         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27329 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27331         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27332         list.
27334 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
27336         * benchtests/bench-strcoll.c: New benchmark.
27337         * benchtests/Makefile: Generate locales and run benchmark.
27338         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27339         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27340         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27341         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27342         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27343         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27344         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27345         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27346         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27347         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27348         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27349         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27350         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27351         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27352         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27353         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27354         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27355         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27356         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27357         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27358         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27359         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27360         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27361         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27363 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
27365         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27366         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27368 2015-05-12  Roland McGrath  <roland@hack.frob.com>
27370         * posix/uname-values.h: New file.
27371         * posix/uname.c: Include that instead of <config-name.h>.
27372         * sysdeps/nacl/uname-values.h: New file.
27373         * sysdeps/arm/nacl/uname-values.h: New file.
27375 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
27377         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27378         splitting into fields.
27380 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
27382         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27383         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27384         * locale/localeinfo.h: Add enum collation_encoding_type.
27385         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27386         * programs/ld-collate.c (collate_output): Add encoding type info.
27387         * string/strcoll_l.c (STRDIFF): New function.
27388         * (STRCOLL): Use STRDIFF to skip over equal prefix.
27389         * wcsmbs/wcscoll_l.c: Define STRDIFF.
27391 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
27393         [BZ #18397]
27394         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27395         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
27396         <fpu_control.h> instead of <math/fpu_control.c>.
27397         * sysdeps/mips/mips32/fpu/Makefile: New file.
27399 2015-05-11  Andreas Schwab  <schwab@suse.de>
27401         [BZ #18007]
27402         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27403         nss_endgrent.
27404         (_nss_compat_endgrent): Call nss_endgrent.
27405         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27406         nss_endpwent.
27407         (_nss_compat_endpwent): Call nss_endpwent.
27408         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27409         needent, call nss_setspent only if non-zero.
27410         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27411         (internal_endspent): Don't call nss_endspent.
27412         (_nss_compat_endspent): Call nss_endspent.
27413         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27414         Remove.  All uses removed.
27415         (internal_setent): Remove parameter stayopen, add parameter
27416         stream.  Use it instead of global variable.
27417         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27418         (internal_endent, internal_getent): Add parameter stream.  Use it
27419         instead of global variable.
27420         (CONCAT(_nss_files_end,ENTNAME))
27421         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27422         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
27423         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
27424         uses removed.
27425         (internal_setent, internal_endent): Add parameter stream.  Use it
27426         instead of global variable.
27427         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27428         stream.
27429         (get_next_alias): Add parameter stream.
27430         (_nss_files_getaliasent_r): Pass global stream.
27431         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
27432         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27433         (_nss_files_gethostbyname4_r): Pass local stream to
27434         internal_setent, internal_getent and internal_endent.  Remove
27435         locking.
27437 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27439         * tst-strfmon1.c (tests): Update expected currency symbol.
27441 2015-05-08  Roland McGrath  <roland@hack.frob.com>
27443         * sysdeps/nacl/gethostname.c: New file.
27445 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
27447         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27448         and sinh.
27449         * math/auto-libm-test-out: Regenerated.
27450         * sysdeps/i386/fpu/libm-test-ulps: Update.
27451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27453 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
27455         [BZ #18125]
27456         * stdlib/tst-setcontext3.c: New file.
27457         * stdlib/tst-setcontext3.sh: New file.
27458         * stdlib/Makefile (tests): Add tst-setcontext3.
27459         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27460         to verify test program created output file.
27461         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27462         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27463         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27464         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27466 2015-05-06  Roland McGrath  <roland@hack.frob.com>
27468         [BZ #18383]
27469         * elf/tst-tlsalign.c: New file.
27470         * elf/tst-tlsalign-static.c: New file.
27471         * elf/tst-tlsalign-lib.c: New file.
27472         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27473         (tests-static): Add tst-tlsalign-static.
27474         (modules-names): Add tst-tlsalign-lib.
27475         (test-xfail-tst-tlsalign): New variable.
27476         (test-xfail-tst-tlsalign-static): New variable.
27478         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27479         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27481 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
27483         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27484         csqrt, erfc, sin and sincos.
27485         * math/auto-libm-test-out: Regenerated.
27486         * sysdeps/i386/fpu/libm-test-ulps: Update.
27487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27489 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27491         * sysdeps/aarch64/libm-test-ulps: Update.
27493 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
27495         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27496         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
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-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27503         [BZ #18265]
27504         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27505         (wcsncpy): Likewise.
27507 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27509         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27510         Assume __ASSUME_FALLOCATE is always true.
27511         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27512         (__posix_fallocate64_l64): Likewise.
27513         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27514         (posix_fallocate): Likewise.
27515         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27516         (__posix_fallocate64_l64): Likewise.
27517         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27518         [!__ASSUME_FALLOCATE]: Add comment.
27520 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27522         * sysdeps/unix/sysv/linux/i386/Makefile
27523         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27524         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27525         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27526         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27527         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27528         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27529         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27531 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
27533         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27534         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27535         tgamma.
27536         * math/auto-libm-test-out: Regenerated.
27537         * sysdeps/i386/fpu/libm-test-ulps: Update.
27538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27540 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27542         * math/auto-libm-test-in: Add more tests of tgamma.
27543         * math/auto-libm-test-out: Regenerated.
27544         * sysdeps/i386/fpu/libm-test-ulps: Update.
27545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27547         * math/auto-libm-test-in: Add more tests of tanh.
27548         * math/auto-libm-test-out: Regenerated.
27549         * sysdeps/i386/fpu/libm-test-ulps: Update.
27550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27552         * math/auto-libm-test-in: Add more tests of tan.
27553         * math/auto-libm-test-out: Regenerated.
27554         * sysdeps/i386/fpu/libm-test-ulps: Update.
27555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27557         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27558         * math/auto-libm-test-out: Regenerated.
27559         * sysdeps/i386/fpu/libm-test-ulps: Update.
27560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27562         * math/auto-libm-test-in: Add another test of pow.
27563         * math/auto-libm-test-out: Regenerated.
27564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27566         * math/auto-libm-test-in: Add more tests of lgamma.
27567         * math/auto-libm-test-out: Regenerated.
27568         * sysdeps/i386/fpu/libm-test-ulps: Update.
27569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27571         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27572         log1p.
27573         * math/auto-libm-test-out: Regenerated.
27574         * sysdeps/i386/fpu/libm-test-ulps: Update.
27575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27577 2015-05-01  Mark Wielaard  <mjw@redhat.com>
27579         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27580         Elf64_Chdr structs and ELFCOMPRESS constants.
27582 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27584         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27585         expm1.
27586         * math/auto-libm-test-out: Regenerated.
27587         * sysdeps/i386/fpu/libm-test-ulps: Update.
27588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27590         * math/auto-libm-test-in: Add more tests of erf and erfc.
27591         * math/auto-libm-test-out: Regenerated.
27592         * sysdeps/i386/fpu/libm-test-ulps: Update.
27593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27595 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27597         * config.h.in (HAVE_AARCH64_BE): Add.
27599 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
27601         * math/auto-libm-test-in: Add more tests of csqrt.
27602         * math/auto-libm-test-out: Regenerated.
27603         * sysdeps/i386/fpu/libm-test-ulps: Update.
27604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27606         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27607         * math/auto-libm-test-out: Regenerated.
27608         * sysdeps/i386/fpu/libm-test-ulps: Update.
27609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27611         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27613 2015-04-29  Roland McGrath  <roland@hack.frob.com>
27615         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27616         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27618         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27619         (euidaccess, eaccess): Define as weak aliases.
27621         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27622         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
27623         but __suseconds_t is often 'long int' so some sources assume that
27624         type is being used (e.g. they use %ld to print tv_usec).
27626 2015-04-29  Florian Weimer  <fweimer@redhat.com>
27628         [BZ #18007]
27629         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27630         (CVE-2014-8121)
27631         * nss/tst-nss-getpwent.c: New file.
27632         * nss/Makefile (tests): Add new test.
27634 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
27636         [BZ #18346]
27637         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27638         exponents less than 48 as cases where high part of mantissa needs
27639         examining to determine whether argument is integral.
27640         * math/libm-test.inc (round_test_data): Add more tests.
27642 2015-04-28  Mark Wielaard  <mjw@redhat.com>
27644         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27646 2015-04-27  David S. Miller  <davem@davemloft.net>
27648         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27649         __tls_get_addr.
27650         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27652 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
27654         [BZ#18333]
27655         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27657 2015-04-27  Florian Weimer  <fweimer@redhat.com>
27659         [BZ#18333]
27660         * time/tzset.c (parse_tzname): Return error on memory allocation
27661         failure.
27662         * test-skeleton.c (struct temp_name_list): Change type of name
27663         member to non-const.
27664         (add_temp_file): Create a copy of the file name.
27665         (delete_temp_files): Deallocate memory.
27666         (create_temp_file): Add comment.
27668 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27670         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27671         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27673 2015-04-24  Roland McGrath  <roland@hack.frob.com>
27675         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27676         * sysdeps/arm/configure: Regenerated.
27678 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27680         [BZ #17715]
27681         * time/tzfile.c (__tzfile_read): Check for large values of
27682         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
27683         * time/tzset.c (__tzstring_len): New function, based on the old
27684         __tzstring function.
27685         (__tzstring): Call __tzstring_len.
27686         (parse_tzname): New helper function extracted from
27687         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
27688         the input string.
27689         (parse_offset): New helper function extracted from
27690         __tzset_parse_tz.  Replace switch with fallthrough with
27691         initialization before sscanf.
27692         (parse_rule): Likewise.
27693         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
27694         new-style function definition.
27695         * timezone/Makefile (tests): Add tst-tzset.
27696         (tst-tzset.out): Dependencies on time zone files.
27697         (tst-tzset-ENV): Set TZDIR.
27698         (testdata/XT%): Copy crafted time zone files.
27699         * timezone/README: Mention crafted time zone files.
27700         * timezone/testdata/XT1, timezone/testdata/XT2,
27701         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27702         files.
27703         * timezone/tst-tzset.c: New test.
27705 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27707         * Makeconfig (+gccwarn): Remove -Winline.
27709 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27711         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27713 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27715         * NEWS: Mention sysconf() cache information support for s390.
27716         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27718 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
27720         * math/k_casinh.c (__kernel_casinh): Use __copysign.
27721         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27722         (__nearbyint): Likewise.
27723         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27724         (copysignl): Likewise.
27726 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
27728         [BZ #18287]
27729         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27730         based on padding.  (CVE-2015-1781)
27732 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27734         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27735         libc-vdso.h.
27736         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27737         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27738         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27739         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27740         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27741         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27742         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27743         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27744         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27745         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27746         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27747         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27748         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27749         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27750         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27751         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27752         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27753         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27754         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27755         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27756         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27757         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27758         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27760 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
27762         * stdlib/setenv.c (__add_to_environ):
27763         Dump core quickly if setenv (..., NULL, ...) is called.
27764         This time, do it the right way, and pacify GCC with a pragma.
27766 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27768         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27769         IMAP->l_prev cannot be null, and #if out the code for the contrary
27770         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27771         believe that NS (&_dl_ns[NSID]) could point outside the array.
27773         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27774         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27775         before using NSID as an index.
27777 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
27779         [BZ #17825]
27780         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27781         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27782         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27784 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27786         Add preliminary port to Google Native Client on ARM.
27787         * abi-tags (.*-.*-nacl.*): New entry.
27788         * sysdeps/arm/nacl: New directory.
27789         * sysdeps/nacl: New directory.
27791 2015-04-16  David S. Miller  <davem@davemloft.net>
27793         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27794         lowlevellock-futex.h
27796 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
27798         * sysdeps/tile/configure.ac: New file.
27799         * sysdeps/tile/configure: Regenerated.
27801 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27803         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
27804         conditionals for weak_alias and libc_hidden_weak.
27805         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27806         libc_hidden_weak and weak_alias.
27807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27808         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27809         and weak_alias for static one.
27811 2015-04-15  David S. Miller  <davem@davemloft.net>
27813         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27815 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27817         [BZ #18206]
27818         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27819           Use signed comparision instead of substraction to avoid
27820           overflow bug.
27821         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27822           Take the sign of ret.
27823         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27824           Do not expect precise return values. Only the sign matters.
27825         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27826         * wcsmbs/test-wcsncmp.c: New File.
27827         * string/test-strncmp.c: Add wcsncmp support.
27829 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27831         [BZ #6792]
27832         * math/w_log1p.c: New file.
27833         * math/w_log1pf.c: Likewise.
27834         * math/w_log1pl.c: Likewise.
27835         * math/Makefile (libm-calls): Add w_log1p.
27836         * math/s_log1pl.c (log1pl): Remove weak_alias.
27837         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27838         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27839         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27840         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27841         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27842         [NO_LONG_DOUBLE] (log1pl): Likewise.
27843         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27844         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27845         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27846         (log1p): Remove long_double_symbol.
27847         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27848         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27849         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27850         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27851         remove weak_alias for corresponding log1p function.
27852         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27853         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27854         * sysdeps/ia64/fpu/w_log1p.c: New file.
27855         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27856         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27857         * math/libm-test.inc (log1p_test_data): Add errno expectations.
27859 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
27861         [BZ #18247]
27862         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27863         decimal exponent by 1.
27864         * stdlib/tst-strtod-round-data: Add more tests.
27865         * stdlib/tst-strtod-round.c (tests): Regenerated.
27867 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
27869         * math/auto-libm-test-in: Add more tests of clog and clog10.
27870         * math/auto-libm-test-out: Regenerated.
27871         * sysdeps/i386/fpu/libm-test-ulps: Update.
27872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27874 2015-04-09  Roland McGrath  <roland@hack.frob.com>
27876         * Makeconfig (module-cppflags): Exclude all .v.i files.
27877         (skip-module-cppflags): Variable removed.
27879         * configure.ac (libc_config_ok): Initialize before reading
27880         preconfigure scripts, not after.
27881         * configure: Regenerated.
27883         * test-skeleton.c (TIMEOUT): Move #define to top level.
27884         (main): Grok environment variable TEST_DIRECT.  If set, print
27885         test expectation details into that file and then behave as if
27886         given --direct.
27888 2015-04-09  Florian Weimer  <fweimer@redhat.com>
27890         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27891         warning on 32-bit.
27893 2015-04-08  David S. Miller  <davem@davemloft.net>
27895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27897 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27899         * math/auto-libm-test-in: Add more tests of atanh.
27900         * math/auto-libm-test-out: Regenerated.
27901         * sysdeps/i386/fpu/libm-test-ulps: Update.
27902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27904         * math/auto-libm-test-in: Add more tests of atan.
27905         * math/auto-libm-test-out: Regenerated.
27906         * sysdeps/i386/fpu/libm-test-ulps: Update.
27907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27909 2015-04-08  Florian Weimer  <fweimer@redhat.com>
27911         * elf/pldd.c (main): Rewrite to use struct
27912         scratch_buffer instead of extend_alloca.
27913         * elf/pldd-xx.c (find_maps): Likewise.
27914         * grp/initgroups.c: Include <scratch_buffer.h> instead of
27915         <alloca.h>.
27916         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27917         scratch_buffer instead of extend_alloca.
27918         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27919         grp/compat-initgroups.c.
27920         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27921         Rewrite to use struct scratch_buffer instead of extend_alloca.
27922         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27923         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27925 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27927         * math/auto-libm-test-in: Add more tests of cbrt.
27928         * math/auto-libm-test-out: Regenerated.
27929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27931         * math/auto-libm-test-in: Add more tests of cabs.
27932         * math/auto-libm-test-out: Regenerated.
27933         * sysdeps/i386/fpu/libm-test-ulps: Update.
27934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27936         [BZ #18210]
27937         [BZ #18211]
27938         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27939         (__ieee754_atan2): Set FE_TONEAREST mode for internal
27940         computations.
27941         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27942         clog10.
27943         * math/auto-libm-test-out: Regenerated.
27944         * sysdeps/i386/fpu/libm-test-ulps: Update.
27945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27947         [BZ #18197]
27948         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27949         (atan): Set FE_TONEAREST mode for internal computations.
27950         * math/auto-libm-test-in: Add more tests of atan.
27951         * math/auto-libm-test-out: Regenerated.
27953 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
27955         [BZ #17930]
27956         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27958 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27960         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27962 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27964         * include/scratch_buffer.h: New file.
27965         * malloc/scratch_buffer_grow.c: Likewise.
27966         * malloc/scratch_buffer_grow_preserve.c: Likewise.
27967         * malloc/scratch_buffer_set_array_size.c: Likewise.
27968         * malloc/tst-scratch_buffer.c: Likewise.
27969         * malloc/Makefile (routines): Add scratch_buffer_grow.
27970         (tests): Add test case.
27971         * malloc/Versions (GLIBC_PRIVATE): Export
27972         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27973         __libc_scratch_buffer_set_array_size.
27975 2015-04-06  Richard Henderson  <rth@redhat.com>
27977         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27978         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27980         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27981         unsigned int before printing.
27983 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27985         [BZ #17596]
27986         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27987         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27989 2015-04-02  Florian Weimer  <fweimer@redhat.com>
27991         * include/libc-internal.h (libc_max_align_t): Define.
27993 2015-04-02  Andreas Schwab  <schwab@suse.de>
27995         [BZ #16850]
27996         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27998 2015-04-02  Mel Gorman  <mgorman@suse.de>
28000         [BZ #17195]
28001         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
28002         as well as the main arena.
28004 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28006         [BZ #18185]
28007         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
28008         sharing L2 cache to 2 for Silvermont/Knights Landing.
28010 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28012         [BZ #17711]
28013         * config.make.in (have-protected-data): New.
28014         * configure.ac: Check linker support for protected data symbol.
28015         * configure: Regenerated.
28016         * elf/Makefile (modules-names): Add tst-protected1moda and
28017         tst-protected1modb if $(have-protected-data) is yes.
28018         (tests): Add tst-protected1a and tst-protected1b if
28019         $(have-protected-data) is yes.
28020         ($(objpfx)tst-protected1a): New.
28021         ($(objpfx)tst-protected1b): Likewise.
28022         (tst-protected1modb.so-no-z-defs): Likewise.
28023         * elf/tst-protected1a.c: New file.
28024         * elf/tst-protected1b.c: Likewise.
28025         * elf/tst-protected1mod.h: Likewise.
28026         * elf/tst-protected1moda.c: Likewise.
28027         * elf/tst-protected1modb.c: Likewise.
28029 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28031         [BZ #17711]
28032         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
28033         indicates it is called from do_lookup_x on relocation against
28034         protected data, skip the data definion in the executable from
28035         copy reloc.
28036         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28037         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
28038         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
28039         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
28040         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
28041         otherwise to 0.
28042         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28043         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
28044         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
28045         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28046         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
28047         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
28049 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
28051         * sysdeps/nptl/pthread.h: Remove duplicate definition of
28052         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
28054 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
28056         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
28057         THREAD_SETMEM_NC.
28058         * sysdeps/x86_64/nptl/tls.h: Ditto.
28060 2015-03-27  Roland McGrath  <roland@hack.frob.com>
28062         * dlfcn/tststatic.c (main): Converted to ...
28063         (do_test): ... this.
28064         (TEST_FUNCTION): New macro.
28065         Include test-skeleton.c.
28067 2015-03-26  Alan Modra  <amodra@gmail.com>
28069         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
28070         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
28071         zero for undefined weak.
28072         (elf_machine_plt_conflict): Similarly.
28074 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
28076         * math/auto-libm-test-in: Add more tests of acosh, asinh and
28077         atanh.
28078         * math/auto-libm-test-out: Regenerated.
28079         * sysdeps/i386/fpu/libm-test-ulps: Update.
28080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28082         * math/auto-libm-test-in: Add another test of asin.
28083         * math/auto-libm-test-out: Regenerated.
28084         * sysdeps/i386/fpu/libm-test-ulps: Update.
28085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28087         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
28088         Remove macro.
28089         (LLL_EBX_REG): Likewise.
28090         (LLL_ENTER_KERNEL): Likewise.
28092         * math/auto-libm-test-in: Add more tests of asin.
28093         * math/auto-libm-test-out: Regenerated.
28094         * sysdeps/i386/fpu/libm-test-ulps: Update.
28095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28097         [BZ #18138]
28098         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
28099         libc_do_syscall_args): New structure.
28100         (INTERNAL_SYSCALL_MAIN_0): New macro.
28101         (INTERNAL_SYSCALL_MAIN_1): Likewise.
28102         (INTERNAL_SYSCALL_MAIN_2): Likewise.
28103         (INTERNAL_SYSCALL_MAIN_3): Likewise.
28104         (INTERNAL_SYSCALL_MAIN_4): Likewise.
28105         (INTERNAL_SYSCALL_MAIN_5): Likewise.
28106         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
28107         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
28108         Replace conditional definitions by conditional definitions of ....
28109         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
28110         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
28111         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28112         (libpthread-sysdep_routines): Add libc-do-syscall.
28113         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
28114         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
28115         to __NR_futex not 240.
28117 2015-03-25  Alan Modra  <amodra@gmail.com>
28119         * NEWS: Advertise TLS optimization.
28120         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
28121         (DT_PPC_NUM): Increment.
28122         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
28123         (CHECK_STATIC_TLS): Use here.
28124         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
28125         TLS descriptors.
28126         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28127         * sysdeps/powerpc/dl-tls.c: New file.
28128         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
28129         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
28130         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
28131         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
28132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
28133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
28134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
28136 2015-03-25  Alan Modra  <amodra@gmail.com>
28138         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
28139         for overlapping .opd entries" to "support...".
28140         * sysdeps/powerpc/powerpc64/configure: Regenerate
28142 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
28144         * math/auto-libm-test-in: Add more tests of acos.
28145         * math/auto-libm-test-out: Regenerated.
28146         * sysdeps/i386/fpu/libm-test-ulps: Update.
28147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28149         * math/auto-libm-test-in: Add more tests of expm1.
28150         * math/auto-libm-test-out: Regenerated.
28151         * sysdeps/i386/fpu/libm-test-ulps: Update.
28152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28154 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
28156         * math/auto-libm-test-in: Add more tests of cosh and sinh.
28157         * math/auto-libm-test-out: Regenerated.
28158         * sysdeps/i386/fpu/libm-test-ulps: Update.
28159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28161         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28164         * math/auto-libm-test-in: Add more tests of log2.
28165         * math/auto-libm-test-out: Regenerated.
28166         * sysdeps/i386/fpu/libm-test-ulps: Update.
28167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28169 2015-03-23  Roland McGrath  <roland@hack.frob.com>
28171         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
28172         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
28173         _IO_IS_APPENDING bit in READ_WRITE instead.
28175 2015-03-23  Florian Weimer  <fweimer@redhat.com>
28177         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
28178         (__determine_cpumask_size): Replace extend_alloca with a
28179         variable-length array.  Do not treat res == 0 as an error.
28181 2015-03-23  Florian Weimer  <fweimer@redhat.com>
28183         [BZ #18100]
28184         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28185         and integer overflow.
28186         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28187         (main): Add integer overflow tests.
28188         * manual/pattern.texi (Calling Wordexp): Document additional use
28189         for WRDE_SYNTAX.
28191 2015-03-23  Alan Modra  <amodra@gmail.com>
28193         * config.h.in: Remove HAVE_ASM_PPC_REL16.
28194         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28195         and false branch of conditional.
28196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28197         Likewise.
28199 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
28201         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28202         libc-modules.h
28203         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28204         unused declaration of _hurd_intr_rpc_msg_in_trap.
28205         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28206         defined instead of whether it is non-zero.
28207         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28208         input constraint instead of both input and output constraint.  Use ecx
28209         clobber instead of %ecx.
28210         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28211         mutex_unlock): Use a statement expression instead of an expression list.
28212         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28213         type to vm_size_t instead of vm_address_t.
28214         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28215         defined instead of whether it is non-zero.
28216         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28217         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28218         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28219         comparisons with mapaddr.
28220         * nscd/nscd-client.h: Include <time.h>.
28221         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28222         9th parameter to __vm_region instead of int.
28223         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28224         * scripts/check-local-headers.sh (exclude): Add device/,
28225         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28226         cthreads.h.
28228 2015-03-19  Roland McGrath  <roland@hack.frob.com>
28230         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28231         to account for alignment padding.
28232         * sysdeps/arm/memmove.S: Likewise.
28234 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
28236         * sysdeps/unix/sysv/linux/generic/README: New file.
28238 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
28240         [BZ #18138]
28241         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28242         (futex_abstimed_wait)
28243         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28244         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28245         of lll_futex_timed_wait.
28247 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
28249         [BZ #17542]
28250         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28252 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
28254         [BZ #17090]
28255         [BZ #17620]
28256         [BZ #17621]
28257         [BZ #17628]
28258         * NEWS: Update.
28259         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28260         entries with Static TLS too.  Skip entries past the end of the
28261         allocated DTV, from Alan Modra.
28262         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
28263         Static TLS DTV entry set up from...
28264         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28265         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28266         * nptl/allocatestack.c (init_one_static_tls): ... and here...
28267         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28268         for Static TLS.
28269         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
28270         that the slot we find is associated with the given map before
28271         using its generation count.
28272         * nptl_db/db_info.c: Include ldsodefs.h.
28273         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28274         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28275         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28276         (link_map::l_tls_offset): New struct field.
28277         (dtv_t::counter): Likewise.
28278         (rtld_global): New struct.
28279         (_rtld_global): New rtld variable.
28280         (dl_tls_dtv_slotinfo_list): New rtld global field.
28281         (dtv_slotinfo_list): New struct.
28282         (dtv_slotinfo): Likewise.
28283         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28284         (td_lookup): Rename to...
28285         (td_mod_lookup): ... this.  Use new mod parameter instead of
28286         LIBPTHREAD_SO.
28287         * nptl_db/td_thr_tlsbase.c: Include link.h.
28288         (dtv_slotinfo_list, dtv_slotinfo): New functions.
28289         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
28290         addresses even if the DTV is out of date or missing them.
28291         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28292         index zero-length arrays.
28293         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28294         (td_lookup): Make it a macro implemented in terms of...
28295         (td_mod_lookup): ... this declaration.
28296         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28297         (DB_MAIN_VARIABLE): Likewise.
28299 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28301         [BZ #18134]
28302         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28304 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
28306         * stdlib/setenv.c (__add_to_environ): Revert previous change.
28308 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
28310         [BZ #18128]
28311         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28312         (atomic_add, atomic_increment_and_test)
28313         (atomic_decrement_and_test): Fix 64-bit arithmetic.
28315 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
28317         * stdlib/setenv.c (__add_to_environ):
28318         Dump core quickly if setenv (..., NULL, ...) is called.
28320 2015-03-13  Roland McGrath  <roland@hack.frob.com>
28322         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28323         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28324         all the necessary asm magic in one place.
28325         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28326         using those.
28328 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
28330         [BZ #14906]
28331         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28332         traced file mtime. Use consistent log message.
28333         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28334         (register_traced_file): Call install_watches. Always set mtime.
28335         (invalidate_cache): Iterate over all trace files. Call install_watches.
28336         (inotify_check_files): Don't inline. Handle watching parent
28337         directories and configuration file movement in and out.
28338         (handle_inotify_events): New function.
28339         (main_loop_poll): Call handle_inotify_events.
28340         (main_loop_epoll): Likewise.
28341         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28342         (struct traced_file): Use array of inotify fds. Add parent directory,
28343         and basename.
28344         (struct database_dyn): Remove unused file_mtime.
28345         (init_traced_file): New inline function.
28346         (define_traced_file): New macro.
28347         * nss/nss_db/db-init.c: Use define_traced_file.
28348         (_nss_db_init): Use init_traced_file.
28349         * nss/nss_files/files-init.c: Use define_traced_file.
28350         (_nss_files_init): Use init_traced_file.
28352 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
28354         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28355         [_LIBC]: Do not include <stdlib.h>.
28356         [!_LIBC] (abort): Remove declaration.
28357         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28358         _FP_STATIC_ASSERT instead of conditionally calling abort.
28359         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28360         (_FP_EXTEND_CNAN): Likewise.
28361         (FP_TRUNC): Likewise.
28362         (__FP_CLZ): Likewise.
28363         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28365 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
28367         * manual/string.texi (XPG basename): Fix prototype.
28369 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28371         [BZ #18080]
28372         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28373         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28374         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28375         (__setcontext): Likewise.
28376         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28377         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28378         Call rt_sigprocmask syscall one time to set new signal mask
28379         and retrieve the current signal mask instead of two calls.
28380         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28381         (__swapcontext): Likewise.
28382         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28383         * stdlib/tst-setcontext2.c: New file.
28385 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28387         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28389 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
28391         [BZ #18093]
28392         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28393         the wrong size.
28395 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28397         [BZ #18043]
28398         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28400 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28402         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28403         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28404         Remove define.
28405         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28406         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28407         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28408         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28409         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28410         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28411         define.
28412         * nptl_db/td_symbol_list.c (td_lookup): Remove
28413         HAVE_ASM_GLOBAL_DOT_NAME code.
28414         * sysdeps/powerpc/powerpc64/configure.ac: Remove
28415         HAVE_ASM_GLOBAL_DOT_NAME check.
28416         * sysdeps/powerpc/powerpc64/configure: Regenerate.
28417         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28418         (DOT_LABEL): Remove define.
28419         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28420         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28421         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28422         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28423         (__TLS_GET_ADDR): Likewise.
28424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28425         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28427 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
28429         [BZ #18111]
28430         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28431         (_FPU_SETCW): Initialize cw from fpsr before storing.
28432         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28433         (fesetexceptflag): Rewrite using fpu_control.h.
28434         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28436 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
28438         [BZ #18110]
28439         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28440         asms.
28441         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28443 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
28445         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28446         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28447         abort.
28448         (_FP_FMA): Likewise.
28449         (_FP_DIV): Likewise.
28451 2015-03-10  Roland McGrath  <roland@hack.frob.com>
28453         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28454         with 0 in that case.
28455         * Makefile (summarize-tests): New canned sequence, factored out of
28456         commands for targets tests and xtests.  Display summary lines that
28457         don't start with PASS: or XFAIL: rather than ones that do start with
28458         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
28459         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28460         do start with ERROR: or FAIL:.
28461         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28462         (except for [$(build-shared) = yes]).
28463         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28464         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28465         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28466         * nptl/Makefile: Revert 2015-03-04 changes.
28467         [$(CXX) empty] (tests-unsupported): New variable.
28468         * debug/Makefile: Likewise.
28470         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28471         gnulib file.  Replace __attribute with __attribute__ throughout.
28473 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
28475         * sysdeps/hppa/fpu/libm-test-ulps: Update.
28477 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28479         [BZ #18104]
28480         * math/auto-libm-test-in: Add another test of pow.
28481         * math/auto-libm-test-out: Regenerated.
28483 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28485         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28486         $(config-cflags-nofma).
28488 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28490         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28491         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28492         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28493         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28494         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28495         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28496         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28497         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28498         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28499         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28500         Add comment on closing #endif.
28502 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28504         * posix/wordexp.c (CHAR_IN_SET): New macro.
28505         (parse_param): Use it.
28507 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28509         * sysdeps/powerpc/fpu/libm-test-ulps: update.
28511 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28513         [BZ #18043]
28514         * posix/wordexp.c (parse_param): Fix buffer overflow.
28515         * posix/wordexp-test.c (test_case): Add test case.
28517 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28519         [BZ #18042]
28520         * posix/wordexp.c (parse_backtick): Fix off-by-one.
28521         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28523 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28525         [BZ #18043]
28526         * posix/wordexp-test.c (test_case): Add test for BZ #18043
28527         (do_bz18043): Delete.
28528         (at_page_end): New.
28529         (testit): Refactor to have words at the edge of unreadable page.
28531 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28533         [BZ #16734]
28534         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28535         Cleanup read-only streams as well.
28536         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28538 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28540         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28541         <bits/libc-lockP.h>
28543 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
28545         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
28546         on [__KERNEL__].
28547         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28548         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28549         * soft-fp/op-common.h (_FP_DECL): Likewise.
28551 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
28553         * elf/ifuncdep2.c (global): Replace
28554         __attribute__((visibility("protected"))) with
28555         asm (".protected global").
28556         * elf/ifuncmod1.c (global): Likewise.
28557         * elf/ifuncmod5.c (global): Likewise.
28559 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
28561         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28562         <asm/sfp-machine.h> instead of <sfp-machine.h>.
28564 2015-03-06  Roland McGrath  <roland@hack.frob.com>
28566         * manual/install.texi (Configuring and compiling):
28567         Document test-wrapper-env-only.
28568         * INSTALL: Regenerated.
28570 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28572         [BZ #18043]
28573         * posix/wordexp.c (parse_param): Fix buffer overflow.
28574         * posix/wordexp-test.c (do_bz18043): Add test case.
28576 2015-03-06  Vincent Bernat  <vincent@bernat.im>
28578         * time/tst-strptime2.c (do_test): Ensure failing tests are
28579         reported correctly.
28580         * time/tst-strptime3.c (do_test): Likewise.
28582 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
28584         Fix aio_error thread-safety.
28585         * sysdeps/pthread/aio_error.c: New file
28586         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28587         synchronization.
28589 2015-03-06  Florian Weimer  <fweimer@redhat.com>
28591         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28592         (group_number, vfprintf): Use it.
28593         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28594         (JUMP, REF): Use it.
28595         (WORK_BUFFER_SIZE): New enum constant.
28596         (process_arg, vfprintf): Use it.
28598 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
28600         * manual/errno.texi (Error Messages): Complete example function
28601         by adding missing #define.
28602         (program_invocation_name): Add statement indicating GNU
28603         extension and reference which header file declares the variable.
28604         (program_invocation_short_name): Likewise.
28606 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
28608         * manual/errno.texi (Error Messages): Delete strerror ISO C89
28609         compatibility note.
28611 2015-03-05  Roland McGrath  <roland@hack.frob.com>
28613         * Makeconfig (test-wrapper-env-only): New variable.
28614         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28615         then use that with $(test-wrapper-env-only) rather than using
28616         $(test-wrapper-env) $(run-program-env) $($*-ENV).
28618 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28620         [BZ #18082]
28621         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28622         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28623         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28624         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28625         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28626         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28627         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28628         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28629         Likewise.
28630         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28631         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28632         Likewise.
28633         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28634         Likewise.
28635         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28636         Likewise.
28637         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28638         Likewise.
28639         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28640         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28641         Likewise.
28642         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28643         Likewise.
28644         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28645         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28647 2015-03-04  Roland McGrath  <roland@hack.frob.com>
28649         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28650         (ETH_ALEN): New macro.
28651         (struct ether_addr): Use it for length of ether_addr_octet.
28653         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28654         (setdb): Don't call __nss_configure_lookup for "rpc".
28655         (do_test): Don't call test_rpc.
28656         (output_rpcent, test_rpc): Functions moved ...
28657         * sunrpc/test-rpcent.c: ... to this new file.
28658         * sunrpc/Makefile (tests): Add it.
28660         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28661         __xpg_sigpause.
28662         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28663         * nptl/tst-signal6.c: Likewise.
28664         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28665         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28667         * configure.ac (libc_cv_cxx_link_ok): New check.
28668         Reset CXX to empty if it fails to link.
28669         * configure: Regenerated.
28670         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28671         bug-atexit3-lib only if $(CXX) is nonempty.
28672         * nptl/Makefile (tests): Likewise for tst-cancel24.
28673         (tests, tests-static): Likewise for tst-cancel24-static.
28674         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28675         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28676         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28677         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28679 2015-03-04  Andreas Schwab  <schwab@suse.de>
28681         [BZ #17631]
28682         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28683         for non-GCC compilers.
28684         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28685         Likewise.
28687 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28689         [BZ #17776]
28690         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28691         integer before bitwise and assembly operations.
28692         (feclearexcept): Likewise.
28693         * math/test-fenvinline.c: New file.
28694         * math/Makefile: Add test-fenvinline test.
28696 2015-03-03  Alan Modra  <amodra@gmail.com>
28698         [BZ #16512]
28699         * scripts/localplt.awk: Strip off symbol version.
28700         * NEWS: Mention bug fix.
28702 2015-03-02  Roland McGrath  <roland@hack.frob.com>
28704         * sysdeps/pthread/timer_routines.c
28705         (timer_free_list, thread_free_list, thread_active_list): Make static.
28707 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
28709         [BZ #17779]
28710         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28711         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28712         Undefine.
28713         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28714         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28715         Likewise.
28716         * sysdeps/unix/sysv/linux/sh/kernel-features.h
28717         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28718         Likewise.
28720 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
28722         [BZ #18036]
28723         * posix/fnmatch_loop.c (END): Detect invalid pattern.
28724         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28726 2015-03-02  Andreas Schwab  <schwab@suse.de>
28728         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28729         variable name.
28731 2015-03-02  Florian Weimer  <fweimer@redhat.com>
28733         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28734         Return error status.
28736 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
28738         [BZ #15969]
28739         * locale/findlocale.c (_nl_find_locale): Introduce const
28740         version of loc_name and drop unsafe type casts.
28742 2015-02-27  Roland McGrath  <roland@hack.frob.com>
28744         * dlfcn/tststatic2.c (main): Converted to ...
28745         (do_test): ... this.
28746         (TEST_FUNCTION): New macro.
28747         Include test-skeleton.c.
28749 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
28751         [BZ #17711]
28752         * elf/Makefile (tests): Add vismain only if PIE is enabled.
28753         (tests-pie): Add vismain.
28754         (CFLAGS-vismain.c): New.
28755         * elf/vismain.c: Add comments for PIE requirement.
28757 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28759         [BZ #18046]
28760         [BZ #18047]
28761         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28762         0x1p-56L as threshold for just returning the argument.
28763         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28764         0x1p-32L as threshold for just returning the argument.
28765         * math/auto-libm-test-in: Add more tests of atanh.
28766         * math/auto-libm-test-out: Regenerated.
28767         * sysdeps/i386/fpu/libm-test-ulps: Update.
28768         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28770 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28772         * string/bcopy.c (bcopy): Call memmove for performance.
28774 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28776         * string/bzero.c (__bzero): Call memset for performance.
28778 2015-02-27  John David Anglin  <dave.anglin@bell.net>
28780         [BZ #18068]
28781         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28782         to 00100000.
28784 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28786         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28788 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28790         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28791         (__kernel_standard): Use CSTR macro when setting exc.name.
28792         * sysdeps/ieee754/Makefile [$(subdir) = math]
28793         (CFLAGS-k_standard.c): Remove variable.
28795         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28796         setting p and q from "else if" to "else".
28797         (qzero): Likewise.
28798         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28799         (qone): Likewise.
28800         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28801         (qzerof): Likewise.
28802         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28803         (qonef): Likewise.
28804         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28805         (qzero): Likewise.
28806         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28807         (qone): Likewise.
28809         [BZ #18038]
28810         [BZ #18039]
28811         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28812         return pi/2 for arguments below 0x1p-113L.
28813         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28814         return pi/2 for arguments below 0x1p-106L.
28815         * math/auto-libm-test-in: Add more tests of acos.
28816         * math/auto-libm-test-out: Regenerated.
28818         [BZ #16351]
28819         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28820         (MO): New macro.
28821         (__ieee754_asin): Force underflow exception for results with small
28822         absolute value.
28823         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28824         (MO): New macro.
28825         (__ieee754_asinf): Force underflow exception for results with
28826         small absolute value.
28827         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28828         (__ieee754_asin): Force underflow exception for results with small
28829         absolute value.
28830         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28831         (__ieee754_asinf): Force underflow exception for results with
28832         small absolute value.
28833         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28834         (__ieee754_asinl): Force underflow exception for results with
28835         small absolute value.
28836         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28837         (__ieee754_asinl): Force underflow exception for results with
28838         small absolute value.
28839         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28840         (__ieee754_asinl): Force underflow exception for results with
28841         small absolute value.
28842         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28843         Include <math.h>.
28844         * math/auto-libm-test-in: Do not mark underflow exceptions as
28845         possibly missing for bug 16351.
28846         * math/auto-libm-test-out: Regenerated.
28848         [BZ #18030]
28849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28850         of power of 2 down when low part has opposite sign.
28851         * math/libm-test.inc (logb_test_data): Add more tests.
28853 2015-02-26  Andreas Schwab  <schwab@suse.de>
28855         [BZ #18032]
28856         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28857         over collating symbol inside a bracket expression.  Minor cleanup.
28858         * posix/tst-fnmatch3.c (do_test): Add test case.
28860 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28862         [BZ #18029]
28863         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28864         Adjust exponent of power of 2 down when low part has opposite
28865         sign.
28866         * math/libm-test.inc (ilogb_test_data): Add more tests.
28868 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
28870         [BZ #15969]
28871         * locale/findlocale.c (_nl_find_locale): Fix constness error in
28872         the previous change.
28874         [BZ #15969]
28875         * locale/findlocale.c (_nl_find_locale): Retry archive search
28876         after alias expansion.
28878 2015-02-25  Roland McGrath  <roland@hack.frob.com>
28880         * iconv/tst-iconv3.c (main): Converted to ...
28881         (do_test): ... this.
28882         (TEST_FUNCTION): New macro.
28883         Include test-skeleton.c.
28885         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28886         (convert): Make function static.
28887         (test_unalign): Likewise.  Add const to argument pointee types.
28888         (main): Replace with static function do_test.
28889         Print "Succeeded." only if RET is zero.
28890         (TEST_FUNCTION): New macro.
28891         Include test-skeleton.c.
28893         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28894         returns a null pointer.
28896 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28898         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28899         to __memcpy_ppc only for static builds.
28901 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
28903         [BZ #18020]
28904         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28905         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28906         * math/auto-libm-test-in: Add more tests of asinh.
28907         * math/auto-libm-test-out: Regenerated.
28908         * sysdeps/i386/fpu/libm-test-ulps: Update.
28909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28911 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
28913         [BZ #15850]
28914         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28915         and ip6_mtuinfo definitions here.
28916         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28917         in this define too.  Update comment.
28919 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
28921         * elf/sprof.c (load_shobj): Tweak error message to match others.
28923 2015-02-24  Kevin Easton  <kevin@guarana.org>
28925         [BZ #16145] (partial fix)
28926         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28927         to reduce lock contention.
28929 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
28931         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28932         (struct timex): Update time comment.
28933         (ADJ_SETOFFSET): Define.
28935 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28937         [BZ #18019]
28938         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28939         2**56 not 2**28 as threshold for log (2x) formula.
28940         * math/auto-libm-test-in: Add more tests of acosh.
28941         * math/auto-libm-test-out: Regenerated.
28942         * sysdeps/i386/fpu/libm-test-ulps: Update.
28943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28945 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28947         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28948         parenthesis around the buf assignment.
28949         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28951 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28953         [BZ #16783]
28954         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28955         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28956         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28957         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28958         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28959         * math/libm-test.inc (scalb_test_data): Add more tests.
28961 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28963         [BZ #17916]
28964         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28965         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28967 2015-02-24  Eric Rannaud  <e@nanocritical.com>
28969         [BZ #17523]
28970         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28971         * io/bits/fcntl2.h (open): Use it.
28972         (openat): Likewise.
28973         * io/open.c (__libc_open): Likewise.
28974         * io/open64.c (__libc_open64): Likewise.
28975         * io/open64_2.c (__open64_2): Likewise.
28976         * io/open_2.c (__open_2): Likewise.
28977         * io/openat.c (__openat): Likewise.
28978         * io/openat64.c (__openat64): Likewise.
28979         * io/openat64_2.c (__openat64_2): Likewise.
28980         * io/openat_2.c (__openat_2): Likewise.
28981         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28982         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28983         * sysdeps/posix/open64.c (__libc_open64): Likewise.
28984         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28985         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28986         (__open_nocancel): Likewise.
28987         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28988         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28989         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28991 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28993         [BZ #14841]
28994         * resolv/gethnamaddr.c (getanswer): Skip logging if
28995         RES_USE_DNSSEC is set.
28996         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28998 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
29000         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
29002 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
29004         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
29005         201304L, for Unicode 7.
29007 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
29009         [BZ #17836]
29010         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
29011         shared library.  Add gmon-start.os otherwise.
29012         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
29013         $(objpfx)gmon-start.os if builing shared library.
29014         ($(objpfx)g$(static-start-installed-name)): Likewise.
29016 2015-02-23  Andreas Schwab  <schwab@suse.de>
29018         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
29020 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29022         [BZ #17269]
29023         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
29024         (enlarge_userbuf): Likewise.
29026 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
29028         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
29029         * math/atest-exp.c (TIMEOUT): Adjust to 200.
29030         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
29031         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
29033 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
29035         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
29036         expression inside statement expression.
29038 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29040         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
29041         <sysdeps/nptl/lowlevellock.h> and remove macros and
29042         functions that are now defined there.
29043         (SYS_futex): Remove.
29044         (lll_compare_and_swap): Remove.
29045         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
29047 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
29049         [BZ #17999]
29050         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
29051         instead of scandirat.
29052         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
29053         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
29054         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
29055         __scandirat.
29056         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
29057         (__scandirat): Declare.  Use libc_hidden_proto.
29058         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
29059         Remove variable.
29060         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29062 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
29064         [BZ #15319]
29065         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
29066         (MO): New macro.
29067         (__ieee754_atan2): For results with small absolute value, force
29068         underflow exception and remove excess range and precision from
29069         return value.
29070         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
29071         (MO): New macro.
29072         (__ieee754_atan2f): For results with small absolute value, force
29073         underflow exception and remove excess range and precision from
29074         return value.
29075         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
29076         (MO): New macro.
29077         (__atan): For results with small absolute value, force underflow
29078         exception and remove excess range and precision from return value.
29079         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
29080         (MO): New macro.
29081         (__atanf): For results with small absolute value, force underflow
29082         exception and remove excess range and precision from return value.
29083         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
29084         <math.h>.
29085         (__ieee754_atan2): Force underflow exception for results with
29086         small absolute value.
29087         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
29088         <math_private.h>.
29089         (atan): Force underflow exception for results with small absolute
29090         value.
29091         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
29092         (__atanf): Force underflow exception for results with small
29093         absolute value.
29094         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
29095         <math.h>.
29096         (__atanl): Force underflow exception for results with small
29097         absolute value.
29098         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
29099         (__atanl): Force underflow exception for results with small
29100         absolute value.
29101         * sysdeps/x86/fpu/bits/mathinline.h
29102         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
29103         (__ieee754_atan2): Only define inline for long double.
29104         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29105         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
29106         * math/auto-libm-test-in: Do not mark underflow exceptions as
29107         possibly missing for bug 15319.  Add more tests of atan2.
29108         * math/auto-libm-test-out: Regenerated.
29109         * math/libm-test.inc (casin_test_data): Do not mark underflow
29110         exceptions as possibly missing for bug 15319.
29111         (casinh_test_data): Likewise.
29112         * sysdeps/i386/fpu/libm-test-ulps: Update.
29114 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
29116         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
29117         * sysdeps/mips/bits/endian.h: Fix comments.
29119 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
29121         [BZ #17996]
29122         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
29123         (hdestroy_r): Likewise.
29124         (hsearch_r): Likewise.
29125         (__hcreate_r): Declare and use libc_hidden_proto.
29126         (__hdestroy_r): Likewise.
29127         (__hsearch_r): Likewise.
29128         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
29129         (hcreate): Call __hcreate_r instead of hcreate_r.
29130         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
29131         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
29132         as weak alias of __hcreate_r.
29133         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
29134         __hdestroy_r.
29135         (hsearch_r): Rename to __hsearch_r and define as weak alias of
29136         __hsearch_r.
29137         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
29138         Remove variable.
29139         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29140         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29141         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29142         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29144 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29146         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
29147         arena_lock into a single arena_get.
29149 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
29151         * dl-reloc.c: Inlucde libc-internal.h.
29152         (_dl_try_allocate_static_tls): Call ALIGN_UP.
29153         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
29154         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
29155         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
29156         (grow_heap): Likewise.
29157         * malloc/malloc.c: Include libc-internal.h.
29158         (do_check_malloc): Call powerof2.
29159         (sysmalloc): Use pagesize. Call ALIGN_UP.
29160         (systrim): Use pagesize.
29161         (mremap_chunk): Use pagesize. Call ALIGN_UP.
29162         (__libc_valloc): Use pagesize.
29163         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
29165 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29167         [BZ #17991]
29168         * include/sys/resource.h (__getrlimit64): Declare.  Use
29169         libc_hidden_proto.
29170         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
29171         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
29172         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
29173         getrlimit64.
29174         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
29175         __getrlimit64.
29176         [!getrlimit64] (getrlimit64): Define as weak alias of
29177         __getrlimit64.  Use libc_hidden_weak.
29178         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
29179         using __getrlimit64 not __new_getrlimit64.
29180         (__GI_getrlimit64): Likewise.
29181         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
29182         Likewise.
29183         (__GI_getrlimit64): Likewise.
29184         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29186         (getrlimit): Add __getrlimit64 alias.
29187         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29188         Likewise.
29189         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29190         Remove variable.
29191         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29192         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29194 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
29196         * libio/fileops.c: Add missing sys/mman.h
29197         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29199 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29201         * manual/math.texi (Errors in Math Functions): Clarify goals
29202         regarding inexact and underflow exceptions.
29204 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29206         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29207         * sysdeps/mips/memset.S: Ditto.
29209 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29211         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29213 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29215         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29216         (__v1longjmp): Remove versioned symbol.
29217         (__v1siglongjmp): Remove alias and versioned symbol.
29218         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29219         (__v2siglongjmp): Likewise.
29221 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29223         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29225 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
29227         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29229 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29231         [BZ #17987]
29232         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29233         zero result does not depend on the sign resulting from
29234         subtraction.
29235         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29236         Likewise.
29237         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29238         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29239         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29240         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29241         * math/libm-test.inc (remquo_test_data): Add more tests.
29243 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
29245         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29246         Problem reported by J William Piggott.
29248 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29250         [BZ #17978]
29251         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29252         products 4 * y and 2 * y where those would overflow.
29253         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29254         Likewise.
29255         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29256         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29257         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29258         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29259         * math/libm-test.inc (remquo_test_data): Add more tests.
29261         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29263         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29264         [defined _COMPILING_NEWLIB].
29265         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29266         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29268         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29269         [!defined __mips_isa_rev || __mips_isa_rev < 6].
29271 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29273         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29274         acquired.
29276 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
29278         [BZ #17792]
29279         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29280         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29281         HOST_STACK_END_ADDR): Likewise.
29283 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
29285         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29286         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29287         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29289 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29291         * sysdeps/generic/c++-types.data: New file.
29292         * sysdeps/generic/ld.abilist: New file.
29293         * sysdeps/generic/libBrokenLocale.abilist: New file.
29294         * sysdeps/generic/libanl.abilist: New file.
29295         * sysdeps/generic/libc.abilist: New file.
29296         * sysdeps/generic/libcrypt.abilist: New file.
29297         * sysdeps/generic/libdl.abilist: New file.
29298         * sysdeps/generic/libm.abilist: New file.
29299         * sysdeps/generic/libpthread.abilist: New file.
29300         * sysdeps/generic/libresolv.abilist: New file.
29301         * sysdeps/generic/librt.abilist: New file.
29303 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29305         [BZ #17569]
29306         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29307         Compute absolute value of x as modified by fmod, not original
29308         value of x.
29309         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29310         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
29311         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
29312         RUN_TEST_ffI_f1_mod8.
29313         (remquo_test_data): Add more tests.
29315 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29317         * sysdeps/init_array/pt-crti.S: New file.
29319 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29321         [BZ #17967]
29322         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29323         __builtin_fmaf instead of relying on contraction of a * b + c.
29325 2015-02-12  J William Piggott  <elseifthen@gmx.com>
29327         [BZ #17969]
29328         * manual/time.texi: correct the zoneinfo path in the TZ Variable
29329         node.
29331 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29333         [BZ #17964]
29334         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29335         __builtin_fma instead of relying on contraction of a * b + c.
29337 2015-02-12  Roland McGrath  <roland@hack.frob.com>
29339         * Makeconfig (ASFLAGS): Add -Werror=undef.
29340         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29341         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29342         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29344         * Makeconfig (after-link): New variable.
29345         (+link-pie, +link-pie-tests): Use it.
29346         (+link-static, +link-static-tests): Likewise.
29347         (+link, +link-tests): Likewise.
29348         * Makerules (build-module, build-module-asneeded): Likewise.
29349         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29350         Likewise.
29351         * elf/Makefile ($(objpfx)ld.so): Likewise.
29353 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
29355         [BZ #17965]
29356         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29357         both struct timeval and struct timespec.
29359 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29361         [BZ #16560]
29362         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29363         and redefine.
29364         (__ieee754_exp2l): Do not multiply small fractional parts by
29365         M_LN2l.
29366         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29367         small argument.
29368         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29369         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29370         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29371         * math/auto-libm-test-in: Add more tests of exp2.
29372         * math/auto-libm-test-out: Regenerated.
29374 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29376         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29377         unaligned path.
29379 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29381         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29382         little endian.
29384 2015-02-12  Andreas Schwab  <schwab@suse.de>
29386         [BZ #15790]
29387         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29388         Filter out elision flags from value returned in kind.
29389         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29390         * nptl/tst-pthread-mutexattr.c: New file.
29392 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29394         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29395         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29396         into gnu-gnu, and update comment to refer to abi-tags.
29398 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
29400         [BZ #15467]
29401         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29402         (__sincos): Set errno to EDOM for infinite argument.
29403         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29404         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29405         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29406         (__sincosl): Set errno to EDOM for infinite argument.
29407         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29408         (__sincosl): Set errno to EDOM for infinite argument.
29409         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29410         (__sincosl): Set errno to EDOM for infinite argument.
29411         * math/libm-test.inc (sincos_test_data): Test errno setting.
29413 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
29415         * string/strxfrm_l.c: Remove #define STRCMP.
29416         * string/strcoll_l.c: Remove #define STRLEN.
29417         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29418         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29420 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
29422         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29423         * sysdeps/mips/mips32/sfp-machine.h: ... here.
29424         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29425         * sysdeps/mips/mips64/Makefile: ... here.
29426         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29427         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29428         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29429         * sysdeps/mips/mips64/sfp-machine.h: ... here.
29430         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29431         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29432         * sysdeps/mips/mips64/n64/Implies: Likewise.
29434 2015-02-10  Roland McGrath  <roland@hack.frob.com>
29436         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29437         <sys/time.h>, <string.h>, and <errno.h>.
29438         (dest_offset, dest_address, value, zero): Remove unused variables.
29439         (ldouble): Remove typedef.
29440         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29441         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
29442         1).  Fix code style.
29443         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29444         (check): Function removed.
29445         (CHECK): New macro.
29446         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
29447         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29448         Don't call set_sigaction_FP and remove_sigaction_FP here.
29449         (ldouble_test): Just use 'long double' as macro argument, no need for
29450         the 'ldouble' typedef.
29451         (do_test): Set up SIGFPE handler at start, using plain signal rather
29452         than sigaction.  Fix code style.
29454 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
29456         [BZ #17949]
29457         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29458         jump label.
29460 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29462         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29463         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29465         * sysdeps/powerpc/configure.ac: Remove file.
29466         * sysdeps/powerpc/configure: Likewise.
29468         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29469         [sysdep_routines]: Remove wordcopy-power6 object.
29470         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29471         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29472         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29473         (__memmove_ppc32): Likewise.
29474         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29475         file.
29476         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29477         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29478         Remove preprocessor.
29480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29481         [sysdep_routines]: Remove wide chars objects.
29482         [wcsmbs]: New rule for wide char objects.
29484         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29485         Remove wordcopy-power6 obejct.
29486         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29487         Use local call for wordcopy and memcpy symbols.
29488         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29489         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29490         implementation for loader.
29491         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29493         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29494         Remove wordcopy-power7 object.
29495         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29496         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29497         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29498         (_wordcopy_fwd_dest_aligned): Likewise.
29499         (_wordcopy_bwd_aligned): Likewise.
29500         (_wordcopy_bwd_dest_aligned): Likewise.
29502         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29503         Rewrite to call __memmove_ppc instead of include default
29504         implementation.
29506         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29507         Remove wide chars objects.
29508         [wcsmbs]: New rule for wide char objects.
29510 2015-02-09  Andreas Schwab  <schwab@suse.de>
29512         [BZ #17912]
29513         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29514         in terms of __O_DIRECTORY.
29516 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29518         * time/getdate.c: Include <stdbool.h>.
29519         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29520         call PTR_MANGLE.
29521         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29522         PTR_DEMANGLE.
29524 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
29526         Add ersatz _Static_assert on older C hosts
29527         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29528         pre-C11 C platform that is not known to support _Static_assert.
29530 2015-02-07  Richard Braun  <rbraun@sceen.net>
29532         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29533         sigstate.
29534         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29536 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29538         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29539         priority against unexistent AIO_PRIO_DELTA_MAX.
29540         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29541         instead of int.
29542         * misc/fchflags.c (fchflags): Likewise.
29543         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29544         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29545         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29546         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29547         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29548         Declare macros.
29549         [__USE_MISC] (chflags, fchflags): Declare functions.
29550         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29551         EINVAL when nfds is greater than FD_SETSIZE.
29552         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29553         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29554         45.
29555         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29556         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29557         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29558         MACH_RCV_TIMED_OUT.
29559         * hurd/hurd/signal.h (_hurd_self_sigstate,
29560         _hurd_critical_section_lock, _hurd_critical_section_unlock):
29561         Explicit casts from void *.
29562         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29563         * abi-tags: Rename gnu-gnu os into gnu.
29565         [BZ #4719]
29566         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29567         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29568         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29569         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29570         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29571         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29573         [BZ #17944]
29574         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29575         duplicates ADDR->sun_path with sockaddr LEN limitation.
29576         * sysdeps/mach/hurd/connect.c: Include <string.h>
29577         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29578         * sysdeps/mach/hurd/sendmsg.c: Likewise.
29579         * sysdeps/mach/hurd/sendto.c: Likewise.
29580         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29581         implementing it by hand.
29583 2015-02-06  Roland McGrath  <roland@hack.frob.com>
29585         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29586         Use sfi_breg on ldr.
29587         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29588         Likewise.
29590         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29591         it's defined.
29592         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29593         Test SIGSETXID only if it's defined.
29595         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29597         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29598         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
29600         * nptl/tst-align2.c: Moved ...
29601         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29602         * nptl/Makefile (tests): Remove tst-align2.
29603         * sysdeps/unix/sysv/linux/Makefile
29604         [$(subdir) = nptl] (tests): Add tst-align-clone.
29605         * nptl/tst-getpid1.c: Moved ...
29606         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29607         * nptl/tst-getpid2.c: Moved ...
29608         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29609         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29610         * sysdeps/unix/sysv/linux/Makefile
29611         [$(subdir) = nptl] (tests): ... here.
29612         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29613         * sysdeps/unix/sysv/linux/Makefile
29614         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29616         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29617         Drop trailing \n from perror argument.  Use return rather than exit.
29619         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29620         on [SA_SIGINFO].
29621         * nptl/tst-cancel21.c (do_test): Likewise.
29622         * debug/tst-backtrace6.c: Include <signal.h> first thing.
29623         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29624         [!SA_SIGINFO]: Make it a stub test.
29626         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29627         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29629         * posix/tst-getlogin.c: Move to ...
29630         * login/tst-getlogin.c: ... here.
29631         * posix/Makefile (tests): Move tst-getlogin to ...
29632         * login/Makefile (tests): ... here.
29634         * libio/tst-atime.c (do_test): Move local variables SV and E
29635         inside [ST_NOATIME] conditional.
29637         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29639         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29641         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29642         (wait_code): New function replaces macro.
29643         Call nanosleep rather than syscall.
29645         * nptl/pt-system.c: Rewritten.  Put everything under
29646         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29647         Use IFUNC to redirect when possible.
29649         * nptl/pt-longjmp.c: Rewritten.  Put everything under
29650         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29651         Use IFUNC to redirect when possible.
29653         * nptl/pt-fork.c: Rewritten.  Put everything under
29654         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29655         Use IFUNC to redirect when possible.
29656         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29658         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29659         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29660         unconditionally nowadays.  This included the only reference to
29661         __vdso_clock_gettime that appears outside libc proper.
29662         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29663         Remove version set (containing only __vdso_clock_gettime).
29664         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29665         Add attribute_hidden.
29666         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29667         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29668         libc_hidden_data_def.
29669         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29670         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29672         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29673         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29674         setrpcent, and getrpcport to ...
29675         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29676         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29677         getrpcbynumber_r, and getrpcent_r to ...
29678         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29679         * inet/getrpcbyname.c: Moved ...
29680         * sunrpc/getrpcbyname.c: ... here.
29681         * inet/getrpcbyname_r.c: Moved ...
29682         * sunrpc/getrpcbyname_r.c: ... here.
29683         * inet/getrpcbynumber.c: Moved ...
29684         * sunrpc/getrpcbynumber.c: ... here.
29685         * inet/getrpcbynumber_r.c: Moved ...
29686         * sunrpc/getrpcbynumber_r.c: ... here.
29687         * inet/getrpcent.c: Moved ...
29688         * sunrpc/getrpcent.c: ... here.
29689         * inet/getrpcent_r.c: Moved ...
29690         * sunrpc/getrpcent_r.c: ... here.
29691         * inet/Makefile (routines): Move those to ...
29692         * sunrpc/Makefile (routines): ... here.
29693         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29694         the $(subdirs) list.
29695         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
29696         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29697         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29698         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29700         * elf/Makefile (routines): Include $(all-dl-routines), not just
29701         $(dl-routines).
29702         (rtld-routines): Likewise.  Use = rather than :=.
29703         * sysdeps/aarch64/Makefile [$(subdir) = elf]
29704         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29705         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29706         * sysdeps/arm/Makefile: Likewise.
29707         * sysdeps/i386/Makefile: Likewise.
29708         * sysdeps/x86_64/Makefile: Likewise.
29709         * sysdeps/hppa/Makefile [$(subdir) = elf]
29710         (sysdep_routines, sysdep-rtld-routines): Don't add
29711         $(sysdep-dl-routines) to these.
29712         * sysdeps/ia64/Makefile: Likewise.
29713         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29714         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29715         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29716         Don't add dl-static to these; sysdep-dl-routines alone is enough.
29717         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29718         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29719         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29720         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29721         * sysdeps/powerpc/Makefile [$(subdir) = elf]
29722         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29723         these; sysdep-dl-routines alone is enough.
29725 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
29727         [BZ #17932]
29728         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29729         where multiplication results in zero and third argument is finite
29730         and nonzero.
29731         * math/auto-libm-test-in: Add more tests of fma.
29732         * math/auto-libm-test-out: Regenerated.
29734         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29735         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29736         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29737         (_FP_CMP_EQ): Likewise.
29738         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29740         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29741         extra argument CHECK_NAN.  Redefine as wrapper around
29742         _FP_EXTEND_CNAN.
29744 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
29746         * version.h (RELEASE): Set to "stable".
29747         (VERSION): Set to "2.21"
29748         * include/features.h (__GLIBC_MINOR__): Set to 21.
29750         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29752 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29753             Paul Eggert  <eggert@cs.ucla.edu>
29755         [BZ #16618]
29756         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29757         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29758         size in bytes. Store needed elements in wpmax. Use needed size
29759         in bytes for extend_alloca.
29761 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
29763         * manual/install.texi: Latest tested versions are GCC 4.9.2,
29764         binutls 2.25, and texinfo 5.2.
29765         * INSTALL: Regenerate.
29766         * sysdeps/nios2/configure: Regenerate.
29767         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29768         * manual/contrib.texi: Update.
29769         * po/be.po: Update.
29770         * po/bg.po: Update.
29771         * po/ca.po: Update.
29772         * po/cs.po: Update.
29773         * po/da.po: Update.
29774         * po/de.po: Update.
29775         * po/el.po: Update.
29776         * po/eo.po: Update.
29777         * po/es.po: Update.
29778         * po/fi.po: Update.
29779         * po/fr.po: Update.
29780         * po/gl.po: Update.
29781         * po/hr.po: Update.
29782         * po/hu.po: Update.
29783         * po/ia.po: Update.
29784         * po/id.po: Update.
29785         * po/it.po: Update.
29786         * po/ja.po: Update.
29787         * po/ko.po: Update.
29788         * po/lt.po: Update.
29789         * po/nb.po: Update.
29790         * po/nl.po: Update.
29791         * po/pl.po: Update.
29792         * po/pt_BR.po: Update.
29793         * po/ru.po: Update.
29794         * po/rw.po: Update.
29795         * po/sk.po: Update.
29796         * po/sl.po: Update.
29797         * po/sv.po: Update.
29798         * po/tr.po: Update.
29799         * po/uk.po: Update.
29800         * po/vi.po: Update.
29801         * po/zh_CN.po: Update.
29802         * po/zh_TW.po: Update.
29804         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29805         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29806         * sysdeps/hppa/dl-irel.h: Remove #warning.
29807         * sysdeps/hppa/entry.h: Provide prototype for
29808         __canonicalize_funcptr_for_compare and cast argument.
29809         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29810         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29811         * sysdeps/hppa/sotruss-lib.c: New file.
29812         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29813         (atomic_compare_and_exchange_val_acq): Use __typeof__.
29814         (atomic_compare_and_exchange_bool_acq): Likewise.
29815         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29816         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29818         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29819         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29820         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29822 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
29824         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29825         called function in non-PIC case.
29827 2015-01-31  David S. Miller  <davem@davemloft.net>
29829         * sysdeps/sparc/sparc32/bits/atomic.h
29830         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29831         unlock not after it.
29832         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29833         volatile register usage warnings from the compiler.
29835         * sysdeps/sparc/nptl/sem_init.c: Delete.
29836         * sysdeps/sparc/nptl/sem_post.c: Delete.
29837         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29838         * sysdeps/sparc/nptl/sem_wait.c: Delete.
29839         * sysdeps/sparc/sparc32/sem_init.c: New file.
29840         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29841         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29842         padding explicitly initialized.
29843         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29844         padding for in-semaphore spinlock.
29845         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29846         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29847         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29848         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29849         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29850         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29851         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29852         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29853         version.
29854         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29855         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29857 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
29859         [BZ #17801]
29860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29861         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29862         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29863         New.
29864         (index_AVX_Fast_Unaligned_Load): Likewise.
29865         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29866         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29867         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29868         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29869         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29870         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29871         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29872         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29873         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29875 2015-01-29  Andreas Schwab  <schwab@suse.de>
29877         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29879 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
29881         [BZ #17892]
29882         * nscd/nscd_stat.c (send_stats): Initialize DATA.
29884 2015-01-28  Martin Sebor  <msebor@redhat.com>
29886         * math/README.libm-test: Clarify. Add "How to read the test output."
29888 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
29890         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29891         Define to 0.
29893 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
29895         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29896         (__HAVE_64B_ATOMICS): Define to 0.
29898 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29900         [BZ #17885]
29901         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29902         value to set as new flag.
29904         [BZ #16576]
29905         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29906         and use _ARCH_PPCSQ instead.
29907         (__ieee754_sqrt): Likewise.
29908         (__ieee754_sqrtf): Likewise.
29909         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29910         _ARCH_PPCSQ is defined.
29911         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29912         fsqrt instruction.
29913         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29914         _ARCH_PPCSQ is defined.
29915         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29916         fsqrts instruction.
29917         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29919 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29921         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29922         bug (GCC BZ #64739).
29924 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
29926         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29927         Mark _retval as used.
29928         (lll_futex_wake_unlock): Likewise.
29929         (lll_futex_timed_wait_requeue_pi): Likewise.
29931         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29932         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29933         register variables.
29935         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29936         libm_hidden_def.
29938         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29939         (__bswap_64): Mark as __always_inline.
29941 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
29943         [BZ #15378]
29944         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29945         when none of the search directories exist.
29947 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29949         [BZ #17869]
29950         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29951         power8 in .machine directive.
29953         [BZ #17868]
29954         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29955         set dependency from opd value.
29957 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29960         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29961         architecture.
29963 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29965         [BZ #17870]
29966         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29967         with uint64_t.
29968         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29969         (uint64_t) 1.
29970         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29971         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29972         Replace 1UL with (uint64_t) 1.
29973         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29974         int with uint64_t.
29976 2015-01-23  Roland McGrath  <roland@hack.frob.com>
29978         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29979         (if_freenameindex): Likewise.
29981         * resource/getrlimit64.c: Add missing libc_hidden_def.
29983 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
29985         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29986         __label__.
29987         (_FP_FMA): Likewise.
29988         (_FP_TO_INT_ROUND): Likewise.
29989         (_FP_FROM_INT): Likewise.
29991 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29993         [BZ #16418]
29994         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29995         Make code racy and cancel safe.
29997 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
29999         * sysdeps/arm/unwind-resume.h: Fix copyright year.
30000         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
30001         attribution.
30003         * pwd/tst-getpw.c: Rewrite.
30005         [BZ #17702]
30006         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
30007         (modules-names): Add moddummy1 and moddummy2.
30008         ($(objpfx)tst-rec-dlopen): Define.
30009         * dlfcn/moddummy1.c: New file.
30010         * dlfcn/moddummy2.c: New file.
30011         * dlfcn/tst-rec-dlopen.c: New file.
30012         * elf/dl-cache.c (_dl_load_cache_lookup):
30013         Return char*. Copy result with alloca/strcpy/strdup.
30014         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
30015         returns char*. Free cached. If not saving realname
30016         free cached.
30017         * elf/dl-open.c (dl_open_worker): Do not assert that
30018         _r_debug->r_state is RT_CONSISTENT.
30019         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
30020         returns char*.
30022 2015-01-21  Torvald Riegel  <triegel@redhat.com>
30023             Carlos O'Donell  <carlos@redhat.com>
30025         [BZ #12674]
30026         * nptl/sem_waitcommon.c: New file.
30027         * nptl/sem_wait.c: Include sem_waitcommon.c.
30028         (__sem_wait_cleanup, do_futex_wait): Remove.
30029         (__new_sem_wait): Adapt.
30030         (__new_sem_trywait): New function.
30031         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
30032         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
30033         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
30034         (sem_timedwait): Adapt.
30035         * nptl/sem_post.c (__new_sem_post): Adapt.
30036         (futex_wake): New function.
30037         (__old_sem_post): Add release MO fence.
30038         * nptl/sem_open.c (sem_open): Adapt.
30039         * nptl/sem_init.c (__new_sem_init): Adapt.
30040         (futex_private_if_supported): New function.
30041         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
30042         (__old_sem_getvalue): Add using previous code.
30043         * sysdeps/nptl/internaltypes.h: Adapt.
30044         * nptl/tst-sem13.c (do_test): Adapt.
30045         * nptl/tst-sem11.c (main): Adapt.
30046         * nptl/sem_trywait.c: Remove.
30047         * nptl/DESIGN-sem.txt: Remove.
30048         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
30049         (gen-as-const-headers): Remove structsem.sym.
30050         * nptl/structsem.sym: Remove.
30051         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
30052         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
30053         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
30054         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
30055         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
30056         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
30057         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
30058         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
30059         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
30060         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
30061         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
30062         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
30063         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
30064         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
30065         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
30066         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
30067         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
30068         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
30069         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
30070         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
30071         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
30072         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
30074 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
30076         * INSTALL: Regenerated.
30078         * po/libc.pot: Regenerated.
30080 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
30081             Sandra Loosemore  <sandra@codesourcery.com>
30082             Andrew Jenner  <andrew@codesourcery.com>
30083             Joseph Myers  <joseph@codesourcery.com>
30084             Nathan Sidwell  <nathan@codesourcery.com>
30086         * NEWS: Mention new Nios II port.
30087         * sysdeps/nios2/Implies: New file.
30088         * sysdeps/nios2/Makefile: New file.
30089         * sysdeps/nios2/Subdirs: New file.
30090         * sysdeps/nios2/Versions: New file.
30091         * sysdeps/nios2/__longjmp.S: New file.
30092         * sysdeps/nios2/abort-instr.h: New file.
30093         * sysdeps/nios2/backtrace.c: New file.
30094         * sysdeps/nios2/bits/endian.h: New file.
30095         * sysdeps/nios2/bits/fenv.h: New file.
30096         * sysdeps/nios2/bits/link.h: New file.
30097         * sysdeps/nios2/bits/setjmp.h: New file.
30098         * sysdeps/nios2/bsd-_setjmp.S: New file.
30099         * sysdeps/nios2/bsd-setjmp.S: New file.
30100         * sysdeps/nios2/configure: New generated file.
30101         * sysdeps/nios2/configure.ac: New file.
30102         * sysdeps/nios2/crti.S: New file.
30103         * sysdeps/nios2/crtn.S: New file.
30104         * sysdeps/nios2/dl-init.c: New file.
30105         * sysdeps/nios2/dl-machine.h: New file.
30106         * sysdeps/nios2/dl-sysdep.h: New file.
30107         * sysdeps/nios2/dl-tls.h: New file.
30108         * sysdeps/nios2/dl-trampoline.S: New file.
30109         * sysdeps/nios2/gccframe.h: New file.
30110         * sysdeps/nios2/gmp-mparam.h: New file.
30111         * sysdeps/nios2/jmpbuf-offsets.h: New file.
30112         * sysdeps/nios2/jmpbuf-unwind.h: New file.
30113         * sysdeps/nios2/ldsodefs.h: New file.
30114         * sysdeps/nios2/libc-tls.c: New file.
30115         * sysdeps/nios2/libm-test-ulps: New file.
30116         * sysdeps/nios2/machine-gmon.h: New file.
30117         * sysdeps/nios2/math-tests.h: New file.
30118         * sysdeps/nios2/math_private.h: New file.
30119         * sysdeps/nios2/memusage.h: New file.
30120         * sysdeps/nios2/nptl/Makefile: New file.
30121         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
30122         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
30123         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
30124         * sysdeps/nios2/nptl/pthreaddef.h: New file.
30125         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
30126         * sysdeps/nios2/nptl/tls.h: New file.
30127         * sysdeps/nios2/preconfigure: New file.
30128         * sysdeps/nios2/s_fma.c: New file.
30129         * sysdeps/nios2/s_fmaf.c: New file.
30130         * sysdeps/nios2/setjmp.S: New file.
30131         * sysdeps/nios2/sfp-machine.h: New file.
30132         * sysdeps/nios2/sotruss-lib.c: New file.
30133         * sysdeps/nios2/stackguard-macros.h: New file.
30134         * sysdeps/nios2/stackinfo.h: New file.
30135         * sysdeps/nios2/start.S: New file.
30136         * sysdeps/nios2/sysdep.h: New file.
30137         * sysdeps/nios2/tls-macros.h: New file.
30138         * sysdeps/nios2/tst-audit.h: New file.
30139         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
30140         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
30141         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
30142         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
30143         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
30144         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
30145         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
30146         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
30147         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
30148         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
30149         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
30150         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
30151         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
30152         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
30153         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
30154         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
30155         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
30156         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
30157         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
30158         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
30159         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
30160         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
30161         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
30162         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
30163         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
30164         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
30165         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
30166         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
30167         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
30168         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
30169         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
30170         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
30171         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
30172         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
30173         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
30174         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
30175         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
30176         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
30177         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
30178         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
30179         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
30180         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
30181         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
30182         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
30184 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30186         [BZ #17844]
30187         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30188         (getutent): Use weak_alias in non SHARED case
30189         and default_symbol_version in SHARED case.
30190         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30191         (getutent_r, pututline): Likewise.
30192         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30193         (getutid): Likewise.
30194         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30195         (getutid_r): Likewise.
30196         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30197         (getutline): Likewise.
30198         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30199         (getutline_r): Likewise.
30200         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30201         (updwtmp): Likewise.
30203 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30205         [BZ #17848]
30206         * sysdeps/s390/s390-32/memcmp.S
30207         (memcmp_g5): Rename to __memcmp_g5.
30208         * sysdeps/s390/s390-32/memcpy.S
30209         (memcpy_g5): Rename to __memcpy_g5.
30210         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30211         (memcpy_mvcle) Rename to __memcpy_mvcle.
30212         * sysdeps/s390/s390-32/memset.S
30213         (memset_g5): Rename to __memset_g5.
30214         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30215         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30216         and use prefixed functions.
30217         * sysdeps/s390/s390-32/multiarch/memcmp.S
30218         (memcmp_z196): Rename to __memcmp_z196.
30219         (memcmp_z10): Rename to __memcmp_z10.
30220         (memcmp): Set alias to __memcmp_g5.
30221         (bcmp): Set alias to __memcmp_g5.
30222         * sysdeps/s390/s390-32/multiarch/memcpy.S
30223         (memcpy_z196): Rename to __memcpy_z196.
30224         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30225         (memcpy_z10): Rename to __memcpy_z10.
30226         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30227         (memcpy): Set alias to __memcpy_g5.
30228         * sysdeps/s390/s390-32/multiarch/memset.S
30229         (memset_z196): Rename to __memset_z196.
30230         Jump to __memset_mvcle instead of memset_mvcle.
30231         (memset_z10): Rename to __memset_z10.
30232         Jump to __memset_mvcle instead of memset_mvcle.
30233         (memset_mvcle) Rename to __memset_mvcle.
30234         (memset): Set alias to __memset_g5.
30235         * sysdeps/s390/s390-64/memcmp.S
30236         (memcmp_z900): Rename to __memcmp_z900.
30237         * sysdeps/s390/s390-64/memcpy.S
30238         (memcpy_z900): Rename to __memcpy_z900.
30239         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30240         (memcpy_mvcle) Rename to __memcpy_mvcle.
30241         * sysdeps/s390/s390-64/memset.S
30242         (memset_z900): Rename to __memset_z900.
30243         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30244         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30245         and use prefixed functions.
30246         * sysdeps/s390/s390-64/multiarch/memcmp.S
30247         (memcmp_z196): Rename to __memcmp_z196.
30248         (memcmp_z10): Rename to __memcmp_z10.
30249         (memcmp): Set alias to __memcmp_z900.
30250         (bcmp): Set alias to __memcmp_z900.
30251         * sysdeps/s390/s390-64/multiarch/memcpy.S
30252         (memcpy_z196): Rename to __memcpy_z196.
30253         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30254         (memcpy_z10): Rename to __memcpy_z10.
30255         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30256         (memcpy): Set alias to __memcpy_z900.
30257         * sysdeps/s390/s390-64/multiarch/memset.S
30258         (memset_z196): Rename to __memset_z196.
30259         Jump to __memset_mvcle instead of memset_mvcle.
30260         (memset_z10): Rename to __memset_z10.
30261         Jump to __memset_mvcle instead of memset_mvcle.
30262         (memset_mvcle) Rename to __memset_mvcle.
30263         (memset): Set alias to __memset_z900.
30265 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
30267         [BZ #17748]
30268         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30269         __fesetenv instead of fesetenv.
30271 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30273         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30274         macro.
30276 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30278         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30279         regression on LE.
30281         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30282         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30283         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30284         strncmp-power8 object.
30285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30286         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30287         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30288         * NEWS: Update.
30290 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30291             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30293         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30294         trailing byte check.
30296 2015-01-13  David S. Miller  <davem@davemloft.net>
30298         * include/signal.h (__sigreturn): Guard with __USE_MISC.
30300 2015-01-13  Roland McGrath  <roland@hack.frob.com>
30302         * login/logout.c (logout): Use memset rather than bzero.
30303         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30304         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30305         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30306         (_gethtbyaddr): Likewise.
30307         * locale/programs/simple-hash.c (bcopy): Macro removed.
30309 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30311         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30312         Add strcmp-power8 object.
30313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30314         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30315         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30316         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30317         __strcmp_power8 implementation.
30318         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30319         * NEWS: Update.
30321         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30322         Add strncpy-power8 and stpncpy-power8 objects.
30323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30324         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30325         implementations.
30326         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30327         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30328         __stpncpy_power8 implementation.
30329         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30330         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30331         __strncpy_power8 implementation.
30332         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30333         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30334         * NEWS: Update.
30336         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30337         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30338         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30340         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30341         strncat-power8 object.
30342         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30343         __strcat_power8 implementation.
30344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30345         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30346         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30347         optimized strcat for power8.
30349         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30350         strcpy-power8 and stpcpy-power8 objects.
30351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30352         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30353         implementations.
30354         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30355         multiarch stpcpy implementation for POWER8.
30356         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30357         multiarch strcpy implementation for POWER8.
30358         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30359         __strcpy_power8 function.
30360         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30361         stpcpy for POWER8.
30362         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30363         strcpy for POWER8.
30364         * NEWS: Update.
30366 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
30368         [BZ #16009]
30369         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30370         weights and rules. Use do_xfrm_cached if data fits in cache,
30371         do_xfrm otherwise.  Moved former main loop to...
30372         * (do_xfrm_cached): New function.
30373         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30374         find_idx, find_position and stack_push.
30375         * (find_idx): New function.
30376         * (find_position): Likewise.
30377         * localedata/sort-test.sh: Added test run for do_xfrm.
30378         * localedata/xfrm-test.c (main): Added command line option
30379         -nocache to run the test with strings that are too large for
30380         the STRXFRM cache.
30382 2015-01-13  Torvald Riegel  <triegel@redhat.com>
30384         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30385         variable to lll_futex_wake call, not the value itself.
30387 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
30389         [BZ #17803]
30390         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30391         twom64.  Adjust value to 0x1p-64L.
30392         (__scalblnl): Only return standard underflowing result for K <=
30393         -64 not K <= -63; adjust exponent for underflowing result by 64
30394         not 63.
30395         * math/libm-test.inc (scalbn_test_data): Add more tests.
30396         (scalbln_test_data): Likewise.
30398         [BZ #17834]
30399         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30400         0x1p63L.
30401         (__scalblnl): Get new exponent of adjusted subnormal value from ES
30402         not HX.
30403         * math/libm-test.inc (scalbn_test_data): Add more tests.
30404         (scalbln_test_data): Likewise.
30406 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30407             Stefani Seibold  <stefani@seibold.net>
30409         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30410         (sysdep_routines): Add dl-vdso here, ...
30411         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30412         (sysdep_routines): ... not here.
30413         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30414         fallback when vDSO is not presented.
30415         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30416         Define with libc_hidden_proto/libc_hidden_data_def definitions.
30417         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30418         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30419         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30420         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30421         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30422         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30423         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30424         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30425         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
30426         fallback configurable symbol when vDSO is not available.
30427         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30428         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
30429         be able to redefine fallback symbol when vDSO is not available.
30430         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30431         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30433 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30435         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30436         (TLS_INIT_TP): Add tm_capable initialization.
30437         (TLS_DEFINE_INIT_TP): Likewise.
30438         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30439         TCB.
30440         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30441         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30442         calculation.
30443         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30444         transactoion is lock elision is built and TCB tm_capable is set.
30445         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30447         (INTERNAL_SYSCALL_NCS): Likewise.
30448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30449         (INTERNAL_SYSCALL_NCS): Likewise.
30450         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30452         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30453         for powerpc.
30454         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30455         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30456         and remove it for 32 bits case.
30457         [pthread_rwlock_t] (__rwelision): New field for lock elision.
30458         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30459         initialization.
30460         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30461         Disable lock elision with rdlocks if elision is not available.
30463         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30464         (sysdep_routines): Add lock elision objects.
30465         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30466         [pthread_mutex_t] (__spins): Rework to add lock elision field.
30467         [pthread_mutex_t] (__elision): Add field.
30468         [__PTHREAD_SPINS]: Adjust to init lock elision field.
30469         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30470         elision definitions for powerpc.
30471         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30472         implementation of lock elision for powerpc.
30473         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30474         implementation of timed lock elision for powerpc.
30475         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30476         implementation of trylock with lock elision for powerpc.
30477         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30478         implementaion of unlock for lock elision for powerpc.
30479         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30480         automatic enable lock elision for mutexes.
30481         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30482         transaction execution definitions for powerpc.
30483         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30484         definitions.
30485         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30486         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30487         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30488         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30489         * NEWS: Update.
30491 2015-01-09  Roland McGrath  <roland@hack.frob.com>
30493         * sysdeps/posix/shm-directory.c: Use <> rather than ""
30494         for #include of <shm-directory.h>.
30496 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
30498         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30499         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30501 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
30503         [BZ #17791]
30504         * NEWS: Mention bug fix.
30505         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30506         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30507         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30509 2015-01-09  Torvald Riegel <triegel@redhat.com>
30511         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30513 2015-01-09  Torvald Riegel <triegel@redhat.com>
30515         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30517 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30519         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30520         pointer and cast to uintptr_t.
30522 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30524         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30525         removed.
30526         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30528 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30530         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30531         of 0.
30533 2015-01-08  Roland McGrath  <roland@hack.frob.com>
30535         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30536         <nptl/pthreadP.h> instead.
30537         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30539         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30540         already defined.
30541         [__SIGRTMIN] (init): Function removed.
30542         [__SIGRTMIN] (initialized): Variable removed.
30543         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30544         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30545         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30546         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30547         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30548         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30549         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30550         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30551         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30552         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30553         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30554         * sysdeps/nptl/allocrtsig.c: New file.
30555         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30556         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30557         * sysdeps/generic/testrtsig.h: File removed.
30559         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30560         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30562         * nptl/nptl-init.c (pthread_functions): Conditionalize
30563         .ptr__nptl_setxid initialization on [SIGSETXID].
30565         * sysdeps/nptl/sys/procfs.h: New file.
30566         * nptl_db/Makefile (headers): Add it.
30567         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30569         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30570         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30571         * nptl/pthread_attr_setaffinity.c: Include it.
30572         * nptl/pthread_setattr_default_np.c: Likewise.
30573         * nptl/check-cpuset.h: New file.
30575 2015-01-08  Richard Henderson  <rth@redhat.com>
30577         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30578         (CFLAGS-tst-execstack-prog.c): Likewise.
30579         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30581 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
30582             Sandra Loosemore  <sandra@codesourcery.com>
30583             Andrew Jenner  <andrew@codesourcery.com>
30584             Joseph Myers  <joseph@codesourcery.com>
30585             Nathan Sidwell  <nathan@codesourcery.com>
30587         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30588         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30589         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30590         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30591         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30592         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30593         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30594         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30595         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30596         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30597         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30598         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30599         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30600         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30601         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30602         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30603         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30605 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30607         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30608         timespec struct member in syscall macro.
30609         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30610         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30611         first timeval struct member in syscall macro.
30612         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30614 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
30616         [BZ #17748]
30617         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30618         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30619         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30620         __feupdateenv and define as weak alias of __feupdateenv.  Use
30621         libm_hidden_weak.
30622         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30623         libm_hidden_def.
30624         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30625         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
30626         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30627         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30628         libm_hidden_def.
30629         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30630         __feupdateenv and define as weak alias of __feupdateenv.  Use
30631         libm_hidden_weak.
30632         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30633         libm_hidden_def.
30634         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30635         __feupdateenv and define as weak alias of __feupdateenv.  Use
30636         libm_hidden_weak.
30637         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30638         libm_hidden_def.
30639         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30640         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30641         (__feupdateenv): Likewise.
30642         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30643         __feupdateenv and define as weak alias of __feupdateenv.  Use
30644         libm_hidden_weak.
30645         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30646         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30647         libm_hidden_def.
30648         * sysdeps/tile/math_private.h (__feupdateenv): New inline
30649         function.
30650         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30651         libm_hidden_def.
30652         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30653         __feupdateenv instead of feupdateenv.
30654         (default_libc_feupdateenv_test): Likewise.
30655         (libc_feresetround_ctx): Likewise.
30657 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30659         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30660         prototype.
30662 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
30664         * posix/regcomp.c (parse_bracket_exp): Initialize type to
30665         COLL_SYM in a couple of places to avoid uninitialized variable
30666         wanings on tilegx gcc 4.8.2.
30668 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30670         * sysdeps/aarch64/strcpy.S: New file.
30671         * sysdeps/aarch64/stpcpy.S: New file.
30672         * NEWS: Updated.
30674 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30676         * sysdeps/aarch64/strrchr.S: New file.
30677         * NEWS: Updated.
30679 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
30681         [BZ #17658]
30682         * stdlib/setenv.c: Fix memory leak when setting large,
30683         duplicate string.
30685 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
30687         [BZ #17273]
30688         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30689         and tabs from buffer before parsing fstab entry.
30690         * misc/tst-mntent.c (main): Add test for mount entry with
30691         trailing spaces and tabs.
30693 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
30695         [BZ #17748]
30696         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
30697         * math/fesetround.c (fesetround): Rename to __fesetround and
30698         define as weak alias of __fesetround.  Use libm_hidden_weak.
30699         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30700         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30701         * sysdeps/arm/fesetround.c (fesetround): Likewise.
30702         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30703         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30704         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30705         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30706         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30707         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30708         __fesetround_inline.
30709         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30710         __fesetround_inline instead of __fesetround.
30711         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30712         __fesetround and define as weak alias of __fesetround.  Use
30713         libm_hidden_weak.  Call __fesetround_inline instead of
30714         __fesetround.
30715         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30716         __fesetround and define as weak alias of __fesetround.  Use
30717         libm_hidden_weak.
30718         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30719         Likewise.
30720         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30721         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30722         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30723         * sysdeps/tile/math_private.h (__fesetround): New inline function.
30724         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30725         __fesetround and define as weak alias of __fesetround.  Use
30726         libm_hidden_weak.
30727         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30728         __fesetround instead of fesetround.
30729         (default_libc_feholdexcept_setround): Likewise.
30730         (libc_feholdsetround_ctx): Likewise.
30731         (libc_feholdsetround_noex_ctx): Likewise.
30733         [BZ #17748]
30734         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30735         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30736         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30737         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30738         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30739         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30740         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30741         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30742         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30743         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30744         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30745         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30746         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30747         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30748         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30749         libm_hidden_def.
30750         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30751         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30752         Likewise.
30753         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30754         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30755         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30756         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30757         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30758         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30759         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30760         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30761         __fesetenv instead of fesetenv.
30762         (libc_feresetround_noex_ctx): Likewise.
30763         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30764         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30765         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30766         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30767         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30768         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30769         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30770         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30771         (__feupdateenv): Likewise.
30772         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30773         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30774         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30775         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30777 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30779         [BZ #17806]
30780         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30781         addresses have been freed.
30783 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30785         * resolv/res_init.c (__res_vinit): Improve comments about nserv
30786         and nservall.
30788 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
30790         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30791         Clean up check_pf allocation pattern. addresses
30793 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30795         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30796         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30797         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30798         * nptl/pthread_exit.c (__pthread_exit): Likewise.
30799         * nptl/pthread_join.c (pthread_join): Likewise.
30800         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30801         * sysdeps/posix/waitid.c (__waitid): Likewise.
30802         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30803         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30804         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30805         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30806         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30807         Likewise.
30808         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30809         (__libc_pread64): Likewise.
30810         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30811         (__libc_pwrite): Likewise.
30812         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30813         (__libc_pwrite64): Likewsie.
30814         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30815         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30816         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30817         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30818         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30819         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30820         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30822         Likewise.
30823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30824         (__libc_pread64): Likewise.
30825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30826         Likewise.
30827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30828         (__libc_pwrite64): Likewise.
30829         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30830         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30831         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30832         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30833         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30834         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30835         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30836         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30837         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30838         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30839         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30840         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30841         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30842         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30843         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30844         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30845         Likewise.
30847 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30849         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30850         (CFLAGS-test-double.c): Likewise.
30851         (CFLAGS-test-ldouble.c): Likewise.
30852         (CPPFLAGS-test-ifloat.c): Likewise.
30853         (CPPFLAGS-test-idouble.c): Likewise.
30854         (CPPFLAGS-test-ildoubl.c): Likewise.
30855         (CFLAGS-test-test-fenv.c): Remove variable.
30856         (CFLAGS-test-misc.c): Likewise.
30858 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
30860         [BZ #17797]
30861         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30862         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30863         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30864         CLOCKS_PER_SEC == 1000000.
30865         * time/clocktest.c (main): Replace %ld with %jd and cast to
30866         intmax_t.
30868 2015-01-05  Roland McGrath  <roland@hack.frob.com>
30870         * sysdeps/generic/unwind-resume.h: New file.
30871         * sysdeps/gnu/unwind-resume.c: Include it.
30872         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30873         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30874         argument list.
30875         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30876         global rather than static.
30877         (_Unwind_Resume): Update user.
30878         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30879         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
30880         rather than static.  Add __attribute__ ((cold)).
30881         (_Unwind_Resume, __gcc_personality_v0): Update callers.
30882         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30883         * sysdeps/arm/arm-unwind-resume.S: New file.
30884         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30885         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30886         * sysdeps/arm/Makefile [$(subdir) = csu]
30887         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30888         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30889         Add rt-arm-unwind-resume.
30890         [$(subdir) = nptl]
30891         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30892         Add pt-arm-unwind-resume.
30893         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30894         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30896 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30898         [BZ #17748]
30899         * include/fenv.h (__feholdexcept): Declare.  Use
30900         libm_hidden_proto.
30901         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30902         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
30903         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30904         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30905         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30906         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30907         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30908         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30909         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30910         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30911         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30912         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30913         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30914         (feholdexcept): Likewise.
30915         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30916         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30917         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30918         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30919         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30920         __feholdexcept instead of feholdexcept.
30921         (default_libc_feholdexcept_setround): Likewise.
30923 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30925         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30926         to avoid using stl/str to align destination.
30928 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30930         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30932 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30934         [BZ #17796]
30935         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30936         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30937         Define as weak alias not strong alias.
30939 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30941         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30942         bltzal with addiupc.
30943         (RTLD_START): Ditto.
30945 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
30947         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30948         for __vdso_* functions in declarations.
30949         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30950         definitions.
30951         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30952         INTERNAL_VSYSCALL): Use struct return types to check for error.
30954         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30955         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30956         function with cast from llround().
30957         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30958         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30959         Define.
30961 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30963         [BZ #17793]
30964         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30965         Define as weak alias not strong alias.
30967         [BZ #17635]
30968         * ctype/ctype-c99.c: New file.  isblank implementation moved from
30969         ...
30970         * ctype/ctype-extn.c: ... here.
30971         (__isblank_l): Move to ...
30972         * ctype/ctype-c99_l.c: ... here.  New file.
30973         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30974         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30975         Remove variable.
30976         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30977         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30978         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30979         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30980         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30982         [BZ #17777]
30983         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30984         (posix_fadvise64): Define as weak alias not strong alias.
30985         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30986         (posix_fallocate64): Likewise.
30987         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30988         Remove variable.
30989         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30990         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30991         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30992         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30993         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30995 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
30997         [BZ #16191]
30998         * NEWS: Mention bug fix.
30999         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
31000         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
31001         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
31002         (HOST_STACK_END_ADDR): Likewise.
31004 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
31006         [BZ #17748]
31007         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
31008         * math/fegetround.c (fegetround): Rename to __fegetround and
31009         define as weak alias of __fegetround.  Use libm_hidden_weak.
31010         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
31011         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
31012         * sysdeps/arm/fegetround.c (fegetround): Likewise.
31013         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
31014         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31015         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
31016         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
31017         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
31018         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31019         Undefine after rather than before function definition; use
31020         parentheses around function name in definition.
31021         (__fegetround): Also undefine macro after function definition.
31022         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
31023         __fegetround and define as weak alias of __fegetround.  Use
31024         libm_hidden_weak.  Do not undefine as macro.
31025         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31026         Likewise.
31027         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
31028         __fegetround and define as weak alias of __fegetround.  Use
31029         libm_hidden_weak.
31030         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31031         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31032         * sysdeps/tile/math_private.h (__fegetround): New inline function.
31033         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
31034         __fegetround and define as weak alias of __fegetround.  Use
31035         libm_hidden_weak.
31036         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
31037         __fegetround instead of fegetround.
31039         [BZ #17782]
31040         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
31041         Condition macro definition on [__USE_MISC].
31043         [BZ #17781]
31044         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31045         (struct sigaction): Change type of sa_flags field to int.
31047         [BZ #17780]
31048         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
31049         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
31050         __glibc_reserved0.
31052         * nptl/version.c (banner): Use single year in copyright notice.
31054         * NEWS: Update copyright dates.
31055         * catgets/gencat.c (print_version): Likewise.
31056         * csu/version.c (banner): Likewise.
31057         * debug/catchsegv.sh: Likewise.
31058         * debug/pcprofiledump.c (print_version): Likewise.
31059         * debug/xtrace.sh (do_version): Likewise.
31060         * elf/ldconfig.c (print_version): Likewise.
31061         * elf/ldd.bash.in: Likewise.
31062         * elf/pldd.c (print_version): Likewise.
31063         * elf/sotruss.sh: Likewise.
31064         * elf/sprof.c (print_version): Likewise.
31065         * iconv/iconv_prog.c (print_version): Likewise.
31066         * iconv/iconvconfig.c (print_version): Likewise.
31067         * locale/programs/locale.c (print_version): Likewise.
31068         * locale/programs/localedef.c (print_version): Likewise.
31069         * login/programs/pt_chown.c (print_version): Likewise.
31070         * malloc/memusage.sh (do_version): Likewise.
31071         * malloc/memusagestat.c (print_version): Likewise.
31072         * malloc/mtrace.pl: Likewise.
31073         * manual/libc.texinfo: Likewise.
31074         * nptl/version.c (banner): Likewise.
31075         * nscd/nscd.c (print_version): Likewise.
31076         * nss/getent.c (print_version): Likewise.
31077         * nss/makedb.c (print_version): Likewise.
31078         * posix/getconf.c (main): Likewise.
31079         * scripts/test-installation.pl: Likewise.
31080         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
31082 2015-01-02  Will Newton  <will.newton@linaro.org>
31084         * sysdeps/arm/armv7/configure: Removed.
31085         * sysdeps/arm/armv7/configure.ac: Likewise.
31087 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
31089         * All files with FSF copyright notices: Update copyright dates
31090         using scripts/update-copyrights.
31091         * intl/plural.c: Regenerated.
31092         * locale/programs/charmap-kw.h: Likewise.
31093         * locale/programs/locfile-kw.h: Likewise.
31095 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31097         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
31099 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31101         [BZ #17748]
31102         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
31103         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
31104         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31105         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
31106         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31107         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
31108         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31109         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
31110         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31111         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31112         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31113         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31114         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31115         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31116         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31117         libm_hidden_def.
31118         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
31119         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
31120         Likewise.
31121         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31122         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31123         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31124         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31125         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
31126         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31127         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
31128         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31129         __fegetenv instead of fegetenv.
31130         (libc_feholdsetround_noex_ctx): Likewise.
31132 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31134         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
31135         (Elf_MIPS_ABIFlags_v0): New structure.
31136         (EF_MIPS_FP64): Define.
31137         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
31138         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
31139         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
31140         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
31141         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
31142         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
31143         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
31144         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
31145         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
31146         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
31147         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
31148         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
31149         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
31150         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
31151         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
31152         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
31153         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
31154         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
31155         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
31156         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
31157         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
31158         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
31159         field.
31160         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
31161         EF_MIPS_FP64.
31162         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
31163         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
31164         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
31165         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
31166         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
31167         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
31168         * sysdeps/mips/tst-abi-interlink.c: Likewise.
31169         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
31170         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
31171         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
31172         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
31173         record the current FP ABI extension.
31174         (mips-mode-switch): Define to show if kernel headers support mode
31175         switching.
31176         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31177         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
31178         supported SYSV ABI version to 3.
31179         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
31180         feature.
31182 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31183             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31185         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31186         path.
31187         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31189 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31191         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31192         __fegetround and redefine to call __fegetround.  Remove condition
31193         on [!__NO_MATH_INLINES].
31194         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31195         function.
31196         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31197         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31198         Remove macro.
31199         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31200         instead of <fenv_libc.h>.
31201         (__llrintl): Call fegetround instead of __fegetround.
31202         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31203         instead of <fenv_libc.h>.
31204         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31205         (__lrintl): Call fegetround instead of __fegetround.
31206         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31207         instead of <fenv_libc.h>.
31208         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31209         (__rintl): Call fegetround instead of __fegetround.
31211 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31213         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31214         arrays.
31216 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31218         [BZ #17775]
31219         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31220         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31221         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31223 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31225         * sysdeps/i386/tls-macros.h: Include <features.h>.
31226         (TLS_LE): Use non-PIC version for GCC >= 5.0.
31227         (TLS_IE): Likewise.
31228         (TLS_LD): Likewise.
31229         (TLS_GD): Likewise.
31230         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31231         define for GCC >= 5.0.
31233 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
31235         * math/test-fenv.c (test_single_exception, set_single_exc,
31236         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31237         feexcp_mask_test, feenable_test, fe_single_test): Add
31238         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31239         case where they are not used.
31240         * math/libm-test.inc: Likewise.
31241         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31242         unused in the absence of FP rounding/exception support.
31243         * stdio-common/tst-printf-round.c: Likewise.
31244         * stdlib/tst-strtod-round.c: Likewise.
31245         * stdlib/tst-strtod-underflow.c: Likewise.
31247 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
31249         [BZ #17723]
31250         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31251         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31252         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31253         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31254         libm_hidden_weak.
31255         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31256         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31257         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31258         libm_hidden_def.
31259         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31260         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31261         libm_hidden_weak.
31262         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31263         Likewise.
31264         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31265         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31266         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31267         libm_hidden_weak.
31268         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31269         libm_hidden_def.
31270         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31271         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31272         (__feraiseexcept): Likewise.
31273         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31274         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31275         libm_hidden_weak.
31276         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31277         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31278         libm_hidden_def.
31279         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31280         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31281         Use libm_hidden_def.
31282         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31283         libm_hidden_def.
31284         (feraiseexcept): Define as weak not strong alias.  Use
31285         libm_hidden_weak.
31286         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31287         New inline function.  Factored out of ...
31288         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
31289         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31290         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31291         feraiseexcept.
31292         * math/w_acos.c (__acos): Likewise.
31293         * math/w_asin.c (__asin): Likewise.
31294         * math/w_ilogb.c (__ilogb): Likewise.
31295         * math/w_j0.c (y0): Likewise.
31296         * math/w_j1.c (y1): Likewise.
31297         * math/w_jn.c (yn): Likewise.
31298         * math/w_log.c (__log): Likewise.
31299         * math/w_log10.c (__log10): Likewise.
31300         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31301         * sysdeps/aarch64/fpu/math_private.h
31302         (libc_feupdateenv_test_aarch64): Likewise.
31303         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31304         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31305         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31306         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31307         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31308         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31309         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31310         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31311         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31312         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31314 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31316         [BZ #17732]
31317         * io/test-utime.c (main): Replace %ld with %jd and cast to
31318         intmax_t.
31319         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31320         * nptl/tst-mutex5.c: Include <stdint.h>.
31321         (do_test): Replace %ld with %jd and cast to intmax_t.
31322         * posix/tst-regex.c (run_test): Likewise.
31323         (run_test_backwards): Likewise.
31324         * rt/tst-clock.c: Include <stdint.h>.
31325         (clock_test): Replace %ld with %jd and cast to intmax_t.
31326         * rt/tst-cpuclock1.c: Include <stdint.h>.
31327         (do_test): Replace %lu with %ju and cast to uintmax_t.
31328         * rt/tst-cpuclock2.c: Include <stdint.h>.
31329         (do_test): Replace %lu with %ju and cast to uintmax_t.
31330         * rt/tst-mqueue1.c: Include <stdint.h>.
31331         (check_attrs): Replace %ld with %jd and cast to intmax_t.
31332         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31333         intmax_t.
31334         * rt/tst-mqueue4.c (do_test): Likewise.
31335         * rt/tst-timer4.c: Include <stdint.h>.
31336         (check_ts): Replace %ld with %jd and cast to intmax_t.
31337         (do_test): Likewise.
31338         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31339         and cast to intmax_t.
31340         * sysdeps/pthread/tst-timer.c (main): Likewise.
31341         * time/clocktest.c (main): Likewise.
31342         * time/tst-posixtz.c (do_test): Likewise.
31343         * timezone/tst-timezone.c (main): Likewise.
31345 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31346             H.J. Lu  <hongjiu.lu@intel.com>
31348         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31349         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31350         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31351         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31352         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31353         version if bit_Fast_Unaligned_Load is set.
31354         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31355         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31356         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31357         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31358         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31359         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31360         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31361         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31362         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31363         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31364         to 4.
31365         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31366         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31367         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31368         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31370 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
31372         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31373         instead of #if to avoid a Wundef warning.
31374         * stdlib/tst-limits.c (do_test): Likewise.
31376         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31377         parallel other exception macros.
31378         (fegetenv): Convert from macro to extern inline so that it applies
31379         retroactively to inline functions already seen by the compiler.
31380         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31382         * posix/Makefile (before-compile): Use $(objpfx) for
31383         posix-conf-vars-def.h.
31385 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31387         * posix/getconf.c (main): Use size_t for type of I.
31388         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31389         NSPEC.
31391         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31392         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31393         * posix/posix-envs.def: Likewise.
31394         * sysdeps/posix/sysconf.c: Likewise.
31395         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31396         (specs): Remove array.
31397         * scripts/gen-posix-conf-vars.awk: Support generation of specs
31398         array.
31400         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31401         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31402         (__sysconf): Use CONF_IS_* macros.
31404         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31405         ($(objpfx)posix-conf-vars-def.h): New target.
31406         * posix/posix-conf-vars.list: New file.
31407         * posix/posix-conf-vars.h: New file.
31408         * posix/confstr.c: Include posix-conf-vars.h.
31409         (confstr): Use CONF_IS_* macros.
31410         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
31411         CONF_IS_* macros.
31412         * scripts/gen-posix-conf-vars.awk: New file.
31414 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
31416         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31417         fegetround): Add no-op macros to avoid linknamespace issues.
31419         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31420         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31422         * sysdeps/unix/sysv/linux/tile/sysdep.h
31423         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31424         assembly-specific section to avoid a redefinition warning.
31426         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31427         long before casting to pointer to avoid a cast warning.
31429 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
31431         * sysdeps/tile/tilegx/Implies: New file.
31433 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
31435         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31437 2014-12-23  Florian Weimer  <fweimer@redhat.com>
31439         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31441 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31444         not define.
31445         * sysdeps/unix/sysv/linux/utimes.c: Do not include
31446         <kernel-features.h>.
31447         (__utimes) [__NR_utimes]: Make code unconditional.
31448         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31449         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31450         (__ASSUME_UTIMES): Do not undefine.
31451         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31452         (__ASSUME_UTIMES): Likewise.
31453         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31454         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31455         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31456         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31458 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31460         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31462 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
31464         [BZ #17747]
31465         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31466         alias to weak alias for j0l, y0l.
31467         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31468         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31470         [BZ #17746]
31471         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31472         conversion.
31474 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31476         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31477         to zero if not already defined.
31479 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31481         [BZ #17724]
31482         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31483         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
31484         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
31485         (char *) casts added.
31486         * sysdeps/ieee754/k_standardf.c: New file.
31487         * sysdeps/ieee754/k_standardl.c: Likewise.
31488         * math/Makefile (libm-support): Remove k_standard.
31489         (libm-calls): Add k_standard.
31491 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31493         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31494         Optimize to avoid an unnecessary FPCR read.
31496 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31498         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31499         Optimize to reduce FPCR/FPSR accesses.
31501 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31503         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31504         Call libc_fetestexcept_aarch64.
31506 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31508         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31509         Call libc_fesetround_aarch64.
31511 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31513         [BZ #17733]
31514         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31515         (__bind): Do not define as weak alias.
31516         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31517         define.
31518         (__getsockname): Do not define as weak alias.
31520 2014-12-22  Will Newton  <will.newton@linaro.org>
31522         * manual/install.texi: Document that we require bison 2.7
31523         or above.
31524         * INSTALL: Regenerate.
31525         * configure.ac: Use AC_CHECK_PROG_VER instead of
31526         AC_PATH_PROG when checking for bison and check for
31527         version 2.7 or above.
31528         * configure: Regenerate.
31530 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
31532         [BZ #17745]
31533         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31534         * sysdeps/tile/ffsll.c (ffsll): To here.
31536         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31538 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31540         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31541         if not defined.
31542         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31543         definition.
31544         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31545         hidden ___tls_get_addr.
31546         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31547         hidden __tls_get_addr.
31548         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31549         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31550         Likewise.
31552 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31554         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31555         _dl_init call.
31557 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31559         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31560         from "call _dl_init@PLT".
31561         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31563 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
31565         * manual/search.texi: (Array Sort Function): Clarify stable sorting
31566         guarantees.
31568 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
31570         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31572 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31574         [BZ #17744]
31575         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31576         strnlen.
31578 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31580         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31581         of multu on MIPSr6.
31582         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31583         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31584         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31585         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31586         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31588 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31590         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31591         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31592         (PTR_SUBU): Use subu for mips32r6/mips64r6.
31593         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31594         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31595         mips32r6/mips64r6.
31596         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31598 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
31600         * string/strncat.c (STRNCAT): Simplify implementation.
31602 2014-12-19  David S. Miller  <davem@davemloft.net>
31604         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31605         access the quad as both a long double and as a series of 4 words.
31607         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31608         link_map->l_info array access.
31610 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31612         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31614         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31615         * math/atest-exp2.c (TIMEOUT): Likewise.
31616         * math/atest-sincos.c (TIMEOUT): Likewise.
31618 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31620         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31621         -Wno-error with -fno-builtin-lround.
31623 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31625         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31626         Contains futex constants and functions moved over from ...
31627         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
31628         <lowlevellock-futex.h>.
31629         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31630         (lll_timedwait_tid): Add comments and parentheses around macro
31631         arguments.
31633 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31635         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31636         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
31637         (__lll_private_flag): Remove.
31638         (lll_futex_wait): Likewise.
31639         (lll_futex_timed_wait): Likewise.
31640         (lll_futex_wake): Likewise.
31641         (lll_futex_requeue): Likewise.
31642         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31643         (__lll_timedwait_tid): Spell out argument names.
31644         (lll_timedwait_tid): Add comments and parentheses around macro
31645         arguments.
31646         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31647         LLL_SHARED and LLL_PRIVATE usable from assembly code.
31649 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31651         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31652         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31653         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31654         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31655         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31656         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31657         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31658         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31659         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31660         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31661         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31662         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31663         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31664         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31665         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31666         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31667         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31668         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31669         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31671 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31673         * sysdeps/x86_64/x32/Makefile: New file.
31675 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31677         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31678         1L with (mp_limb_t) 1.
31680 2014-12-17  Roland McGrath  <roland@hack.frob.com>
31682         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31683         * nptl/libc_pthread_init.c: ... here.
31684         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31685         * nptl/register-atfork.c: ... here.
31687         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31688         Use pthread_sigmask rather than INTERNAL_SYSCALL.
31689         Use assert_perror to check its return value.
31690         (__gai_create_helper_thread): Likewise.
31692         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31694         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31696 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
31698         [BZ #17725]
31699         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31700         __profil_counter.
31701         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31702         Likewise.
31703         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31704         Likewise.
31705         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31706         Likewise.
31707         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31708         (profil_counter): Likewise.
31709         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31710         (profil_counter): Likewise.
31711         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31712         Likewise.
31713         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31714         Likewise.
31715         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31716         (profil_counter): Likewise.
31717         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31718         Likewise.
31719         [!__profil_counter] (profil_counter): Define as weak alias of
31720         __profil_counter.
31721         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31722         (profil_counter): Rename to __profil_counter.
31723         [!__profil_counter] (profil_counter): Define as weak alias of
31724         __profil_counter.
31725         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31726         (profil_counter): Rename to __profil_counter.
31727         [!__profil_counter] (profil_counter): Define as weak alias of
31728         __profil_counter.
31729         * sysdeps/posix/profil.c: Update comment referring to
31730         profil_counter.
31731         (__profil): Use __profil_counter instead of profil_counter.
31732         * sysdeps/posix/sprofil.c (profil_counter): Rename to
31733         __profil_counter.  Use __profil_counter_ushort and
31734         __profil_counter_uint in definitions.
31735         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31736         instead of profil_counter_uint and profil_counter_ushort.
31738         [BZ #17722]
31739         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31740         define as weak alias of __inet_makeaddr.
31741         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31742         as weak alias of __inet_addr.
31743         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31744         as weak alias of __inet_pton.  Use libc_hidden_weak.
31745         * include/arpa/inet.h (__inet_pton): Declare.  Use
31746         libc_hidden_proto.
31747         (inet_makeaddr): Don't use libc_hidden_proto.
31748         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
31749         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31750         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
31751         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31752         Remove variable.
31753         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31754         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31756 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
31758         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31760 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31762         * stdio-common/bug-vfprintf-nargs.c (do_test):
31763         Cast value to intptr_t to avoid format warning
31764         for usage with PRIdPTR printing macro.
31766 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31768         * libio/tst-widetext.c (do_test):
31769         Use format type %td instead of %Zd for ptrdiff_t
31770         in order to avoid format warning.
31772 2014-12-17  Andreas Schwab  <schwab@suse.de>
31774         * nscd/mem.c (gc): Add size_t cast to match printf format.
31776 2014-12-16  Roland McGrath  <roland@hack.frob.com>
31778         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31779         (init): Apply PTR_MANGLE to pointers before storing them.
31780         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31781         before using them.
31783 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
31785         [BZ #17719]
31786         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31787         define as weak alias of __memrchr.
31788         (__memrchr): Do not define as strong alias of memrchr.
31789         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31790         Remove variable.
31791         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31792         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31793         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31795         [BZ #17717]
31796         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31797         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
31798         (if_indextoname): Rename to __if_indextoname and define as weak
31799         alias of __if_indextoname.  Use libc_hidden_weak.
31800         (if_freenameindex): Rename to __if_freenameindex and define as
31801         weak alias of __if_freenameindex.
31802         (if_nameindex): Rename to __if_nameindex and define as weak alias
31803         of __if_nameindex.
31804         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31805         __if_nametoindex and define as weak alias of __if_nametoindex.
31806         Use libc_hidden_weak.
31807         (if_freenameindex): Rename to __if_freenameindex and define as
31808         weak alias of __if_freenameindex.
31809         (if_nameindex): Rename to __if_nameindex and define as weak alias
31810         of __if_nameindex.
31811         (if_indextoname): Rename to __if_indextoname and define as weak
31812         alias of __if_indextoname.  Use libc_hidden_weak.
31813         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31814         __if_nametoindex and define as weak alias of __if_nametoindex.
31815         Use libc_hidden_weak.
31816         (if_freenameindex): Rename to __if_freenameindex and define as
31817         weak alias of __if_freenameindex.  Use libc_hidden_weak.
31818         (if_nameindex_netlink): Use __if_freenameindex instead of
31819         if_freenameindex.
31820         (if_nameindex): Rename to __if_nameindex and define as weak alias
31821         of __if_nameindex.  Use libc_hidden_weak.
31822         (if_indextoname): Rename to __if_indextoname and define as weak
31823         alias of __if_indextoname.  Use libc_hidden_weak.
31824         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31825         libc_hidden_proto.
31826         [!_ISOMAC] (__if_freenameindex): Likewise.
31827         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31828         if_nametoindex.
31829         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31830         variable.
31831         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31832         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31833         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31834         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31835         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31836         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31837         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31839         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31840         Remove variable.
31841         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31842         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31844 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31846         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31847         subscript above bounds'
31849         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31850         bounds.
31852 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
31854         * libio/tst-fopenloc.c: Use test-skeleton.c.
31856         * stdlib/tst-bsearch.c: Use test-skeleton.c.
31857         (entry): Rename to ITEM.
31858         (do_test, comp): Adjust.
31860         * stdio-common/tst-fseek.c: Use test-skeleton.c.
31862 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31864         * string/tester.c: Include <libc-internal.h>.
31865         (test_memset): Ignore -Wmemset-transposed-args.
31867 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31869         * misc/tst-mntent2.c (do_test): Fix warning.
31871 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31873         * elf/tst-unique4lib.cc(a): Mark as used.
31875 2014-12-16  Florian Weimer  <fweimer@redhat.com>
31877         [BZ #17630]
31878         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31879         names.
31881 2014-12-16  Allan McRae  <allan@archlinux.org>
31883         * stdio-common/Makefile (tests): Re-add bug26.
31885 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
31887         [BZ #17657]
31888         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31889         static array.
31891 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
31893         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31894         (__lll_lock_wait): Likewise.
31895         (__lll_timedlock_wait): Likewise.
31896         (__lll_timedwait_tid): Likewise.
31897         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31898         (__lll_robust_timedlock_wait): Likewise.
31899         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31900         (lll_cond_trylock): Likewise.
31901         (__lll_lock): Likewise.
31902         (__lll_robust_lock): Likewise.
31903         (__lll_cond_lock): Likewise.
31904         (lll_robust_cond_lock): Likewise.
31905         (__lll_timedlock): Likewise.
31906         (__lll_robust_timedlock): Likewise.
31907         (__lll_unlock): Likewise.
31908         (__lll_robust_unlock): Likewise.
31909         (lll_wait_tid): Likewise.
31910         (lll_timedwait_tid): Likewise.
31912 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31914         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31916 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31918         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31920 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31922         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31923         * stdio-common/tst-sprintf.c: Likewise.
31925 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31927         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31929 2014-12-15  Jeff Law  <law@redhat.com>
31931         [BZ #16617]
31932         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31933         on the heap.  (CVE-2012-3406)
31934         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31935         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
31936         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31938 2014-12-15  Will Newton  <will.newton@linaro.org>
31940         * manual/install.texi: Bump required version of texinfo
31941         to 4.7 from 4.5.
31942         * INSTALL: Regenerated.
31943         * configure.ac: Check for makeinfo version 4.7 and above.
31944         * configure: Regenerated.
31946 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31948         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31949         PREFIX, string constant to insert between directory and name.
31950         * sysdeps/posix/shm_open.c: Update caller.
31951         * sysdeps/posix/shm_unlink.c: Likewise.
31952         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31953         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31954         (SEM_SHM_PREFIX): New macro.
31955         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31956         [$(have-thread-library) = no].
31957         * nptl/Makefile (libpthread-routines): Add shm-directory.
31958         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31959         * sysdeps/nptl/shm-directory.h: New file.
31960         * sysdeps/posix/shm-directory.c
31961         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31962         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31963         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31964         INTERNAL_SYSCALL.
31965         (__where_is_shmfs): Function removed.
31966         (mountpoint, defaultmount, defaultdir, __namedsem_once):
31967         Variables removed.
31968         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31969         Use SHM_GET_NAME.
31970         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
31972         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31973         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31974         unconditional for use inside libpthread.
31975         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31977 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31979         * nptl/pthread_getaffinity.c: New file.
31980         * nptl/pthread_setaffinity.c: New file.
31981         * nptl/pthread_getname.c: New file.
31982         * nptl/pthread_setname.c: New file.
31984         * nptl/pthread_create.c (START_THREAD_DEFN)
31985         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31987 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31988             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31990         * resolv/res_send.c (send_vc): Disable warning resplen may
31991         be used uninitialized.
31993 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31995         * nptl/tst-mutex6.c
31996         (ATTR_NULL): New define checks ATTR against NULL.
31997         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31998         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
32000 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
32002         [BZ #17581]
32003         * malloc/hooks.c
32004         (mem2mem_check): Revert my previous change.
32005         (malloc_check_get_size): Revert my previous change.
32006         (mem2chunk_check): Revert my previous change.
32008 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32010         * sysdeps/posix/shm-directory.c: New file.
32011         * sysdeps/posix/shm-directory.h: New file.
32012         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
32013         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
32014         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
32015         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
32016         Transmute EPERM to EACCES.
32017         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
32018         from ...
32019         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
32020         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
32022 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32024         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
32025         pointer and cast to uintptr_t.
32026         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
32027         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
32028         Add cast to avoid warning.
32029         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
32031 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
32033         * nptl/semaphore.h: Move to ...
32034         * sysdeps/pthread/semaphore.h: ... here.
32035         * Makefile (installed-headers): Change nptl/semaphore.h to
32036         sysdeps/pthread/semaphore.h.
32038 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32040         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
32041         generated error format strings.
32043         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
32044         -Wformat-extra-args warnings for scanf formats.
32045         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
32046         test of zero-length format (duh).
32047         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
32048         corner-case scanf format test.
32049         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
32050         generated fprintf format string.
32051         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
32052         corner-case sprintf format tests.
32053         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
32054         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
32055         -Wformat-extra-args warnings throughout.
32056         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
32057         (CFLAGS-scanf4.c): Likewise.
32058         (CFLAGS-scanf7.c): Likewise.
32059         (CFLAGS-tst-sprintf.c): Likewise.
32060         (CFLAGS-tst-printf.c): Likewise.
32061         (CFLAGS-tst-printfsz.c): Likewise.
32063 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
32065         * include/cpio.h: New file.
32066         * include/fmtmsg.h: Likewise.
32068         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
32069         corresponding format argument to size_t.
32070         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
32071         arguments.
32072         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
32073         corresponding format argument to size_t.
32074         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
32075         arguments.
32076         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
32077         corresponding format argument to size_t.
32078         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
32079         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
32080         (CFLAGS-tst-mbswcs2.c): Likewise.
32081         (CFLAGS-tst-mbswcs3.c): Likewise.
32082         (CFLAGS-tst-mbswcs4.c): Likewise.
32083         (CFLAGS-tst-mbswcs5.c): Likewise.
32084         (CFLAGS-tst-trans.c): Likewise.
32086 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32088         * posix/regexbug1.c (main): Use "%s" format with regerror results,
32089         rather than assuming they won't contain any '%'s.
32091 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
32093         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32094         inhibit_loop_to_libcall to avoid recursive calls.
32095         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
32096         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
32098 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
32100         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
32101         prototype.
32103 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
32105         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
32106         integer value instead of boolean.
32108 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
32110         * malloc/malloc.c: Fix powerof2 check.
32112 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32114         * locale/programs/locfile.h (maybe_swap_uint32):
32115         Remove inline and add unused attribute.
32117 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32119         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32120         Truncating assembler expression to a .long expression.
32122 2014-12-11  Andreas Schwab  <schwab@suse.de>
32124         * elf/rtld.c (struct map_args): Constify str member.
32125         (do_preload): Constify fname argument.
32127 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32129         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
32130         constants definition.
32132 2014-12-11  Andreas Schwab  <schwab@suse.de>
32134         [BZ #16657]
32135         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
32136         FORCE_ELISION instead of DO_ELISION.
32137         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
32138         Remove.
32139         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
32140         Likewise.
32142         * iconvdata/gconv-modules: Remove duplicate entry.
32144 2014-12-11  Will Newton  <will.newton@linaro.org>
32146         Merge gettext 0.19.3 into intl/.
32148         This involves a number of cosmetic changes to comments
32149         and ANSI function definitions and prototypes throughout
32150         all the files. The gettext copyright header is used but
32151         with the date ranges taken from the glibc copy.
32153         * NEWS: Add gettext merge to 2.21.
32154         * intl/bindtextdom.c: Switch to gettext copyright.
32155         Use ANSI definitions and prototypes.
32156         Use gl_* locking primitives rather than __libc_* ones.
32157         Use __builtin_expect rather than __glibc_likely/unlikely.
32158         * intl/dcgettext.c: Switch to gettext copyright.
32159         Use ANSI definitions and prototypes.
32160         * intl/dcigettext.c: Switch to gettext copyright.
32161         Use ANSI definitions and prototypes.
32162         (INTDIV0_RAISES_SIGFPE): New define.
32163         Use gl_* locking primitives rather than __libc_* ones.
32164         Include eval-plural.h instead of plural-eval.c.
32165         Use __builtin_expect rather than __glibc_likely/unlikely.
32166         * intl/dcngettext.c: Switch to gettext copyright.
32167         Use ANSI definitions and prototypes.
32168         * intl/dgettext.c: Likewise.
32169         * intl/dngettext.c: Likewise.
32170         * intl/plural-eval.c: Renamed to...
32171         * intl/eval-plural.h: ...this.
32172         * intl/explodename.c: Switch to gettext copyright.
32173         Use ANSI definitions and prototypes.
32174         (_nl_explode_name): Use strchr instead of __rawmemchr.
32175         * intl/finddomain.c: Switch to gettext copyright.
32176         Use ANSI definitions and prototypes.
32177         Use gl_* locking primitives rather than __libc_* ones.
32178         (_nl_find_domain): Use malloc rather than alloca for
32179         allocation of temporary locale name.
32180         * intl/gettext.c: Switch to gettext copyright.
32181         Use ANSI definitions and prototypes.
32182         * intl/gettextP.h: Switch to gettext copyright.
32183         Use ANSI definitions and prototypes.
32184         Use gl_* locking primitives rather than __libc_* ones.
32185         * intl/gmo.h: Switch to gettext copyright.
32186         (struct sysdep_string): Move struct segment_pair outside of
32187         struct definition.
32188         * intl/hash-string.c: Use ANSI definitions and prototypes.
32189         * intl/hash-string.h: Switch to gettext copyright.
32190         Use ANSI definitions and prototypes.
32191         * intl/l10nflist.c: Switch to gettext copyright.
32192         Use ANSI definitions and prototypes.
32193         (_nl_normalize_codeset): Avoid integer overflow.
32194         * intl/loadinfo.h: Switch to gettext copyright.
32195         Use ANSI definitions and prototypes.
32196         (LIBINTL_DLL_EXPORTED): New define.
32197         (PATH_SEPARATOR): New define.
32198         * intl/loadmsgcat.c: Switch to gettext copyright.
32199         * intl/localealias.c: Switch to gettext copyright.
32200         Use ANSI definitions and prototypes.
32201         (_nl_expand_alias): Use PATH_SEPARATOR.
32202         * intl/ngettext.c: Switch to gettext copyright.
32203         Use ANSI definitions and prototypes.
32204         * intl/plural-exp.c: Likewise.
32205         * intl/plural-exp.h: Switch to gettext copyright.
32206         Use ANSI definitions and prototypes.
32207         (struct expression): Move definition of enum operator outside
32208         of struct definition.
32209         * intl/plural.c: Regenerate.
32210         * intl/plural.y: Switch to gettext copyright.
32211         Use ANSI definitions and prototypes.
32212         Port to bison 3.0.
32213         * intl/textdomain.c: Switch to gettext copyright.
32214         Use ANSI definitions and prototypes.
32215         Use gl_* locking primitives rather than __libc_* ones.
32217 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
32219         * debug/warning-nop.c: Add used atrribute.
32221 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32223         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32225         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32226         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32227         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32229 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32230             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32232         [BZ #17634]
32233         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32234         Undefine after defining function.  Define as weak alias of
32235         __wcschr.  Use libc_hidden_weak.
32236         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
32237         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32238         (libc_hidden_def): Also define __GI___wcschr alias.
32239         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32240         __wcschr and define as weak alias of __wcschr.
32241         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32242         __wcschr.
32243         [!WCSCHR] (DEFAULT_WCSCHR): Define.
32244         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32245         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
32246         libc_hidden_weak.  Do not use libc_hidden_def.
32247         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32248         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32249         __GI___wcschr alias.
32250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32251         [IS_IN (libc)] (wcschr): Define as macro expanding to
32252         __redirect_wcschr.
32253         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32254         [IS_IN (libc)] (__wcschr_power6): Likewise.
32255         [IS_IN (libc)] (__wcschr_power7): Likewise.
32256         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
32257         instead of wcschr.
32258         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32259         __libc_wcschr.
32260         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32261         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32262         __wcschr and define as weak alias of __wcschr.  Use
32263         libc_hidden_builtin_def.
32264         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32265         as weak alias of __wcschr.  Use libc_hidden_weak.
32266         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32267         wcschr.
32268         * time/era.c (_nl_init_era_entries): Likewise.
32269         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32270         variable.
32271         (test-xfail-XPG3/time.h/linknamespace): Likewise.
32272         (test-xfail-XPG4/time.h/linknamespace): Likewise.
32274 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32276         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32277         format for long int variable.
32279 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
32281         [BZ #10672]
32282         * manual/search.texi: (Array Sort Function): Remove claim how to make
32283         qsort stable.
32285 2014-12-10  Andreas Schwab  <schwab@suse.de>
32287         [BZ #12847]
32288         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32289         user-controlled locks.
32291 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
32293         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32294         register.
32296 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32298         * configure.ac (--disable-werror): New configure option.
32299         (enable_werror): New AC_SUBST.
32300         * configure: Regenerated.
32301         * config.make.in (enable-werror): New variable.
32302         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32303         -Wno-error=undef.
32304         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32305         * manual/install.texi (Configuring and compiling): Document
32306         --disable-werror.
32307         * INSTALL: Regenerated.
32308         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32309         (CFLAGS-tst-chk2.c): Likewise.
32310         (CFLAGS-tst-chk3.c): Likewise.
32311         (CFLAGS-tst-chk4.cc): Likewise.
32312         (CFLAGS-tst-chk5.cc): Likewise.
32313         (CFLAGS-tst-chk6.cc): Likewise.
32314         (CFLAGS-tst-lfschk1.c): Likewise.
32315         (CFLAGS-tst-lfschk2.c): Likewise.
32316         (CFLAGS-tst-lfschk3.c): Likewise.
32317         (CFLAGS-tst-lfschk4.cc): Likewise.
32318         (CFLAGS-tst-lfschk5.cc): Likewise.
32319         (CFLAGS-tst-lfschk6.cc): Likewise.
32321         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32322         (main): Disable -Wdeprecated-declarations around calls to
32323         register_printf_function.
32325         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32326         (do_test): Disable -Wdiv-by-zero around some calls to
32327         fwrite_unlocked and fread_unlocked.
32329         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32330         (DIAG_POP_NEEDS_COMMENT): Likewise.
32331         (_DIAG_STR1): Likewise.
32332         (_DIAG_STR): Likewise.
32333         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32334         * stdio-common/bug21.c: Include <libc-internal.h>.
32335         (do_test): Disable -Wformat around call to sscanf.
32336         * stdio-common/scanf14.c: Include <libc-internal.h>.
32337         (main): Disable -Wformat around some calls to scanf functions.
32339 2014-12-09  Torvald Riegel  <triegel@redhat.com>
32341         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32343 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32345         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32346         stack variable alignment.
32348 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
32350         [BZ #17682]
32351         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32352         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32353         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32354         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32355         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32356         __getrlimit instead of getrlimit.
32357         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32358         __gettimeofday instead of gettimeofday.
32359         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32360         Likewise.
32361         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32362         Likewise.
32363         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32364         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32365         Remove variable.
32366         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32367         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32369 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32371         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32372         for wide-character tests.
32374 2014-12-04  Roland McGrath  <roland@hack.frob.com>
32376         * io/openat64.c: #include <libc-internal.h>
32377         (__openat64): Prototypify.  Use ignore_value on MODE.
32378         * io/openat.c: Likewise.
32379         * misc/reboot.c: #include <libc-internal.h>
32380         (reboot): Prototypify.  Use ignore_value on HOWTO.
32381         * misc/ptrace.c: #include <libc-internal.h>
32382         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
32384 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
32386         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32387         XPG4, UNIX98 and XOPEN2K.
32388         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32389         Remove variable.
32390         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32392 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32394         * libio/fileops.c: Use ISO C style for function definitions.
32395         * libio/iofopen.c: Likewise.
32396         * libio/wfileops.c: Likewise.
32398         [BZ #17653]
32399         * libio/fileops.c (_IO_new_file_underflow): Unset cached
32400         offset on EOF.
32401         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32402         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32403         (fgets_func): Function pointer to fgets and fgetws.
32404         (do_ftell_test): Add test to verify ftell value after read
32405         EOF.
32406         (do_test): Set fgets_func.
32408         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32409         O_TRUNC flag for w and w+ modes.
32410         (do_rewind_test): Likewise.
32411         (do_ftell_test): Likewise.
32412         (do_write_test): Likewise.
32414         [BZ #17647]
32415         * libio/fileops.c (do_ftell): Seek only when there are
32416         unflushed writes.
32417         * libio/wfileops.c (do_ftell_wide): Likewise.
32418         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32419         test case.
32420         (do_one_test): Call it.
32422 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
32424         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32425         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32426         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32427         Remove variable.
32428         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32429         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32430         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32432 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32434         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32435         Remove variable.
32436         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32438         [BZ #17668]
32439         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32440         as weak alias of __getifaddrs.  Use libc_hidden_weak.
32441         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32442         __freeifaddrs.  Use libc_hidden_weak.
32443         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32444         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
32445         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32446         __freeifaddrs.  Use libc_hidden_weak.
32447         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32448         __getifaddrs and define as weak alias of __getifaddrs.  Use
32449         libc_hidden_weak.
32450         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32451         __freeifaddrs.  Use libc_hidden_weak.
32452         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32453         Remove variable.
32454         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32455         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32457 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32459         [BZ #17601]
32460         * sysdeps/mips/start.S (__start): Use indirect jump to call
32461         __libc_start_main.
32463 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32465         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32467         * nptl/tst-mutex1.c: Include <stdbool.h>.
32468         [!ATTR] (ATTR_NULL): New macro.
32469         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32470         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32471         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32473         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32474         to char *.
32476         [BZ #17665]
32477         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32478         Change conditional to [__USE_MISC].
32480         [BZ #17664]
32481         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32482         fgets_unlocked.
32483         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32484         __fgets_unlocked.
32485         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32486         fgets_unlocked.
32487         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32488         Remove variable.
32489         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32490         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32491         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32492         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32493         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32494         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32495         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32496         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32497         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32499         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32501 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32503         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32504         Remove strpbrk objects.
32505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32506         (__libc_ifunc_impl_list): Remove strpbrk implementation.
32507         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32508         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32509         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32510         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32512         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32513         Remove strcspn objects.
32514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32515         (__libc_ifunc_impl_list): Remove strcspn implementation.
32516         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32517         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32518         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32519         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32521         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32522         Remove strspn objetcs.
32523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32524         (__libc_ifunc_impl_list): Remove strspn implementation.
32525         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32526         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32527         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32528         * sysdeps/powerpc/powerpc64/strspn.S: New file.
32530 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
32532         [BZ #17581]
32533         * malloc/hooks.c
32534         (mem2mem_check): Add a terminator to the chain of checking blocks.
32535         (malloc_check_get_size): Use it here.
32536         (mem2chunk_check): Ditto.
32538 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32540         * sysdeps/powerpc/powerpc64/strtok.S: New file.
32541         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32543 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
32545         * bits/ioctl-types.h: Indent preprocessor directives correctly.
32547         * nptl/nptl-init.c: Include libc-internal.h.
32548         (__pthread_initialize_minimal_internal): Use ROUND_UP.
32550         * elf/ldconfig.c (search_dir): Expand comment.
32552 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
32554         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32555         variable.
32556         (linknamespace-symlist-stdlibs-tests): Likewise.
32557         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32558         instead of $(objpfx)symlist-stdlibs.
32559         (linknamespace-libs-isoc): New variable.
32560         (linknamespace-libs): Use $(linknamespace-libs-isoc).
32561         (linknamespace-libs-ISO): New variable.
32562         (linknamespace-libs-ISO99): Likewise.
32563         (linknamespace-libs-ISO11): Likewise.
32564         (linknamespace-libs-XPG3): Likewise.
32565         (linknamespace-libs-XPG4): Likewise.
32566         (linknamespace-libs-POSIX): Likewise.
32567         (linknamespace-libs-UNIX98): Likewise.
32568         (linknamespace-libs-XOPEN2K): Likewise.
32569         (linknamespace-libs-POSIX2008): Likewise.
32570         (linknamespace-libs-XOPEN2K8): Likewise.
32571         ($(objpfx)symlist-stdlibs): Replace by
32572         $(linknamespace-symlist-stdlibs-tests).  Use
32573         $(linknamespace-libs-$*) as set of libraries.
32574         ($(linknamespace-header-tests)): Update dependencies.  Use
32575         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32576         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32577         * conform/linknamespace.pl: Remove comment about considering
32578         definitions of symbols from irrelevant libraries.
32580 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
32582         [BZ #13862]
32583         * elf/dl-tls.c: Include <atomic.h>.
32584         (oom): Remove #ifdef SHARED/#endif.
32585         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32586         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
32587         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32588         big enough.
32589         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32590         * nptl/Makefile (tests): Add tst-stack4.
32591         (modules-names): Add tst-stack4mod.
32592         ($(objpfx)tst-stack4): New.
32593         (tst-stack4mod.sos): Likewise.
32594         ($(objpfx)tst-stack4.out): Likewise.
32595         ($(tst-stack4mod.sos)): Likewise.
32596         (clean): Likewise.
32597         * nptl/tst-stack4.c: New file.
32598         * nptl/tst-stack4mod.c: Likewise.
32600 2014-11-27  J. Brown  <jb999@gmx.de>
32602         * sysdeps/x86/bits/string.h: Add recent CPUs.
32604 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32606         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32607         sigblock.
32609         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32610         feof.
32612         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32613         variable.
32615 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
32617         * nscd/connections.c: Include libc-internal.h because of macro
32618         usage ignore_value.
32620 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32622         * string/bits/string3.h (__warn_memset_zero_len): Don't
32623         declare for gcc newer than 5.0.
32624         (memset): Don't test for zero-length __LEN for gcc newer than
32625         5.0.
32627 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32629         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32630         size_t for %zu format.
32632         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32633         difference, not %ju.
32635 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32637         * include/libc-internal.h (ignore_value): New macro.
32638         * nscd/connections.c (restart): Wrap calls to setuid and setgid
32639         with ignore_value.
32641         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32642         definition.
32644         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32645         pthread_cleanup_push to void *.
32647         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32648         Undefine.
32650         [BZ #16619]
32651         [BZ #16740]
32652         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32653         instead of 1L << 52.
32655         * libio/bug-rewind.c (do_test): Check fwscanf return values.
32656         * libio/bug-rewind2.c (do_test): Likewise.
32658         * debug/test-stpcpy_chk-ifunc.c: Remove file.
32659         * debug/test-strcpy_chk-ifunc.c: Likewise.
32660         * wcsmbs/test-wcschr-ifunc.c: Likewise.
32661         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32662         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32663         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32664         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32665         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32666         * Rules [$(multi-arch) = no] (tests): Do not filter out
32667         $(tests-ifunc).
32668         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32669         * debug/Makefile (tests-ifunc): Remove variable.
32670         (tests): Do not add $(tests-ifunc).
32671         * wcsmbs/Makefile (tests-ifunc): Remove variable.
32672         (tests): Do not add $(tests-ifunc).
32673         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32674         [TEST_IFUNC]: Remove conditionals.
32675         * string/test-string.h (TEST_IFUNC): Remove macro.
32676         [TEST_IFUNC]: Remove conditionals.
32678         * string/test-strchr.c [!WIDE] (L): New macro.
32679         [WIDE] (L): Likewise.
32680         (check1): Use CHAR instead of char.  Use L on string and character
32681         constants.
32683 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
32685         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32686         tests.
32687         * sysdeps/powerpc/bits/atomic.h
32688         (__arch_atomic_exchange_and_add_32_acq): Add definition.
32689         (__arch_atomic_exchange_and_add_32_rel): Likewise.
32690         (atomic_exchange_and_add_acq): Likewise.
32691         (atomic_exchange_and_add_rel): Likewise.
32692         * sysdeps/powerpc/powerpc32/bits/atomic.h
32693         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32694         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32695         * sysdeps/powerpc/powerpc64/bits/atomic.h
32696         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32697         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32699 2014-11-26  Torvald Riegel  <triegel@redhat.com>
32701         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32702         Change synchronization of __sched_fifo_min_prio and
32703         __sched_fifo_max_prio.
32704         * nptl/pthread_mutexattr_getprioceiling.c
32705         (pthread_mutexattr_getprioceiling): Likewise.
32706         * nptl/pthread_mutexattr_setprioceiling.c
32707         (pthread_mutexattr_setprioceiling): Likewise.
32708         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32709         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32710         Likewise.
32712 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32714         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32715         void.
32717 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32719         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32720         third argument const.
32722 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
32724         fnmatch: work around GCC compiler warning bug with uninit var
32725         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32726         This works around a bug with x86-64 GCC 4.9.2 and earlier
32727         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32728         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32729         used uninitialized in this function [-Wmaybe-uninitialized]".
32731 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32733         * posix/bug-regex31.c (main): Return RES not 0.
32735 2014-11-25  Anton Blanchard <anton@samba.org>
32737         * sysdeps/powerpc/bits/atomic.h
32738         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32740 2014-11-24  Sterling Augustine  <saugustine@google.com>
32742         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32744 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
32746         [BZ #17608]
32747         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32749 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
32751         [BZ #17633]
32752         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32753         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32754         variable.
32755         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32756         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32758 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32760         * string/strncpy.c (strncpy): Improve performance by using memset.
32762 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32764         * string/strcpy.c (strcpy):
32765         Improve performance by using strlen and memcpy.
32767 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
32769         * string/strcoll_l.c (get_next_seq): __always_inline.
32770         * string/strcoll_l.c (do_compare): __always_inline.
32772 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32774         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32775         defined.
32776         * include/mqueue.h: Likewise.
32777         * include/stdlib.h: Likewise.
32779         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32780         (get_null_defines): Adjust.
32781         * sunrpc/Makefile: Adjust comment.
32782         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32783         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32784         (CFLAGS-interp.c): Likewise.
32785         (CFLAGS-ldconfig.c): Likewise.
32786         (CPPFLAGS-.os): Likewise.
32787         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32788         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32789         * extra-modules.mk (extra-modules.mk): Likewise.
32790         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32791         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32792         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32793         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32794         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32795         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32796         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32797         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32798         * iconvdata/Makefile (CPPFLAGS): Likewise.
32799         (cpp-srcs-left): Add libof for all iconvdata routines.
32800         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32801         * include/assert.h: Likewise.
32802         * include/ctype.h: Likewise.
32803         * include/errno.h: Likewise.
32804         * include/libc-symbols.h: Likewise.
32805         * include/math.h: Likewise.
32806         * include/netdb.h: Likewise.
32807         * include/resolv.h: Likewise.
32808         * include/stdio.h: Likewise.
32809         * include/stdlib.h: Likewise.
32810         * include/string.h: Likewise.
32811         * include/sys/stat.h: Likewise.
32812         * include/wctype.h: Likewise.
32813         * intl/l10nflist.c: Likewise.
32814         * libidn/idn-stub.c: Likewise.
32815         * libio/libioP.h: Likewise.
32816         * nptl/libc_multiple_threads.c: Likewise.
32817         * nptl/pthreadP.h: Likewise.
32818         * posix/regex_internal.h: Likewise.
32819         * resolv/res_hconf.c: Likewise.
32820         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32821         * sysdeps/arm/memmove.S: Likewise.
32822         * sysdeps/arm/sysdep.h: Likewise.
32823         * sysdeps/generic/_itoa.h: Likewise.
32824         * sysdeps/generic/symbol-hacks.h: Likewise.
32825         * sysdeps/gnu/errlist.awk: Likewise.
32826         * sysdeps/gnu/errlist.c: Likewise.
32827         * sysdeps/i386/i586/memcpy.S: Likewise.
32828         * sysdeps/i386/i586/memset.S: Likewise.
32829         * sysdeps/i386/i686/memcpy.S: Likewise.
32830         * sysdeps/i386/i686/memmove.S: Likewise.
32831         * sysdeps/i386/i686/mempcpy.S: Likewise.
32832         * sysdeps/i386/i686/memset.S: Likewise.
32833         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32834         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32835         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32836         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32837         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32838         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32839         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32840         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32841         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32842         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32843         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32844         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32845         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32846         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32847         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32848         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32849         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32850         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32851         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32852         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32853         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32854         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32855         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32856         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32857         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32858         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32859         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32860         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32861         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32862         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32863         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32864         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32865         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32866         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32867         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32868         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32869         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32870         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32871         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32872         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32873         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32874         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32875         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32876         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32877         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32878         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32879         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32880         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32881         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32882         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32883         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32884         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32885         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32886         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32887         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32888         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32889         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32890         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32891         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32892         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32893         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32894         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32895         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32896         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32897         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32898         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32899         * sysdeps/posix/closedir.c: Likewise.
32900         * sysdeps/posix/opendir.c: Likewise.
32901         * sysdeps/posix/readdir.c: Likewise.
32902         * sysdeps/posix/rewinddir.c: Likewise.
32903         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32904         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32905         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32906         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32907         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32908         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32909         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32910         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32911         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32914         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32915         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32916         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32917         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32918         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32919         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32920         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32921         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32922         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32923         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32924         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32925         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32926         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32927         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32929         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32931         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32933         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32937         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32938         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32939         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32940         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32941         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32942         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32943         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32944         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32945         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32946         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32947         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32948         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32949         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32950         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32951         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32952         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32953         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32954         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32955         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32956         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32957         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32958         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32959         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32960         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32961         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32962         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32963         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32964         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32965         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32966         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32967         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32968         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32969         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32970         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32971         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32972         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32973         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32974         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32975         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32976         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32977         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32978         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32979         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32980         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32981         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32982         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32983         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32984         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32985         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32986         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32987         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32988         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32989         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32990         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32991         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32992         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32993         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32994         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32995         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32996         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32997         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32998         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32999         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33001         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
33002         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
33003         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33004         * sysdeps/unix/alpha/sysdep.S: Likewise.
33005         * sysdeps/unix/alpha/sysdep.h: Likewise.
33006         * sysdeps/unix/make-syscalls.sh: Likewise.
33007         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33008         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33009         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33010         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
33011         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33012         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
33013         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
33014         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33015         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33016         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
33017         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33018         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33019         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33020         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33021         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33022         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33023         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33024         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33025         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33026         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33027         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
33028         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33029         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33030         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33031         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33032         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33033         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33036         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
33037         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33038         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33039         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33041         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33045         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33046         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33047         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33048         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33049         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33050         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33051         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33052         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33054         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33055         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33057         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33058         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33059         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33060         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33061         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
33062         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33063         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33065         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
33066         * sysdeps/x86_64/memcpy.S: Likewise.
33067         * sysdeps/x86_64/memmove.c: Likewise.
33068         * sysdeps/x86_64/memset.S: Likewise.
33069         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
33070         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33071         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33072         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
33073         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
33074         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33075         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33076         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33077         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33078         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33079         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33080         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33081         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
33082         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33083         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33084         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
33085         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33086         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33087         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33088         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33089         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
33090         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33091         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33092         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33093         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33094         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33095         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33096         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
33097         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33098         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33099         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
33100         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33101         * sysdeps/x86_64/strcmp.S: Likewise.
33103         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
33105         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
33106         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
33107         * elf/rtld-Rules: Likewise.
33108         * elf/setup-vdso.h: Likewise.
33109         * include/assert.h: Likewise.
33110         * include/bits/stdlib-float.h: Likewise.
33111         * include/errno.h: Likewise.
33112         * include/sys/stat.h: Likewise.
33113         * include/unistd.h: Likewise.
33114         * sysdeps/aarch64/setjmp.S: Likewise.
33115         * sysdeps/alpha/setjmp.S: Likewise.
33116         * sysdeps/arm/__longjmp.S: Likewise.
33117         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
33118         * sysdeps/arm/setjmp.S: Likewise.
33119         * sysdeps/arm/sysdep.h: Likewise.
33120         * sysdeps/generic/_itoa.h: Likewise.
33121         * sysdeps/generic/dl-sysdep.h: Likewise.
33122         * sysdeps/generic/ldsodefs.h: Likewise.
33123         * sysdeps/i386/dl-tls.h: Likewise.
33124         * sysdeps/i386/setjmp.S: Likewise.
33125         * sysdeps/m68k/setjmp.c: Likewise.
33126         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
33127         * sysdeps/mach/hurd/opendir.c: Likewise.
33128         * sysdeps/posix/getcwd.c: Likewise.
33129         * sysdeps/posix/opendir.c: Likewise.
33130         * sysdeps/posix/profil.c: Likewise.
33131         * sysdeps/powerpc/dl-procinfo.h: Likewise.
33132         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33133         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33134         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33135         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33136         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
33137         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33138         * sysdeps/s390/dl-tls.h: Likewise.
33139         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33140         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33141         * sysdeps/sh/sh3/setjmp.S: Likewise.
33142         * sysdeps/sh/sh4/setjmp.S: Likewise.
33143         * sysdeps/unix/alpha/sysdep.h: Likewise.
33144         * sysdeps/unix/arm/sysdep.S: Likewise.
33145         * sysdeps/unix/i386/sysdep.S: Likewise.
33146         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33147         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33148         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33149         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33150         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33151         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33152         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33153         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33154         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33155         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33156         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
33157         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33158         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33161         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33162         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33163         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33164         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33165         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33166         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33168         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33169         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33170         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33171         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33172         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33173         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33174         * sysdeps/x86_64/setjmp.S: Likewise.
33176         * include/math.h: Use IS_IN instead of IS_IN_libm.
33177         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
33178         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33179         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33180         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
33181         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33182         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33183         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33184         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33185         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33186         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33187         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33188         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33189         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33190         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33191         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33192         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33193         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33194         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33195         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33196         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33197         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33198         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33199         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33200         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33201         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33202         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33203         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33204         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33205         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33206         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33207         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33208         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33209         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33211         Likewise.
33212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33213         Likewise.
33214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33215         Likewise.
33216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33217         Likewise.
33218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33219         Likewise.
33220         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33221         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33222         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33223         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33224         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33225         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33231         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33232         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33233         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33234         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33235         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33236         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33237         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33238         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33239         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33240         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33241         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33242         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33243         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33244         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33246         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33248         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33249         * nptl/pthreadP.h: Likewise.
33250         * nptl_db/structs.def: Likewise.
33251         * sysdeps/arm/sysdep.h: Likewise.
33252         * sysdeps/nptl/bits/libc-lock.h: Likewise.
33253         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33254         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33255         * sysdeps/unix/alpha/sysdep.h: Likewise.
33256         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33257         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33258         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33259         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33260         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33261         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33262         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33263         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33264         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33265         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33266         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33267         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33268         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33269         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33272         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33273         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33274         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33275         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33276         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33277         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33278         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33279         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33280         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33281         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33283         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33284         * nptl/pthreadP.h: Likewise.
33285         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33286         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33287         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33288         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33289         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33290         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33291         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33292         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33293         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33294         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33295         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33296         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33298         Likewise.
33299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33300         Likewise.
33301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33302         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33303         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33304         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33305         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33306         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33307         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33308         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33310         * dlfcn/dladdr.c: Use IS_IN.
33311         * dlfcn/dladdr1.c: Likewise.
33312         * dlfcn/dlclose.c: Likewise.
33313         * dlfcn/dlerror.c: Likewise.
33314         * dlfcn/dlinfo.c: Likewise.
33315         * dlfcn/dlmopen.c: Likewise.
33316         * dlfcn/dlopen.c: Likewise.
33317         * dlfcn/dlsym.c: Likewise.
33318         * dlfcn/dlvsym.c: Likewise.
33320         * include/ifaddrs.h: Use IS_IN.
33321         * inet/check_pf.c: Likewise.
33322         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33323         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33325         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33326         IS_IN_ldconfig.
33327         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33328         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33330         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33331         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33332         IS_IN (libc).
33334         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33336         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33337         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33338         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33339         * include/libc-symbols.h (IS_IN_LIB): New macro.
33340         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33341         * include/netdb.h: Likewise.
33342         * include/stap-probe.h: Remove all uses of IN_LIB.
33344         * Makeconfig (module-cppflags-real): Define MODULE_NAME
33345         instead of IN_MODULE.
33346         * include/libc-symbols.h (IN_MODULE): Define using
33347         MODULE_NAME.
33348         (PASTE_NAME, PASTE_NAME1): New macros.
33349         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33350         of IN_LIB.
33351         (STAP_PROBE_ASM): Likewise.
33353 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33355         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33356         __mach_init in dlopened libc.
33358 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
33360         * sysdeps/arm/preconfigure.ac: Delete EABI check.
33361         * sysdeps/arm/preconfigure: Regenerate.
33363 2014-11-21  Roland McGrath  <roland@hack.frob.com>
33365         * nptl/pthread_create.c (__pthread_create_2_1): Set
33366         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33367         when copying values from IATTR into PD.
33369 2014-11-21  Will Newton  <will.newton@linaro.org>
33370             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
33372         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33373         Refactor inline-asm.  Also add comment.
33375         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33376         ElfW macro instead of hardcoded Elf64 types.
33377         (la_aarch64_gnu_pltenter): Likewise.
33378         * sysdeps/aarch64/dl-machine.h
33379         (elf_machine_runtime_setup): Use ElfW(Addr).
33381         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33382         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33383         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33384         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33385         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33386         (R_AARCH64_TLS_DTPMOD64): Rename to ..
33387         (R_AARCH64_TLS_DTPMOD): This.
33388         (R_AARCH64_TLS_DTPREL64): Rename to ...
33389         (R_AARCH64_TLS_DTPREL): This.
33390         (R_AARCH64_TLS_TPREL64): Rename to ...
33391         (R_AARCH64_TLS_TPREL): This.
33392         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33393         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33394         R_AARCH64_TLS_TPREL64.
33395         (elf_machine_rela): Likewise.
33397 2014-11-21  Torvald Riegel  <triegel@redhat.com>
33399         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33400         by setting it to 0.  64b atomics are not supported currently.
33402 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33404         [BZ #16469]
33405         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33406         search domain names.
33408 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33410         [BZ #16469]
33411         * NEWS: Update.
33412         * resolv/res_query.c (__libc_res_nquerydomain): Retain
33413         trailing dot.
33414         * posix/tst-getaddrinfo5.c: New.
33415         * posix/Makefile (tests): Add it.
33417 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33419         [BZ #14498]
33420         * NEWS: Fixed.
33421         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33422         after parsing line but before break_if_match.
33423         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33424         if there is a protocol mismatch.
33426 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33428         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33429         because the potential race is on the user-supplied stream.
33431 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33433         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33434         string literal if not passed a buffer.
33435         * manual/job.texi (ctermid): Update reasoning, note deviation
33436         from posix, suggest mtasurace when not passed a buffer, for
33437         future non-preliminary safety notes.
33439 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33441         * manual/users.texi (cuserid): Fix MT-Safety note for the case
33442         of not passing it a buffer.
33443         Reported by Peng Haitao.
33445 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33447         * manual/Makefile ($(objpfx)stamp-summary): Require
33448         check-safety.sh to pass.
33449         * manual/check-safety.sh: Wish for verification that every
33450         @deftypefn and @deftypefun is followed by a @safety remark.
33452 2014-11-20  Roland McGrath  <roland@hack.frob.com>
33454         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33456         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33457         PTHREAD_CANCEL_ASYNCHRONOUS.
33458         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33459         send SIGCANCEL.
33461         * nptl/default-sched.h: New file.
33462         * sysdeps/unix/sysv/linux/default-sched.h: New file.
33463         * nptl/pthread_create.c: Include it.
33464         (__pthread_create_2_1): Use collect_default_sched instead of making
33465         Linux syscalls here directly.
33467 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33469         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33470         __pthread_once): Use C11 atomics.
33472 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33474         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33476 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33478         * include/atomic.h (__atomic_link_error, __atomic_check_size,
33479         atomic_thread_fence_acquire, atomic_thread_fence_release,
33480         atomic_thread_fence_seq_cst, atomic_load_relaxed,
33481         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33482         atomic_compare_exchange_weak_relaxed,
33483         atomic_compare_exchange_weak_acquire,
33484         atomic_compare_exchange_weak_release,
33485         atomic_exchange_acquire, atomic_exchange_release,
33486         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33487         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33488         atomic_fetch_and_acquire,
33489         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33491 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33493         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33494         USE_ATOMIC_COMPILER_BUILTINS): Define.
33495         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33496         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33497         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33498         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33499         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33500         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33501         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33502         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33503         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33504         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33505         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33506         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33507         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33508         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33509         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33510         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33511         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33512         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33513         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33514         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33515         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33516         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33517         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33518         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33519         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33520         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33521         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33523         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33524         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33525         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33526         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33527         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33528         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33529         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33530         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33531         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33532         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33533         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33534         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33536 2014-11-19  Roland McGrath  <roland@hack.frob.com>
33538         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33539         the sched_priority value here.  It was already checked when the user
33540         called pthread_attr_setschedparam.
33542         * nptl/tst-bad-schedattr.c: New file.
33543         * nptl/Makefile (tests): Add it.
33545 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
33546             Florian Weimer  <fweimer@redhat.com>
33547             Joseph Myers  <joseph@codesourcery.com>
33548             Adam Conrad  <adconrad@0c3.net>
33549             Andreas Schwab  <schwab@suse.de>
33550             Brooks  <bmoses@google.com>
33552         [BZ #17625]
33553         * wordexp-test.c (__dso_handle): Add prototype.
33554         (__register_atfork): Likewise.
33555         (__app_register_atfork): New function.
33556         (registered_forks): New global.
33557         (register_fork): New function.
33558         (test_case): Add 3 new tests for WRDE_CMDSUB.
33559         (main): Call __app_register_atfork.
33560         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33561         fork count is non-zero fail the test.
33562         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33563         is set.
33564         (parse_dollars): Remove check for WRDE_NOCMD.
33565         (parse_dquote): Likewise.
33567 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33569         * Makeconfig (built-modules): List non-library modules to be
33570         built.
33571         (module-cppflags): Include libc-modules.h for
33572         everything except shlib-versions.v.i.
33573         (CPPFLAGS): Use it.
33574         (before-compile): Add libc-modules.h.
33575         ($(common-objpfx)libc-modules.h,
33576         $(common-objpfx)libc-modules.stmp): New targets.
33577         (common-generated): Add libc-modules.h and libc-modules.stmp.
33578         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33579         * include/libc-symbols.h: Don't include libc-modules.h.
33580         * include/libc-modules.h: Remove file.
33581         * scripts/gen-libc-modules.awk: New script to generate
33582         libc-modules.h.
33583         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33584         Depend on libc-modules.stmp.
33586         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33588         * Makeconfig (in-module): Get value of libof set for the
33589         translation unit.
33590         (CPPFLAGS): Use $(in-module).
33591         * Makerules: Don't suffix routine names for nonlib.
33592         * include/libc-modules.h: New file.
33593         * include/libc-symbols.h: Include libc-modules.h
33594         (IS_IN): New macro to replace IS_IN_* macros.
33595         * elf/Makefile: Set libof-* for each routine.
33596         * elf/rtld-Rules: Likewise.
33597         * extra-modules.mk: Likewise.
33598         * iconv/Makefile: Likewise.
33599         * iconvdata/Makefile: Likewise.
33600         * locale/Makefile: Likewise.
33601         * malloc/Makefile: Likewise.
33602         * nss/Makefile: Likewise.
33603         * sysdeps/gnu/Makefile: Likewise.
33604         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33605         * sysdeps/unix/sysv/linux/Makefile: Likewise.
33606         * sysdeps/s390/s390-64/Makefile: Likewise.
33607         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
33608         CPPFLAGS for nscd instead of nonlib.
33610 2014-11-18  Roland McGrath  <roland@hack.frob.com>
33612         * nptl/createthread.c: New file.
33614         * nptl/createthread.c: Moved ...
33615         * sysdeps/unix/sysv/linux/createthread.c: ... here.
33617         * nptl/createthread.c: Add proper top-line comment.
33618         (do_clone): Folded into ...
33619         (create_thread): ... here.  Take new arguments STOPPED_START and
33620         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
33621         increment __nptl_threads, do event-reporting logic, do
33622         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33623         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
33624         resource cleanup if sched_setaffinity or sched_setscheduler fails,
33625         just send SIGCANCEL.
33626         * nptl/pthread_create.c: Forward-declare create_thread before
33627         including createthread.c.
33628         (start_thread): Use new macro START_THREAD_DEFN to replace defining
33629         declaration, and new macro START_THREAD_SELF to replace argument.
33630         Remove return statement.
33631         (report_thread_creation): New function.
33632         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
33633         synchronization logic, and __nptl_nthreads increment here, around
33634         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
33635         PD->parent_cancelhandling here, before create_thread.  When
33636         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33637         __deallocate_stack, and ENOMEM translation here.
33639 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
33641         [BZ #17616]
33642         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33643         (mptwo): Rename to __mptwo.
33644         (__inv): Use __mptwo instead of mptwo.
33645         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33646         (mptwo): Rename to __mptwo.
33647         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33648         of mpone and __mptwo instead of mptwo.
33649         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33650         instead of mpone.
33651         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33652         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33653         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33654         of mpone and __mptwo instead of mptwo.
33655         (__mpranred): Use __mpone instead of mpone.
33656         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33657         variable.
33658         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33659         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33660         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33661         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33662         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33663         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33664         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33665         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33666         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33667         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33668         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33669         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33670         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33671         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33672         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33673         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33674         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33675         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33676         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33678 2014-11-18  Tom de Vries  <tom@codesoucery.com>
33680         * manual/signal.texi (Primitives Interrupted by Signals): In section,
33681         replace BSD Handler xref with BSD Signal Handling.
33683 2014-11-17  Richard Henderson  <rth@redhat.com>
33685         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33686         (_FP_PACK_RAW_2): Remove.
33687         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33688         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33689         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33690         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33691         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33692         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33693         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33694         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33695         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33696         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33697         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33698         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33699         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33700         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33701         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33702         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33704 2014-11-14  Roland McGrath  <roland@hack.frob.com>
33706         * signal/signal.h [__USE_MISC]
33707         (struct sigvec): Remove type.
33708         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33709         (sigvec): Remove declaration.
33710         * sysdeps/posix/sigvec.c: Moved ...
33711         * signal/sigvec.c: ... here, replacing old file.
33712         (struct sigvec): New type, copied from old signal.h definition.
33713         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33714         (__sigvec): Convert definition to prototype.
33715         (sigvec): Replace weak_alias with compat_symbol.
33716         * signal/Versions (libc: GLIBC_2.21): New version set.
33717         * include/signal.h: Remove __sigvec declaration.
33718         * sysdeps/unix/bsd/sigvec.c: Remove file.
33719         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33720         * manual/signal.texi (BSD Handler): Remove subsection.
33721         Move siginterrupt up to ...
33722         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
33723         (Blocking in BSD): Fold subsection into its parent.
33724         * NEWS: Mention sigvec removal.
33726 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33728         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33729         (DLA_FMS): Make definition conditional only on [__FMA4__].
33730         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33731         definition.
33733         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33734         Make definition conditional only on [PROF].
33735         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33736         definition.
33737         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33738         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33740         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33741         !__GNUC__].
33742         * include/signal.h (__sigpause): Move declaration above call to
33743         libc_hidden_proto.
33744         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33745         variable.
33746         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33747         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33749 2014-11-14  David S. Miller  <davem@davemloft.net>
33751         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33752         Define before including <string/memcpy.c> and <string/mempcpy.c>.
33754 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33756         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33757         * configure: Regenerated.
33758         * manual/install.texi (Tools for Compilation): Document a
33759         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33760         compiler verified to work.
33761         * INSTALL: Regenerated.
33763         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33764         redeclare with asm name.
33765         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33766         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33767         including <string.h>.
33768         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33769         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33770         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33771         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33772         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33773         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33774         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33776 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
33778         * stdlib/strtol.c (__strtol): Use prototype definition.
33780         [BZ #17594]
33781         * stdlib/strtol.c (SYM__): New macro.
33782         (SYM__1): Likewise.
33783         (__strtol): Likewise.
33784         (strtol): Rename to __strtol and define as weak alias of
33785         __strtol.  Use libc_hidden_weak.
33787 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33789         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33790         Use numbered labels in inline assembly.
33792 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33794         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33795         Add setjmp LIBC_PROBE.
33796         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33797         Likewise.
33798         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33799         Add longjmp, longjmp_target LIBC_PROBE.
33800         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33801         Likewise.
33803 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33805         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33806         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33807         to get rid of unused variable warning.
33809 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33811         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33812         Check for unwind_backtrace ==  NULL only in SHARED case.
33813         (__backchain_backtrace): Compile only in SHARED case.
33814         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33815         Likewise.
33816         (__backchain_backtrace): Declare as static.
33818 2014-11-12  Roland McGrath  <roland@hack.frob.com>
33820         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33821         (__libc_multiple_threads_ptr): Variable moved ...
33822         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33824 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
33826         * conform/GlibcConform.pm: New file.
33827         * conform/conformtest.pl: Use GlibcConform module.
33828         * conform/linknamespace.pl: New file.
33829         * conform/list-header-symbols.pl: Likewise.
33830         * conform/Makefile (linknamespace-symlists-base): New variable.
33831         (linknamespace-symlists-tests): Likewise.
33832         (linknamespace-header-base): Likewise.
33833         (linknamespace-header-tests): Likewise.
33834         (tests-special): Add new tests.
33835         ($(linknamespace-symlists-tests)): New rule.
33836         (linknamespace-libs): New variable.
33837         ($(objpfx)symlist-stdlibs): New rule.
33838         ($(linknamespace-header-tests)): Likewise.
33839         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33840         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33841         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33842         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33843         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33844         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33845         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33846         (test-xfail-ISO/math.h/linknamespace): Likewise.
33847         (test-xfail-ISO/signal.h/linknamespace): Likewise.
33848         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33849         (test-xfail-ISO/time.h/linknamespace): Likewise.
33850         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33851         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33852         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33853         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33854         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33855         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33856         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33857         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33858         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33859         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33860         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33861         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33862         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33863         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33864         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33865         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33866         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33867         (test-xfail-XPG3/search.h/linknamespace): Likewise.
33868         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33869         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33870         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33871         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33872         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33873         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33874         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33875         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33876         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33877         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33878         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33879         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33880         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33881         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33882         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33883         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33884         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33885         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33886         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33887         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33888         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33889         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33890         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33891         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33892         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33893         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33894         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33895         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33896         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33897         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33898         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33899         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33900         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33901         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33902         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33903         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33904         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33905         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33906         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33907         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33908         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33909         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33910         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33911         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33912         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33913         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33914         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33915         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33916         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33917         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33918         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33919         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33920         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33921         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33922         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33923         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33924         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33925         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33926         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33927         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33928         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33929         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33930         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33931         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33932         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33933         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33934         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33935         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33936         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33937         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33938         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33939         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33940         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33941         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33942         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33943         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33944         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33945         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33946         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33947         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33948         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33949         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33950         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33951         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33952         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33953         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33954         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33955         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33956         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33957         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33958         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33959         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33960         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33961         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33962         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33963         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33964         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33965         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33966         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33967         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33968         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33969         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33970         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33971         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33972         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33973         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33974         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33975         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33976         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33977         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33978         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33979         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33980         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33981         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33982         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33983         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33984         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33985         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33986         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33987         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33988         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33989         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33990         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33991         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33992         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33993         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33994         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33995         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33996         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33997         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33998         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33999         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34001         [BZ #17589]
34002         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
34003         of fgets_unlocked.
34005         [BZ #17585]
34006         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
34007         (memmem): Rename to __memmem and define as weak alias of
34008         __memmem.  Use libc_hidden_weak.
34009         (__memmem): Use libc_hidden_def.
34010         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
34011         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
34012         memmem.
34014         [BZ #17582]
34015         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
34016         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
34017         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
34018         and define as weak alias of __fgets_unlocked.  Use
34019         libc_hidden_weak.
34020         (__fgets_unlocked): Use libc_hidden_def.
34021         * include/stdio.h (__fgets_unlocked): Declare.  Use
34022         libc_hidden_proto.
34023         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
34024         __fgets_unlocked instead of fgets_unlocked.
34025         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
34026         (GET_NPROCS_CONF_PARSER): Likewise.
34027         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
34028         (GET_NPROCS_CONF_PARSER): Likewise.
34030         [BZ #17574]
34031         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
34032         weak alias of __wmemset.  Use libc_hidden_weak.
34033         (__wmemset): Use libc_hidden_def.
34034         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
34035         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
34036         of wmemset.
34038         [BZ #17573]
34039         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
34040         with asm name __mempcpy.
34041         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
34043         [BZ #17572]
34044         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
34045         and define as weak alias of __rawmemchr.
34046         (__rawmemchr): Do not define as strong alias of rawmemchr.
34048         [BZ #17571]
34049         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
34050         alias of __qsort_r.
34051         (qsort): Call __qsort_r instead of qsort_r.
34052         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
34053         (__qsort_r): Declare.  Call libc_hidden_proto.
34054         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
34055         instead of qsort_r.
34056         * nscd/gai.c (__qsort_r): Define to qsort_r.
34057         * posix/tst-rfc3484.c (__qsort_r): Likewise.
34058         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
34059         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
34061         [BZ #17570]
34062         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
34063         define as weak alias of __malloc_info.
34065         [BZ #17584]
34066         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
34067         as weak alias of __rewinddir.  Don't use libc_hidden_def.
34068         (__rewinddir): Use libc_hidden_def.
34069         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
34070         as weak alias of __rewinddir.  Don't use libc_hidden_def.
34071         (__rewinddir): Use libc_hidden_def.
34072         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
34073         weak alias of __rewinddir.  Don't use libc_hidden_def.
34074         (__rewinddir): Use libc_hidden_def.
34075         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
34076         (__rewinddir): Use libc_hidden_proto.
34077         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
34078         rewinddir.
34079         (__getcwd): Use __rewinddir instead of rewinddir.
34081         [BZ #17583]
34082         * libio/fileno.c (fileno): Rename to __fileno and define as weak
34083         alias of __fileno.  Use libc_hidden_weak.
34084         (__fileno): Use libc_hidden_def.
34085         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
34086         * libio/ftello.c (ftello): Rename to __ftello and define as weak
34087         alias of __ftello.
34088         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
34089         __ftello.
34090         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
34091         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
34092         libc_hidden_def.
34093         (fread_unlocked): Don't use libc_hidden_ver.
34094         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
34095         and define as weak alias of __fread_unlocked.  Don't use
34096         libc_hidden_def.
34097         (__fread_unlocked): Use libc_hidden_def.
34098         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
34099         (ftello): Don't use libc_hidden_proto.
34100         (__ftello): Declare.  Use libc_hidden_proto.
34101         (fread_unlocked): Don't use libc_hidden_proto.
34102         (__fread_unlocked): Declare.  Use libc_hidden_proto.
34103         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
34104         and __ftello instead of fileno, fread_unlocked and ftello.
34106 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34108         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
34109         GOT12.
34110         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34111         Likewise.
34112         (_dl_start_user): Likewise.
34113         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
34115 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
34116             Siddhesh Poyarekar  <siddhesh@redhat.com>
34118         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
34119         Move argv and envp down instead of moving argc up.
34120         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
34122 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
34124         [BZ #17506]
34125         * test-skeleton.c (main): Return successful if one of
34126         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
34127         * string/tst-strcoll-overflow.c: Define expected status.
34129 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
34131         [BZ #17475]
34132         * locale/iso-639.def: Define Bhili and Tulu language codes.
34134 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
34136         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
34138 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
34140         [BZ #17555]
34141         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
34143 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34145         * configure.ac: Updated check of minimal required version to
34146         2.22.
34147         * manual/install.texi (Tools for Compilation): Updated version
34148         number.
34149         * configure: Regenerated.
34150         * INSTALL: Likewise.
34152 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
34154         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
34155         __tls_get_addr.
34157 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
34159         * include/sys/wait.h (__libc_waitpid): Remove declaration.
34160         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
34161         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34162         libc_hidden_weak.
34163         (waitpid): Define as alias of __waitpid.
34164         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
34165         __waitpid.
34166         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34167         libc_hidden_weak.
34168         (waitpid): Define as alias of __waitpid.
34169         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
34170         __libc_waitpid alias.
34171         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
34172         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
34173         Likewise.
34174         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
34175         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
34176         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
34177         alias.
34178         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
34179         __waitpid.
34180         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34181         libc_hidden_weak.
34182         (waitpid): Define as alias of __waitpid.
34184 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
34186         * manual/llio.texi: Add comment that write safety has been
34187         fixed in Linux.
34189         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34190         (localplt-build-dso): Add elf/ld.so.
34191         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34192         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34193         and free for ld.so.
34194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34195         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34197         Likewise.
34198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34199         Likewise.
34200         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34201         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34202         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34203         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34204         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34205         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34206         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34207         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34208         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34209         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34210         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34212 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
34214         [BZ #14132]
34215         * include/libc-symbols.h (INTUSE): Remove macro.
34216         (INTDEF): Likewise.
34217         (INTVARDEF): Likewise.
34218         (_INTVARDEF): Likewise.
34219         (INTDEF2): Likewise.
34220         (INTVARDEF2): Likewise.
34221         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34222         rtld_hidden_def instead of INTVARDEF.
34223         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34224         (_dl_starting_up_internal): Remove declaration.
34225         (_dl_starting_up): Use rtld_hidden_proto.
34226         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34227         declaration.
34228         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34229         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34230         _dl_starting_up.
34231         * elf/dl-writev.h (_dl_writev): Likewise.
34232         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34233         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34234         _dl_starting_up_internal.
34236 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34238         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34239         test-skeleton.c.
34241 2014-11-05  Will Newton  <will.newton@linaro.org>
34243         * benchtests/Makefile: (bench-malloc): Add malloc thread
34244         scalability benchmark.
34245         * benchtests/bench-malloc-threads.c: New file.
34247 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
34249         * sysdeps/aarch64/strchrnul.S: New file.
34251 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34253         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34254         definition.
34255         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34256         Likewise.
34257         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34258         Likewise.
34259         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34260         Likewise.
34261         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34262         Likewise.
34263         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34264         Likewise.
34266 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
34268         * catgets/test-gencat.c: Use test-skeleton.c.
34269         * catgets/tst-catgets.c: Likewise.
34270         * csu/tst-empty.c: Likewise.
34271         * elf/tst-audit2.c: Likewise.
34272         * elf/tst-global1.c: Likewise.
34273         * elf/tst-pathopt.c: Likewise.
34274         * elf/tst-piemod1.c: Likewise.
34275         * elf/tst-tls10.c: Likewise.
34276         * elf/tst-tls11.c: Likewise.
34277         * elf/tst-tls12.c: Likewise.
34278         * gnulib/tst-gcc.c: Likewise.
34279         * iconvdata/tst-e2big.c: Likewise.
34280         * iconvdata/tst-loading.c: Likewise.
34281         * iconv/tst-iconv1.c: Likewise.
34282         * iconv/tst-iconv2.c: Likewise.
34283         * inet/test-inet6_opt.c: Likewise.
34284         * inet/tst-gethnm.c: Likewise.
34285         * inet/tst-network.c: Likewise.
34286         * inet/tst-ntoa.c: Likewise.
34287         * intl/tst-codeset.c: Likewise.
34288         * intl/tst-gettext2.c: Likewise.
34289         * intl/tst-gettext3.c: Likewise.
34290         * intl/tst-ngettext.c: Likewise.
34291         * intl/tst-translit.c: Likewise.
34292         * io/test-stat.c: Likewise.
34293         * libio/test-fmemopen.c: Likewise.
34294         * libio/tst-freopen.c: Likewise.
34295         * libio/tst-sscanf.c: Likewise.
34296         * libio/tst-ungetwc1.c: Likewise.
34297         * libio/tst-ungetwc2.c: Likewise.
34298         * libio/tst-widetext.c: Likewise.
34299         * localedata/tst-ctype.c: Likewise.
34300         * localedata/tst-digits.c: Likewise.
34301         * localedata/tst-leaks.c: Likewise.
34302         * localedata/tst-mbswcs1.c: Likewise.
34303         * localedata/tst-mbswcs2.c: Likewise.
34304         * localedata/tst-mbswcs3.c: Likewise.
34305         * localedata/tst-mbswcs4.c: Likewise.
34306         * localedata/tst-mbswcs5.c: Likewise.
34307         * localedata/tst-setlocale.c: Likewise.
34308         * localedata/tst-trans.c: Likewise.
34309         * localedata/tst-wctype.c: Likewise.
34310         * localedata/tst-xlocale1.c: Likewise.
34311         * login/tst-grantpt.c: Likewise.
34312         * malloc/tst-calloc.c: Likewise.
34313         * malloc/tst-malloc.c: Likewise.
34314         * malloc/tst-mallocstate.c: Likewise.
34315         * malloc/tst-mcheck.c: Likewise.
34316         * malloc/tst-mtrace.c: Likewise.
34317         * malloc/tst-obstack.c: Likewise.
34318         * math/atest-exp2.c: Likewise.
34319         * math/atest-exp.c: Likewise.
34320         * math/atest-sincos.c: Likewise.
34321         * math/test-matherr.c: Likewise.
34322         * math/test-misc.c: Likewise.
34323         * math/test-powl.c: Likewise.
34324         * math/tst-definitions.c: Likewise.
34325         * misc/tst-dirname.c: Likewise.
34326         * misc/tst-efgcvt.c: Likewise.
34327         * misc/tst-fdset.c: Likewise.
34328         * misc/tst-hsearch.c: Likewise.
34329         * misc/tst-mntent2.c: Likewise.
34330         * nptl/tst-sem7.c: Likewise.
34331         * nptl/tst-sem8.c: Likewise.
34332         * nptl/tst-sem9.c: Likewise.
34333         * nss/test-netdb.c: Likewise.
34334         * posix/tst-fnmatch.c: Likewise.
34335         * posix/tst-getlogin.c: Likewise.
34336         * posix/tst-gnuglob.c: Likewise.
34337         * posix/tst-mmap.c: Likewise.
34338         * pwd/tst-getpw.c: Likewise.
34339         * resolv/tst-inet_ntop.c: Likewise.
34340         * rt/tst-timer.c: Likewise.
34341         * stdio-common/test-fseek.c: Likewise.
34342         * stdio-common/test-popen.c: Likewise.
34343         * stdio-common/test-vfprintf.c: Likewise.
34344         * stdio-common/tst-cookie.c: Likewise.
34345         * stdio-common/tst-fileno.c: Likewise.
34346         * stdio-common/tst-gets.c: Likewise.
34347         * stdio-common/tst-obprintf.c: Likewise.
34348         * stdio-common/tst-perror.c: Likewise.
34349         * stdio-common/tst-sprintf2.c: Likewise.
34350         * stdio-common/tst-sprintf3.c: Likewise.
34351         * stdio-common/tst-sprintf.c: Likewise.
34352         * stdio-common/tst-swprintf.c: Likewise.
34353         * stdio-common/tst-tmpnam.c: Likewise.
34354         * stdio-common/tst-unbputc.c: Likewise.
34355         * stdio-common/tst-wc-printf.c: Likewise.
34356         * stdlib/tst-environ.c: Likewise.
34357         * stdlib/tst-fmtmsg.c: Likewise.
34358         * stdlib/tst-limits.c: Likewise.
34359         * stdlib/tst-rand48-2.c: Likewise.
34360         * stdlib/tst-rand48.c: Likewise.
34361         * stdlib/tst-random2.c: Likewise.
34362         * stdlib/tst-random.c: Likewise.
34363         * stdlib/tst-strtol.c: Likewise.
34364         * stdlib/tst-strtoll.c: Likewise.
34365         * stdlib/tst-tls-atexit.c: Likewise.
34366         * stdlib/tst-xpg-basename.c: Likewise.
34367         * string/test-ffs.c: Likewise.
34368         * string/tst-bswap.c: Likewise.
34369         * string/tst-inlcall.c: Likewise.
34370         * string/tst-strtok.c: Likewise.
34371         * string/tst-strxfrm.c: Likewise.
34372         * sysdeps/x86_64/tst-audit10.c: Likewise.
34373         * sysdeps/x86_64/tst-audit3.c: Likewise.
34374         * sysdeps/x86_64/tst-audit4.c: Likewise.
34375         * sysdeps/x86_64/tst-audit5.c: Likewise.
34376         * time/tst-ftime_l.c: Likewise.
34377         * time/tst-getdate.c: Likewise.
34378         * time/tst-mktime3.c: Likewise.
34379         * time/tst-mktime.c: Likewise.
34380         * time/tst-posixtz.c: Likewise.
34381         * time/tst-strptime2.c: Likewise.
34382         * time/tst-strptime3.c: Likewise.
34383         * wcsmbs/tst-btowc.c: Likewise.
34384         * wcsmbs/tst-mbrtowc.c: Likewise.
34385         * wcsmbs/tst-mbsrtowcs.c: Likewise.
34386         * wcsmbs/tst-wchar-h.c: Likewise.
34387         * wcsmbs/tst-wcpncpy.c: Likewise.
34388         * wcsmbs/tst-wcrtomb.c: Likewise.
34389         * wcsmbs/tst-wcsnlen.c: Likewise.
34390         * wcsmbs/tst-wcstof.c: Likewise.
34392 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
34394         [BZ #14132]
34395         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34396         INTDEF.
34397         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34398         declaration.
34399         (_dl_mcount): Use rtld_hidden_proto.
34400         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34401         _dl_mcount.
34402         * elf/rtld.c (_rtld_global_ro): Likewise.
34404         [BZ #14132]
34405         * elf/dl-init.c (_dl_init): Don't use INTDEF.
34406         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34407         of _dl_init_internal.
34408         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34409         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34410         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34411         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34412         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34413         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34414         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34415         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34416         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34417         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34418         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34419         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34420         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34421         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34422         * sysdeps/tile/dl-start.S (_start): Likewise.
34423         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34424         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34426         [BZ #14132]
34427         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34428         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34429         (rtld_progname): Make macro definition unconditional.
34430         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34431         INTDEF.
34432         (dlmopen_doit): Do not use INTUSE with _dl_argv.
34433         (dl_main): Likewise.
34434         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34435         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34436         instead of _dl_argv_internal.
34437         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34438         __GI__dl_argv instead of INTUSE(_dl_argv).
34439         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34440         __GI__dl_argv instead of _dl_argv_internal.
34442         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34443         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34444         macro.
34445         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34446         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34447         New macro.
34448         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34449         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34450         macro.
34451         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34452         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34454 2014-11-04  Andreas Schwab  <schwab@suse.de>
34456         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34458 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34460         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34461         mtvsrd instruction in binary form.
34463 2014-11-03  Andreas Schwab  <schwab@suse.de>
34465         [BZ #17522]
34466         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34467         for less than MB_LEN_MAX use a local buffer of that size.
34468         * libio/tst-fputws.c: New file.
34469         * libio/Makefile (tests): Add tst-fputws.
34471 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
34473         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34474         the size of the fpu_fr.fpu_dregs[] array.
34476 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
34478         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34479         (__nanosleep): Do not define as alias.
34480         (nanosleep): Define as alias of __nanosleep.
34481         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34482         __libc_nanosleep name.
34484 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34486         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34487         install.texi in comment.
34489 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34491         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34492         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34493         ... add here and use lwsync or sync ...
34494         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34495         ... and add here using lwsync.
34497 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34499         * elf/dl-machine-reject-phdr.h: New file.
34500         * elf/dl-load.c: #include that.
34501         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34502         if that returned true.
34504 2014-10-31  Roland McGrath  <roland@hack.frob.com>
34506         [BZ #17496]
34507         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34508         gen-as-const-headers chunk.  Add a big scare comment after the last
34509         safe place to touch before-compile.
34511 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34513         * manual/install.texi (Tools for Compilation): Update autoconf
34514         version requirements.
34515         * INSTALL: Regenerated.
34517         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34518         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34519         (__libc_pselect): Likewise.
34521         [BZ #14138]
34522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34527 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34529         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34530         correct barrier instruction.
34531         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34532         Likewise.
34533         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34534         Likewise.
34536 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34538         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34539         after defining inlines.  Instead, just use parens to defeat macro
34540         expansion of __isctype in its declaration.
34542 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34544         * include/sys/uio.h (__libc_readv): Remove declaration.
34545         (__libc_writev): Likewise.
34546         * misc/readv.c (__libc_readv): Rename to __readv.
34547         (__readv): Do not define as alias.
34548         (readv): Define as alias of __readv.
34549         * misc/writev.c (__libc_writev): Rename to __writev.
34550         (__writev): Do not define as alias.
34551         (writev): Define as alias of __writev.
34552         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34553         (__readv): Do not define as alias.
34554         (readv): Define unconditionally as alias of __readv.
34555         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34556         (__writev): Do not define as alias.
34557         (writev): Define unconditionally as alias of __writev.
34558         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34559         name.
34560         (writev): Do not define __libc_writev name.
34562 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34564         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34565         (convert_charseq): New function, broken out of ...
34566         (use_from_charmap): ... here.  Call it.
34567         (use_to_charmap): Use convert_charseq and free instead of duplicating
34568         its code with a variable-length stack struct.
34570 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34572         * include/fcntl.h (__libc_creat): Remove declaration.
34573         * io/creat.c (__libc_creat): Rename to creat.
34574         (creat): Do not define as alias.
34575         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34576         of creat instead of __libc_creat.
34577         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34578         to creat.
34579         (creat): Do not define as alias.
34580         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34581         __libc_creat.
34582         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34583         __libc_creat name.
34584         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34585         Likewise.
34587 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
34589         * manual/llio.texi: Add comments discussing why write() may be
34590         considered MT-unsafe on Linux.
34592 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
34594         * dl-load.c (local_strdup): Remove.
34595         (expand_dynamic_string_token): Use __strdup.
34596         (decompose_rpath): Likewise.
34597         (_dl_map_object): Likewise.
34599 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
34601         [BZ #14132]
34602         * sysdeps/generic/unwind-dw2-fde.c
34603         (__register_frame_info_bases_internal): Do not declare.
34604         (__register_frame_info_table_bases_internal): Likewise.
34605         (__deregister_frame_info_bases_internal): Likewise.
34606         (__register_frame_info_bases): Declare and use hidden_proto before
34607         definition.  Use hidden_def instead of INTDEF.
34608         (__register_frame_info_table_bases): Likewise.
34609         (__deregister_frame_info_bases): Likewise.
34610         (__register_frame_info): Do not use INTUSE.
34611         (__register_frame): Likewise.
34612         (__register_frame_info_table): Likewise.
34613         (__register_frame_table): Likewise.
34614         (__deregister_frame_info): Likewise.
34615         (__deregister_frame): Likewise.
34617 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
34619         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34620         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34621         not undefine.
34622         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34623         Likewise.
34624         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34625         Likewise.
34627 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
34629         [BZ #14138]
34630         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34631         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34632         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34633         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34634         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34635         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34636         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34637         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34638         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34639         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34640         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34641         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34642         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34643         syscall.
34644         (setfsuid): Likewise.
34645         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34646         (setfsuid): Likewise.
34647         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34648         (setfsuid): Likewise.
34649         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34650         Likewise.
34651         (setfsuid): Likewise.
34652         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34653         (setfsuid): Likewise.
34654         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34655         Likewise.
34656         (setfsuid): Likewise.
34658 2014-10-27  Andreas Schwab  <schwab@suse.de>
34660         [BZ #17501]
34661         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34662         check for Slow_SSE4_2 feature bit.
34663         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34664         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34665         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34666         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
34668 2014-10-24  Roland McGrath  <roland@hack.frob.com>
34670         * configure.ac: Validate compiler version with a empirical test of
34671         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34672         $CC -v output.
34673         * configure: Regenerated.
34675         * inet/htons.c (htons): Prototypify.
34676         * inet/htonl.c (htonl): Likewise.
34678 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34680         * string/strncat.c (strncat): Improve performance by using strlen.
34682 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34684         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34686 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34688         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34689         Call libc_fetestexcept_aarch64.
34691 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34693         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34694         Call libc_feholdexcept_aarch64.
34696 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34698         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34699         Call get_rounding_mode.
34701 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34703         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34704         Simplify logic.
34706 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34708         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34709         Simplify logic.
34711 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
34713         [BZ #14138]
34714         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34715         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34716         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34717         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34718         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34719         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34720         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34721         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34722         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34723         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34724         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34725         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34726         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34727         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34728         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34729         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34730         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34731         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34732         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34733         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34734         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34735         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34736         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34737         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34738         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34739         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34740         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34741         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34742         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34743         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34744         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34745         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34746         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34747         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34748         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34749         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34750         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34751         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34752         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34753         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34754         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34755         syscall.
34756         (geteuid): Likewise.
34757         (getgid): Likewise.
34758         (getuid): Likewise.
34759         (getresgid): Likewise.
34760         (getresuid): Likewise.
34761         (getgroups): Likewise.
34762         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34763         (geteuid): Likewise.
34764         (getgid): Likewise.
34765         (getuid): Likewise.
34766         (getresgid): Likewise.
34767         (getresuid): Likewise.
34768         (getgroups): Likewise.
34769         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34770         (geteuid): Likewise.
34771         (getgid): Likewise.
34772         (getuid): Likewise.
34773         (getresgid): Likewise.
34774         (getresuid): Likewise.
34775         (getgroups): Likewise.
34776         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34777         Likewise.
34778         (geteuid): Likewise.
34779         (getgid): Likewise.
34780         (getuid): Likewise.
34781         (getresgid): Likewise.
34782         (getresuid): Likewise.
34783         (getgroups): Likewise.
34784         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34785         (geteuid): Likewise.
34786         (getgid): Likewise.
34787         (getuid): Likewise.
34788         (getresgid): Likewise.
34789         (getresuid): Likewise.
34790         (getgroups): Likewise.
34791         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34792         Likewise.
34793         (geteuid): Likewise.
34794         (getgid): Likewise.
34795         (getuid): Likewise.
34796         (getgroups): Likewise.
34798         [BZ #14138]
34799         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34800         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34801         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34802         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34803         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34804         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34805         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34806         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34807         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34808         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34809         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34810         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34811         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34812         __chown.
34813         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34814         (lchown): Likewise.
34815         (fchown): Likewise.
34816         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34817         Likewise.
34818         (lchown): Likewise.
34819         (fchown): Likewise.
34820         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34821         (lchown): Likewise.
34822         (fchown): Likewise.
34823         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34824         Likewise.
34825         (lchown): Likewise.
34826         (fchown): Likewise.
34828 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34830         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34831         Simplify logic.
34833 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34835         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34836         Cleanup logic.
34838 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34840         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34841         Remove unused include.
34843 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34845         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34846         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34847         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34848         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34850 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
34851             Helge Deller <deller@gmx.de>
34853         [BZ #17508]
34854         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34855         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34856         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34858 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
34860         [BZ #14132]
34861         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34862         Remove macro definition.
34863         (__ashrdi3_v_glibc20): Likewise.
34864         (__lshrdi3_v_glibc20): Likewise.
34865         (__cmpdi2_v_glibc20): Likewise.
34866         (__ucmpdi2_v_glibc20): Likewise.
34867         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34868         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34869         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34870         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34871         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34872         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34874 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34876         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34877         old GNU extension [0] syntax.
34878         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34879         alloca rather than an array member with variable length.
34880         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34881         * nscd/nscd.c (invalidate_db): New function, broken out of ...
34882         (parse_opt): ... here.  Likewise use alloca there.
34883         Validate the -i argument before checking for rootness.
34884         (send_shutdown): New function, broken out of ...
34885         (parse_opt): ... here.
34887 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34889         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34890         macro to get at the _rt_local_ro field.
34891         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34892         ([PIC] case) or _dl_hwcap ([!PIC] case).
34893         * sysdeps/arm/setjmp.S: Likewise.
34895         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34896         * sysdeps/arm/configure.ac: New check to define it.
34897         * sysdeps/arm/configure: Regenerated.
34898         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34899         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34900         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34901         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34902         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34903         Use move/movt pair instead of a load.
34904         (LDST_GLOBAL): Macro removed.
34905         (LDR_GLOBAL): New macro replaces it.
34906         (LDR_HIDDEN): New macro.
34907         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34908         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34910         * setjmp/tst-setjmp-static.c: New file.
34911         * setjmp/Makefile (tests): Add it.
34912         (tests-static): New variable.
34914 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
34916         [BZ #17485]
34917         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34919 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
34921         [BZ #14132]
34922         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34924 2014-10-21  Roland McGrath  <roland@hack.frob.com>
34926         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34928 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34930         * io/fts.c (dirent_not_directory): New function.
34931         (fts_build): Call it.
34933 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34935         * nptl/version.c (__nptl_main): Use normal __write rather than
34936         INTERNAL_SYSCALL.
34937         (banner): Update copyright years.
34939         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34940         gettimeofday.
34941         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34942         * nptl/pthread_cond_timedwait.c: Likewise.
34943         * nptl/pthread_mutex_timedlock.c: Likewise.
34944         * nptl/sem_timedwait.c: Likewise.
34946         * sysdeps/nptl/bits/libc-lock.h
34947         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34948         (__libc_lock_init_recursive): Return void, not 0.
34949         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34950         (__libc_rwlock_init): Likewise.
34951         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34953 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34955         [BZ #15215]
34956         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34957         (__pthread_once_slow): ... here.
34958         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34959         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34961 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34963         [BZ #15215]
34964         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34965         __PTHREAD_ONCE_FORK_GEN_INCR): New.
34966         * sysdeps/nptl/fork.c (__libc_fork): Use them.
34967         * nptl/pthread_once.c (__pthread_once): Likewise.
34968         Update comments.
34970 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
34972         [BZ #14138]
34973         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34974         name.
34975         (writev): Use __libc_writev as strong name.
34976         * sysdeps/unix/sysv/linux/readv.c: Remove file.
34977         * sysdeps/unix/sysv/linux/writev.c: Likewise.
34979 2014-10-17  Roland McGrath  <roland@hack.frob.com>
34981         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34983         * sysdeps/i386/nptl/tls.h
34984         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34985         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34986         New macros.
34987         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34988         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34989         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34990         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34991         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34992         Call CHECK_THREAD_SYSINFO instead of doing an assert.
34994         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34995         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34996         on [__NR_futex].
34997         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34998         broken out of ...
34999         (__pthread_mutex_init): ... here.  Call it.
35000         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
35001         Conditionalize PI cases on [__NR_futex].
35002         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
35003         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
35004         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
35006         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
35007         conditional on [SIGSETXID].
35008         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
35009         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
35010         is defined.  Likewise for SIGSETXID.
35011         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
35012         Conditionalize definitions on [SIGSETXID].
35013         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
35014         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
35015         unblocking on [SIGCANCEL].
35017         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
35018         [__NR_set_robust_list].
35020 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35022         * string/strcoll_l.c (get_next_seq): Fix up formatting.
35023         (do_compare): Likewise.
35025 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
35027         [BZ #15884]
35028         * string/strcoll_l.c: Don't include stdio.h.
35029         (coll_seq): Remove members idxarr and rulearr.
35030         (get_next_seq_cached): Remove function.
35031         (get_next_seq): Likewise.
35032         (get_next_seq_nocache): Rename to get_next_seq.
35033         (do_compare): Remove function.
35034         (do_compare_nocache): Rename to do_compare.
35035         (STRCOLL): Remove weight and rules cache.
35037 2014-10-16  Roland McGrath  <roland@hack.frob.com>
35039         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
35040         * sysdeps/arm/sfp-machine.h: ... to here.
35041         * sysdeps/arm/Implies: Remove arm/soft-fp.
35043 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
35045         * conform/data/sys/utsname.h-data (*_t): Allow.
35046         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
35047         [POSIX] (WEXITED): Do not expect constant.
35048         [POSIX] (WSTOPPED): Likewise.
35049         [POSIX] (WNOHANG): Likewise.
35050         [POSIX] (WNOWAIT): Likewise.
35051         [POSIX] (siginfo_t): Do not expect type or elements.
35052         [POSIX] (pid_t): Do not expect type.
35053         [POSIX] (signal.h): Do not allow header.
35054         [POSIX] (sys/resource.h): Likewise.
35055         [POSIX] (si_*): Do not allow pattern.
35056         [POSIX] (W*): Likewise.
35057         [POSIX] (P_*): Likewise.
35058         [POSIX] (BUS_*): Likewise.
35059         [POSIX] (CLD_*): Likewise.
35060         [POSIX] (FPE_*): Likewise.
35061         [POSIX] (ILL_*): Likewise.
35062         [POSIX] (POLL_*): Likewise.
35063         [POSIX] (SEGV_*): Likewise.
35064         [POSIX] (SI_*): Likewise.
35065         [POSIX] (TRAP_*): Likewise.
35066         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
35067         variable.
35069 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
35071         [BZ #12926]
35072         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
35073         infinite loop when __recvmsg returns 0.
35075 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
35077         * CANCEL-FCT-WAIVE: Remove file.
35078         * CANCEL-FILE-WAIVE: Likewise.
35080         [BZ #14132]
35081         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
35082         instead of INTVARDEF.
35083         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35084         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
35085         rtld_hidden_data_def instead of INTVARDEF.
35086         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35087         * elf/dl-deps.c (expand_dst): Likewise.
35088         * elf/dl-load.c (_dl_dst_count): Likewise.
35089         (_dl_dst_substitute): Likewise.
35090         (decompose_rpath): Likewise.
35091         (_dl_init_paths): Likewise.
35092         (open_path): Likewise.
35093         (_dl_map_object): Likewise.
35094         * elf/rtld.c (dl_main): Likewise.
35095         (process_dl_audit): Likewise.
35096         (process_envvars): Likewise.
35097         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
35098         Remove declaration.
35099         (__libc_enable_secure): Use rtld_hidden_proto.
35101 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35103         * elf/dl-load.c
35104         (add_path): New function broken out of _dl_rtld_di_serinfo.
35105         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
35107 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35109         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
35110         parentheses around macro arguments.
35111         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
35112         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
35113         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
35114         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
35115         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
35116         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35117         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35118         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
35119         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
35120         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
35121         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
35122         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
35123         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
35124         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
35125         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
35126         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
35127         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
35128         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
35129         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
35130         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
35131         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
35132         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
35133         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
35134         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35135         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35136         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
35137         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
35138         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
35139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
35140         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35141         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
35142         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
35143         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
35144         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
35145         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
35146         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
35147         Likewise.
35148         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
35149         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35150         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35151         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
35152         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
35153         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
35154         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
35155         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
35156         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
35157         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
35158         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
35159         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
35160         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
35161         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
35162         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
35163         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35164         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35165         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
35166         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
35167         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
35168         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
35169         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
35170         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
35171         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
35172         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
35173         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
35174         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
35175         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
35176         (_FP_FRAC_SRS_1): Likewise.
35177         (_FP_FRAC_CLZ_1): Likewise.
35178         (_FP_MUL_MEAT_1_imm): Likewise.
35179         (_FP_MUL_MEAT_1_wide): Likewise.
35180         (_FP_MUL_MEAT_1_hard): Likewise.
35181         (_FP_SQRT_MEAT_1): Likewise.
35182         (_FP_FRAC_ASSEMBLE_1): Likewise.
35183         (_FP_FRAC_DISASSEMBLE_1): Likewise.
35184         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35185         (__FP_CLZ_2): Likewise.
35186         (_FP_MUL_MEAT_2_wide): Likewise.
35187         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35188         (_FP_MUL_MEAT_2_gmp): Likewise.
35189         (_FP_MUL_MEAT_2_120_240_double): Likewise.
35190         (_FP_SQRT_MEAT_2): Likewise.
35191         (_FP_FRAC_ASSEMBLE_2): Likewise.
35192         (_FP_FRAC_DISASSEMBLE_2): Likewise.
35193         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35194         (_FP_FRAC_CLZ_4): Likewise.
35195         (_FP_MUL_MEAT_4_wide): Likewise.
35196         (_FP_MUL_MEAT_4_gmp): Likewise.
35197         (_FP_SQRT_MEAT_4): Likewise.
35198         (_FP_FRAC_ASSEMBLE_4): Likewise.
35199         (_FP_FRAC_DISASSEMBLE_4): Likewise.
35200         * soft-fp/op-common.h (_FP_CMP): Likewise.
35201         (_FP_CMP_EQ): Likewise.
35202         (_FP_CMP_UNORD): Likewise.
35203         (_FP_TO_INT): Likewise.
35204         (_FP_FROM_INT): Likewise.
35205         [!__FP_CLZ] (__FP_CLZ): Likewise.
35206         (_FP_DIV_HELP_imm): Likewise.
35207         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35208         Likewise.
35209         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35210         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35211         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35212         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35213         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35214         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35215         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35216         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35217         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35218         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35220         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35221         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35222         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35223         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35224         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35225         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35226         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35227         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35228         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35229         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35230         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35231         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35232         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35233         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35234         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35235         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35236         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35238         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35239         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35240         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35241         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35242         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35243         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35244         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35245         (FP_UNPACK_RAW_SP): Likewise.
35246         (FP_PACK_RAW_S): Likewise.
35247         (FP_PACK_RAW_SP): Likewise.
35248         (FP_UNPACK_S): Likewise.
35249         (FP_UNPACK_SP): Likewise.
35250         (FP_UNPACK_SEMIRAW_S): Likewise.
35251         (FP_UNPACK_SEMIRAW_SP): Likewise.
35252         (FP_PACK_S): Likewise.
35253         (FP_PACK_SP): Likewise.
35254         (FP_PACK_SEMIRAW_S): Likewise.
35255         (FP_PACK_SEMIRAW_SP): Likewise.
35256         (_FP_SQRT_MEAT_S): Likewise.
35257         (FP_CMP_S): Likewise.
35258         (FP_CMP_EQ_S): Likewise.
35259         (FP_CMP_UNORD_S): Likewise.
35260         (FP_TO_INT_S): Likewise.
35261         (FP_FROM_INT_S): Likewise.
35263         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35265         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35266         (FP_EX_INVALID_IMZ): Likewise.
35267         (FP_EX_INVALID_IMZ_FMA): Likewise.
35268         (FP_EX_INVALID_ISI): Likewise.
35269         (FP_EX_INVALID_ZDZ): Likewise.
35270         (FP_EX_INVALID_IDI): Likewise.
35271         (FP_EX_INVALID_SQRT): Likewise.
35272         (FP_EX_INVALID_CVI): Likewise.
35273         (FP_EX_INVALID_VC): Likewise.
35274         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35275         "invalid" exceptions.
35276         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35277         (_FP_ADD_INTERNAL): Likewise.
35278         (_FP_MUL): Likewise.
35279         (_FP_FMA): Likewise.
35280         (_FP_DIV): Likewise.
35281         (_FP_CMP_CHECK_NAN): Likewise.
35282         (_FP_SQRT): Likewise.
35283         (_FP_TO_INT): Likewise.
35284         (FP_EXTEND): Likewise.
35286 2014-10-09  Allan McRae  <allan@archlinux.org>
35288         * po/fr.po: Update French translation from translation project.
35290 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35292         [BZ #14132]
35293         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35294         of INTDEF.
35295         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35296         (__cxa_atexit): Use libc_hidden_proto.
35297         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35299         [BZ #14132]
35300         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35301         declaration.
35302         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35303         [!_ISOMAC] (__iswspace_l_internal): Likewise.
35304         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35305         [!_ISOMAC] (__iswctype_internal): Likewise.
35306         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35307         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35308         alias.
35309         (fcntl): Remove __fcntl_internal alias.
35310         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35311         __connect_internal alias.
35312         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35313         Likewise.
35315         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35316         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35317         FP_DENORM_ZERO.
35318         (_FP_CHECK_FLUSH_ZERO): New macro.
35319         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35320         (_FP_CMP): Likewise.
35321         (_FP_CMP_EQ): Likewise.
35322         (_FP_TO_INT): Do not set inexact for subnormal arguments if
35323         FP_DENORM_ZERO.
35324         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35325         (FP_TRUNC): Likewise.
35327         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35328         treated as invalid conversion, not as normal exponent.
35330         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35331         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
35332         (_FP_CMP_EQ): Likewise.
35333         (_FP_CMP_UNORD): Likewise.
35334         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35335         (FP_CMP_EQ_D): Likewise.
35336         (FP_CMP_UNORD_D): Likewise.
35337         * soft-fp/extended.h (FP_CMP_E): Likewise.
35338         (FP_CMP_EQ_E): Likewise.
35339         (FP_CMP_UNORD_E): Likewise.
35340         * soft-fp/quad.h (FP_CMP_Q): Likewise.
35341         (FP_CMP_EQ_Q): Likewise.
35342         (FP_CMP_UNORD_Q): Likewise.
35343         * soft-fp/single.h (FP_CMP_S): Likewise.
35344         (FP_CMP_EQ_S): Likewise.
35345         (FP_CMP_UNORD_S): Likewise.
35346         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35347         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35348         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35349         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35350         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35351         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35352         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35353         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35354         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35355         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35356         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35357         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35358         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35359         to FP_CMP_Q.
35360         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35361         FP_CMP_Q.
35362         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35363         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35364         FP_CMP_EQ_Q.
35365         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35366         FP_CMP_Q.
35367         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35368         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35369         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35370         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35371         FP_CMP_EQ_Q.
35372         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35373         FP_CMP_Q.
35374         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35375         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35376         FP_CMP_EQ_Q.
35377         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35378         FP_CMP_Q.
35379         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35380         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35381         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35382         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35383         FP_CMP_EQ_Q.
35385         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35386         a subnormal result, set the underflow exception if trapping on
35387         underflow is enabled.
35388         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35389         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35390         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35391         redefine to 0.
35392         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35393         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35394         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35395         * soft-fp/extendxftf2.c (__extendxftf2): Use
35396         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35398         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35399         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35400         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35401         FP_HANDLE_EXCEPTIONS.
35402         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35403         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35404         FP_HANDLE_EXCEPTIONS.
35405         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35406         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35407         FP_HANDLE_EXCEPTIONS.
35408         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35409         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35410         FP_HANDLE_EXCEPTIONS.
35412 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
35414         [BZ #14132]
35415         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35416         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35417         use INTUSE.
35418         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35419         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35420         Remove alias.
35421         (__adjtimex): Define using libc_hidden_ver.
35422         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35423         Remove declaration.
35424         (ntp_gettime): Call __adjtimex directly.
35425         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35426         Remove declaration.
35427         (ntp_gettimex): Call __adjtimex directly.
35428         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35429         __adjtimex_internal alias.
35431 2014-10-08  Roland McGrath  <roland@hack.frob.com>
35433         [BZ #17460]
35434         * nscd/nscd.c (more_help): Rewrite list of tables collection
35435         using xstrdup and asprintf.
35437         * nscd/nscd_conf.c: Remove local xstrdup declaration.
35439 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35440             Roland McGrath  <roland@hack.frob.com>
35442         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35443         (do_lookup_unique): ... local function 'enter' here; update callers.
35445 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
35447         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35448         compat_symbol calls on [SHARED].
35449         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35450         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35451         Remove.
35452         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35453         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35454         (oldsetrlimit): Remove.
35455         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35457         (lchown): New syscall entry.
35458         (oldsetrlimit): Remove.
35459         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35460         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35461         (oldsetrlimit): Remove.
35462         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35464         [BZ #14138]
35465         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35466         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35467         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35468         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35469         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35470         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35471         (fchown): Likewise.
35472         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35473         (fchown): Likewise.
35474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35475         Likewise.
35477 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35479         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35480         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35481         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35482         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35483         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35484         Likewise.
35485         (__old_sem_post): Likewise.
35487 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
35489         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35490         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35491         HAVE_CLOCK_GETTIME_VSYSCALL macros.
35492         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35493         Use INLINE_VSYSCALL macro.
35494         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35495         __vdso_clock_gettime.
35496         * sysdeps/unix/sysv/linux/tile/init-first.c
35497         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35498         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35499         __vdso_clock_gettime.
35501         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35502         to set up frame more cleanly.
35504         * sysdeps/tile/memcmp.c: New file.
35506         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35508         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35509         * sysdeps/tile/tilegx/strcasestr.c: New file.
35510         * sysdeps/tile/tilegx/strnlen.c: New file.
35511         * sysdeps/tile/tilegx/strstr.c: New file.
35513         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35515 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
35517         * nptl/tst-setuid3.c: Write errors to stdout.
35519 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35521         * elf/dl-deps.c
35522         (preload): New functions broken out of _dl_map_object_deps.
35523         (_dl_map_object_deps):  Remove a nested function. Update call sites.
35525 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
35527         [BZ #14138]
35528         * sysdeps/unix/sysv/linux/execve.c: Remove file.
35529         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35531 2014-10-01  Steve Ellcey  <sellcey@mips.com>
35533         * sysdeps/mips/strcmp.S: New.
35535 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
35537         [BZ #14138]
35538         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35539         (linkat): Likewise.
35540         (mkdirat): Likewise.
35541         (readlinkat): Likewise.
35542         (renameat): Likewise.
35543         (symlinkat): Likewise.
35544         (unlinkat): Likewise.
35545         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35546         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35547         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35548         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35549         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35550         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35551         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35553 2014-09-30  Will Newton  <will.newton@linaro.org>
35555         * math/math.h: Define long double math functions if
35556         _LIBC_TEST is defined.
35557         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35559         * localedata/Makefile: Move assignment to tests-special
35560         into an ifdef testing run-built-tests.
35561         * timezone/Makefile: Likewise.
35563 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
35565         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35566         with $(BASH) not $(SHELL).
35568 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
35569             Matthew LeGendre  <legendre1@llnl.gov>
35571         [BZ #17411]
35572         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35573         l_reloc_result.
35575 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35577         * stdio-common/printf_fp.c
35578         (hack_digit): New function, broken out of ...
35579         (__printf_fp): ... local function here.  Update call sites.
35580         hack_digit now takes an additional parameter that is a pointer
35581         to a struct of the referenced locals.  Those locals moved inside
35582         the struct and references updated.
35584 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
35586         * aclocal.m4: Require autoconf 2.69.
35587         * configure: Regenerated.
35588         * sysdeps/aarch64/configure: Likewise.
35589         * sysdeps/alpha/configure: Likewise.
35590         * sysdeps/arm/armv7/configure: Likewise.
35591         * sysdeps/arm/configure: Likewise.
35592         * sysdeps/ia64/configure: Likewise.
35593         * sysdeps/mach/configure: Likewise.
35594         * sysdeps/mips/configure: Likewise.
35595         * sysdeps/s390/configure: Likewise.
35596         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35599         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35600         file.
35601         * sysdeps/ia64/configure.ac: Likewise.
35603 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
35605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35606         specify symbol version for ld.so.  Do not include entry for
35607         libpthread.
35608         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35609         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35610         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35612         [BZ #14171]
35613         * Makeconfig [$(build-shared) = yes]
35614         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35615         makefiles.
35616         [$(build-shared) = yes && $(soversions.mk-done) = t]
35617         ($(common-objpfx)gnu/lib-names.h): Remove rule.
35618         [$(build-shared) = yes && $(soversions.mk-done) = t]
35619         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
35620         to Makerules.
35621         [$(build-shared) = yes && $(soversions.mk-done) = t]
35622         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35623         here.
35624         [$(build-shared) = yes && $(soversions.mk-done) = t]
35625         (common-generated): Don't append gnu/lib-names.h and
35626         gnu/lib-names.stmp here.
35627         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35628         (lib-names-h-abi): New variable.
35629         [$(build-shared) = yes && $(soversions.mk-done) = t]
35630         (lib-names-stmp-abi): Likewise.
35631         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35632         abi-variants] (before-compile): Append
35633         $(common-objpfx)$(lib-names-h-abi).
35634         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35635         abi-variants] (common-generated): Append gnu/lib-names.h.
35636         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35637         abi-variants] (install-others-nosubdir): Depend on
35638         $(inst_includedir)/$(lib-names-h-abi).
35639         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35640         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35641         [$(build-shared) = yes && $(soversions.mk-done) = t]
35642         ($(common-objpfx)$(lib-names-h-abi)): New rule.
35643         [$(build-shared) = yes && $(soversions.mk-done) = t]
35644         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35645         [$(build-shared) = yes && $(soversions.mk-done) = t]
35646         (common-generated): Append $(lib-names-h-abi) and
35647         $(lib-names-stmp-abi).
35648         * scripts/lib-names.awk: Do not handle multi being set.
35649         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35650         Remove variable.
35651         (abi-lp64_be-ld-soname): Likewise.
35652         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35653         Likewise.
35654         (abi-hard-ld-soname): Likewise.
35655         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35656         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35657         Remove variable.
35658         (abi-o32_hard-ld-soname): Likewise.
35659         (abi-o32_soft_2008-ld-soname): Likewise.
35660         (abi-o32_hard_2008-ld-soname): Likewise.
35661         (abi-n32_soft-ld-soname): Likewise.
35662         (abi-n32_hard-ld-soname): Likewise.
35663         (abi-n32_soft_2008-ld-soname): Likewise.
35664         (abi-n32_hard_2008-ld-soname): Likewise.
35665         (abi-n64_soft-ld-soname): Likewise.
35666         (abi-n64_hard-ld-soname): Likewise.
35667         (abi-n64_soft_2008-ld-soname): Likewise.
35668         (abi-n64_hard_2008-ld-soname): Likewise.
35669         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35670         Likewise.
35671         (abi-64-v2-ld-soname): Likewise.
35672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35673         ld.so entries.
35674         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35675         variable.
35676         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35677         entry.
35678         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35679         variable.
35680         (abi-64-ld-soname): Likewise.
35681         (abi-x32-ld-soname): Likewise.
35682         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35683         entry.
35684         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35686 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
35688         [BZ #14138]
35689         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35690         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35691         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35692         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35693         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35694         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35695         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35696         syscall entry for GLIBC_2.2 symbol version.
35697         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35698         Likewise.
35699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35700         (setrlimit): Likewise.
35701         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35702         Likewise.
35704 2014-09-23  Will Newton  <will.newton@linaro.org>
35706         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35707         _LINUX_ARM_SYSDEP_H include guard too.
35708         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35709         define.
35711 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35713         * sysdeps/unix/sysv/linux/eventfd.c:
35714         Make first argument unsigned.
35715         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35716         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35718 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
35720         [BZ #16852]
35721         * socket/recvmmsg.c (recvmmsg): Drop const argument.
35722         * socket/sys/socket.h: Likewise.
35723         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35725 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35727         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35729 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
35731         * time/tst-ftime.c: New test.
35732         * time/Makefile (tests): Add tst-ftime.
35734 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
35736         * soft-fp/extended.h: Fix comment formatting.
35737         * soft-fp/op-1.h: Likewise.
35738         * soft-fp/op-2.h: Likewise.
35739         * soft-fp/op-4.h: Likewise.
35740         * soft-fp/op-8.h: Likewise.
35741         * soft-fp/op-common.h: Likewise.
35742         * soft-fp/soft-fp.h: Likewise.
35744         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35746 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
35748         [BZ #6652]
35749         * Makeconfig (soversions-default-setname): Remove variable.
35750         ($(common-objpfx)soversions.i): Don't pass default_setname to
35751         soversions.awk.
35752         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35753         oldest_abi to abi-versions.awk.
35754         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35755         * config.make.in (oldest-abi): Remove variable.
35756         * configure.ac (--enable-oldest-abi): Remove configure option.
35757         * configure: Regenerated.
35758         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35759         text.
35760         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35761         * scripts/soversions.awk: Do not handle default_setname variable.
35762         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35763         variable.
35764         * sysdeps/mach/hurd/configure: Regenerated.
35765         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35766         variable.
35767         * sysdeps/unix/sysv/linux/configure: Regenerated.
35769 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35771         * elf/Makefile (CFLAGS-interp.c): Remove.
35772         ($(elf-objpfx)runtime-linker.h): Generate header with linker
35773         path string.
35774         * elf/interp.c: Include generated runtime-linker.h
35776         * Makerules (lib%.so): Don't include $(+interp) in
35777         prerequisites.
35778         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35779         * dlfcn/eval.c: Remove file.
35781         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35782         macros.
35784         [BZ #17266]
35785         * misc/sys/cdefs.h: Define __extern_always_inline for clang
35786         4.2 and newer.
35788         [BZ #17370]
35789         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35791 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35792             Jakub Jelinek  <jakub@redhat.com>
35794         [BZ #17266]
35795         * libio/stdio.h: Check definition of __fortify_function
35796         instead of __extern_always_inline to include bits/stdio2.h.
35797         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35798         check if __extern_always_inline is defined.
35799         [__USE_MISC || __USE_XOPEN]: Likewise.
35800         [__USE_ISOC99] Likewise.
35801         * misc/sys/cdefs.h (__fortify_function): Define only if
35802         __extern_always_inline is defined.
35803         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35804         __extern_always_inline and __extern_inline only for g++-4.3
35805         and newer or a compatible gcc.
35807 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
35809         [BZ #17371]
35810         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35811         last change to handle zero prefix length.
35813 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35815         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35816         _SC_REGEX_VERSION.
35818         * posix/getconf.c (vars): Add _POSIX_IPV6 and
35819         _POSIX_RAW_SOCKETS.
35821 2014-09-13  Allan McRae  <allan@archlinux.org>
35823         * po/ru.po: Update Russian translation from translation project.
35825 2014-09-12  Roland McGrath  <roland@hack.frob.com>
35827         * locale/programs/locale.c (show_locale_vars): Inline local function
35828         into its sole call site.  Clean up some style nits.
35829         (print_item): New function, broken out of ...
35830         (show_info): ... local function here.  Clean up style nits.
35832         * locale/programs/ld-ctype.c (set_one_default): New function, broken
35833         out of ...
35834         (set_class_defaults): ... local function set_default here.
35835         Define set_default as a macro locally to pass constant parameters.
35836         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35837         rather than a shared local.
35839         * stdlib/rpmatch.c (try): New function, broken out of ...
35840         (rpmatch): ... local function here.  Also, prototypify definition.
35842 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
35844         * scripts/soversions.awk: Do not handle configuration names.
35845         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35846         vendor and os variables to soversions.awk.
35847         * configure.ac: Do not modify gnu-* host_os.
35848         * configure: Regenerated
35849         * shlib-versions: Remove first column with configuration names.
35850         * nptl/shlib-versions: Likewise.
35851         * nptl_db/shlib-versions: Likewise.
35852         * sysdeps/hppa/shlib-versions: Likewise.
35853         * sysdeps/m68k/shlib-versions: Likewise.
35854         * sysdeps/mach/hurd/shlib-versions: Likewise.
35855         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35856         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35857         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35858         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35859         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35860         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35861         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35862         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35864         Likewise.
35865         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35866         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35867         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35868         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35869         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35870         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35871         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35872         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35875         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35877         Regenerated.
35878         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35880         Condition symbol version definitions on [HAVE_ELFV2_ABI].
35882         * shlib-versions: Remove OS-specific entries.  Moved to files in
35883         sysdeps.
35884         * sysdeps/mach/hurd/shlib-versions: New file.
35885         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35887         * nptl/shlib-versions: Remove architecture-specific entries.
35888         Moved to files in sysdeps.
35889         * shlib-versions: Likewise.
35890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35891         file.
35892         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35893         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35894         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35895         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35897         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35898         (UDP_NO_CHECK6_RX): Likewise.
35900 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35902         * sysdeps/posix/sysconf.c (__sysconf): Spell
35903         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35905 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35907         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35908         loading.
35909         * iconv/Versions (__gconv_transliterate): Export for use from
35910         gconv modules.
35911         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35912         (struct __gconv_trans_data, __gconv_trans_fct,
35913         __gconv_trans_context_fct, __gconv_trans_query_fct,
35914         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35915         definitions.
35916         (struct __gconv_step_data): Remove __trans member.
35917         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
35918         longer hidden.  Remove unused trans_data argument.
35919         * iconv/gconv_int.h (struct trans_struct): Remove definition.
35920         (__gconv_translit_find): Remove declaration.
35921         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35922         prototype.
35923         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35924         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35925         trans_data argument.  Add hidden definition.
35926         (__gconv_translit_find): Remove.
35927         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35928         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35929         * iconv/skeleton.c: Remove transliteration initialization.
35930         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35931         __gconv_step_data initialization.
35932         * libio/iofwide.c (__libio_translit_): Remove.
35933         (_IO_fwide): Adjust struct __gconv_step_data initialization.
35934         * wcsmbs/btowc.c (__btowc): Likewise.
35935         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35936         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35937         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35938         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35939         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35940         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35941         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35942         * wcsmbs/wctob.c (wctob): Likewise.
35944 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35946         [BZ #16194]
35947         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35948         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
35949         register usage.
35950         * sysdeps/x86/Makefile: Adjust.
35952 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35953             Roland McGrath  <roland@hack.frob.com>
35955         * locale/weight.h: Add include guard.
35956         (findidx): Make static rather than auto; take new parameters
35957         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35958         * locale/weightwc.h: Likewise.
35959         * posix/fnmatch_loop.c
35960         (FCT): Change type of EXTRA from int32_t to wint_t.
35961         Don't include either header inside the function.
35962         Call FINDIDX rather than findidx, and pass new arguments.
35963         #undef FINDIDX at the end of the file.
35964         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35965         FINDIDX before including fnmatch_loop.c for the non-wide version.
35966         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35967         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35968         for the wide version.
35969         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35970         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35971         Pass new arguments to findidx.
35972         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35973         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35974         Don't #include it inside the function.  Pass new arguments to findidx.
35975         * posix/regex_internal.h
35976         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35977         (re_string_elem_size_at): Don't #include it inside the function.
35978         Pass new arguments to findidx.
35979         * string/strcoll_l.c: #include WEIGHT_H at top level.
35980         (get_next_seq): Don't #include it inside the function.
35981         Pass new arguments to findidx.
35982         (get_next_seq_nocache): Likewise.
35983         * string/strxfrm_l.c: #include WEIGHT_H at top level.
35984         (STRXFRM): Don't #include it inside the function.
35985         Pass new arguments to findidx.
35987 2014-09-11  Florian Weimer  <fweimer@redhat.com>
35989         [BZ #17344]
35990         * malloc/malloc.c (unlink): Turn asserts into a call to
35991         malloc_printerr.
35993 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
35995         [BZ #17370]
35996         * libio/wfileops (do_ftell_wide): Free OUT.
35998 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
36000         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
36002 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36004         [BZ #17363]
36005         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
36006         group if the current group is empty.
36008 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36010         * benchtests/bench-memset.c (test_main): Add more test from size
36011         from 32 to 512 bytes.
36012         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36013         Add POWER8 memset object.
36014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36015         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
36016         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
36017         implementation.
36018         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
36019         Likewise.
36020         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
36021         multiarch POWER8 memset optimization.
36022         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
36023         POWER8 memset optimization.
36025         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36026         Remove bzero multiarch objects.
36027         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
36028         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
36029         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
36030         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
36031         Remove define.
36032         [__bzero]: Redefine to specific name.
36033         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
36034         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
36035         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
36036         define.
36037         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36038         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36040 2014-09-10  Florian Weimer  <fweimer@redhat.com>
36042         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
36043         warnings into errors.
36045         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
36046         __cxa_thread_atexit_impl prototype.
36048 2014-09-09  Steve Ellcey  <sellcey@mips.com>
36050         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
36051         Fix capitalization of error message.
36053 2014-09-09  Steve Ellcey  <sellcey@mips.com>
36055         * sysdeps/mips/preconfigure: Modify ABI tests.
36057 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
36059         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
36061 2014-09-07  Roland McGrath  <roland@hack.frob.com>
36062             Carlos O'Donell  <carlos@systemhalted.org>
36064         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
36065         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
36066         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
36067         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
36068         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
36069         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
36070         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
36071         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
36072         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
36073         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
36074         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
36075         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
36076         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
36077         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
36078         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
36079         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
36080         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
36081         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
36082         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
36083         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
36084         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
36085         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
36086         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
36087         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
36088         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
36089         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
36090         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
36091         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
36092         Deconditionalize the code that was previously under [RESET_PID].
36093         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
36094         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
36095         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
36096         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
36097         include sysdep.h.
36099 2014-09-08  Allan McRae  <allan@archlinux.org>
36101         * version.h (RELEASE): Set to "development".
36102         (VERSION): Set to "2.20.90"
36104 2014-09-07  Allan McRae  <allan@archlinux.org
36106         * version.h (RELEASE): Set to "stable".
36107         (VERSION): Set to "2.20"
36108         * include/features.h (__GLIBC_MINOR__): Set to 20.
36110         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
36111         Liebler.
36113         * po/ko.po: Update Korean translation from translation project.
36115 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
36117         [BZ #17354]
36118         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
36119         macro for handling signed relocations.
36121 2014-09-03  Florian Weimer  <fweimer@redhat.com>
36123         [BZ #17325]
36124         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
36125         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
36126         assert.
36127         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
36128         * iconvdata/ibm935.c (BODY): Likewise.
36129         * iconvdata/ibm937.c (BODY): Likewise.
36130         * iconvdata/ibm939.c (BODY): Likewise.
36131         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
36132         assert.
36133         * iconvdata/Makefile (iconv-test.out): Pass module list to test
36134         script.
36135         * iconvdata/run-iconv-test.sh: New test loop for checking for
36136         decoder crashers.
36138 2014-09-02  Khem Raj  <raj.khem@gmail.com>
36140         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
36141         libm_hidden_ver.
36143 2014-09-01  Allan McRae  <allan@archlinux.org>
36145         * po/eo.po: Update Esperanto translation from translation project.
36147         * po/ca.po: Update Catalan translation from translation project.
36149 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36151         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
36152         __proc_dostop call.
36154 2014-08-27  Mark Wielaard  <mjw@redhat.com>
36156         [BZ #17319]
36157         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
36158         to call set_thread_area instead of hand written asm.
36159         (__NR_set_thread_area): Removed define.
36160         (TLS_FLAG_WRITABLE): Likewise.
36161         (__ASSUME_SET_THREAD_AREA): Remove check.
36162         (TLS_EBX_ARG): Remove define.
36163         (TLS_LOAD_EBX): Likewise.
36165 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36167         Simplify atomicity of socket creation in bind.
36169         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
36170         looking up the name after linking the file.
36172 2014-08-27  Allan McRae  <allan@archlinux.org>
36174         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36176 2014-08-26  Florian Weimer  <fweimer@redhat.com>
36178         [BZ #17187]
36179         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
36180         trans_compare, open_translit, __gconv_translit_find):
36181         Remove module loading code.
36183 2014-08-26  Allan McRae  <allan@archlinux.org>
36185         * po/vi.po: Update Vietnamese translation from translation project.
36187         * po/uk.po: Update Ukrainian translation from translation project.
36189         * po/fr.po: Update French translation from translation project.
36191         * po/ru.po: Update Russian translation from translation project.
36193         * po/pl.po: Update Polish translation from translation project.
36195         * po/cs.po: Update Czech translation from translation project.
36197         * po/de.po: Update German translation from translation project.
36199         * po/bg.po: Update Bulgarian translation from translation project.
36201         * po/sv.po: Update Sweedish translation from translation project.
36203         * po/nl.po: Update Dutch translation from translation project.
36205         * po/es.po: Update Spanish translation from translation project.
36207 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36209         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36211         * catgets/Makefile (CPPFLAGS-gencat): Remove.
36212         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36213         (CPPFLAGS-iconvconfig): Likewise.
36214         * timezone/Makefile (CPPFLAGS-zic): Likewise.
36216         * include/libc-symbols.h: Remove unnecessary check for
36217         NOT_IN_libc.
36218         * nptl/pthreadP.h: Likewise.
36219         * sysdeps/aarch64/setjmp.S: Likewise.
36220         * sysdeps/alpha/setjmp.S: Likewise.
36221         * sysdeps/arm/sysdep.h: Likewise.
36222         * sysdeps/i386/setjmp.S: Likewise.
36223         * sysdeps/m68k/setjmp.c: Likewise.
36224         * sysdeps/posix/getcwd.c: Likewise.
36225         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36226         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36227         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36228         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36229         * sysdeps/sh/sh3/setjmp.S: Likewise.
36230         * sysdeps/sh/sh4/setjmp.S: Likewise.
36231         * sysdeps/unix/alpha/sysdep.h: Likewise.
36232         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36233         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36234         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36235         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36238         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36239         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36240         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36241         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36242         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36243         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36245         * sysdeps/x86_64/setjmp.S: Likewise.
36247 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
36249         [BZ #17263]
36250         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36251         <stdint.h>.
36252         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36253         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36255 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36257         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36259         [BZ #17262]
36260         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36261         and __x86_64__ when disabling x87 inline functions.
36263 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36265         [BZ #17259]
36266         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36267         asm statement with __cpuid_count.
36269 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
36271         * configure.ac: Change __ehdr_start code to dereference the struct.
36272         Run readelf on the output to look for relocations.
36273         * configure: Regenerated.
36275 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
36277         [BZ #17261]
36278         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36279         value to 0.
36280         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36282 2014-08-12  Roland McGrath  <roland@hack.frob.com>
36284         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36286 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
36288         [BZ #16892]
36289         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36290         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36292 2014-08-12  Sean Anderson  <seanga2@gmail.com>
36294         * malloc/malloc.c: Fix typo in comment.
36296 2014-08-09  Allan McRae  <allan@archlinux.org>
36298         * Regenerate libc.po.
36300 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
36302         * intl/tst-gettext2.sh: Check every lang file for creation.
36304 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36306         * sysdeps/aarch64/fpu/math_private.h
36307         (libc_feholdsetround_noex_aarch64_ctx): New function.
36309 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36311         * sysdeps/arm/armv6/strcpy.S (strcpy):
36312         Fix performance issue in misaligned cases.
36314 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36316         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36317         Move definition from termios.h.
36318         (struct termio): Likewise.
36319         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36320         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36321         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36322         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36323         Likewise.
36324         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36325         Move definition to ioctl-types.h
36326         (struct termio): Likewise.
36327         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36328         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36329         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36330         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36331         Likewise.
36333 2014-08-05  Richard Henderson  <rth@redhat.com>
36335         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36336         exceptions.
36337         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36338         Add fraiseexcpt.
36339         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36340         Use __feraiseexcept.
36341         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36342         Protect libm symbols with IS_IN_libm.
36344         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36346 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
36348         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36350 2014-08-04  Will Newton  <will.newton@linaro.org>
36352         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36353         file.
36355 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
36357         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36358         variants for each function.
36360 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36362         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36363         appended ...
36364         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36365         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36366         appended ...
36367         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36368         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36369         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36370         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36371         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36372         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36373         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36374         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36375         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36376         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36377         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36378         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36379         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36380         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36381         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36382         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36383         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36384         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36385         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36386         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36387         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36388         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36389         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36390         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36391         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36392         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36393         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36394         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36395         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36396         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36397         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36398         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36399         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36400         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36401         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36402         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36403         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36404         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36405         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36406         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36407         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36408         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36409         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36410         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36411         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36412         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36413         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36414         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36415         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36416         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36417         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36418         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36419         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36420         Update #include.
36421         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36422         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36424 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36426         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36427         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36428         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36429         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36430         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36431         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36433 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36435         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36436         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36437         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36438         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36440 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36442         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36443         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36444         (__libc_vfork): Define function under this name.
36445         (__vfork): Define as an alias.
36446         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36447         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36449 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36451         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36452         that was previously under [RESET_PID].
36453         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36455 2014-08-04  Andreas Schwab  <schwab@suse.de>
36457         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36459 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
36461         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36462         (main): Likewise.
36464 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36466         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36468 2014-08-01  Richard Henderon  <rth@redhat.com>
36470         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36471         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36472         typo in exact zero test.
36473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36474         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36477 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36479         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36480         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36481         * sysdeps/arm/sysdep.h: ... here.
36482         [!__ASSEMBLER__]: Include <stdint.h>.
36484 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36486         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36487         (HAVE_WCTYPE_H): Likewise.
36488         (HAVE_ISWCTYPE): Likewise.
36489         (ENABLE_NLS): Likewise.
36490         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36491         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36493         * posix/regex_internal.c: Check if DEBUG is defined and is
36494         set.
36496         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36497         (HAVE_MBSRTOWCS): Likewise.
36498         * posix/fnmatch.c: Include string.h unconditionally.
36500 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36502         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36503         reversal.
36505 2014-07-31  Roland McGrath  <roland@hack.frob.com>
36507         * sysdeps/generic/safe-fatal.h: New file.
36508         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36509         * nptl/forward.c: Include it.
36510         (__pthread_unwind): Use __safe_fatal as default action, rather
36511         than a bogus use of INTERNAL_SYSCALL that could never work.
36513         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36514         * configure.ac (libc_cv_builtin_trap): New test.
36515         * configure: Regenerated.
36516         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36517         (ABORT_INSTRUCTION): Define using __builtin_trap.
36519         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36520         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36521         * sysdeps/nptl/nptl-signals.h: New file.
36522         * nptl/pthreadP.h: Include <nptl-signals.h>.
36524 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36526         * sysdeps/s390/s390-64/utf16-utf32-z9.c
36527         (ONE_DIRECTION): Define.
36528         * sysdeps/s390/s390-64/utf8-utf16-z9.c
36529         (ONE_DIRECTION): Define.
36530         * sysdeps/s390/s390-64/utf8-utf32-z9.c
36531         (ONE_DIRECTION): Define.
36533 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36535         * sysdeps/s390/Makefile: Delete file.
36536         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36537         * sysdeps/s390/__longjmp.c: Delete file.
36538         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36539         Remove fields __flags and __reserved.
36540         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36541         and add versioning.
36542         * sysdeps/s390/rtld-__longjmp.c: Delete file.
36543         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36544         * sysdeps/s390/rtld-setjmp.S: Likewise.
36545         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36546         * sysdeps/s390/s390-32/__longjmp.c: ... here.
36547         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36548         * sysdeps/s390/s390-32/setjmp.S: ... here.
36549         Add versioning.
36550         (__sigsetjmp): Remove setting __flags field.
36551         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36552         * sysdeps/s390/s390-64/__longjmp.c: ... here.
36553         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36554         * sysdeps/s390/s390-64/setjmp.S: ... here.
36555         Add versioning.
36556         (__sigsetjmp): Remove setting __flags field.
36557         * sysdeps/s390/setjmp.S: Delete file.
36558         * sysdeps/s390/sigjmp.c: Likewise.
36559         * sysdeps/s390/v1-longjmp.c: Likewise.
36560         * sysdeps/s390/v1-setjmp.h: Likewise.
36561         * sysdeps/s390/v1-sigjmp.c: Likewise.
36562         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36563         Remove v1-longjmp_chk.
36564         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36565         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36566         Include debug/longjmp_chk.c and add versioning.
36567         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36568         Include nptl/pt-longjmp.c and add versioning.
36569         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36570         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36571         Include __longjmp.c.
36572         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36573         Move to ...
36574         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36575         (__getcontext): Remove setting __flags field.
36576         Add versioning.
36577         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36578         Don't restore upper high grps.
36579         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36580         Likewise.
36581         (__swapcontext): Remove setting uc_flags field.
36582         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36583         Delete file.
36584         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36585         Include __longjmp.c.
36586         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36587         Move to ...
36588         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36589         (__getcontext): Remove setting __flags field.
36590         Add versioning.
36591         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36592         (__swapcontext): Remove setting uc_flags field.
36593         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36594         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36595         Remove fields uc_high_gprs and __reserved.
36596         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36597         New file with reverted content.
36598         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36599         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36600         Regenerated.
36601         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36602         Regenerated.
36604 2014-07-31  Andreas Schwab  <schwab@suse.de>
36606         * config.h.in (HAVE_IFUNC): Define to 0.
36607         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36608         definedness.
36610 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
36612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36613         memmove-avx-unaligned, memcpy-avx-unaligned and
36614         mempcpy-avx-unaligned.
36615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36616         Add tests for AVX memcpy functions.
36617         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36618         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36619         memcpy_chk.
36620         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36621         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36622         memmove_chk.
36623         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36624         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36625         mempcpy_chk.
36626         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36627         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36628         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36630 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36632         [BZ #17213]
36633         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36634         powerpc64le.
36636 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
36638         [BZ #16839]
36639         * manual/llio.texi: Add section about open file description locks.
36640         * manual/examples/ofdlocks.c: Example of open file description
36641         lock usage.
36642         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36643         F_OFD_SETLK, and F_OFD_SETLKW.
36645 2014-07-23  Allan McRae  <allan@archlinux.org>
36647         * po/es.po: Update Spanish translation from translation project.
36649 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
36651         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36653 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
36655         [BZ #17078]
36656         * sysdeps/arm/dl-machine.h (elf_machine_rela)
36657         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36658         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36660 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
36662         [BZ #17088]
36663         * math/fesetenv.c (__fesetenv)
36664         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36665         * math/feupdateenv.c (__feupdateenv)
36666         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36668         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36669         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36670         (__ASSUME_SOCKETCALL): Do not define.
36672         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36673         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36674         (__ASSUME_SOCKETCALL): Do not define.
36675         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36676         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36677         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36678         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36679         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36680         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36681         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36682         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36684         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36685         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36686         (__ASSUME_SOCKETCALL): Do not define.
36687         (__ASSUME_IPC64): Define unconditionally.
36688         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36689         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36690         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36691         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36692         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36693         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36694         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36695         Likewise.
36697         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36698         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36699         (__ASSUME_SOCKETCALL): Do not define.
36700         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36701         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36702         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36703         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36704         (__ASSUME_REQUEUE_PI): Define unconditionally.
36705         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36706         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36707         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36708         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36709         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36710         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36712         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36713         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36714         (__ASSUME_SOCKETCALL): Do not define.
36715         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36716         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36717         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36718         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36719         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36720         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36722         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36723         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36724         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36725         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36726         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36727         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36728         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36729         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36730         (__ASSUME_GETCPU_SYSCALL): Likewise.
36732         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36733         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
36734         cases for individual architectures.
36735         * sysdeps/gnu/configure: Regenerated.
36736         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36737         LIBC_SLIBDIR_RTLDDIR.
36738         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36739         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36740         LIBC_SLIBDIR_RTLDDIR.
36741         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36743         LIBC_SLIBDIR_RTLDDIR.
36744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36745         Regenerated.
36746         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36747         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36748         file.
36749         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36750         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36751         file.
36752         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36753         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36754         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36755         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36757         * sysdeps/aarch64/shlib-versions: Move to ...
36758         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36759         * sysdeps/alpha/shlib-versions: Move to ...
36760         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36761         * sysdeps/arm/shlib-versions: Move to ...
36762         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36763         * sysdeps/hppa/shlib-versions: Move all contents except for
36764         libgcc_s entry to ...
36765         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
36766         entry from ...
36767         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
36768         * sysdeps/ia64/shlib-versions: Move to ...
36769         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
36770         entry from ...
36771         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
36772         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36773         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36774         * sysdeps/microblaze/shlib-versions: Move to ...
36775         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36776         * sysdeps/mips/shlib-versions: Move to ...
36777         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
36778         entry from ...
36779         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
36780         * sysdeps/tile/shlib-versions: Move to ...
36781         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36782         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36783         from ...
36784         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
36785         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36786         entry from ...
36787         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
36789 2014-07-17  Will Newton  <will.newton@linaro.org>
36791         * sysdeps/arm/bits/atomic.h
36792         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36793         (__arch_compare_and_exchange_bool_16_int): Likewise.
36794         (__arch_compare_and_exchange_bool_64_int): Likewise.
36796         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36797         into an #else block.
36799 2014-07-16  Roland McGrath  <roland@hack.frob.com>
36801         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36802         just Linux configurations.  Test empirically that the compiler sets
36803         __ARM_EABI__, rather than using the tuple to decide.
36804         * sysdeps/arm/preconfigure: Regenerated.
36805         * sysdeps/unix/sysv/linux/arm/configure: File removed.
36806         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36807         contents appended ...
36808         * sysdeps/arm/configure.ac: ... here.
36809         * sysdeps/arm/configure: Regenerated.
36811 2014-07-15  Roland McGrath  <roland@hack.frob.com>
36813         * nptl/pthread_kill.c: New file.
36814         * nptl/pthread_sigmask.c: New file.
36815         * nptl/pthread_sigqueue.c: New file.
36817         * sysdeps/nptl/lowlevellock.h: New file.
36818         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36819         * sysdeps/nptl/lowlevellock-futex.h: New file.
36821         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36822         Remove dead declarations.
36824 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
36826         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36827         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36828         config-cflags-avx2.
36829         * sysdeps/x86_64/configure.ac: Likewise.
36830         * sysdeps/i386/configure: Regenerated.
36831         * sysdeps/x86_64/configure: Likewise.
36832         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36833         memset-avx2 only if config-cflags-avx2 is yes.
36834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36835         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36836         defined.
36837         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36838         only if HAVE_AVX2_SUPPORT is defined.
36839         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36841 2014-07-14  Alan Modra  <amodra@gmail.com>
36843         [BZ #17153]
36844         * elf/elf.h (DT_PPC64_NUM): Correct value.
36845         * NEWS: Add to fixed bug list.
36847 2014-07-13  Jim Meyering  <meyering@fb.com>
36849         [BZ 17150]
36850         regex: don't deref NULL upon heap allocation failure
36851         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36852         failure in one more place.
36853         To trigger the segfault, configure grep -with-included-regex,
36854         build it, and run these commands:
36855         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36857 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36859         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36861 2014-07-11  Richard Henderson  <rth@redhat.com>
36863         * sysdeps/aarch64/libm-test-ulps: Update.
36865 2014-07-10  Florian Weimer  <fweimer@redhat.com>
36867         [BZ #17135]
36868         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36869         * nptl/allocatestack.c (__nptl_setxid_error): New function.
36870         (__nptl_setxid): Initialize error member.  Call
36871         __nptl_setxid_error.
36872         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36873         * nptl/descr.h (struct xid_command): Add error member.
36874         * nptl/tst-setuid3.c: New file.
36875         * nptl/Makefile (tests): Add it.
36877 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36879         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36880         New define.
36881         (__lll_trylock): Use __lll_base_trylock.
36882         (__lll_cond_trylock): Likewise.
36884 2014-07-10  Roland McGrath  <roland@hack.frob.com>
36886         * nptl/pthread_create.c (start_thread): Use atomic_or and
36887         lll_futex_wake directly rather than lll_robust_dead.
36888         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36889         (lll_robust_dead): Macro removed.
36890         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36891         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36892         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36893         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36894         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36895         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36896         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36897         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36898         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36899         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36900         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36901         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36902         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36903         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36904         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36906         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36907         Use atomic_compare_and_exchange_val_acq directly rather than
36908         lll_robust_trylock.
36909         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36910         (__lll_robust_trylock, lll_robust_trylock): Removed.
36911         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36912         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36913         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36914         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36915         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36916         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36917         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36918         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36919         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36920         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36921         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36922         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36923         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36924         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36926 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36928         * manual/locale.texi (Locale Names): New section documenting
36929         locale name syntax.  Adjust menu and node chaining accordingly.
36930         (Choosing Locale): Reference Locale Names, Locale Categories.
36931         Mention setting LC_ALL=C.  Reflect that name syntax is now
36932         documented.
36933         (Locale Categories): New section title.  Reference Locale Names.
36934         LC_ALL is an environment variable, but not a category.
36935         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36936         description, now in Locale Name.  Reference that section.  Locale
36937         name syntax is now documented.
36939 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36941         [BZ #17137]
36942         * locale/findlocale.c (name_present, valid_locale_name): New
36943         functions.
36944         (_nl_find_locale): Use the loc_name variable to store name
36945         candidates.  Call name_present and valid_locale_name to check and
36946         validate locale names.  Return an error if the locale is invalid.
36948 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36950         * locale/setlocale.c (setlocale): Use strdup for allocating
36951         composite name copy.
36953 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36955         Sync up with gnulib.
36956         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36957         [!_LIBC && ENABLE_NLS]: Include gettext.h.
36958         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36959         and _GL_ARG_NONNULL.
36960         [USE_UNLOCKED_IO]: Include unlocked-io.h.
36961         [!_LIBC]: Include code for Windows and Cygwin.
36962         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36963         Include prototype for int strerror_r.
36964         [!_LIBC] (is_open): New function.
36965         (flush_stdout): New function.
36966         (print_errno_message): Use it.
36967         (error): Likewise.
36968         (error_at_line): Likewise.
36969         (error_tail) Add function attribute macros.  Use
36970         __builtin_expect.
36972         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36974         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36976         * io/ftw.c: Include sys/param.h unconditionally.
36978         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36980         [BZ #17125]
36981         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36982         libc_freeres_ptr.
36983         (freecache): New function to free CACHE on exit.
36985         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36986         initialization.
36988 2014-07-09  David S. Miller  <davem@davemloft.net>
36990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36992         * sysdeps/sparc/nptl/internaltypes.h: Delete.
36993         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36994         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36995         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36996         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36997         * sysdeps/sparc/nptl/sem_init.c: Likewise.
36998         * sysdeps/sparc/nptl/sem_post.c: Likewise.
36999         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
37000         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
37001         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
37002         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
37003         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
37004         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
37006 2014-07-09  Andreas Schwab  <schwab@suse.de>
37008         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
37009         output.
37010         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
37011         (do_test): Likewise.
37013         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37015 2014-07-09  Will Newton  <will.newton@linaro.org>
37017         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
37018         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
37019         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
37020         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
37021         * sysdeps/hppa/start.S (_start): Likewise.
37023 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37025         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
37027         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
37028         defined.
37030 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37032         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
37033         after checking that it is non-NULL.
37035         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
37037 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37039         * sysdeps/powerpc/memmove.c: Remove file.
37040         * sysdeps/powerpc/powerpc32/power4/memcopy.h
37041         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
37042         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37043         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
37044         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
37045         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
37046         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
37047         string memmove instead of removed powerpc one.
37049         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37050         [weak_alias]: Fix compiler warning due trailing data.
37051         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
37052         [weak_alias]: Likewise.
37053         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
37054         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
37056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37057         (__libc_ifunc_impl_list): Add memmove functions.
37059 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37061         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
37062         Remove code.
37063         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
37064         Likewise.
37065         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
37066         Likewise.
37067         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
37068         Likewise.
37069         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
37070         Likewise.
37071         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
37072         Likewise.
37073         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
37074         Likewise.
37075         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
37076         Likewise.
37077         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
37078         Likewise.
37079         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
37080         Likewise.
37081         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
37082         Likewise.
37083         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
37084         Likewise.
37085         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
37086         Likewise.
37087         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
37088         Likewise.
37089         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37090         Likewise.
37091         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
37092         Likewise.
37093         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
37094         Likewise.
37096 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37098         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
37099         to avoid alignment traps in non-cacheable memory.
37100         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37102         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
37103         multiarch objects.
37104         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
37105         file: multiarch power7 memmove.
37106         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
37107         multiarch default memmove.
37108         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
37109         multiarch memove for powerpc32/power4.
37111         * string/bcopy.c: Use full path to include memmove.c.
37112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
37113         multiarch objects.
37114         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
37115         bcopy for powerpc64.
37116         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
37117         bcopy for powerpc64.
37118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
37119         and memmove implementations.
37120         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
37121         optimized multiarch memmove for POWER7/powerpc64.
37122         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
37123         default multiarch memmove for powerpc64.
37124         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
37125         multiarch for powerpc64.
37126         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
37127         for POWER7/powerpc64.
37128         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
37129         memmove for POWER7/powerpc64.
37131         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
37132         glibc default one.
37134         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
37135         __ELF_NATIVE_CLASS equal to 64.
37137 2014-07-07  Roland McGrath  <roland@hack.frob.com>
37139         * sysdeps/nptl/lowlevellock.h: File removed.
37141         * NEWS: NPTL is no longer an add-on!
37142         * nptl/internaltypes.h: Moved ...
37143         * sysdeps/nptl/internaltypes.h: ... here.
37144         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
37145         * sysdeps/nptl/fork.c: Likewise.
37146         * sysdeps/nptl/gai_misc.h: Likewise.
37147         * sysdeps/nptl/librt-cancellation.c: Likewise.
37148         * sysdeps/nptl/jmp-unwind.c: Likewise.
37149         * sysdeps/nptl/setxid.h: Likewise.
37150         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
37151         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
37152         * sysdeps/unix/sysv/linux/arm/Implies: New file.
37153         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
37154         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
37155         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
37156         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
37157         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
37158         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
37159         * sysdeps/unix/sysv/linux/mips/Implies: New file.
37160         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
37161         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
37162         * sysdeps/unix/sysv/linux/sh/Implies: New file.
37163         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
37164         * sysdeps/unix/sysv/linux/tile/Implies: New file.
37165         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
37166         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
37167         * nptl/Makeconfig: Moved ...
37168         * sysdeps/nptl/Makeconfig: ... here.
37169         * nptl/configure: File removed.
37170         * nptl/ANNOUNCE: File removed.
37171         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
37172         * sysdeps/unix/sysv/linux/configure: Regenerated.
37174         * nptl/Makefile (routines): Add libc_pthread_init,
37175         libc_multiple_threads, register-atfork and unregister-atfork.
37176         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
37177         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
37178         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
37179         pthread-pi-defines.sym, structsem.sym.
37180         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
37181         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
37182         [$(subdir) = nptl] (tests): Add tst-setgetname.
37183         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
37184         * sysdeps/unix/sysv/linux/sigaction.c: Just include
37185         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37186         [!LIBC_SIGACTION]: Remove aliases.
37187         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37188         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37189         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37190         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37191         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37192         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37193         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37194         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37195         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37196         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37197         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37198         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37199         __libc_allocate_rtsig_private.
37200         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37201         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37202         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37203         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37204         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37205         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37206         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37207         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37208         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37209         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37210         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37211         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37212         * nptl/internaltypes.h: ... here.
37213         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37214         * sysdeps/nptl/jmp-unwind.c: ... here.
37215         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37216         * nptl/libc-lowlevellock.c: ... here.
37217         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37218         * nptl/libc_multiple_threads.c: ... here.
37219         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37220         * nptl/libc_pthread_init.c: ... here.
37221         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37222         * nptl/lowlevelbarrier.sym: ... here.
37223         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37224         * nptl/lowlevelcond.sym: ... here.
37225         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37226         * nptl/lowlevellock.c: ... here.
37227         * nptl/lowlevellock.h: Moved ...
37228         * sysdeps/nptl/lowlevellock.h: ... here.
37229         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37230         * nptl/lowlevelrobustlock.c: ... here.
37231         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37232         * nptl/lowlevelrobustlock.sym: ... here.
37233         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37234         * nptl/lowlevelrwlock.sym: ... here.
37235         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37236         * nptl/pt-fork.c: ... here.
37237         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37238         * nptl/pthread-pi-defines.sym: ... here.
37239         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37240         * nptl/pthread_attr_getaffinity.c: ... here.
37241         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37242         * nptl/pthread_attr_setaffinity.c: ... here.
37243         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37244         * nptl/pthread_mutex_cond_lock.c: ... here.
37245         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37246         Update #include.
37247         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37248         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37249         * nptl/pthread_once.c: ... here, replacing old file.
37250         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37251         * nptl/pthread_yield.c: ... here.
37252         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37253         * nptl/register-atfork.c: ... here.
37254         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37255         * nptl/sem_post.c: ... here.
37256         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37257         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37258         * nptl/sem_timedwait.c: ... here.
37259         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37260         * nptl/sem_trywait.c: ... here.
37261         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37262         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37263         * nptl/sem_wait.c: ... here.
37264         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37265         * nptl/structsem.sym: ... here.
37266         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37267         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37268         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37269         * nptl/unregister-atfork.c: ... here.
37270         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37271         * nptl/unwindbuf.sym: ... here.
37272         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37273         * sysdeps/nptl/fork.c: ... here.
37274         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37275         * sysdeps/nptl/fork.h: ... here.
37276         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37277         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37278         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37279         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37280         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37281         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37282         * sysdeps/unix/sysv/linux/getpid.c: ... here.
37283         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37284         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37285         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37286         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37287         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37288         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37289         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37290         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37291         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37292         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37293         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37294         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37295         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37296         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37297         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37298         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37299         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37300         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37301         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37302         * sysdeps/unix/sysv/linux/raise.c: ... here.
37303         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37304         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37305         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37306         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37307         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37308         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37309         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37310         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37311         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37312         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37313         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37314         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37315         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37316         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37317         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37319 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37321         * sysdeps/generic/memcopy.h: Add comment for
37322         MEMCPY_OK_FOR_FWD_MEMMOVE.
37324 2014-07-04  Will Newton  <will.newton@linaro.org>
37326         * string/memchr.c: Merge from gnulib.
37327         [_LIBC]: Remove conditionals.
37328         (__ptr_t): Remove define.
37329         (LONG_MAX_32_BITS): Likewise.
37330         (LONG_MAX): Likewise.
37331         (MEMCHR): Use ANSI prototype and optimize algorithm.
37333         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37335 2014-07-03  Roland McGrath  <roland@hack.frob.com>
37337         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37338         (lll_futex_timed_wait_bitset): Fix syscall argument count.
37340         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37341         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37342         in a bare environment with no <stdlib.h> installed.
37343         * sysdeps/nptl/configure: Regenerated.
37345         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37347         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37348         AC_EGREP_CPP for kernel header checks, so they only succeed if
37349         including <linux/version.h> actually works right.
37350         * sysdeps/unix/sysv/linux/configure: Regenerated.
37352         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37353         value so it's not diagnosed as unused.
37355         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37356         thing) with "ifeq ($(subdir),rt)".
37358 2014-07-03  Richard Henderson  <rth@redhat.com>
37360         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37361         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37362         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37364         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37365         (math_force_eval): New.
37367         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37368         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37370         * sysdeps/alpha/fpu/s_round.c: Remove file.
37371         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37373         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37374         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37375         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37376         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37377         (_dl_start, print_statistics): Likewise.
37378         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37379         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37381         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37382         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37383         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37384         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37385         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37386         (HP_SMALL_TIMING_AVAIL): Define.
37387         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37388         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37389         (HP_SMALL_TIMING_AVAIL): Define.
37390         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37391         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37393         * sysdeps/aarch64/hp-timing.h: New file.
37395         * sysdeps/generic/hp-timing.h: Remove dead comment.
37396         * sysdeps/generic/hp-timing-common.h: New file.
37397         * sysdeps/alpha/hp-timing.h: Include it.
37398         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37399         * sysdeps/i386/i686/hp-timing.h: Likewise.
37400         * sysdeps/ia64/hp-timing.h: Likewise.
37401         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37402         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37403         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37404         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37405         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37406         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37407         (hp_timing_t): New.
37409         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37410         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37411         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37412         * elf/rtld.c (_dl_start_final): Likewise.
37413         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37414         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37415         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37416         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37417         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37418         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37419         (HP_TIMING_DIFF_INIT): Remove.
37420         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37421         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37422         (HP_TIMING_DIFF_INIT): Remove.
37423         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37424         * sysdeps/i386/i686/hp-timing.c: Remove file.
37425         * sysdeps/x86_64/hp-timing.c: Remove file.
37426         * sysdeps/ia64/hp-timing.c: Remove file.
37427         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37428         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37429         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37430         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37432         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37433         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37434         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37435         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37436         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37437         (HP_TIMING_ACCUM): Remove.
37438         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37439         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37440         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37442         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37443         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37444         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37445         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37446         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37447         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37448         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37449         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37451         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37453 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
37455         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37457 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37459         Sync up with gettext.
37460         * intl/loadmsgcat.c: Define O_BINARY if not defined.
37461         [_MSC_VER]: Include malloc.h
37462         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37463         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37464         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
37465         TEMP_FAILURE_RETRY.  Cast return of alloca.
37466         [!_LIBC] Call gl_rwlock_init.
37467         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37469 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37471         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37472         before checking its value.
37474 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37476         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37478         * debug/memcpy_chk.c: Don't include pagecopy.h.
37479         * debug/mempcpy_chk.c: Likewise.
37480         * string/memcpy.c: Likewise.
37481         * string/memmove.c: Likewise.
37482         * sysdeps/powerpc/memmove.c: Likewise.
37483         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
37484         definition of PAGE_COPY_FWD_MAYBE here...
37485         * sysdeps/generic/pagecopy.h: ... from here.
37486         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37488 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37489             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37491         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37493         optimizations.
37494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37495         (__libc_ifunc_impl_list): Likewise.
37496         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37497         multiarch strcat for PPC64.
37498         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37499         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37501 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37503         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37505 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37507         * intl/loadmsgcat.c: Remove declaration of
37508         get_sysdep_segment_value.
37509         (get_sysdep_segment_value): Use ISO C style.
37510         (_nl_load_domain): Use ISO C style.  Get rid of redundant
37511         semicolon.  Fix typo and formatting in comment.
37512         (_nl_unload_domain): Use ISO C style.
37514         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37516 2014-07-02  Will Newton  <will.newton@linaro.org>
37518         * malloc/obstack.c: Merge from gnulib master.
37519         [HAVE_CONFIG_H]: Remove conditional code.
37520         [!_LIBC]: Include config.h.
37521         [!ELIDE_CODE]: Don't include inttypes.h, include
37522         stdint.h unconditionally.
37523         (print_and_abort): Mark as _Noreturn.
37524         (_obstack_allocated_p): Mark as __attribute_pure__.
37525         (obstack_free): Rename to __obstack_free.
37526         [!__attribute__]: Remove conditional code.
37527         * malloc/obstack.h: Merge from gnulib master.
37528         [__cplusplus]: Move conditional down.
37529         [!__attribute_pure__]: Define __attribute_pure__ here
37530         if it is not already defined.
37531         (_obstack_memory_used): Mark as __attribute_pure__.
37532         [!__obstack_free]: Define as obstack_free.
37533         [__GNUC__]: Remove check for ancient NeXT gcc.
37535 2014-07-02  Will Newton  <will.newton@linaro.org>
37536             Paul Eggert  <eggert@cs.ucla.edu>
37538         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37540 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37542         * resolv/gethnamaddr.c: Add comment warning that the file is
37543         not maintained.
37545 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
37547         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37548         entries.
37550         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37551         entry for aio_cancel and aio_cancel64.
37552         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37553         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37554         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37555         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37556         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37557         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37558         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37559         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37560         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37561         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37562         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37563         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37564         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37566 2014-07-01  Roland McGrath  <roland@hack.frob.com>
37568         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37569         * nptl/pthread_mutex_lock.c: Likewise.
37570         * nptl/pthread_mutex_timedlock.c: Likewise.
37571         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37573 2014-07-01  Richard henderson  <rth@redhat.com>
37575         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37576         (__isnan, __isnanl): Remove.
37577         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37579         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37581 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37583         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37585 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37587         * resolv/nss_dns/dns-host.c (getanswer_r)
37588         [MULTI_PTRS_ARE_ALIASES]: Remove code.
37590 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
37592         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37593         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37594         undefine.
37595         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37596         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37598 2014-07-01  Roland McGrath <roland@hack.frob.com>
37600         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37601         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37603         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37604         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37606         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37607         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37608         ... here.
37609         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37610         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37612         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37613         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37614         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37615         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37617         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37618         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37619         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37620         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37621         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37622         Moved ...
37623         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37624         ... here.
37625         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37626         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37627         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37628         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37629         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37630         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37631         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37632         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37633         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37634         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37635         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37636         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37637         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37638         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37639         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37640         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37641         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37642         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37643         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37644         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37645         ... here.
37646         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37647         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37648         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37649         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37650         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37651         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37652         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37653         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37655 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
37657         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37658         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37659         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37660         Add sysdep.
37662 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37666 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37668         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37669         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37671         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37673         * sysdeps/arm/libm-test-ulps: Regenerated.
37675 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37676             Roland McGrath <roland@hack.frob.com>
37678         * test-skeleton.c (signal_handler): Kill the whole process group
37679         before killing the child individually.
37680         (main): Report any failure on `setpgid'.
37682 2014-06-30  Roland McGrath  <roland@hack.frob.com>
37684         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37685         from _TLS_H to _ARM_NPTL_TLS_H.
37686         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37687         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37689 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37691         [BZ #16539]
37692         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37693         (__expm1l): Return argument unchanged when small but not
37694         subnormal.
37696         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37697         include macro name.
37698         (_FP_UNPACK_RAW_1_P): Likewise.
37699         (_FP_PACK_RAW_1): Likewise.
37700         (_FP_PACK_RAW_1_P): Likewise.
37701         (_FP_MUL_MEAT_1_wide): Likewise.
37702         (_FP_MUL_MEAT_DW_1_hard): Likewise.
37703         (_FP_MUL_MEAT_1_hard): Likewise.
37704         (_FP_DIV_MEAT_1_imm): Likewise.
37705         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37706         (_FP_DIV_MEAT_1_udiv): Likewise.
37707         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37708         (_FP_UNPACK_RAW_2): Likewise.
37709         (_FP_UNPACK_RAW_2_P): Likewise.
37710         (_FP_PACK_RAW_2): Likewise.
37711         (_FP_PACK_RAW_2_P): Likewise.
37712         (_FP_MUL_MEAT_DW_2_wide): Likewise.
37713         (_FP_MUL_MEAT_2_wide): Likewise.
37714         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37715         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37716         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37717         (_FP_MUL_MEAT_2_gmp): Likewise.
37718         (_FP_DIV_MEAT_2_udiv): Likewise.
37719         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37720         (_FP_FRAC_SRL_4): Likewise.
37721         (_FP_FRAC_SRST_4): Likewise.
37722         (_FP_FRAC_SRS_4): Likewise.
37723         (_FP_UNPACK_RAW_4): Likewise.
37724         (_FP_UNPACK_RAW_4_P): Likewise.
37725         (_FP_PACK_RAW_4): Likewise.
37726         (_FP_PACK_RAW_4_P): Likewise.
37727         (_FP_MUL_MEAT_DW_4_wide): Likewise.
37728         (_FP_MUL_MEAT_4_wide): Likewise.
37729         (_FP_MUL_MEAT_4_gmp): Likewise.
37730         (umul_ppppmnnn): Likewise.
37731         (_FP_DIV_MEAT_4_udiv): Likewise.
37732         (__FP_FRAC_ADD_4): Likewise.
37733         (__FP_FRAC_SUB_3): Likewise.
37734         (__FP_FRAC_SUB_4): Likewise.
37735         (__FP_FRAC_DEC_3): Likewise.
37736         (__FP_FRAC_DEC_4): Likewise.
37737         (__FP_FRAC_ADDI_4): Likewise.
37738         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37739         (_FP_FRAC_SRL_8): Likewise.
37740         (_FP_FRAC_SRS_8): Likewise.
37742         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37743         include macro name.
37744         (FP_UNPACK_RAW_EP): Likewise.
37745         (FP_PACK_RAW_E): Likewise.
37746         (FP_PACK_RAW_EP): Likewise.
37747         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37748         (_FP_ISSIGNAN): Likewise.
37749         (_FP_ADD_INTERNAL): Likewise.
37750         (_FP_FMA): Likewise.
37751         (_FP_CMP): Likewise.
37752         (_FP_SQRT): Likewise.
37753         (_FP_TO_INT): Likewise.
37754         (_FP_FROM_INT): Likewise.
37755         (FP_EXTEND): Likewise.
37756         (_FP_DIV_MEAT_N_loop): Likewise.
37758 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37760         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37761         throughout.
37763 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
37765         [BZ #17097]
37766         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37767         result with correct sign in case of exponents that produce
37768         overflow except for X very close to 1.
37770 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
37772         mktime: merge #if/#ifdef usage from glibc
37773         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37774         as that works with both Glibc's and Gnulib's style.
37775         See thread starting at Siddhesh Poyarekar's bug report at:
37776         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37778 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37780         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37781         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37782         * sysdeps/tile/tilegx/memmove.c: Remove file.
37784 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37786         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37787         abi-name definition.
37788         * scripts/soversions.awk: Do not handle or generate ABI lines.
37789         * shlib-versions: Remove ABI entries.
37790         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37791         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37793 2014-06-27  Roland McGrath  <roland@hack.frob.com>
37795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37796         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37797         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37798         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37799         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37800         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37802         Moved ...
37803         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37804         ... here.
37805         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37806         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37808         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37810         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37812         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37814         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37816         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37818         Moved ...
37819         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37821         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37823         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37825         Moved ...
37826         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37828         Moved ...
37829         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37831         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37832         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37833         Moved ...
37834         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37836         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37838         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37840         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37842         Moved ...
37843         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37844         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37845         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37846         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37847         Moved ...
37848         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37849         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37850         Moved ...
37851         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37852         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37853         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37854         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37855         Moved ...
37856         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37857         ... here.
37858         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37859         Identical file removed.
37860         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37861         Moved ...
37862         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37863         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37864         Identical file removed.
37865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37866         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37867         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37868         Moved ...
37869         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37870         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37871         Identical file removed.
37872         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37873         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37874         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37875         Identical file removed.
37876         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37877         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37878         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37879         Identical file removed.
37880         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37881         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37882         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37883         Identical file removed.
37884         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37885         Moved ...
37886         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37887         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37888         Identical file removed.
37889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37890         Moved ...
37891         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37892         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37893         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37894         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37895         Identical file removed.
37896         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37897         Moved ...
37898         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37899         ... here.
37900         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37901         Identical file removed.
37902         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37903         Moved ...
37904         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37906         Identical file removed.
37907         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37908         Moved ...
37909         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37910         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37911         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37912         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37913         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37915         Moved ...
37916         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37917         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37918         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37920         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37921         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37922         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37923         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37924         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37926 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
37928         [BZ #17092]
37929         * nscd/nscd.c (monitor_child): Return exit status of child
37930         instead of return value from wait syscall.
37932 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37934         * configure.ac (libc_commonpagesize): Remove variable.
37935         (libc_relro_required): Likewise.
37936         (libc_cv_z_relro): Remove configure test.
37937         * configure: Regenerated.
37938         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37939         variable.
37940         (libc_relro_required): Likewise.
37941         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37942         (libc_relro_required): Likewise.
37943         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37944         (libc_relro_required): Likewise.
37945         * sysdeps/arm/preconfigure: Regenerated.
37946         * sysdeps/ia64/preconfigure: Remove file.
37947         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37948         variable.
37949         (libc_relro_required): Likewise.
37951         [BZ #16561]
37952         [BZ #16562]
37953         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37954         (__ieee754_yn): Set FE_TONEAREST mode internally and then
37955         recompute overflowing results in original rounding mode.
37956         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37957         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37958         recompute overflowing results in original rounding mode.
37959         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37960         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37961         recompute overflowing results in original rounding mode.
37962         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37963         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37964         recompute overflowing results in original rounding mode.
37965         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37966         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37967         recompute overflowing results in original rounding mode.
37968         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37969         (libc_feholdsetround_ctx): New macro.
37970         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37971         * sysdeps/i386/fpu/libm-test-ulps: Update.
37972         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37974 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37976         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37977         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37978         corresponding .cpsetup call.
37980 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37982         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37983         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37984         * sysdeps/arm/Makefile [$(subdir) = csu]
37985         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37986         (static-only-routines): Add aeabi_read_tp here.
37987         (shared-only-routines): Add libc-aeabi_read_tp here.
37988         (CFLAGS-libc-start.c): Add -fexceptions here.
37989         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37990         (sysdep_routines, static-only-routines, shared-only-routines):
37991         Don't add to these here.
37992         (CFLAGS-libc-start.c): Likewise.
37994         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37995         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37996         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37997         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37998         * sysdeps/arm/Makefile [$(subdir) = rt]
37999         (librt-sysdep_routines, librt-shared-only-routines):
38000         Append rt-aeabi_unwind_cpp_pr1 here.
38001         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
38002         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
38003         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
38004         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38005         Append nptl-aeabi_unwind_cpp_pr1 here.
38006         (tests): Filter out tst-cleanupx4 here.
38007         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
38008         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
38009         Don't do those here.
38011 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38013         * scripts/list-sources.sh: Do not handle ports specially.
38015 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38017         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
38018         * sysdeps/arm/feupdateenv.c: Likewise.
38020         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
38022 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38024         * manual/texinfo.tex: Update to version 2014-05-05.10 with
38025         trailing whitespace removed.
38026         * scripts/config.guess: Update to version 2014-03-23.
38027         * scripts/config.sub: Update to version 2014-05-01
38028         * scripts/install-sh: Update to version 2013-12-25.23.
38029         * scripts/move-if-change: Update from gnulib.
38031 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38033         * debug/memmove_chk.c: Remove pagecopy.h include.
38035 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
38037         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
38038         identical to gnulib mktime.
38040 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38042         * configure.ac: Do not test for machine being rs6000.  Do not test
38043         for powerpc*-*soft.
38044         * configure: Regenerated.
38046         [BZ #11505]
38047         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
38048         test.
38049         * configure: Regenerated.
38050         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
38051         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
38052         Remove configure test.
38053         * sysdeps/arm/configure: Regenerated.
38054         * sysdeps/nptl/configure.ac: Do not check
38055         libc_cv_asm_cfi_directives.
38056         * sysdeps/nptl/configure: Regenerated.
38057         * sysdeps/x86_64/nptl/configure.ac: Remove file.
38058         * sysdeps/x86_64/nptl/configure: Remove generated file.
38059         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
38060         unconditional.
38061         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
38063 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38065         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
38066         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
38067         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
38068         it is defined.
38070         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
38071         instead of whether it is defined.
38072         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38073         * sysdeps/hppa/dl-machine.h: Likewise.
38074         * sysdeps/ia64/dl-machine.h: Likewise.
38075         * sysdeps/m68k/dl-machine.h: Likewise.
38076         * sysdeps/microblaze/dl-machine.h: Likewise.
38077         * sysdeps/mips/dl-machine.: Likewise.
38078         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38079         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38080         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38081         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38082         * sysdeps/sh/dl-machine.h: Likewise.
38083         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38084         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38085         * sysdeps/tile/dl-machine.h: Likewise.
38086         * sysdeps/x86_64/dl-machine.h: Likewise.
38088         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
38089         code.
38090         (verify_persistent_db): Likewise.
38092 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
38095         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
38096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
38097         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
38098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38099         Moved ...
38100         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
38101         ... here.
38102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
38103         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
38104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38105         Identical file removed.
38106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
38107         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
38108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
38109         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
38110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
38111         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
38112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
38113         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
38114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
38115         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
38116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38117         Moved ...
38118         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
38119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
38120         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
38121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
38122         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
38123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38124         Moved ...
38125         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
38126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
38127         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
38128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38129         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
38130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38131         Identical file removed.
38132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
38133         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
38134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
38135         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
38136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38137         Moved ...
38138         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
38139         ... here.
38140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
38141         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
38142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
38143         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
38144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
38145         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
38146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
38147         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
38148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
38149         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
38150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38151         Moved ...
38152         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
38153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
38154         Moved ...
38155         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
38156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
38157         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
38158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38159         Moved ...
38160         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
38161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
38162         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
38164         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
38165         folded into ...
38166         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
38167         * sysdeps/unix/sysv/linux/s390/Versions
38168         (libpthread: GLIBC_2.19): New version set.
38169         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
38170         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
38171         (librt: GLIBC_2.3.3): New version set.
38172         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
38173         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
38174         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
38175         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
38176         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
38177         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
38178         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
38179         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
38180         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
38181         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
38182         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
38183         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
38184         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38185         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38186         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38187         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38188         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38189         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38190         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38191         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38192         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38193         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38194         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38195         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38196         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38197         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38198         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38199         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38200         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38201         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38202         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38203         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38205         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38206         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38208         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38209         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38210         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38211         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38212         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38213         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38214         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38216         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38218         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38219         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38220         (__libc_vfork): Define the function under this name.
38221         [!NOT_IN_libc] (__vfork): Make this an alias.
38222         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38224         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38225         (__libc_vfork): Define the function under this name.
38226         [!NOT_IN_libc] (__vfork): Make this an alias.
38227         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38228         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38229         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38230         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38231         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38232         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38234         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38235         code that was previously under [RESET_PID].
38236         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38237         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38238         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38240         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38241         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38242         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38243         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38244         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38245         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38246         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38247         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38248         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38249         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38250         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38251         Moved ...
38252         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38253         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38254         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38255         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38256         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38257         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38258         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38259         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38260         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38261         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38262         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38263         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38264         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38265         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38266         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38267         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38268         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38269         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38270         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38271         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38272         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38273         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38274         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38275         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38276         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38277         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38278         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38279         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38280         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38282 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38284         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38285         that was previously under [RESET_PID].
38286         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38288 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38290         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38291         not undefine and redefine.
38292         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38293         [O_CLOEXEC]: Make code unconditional.
38294         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38295         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38296         <kernel-features.h>.
38297         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38298         conditional variable definition.
38299         (shm_open) [O_CLOEXEC]: Make code unconditional.
38300         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38301         code.
38303         * configure.ac (USE_REGPARMS): Don't define here.
38304         * configure: Regenerated.
38305         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38306         * sysdeps/i386/configure: Regenerated.
38308         * nptl/createthread.c: Don't include kernel-features.h.
38309         * nptl/pthread_cancel.c: Likewise.
38310         * nptl/pthread_condattr_setclock.c: Likewise.
38311         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38312         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38313         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38314         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38315         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38316         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38317         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38318         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38320         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38321         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38322         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38323         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38324         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38325         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38326         * nscd/gai.c: Likewise.
38327         * nss/nss_db/db-open.c: Likewise.
38328         * sysdeps/generic/ldsodefs.h: Likewise.
38329         * sysdeps/sh/nptl/tls.h: Likewise.
38330         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38331         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38332         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38333         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38334         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38335         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38336         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38337         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38338         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38339         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38340         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38341         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38342         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38343         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38344         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38345         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38346         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38347         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38348         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38349         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38351         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38352         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38353         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38354         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38355         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38357         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38358         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38359         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38360         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38361         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38362         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38363         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38364         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38365         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38366         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38367         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38368         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38369         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38370         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38371         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38372         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38373         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38374         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38375         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38376         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38377         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38378         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38379         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38380         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38381         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38382         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38383         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38384         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38385         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38386         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38387         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38410         * sysdeps/unix/sysv/linux/pread.c: Likewise.
38411         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38412         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38413         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38414         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38415         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38416         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38417         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38418         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38419         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38420         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38421         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38422         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38423         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38424         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38425         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38426         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38427         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38428         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38429         * sysdeps/unix/sysv/linux/system.c: Likewise.
38430         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38431         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38432         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38433         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38434         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38435         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38436         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38438         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38439         * configure: Regenerated.
38440         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38442         * configure.ac (base_machine): Do not set specially for particular
38443         machines here.
38444         * configure: Regenerated.
38445         * sysdeps/powerpc/preconfigure: Move machine and base_machine
38446         settings from configure.ac.
38447         * sysdeps/i386/preconfigure: New file.
38448         * sysdeps/s390/preconfigure: Likewise.
38449         * sysdeps/sh/preconfigure: Likewise.
38450         * sysdeps/sparc/preconfigure: Likewise.
38452 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38454         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38455         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38456         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38457         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38458         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38459         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38460         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38461         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38462         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38463         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38464         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38465         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38466         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38467         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38468         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38469         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38470         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38471         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38472         * sysdeps/sparc/sparc64/Makefile: ... appended here.
38474         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38475         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38476         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38477         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38478         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38479         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38480         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38481         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38482         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38483         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38484         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38485         * sysdeps/sparc/sparc32/sem_post.c: ... here.
38486         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38487         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38488         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38489         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38490         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38491         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38492         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38493         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38494         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38495         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38497         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38498         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38499         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38500         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38501         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38502         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38503         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38504         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38505         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38506         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38507         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38508         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38509         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38510         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38511         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38514         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38516         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38518         Moved ...
38519         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38520         ... here.
38521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38522         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38524         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38526         Moved ...
38527         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38529         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38531         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38533         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38535         Moved ...
38536         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38538         Moved ...
38539         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38541         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38543         Moved ...
38544         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38546         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38548         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38550         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38552         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38554         Moved ...
38555         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38556         ... here.
38557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38558         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38560         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38562         Moved ...
38563         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38565         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38567         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38569         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38571         Moved ...
38572         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38574         Moved ...
38575         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38577         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38579         Moved ...
38580         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38582         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38584         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38586 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38588         * timezone/checktab.awk: Update from tzcode 2014e.
38589         * timezone/private.h: Likewise.
38590         * timezone/tzfile.h: Likewise.
38591         * timezone/zdump.c: Likewise.
38592         * timezone/zic.c: Likewise.
38594         * sysdeps/unix/sysv/linux/kernel-features.h
38595         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38596         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38597         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38598         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38599         Remove conditional code.
38601 2014-06-25  Will Newton  <will.newton@linaro.org>
38603         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38604         (_dl_arm_cap_flags): Add HWCAP2 values.
38605         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38606         (_DL_HWCAP_COUNT): Increase to 37.
38607         (_DL_HWCAP_LAST): New define.
38608         (_DL_HWCAP2_LAST): New define.
38609         (_dl_procinfo): Add support for printing
38610         AT_HWCAP2 entries.
38611         (_dl_string_hwcap): Use _dl_hwcap_string.
38613 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38617 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38619         * README: Do not mention ports directory.
38621         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38622         Remove macro.
38623         * sysdeps/unix/sysv/linux/futimes.c: Do not include
38624         <kernel-features.h>.
38625         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38626         conditional variable definition.
38627         (__futimes): Update comment.
38628         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38629         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38631         [BZ #16560]
38632         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38633         arguments close to 0.
38634         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38635         Likewise.
38636         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38637         Likewise.
38638         * math/auto-libm-test-in: Add more tests of exp10.
38639         * math/auto-libm-test-out: Regenerated.
38640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38642         * sysdeps/unix/sysv/linux/kernel-features.h
38643         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38644         * sysdeps/unix/sysv/linux/readv.c: Do not include
38645         <kernel-features.h>.
38646         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38647         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38648         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38649         unconditional.
38650         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38651         conditional code.
38652         * sysdeps/unix/sysv/linux/writev.c: Do not include
38653         <kernel-features.h>.
38654         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38655         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38656         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38657         unconditional.
38658         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38659         conditional code.
38661 2014-06-25  Will Newton  <will.newton@linaro.org>
38663         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38664         comment changes throughout the file.  Remove checks
38665         for HAVE_*_H definitions that are not required.
38666         (__gen_tempname): Call abort if an unknown kind value is
38667         passed.
38669 2014-06-25  Andreas Schwab  <schwab@suse.de>
38671         [BZ #17086]
38672         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38673         scalbln, scalblnf, scalblnl in libc.
38675 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38677         [BZ #17086]
38678         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38679         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38680         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38682 2014-06-24  Roland McGrath  <roland@hack.frob.com>
38684         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38685         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38686         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38687         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38688         Update #include.
38689         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38690         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38691         Update #include.
38692         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38693         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38694         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38695         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38696         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38697         * sysdeps/x86/bits/pthreadtypes.h: ... here.
38698         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38699         * sysdeps/x86/bits/semaphore.h: ... here.
38700         * sysdeps/x86/nptl/elide.h: Moved ...
38701         * sysdeps/x86/elide.h: ... here.
38702         * sysdeps/x86_64/nptl/Implies: File removed.
38703         * sysdeps/i386/nptl/Implies: File removed.
38705 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
38707         [BZ #16539]
38708         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38709         return the argument for normal arguments with exponent below -64.
38710         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38711         Likewise.
38712         * math/auto-libm-test-in: Add another test of expm1.
38713         * math/auto-libm-test-out: Regenerated.
38715         [BZ #16287]
38716         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38717         calling __erfcl for arguments at least 16.
38718         * math/auto-libm-test-in: Add more tests of erf.
38719         * math/auto-libm-test-out: Regenerated.
38721         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38722         individual architectures.
38723         * sysdeps/unix/sysv/linux/configure: Regenerated.
38724         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38725         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38726         * sysdeps/unix/sysv/linux/powerpc/configure.ac
38727         (ldd_rewrite_script): Define variable.
38728         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38730         file.
38731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38732         generated file.
38733         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38734         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38735         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38736         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38737         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38738         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38739         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38740         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38742 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38744         [BZ #17084]
38745         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38746         Rename member __data.d to __data.__elision_data.
38748 2014-06-24  Wilco  <wdijkstr@arm.com>
38750         * NEWS: Add 16918 to fixed bug list.
38752 2014-06-24  Wilco  <wdijkstr@arm.com>
38754         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38756 2014-06-24  Wilco  <wdijkstr@arm.com>
38758         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38759         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38760         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38761         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38762         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38763         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38764         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38765         Use _FPU_MASK_RM.
38767 2014-06-24  Wilco  <wdijkstr@arm.com>
38769         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38771 2014-06-24  Wilco  <wdijkstr@arm.com>
38773         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38774         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38775         * sysdeps/arm/fesetround.c (fesetround): Remove space.
38776         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38778 2014-06-24  Wilco  <wdijkstr@arm.com>
38780         [BZ #16918]
38781         * sysdeps/arm/feupdateenv.c (feupdateenv):
38782         Rewrite to reduce FPSCR accesses and fix return value.
38784 2014-06-24  Wilco  <wdijkstr@arm.com>
38786         * sysdeps/arm/fclrexcpt.c (feclearexcept):
38787         Optimize to avoid unnecessary FPSCR writes.
38788         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38789         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38790         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38791         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38793 2014-06-24  Wilco  <wdijkstr@arm.com>
38795         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38796         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38797         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38798         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38799         Call libc_fetestexcept_vfp.
38800         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38801         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38802         __SOFTFP__ ifdef so that they can be built for softfp.
38804 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38806         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38807         argument type signed char.
38809         * Makerules (check-abi): Dump diff of symlist if the test
38810         fails.
38812 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38814         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38815         using abort.
38817         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38818         Remove unused variable ST.
38820 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38822         [BZ #16354]
38823         [BZ #17061]
38824         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38825         small arguments before calling __expm1.
38826         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38827         small arguments before calling __expm1f.
38828         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38829         small arguments before calling __expm1l.
38830         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38831         Likewise.
38832         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38833         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
38834         spurious underflow for some cosh tests.
38835         * math/auto-libm-test-out: Regenerated.
38836         * sysdeps/i386/fpu/libm-test-ulps: Update.
38838         [BZ #17050]
38839         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38840         (__ieee754_y1): Set errno if return value overflows.
38841         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38842         (__ieee754_y1f): Set errno if return value overflows.
38843         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38844         (__ieee754_y1l): Set errno if return value overflows.
38845         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38846         (__ieee754_y1l): Set errno if return value overflows.
38847         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38848         * math/auto-libm-test-out: Regenerated.
38850         * math/gen-auto-libm-tests.c: Document use of
38851         ignore-zero-inf-sign.
38852         (input_flag_type): Add value flag_ignore_zero_inf_sign.
38853         (input_flags): Add ignore-zero-inf-sign.
38854         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38855         * math/gen-libm-test.pl (generate_testfile): Handle
38856         ignore-zero-inf-sign.
38857         * math/auto-libm-test-in: Mark some cpow tests with
38858         ignore-zero-inf-sign and some with xfail-rounding.
38859         * math/auto-libm-test-out: Regenerated.
38860         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38861         * sysdeps/i386/fpu/libm-test-ulps: Update.
38862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38864         [BZ #16315]
38865         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38866         overflowing or underflowing operations take place with sign of
38867         result.
38868         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38869         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38870         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38871         (__ieee754_pow): Recompute overflowing and underflowing results in
38872         original rounding mode.
38873         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38874         (__powl_helper): Allow negative argument X and scale negated value
38875         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
38876         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38877         overflowing or underflowing operations take place with sign of
38878         result.
38879         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38880         Include <math.h>.
38881         * math/auto-libm-test-in: Add more tests of pow.
38882         * math/auto-libm-test-out: Regenerated.
38883         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38884         (pow_tonearest_test_data): Remove.
38885         (pow_test_tonearest): Likewise.
38886         (pow_towardzero_test_data): Likewise.
38887         (pow_test_towardzero): Likewise.
38888         (pow_downward_test_data): Likewise.
38889         (pow_test_downward): Likewise.
38890         (pow_upward_test_data): Likewise.
38891         (pow_test_upward): Likewise.
38892         (main): Don't call removed functions.
38893         * sysdeps/i386/fpu/libm-test-ulps: Update.
38894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38896 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38899         Moved ...
38900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38902         Moved ...
38903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38905         Moved ...
38906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38908         Moved ...
38909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38911         File removed.
38912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38913         File removed.
38914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38915         File removed.
38916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38917         File removed.
38918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38919         File removed.
38920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38921         File removed.
38922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38923         File removed.
38924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38925         File removed.
38926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38927         File removed.
38928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38929         File removed.
38930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38931         File removed.
38932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38933         File removed.
38934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38935         Moved ...
38936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38938         Moved ...
38939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38940         ... here.
38941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38942         Moved ...
38943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38945         Moved ...
38946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38948         Moved ...
38949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38951         Moved ...
38952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38954         Moved ...
38955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38957         Moved ...
38958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38960         Moved ...
38961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38964         ... here.
38965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38966         Moved ...
38967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38969         Moved ...
38970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38971         ... here.
38972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38973         Moved ...
38974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38975         ... here.
38976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38977         Moved ...
38978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38979         ... here.
38980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38981         Moved ...
38982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38984         Moved ...
38985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38989         Moved ...
38990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38991         ... here.
38992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38993         Moved ...
38994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38995         ... here.
38996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38997         Moved ...
38998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39000         Moved ...
39001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
39002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39003         Moved ...
39004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
39005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39006         Moved ...
39007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
39008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39009         Moved ...
39010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
39011         ... here.
39012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39013         Moved ...
39014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
39015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39016         Moved ...
39017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
39018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39019         Moved ...
39020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
39021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39022         Moved ...
39023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
39024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
39025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
39026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39027         Moved ...
39028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
39029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39030         Moved ...
39031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
39032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39033         Moved ...
39034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
39035         ... here.
39036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39037         Moved ...
39038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
39039         ... here.
39040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39041         Moved ...
39042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
39043         ... here.
39044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39045         Moved ...
39046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
39047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39048         Moved ...
39049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
39050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39051         Moved ...
39052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
39053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39054         Moved ...
39055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
39056         ... here.
39057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39058         Moved ...
39059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
39060         ... here.
39061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39062         Moved ...
39063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
39064         ... here.
39065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39066         Moved ...
39067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
39068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39069         Moved ...
39070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
39072 2014-06-23  Will Newton  <will.newton@linaro.org>
39073             Wilco  <wdijkstr@arm.com>
39075         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
39076         implementation.  Include get-rounding-mode.h.
39077         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
39078         [!libc_feholdsetround_noex_ctx]: Define
39079         libc_feholdsetround_noex_ctx.
39080         [!libc_feholdsetround_noexf_ctx]: Define
39081         libc_feholdsetround_noexf_ctx.
39082         [!libc_feholdsetround_noexl_ctx]: Define
39083         libc_feholdsetround_noexl_ctx.
39084         (libc_feholdsetround_ctx): New function.
39085         (libc_feresetround_ctx): New function.
39086         (libc_feholdsetround_noex_ctx): New function.
39087         (libc_feresetround_noex_ctx): New function.
39089 2014-06-23  Roland McGrath  <roland@hack.frob.com>
39091         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
39092         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
39093         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
39094         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
39095         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
39096         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
39098         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
39099         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
39100         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
39101         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
39102         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
39103         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
39104         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
39105         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
39106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
39107         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
39108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
39109         Moved ...
39110         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
39111         ... here.
39112         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
39113         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
39114         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
39115         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
39116         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
39117         Moved ...
39118         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
39119         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
39120         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
39121         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
39122         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
39123         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
39124         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
39125         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39126         Moved ...
39127         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
39128         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
39129         Moved ...
39130         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
39131         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
39132         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
39133         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39134         Moved ...
39135         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
39136         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
39137         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
39138         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
39139         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
39140         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
39141         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
39142         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
39143         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
39144         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
39145         Moved ...
39146         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
39147         ... here.
39148         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
39149         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
39150         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
39151         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
39152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
39153         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
39154         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
39155         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
39156         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
39157         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
39158         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
39159         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
39160         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
39161         Moved ...
39162         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
39163         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
39164         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
39165         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
39166         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
39167         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
39168         Moved ...
39169         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
39170         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
39171         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
39172         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
39173         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
39175         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
39176         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
39177         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
39178         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
39179         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
39180         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
39181         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
39182         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
39183         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
39184         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39185         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39186         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39187         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39188         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39189         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39190         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39191         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39192         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39193         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39194         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39195         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39196         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39197         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39198         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39199         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39200         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39201         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39202         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39204 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
39206         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39207         (FALLOC_FL_COLLAPSE_RANGE): New macro.
39208         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39209         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39210         (IPV6_PMTUDISC_INTERFACE): Likewise.
39211         (IPV6_PMTUDISC_OMIT): Likewise.
39213 2014-06-23  Andreas Schwab  <schwab@suse.de>
39215         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39216         Remove unused errout label.
39218 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39220         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39221         macro: hardware supports Vector Crypto instructions.
39223 2014-06-23  Will Newton  <will.newton@linaro.org>
39225         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39226         rather than __builtin_expect.
39228         * elf/dl-lookup.c (undefined_msg): Remove variable.
39229         (_dl_lookup_symbol_x): Replace undefined_msg with string
39230         literal.
39232         * elf/dl-lookup.c (do_lookup_unique): New function.
39233         (do_lookup_x): Move STB_GNU_UNIQUE handling code
39234         to a separate function.
39236 2014-06-23  Andreas Schwab  <schwab@suse.de>
39238         [BZ #17079]
39239         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39240         before reading the next line.
39242 2014-06-23  Will Newton  <will.newton@linaro.org>
39244         * test-skeleton.c (signal_handler): Use printf and %m
39245         rather than perror.  Use printf rather than fprintf to
39246         stderr.  Use puts rather than fputs to stderr.
39247         (main): Likewise.
39249 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
39251         * nscd/nscd.c (thread_info_t): Remove typedef.
39252         (thread_info): Remove variable.
39254 2014-06-21  Allan McRae  <allan@archlinux.org>
39256         * NEWS: Mention CVE-2014-4043.
39258 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39260         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39261         * nptl/smp.h: ... here.
39263         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39265         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39266         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39267         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39268         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39270         * nptl/allocatestack.c: Include <stack-aliasing.h>.
39271         * nptl/stack-aliasing.h: New file.
39272         * sysdeps/i386/i686/stack-aliasing.h: New file.
39273         * sysdeps/i386/i686/nptl/Makefile: File removed.
39274         * sysdeps/x86_64/stack-aliasing.h: New file.
39275         * sysdeps/x86_64/nptl/Makefile
39276         (CFLAGS-pthread_create.c): Variable removed.
39278         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39279         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39280         old file.
39281         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39282         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39283         old file.
39285 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
39287         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39288         (__ASSUME_SIGFRAME_V2): Remove macro.
39289         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39290         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39291         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39292         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39293         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39294         Declare as function.  Remove conditional macro definitions.
39295         (__default_rt_sa_restorer): Likewise.
39296         (__default_sa_restorer_v1): Remove declaration.
39297         (__default_sa_restorer_v2): Likewise.
39298         (__default_rt_sa_restorer_v1): Likewise.
39299         (__default_rt_sa_restorer_v2): Likewise.
39300         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39301         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39302         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39304 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39306         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39307         (libpthread-routines): Add sysdep.
39308         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39309         * sysdeps/unix/sysv/linux/sparc/Versions
39310         (libpthread: GLIBC_2.3.3): New version set.
39311         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39312         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39313         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39314         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39315         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
39316         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39317         Moved ...
39318         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39319         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39320         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39321         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39322         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39323         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39324         * sysdeps/sparc/nptl/sem_init.c: ... here.
39325         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39326         * sysdeps/sparc/nptl/sem_post.c: ... here.
39327         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39328         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39329         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39330         * sysdeps/sparc/nptl/sem_wait.c: ... here.
39331         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39332         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39333         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39334         (libpthread-routines): Add cpu_relax.
39335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39336         File removed.
39337         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39338         (librt: GLIBC_2.3.3): New version set.
39339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39340         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39341         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39342         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39345         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39347         Moved ...
39348         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39350         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39352         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39354         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39356         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39358         Moved ...
39359         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39360         Update #include.
39361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39362         Moved ...
39363         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39364         Update #include.
39365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39366         Moved ...
39367         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39368         Update #include.
39369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39370         Moved ...
39371         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39372         Update #include.
39373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39374         Moved ...
39375         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39376         Update #include.
39377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39378         Moved ...
39379         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39380         Update #include.
39381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39382         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39384         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39386         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39388         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39390         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39392         Moved ...
39393         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39395         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39397         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39399 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39401         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39402         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39403         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39404         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39405         * nscd/nscd.c: Likewise.
39406         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39407         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39408         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39409         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39411         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39412         <kernel-features.h>.
39413         (init_mq_netlink): Remove conditional have_sock_cloexec
39414         definitions.  Remove code conditional on have_sock_cloexec < 0.
39415         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39416         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39417         * sysdeps/unix/sysv/linux/opensock.c: Do not include
39418         <kernel-features.h>.
39419         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39420         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39422 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39425         Add tests for memset_chk and memset.
39427         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39428         with AVX2_Usable.
39430 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39432         [BZ #16046]
39433         * elf/tst-dl-iter-static.c: New file.
39434         * elf/Makefile (tests-static): Add tst-dl-iter-static.
39436         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39437         error.
39439 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39441         * sysdeps/unix/sysv/linux/kernel-features.h
39442         (__ASSUME_F_GETOWN_EX): Remove macro.
39443         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39444         <kernel-features.h>.
39445         (miss_F_GETOWN_EX): Remove variable or macro.
39446         (do_fcntl): Do not check miss_F_GETOWN_EX.
39447         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39449         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39450         Remove macro.
39451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39452         [!__ASSUME_AT_RANDOM]: Remove conditional code.
39453         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39455         * sysdeps/unix/sysv/linux/kernel-features.h
39456         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39457         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39458         [ADJ_OFFSET_SS_READ]: Make code unconditional.
39459         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39461 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39463         [BZ #17075]
39464         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39465         Fix calculation of the symbol's value.
39466         * sysdeps/arm/tst-armtlsdescloc.c: New file.
39467         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39468         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39469         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39470         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39471         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39472         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39473         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39474         (modules-names): Add `tst-armtlsdescmod',
39475         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39476         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39477         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39478         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39479         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39480         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39481         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39482         ($(objpfx)tst-armtlsdescloc): New dependency.
39483         ($(objpfx)tst-armtlsdescextnow): Likewise.
39484         ($(objpfx)tst-armtlsdescextlazy): Likewise.
39485         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39486         TLS scheme support.
39487         * sysdeps/arm/configure: Regenerate.
39489 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39491         * include/fcntl.h (__atfct_seterrno): Remove prototype.
39492         (__atfct_seterrno_2): Likewise.
39493         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39494         <kernel-features.h>.
39495         (__ASSUME_ATFCTS): Do not undefine and redefine.
39496         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39497         (__have_atfcts): Remove conditional definition.
39498         (__fxstatat([__NR_fstatat64]: Make code unconditional.
39499         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39500         unreachable if [__ASSUME_ATFCTS].
39501         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39502         not undefine and redefine.
39503         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39504         <kernel-features.h>.
39505         (faccessat) [__NR_faccessat]: Make code unconditional.
39506         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39507         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39508         <kernel-features.h>.
39509         (fchmodat) [__NR_fchmodat]: Make code unconditional.
39510         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39511         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39512         <kernel-features.h>.
39513         (fchownat) [__NR_fchownat]: Make code unconditional.
39514         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39515         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39516         <kernel-features.h>.
39517         (futimesat) [__NR_futimesat]: Make code unconditional.
39518         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39519         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39520         <kernel-features.h>.
39521         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39522         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39523         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39524         <kernel-features.h>.
39525         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39526         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39527         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39528         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39529         <kernel-features.h>.
39530         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39531         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39532         * sysdeps/unix/sysv/linux/linkat.c: Do not include
39533         <kernel-features.h>.
39534         (linkat) [__NR_linkat]: Make code unconditional.
39535         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39536         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39537         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39538         <kernel-features.h>.
39539         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39540         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39541         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39542         <kernel-features.h>.
39543         (mkdirat) [__NR_mkdirat]: Make code unconditional.
39544         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39545         * sysdeps/unix/sysv/linux/openat.c: Do not include
39546         <kernel-features.h>.
39547         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39548         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39549         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39550         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39551         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39552         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39553         <kernel-features.h>.
39554         (readlinkat) [__NR_readlinkat]: Make code unconditional.
39555         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
39556         result of INLINE_SYSCALL directly, not via int variable.
39557         * sysdeps/unix/sysv/linux/renameat.c: Do not include
39558         <kernel-features.h>.
39559         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39560         (renameat) [__NR_renameat]: Make code unconditional.
39561         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39562         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39563         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39564         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39565         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39566         (__ASSUME_ATFCTS): Do not undefine and redefine.
39567         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39568         <kernel-features.h>.
39569         (symlinkat) [__NR_symlinkat]: Make code unconditional.
39570         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39571         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39572         <kernel-features.h>.
39573         (unlinkat) [__NR_unlinkat]: Make code unconditional.
39574         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39575         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39576         (__ASSUME_ATFCTS): Do not undefine and redefine.
39577         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39578         <kernel-features.h>.
39579         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39580         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39581         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39582         <kernel-features.h>.
39583         (__xmknodat) [__NR_mknodat]: Make code unconditional.
39584         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39586 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39588         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39590 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
39592         [BZ #17069]
39593         * posix/regcomp.c (parse_reg_exp): Deallocate partially
39594         constructed tree before returning error.
39595         * posix/bug-regexp36.c: Expand test case.
39597 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39599         [BZ #6803]
39600         * math/libm-test.inc (scalbln_test_date):
39601         Add errno expectations.
39602         * math/w_scalblnf.c: New File.
39603         Add wrapper which checks for setting errno to ERANGE.
39604         Add weak_alias for corresponding scalbln function.
39605         * math/w_scalbln.c: Likewise.
39606         * math/w_scalblnl.c: Likewise.
39607         * math/Makefile (libm-calls): Add w_scalbln.
39608         * sysdeps/ieee754/flt-32/s_scalblnf.c:
39609         Remove weak_alias for corresponding scalbln function.
39610         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39611         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39612         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39613         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39614         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39615         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39616         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39617         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39618         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39619         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39620         Remove long_double_symbol for scalblnl function in libm, libc.
39621         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39622         Add wrapper which checks for setting errno to ERANGE.
39623         Add long_double_symbol for scalblnl function in libm, libc.
39624         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39625         Remove long_double_symbol for scalblnl in libm.
39626         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39627         Add wrapper which checks for setting errno to ERANGE.
39628         Add long_double_symbol for scalblnl function in libm.
39629         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39630         Do not use wrapper because of own implementation.
39632 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
39634         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39635         3 bytes for __pad1 for x32.
39636         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39638 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
39639             H.J. Lu  <hongjiu.lu@intel.com>
39641         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39642         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39643         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39644         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39645         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39647 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
39649         [BZ #17069]
39650         * posix/regcomp.c (parse_expression): Deallocate partially
39651         constructed tree before returning error.
39652         * posix/Makefile.c (tests): Add bug-regex36.
39653         (generated): Add bug-regex36.mtrace.
39654         (tests-special): Add $(objpfx)bug-regex36-mem.out
39655         (bug-regex36-ENV): New variable.
39656         ($(objpfx)bug-regex36-mem.out): New rule.
39657         * posix/bug-regex36.c: New file.
39659 2014-06-19  Will Newton  <will.newton@linaro.org>
39661         * malloc/malloc.c (systrim): If extra is zero then return
39662         early.
39664 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39666         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39668 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
39670         * sysdeps/aarch64/strchr.S: New file.
39672 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39674         [BZ #17022]
39675         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39676         from arguments -2 or below.
39677         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39678         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39680 2014-06-18  Andreas Schwab  <schwab@suse.de>
39682         [BZ #17062]
39683         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39684         of a bracket expr not to run off the end of the string.
39685         * posix/Makefile (tests): Add tst-fnmatch3.
39686         * posix/tst-fnmatch3.c: New file.
39688 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39690         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39691         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39692         [$(cross-compiling) = no]: Likewise.
39693         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39694         [$(cross-compiling) = no]: Likewise.
39696 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39698         [BZ #17031]
39699         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39700         double, adjusted for any remainder from the high double.
39701         * math/libm-test.inc (nearbyint): Add tests.
39702         (rint): Likewise.
39704 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39706         * nptl/sysdeps/powerpc/Makefile: Moved ...
39707         * sysdeps/powerpc/nptl/Makefile: ... here.
39708         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39709         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39710         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39711         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39712         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39713         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39714         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39715         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39716         * nptl/sysdeps/powerpc/tls.h: Moved ...
39717         * sysdeps/powerpc/nptl/tls.h: ... here.
39719 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
39721         [BZ #16681]
39722         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39723         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39724         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39725         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39726         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39727         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39728         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39729         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39730         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39732 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
39734         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39736 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
39738         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39739         defined operator.
39741         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39742         $TIMEOUTFACTOR.
39744 2014-06-16  Florian Weimer  <fweimer@redhat.com>
39746         [BZ #17058]
39747         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39748         non-executed part of the test.
39750 2014-06-16  Andreas Schwab  <schwab@suse.de>
39752         * string/bits/string2.h (strdup, strndup): Update feature guard.
39754 2014-06-14  David S. Miller  <davem@davemloft.net>
39756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39758 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
39760         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39761         that was previously under [RESET_PID].
39762         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39764         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39765         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39766         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39767         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39768         (__libc_vfork): New strong alias.
39769         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39771 2014-06-14 Andi Kleen  <ak@linux.intel.com>
39773         * sysdeps/generic/elide.h: New file.
39775 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39777         * Makefile (installed-headers): Adjust path of pthread.h header.
39779 2014-06-13  Roland McGrath  <roland@hack.frob.com>
39781         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39782         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39783         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39784         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39786         * nptl/sysdeps/s390/Makefile: Moved ...
39787         * sysdeps/s390/nptl/Makefile: ... here.
39788         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39789         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39790         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39791         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39792         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39793         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39794         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39795         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39796         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39797         * sysdeps/s390/nptl/pthreaddef.h: ... here.
39798         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39799         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39800         * nptl/sysdeps/s390/tls.h: Moved ...
39801         * sysdeps/s390/nptl/tls.h: ... here.
39803         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39804         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39806 2014-06-13  David S. Miller  <davem@davemloft.net>
39808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39811         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39815         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39816         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39817         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39818         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39819         Remove RESET_PID cpp guards.
39820         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39821         Remove RESET_PID cpp guards.
39822         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39824 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
39826         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39827         __sp to uintptr_t.
39829 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39831         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39832         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39833         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39834         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39835         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39836         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39837         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39838         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39839         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39840         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39841         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39842         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39843         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39844         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39845         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39846         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39847         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39848         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39849         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39850         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39852         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39853         (pthread_rwlock_rdlock): Add elision.
39854         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39855         (pthread_rwlock_wrlock): Add elision.
39856         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39857         (pthread_rwlock_trywrlock): Add elision.
39858         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39859         (pthread_rwlock_tryrdlock): Add elision.
39860         * nptl/pthread_rwlock_unlock.c: Include elide.h.
39861         (pthread_rwlock_tryrdlock): Add elision unlock.
39862         * nptl/sysdeps/pthread/pthread.h:
39863         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39864         (PTHREAD_RWLOCK_INITIALIZER,
39865         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39866         Handle new elision field.
39867         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39868         * sysdeps/arm/nptl/bits/pthreadtypes.h
39869         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39870         * sysdeps/sh/nptl/bits/pthreadtypes.h
39871         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39872         * sysdeps/tile/nptl/bits/pthreadtypes.h
39873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39874         * sysdeps/a/nptl/bits/pthreadtypes.h
39875         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39876         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39877         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39878         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39879         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39880         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39882         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39883         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39884         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39885         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39886         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39887         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39888         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39889         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39890         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39891         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39892         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39893         (elision_init): Set try_xbegin to zero when no RTM.
39894         * sysdeps/x86/nptl/bits/pthreadtypes.h
39895         (pthread_rwlock_t): Change __pad1 to __rwelision.
39896         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39898 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39900         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39901         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39902         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39903         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39905 2014-06-13  Meador Inge  <meadori@codesourcery.com>
39907         [BZ #16996]
39908         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39909         that the cached result has been set before returning it.
39911 2014-06-12  Roland McGrath  <roland@hack.frob.com>
39913         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39914         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39915         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39916         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39917         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39918         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39920         * nptl/sysdeps/sparc/Makefile: Moved ...
39921         * sysdeps/sparc/nptl/Makefile: ... here.
39922         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39923         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39924         * nptl/sysdeps/sparc/tls.h: Moved ...
39925         * sysdeps/sparc/nptl/tls.h: ... here.
39926         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39927         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39928         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39929         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39930         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39931         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39932         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39933         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39934         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39935         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39936         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39937         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39938         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39939         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39940         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39941         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39942         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39943         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39944         Update #include.
39945         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39946         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39947         Update #include.
39948         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39949         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39950         Update #include.
39951         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39952         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39953         Update #include.
39955         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39957         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39958         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39960         * sysdeps/pthread/posix-timer.h: Include <list.h>.
39961         (struct list_links): Type removed.
39962         (struct thread_node, struct timer_node): Replace struct list_links
39963         with struct list_head.
39964         (list_unlink_ip): Likewise.
39965         * sysdeps/pthread/timer_routines.c
39966         (timer_free_list, thread_free_list, thread_active_list): Likewise.
39967         (list_append, list_insbefore): Likewise.
39968         (list_init): Function removed.
39969         (thread_init, init_module): Use INIT_LIST_HEAD instead.
39970         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39971         * sysdeps/pthread/Makefile: ... here, new file.
39973         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39974         * sysdeps/nptl/Implies: ... here.
39975         * sysdeps/unix/sysv/linux/Implies: Add nptl.
39976         * nptl/sysdeps/pthread/list.h: Moved ...
39977         * include/list.h: ... here.
39978         * nptl/sysdeps/pthread/createthread.c: Moved ...
39979         * nptl/createthread.c: ... here.
39980         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39981         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39982         * nptl/pt-longjmp.c: ... here.
39983         * nptl/sysdeps/pthread/Makefile: Moved ...
39984         * sysdeps/nptl/Makefile: ... here.
39985         * nptl/sysdeps/pthread/Subdirs: Moved ...
39986         * sysdeps/nptl/Subdirs: ... here.
39987         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39988         * sysdeps/nptl/aio_misc.h: ... here.
39989         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39990         * sysdeps/nptl/bits/libc-lock.h: ... here.
39991         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39992         * sysdeps/nptl/bits/libc-lockP.h: ... here.
39993         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39994         * sysdeps/nptl/bits/stdio-lock.h: ... here.
39995         * nptl/sysdeps/pthread/configure: Moved ...
39996         * sysdeps/nptl/configure: ... here.
39997         * nptl/sysdeps/pthread/configure.ac: Moved ...
39998         * sysdeps/nptl/configure.ac: ... here.
39999         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
40000         * sysdeps/nptl/gai_misc.h: ... here.
40001         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
40002         * sysdeps/nptl/librt-cancellation.c: ... here.
40003         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
40004         * sysdeps/nptl/malloc-machine.h: ... here.
40005         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
40006         * sysdeps/nptl/pthread-functions.h: ... here.
40007         * nptl/sysdeps/pthread/pthread.h: Moved ...
40008         * sysdeps/nptl/pthread.h: ... here.
40009         * nptl/sysdeps/pthread/setxid.h: Moved ...
40010         * sysdeps/nptl/setxid.h: ... here.
40011         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
40012         * sysdeps/nptl/sigfillset.c: ... here.
40013         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
40014         * sysdeps/nptl/tcb-offsets.h: ... here.
40015         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
40016         * sysdeps/nptl/tst-mqueue8x.c: ... here.
40017         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
40018         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
40019         * nptl/sysdeps/pthread/allocalim.h: Moved ...
40020         * sysdeps/pthread/allocalim.h: ... here.
40021         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
40022         * sysdeps/pthread/bits/sigthread.h: ... here.
40023         * nptl/sysdeps/pthread/flockfile.c: Moved ...
40024         * sysdeps/pthread/flockfile.c: ... here.
40025         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
40026         * sysdeps/pthread/ftrylockfile.c: ... here.
40027         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
40028         * sysdeps/pthread/funlockfile.c: ... here.
40029         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
40030         * sysdeps/pthread/posix-timer.h: ... here.
40031         * nptl/sysdeps/pthread/timer_create.c: Moved ...
40032         * sysdeps/pthread/timer_create.c: ... here.
40033         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
40034         * sysdeps/pthread/timer_delete.c: ... here.
40035         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
40036         * sysdeps/pthread/timer_getoverr.c: ... here.
40037         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
40038         * sysdeps/pthread/timer_gettime.c: ... here.
40039         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
40040         * sysdeps/pthread/timer_routines.c: ... here.
40041         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
40042         * sysdeps/pthread/timer_settime.c: ... here.
40043         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
40044         * sysdeps/pthread/tst-timer.c: ... here.
40045         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
40046         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
40048         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
40049         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
40051         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
40052         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
40053         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
40054         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
40055         Update #include target.
40056         * nptl/sysdeps/i386/i686/Makefile: Moved ...
40057         * sysdeps/i386/i686/nptl/Makefile: ... here.
40058         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
40059         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
40060         Update #include target.
40061         * nptl/sysdeps/i386/i686/tls.h: Moved ...
40062         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
40063         * nptl/sysdeps/i386/Makefile: Moved ...
40064         * sysdeps/i386/nptl/Makefile: ... here.
40065         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
40066         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
40067         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
40068         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
40069         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
40070         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
40071         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
40072         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
40073         * sysdeps/i386/nptl/pthreaddef.h: ... here.
40074         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
40075         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
40076         * nptl/sysdeps/i386/tls.h: Moved ...
40077         * sysdeps/i386/nptl/tls.h: ... here.
40079         * sysdeps/sh/Makefile [$(subdir) = csu]
40080         (gen-as-const-headers): Add tcb-offsets.sym.
40081         * nptl/sysdeps/sh/Makefile: File removed.
40082         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
40083         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
40084         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40085         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
40086         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
40087         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
40088         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
40089         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
40090         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
40091         * sysdeps/sh/nptl/pthreaddef.h: ... here.
40092         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
40093         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
40094         * nptl/sysdeps/sh/tls.h: Moved ...
40095         * sysdeps/sh/nptl/tls.h: ... here.
40096         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
40097         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
40098         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
40099         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
40100         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
40101         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
40102         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
40103         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
40104         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
40105         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
40106         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
40107         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
40108         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
40109         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
40110         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
40111         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
40112         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
40113         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
40114         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
40115         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
40116         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
40117         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
40118         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
40119         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
40120         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
40121         Moved ...
40122         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
40123         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
40124         Moved ...
40125         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
40126         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
40127         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
40128         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
40129         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
40130         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
40131         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
40132         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
40133         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
40134         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
40135         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
40136         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
40137         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
40138         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
40139         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
40140         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
40141         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
40142         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
40143         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
40145 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40147         * posix/spawn_faction_addopen.c: Include string.h.
40149 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40151         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
40152         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
40153         * nptl/sysdeps/x86_64/Makefile: Moved ...
40154         * sysdeps/x86_64/nptl/Makefile: ... here.
40155         * nptl/sysdeps/x86_64/configure: Moved ...
40156         * sysdeps/x86_64/nptl/configure: ... here.
40157         * nptl/sysdeps/x86_64/configure.ac: Moved ...
40158         * sysdeps/x86_64/nptl/configure.ac: ... here.
40159         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
40160         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
40161         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
40162         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
40163         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
40164         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
40165         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
40166         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
40167         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
40168         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
40169         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
40170         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
40171         * nptl/sysdeps/x86_64/tls.h: Moved ...
40172         * sysdeps/x86_64/nptl/tls.h: ... here.
40173         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
40174         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
40175         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
40176         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
40178         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
40180 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40184 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
40186         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40187         type.
40188         [POSIX] (off_t): Likewise.
40189         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40190         [POSIX] (S_ISBLK): Require macro.
40191         [POSIX] (S_ISCHR): Likewise.
40192         [POSIX] (S_ISDIR): Likewise.
40193         [POSIX] (S_ISFIFO): Likewise.
40194         [POSIX] (S_ISREG): Likewise.
40195         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40196         optional-macro.
40197         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40198         type.
40199         [POSIX] (time_t): Likewise.
40200         [POSIX] (timer_t): Likewise.
40202 2014-06-11  Florian Weimer  <fweimer@redhat.com>
40204         [BZ #17048]
40205         * posix/spawn_int.h (struct __spawn_action): Make the path string
40206         non-const to support deallocation.
40207         * posix/spawn_faction_addopen.c
40208         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40209         * posix/spawn_faction_destroy.c
40210         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
40211         path in all spawn_do_open actions.
40212         * posix/tst-spawn.c (do_test): Exercise the copy operation in
40213         posix_spawn_file_actions_addopen.
40215 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
40217         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40218         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40219         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40220         conditional code always true.
40221         (__libc_vfork): New alias.
40223 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40225         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40226         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40228         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40230         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40231         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40233         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40234         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40236         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40237         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40239 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40241         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40242         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40243         multiarch strcmp for PPC64.
40244         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40245         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40247         multiarch optimizations.
40248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40249         (__libc_ifunc_impl_list): Likewise.
40251 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40253         * benchtests/scripts/validate_benchout.py: New script.
40254         * benchtests/Makefile (bench-func): Call it.
40255         * benchtests/scripts/benchout.schema.json: New file.
40257 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
40259         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40260         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40261         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40262         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40263         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40264         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40265         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40266         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40267         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40268         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40269         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40270         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40271         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40272         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40273         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40274         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40276         Moved ...
40277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40278         ... here.
40279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40280         Moved ...
40281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40283         Moved ...
40284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40285         ... here.
40286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40287         Moved ...
40288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40289         ... here.
40290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40291         Moved ...
40292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40294         Moved ...
40295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40296         ... here.
40297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40298         Moved ...
40299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40300         ... here.
40301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40302         Moved ...
40303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40305         Moved ...
40306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40307         ... here.
40308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40309         Moved ...
40310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40311         ... here.
40312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40313         Moved ...
40314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40315         ... here.
40316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40317         Moved ...
40318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40320         Moved ...
40321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40322         ... here.
40323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40324         Moved ...
40325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40326         ... here.
40327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40328         Moved ...
40329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40330         ... here.
40331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40332         Moved ...
40333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40335         Moved ...
40336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40337         ... here.
40338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40339         Moved ...
40340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40341         ... here.
40342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40343         Moved ...
40344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40346         Moved ...
40347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40348         ... here.
40349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40350         Moved ...
40351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40353         Moved ...
40354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40356         Moved ...
40357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40358         ... here.
40359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40360         Moved ...
40361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40362         ... here.
40363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40364         Moved ...
40365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40366         ... here.
40367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40368         Moved ...
40369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40371         Moved ...
40372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40373         ... here.
40374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40375         Moved ...
40376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40377         ... here.
40378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40379         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40380         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40381         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40382         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40383         Moved ...
40384         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40385         ... here.
40386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40387         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40388         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40389         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40390         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40391         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40392         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40393         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40394         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40395         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40396         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40397         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40398         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40399         Moved ...
40400         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40401         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40402         Moved ...
40403         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40404         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40405         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40406         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40407         Moved ...
40408         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40409         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40410         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40411         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40412         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40413         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40414         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40416 2014-06-10  Wilco  <wdijkstr@arm.com>
40418         * math/test-fenv-return.c: New file.
40419         * math/Makefile: Add new test test-fenv-return.
40421 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
40423         [BZ #17042]
40424         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40425         when x - 1 is zero.
40426         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40427         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40428         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40429         0.0L for an argument of 1.0L.
40430         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40431         Likewise.
40432         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40433         value when x - 1 is zero.
40434         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40435         * sysdeps/i386/fpu/libm-test-ulps: Update.
40436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40438 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
40440         [BZ #15119]
40441         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40443 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40445         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40446         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40448 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40450         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40451         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40453         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40454         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40456         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40457         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40459         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40460         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40462         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40463         if not already defined.
40464         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40465         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40466         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40467         (TLS_INIT_TP): Use it.
40468         (TLS_DEFINE_INIT_TP): New macro.
40469         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40471 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
40473         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40474         constant.
40475         [POSIX] (IXANY): Likewise.
40476         [POSIX] (OLCUC): Likewise.
40477         [POSIX || POSIX2008] (CBAUD): Do not allow.
40478         [POSIX || POSIX2008] (DEFECHO): Likewise.
40479         [POSIX || POSIX2008] (ECHOCTL): Likewise.
40480         [POSIX || POSIX2008] (ECHOKE): Likewise.
40481         [POSIX || POSIX2008] (ECHOPRT): Likewise.
40482         [POSIX || POSIX2008] (EXTA): Likewise.
40483         [POSIX || POSIX2008] (EXTB): Likewise.
40484         [POSIX || POSIX2008] (FLUSHO): Likewise.
40485         [POSIX || POSIX2008] (LOBLK): Likewise.
40486         [POSIX || POSIX2008] (PENDIN): Likewise.
40487         [POSIX || POSIX2008] (SWTCH): Likewise.
40488         [POSIX || POSIX2008] (VDISCARD): Likewise.
40489         [POSIX || POSIX2008] (VDSUSP): Likewise.
40490         [POSIX || POSIX2008] (VLNEXT): Likewise.
40491         [POSIX || POSIX2008] (VREPRINT): Likewise.
40492         [POSIX || POSIX2008] (VSTATUS): Likewise.
40493         [POSIX || POSIX2008] (VWERASE): Likewise.
40494         (B*): Change to B[0123456789]*.
40495         * conform/data/time.h-data [POSIX || UNIX98]
40496         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40497         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40498         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40499         [POSIX] (tm_*): Do not allow.
40501 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
40503         * Makefile (install): Don't set LANGUAGE.
40504         * Makefile.in (install): Likewise.
40505         * assert/Makefile (test-assert-ENV): Remove variable.
40506         (test-assert-perr-ENV): Likewise.
40507         * elf/Makefile (neededtest4-ENV): Likewise.
40508         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40509         [$(cross-compiling) = no]: Don't set LANGUAGE.
40510         * io/ftwtest-sh (LANG): Remove variable.
40511         * libio/Makefile (tst-widetext-ENV): Likewise.
40512         * manual/install.texi (Running make install): Don't refer to
40513         environment settings for make install.
40514         * INSTALL: Regenerated.
40515         * nptl/tst-tls6.sh: Don't set LANG.
40516         * posix/globtest.sh (LANG): Remove variable.
40517         * string/Makefile (tester-ENV): Likewise.
40518         (inl-tester-ENV): Likewise.
40519         (noinl-tester-ENV): Likewise.
40520         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40521         [$(cross-compiling) = no]: Don't set LANGUAGE.
40522         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40523         without explicit environment settings.
40525 2014-06-06  Roland McGrath  <roland@hack.frob.com>
40527         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40528         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40529         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40530         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40532 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
40534         * crypt/crypt-private.h [DOS]: Add some includes taken from the
40535         other files in the crypt directory.
40536         * crypt/crypt.c: Remove duplicate includes.
40537         * crypt/crypt-entry.c: Likewise.
40538         * crypt/crypt_util.c: Likewise.
40540 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
40542         * Makeconfig (run-program-env): New variable.
40543         (run-program-prefix-before-env): Likewise.
40544         (run-program-prefix-after-env): Likewise.
40545         (run-program-prefix): Define in terms of new variables.
40546         (built-program-cmd-before-env): New variable.
40547         (built-program-cmd-after-env): Likewise.
40548         (built-program-cmd): Define in terms of new variables.
40549         (test-program-prefix-before-env): New variable.
40550         (test-program-prefix-after-env): Likewise.
40551         (test-program-prefix): Define in terms of new variables.
40552         (test-program-cmd-before-env): New variable.
40553         (test-program-cmd-after-env): Likewise.
40554         (test-program-cmd): Define in terms of new variables.
40555         * Rules (make-test-out): Use $(run-program-env).
40556         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40557         (help): Do not mention environment variables.  Mention
40558         --timeoutfactor option.
40559         (timeoutfactor): New variable.
40560         (blacklist_exports): Remove function.
40561         (exports): Remove variable.
40562         (command): Do not include ${exports}.
40563         * manual/install.texi (Configuring and compiling): Do not mention
40564         test wrappers preserving environment variables.  Mention that last
40565         assignment to a variable must take precedence.
40566         * INSTALL: Regenerated.
40567         * benchtests/Makefile (run-bench): Use $(run-program-env).
40568         * catgets/Makefile ($(objpfx)test1.cat): Use
40569         $(built-program-cmd-before-env), $(run-program-env) and
40570         $(built-program-cmd-after-env).
40571         ($(objpfx)test2.cat): Do not specify environment variables
40572         explicitly.
40573         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40574         $(run-program-env) and $(built-program-cmd-after-env).
40575         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40576         $(run-program-env) and $(test-program-cmd-after-env).
40577         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40578         explicitly.
40579         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40580         run_program_env and test_program_cmd_after_env arguments.
40581         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40582         * elf/tst-pathopt.sh: Use run_program_env argument.
40583         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40584         $(test-wrapper-env) and $(run-program-env).
40585         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40586         run_program_env arguments.
40587         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40588         * intl/Makefile ($(objpfx)tst-gettext.out): Use
40589         $(test-program-prefix-before-env), $(run-program-env) and
40590         $(test-program-prefix-after-env).
40591         ($(objpfx)tst-gettext2.out): Likewise.
40592         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40593         run_program_env and test_program_prefix_after_env arguments.
40594         * intl/tst-gettext2.sh: Likewise.
40595         * intl/tst-gettext4.sh: Do not set environment variables
40596         explicitly.
40597         * intl/tst-gettext6.sh: Likewise.
40598         * intl/tst-translit.sh: Likewise.
40599         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40600         $(test-program-prefix-before-env), $(run-program-env) and
40601         $(test-program-prefix-after-env).
40602         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40603         run_program_env and test_program_prefix_after_env arguments.
40604         * math/Makefile (run-regen-ulps): Use $(run-program-env).
40605         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40606         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
40607         explicitly with each use of ${test_wrapper_env}.
40608         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40609         $(test-program-prefix-before-env), $(run-program-env) and
40610         $(test-program-prefix-after-env).
40611         * posix/tst-getconf.sh: Do not set environment variables
40612         explicitly.
40613         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40614         run_program_env and test_program_prefix_after_env arguments.
40615         * stdio-common/tst-printf.sh: Do not set environment variables
40616         explicitly.
40617         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40618         $(test-program-prefix-before-env), $(run-program-env) and
40619         $(test-program-prefix-after-env).
40620         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40621         run_program_env and test_program_prefix_after_env arguments.
40622         Split $test calls into $test_pre and $test.
40623         * timezone/Makefile (build-testdata): Use
40624         $(built-program-cmd-before-env), $(run-program-env) and
40625         $(built-program-cmd-after-env).
40627 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40629         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40630         strlen for non SHARED builds.
40632 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40634         * nptl/allocatestack.c (check_list): Inlined function...
40635         (__reclaim_stacks): ... here.
40637 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40639         [BZ #15698]
40640         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40641         memory overrun.
40643 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
40645         * Rules (make-test-out): Include
40646         LOCPATH=$(common-objpfx)localedata in default environment.
40647         * debug/Makefile (tst-chk1-ENV): Remove variable.
40648         (tst-chk2-ENV): Likewise.
40649         (tst-chk3-ENV): Likewise.
40650         (tst-chk4-ENV): Likewise.
40651         (tst-chk5-ENV): Likewise.
40652         (tst-chk6-ENV): Likewise.
40653         (tst-lfschk1-ENV): Likewise.
40654         (tst-lfschk2-ENV): Likewise.
40655         (tst-lfschk3-ENV): Likewise.
40656         (tst-lfschk4-ENV): Likewise.
40657         (tst-lfschk5-ENV): Likewise.
40658         (tst-lfschk6-ENV): Likewise.
40659         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40660         (tst-iconv7-ENV): Likewise.
40661         * intl/Makefile (LOCPATH-ENV): Likewise.
40662         (tst-codeset-ENV): Likewise.
40663         (tst-gettext3-ENV): Likewise.
40664         (tst-gettext5-ENV): Likewise.
40665         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40666         (tst-fopenloc-ENV): Likewise.
40667         (tst-fgetws-ENV): Remove variable.
40668         (tst-ungetwc1-ENV): Likewise.
40669         (tst-ungetwc2-ENV): Likewise.
40670         (bug-ungetwc2-ENV): Likewise.
40671         (tst-swscanf-ENV): Likewise.
40672         (bug-ftell-ENV): Likewise.
40673         (tst-fgetwc-ENV): Likewise.
40674         (tst-fseek-ENV): Likewise.
40675         (tst-ftell-partial-wide-ENV): Likewise.
40676         (tst-ftell-active-handler-ENV): Likewise.
40677         (tst-ftell-append-ENV): Likewise.
40678         * posix/Makefile (tst-fnmatch-ENV): Likewise.
40679         (tst-regexloc-ENV): Likewise.
40680         (bug-regex1-ENV): Likewise.
40681         (tst-regex-ENV): Likewise.
40682         (tst-regex2-ENV): Likewise.
40683         (bug-regex5-ENV): Likewise.
40684         (bug-regex6-ENV): Likewise.
40685         (bug-regex17-ENV): Likewise.
40686         (bug-regex18-ENV): Likewise.
40687         (bug-regex19-ENV): Likewise.
40688         (bug-regex20-ENV): Likewise.
40689         (bug-regex22-ENV): Likewise.
40690         (bug-regex23-ENV): Likewise.
40691         (bug-regex25-ENV): Likewise.
40692         (bug-regex26-ENV): Likewise.
40693         (bug-regex30-ENV): Likewise.
40694         (bug-regex32-ENV): Likewise.
40695         (bug-regex33-ENV): Likewise.
40696         (bug-regex34-ENV): Likewise.
40697         (bug-regex35-ENV): Likewise.
40698         (tst-rxspencer-ENV): Likewise.
40699         (tst-rxspencer-no-utf8-ENV): Likewise.
40700         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40701         (tst-sscanf-ENV): Likewise.
40702         (tst-swprintf-ENV): Likewise.
40703         (tst-swscanf-ENV): Likewise.
40704         (test-vfprintf-ENV): Likewise.
40705         (scanf13-ENV): Likewise.
40706         (bug14-ENV): Likewise.
40707         (tst-grouping-ENV): Likewise.
40708         * stdlib/Makefile (tst-strtod-ENV): Likewise.
40709         (tst-strtod3-ENV): Likewise.
40710         (tst-strtod4-ENV): Likewise.
40711         (tst-strtod5-ENV): Likewise.
40712         (testmb2-ENV): Likewise./
40713         * string/Makefile (tst-strxfrm-ENV): Likewise.
40714         (tst-strxfrm2-ENV): Likewise.
40715         (bug-strcoll1-ENV): Likewise.
40716         (test-strcasecmp-ENV): Likewise.
40717         (test-strncasecmp-ENV): Likewise.
40718         * time/Makefile (tst-strptime-ENV): Likewise.
40719         (tst-ftime_l-ENV): Likewise.
40720         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40721         (tst-mbrtowc-ENV): Likewise.
40722         (tst-wcrtomb-ENV): Likewise.
40723         (tst-mbrtowc2-ENV): Likewise.
40724         (tst-c16c32-1-ENV): Likewise.
40725         (tst-mbsnrtowcs-ENV): Likewise.
40727 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40729         * manual/resource.texi (How to get information about the memory
40730         subsystem?): Fix typo.
40731         Reported by Peon de la Parra Ivan <peon@keba.com>
40733 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
40735         [BZ #16882]
40736         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40737         (pthread_spin_lock): Branch out of spin loop to proper location.
40738         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40739         (pthread_spin_lock): Likewise.
40741         * nptl/tst-spin4.c: New test.
40742         * nptl/Makefile (tests): Add tst-spin4.
40744 2014-06-03  Andreas Schwab  <schwab@suse.de>
40746         [BZ #15946]
40747         * resolv/res_send.c (send_dg): Reload file descriptor after
40748         calling reopen.
40750 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
40752         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40754 2014-06-03  Richard Henderson  <rth@redhat.com>
40756         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40757         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40758         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40759         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
40760         in the SAVE_PID block.
40761         (__libc_vfork): New alias.
40762         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40764         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40765         child in registers, not on the stack.  Remove RESET_PID conditionals.
40766         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40768 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40770         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40772 2014-06-03  Wilco  <wdijkstr@arm.com>
40774         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40775         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40776         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40777         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40778         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40779         Likewise.
40781 2014-06-03  Wilco  <wdijkstr@arm.com>
40783         * sysdeps/aarch64/fpu/math_private.h
40784         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40785         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40786         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40787         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40788         Fix declarations.
40790 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40792         * crypt/crypt-private.h: Include ufc-crypt.h.
40793         (__b64_from_24bit): Declare extern.
40794         * crypt/crypt_util.c(__b64_from_24bit): New function.
40795         (b64t): New static const variable.
40796         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40797         (b64t): Remove variable.
40798         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40799         * crypt/sha256-crypt.c: Include crypt-private.h.
40800         (b64t): Remove variable.
40801         (__sha256_crypt_r): Remove b64_from_24bit and replace
40802         with __b64_from_24bit.
40803         * crypt/sha512-crypt.c: Likewise.
40805 2014-06-02  Roland McGrath  <roland@hack.frob.com>
40807         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40808         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40809         Label the code __libc_vfork rather than __vfork.
40810         [!NOT_IN_libc] (vfork): Define as weak alias.
40811         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40812         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40813         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40815 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40817         * malloc/malloc.c (malloc_info): Fix format specifier for
40818         n_mmaps.
40820 2014-06-02  Wilco  <wdijkstr@arm.com>
40822         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40823         FPCR write.
40825 2014-06-02  Wilco  <wdijkstr@arm.com>
40827         [BZ #17009]
40828         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40829         Rewrite to reduce FPCR/FPSR accesses.
40831 2014-06-01  David S. Miller  <davem@davemloft.net>
40833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40835 2014-05-31  David S. Miller  <davem@davemloft.net>
40837         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40838         to occur in round to nearest mode when |x| >= 2.0
40840 2014-05-30  Richard Henderson  <rth@twiddle.net>
40842         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40843         (PSEUDO_RET_NOERRNO): Remove.
40844         (ret): Don't redefine.
40845         (ret_NOERRNO): Define in terms of ret.
40846         (ret_ERRVAL): Likewise.
40848         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40849         use of PSEUDO_RET; perform the error check directly.
40851 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
40853         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40854         with __int128_t.
40856 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40858         * malloc/malloc (malloc_info): Fix formatting.
40860 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40861             Roland McGrath  <roland@hack.frob.com>
40863         * malloc/malloc (malloc_info): Also print mmapped statistics.
40865 2014-05-30  Roland McGrath  <roland@hack.frob.com>
40867         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40868         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40870 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
40872         * malloc/malloc.c (malloc_info): Inline mi_arena.
40874 2014-05-29  Richard Henderson  <rth@twiddle.net>
40876         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40877         Remove comma before expanding ASM_ARGS_##nr.
40878         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40879         Make _x0 a strict output; make _x8 a strict input; adjust expansion
40880         of ASM_ARGS_##nr.
40881         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40882         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40883         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40884         (ASM_ARGS_1): Add leading comma.
40886         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40887         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40888         to __errno_location.
40889         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40890         Remove the expected plt for __errno_location.
40892         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40893         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40894         call to __read_tp.
40896         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40897         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
40898         it and break it down.
40899         (DOCARGS_0, DOCARGS_1): Do nothing.
40900         (DOCARGS_2): Update to store into the new stack frame.
40901         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40902         (UNDOCARGS_1): Update to restore from the new stack frame.
40903         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40904         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40906         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40907         (SINGLE_THREAD_P): New parameter for result regno.
40908         (PSEUDO): Update to match; use cbz instead of beq.
40910         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40911         Use ENTRY to define the _nocancel entry point.  Share the syscall
40912         and syscall error check paths with the cancel path.
40913         (PSEUDO_END): New.
40915         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40916         whitespace; tabs before and after asm mnemonics.
40918 2014-05-29  Eric Wong  <normalperson@yhbt.net>
40920         [BZ #15132]
40921         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40922         Call fstat64 or stat64 internally, depending on arguments passed.
40923         Replace stat buffer argument with file descriptor argument.
40924         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40925         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40926         Pass fd to __internal_statvfs instead of calling fstat64.
40927         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40928         Pass fd to __internal_statvfs64 instead of calling fstat64.
40929         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40930         Pass -1 to __internal_statvfs instead of calling stat64.
40931         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40932         Pass -1 to __internal_statvfs64 instead of calling stat64.
40934 2014-05-28  Roland McGrath  <roland@hack.frob.com>
40936         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40937         that was previously under [RESET_PID].
40938         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40940         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40941         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40943 2014-05-27  Roland McGrath  <roland@hack.frob.com>
40945         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40947         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40948         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40950 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
40952         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40954 2014-05-27  Andreas Schwab  <schwab@suse.de>
40956         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40957         TLS_INIT_TP macro.
40958         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40959         * elf/rtld.c (init_tls, dl_main): Likewise.
40960         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40961         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40962         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40963         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40964         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40965         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40966         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40967         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40968         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40969         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40970         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40971         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40972         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40973         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40974         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40975         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40976         * sysdeps/generic/tls.h: Update description.
40978 2014-05-27  Will Newton  <will.newton@linaro.org>
40980         [BZ #16990]
40981         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40982         and restore r2 rather than just restoring.
40984 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40986         [BZ #16724]
40987         * libio/tst-ftell-append.c: New test case.
40988         * libio/Makefile (tests): Add test case.
40989         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40990         append mode.
40991         * libio/wfileops.c (do_ftell_wide): Likewise.
40993 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40997         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40998         ...
40999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
41000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41001         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
41002         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
41003         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
41004         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
41005         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
41006         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
41007         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41008         Moved ...
41009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
41010         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41011         Moved ...
41012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
41013         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
41014         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
41015         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
41016         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
41017         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
41018         ...
41019         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
41020         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
41021         Moved ...
41022         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
41023         here.
41024         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
41025         ...
41026         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
41027         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
41028         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
41030         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
41031         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
41032         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
41033         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
41035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
41036         merge into ...
41037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
41038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
41039         ...
41040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
41041         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
41042         ...
41043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
41044         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41045         Moved ...
41046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
41047         here.
41048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41049         Moved ...
41050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
41051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41052         Moved ...
41053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
41055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
41056         conditional [RESET_PID].
41057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
41058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
41059         removed.
41060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
41061         removed.
41063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
41064         <tcb-offsets.h>.
41065         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41066         (__libc_vfork): New strong alias.
41067         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
41068         removed.
41069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
41070         Removed.
41072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
41073         <tcb-offsets.h>.
41074         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
41075         (__libc_vfork): New strong alias.
41076         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
41077         removed.
41078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
41079         removed.
41081 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
41083         * malloc/malloc.c (mi_arena): New function.
41084         (malloc_info): Remove nested function mi_arena. Call non-nosted
41085         function mi_arena.
41087 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41089         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
41090         by insrwi.
41091         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
41092         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41093         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41094         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
41095         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
41096         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
41097         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
41099 2014-05-26  Andreas Schwab  <schwab@suse.de>
41101         [BZ #16984]
41102         * locale/programs/repertoire.c (repertoire_read): Add slash
41103         between I18NPATH element and file name.
41104         * locale/programs/locfile.c (locfile_read): Likewise.
41106 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
41108         * nptl/pthread_mutexattr_settype.c
41109         (__pthread_mutexattr_settype):
41110         Disable lock elision for PTHREAD_MUTEX_NORMAL.
41112 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
41114         * nptl/tst-mutex5 (do_test):
41115         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
41117 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41119         * benchtests/README: Document 'init' directive.
41120         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
41121         BENCH_INIT.
41122         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
41123         (parse_file): Recognize 'init' directive.
41125 2014-05-26  Kyle McMartin  <kyle@redhat.com>
41127         [BZ #16796]
41128         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
41129         alignment of struct pthread.
41131 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41133         [BZ #16878]
41134         * nscd/netgroupcache.c (addgetnetgrentX): Look for
41135         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41136         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
41137         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41139 2014-05-25  Richard Henderson  <rth@twiddle.net>
41141         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41142         (SINGLE_THREAD_P_PIC): Remove.
41143         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
41144         (SINGLE_THREAD_P_PIC): Remove.
41146         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
41147         branch to syscall error ...
41148         (PSEUDO): ... here.
41149         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
41150         from __local_syscall_error to .Lsyscall_error.
41151         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41152         (SYSCALL_ERROR): Update label name.
41154         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41155         Do not use DOARGS/UNDOARGS.
41156         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
41157         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
41158         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
41159         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
41160         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
41162         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
41163         block comment.
41165         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
41166         define if !NOT_IN_libc.
41167         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
41168         define with non-default symbol versions.
41170 2014-05-23  Richard Henderson  <rth@twiddle.net>
41172         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
41173         (vfork, __vfork): Define via compat_symbol.
41175         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
41176         [!HAVE_IFUNC] (vfork_compat): Remove.
41177         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
41179 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41181         [BZ #16978]
41182         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
41183         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41184         variable.
41186 2014-05-23  Richard Henderson  <rth@twiddle.net>
41188         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41189         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41190         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41191         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41193         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41194         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41195         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41196         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41197         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41198         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41199         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41200         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41201         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41202         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41203         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41204         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41205         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41206         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41207         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41208         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41209         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41210         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41211         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41212         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41213         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41214         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41215         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41216         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41217         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41218         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41219         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41220         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41221         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41222         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41223         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41224         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41225         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41226         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41227         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41228         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41229         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41230         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41231         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41232         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41233         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41234         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41235         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41236         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41237         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41238         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41239         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41240         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41241         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41242         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41243         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41244         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41245         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41246         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41247         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41248         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41250         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41251         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41252         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
41253         before exiting on error.
41254         (__libc_vfork): New strong alias.
41255         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41256         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41258         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41259         that was previously under [RESET_PID].
41260         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41262         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41264 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41266         [BZ #16977]
41267         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41268         value when x - 1 is zero.
41269         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41270         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41271         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41272         0.0L for an argument of 1.0L.
41273         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41274         Likewise.
41275         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41276         value when x - 1 is zero.
41277         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41278         * sysdeps/i386/fpu/libm-test-ulps: Update.
41279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41281 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41283         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41284         alphasort and versionsort.
41286 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41288         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41289         macro.
41290         [copysignf]: Likewise.
41292 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41294         * crypt/md5-crypt.c: Fix formatting.
41296 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41298         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41299         (b64_from_24bit): New function.
41301 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41303         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41304         libc_hidden_builtin_def to ifunc.
41305         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41306         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41308 2014-05-21  Roland McGrath  <roland@hack.frob.com>
41310         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41311         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41313 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
41315         * nscd/Depend (linuxthreads): Remove.
41316         (nptl): Add.
41317         * resolv/Depend (linuxthreads): Remove.
41318         * rt/Depend (linuxthreads): Remove.
41320         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41321         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41322         $(common-objpfx)elf/.
41323         (link-libc-before-gnulib): Likewise.
41324         (elfobjdir): Remove variable.
41325         * Makefile (install): Use $(elf-objpfx) instead of
41326         $(common-objpfx)elf/.
41327         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41328         $(elfobjdir)/.
41329         (link-libc-deps): Likewise.
41330         ($(common-objpfx)libc.so): Likewise.
41331         ($(common-objpfx)linkobj/libc.so): Likewise.
41332         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41333         instead of $(common-objpfx)elf/.
41334         (symbolic-link-list): Likewise.
41335         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41336         [$(cross-compiling) = no]: Likewise.
41337         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41338         $(elfobjdir)/.
41339         (static-gnulib-arch): Likewise.
41340         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41341         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41342         $(common-objpfx)elf/.
41344 2014-05-21  Richard Henderson  <rth@redhat.com>
41346         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41347         (SINGLE_THREAD_P): Use the correct width load.  Fold
41348         into the ldr offset.
41350         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41351         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41353 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
41355         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41356         (libgcc_s_resume): Use __attribute_used__.
41357         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41358         Likewise.
41360 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41362         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41363         optimization when used with float constants.
41365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41367 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
41369         [BZ #16915]
41370         * locale/nl_langinfo_l.c: Make direct reference to every
41371         _nl_current_CATEGORY symbol.
41372         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41373         (tests-static): Add tst-langinfo-static.
41374         (tests-special): Add tst-langinfo-static.out.
41375         ($(objpfx)tst-langinfo.out): Redirect output.
41376         ($(objpfx)tst-langinfo-static.out): New.
41377         * localedata/tst-langinfo.sh: Send output to stdout.
41378         * localedata/tst-langinfo-static.c: New file.
41380         [BZ #16965]
41381         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41382         when the shift amount is modulo the limb size.
41384 2014-05-20  Richard Henderson  <rth@redhat.com>
41386         [BZ #16967]
41387         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41388         Change type of sa_flags from unsigned int to int.
41390         [BZ #16966]
41391         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41393         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41395 2014-05-20  Will Newton  <will.newton@linaro.org>
41397         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41398         Test the return value of the system call in the nocancel case.
41400 2014-05-20  Will Newton  <will.newton@linaro.org>
41401             Yvan Roux  <yvan.roux@linaro.org>
41403         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41404         #include of asm/ptrace.h.
41405         (PTRACE_GET_THREAD_AREA): Remove #undef.
41406         (PTRACE_GETHBPREGS): Likewise.
41407         (PTRACE_SETHBPREGS): Likewise.
41408         (struct user_regs_struct): New structure.
41409         (struct user_fpsimd_struct): New structure.
41410         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41411         #include of asm/ptrace.h and second #include of sys/user.h.
41412         (PTRACE_GET_THREAD_AREA): Remove #undef.
41413         (PTRACE_GETHBPREGS): Likewise.
41414         (PTRACE_SETHBPREGS): Likewise.
41415         (ELF_NGREG): Use new struct user_regs_struct.
41416         (elf_fpregset_t): Use new struct user_fpsimd_struct.
41418 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41420         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41421         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41423 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
41425         [BZ #16958]
41426         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41427         membar to avoid block loads/stores to overlap previous stores.
41429 2014-05-17  Richard Henderson  <rth@redhat.com>
41431         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41432         Create the __##syscall_name##_nocancel entry point.
41433         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41434         Remove; let the sysdep-cancel.h code create it.
41436 2014-05-17  David S. Miller  <davem@davemloft.net>
41438         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41439         Protect with __USE_GNU.
41440         (TIOCSET_TEMPT): Likewise.
41441         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41442         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41443         these are already provided in bits/ioctl-types.h
41445 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41447         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41448         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41450         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41451         Use wait4 regardless of [__NR_waitpid].
41453 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41455         PR libgcc/60166
41456         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41457         (_FP_NANSIGN_Q): Set the quiet bit.
41459 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
41461         * benchtests/Makefile
41462         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41463         not $(common-objpfx)math/libm.so.
41464         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41465         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41466         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41467         $(common-objpfx)dlfcn/libdl.so.
41468         ($(objpfx)tst-audit8): Depend on $(libm), not
41469         $(common-objpfx)math/libm.so.
41470         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41471         not $(common-objpfx)dlfcn/libdl.so.
41472         * math/Makefile
41473         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41474         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
41475         [$(build-shared) = yes].
41476         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41477         $(common-objpfx)nptl/libpthread.so.
41478         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41479         $(common-objpfx)math/libm.so$(libm.so-version) or
41480         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41481         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41482         $(common-objpfx)dlfcn/libdl.so.
41483         * setjmp/Makefile (link-libm): Remove variable.
41484         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41485         * stdio-common/Makefile (link-libm): Remove variable.
41486         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41487         * stdlib/Makefile (link-libm): Remove variable.
41488         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41489         ($(objpfx)tst-strtod-round): Likewise.
41490         ($(objpfx)tst-tininess): Likewise.
41491         ($(objpfx)tst-strtod-underflow): Likewise.
41492         ($(objpfx)tst-strtod6): Likewise.
41493         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41494         $(libdl), not $(common-objpfx)nptl/libpthread.so and
41495         $(common-objpfx)dlfcn/libdl.so.
41497 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41499         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41500         BSD terminal modes definitions.
41502 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41504         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41505         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41507         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41508         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41509         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41510         Don't do #include_next.
41511         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41512         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41513         Don't do #include_next.
41514         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41515         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41516         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41517         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41519 2014-05-16  Allan McRae  <allan@archlinux.org>
41521         * po/sv.po: Update Swedish translation from translation project.
41523         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41524         in sed expression.
41526 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
41528         [BZ #16917]
41529         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41530         errno if the TIOCGPTN ioctl fails with an error different than
41531         EINVAL.
41532         * login/tst-ptsname.c: New file.
41533         * login/Makefile (tests): Add tst-ptsname.
41535         [BZ #16943]
41536         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41537         and prlimit64.
41539 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41541         [BZ #16849]
41542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41543         herrno to return EAI_AGAIN.
41545 2014-05-14  Roland McGrath  <roland@hack.frob.com>
41547         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41548         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41549         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41550         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41551         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41552         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41553         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41554         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41555         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41556         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41557         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41558         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41559         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41560         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41561         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41562         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41563         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41564         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41565         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41566         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41567         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41568         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41569         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41570         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41571         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41572         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41573         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41574         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41575         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41576         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41578         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41580         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41582         Moved ...
41583         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41585         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41587         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41589         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41591         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41593         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41595         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41597         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41599         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41601         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41603         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41605         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41607         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41609         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41611         Moved ...
41612         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41614         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41616         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41618         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41620         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41622         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41624         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41626         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41628         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41630         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41632         Moved ...
41633         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41635         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41637         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41638         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41639         (libpthread-sysdep_routines): Add elision-related stuff here instead.
41640         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41641         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41642         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41643         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41644         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41645         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41646         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41647         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41648         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41649         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41650         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41651         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41652         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41653         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41654         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41655         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41656         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41657         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41658         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41659         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41660         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41661         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41662         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41663         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41664         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41665         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41666         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41667         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41669         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41670         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41672         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41673         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41674         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41675         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41676         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41677         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41678         Moved ...
41679         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41680         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41681         Moved ...
41682         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41683         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41684         Moved ...
41685         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41686         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41687         Moved ...
41688         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41689         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41690         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41691         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41692         Moved ...
41693         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41694         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41695         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41696         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41697         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41698         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41699         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41700         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41701         Moved ...
41702         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41703         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41704         Moved ...
41705         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41706         ... here.
41707         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41708         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41709         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41710         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41711         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41712         Moved ...
41713         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41714         ... here.
41715         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41716         Moved ...
41717         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41718         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41719         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41720         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41721         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41722         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41723         Moved ...
41724         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41725         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41726         Moved ...
41727         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41728         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41729         Moved ...
41730         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41731         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41732         Moved ...
41733         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41734         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41735         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41736         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41737         Moved ...
41738         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41739         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41740         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41741         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41742         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41743         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41744         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41745         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41746         Moved ...
41747         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41748         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41749         Moved ...
41750         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41751         ... here.
41752         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41753         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41754         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41755         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41756         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41757         Moved ...
41758         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41759         ... here.
41760         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41761         Moved ...
41762         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41763         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41764         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41765         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41766         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41767         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41768         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41769         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41770         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41771         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41772         Moved ...
41773         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41774         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41775         Moved ...
41776         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41777         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41778         Moved ...
41779         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41780         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41781         Moved ...
41782         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41783         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41784         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41785         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41786         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41787         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41788         Moved ...
41789         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41790         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41791         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41792         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41793         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41794         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41795         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41796         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41797         Moved ...
41798         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41799         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41800         Moved ...
41801         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41802         ... here.
41803         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41804         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41805         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41806         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41807         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41808         Moved ...
41809         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41810         ... here.
41811         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41812         Moved ...
41813         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41814         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41815         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41816         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41817         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41818         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41819         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41820         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41821         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41822         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41823         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41825         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41826         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41828         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41829         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41831         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41832         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41833         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41834         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41835         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41836         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41837         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41838         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41839         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41840         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41841         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41842         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41843         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41844         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41845         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41846         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41847         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41848         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41849         Moved ...
41850         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41851         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41852         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41853         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41854         Moved ...
41855         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41856         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41857         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41859         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41860         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41861         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41862         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41863         Moved ...
41864         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41865         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41866         Moved ...
41867         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41868         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41869         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41870         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41871         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41873         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41874         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41875         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41876         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41877         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41878         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41879         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41880         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41881         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41882         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41883         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41885         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41886         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41887         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41888         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41889         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41891         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41892         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41893         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41894         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41895         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41896         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41897         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41898         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41899         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41900         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41903         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41905         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41906         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41907         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41908         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41909         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41910         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41911         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41912         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41913         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41914         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41915         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41916         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41917         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41918         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41919         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41920         Update #include.
41921         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41922         Likewise.
41923         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41924         Likewise.
41925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41926         Likewise.
41927         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41928         Likewise.
41929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41930         Likewise.
41931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41932         Likewise.
41933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41934         Likewise.
41935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41936         Likewise.
41937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41938         Likewise.
41939         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41940         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41942         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41944         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41945         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41946         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41947         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41948         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41949         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41950         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41951         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41952         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
41953         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
41955         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41956         that was previously under [RESET_PID].
41957         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41958         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41959         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41961         * sysdeps/i386/nptl/Implies: New file.
41962         * sysdeps/x86_64/nptl/Implies: New file.
41963         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41964         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41965         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41966         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41968         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41969         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41970         (__libc_vfork): New strong alias.
41971         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41972         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41974         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41975         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41976         (__libc_vfork): New strong alias.
41977         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41978         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41980         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41981         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41982         (__libc_vfork): New strong alias.
41983         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41984         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41985         * nptl/pt-vfork.c: New file.
41986         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41987         (libpthread: GLIBC_2.20): New version set (empty).
41989 2014-05-14  Will Newton  <will.newton@linaro.org>
41991         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41992         rather than #if.
41994 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41996         [BZ #16564]
41997         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41998         arguments with exponent 65 or above.
41999         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
42000         arguments 0x1p113L or above.
42001         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
42002         to arguments 0x1p107L or above.
42003         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
42004         positive arguments with exponent 65 or above.
42005         * math/auto-libm-test-in: Add more tests of log1p.
42006         * math/auto-libm-test-out: Regenerated.
42008         [BZ #16928]
42009         * math/s_cacos.c (__cacos): Ensure zero real part of result from
42010         non-finite arguments is +0.
42011         * math/s_cacosf.c (__cacosf): Likewise.
42012         * math/s_cacosl.c (__cacosl): Likewise.
42013         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
42014         * sysdeps/i386/fpu/libm-test-ulps: Update.
42015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42017         [BZ #16927]
42018         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
42019         value.
42020         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
42021         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
42022         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
42023         for explicit high bit of mantissa when testing for argument equal
42024         to 1.
42025         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
42026         * sysdeps/i386/fpu/libm-test-ulps: Update.
42027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42029         [BZ #16516]
42030         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
42031         (__erf): Scale by 16 instead of 8 in potentially underflowing
42032         case.  Ensure exception if result actually underflows.
42033         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
42034         (__erff): Scale by 16 instead of 8 in potentially underflowing
42035         case.  Ensure exception if result actually underflows.
42036         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
42037         (efx8): Remove variable.
42038         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42039         case.  Ensure exception if result actually underflows.
42040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
42041         (efx8): Remove variable.
42042         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42043         case.  Ensure exception if result actually underflows.
42044         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
42045         (efx8): Remove variable.
42046         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42047         case.  Ensure exception if result actually underflows.
42048         * math/auto-libm-test-in: Add more tests of erf.
42049         * math/auto-libm-test-out: Regenerated.
42051 2014-05-14  Andreas Schwab  <schwab@suse.de>
42053         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
42054         Remove code conditionalized on USE___THREAD.
42056         * config.h.in (HAVE_PT_CHOWN): Define as 0.
42057         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
42058         not definedness.
42060 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
42062         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
42063         Define unconditionally.
42064         (__ASSUME_O_CLOEXEC): Likewise.
42065         (__ASSUME_SOCK_CLOEXEC): Likewise.
42066         (__ASSUME_IN_NONBLOCK): Likewise.
42067         (__ASSUME_PIPE2): Likewise.
42068         (__ASSUME_EVENTFD2): Likewise.
42069         (__ASSUME_SIGNALFD4): Likewise.
42070         (__ASSUME_DUP3): Likewise.
42071         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42072         (__ASSUME_DUP3): Do not define.
42073         (__ASSUME_EVENTFD2): Likewise.
42074         (__ASSUME_IN_NONBLOCK): Likewise.
42075         (__ASSUME_O_CLOEXEC): Likewise.
42076         (__ASSUME_PIPE2): Likewise.
42077         (__ASSUME_SIGNALFD4): Likewise.
42078         (__ASSUME_SOCK_CLOEXEC): Likewise.
42079         (__ASSUME_UTIMES): Undefine.
42080         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42081         (__ASSUME_UTIMES): Do not define.
42082         (__ASSUME_O_CLOEXEC): Likewise.
42083         (__ASSUME_SOCK_CLOEXEC): Likewise.
42084         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
42085         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
42086         0x020621].
42087         (__ASSUME_PIPE2): Likewise.
42088         (__ASSUME_EVENTFD2): Likewise.
42089         (__ASSUME_SIGNALFD4): Likewise.
42090         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
42091         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42092         Do not define.
42093         (__ASSUME_EVENTFD2): Likewise.
42094         (__ASSUME_SIGNALFD4): Likewise.
42095         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42096         (__ASSUME_32BITUIDS): Likewise.
42097         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42098         (__ASSUME_IPC64): Likewise.
42099         (__ASSUME_ST_INO_64_BIT): Likewise.
42100         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42101         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
42102         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42103         (__ASSUME_UTIMES): Do not define.
42104         (__ASSUME_PSELECT): Likewise.
42105         (__ASSUME_PPOLL): Likewise.
42106         (__ASSUME_O_CLOEXEC): Likewise.
42107         (__ASSUME_SOCK_CLOEXEC): Likewise.
42108         (__ASSUME_IN_NONBLOCK): Likewise.
42109         (__ASSUME_PIPE2): Likewise.
42110         (__ASSUME_EVENTFD2): Likewise.
42111         (__ASSUME_SIGNALFD4): Likewise.
42112         (__ASSUME_DUP3): Likewise.
42113         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42114         (__ASSUME_UTIMES): Likewise.
42115         (__ASSUME_O_CLOEXEC): Likewise.
42116         (__ASSUME_SOCK_CLOEXEC): Likewise.
42117         (__ASSUME_IN_NONBLOCK): Likewise.
42118         (__ASSUME_PIPE2): Likewise.
42119         (__ASSUME_EVENTFD2): Likewise.
42120         (__ASSUME_SIGNALFD4): Likewise.
42121         (__ASSUME_DUP3): Likewise.
42122         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42123         (__ASSUME_UTIMES): Likewise.
42124         (__ASSUME_O_CLOEXEC): Likewise.
42125         (__ASSUME_SOCK_CLOEXEC): Likewise.
42126         (__ASSUME_IN_NONBLOCK): Likewise.
42127         (__ASSUME_PIPE2): Likewise.
42128         (__ASSUME_EVENTFD2): Likewise.
42129         (__ASSUME_SIGNALFD4): Likewise.
42130         (__ASSUME_DUP3): Likewise.
42131         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
42132         Likewise.
42133         (__ASSUME_UTIMES): Likewise.
42134         (__ASSUME_EVENTFD2): Likewise.
42135         (__ASSUME_SIGNALFD4): Likewise.
42136         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42137         (__ASSUME_O_CLOEXEC): Likewise.
42138         (__ASSUME_SOCK_CLOEXEC): Likewise.
42139         (__ASSUME_IN_NONBLOCK): Likewise.
42140         (__ASSUME_PIPE2): Likewise.
42141         (__ASSUME_EVENTFD2): Likewise.
42142         (__ASSUME_SIGNALFD4): Likewise.
42143         (__ASSUME_DUP3): Likewise.
42144         (__ASSUME_UTIMES): Undefine.
42146         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
42147         feclearexcept.  Remove symbol versioning code.
42148         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
42149         symbol versioning code.
42150         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
42151         symbol versioning code.
42152         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
42153         feupdateenv.  Remove symbol versioning code.
42154         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
42155         fegetexceptflag.  Remove symbol versioning code.
42156         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
42157         fesetexceptflag.  Remove symbol versioning code.
42158         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
42159         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
42160         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
42161         (__posix_fadvise64_l32): Remove prototype.
42162         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
42163         code.
42165 2014-05-13  Roland McGrath  <roland@hack.frob.com>
42167         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
42168         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
42169         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
42170         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
42172 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
42174         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
42175         current working directory
42177 2014-05-13  Roland McGrath  <roland@hack.frob.com>
42179         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
42180         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
42181         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
42182         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
42183         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
42184         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42185         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42186         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42187         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42188         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42189         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42190         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42191         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42192         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42193         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42194         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42195         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42196         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42197         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42198         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42199         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42200         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42201         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42202         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42203         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42204         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42205         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42206         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42207         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42208         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42209         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42210         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42211         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42212         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42213         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42214         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42215         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42216         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42217         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42218         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42219         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42220         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42222         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42223         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42225         * sysdeps/unix/sysv/linux/arm/Makefile
42226         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42227         Add rt-aeabi_unwind_cpp_pr1.
42228         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42229         Add nptl-aeabi_unwind_cpp_pr1.
42230         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42231         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42232         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42233         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42234         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42235         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42237         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42238         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42239         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42240         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42242         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42243         Deconditionalize the code that was previously under [RESET_PID].
42244         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42246         * sysdeps/generic/exit-thread.h: New file.
42247         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42248         * include/unistd.h (__exit_thread): Remove declaration.
42249         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42250         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42251         * csu/libc-start.c: Include <exit-thread.h>.
42252         (LIBC_START_MAIN): Pass no argument to __exit_thread.
42253         * nptl/pthread_create.c: Include <exit-thread.h>.
42254         (start_thread): Call __exit_thread in place of __exit_thread_inline.
42255         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42256         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42257         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42258         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42259         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42260         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42261         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42262         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42263         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42264         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42265         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42266         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42267         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42268         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42269         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42270         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42272 2014-05-13  Andreas Schwab  <schwab@suse.de>
42274         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42276 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
42278         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42279         (__ASSUME_UTIMES): Do not condition on kernel version.
42280         (__ASSUME_PSELECT): Define unconditionally.
42281         (__ASSUME_PPOLL): Likewise.
42282         (__ASSUME_ATFCTS): Likewise.
42283         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42284         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42285         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42286         (__ASSUME_UTIMENSAT): Define unconditionally.
42287         (__ASSUME_PRIVATE_FUTEX): Likewise.
42288         (__ASSUME_FALLOCATE): Likewise.
42289         (__ASSUME_O_CLOEXEC): Likewise.
42290         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42291         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42292         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42293         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42294         (__ASSUME_IN_NONBLOCK): Likewise.
42295         (__ASSUME_PIPE2): Likewise.
42296         (__ASSUME_EVENTFD2): Likewise.
42297         (__ASSUME_SIGNALFD4): Likewise.
42298         (__ASSUME_DUP3): Likewise.
42299         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42300         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42301         (__ASSUME_AT_RANDOM): Likewise.
42302         (__ASSUME_PREADV): Likewise.
42303         (__ASSUME_PWRITEV): Likewise.
42304         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42305         (__ASSUME_F_GETOWN_EX): Define unconditionally.
42306         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42307         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42308         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42309         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42310         (__ASSUME_O_CLOEXEC): Define unconditionally.
42311         (__ASSUME_PSELECT): Do not undefine conditionally.
42312         (__ASSUME_PPOLL): Likewise.
42313         (__ASSUME_ATFCTS): Likewise.
42314         (__ASSUME_SET_ROBUST_LIST): Likewise.
42315         (__ASSUME_UTIMENSAT): Likewise.
42316         (__ASSUME_FDATASYNC): Define unconditionally.
42317         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42318         (__ASSUME_SIGFRAME_V2): Likewise.
42319         )__ASSUME_EVENTFD2): Likewise.
42320         (__ASSUME_SIGNALFD4): Likewise.
42321         (__ASSUME_PSELECT): Do not undefine conditionally.
42322         (__ASSUME_PPOLL): Likewise.
42323         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42324         (__ASSUME_PSELECT): Define unconditionally.
42325         (__ASSUME_PPOLL): Likewise.
42326         (__ASSUME_O_CLOEXEC): Likewise.
42327         (__ASSUME_SOCK_CLOEXEC): Likewise.
42328         (__ASSUME_IN_NONBLOCK): Likewise.
42329         (__ASSUME_PIPE2): Likewise.
42330         (__ASSUME_EVENTFD2): Likewise.
42331         (__ASSUME_SIGNALFD4): Likewise.
42332         (__ASSUME_DUP3): Likewise.
42333         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42334         (__ASSUME_O_CLOEXEC): Likewise.
42335         (__ASSUME_SOCK_CLOEXEC): Likewise.
42336         (__ASSUME_IN_NONBLOCK): Likewise.
42337         (__ASSUME_PIPE2): Likewise.
42338         (__ASSUME_EVENTFD2): Likewise.
42339         (__ASSUME_SIGNALFD4): Likewise.
42340         (__ASSUME_DUP3): Likewise.
42341         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42342         (__ASSUME_EVENTFD2): Likewise.
42343         (__ASSUME_SIGNALFD4): Likewise.
42344         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42346 2014-05-12  Andreas Schwab  <schwab@suse.de>
42348         [BZ #16932]
42349         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42350         (_nss_nis_gethostbyname4_r): Return error if item length is larger
42351         than maximum RPC packet size.
42352         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42353         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42354         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42355         (_nss_nis_getservbyport_r): Likewise.
42357 2014-05-12  Will Newton  <will.newton@linaro.org>
42359         * malloc/Makefile (tests): Add tst-mallopt.
42360         * malloc/tst-mallopt.c: New file.
42362 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42364         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42365         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42367 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42369         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42370         (tst-tlsmod6.so): Likewise.
42372 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42374         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42376 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
42378         [BZ #16064]
42379         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42380         and <dl-procinfo.h>.
42381         (__fegetenv): Save SSE state in envp->__eip if supported.
42382         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42383         envp->__eip if supported.
42384         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42385         and <dl-procinfo.h>.
42386         (__fesetenv): Always set __eip, __cs_selector, __opcode,
42387         __data_offset and __data_selector in environment to 0.  Set SSE
42388         state if supported.
42389         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42390         test-fenv-sse.
42391         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42392         -mfpmath=sse.
42393         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42395 2014-05-09  Will Newton  <will.newton@linaro.org>
42397         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42398         and libc_relro_required for ARM.
42399         * sysdeps/arm/preconfigure: Regenerate.
42401 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
42402             Stefan Liebler  <stli@linux.vnet.ibm.com>
42404         * config.make.in (enable-lock-elision): New Makefile variable.
42405         * configure.ac: Likewise.
42406         * configure: Regenerate.
42407         * sysdeps/s390/configure.ac:
42408         Add check for gcc transactions support.
42409         * sysdeps/s390/configure: Regenerate.
42410         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42411         Build elision files if enabled.
42412         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42413         Add lock elision support for s390.
42414         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42415         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42416         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42417         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42418         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42419         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42420         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42421         Likewise.
42422         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42423         Likewise.
42424         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42425         Likewise.
42426         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42427         Likewise.
42428         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42429         (__lll_timedlock_elision, __lll_lock_elision)
42430         (__lll_unlock_elision, __lll_trylock_elision)
42431         (lll_timedlock_elision, lll_lock_elision)
42432         (lll_unlock_elision, lll_trylock_elision): Add.
42433         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42434         (pthread_mutex_t): Add lock elision support for s390.
42436 2014-05-14  Wilco  <wdijkstr@arm.com>
42438         * sysdeps/arm/fclrexcpt.c: Cleanup.
42439         * sysdeps/arm/fedisblxcpt.c: Cleanup.
42440         * sysdeps/arm/feenablxcpt.c: Cleanup.
42441         * sysdeps/arm/fegetenv.c: Cleanup.
42442         * sysdeps/arm/fegetexcept.c: Cleanup.
42443         * sysdeps/arm/fegetround.c: Cleanup.
42444         * sysdeps/arm/feholdexcpt.c: Cleanup.
42445         * sysdeps/arm/fesetenv.c: Cleanup.
42446         * sysdeps/arm/fesetround.c: Cleanup.
42447         * sysdeps/arm/feupdateenv.c: Cleanup.
42448         * sysdeps/arm/fgetexcptflg.c: Cleanup.
42449         * sysdeps/arm/fraiseexcpt.c: Cleanup.
42450         * sysdeps/arm/fsetexcptflg.c: Cleanup.
42451         * sysdeps/arm/ftestexcept.c: Cleanup.
42452         * sysdeps/arm/get-rounding-mode.h: Cleanup.
42453         * sysdeps/arm/setfpucw.c: Cleanup.
42455 2014-05-09  Will Newton  <will.newton@linaro.org>
42457         * sysdeps/arm/armv7/strcmp.S: New file.
42458         * NEWS: Mention addition of ARMv7 optimized strcmp.
42460 2014-05-08  Roland McGrath  <roland@hack.frob.com>
42462         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42463         look for %.ac rather than %.in.
42465         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42466         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42467         * sysdeps/mach/hurd/configure: Regenerated.
42468         * sysdeps/unix/sysv/linux/configure: Regenerated.
42470         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42472 2014-05-07  Steve Ellcey  <sellcey@mips.com>
42474         [BZ# 16922]
42475         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42476         (LONG_SUB): Ditto.
42477         (PTR_SUB): Ditto.
42479 2014-05-07  Andreas Schwab  <schwab@suse.de>
42481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42482         when skipping over non-matching result from nscd.
42484 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
42486         [BZ #16876]
42487         * nptl/sockperf.c (client): Check socket return value.
42489         [BZ #16877]
42490         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42491         nscd security class.
42493 2014-05-06  Roland McGrath  <roland@hack.frob.com>
42495         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42496         * sysdeps/arm/unwind.h: ... here.
42498 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
42500         [BZ# 16916]
42501         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42502         Define.
42504 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42506         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42507         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42508         multiarch strncpy for PPC64.
42509         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42510         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42512         multiarch optimizations.
42513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42514         (__libc_ifunc_impl_list): Likewise.
42515         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42516         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42517         multiarch stpncpy for PPC64.
42518         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42519         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42521 2014-05-06  Andreas Schwab  <schwab@suse.de>
42523         [BZ #16912]
42524         * gmon/mcount.c (_MCOUNT_DECL): Use
42525         atomic_compare_and_exchange_bool_acq instead of
42526         catomic_compare_and_exchange_bool_acq.
42528 2014-05-05  Roland McGrath  <roland@hack.frob.com>
42530         * elf/Makefile (others, install-bin): Remove pldd.
42531         (pldd-modules): Variable removed.
42532         ($(objpfx)pldd): Target removed.
42533         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42534         (others, install-bin): Append pldd here.
42535         ($(objpfx)pldd): New target.
42537         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42538         to 0, so the first #if test emitted later doesn't see it undefined.
42539         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42540         * sysdeps/gnu/errlist.c: Regenerated.
42542 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42544         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42545         [libc_hidden_builtin_def]: Define to empty value.
42546         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42547         [libc_hidden_builtin_def]: Likewise.
42548         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42549         [libc_hidden_builtin_def]: Likewise.
42550         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42551         [libc_hidden_builtin_def]: Likewise.
42552         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42553         __redirect_memcpy and define ifunc as default hidden symbol.
42554         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42555         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42557 2014-05-04  Adam Conrad  <adconrad@0c3.net>
42559         * locale/iso-4217.def: Reintroduce XDR currency.
42561 2014-05-04  Allan McRae  <allan@archlinux.org>
42563         * po/eo.po: Update Esperanto translation from translation project.
42565 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
42567         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42568         and FEATURE_INDEX_MAX to 1.
42569         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42571 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42573         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42574         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42575         * iconvdata/big5.c (ONE_DIRECTION): Define.
42576         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42577         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42578         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42579         * iconvdata/cp932.c (ONE_DIRECTION): Define.
42580         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42581         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42582         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42583         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42584         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42585         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42586         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42587         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42588         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42589         * iconvdata/gbk.c (ONE_DIRECTION): Define.
42590         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42591         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42592         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42593         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42594         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42595         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42596         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42597         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42598         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42599         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42600         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42601         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42602         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42603         * iconvdata/iso646.c (ONE_DIRECTION): Define.
42604         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42605         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42606         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42607         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42608         * iconvdata/johab.c (ONE_DIRECTION): Define.
42609         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42610         * iconvdata/sjis.c (ONE_DIRECTION): Define.
42611         * iconvdata/t.61.c (ONE_DIRECTION): Define.
42612         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42613         * iconvdata/tscii.c (ONE_DIRECTION): Define.
42614         * iconvdata/uhc.c (ONE_DIRECTION): Define.
42615         * iconvdata/unicode.c (ONE_DIRECTION): Define.
42616         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42617         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42618         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42620 2014-05-01  Roland McGrath  <roland@hack.frob.com>
42622         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42623         (_IO_JUMPS_OFFSET): Define to 0.
42625         * nptl/sysdeps/pthread/bits/libc-lock.h
42626         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42627         (__libc_lock_define_initialized_recursive): Always define using
42628         initializer.  Modern compilers treat uninitialized (implicit zero) and
42629         explicit zero initializers the same (i.e. put the datum in bss).
42631 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42633         * nscd/nscd-client.h: Include <string.h>.
42635 2014-05-01  David S. Miller  <davem@davemloft.net>
42637         [BZ #16885]
42638         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42639         multiple zero bytes exist at the end of a string.
42640         Reported by Aurelien Jarno <aurelien@aurel32.net>
42642         * string/test-strcmp.c (check): Add explicit test for situations where
42643         there are multiple zero bytes after the first.
42645 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42647         [BZ #16890]
42648         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42649         when compiling wprintf.
42650         * stdio-common/tstdiomisc.c (t3): New function.
42651         (main): Call it.
42653 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42655         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42656         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42657         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42658         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42660 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42662         * stdlib/longlong.h: Updated from GCC.
42664 2014-05-01  Will Newton  <will.newton@linaro.org>
42665             Bernard Ogden  <bernie.ogden@linaro.org>
42667         * NEWS: Update fixed bug list.
42669         [BZ #15119]
42670         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42672 2014-04-30  David S. Miller  <davem@davemloft.net>
42674         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42675         (libc_feholdexcept_setround_sparc_ctx): New function.
42676         (libc_fesetenv_sparc_ctx): Likewise.
42677         (libc_feupdateenv_sparc_ctx): Likewise.
42678         (libc_feholdsetround_sparc_ctx): Likewise.
42679         (libc_feholdexcept_setround_ctx): Define.
42680         (libc_feholdexcept_setroundf_ctx): Likewise.
42681         (libc_feholdexcept_setroundl_ctx): Likewise.
42682         (libc_fesetenv_ctx): Likewise.
42683         (libc_fesetenvf_ctx): Likewise.
42684         (libc_fesetenvl_ctx): Likewise.
42685         (libc_feupdateenv_ctx): Likewise.
42686         (libc_feupdateenvf_ctx): Likewise.
42687         (libc_feupdateenvl_ctx): Likewise.
42688         (libc_feresetround_ctx): Likewise.
42689         (libc_feresetroundf_ctx): Likewise.
42690         (libc_feresetroundl_ctx): Likewise.
42691         (libc_feholdsetround_ctx): Likewise.
42692         (libc_feholdsetroundf_ctx): Likewise.
42693         (libc_feholdsetroundl_ctx): Likewise.
42695         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42696         with __USE_GNU instead of XOPEN cpp guards.
42698         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42699         0.
42701         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42702         with XOPEN cpp guards.
42704 2014-04-30  Julian Brown  <julian@codesourcery.com>
42706         [BZ #16888]
42707         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42708         handling.
42710 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
42712         [BZ #9894]
42713         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42714         Change to 2.6.32.
42715         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42716         * sysdeps/unix/sysv/linux/configure: Regenerated.
42717         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42718         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42719         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42720         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42721         * README: Update reference to required Linux kernel version.
42722         * manual/install.texi (Linux): Update reference to required Linux
42723         kernel headers version.
42724         * INSTALL: Regenerated.
42726         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42727         header inclusion.
42728         [POSIX] (limits.h): Likewise.
42729         [POSIX] (math.h): Likewise.
42730         [POSIX] (sys/wait.h): Likewise.
42731         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42732         function.
42733         [POSIX] (stddef.h): Do not allow header inclusion.
42735 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42737         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42739 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
42741         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42742         Return immediately after lll_futex_wake.
42744 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42746         [BZ #16791]
42747         * nscd/nscd-client.h (datahead_init_common): Initialize entire
42748         structure.
42749         (datahead_init_pos): Call datahead_init_common early.
42750         (datahead_init_neg): Likewise.
42752         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42753         datahead_init_neg): New functions.
42754         * nscd/aicache.c (addhstaiX): Use them.
42755         * nscd/grpcache.c (cache_addgr): Likewise.
42756         * nscd/hstcache.c (cache_addhst): Likewise.
42757         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42758         * nscd/netgroupcache.c (do_notfound): Likewise.
42759         (addgetnetgrentX): Likewise.
42760         (addinnetgrX): Likewise.
42761         * nscd/pwdcache.c (cache_addpw): Likewise.
42762         * nscd/servicescache.c (cache_addserv): Likewise.
42764 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42765             Atsushi Onoe  <atsushi@onoe.org>
42767         [BZ #14308]
42768         [BZ #12994]
42769         [BZ #13651]
42770         * resolv/res_query.c (__libc_res_nsearch): Return if at least
42771         one response is valid.
42772         * resolv/res_send.c (send_dg): Check for validity of other
42773         response if the current response is a referral.
42775 2014-04-29  Steve Ellcey  <sellcey@mips.com>
42777         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42779 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
42781         [BZ #16823]
42782         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42783         Always divide by positive zero when computing -Inf result.
42784         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42785         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42787 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42789         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42790         FPSCR if value do not change.
42791         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42792         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42793         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42794         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42795         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42796         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42797         function.
42799 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
42801         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42802         * sysdeps/unix/sysv/linux/hppa: Move directory from
42803         ports/systeps/unix/sysv/linux/hppa.
42804         * README: Update listing for hppa-*-linux-gnu.
42806 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
42808         [BZ #16754]
42809         * manual/stdio.texi (Hook functions): Fix types of stream hook
42810         functions.
42811         [BZ #16854]
42812         * socket/sys/socket.h: Fix typo in comment.
42814 2014-04-28  Wilco  <wdijkstr@arm.com>
42816         * sysdeps/arm/fenv_private.h: New file.
42817         * sysdeps/arm/math_private.h: New file.
42818         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42820 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
42822         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42823         with __int128_t.
42824         (La_x86_64_retval): Likewise.
42826 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
42828         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42829         fpsr if value didn't change.
42830         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42831         to fpcr if value didn't change.
42832         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42833         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42834         fpsr or fpcr if value didn't change.
42835         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42836         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42837         fpcr if value didn't change.
42838         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42839         to fpsr if value didn't change.
42841 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42843         * nptl/tst-sem3.c: Use test-skeleton.c
42844         (main): Rename to do_test.  Use return instead of
42845         exit.
42846         * nptl/tst-sem4.c: Use test-skeleton.c
42847         (main): Rename to do_test.
42849 2014-04-22  David S. Miller  <davem@davemloft.net>
42851         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42852         (struct sigaction): New struct member __glibc_reserved0, change
42853         type of sa_flags to int.
42855 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
42857         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42858         (COUNT_LEADING_ZEROS_0): Define for AArch64.
42860 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42862         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42863         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42865 2014-04-22  Will Newton  <will.newton@linaro.org>
42866             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
42868         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42869         (__longjmp): Add longjmp and longjmp_target SystemTap
42870         probes.
42871         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42872         (__sigsetjmp): Add setjmp SystemTap probe.
42874 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
42876         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42877         match manual order.
42879 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42881         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42883         * sysdeps/powerpc/fpu/fenv_private.h
42884         (libc_feholdexcept_setroundl_ctx): Define to
42885         libc_feholdexcept_setround_ppc_ctx.
42886         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42887         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42888         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42889         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42891 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42893         * sysdeps/aarch64/math-tests.h: New file.
42895 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
42897         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42898         New.
42899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42900         Check and set bit_AVX2_Usable.
42901         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42902         macro.
42903         (bit_AVX2): Likewise.
42904         (index_AVX2_Usable): Likewise.
42905         (CPUID_AVX2): Likewise.
42906         (HAS_AVX2): Likewise.
42908 2014-04-17  Will Newton  <will.newton@linaro.org>
42910         * manual/setjmp.texi (System V contexts): Add note that
42911         calling setcontext on a context created by a call to a
42912         signal handler is undefined.  Update text to note that
42913         setcontext from a signal handler is possible but not
42914         recommended.
42916         [BZ #16629]
42917         * stdlib/tst-setcontext.c: Include signal.h.
42918         (main): Check that the signal stack before and
42919         after swapcontext is the same.
42921         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42922         Re-implement to restore registers in user code and avoid
42923         rt_sigreturn system call.
42925 2014-04-17  Wilco  <wdijkstr@arm.com>
42927         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42928         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42929         * math/test-fenv.c: Skip exception trap tests on targets which only
42930         support non-stop mode.
42932 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42933             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42935         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42936         (libc_feholdsetround_aarch64_ctx)
42937         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42938         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42939         (libc_feresetround_ctx, libc_feresetroundf_ctx)
42940         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42941         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42942         (libc_feresetround_noexl_ctx): Define.
42944 2014-04-16  Richard Henderson  <rth@redhat.com>
42946         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42948         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42949         unwind tables.
42951         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42952         const from the non-libc, non-ldso copy.
42954         * sysdeps/alpha/libm-test-ulps: Regenerate.
42956 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
42957             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42959         * sysdeps/aarch64/fpu/math_private.h: New file.
42961 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42963         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42965 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
42967         [BZ #16275]
42968         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42969         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42970         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42971         Intel MPX bound registers before _dl_profile_fixup.
42972         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42973         registers after _dl_profile_fixup.  Save and restore bound
42974         registers bnd0/bnd1 when calling _dl_call_pltexit.
42975         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42976         (LR_BND_OFFSET): Likewise.
42977         (LRV_BND0_OFFSET): Likewise.
42978         (LRV_BND1_OFFSET): Likewise.
42980 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42982         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42983         to...
42984         * sysdeps/mach/hurd/i386/tls.h: ... here.
42985         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42986         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42987         fields.
42989 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42991         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42993 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42995         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42997 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42999         [BZ #14770]
43000         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
43001         * sysdeps/s390/configure: Regenerate.
43003         [BZ #16824]
43004         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
43005         Set round-to-nearest internally to reduce error accumulation.
43007 2014-04-16  Alan Modra  <amodra@gmail.com>
43009         [BZ #16740]
43010         [BZ #16619]
43011         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
43012         * math/libm-test.inc (frexp_test_data): Add tests.
43013         * NEWS: Update fixed bug list.
43015 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43017         * benchtests/Makefile: Depend on libraries in build directory.
43018         (bench-math): Separate out math tests.
43019         (bench-pthread): Separate out pthread tests.
43020         (bench): Include math and pthread tests.
43022 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
43024         [BZ #16831]
43025         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
43026         _dl_debug_initialize.
43028         * configure.ac: Remove SELinux header check.
43029         * configure: Regenerate.
43030         * nscd/selinux.c (perms): Array of const char* to permission names.
43031         (nscd_request_avc_has_perm): Call security_deny_unknown to find
43032         default policy. Call string_to_security_class and string_to_av_perm to
43033         translate strings. Enforce default policy and call avs_has_perm with
43034         results of translated strings.
43036 2014-04-13  David S. Miller  <davem@davemloft.net>
43038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43040 2014-04-12  Allan McRae  <allan@archlinux.org>
43042         [BZ #16838]
43043         * manual/string.texi (Collation Functions): Fix qsort argument
43044         order in example.
43045         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43047 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
43049         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
43050         Make the test a no-op if there are no exceptions defined.
43052 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
43054         * elf/Makefile (tests): make tst-dlopen-aout conditional on
43055         enable-hardcoded-path-in-tests
43057 2014-04-11  Will Newton  <will.newton@linaro.org>
43059         * benchtests/Makefile (extra-objs): Add json-lib.o.
43060         (bench-func): Tidy up JSON output.
43061         * benchtests/bench-skeleton.c: Include json-lib.h.
43062         (main): Use JSON library functions to do output of
43063         benchmark results.
43064         * benchtests/bench-timing-type.c (main): Output the
43065         timing type simply, leaving formatting to the user.
43066         * benchtests/json-lib.c: New file.
43067         * benchtests/json-lib.h: Likewise.
43069 2014-04-11  Torvald Riegel  <triegel@redhat.com>
43071         [BZ #15215]
43072         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
43073         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
43074         memory barriers.  Add comments.
43075         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
43076         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
43077         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43078         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
43079         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
43080         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
43082 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43084         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
43085         * sysdeps/s390/s390-64/configure.ac: ... this ...
43086         * sysdeps/s390/configure.ac: ... to here.
43087         * sysdeps/s390/s390-32/configure: Delete file.
43088         * sysdeps/s390/s390-64/configure: Delete file.
43089         * sysdeps/s390/configure: Regenerate.
43091 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
43093         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
43095 2014-04-11  Will Newton  <will.newton@linaro.org>
43097         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
43098         to zero if it is not defined elsewhere.  (mtrim): Test
43099         the value of MALLOC_DEBUG with #if rather than #ifdef.
43101 2014-04-10 Torvald Riegel  <triegel@redhat.com>
43103         * benchtests/pthread_once-inputs: New file.
43104         * benchtests/pthread_once-source.c: New file.
43105         * benchtests/README: Update documentation.
43107 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
43108             H.J. Lu  <hongjiu.lu@intel.com>
43110         [BZ #16275]
43111         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43112         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
43113         * sysdeps/x86_64/configure: Regenerated.
43114         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
43115         macro.
43116         (REGISTER_SAVE_RAX): Likewise.
43117         (REGISTER_SAVE_RCX): Likewise.
43118         (REGISTER_SAVE_RDX): Likewise.
43119         (REGISTER_SAVE_RSI): Likewise.
43120         (REGISTER_SAVE_RDI): Likewise.
43121         (REGISTER_SAVE_R8): Likewise.
43122         (REGISTER_SAVE_R9): Likewise.
43123         (REGISTER_SAVE_BND0): Likewise.
43124         (REGISTER_SAVE_BND1): Likewise.
43125         (REGISTER_SAVE_BND2): Likewise.
43126         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
43127         bound registers when calling _dl_fixup.
43129 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43131         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
43132         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
43133         of its definition.
43134         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
43135         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
43136         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
43137         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43138         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
43139         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
43140         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
43142 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
43144         [BZ #15514]
43145         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
43146         pathconf(_PC_NAME_MAX).
43148 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43150         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
43151         Remove macro usage.
43152         (__PTHREAD_SPINS): Move definition to ...
43153         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43154         (__PTHREAD_SPINS): ... here.
43155         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43156         (__PTHREAD_SPIN): Likewise.
43157         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
43158         (__PTHREAD_SPIN): Likewise.
43159         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
43160         (__PTHREAD_SPIN): Likewise.
43161         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
43162         (__PTHREAD_SPIN): Likewise.
43163         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43164         (__PTHREAD_SPIN): Likewise.
43165         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43166         (__PTHREAD_SPIN): Likewise.
43167         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
43168         (__PTHREAD_SPIN): Likewise.
43169         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43170         (__PTHREAD_SPIN): Likewise.
43171         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43172         (__PTHREAD_SPIN): Likewise.
43173         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43174         (__PTHREAD_SPIN): Likewise.
43175         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43176         (__PTHREAD_SPIN): Likewise.
43177         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
43178         (__PTHREAD_SPIN): Likewise.
43180         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
43181         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43182         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
43183         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
43184         imply folder.
43185         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43186         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43187         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43188         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43189         correct imply path.
43190         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43191         strlen symbol for non multi-arch builds.
43192         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43193         missing hidden_def and weak_alias.
43195 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
43197         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43199 2014-04-07  Will Newton  <will.newton@linaro.org>
43201         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43202         and contents.  [!_LIBC] Remove #ifndef and contents.
43203         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
43204         * string/memccpy.c (__memccpy): Use ANSI prototype.
43205         * string/memfrob.c (memfrob): Likewise.
43206         * string/strcoll.c (STRCOLL): Likewise.
43207         * string/strlen.c (strlen): Likewise.
43208         * string/strtok.c (STRTOK): Likewise.
43209         * string/strcat.c: Remove unused #include of memcopy.h.
43210         (strcat): Use ANSI prototype.
43211         * string/strchr.c: Remove unused #include of memcopy.h.
43212         (strchr): Use ANSI prototype.
43213         * string/strcmp.c: Remove unused #include of memcopy.h.
43214         (strcmp): Use ANSI prototype.
43215         * string/strcpy.c: Remove unused #include of memcopy.h.
43216         (strcpy): Use ANSI prototype.
43218 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43220         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43221         * config.make.in (config-extra-cppflags): Set it from
43222         libc_extra_cppflags.
43223         * configure.ac (libc_extra_cflags): Make it accumulate over
43224         configure fragments.
43225         (libc_extra_cppflags): New flag.
43226         * configure. Regenerate.
43227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43228         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43229         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43232         [BZ #16815]
43233         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43234         result for FE_DOWNWARD rounding mode.
43235         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43236         Likewise.
43237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43239 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
43241         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43242         in function argument name.
43244 2014-04-03  David Svoboda  <svoboda@cert.org>
43246         [BZ #5666]
43247         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43248         explicitly.
43250 2014-04-03  Roland McGrath  <roland@hack.frob.com>
43252         * elf/dl-unmap-segments.h: New file.
43253         * sysdeps/generic/ldsodefs.h
43254         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43255         * elf/dl-close.c: Include <dl-unmap-segments.h>.
43256         * elf/dl-fptr.c: Likewise.
43257         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43258         * sysdeps/aarch64/tlsdesc.c: Likewise.
43259         * sysdeps/arm/tlsdesc.c: Likewise.
43260         * sysdeps/i386/tlsdesc.c: Likewise.
43261         * sysdeps/tile/dl-runtime.c: Likewise.
43262         * sysdeps/x86_64/tlsdesc.c: Likewise.
43263         * elf/dl-load.h: New file.
43264         * elf/dl-load.c: Include it.
43265         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43266         Macros moved to dl-load.h.
43267         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43268         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43269         Use _dl_unmap_segments in place of __munmap.
43270         Break out segment-mapping loop into ...
43271         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43273 2014-04-03  Will Newton  <will.newton@linaro.org>
43275         * elf/dl-lookup.c (do_lookup_x): Remove comment
43276         referring to nested function and move variable
43277         declarations down to before first use.
43279 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
43281         [BZ #16799]
43282         [BZ #16800]
43283         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43284         with 0 numerator.
43285         * math/s_catanf.c (__catanf): Likewise.
43286         * math/s_catanh.c (__catanh): Likewise.
43287         * math/s_catanhf.c (__catanhf): Likewise.
43288         * math/s_catanhl.c (__catanhl): Likewise.
43289         * math/s_catanl.c (__catanl): Likewise.
43290         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43291         by positive zero when computing -Inf result.
43292         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43293         (catanh_test): Likewise.
43294         * sysdeps/i386/fpu/libm-test-ulps: Update.
43295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43297         [BZ #16789]
43298         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43299         instead of using underflowing value in computing result.
43300         * math/s_clog10.c (__clog10): Likewise.
43301         * math/s_clog10f.c (__clog10f): Likewise.
43302         * math/s_clog10l.c (__clog10l): Likewise.
43303         * math/s_clogf.c (__clogf): Likewise.
43304         * math/s_clogl.c (__clogl): Likewise.
43305         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43306         (clog10_test): Likewise.
43307         * sysdeps/i386/fpu/libm-test-ulps: Update.
43308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43310 2014-04-02  Alan Modra  <amodra@gmail.com>
43312         [BZ #16739]
43313         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43314         output when value is near a power of two.  Use int64_t for lx and
43315         remove casts.  Use decimal rather than hex exponent constants.
43316         Don't use long double multiplication when double will suffice.
43317         * math/libm-test.inc (nextafter_test_data): Add tests.
43318         * NEWS: Add 16739 and 16786 to bug list.
43320         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43322         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43324 2014-04-01  Will Newton  <will.newton@linaro.org>
43326         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43327         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
43329 2014-04-01  Florian Weimer  <fweimer@redhat.com>
43331         [BZ #13347]
43332         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43333         * nptl/tst-setuid2.c: New file.
43334         * nptl/Makefile (xtests): Add tst-setuid2.
43336 2014-04-01  Alan Modra  <amodra@gmail.com>
43338         [BZ #16786]
43339         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43341 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43343         [BZ #6803]
43344         [BZ #6804]
43345         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43346         set errno as appropriate.
43347         * math/w_scalbf.c (__scalbf): Likewise.
43348         * math/w_scalbl.c (__scalbl): Likewise.
43349         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43350         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43351         * math/libm-test.inc (scalb_test_data): Add errno expectations.
43352         Add more NaN tests.
43354         [BZ #16349]
43355         * math/w_atan2.c: Include <errno.h>.
43356         (__atan2): Set errno for result underflowing to zero.
43357         * math/w_atan2f.c: Include <errno.h>.
43358         (__atan2f): Set errno for result underflowing to zero.
43359         * math/w_atan2l.c: Include <errno.h>.
43360         (__atan2l): Set errno for result underflowing to zero.
43361         * math/auto-libm-test-in: Don't allow missing errno for some atan2
43362         tests.
43363         * math/auto-libm-test-out: Regenerated.
43365 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43367         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43368         Encode instruction correctly in little endian.
43369         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43370         Likewise.
43371         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43372         Likewise.
43373         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43374         Likewise.
43375         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43376         Likewise.
43378 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43380         [BZ #9894]
43381         * sysdeps/unix/sysv/linux/kernel-features.h
43382         [__sparc__ && !__arch64__ && !__sparc_v9__]
43383         (__ASSUME_SET_ROBUST_LIST): Do not define.
43384         [__sparc__ && !__arch64__ && !__sparc_v9__]
43385         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43386         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43387         Likewise.
43388         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43389         (__ASSUME_FUTEX_LOCK_PI): Undefine.
43390         (__ASSUME_REQUEUE_PI): Likewise.
43391         (__ASSUME_SET_ROBUST_LIST): Likewise.
43392         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43393         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43394         Undefine.
43395         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43396         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43397         Likewise.
43398         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43399         Likewise.
43400         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43401         Likewise.
43402         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43403         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43404         Undefine.
43405         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43406         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43407         Likewise.
43409         [BZ #16648]
43410         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43411         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43412         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43414 2014-03-31  Will Newton  <will.newton@linaro.org>
43416         * benchtests/Makefile (bench): Add ffs and ffsll to list
43417         of tests.
43418         * benchtests/ffs-inputs: New file.
43419         * benchtests/ffsll-inputs: Likewise.
43421 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
43423         [BZ #16770]
43424         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43425         too large before casting to int.
43426         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43427         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43428         * math/libm-test.inc (scalb_test_data): Add more tests.
43430 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43432         * benchtests/Makefile (DETAILED_OPT): New make option.
43433         (bench-func): Run benchmark program with -d if DETAILED_OPT is
43434         set.
43435         * benchtests/bench-skeleton.c: Include stdbool.h.
43436         (main): Store and print timings per input.
43437         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43438         member to each argument value.
43439         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43440         (_print_arg_data): Initialize per-input timing to 0.
43442         * benchtests/Makefile (timing-type): New binary.
43443         (bench-clean): Also remove bench-timing-type.
43444         (bench): New target for timing-type.
43445         (bench-func): Print output in JSON format.
43446         * benchtests/bench-skeleton.c (main): Print output in JSON
43447         format.
43448         * benchtests/bench-timing-type.c: New file.
43449         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43450         (TIMING_PRINT_STATS): Remove.
43451         * benchtests/scripts/bench.py (_print_arg_data): Store variant
43452         name separately.
43454         * benchtests/bench-modf.c: Remove.
43455         * benchtests/modf-inputs: New inputs file.
43457 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
43459         [BZ #16362]
43460         * math/s_clog10.c (M_PI_LOG10E): New macro.
43461         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43462         imaginary parts are 0.
43463         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43464         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43465         imaginary parts are 0.
43466         * math/s_clog10l.c (M_PI_LOG10El): New macro.
43467         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43468         imaginary parts are 0.
43469         * math/libm-test.inc (clog10_test_data): Update expected results
43470         for when real and imaginary parts are 0.
43472 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
43474         * elf/dl-load.c: Finish conversion of __builtin_expect into
43475         __glibc_{un}likely.
43477 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
43479         [BZ #16348]
43480         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43481         1+x for argument with exponent below -67.
43482         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43483         Likewise.
43484         * math/auto-libm-test-in: Add more tests of exp.
43485         * math/auto-libm-test-out: Regenerated.
43487 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43489         [BZ #16759]
43490         * inet/getnetgrent_r.c (get_nonempty_val): New function.
43491         (nscd_getnetgrent): Use it.
43493         [BZ #16760]
43494         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43495         of stpcpy.
43497 2014-03-27  Andi Kleen  <ak@linux.intel.com>
43499         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43500         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43501         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43502         (lll_robust_unlock): Remove out of line section. Use cfi
43503         intrinsics.
43504         (LLL_STUB_UNWIND_INFO*): Remove.
43505         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43506         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43507         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43508         (lll_robust_unlock): Remove out of line section. Use cfi
43509         intrinsics.
43510         (LLL_STUB_UNWIND_INFO*): Remove.
43512 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43514         [BZ #16758]
43515         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43516         blank values.
43518 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
43520         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43522 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
43524         [BZ #16198]
43525         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43526         fnstenv.
43527         * math/test-fenv-preserve.c: New file.
43528         * math/Makefile (tests): Add test-fenv-preserve.
43530 2014-03-26  Will Newton <will.newton@linaro.org>
43532         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43534 2014-03-25  Roland McGrath  <roland@hack.frob.com>
43536         * scripts/versionlist.awk: Partition the version sets and emit all
43537         GLIBC_* (sorted) before all others (sorted).
43539 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43541         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43542         GLIBC_2.2.5 version.
43544 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43546         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43547         calls.
43549         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43550         previous change.
43552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43554 2014-03-25  Andreas Schwab  <schwab@suse.de>
43556         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43557         label to be used after in6ailist is initialized.
43559 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43561         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43562         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43564 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43566         [BZ #16357]
43567         [BZ #16599]
43568         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43569         min_plus_half.
43570         (fp_formats): Update initializers.
43571         (init_fp_formats): Initialize new field.
43572         (output_for_one_input_case): Allow underflow for results up to
43573         min_plus_half.
43574         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43575         * math/auto-libm-test-in: Don't mark some underflows from asin and
43576         atanh as spurious.
43577         * math/auto-libm-test-out: Regenerated.
43578         * sysdeps/i386/fpu/libm-test-ulps: Update.
43579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43581 2014-03-25  Andreas Schwab  <schwab@suse.de>
43583         * libio/Makefile (tst-ftell-partial-wide-ENV)
43584         (tst-ftell-active-handler-ENV): Define.
43586 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
43588         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43590 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43592         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43594 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43596         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43597         * sysdeps/x86_64/fpu/multiarch/e_exp.c
43598         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43600 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43602         [BZ #16634]
43603         * elf/dl-load.c (open_verify): Add mode parameter.
43604         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43605         (open_path): Change from boolean 'secure' to complete flag 'mode'
43606         (_dl_map_object): Adjust.
43607         * elf/Makefile (tests): Add tst-dlopen-aout.
43608         * elf/tst-dlopen-aout.c: New test.
43610 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
43612         [BZ #16714]
43613         * sysdeps/unix/sysv/linux/s390/bits/stat.h
43614         (struct stat): Rename member pad0 to __glibc_reserved0.
43616         [BZ #16712]
43617         * sysdeps/s390/s390-32/bits/wordsize.h
43618         (__WORDSIZE32_SIZE_ULONG): New define.
43619         * sysdeps/s390/s390-64/bits/wordsize.h
43620         (__WORDSIZE32_SIZE_ULONG): Likewise.
43621         * sysdeps/generic/stdint.h (SIZE_MAX):
43622         Define as UL if __WORDSIZE32_SIZE_ULONG.
43624         [BZ #16713]
43625         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43626         (__glibc_reserved0): New variable.
43627         (sa_flags): Change type to int.
43629         * posix/Makefile (before-compile): Use += before-compile instead
43630         of a :=.
43632         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43633         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43635 2014-03-20  Andreas Schwab  <schwab@suse.de>
43637         [BZ #16743]
43638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43639         non-matching result from nscd.
43641 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43643         * scripts/bench.py: Moved to ...
43644         * benchtests/scripts/bench.py: ... here.
43645         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43647 2014-03-24  Andreas Schwab  <schwab@suse.de>
43649         [BZ #16002]
43650         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43651         alloca_account and account alloca use for struct in6ailist.
43653 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43655         [BZ #16284]
43656         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43657         rounding mode to recompute results that overflow to infinity or
43658         underflow to zero.
43659         * math/auto-libm-test-in: Don't mark tests as expected to fail for
43660         bug 16284.
43661         * math/auto-libm-test-out: Regenerated.
43662         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43663         (ccosh_test): Likewise.
43664         (csin_test_data): Use plus_oflow.
43665         (csin_test): Use ALL_RM_TEST.
43666         (csinh_test_data): Use plus_oflow.
43667         (csinh_test): Use ALL_RM_TEST.
43668         * sysdeps/i386/fpu/libm-test-ulps: Update.
43669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43671 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
43673         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43674         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43675         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43677         [BZ #16731]
43678         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43679         when x - 1 is zero.
43680         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43681         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43682         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43683         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43684         argument is 1.
43685         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43686         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43687         zero.
43688         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43689         * sysdeps/i386/fpu/libm-test-ulps: Update.
43690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43692 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43694         * scripts/bench.pl: Remove file.
43695         * scripts/bench.py: New benchmark script.
43696         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43697         * benchtests/README: Mention python dependency.
43698         * scripts/pylintrc: New file.
43699         * scripts/pylint: New file.
43701         * bits/mathdef.h: Use #ifdef instead of #if.
43702         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43703         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43704         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43705         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43706         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43707         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43709 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43710             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43712         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43714         and strpbrk-ppc64 objects.
43715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43716         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43717         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43718         multiarch strpbrk for POWER7.
43719         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43720         multiarch strpbrk for PPC64.
43721         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43722         ifunc selector.
43723         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43724         strpbrk for POWER7.
43726 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43728         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43729         (atan_test): Likewise.
43730         (atanh_test_data): Use NO_TEST_INLINE for two tests.
43731         (atanh_test): Use ALL_RM_TEST.
43732         (atan2_test_data): Likewise.
43733         (cabs_test): Likewise.
43734         (cacosh_test): Likewise.
43735         (carg_test): Likewise.
43736         (casin_test): Likewise.
43737         (casinh_test): Likewise.
43738         (cbrt_test): Likewise.
43739         (csqrt_test): Likewise.
43740         (erf_test): Likewise.
43741         (erfc_test): Likewise.
43742         (pow10_test): Likewise.
43743         (exp2_test): Likewise.
43744         (hypot_test): Likewise.
43745         (j0_test): Likewise.
43746         (j1_test): Likewise.
43747         (lgamma_test): Likewise.
43748         (gamma_test): Likewise.
43749         (sincos_test): Likewise.
43750         (tanh_test): Likewise.
43751         (y0_test): Likewise.
43752         (y1_test): Likewise.
43753         * sysdeps/i386/fpu/libm-test-ulps: Update.
43754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43756 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43758         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43760         and strcspn-ppc64 objects.
43761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43762         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43763         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43764         multiarch strcspn for POWER7.
43765         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43766         multiarch strcspn for PPC64.
43767         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43768         ifunc selector.
43769         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43770         strcspn for POWER7.
43772 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43774         * math/gen-libm-test.pl (generate_testfile): Expect only function
43775         name as argument to AUTO_TESTS_* and pass results for all rounding
43776         modes to parse_args.
43777         (parse_auto_input): Separate inputs of automatic tests from
43778         outputs before storing in %auto_tests.
43779         * math/libm-test.inc (acos_test_data): Update call to
43780         AUTO_TESTS_f_f.
43781         (acos_test): Use ALL_RM_TEST.
43782         (acos_tonearest_test_data): Remove.
43783         (acos_test_tonearest): Likewise.
43784         (acos_towardzero_test_data): Likewise.
43785         (acos_test_towardzero): Likewise.
43786         (acos_downward_test_data): Likewise.
43787         (acos_test_downward): Likewise.
43788         (acos_upward_test_data): Likewise.
43789         (acos_test_upward): Likewise.
43790         (acosh_test_data): Update call to AUTO_TESTS_f_f.
43791         (asin_test_data): Likewise.
43792         (asin_test): Use ALL_RM_TEST.
43793         (asin_tonearest_test_data): Remove.
43794         (asin_test_tonearest): Likewise.
43795         (asin_towardzero_test_data): Likewise.
43796         (asin_test_towardzero): Likewise.
43797         (asin_downward_test_data): Likewise.
43798         (asin_test_downward): Likewise.
43799         (asin_upward_test_data): Likewise.
43800         (asin_test_upward): Likewise.
43801         (asinh_test_data): Update call to AUTO_TESTS_f_f.
43802         (atan_test_data): Likewise.
43803         (atanh_test_data): Likewise.
43804         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43805         (cabs_test_data): Update call to AUTO_TESTS_c_f.
43806         (carg_test_data): Likewise.
43807         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43808         (ccos_test_data): Update call to AUTO_TESTS_c_c.
43809         (ccosh_test_data): Likewise.
43810         (cexp_test_data): Likewise.
43811         (clog_test_data): Likewise.
43812         (clog10_test_data): Likewise.
43813         (cos_test_data): Update call to AUTO_TESTS_f_f.
43814         (cos_test): Use ALL_RM_TEST.
43815         (cos_tonearest_test_data): Remove.
43816         (cos_test_tonearest): Likewise.
43817         (cos_towardzero_test_data): Likewise.
43818         (cos_test_towardzero): Likewise.
43819         (cos_downward_test_data): Likewise.
43820         (cos_test_downward): Likewise.
43821         (cos_upward_test_data): Likewise.
43822         (cos_test_upward): Likewise.
43823         (cosh_test_data): Update call to AUTO_TESTS_f_f.
43824         (cosh_test): Use ALL_RM_TEST.
43825         (cosh_tonearest_test_data): Remove.
43826         (cosh_test_tonearest): Likewise.
43827         (cosh_towardzero_test_data): Likewise.
43828         (cosh_test_towardzero): Likewise.
43829         (cosh_downward_test_data): Likewise.
43830         (cosh_test_downward): Likewise.
43831         (cosh_upward_test_data): Likewise.
43832         (cosh_test_upward): Likewise.
43833         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43834         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43835         (ctan_test_data): Likewise.
43836         (ctan_test): Use ALL_RM_TEST.
43837         (ctan_tonearest_test_data): Remove.
43838         (ctan_test_tonearest): Likewise.
43839         (ctan_towardzero_test_data): Likewise.
43840         (ctan_test_towardzero): Likewise.
43841         (ctan_downward_test_data): Likewise.
43842         (ctan_test_downward): Likewise.
43843         (ctan_upward_test_data): Likewise.
43844         (ctan_test_upward): Likewise.
43845         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43846         (ctanh_test): Use ALL_RM_TEST.
43847         (ctanh_tonearest_test_data): Remove.
43848         (ctanh_test_tonearest): Likewise.
43849         (ctanh_towardzero_test_data): Likewise.
43850         (ctanh_test_towardzero): Likewise.
43851         (ctanh_downward_test_data): Likewise.
43852         (ctanh_test_downward): Likewise.
43853         (ctanh_upward_test_data): Likewise.
43854         (ctanh_test_upward): Likewise.
43855         (erf_test_data): Update call to AUTO_TESTS_f_f.
43856         (erfc_test_data): Likewise.
43857         (exp_test_data): Likewise.
43858         (exp_test): Use ALL_RM_TEST.
43859         (exp_tonearest_test_data): Remove.
43860         (exp_test_tonearest): Likewise.
43861         (exp_towardzero_test_data): Likewise.
43862         (exp_test_towardzero): Likewise.
43863         (exp_downward_test_data): Likewise.
43864         (exp_test_downward): Likewise.
43865         (exp_upward_test_data): Likewise.
43866         (exp_test_upward): Likewise.
43867         (exp10_test_data): Update call to AUTO_TESTS_f_f.
43868         (exp10_test): Use ALL_RM_TEST.
43869         (exp10_tonearest_test_data): Remove.
43870         (exp10_test_tonearest): Likewise.
43871         (exp10_towardzero_test_data): Likewise.
43872         (exp10_test_towardzero): Likewise.
43873         (exp10_downward_test_data): Likewise.
43874         (exp10_test_downward): Likewise.
43875         (exp10_upward_test_data): Likewise.
43876         (exp10_test_upward): Likewise.
43877         (exp2_test_data): Update call to AUTO_TESTS_f_f.
43878         (expm1_test_data): Likewise.
43879         (expm1_test): Use ALL_RM_TEST.
43880         (expm1_tonearest_test_data): Remove.
43881         (expm1_test_tonearest): Likewise.
43882         (expm1_towardzero_test_data): Likewise.
43883         (expm1_test_towardzero): Likewise.
43884         (expm1_downward_test_data): Likewise.
43885         (expm1_test_downward): Likewise.
43886         (expm1_upward_test_data): Likewise.
43887         (expm1_test_upward): Likewise.
43888         (fma_test_data): Update call to AUTO_TESTS_fff_f.
43889         (fma_test): Use ALL_RM_TEST.
43890         (fma_towardzero_test_data): Remove.
43891         (fma_test_towardzero): Likewise.
43892         (fma_downward_test_data): Likewise.
43893         (fma_test_downward): Likewise.
43894         (fma_upward_test_data): Likewise.
43895         (fma_test_upward): Likewise.
43896         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43897         (j0_test_data): Update call to AUTO_TESTS_f_f.
43898         (j1_test_data): Likewise.
43899         (jn_test_data): Update call to AUTO_TESTS_if_f.
43900         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43901         (log_test_data): Update call to AUTO_TESTS_f_f.
43902         (log10_test_data): Likewise.
43903         (log1p_test_data): Likewise.
43904         (log2_test_data): Likewise.
43905         (pow_test_data): Update call to AUTO_TESTS_ff_f.
43906         (pow_tonearest_test_data): Likewise.
43907         (sin_test_data): Update call to AUTO_TESTS_f_f.
43908         (sin_test): Use ALL_RM_TEST.
43909         (sin_tonearest_test_data): Remove.
43910         (sin_test_tonearest): Likewise.
43911         (sin_towardzero_test_data): Likewise.
43912         (sin_test_towardzero): Likewise.
43913         (sin_downward_test_data): Likewise.
43914         (sin_test_downward): Likewise.
43915         (sin_upward_test_data): Likewise.
43916         (sin_test_upward): Likewise.
43917         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43918         (sinh_test_data): Update call to AUTO_TESTS_f_f.
43919         (sinh_test): Use ALL_RM_TEST.
43920         (sinh_tonearest_test_data): Remove.
43921         (sinh_test_tonearest): Likewise.
43922         (sinh_towardzero_test_data): Likewise.
43923         (sinh_test_towardzero): Likewise.
43924         (sinh_downward_test_data): Likewise.
43925         (sinh_test_downward): Likewise.
43926         (sinh_upward_test_data): Likewise.
43927         (sinh_test_upward): Likewise.
43928         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43929         (sqrt_test): Use ALL_RM_TEST.
43930         (sqrt_tonearest_test_data): Remove.
43931         (sqrt_test_tonearest): Likewise.
43932         (sqrt_towardzero_test_data): Likewise.
43933         (sqrt_test_towardzero): Likewise.
43934         (sqrt_downward_test_data): Likewise.
43935         (sqrt_test_downward): Likewise.
43936         (sqrt_upward_test_data): Likewise.
43937         (sqrt_test_upward): Likewise.
43938         (tan_test_data): Update call to AUTO_TESTS_f_f.
43939         (tan_test): Use ALL_RM_TEST.
43940         (tan_tonearest_test_data): Remove.
43941         (tan_test_tonearest): Likewise.
43942         (tan_towardzero_test_data): Likewise.
43943         (tan_test_towardzero): Likewise.
43944         (tan_downward_test_data): Likewise.
43945         (tan_test_downward): Likewise.
43946         (tan_upward_test_data): Likewise.
43947         (tan_test_upward): Likewise.
43948         (tanh_test_data): Update call to AUTO_TESTS_f_f.
43949         (tgamma_test_data): Likewise.
43950         (y0_test_data): Likewise.
43951         (y1_test_data): Likewise.
43952         (yn_test_data): Update call to AUTO_TESTS_if_f.
43953         (main): Do not call removed functions.
43955 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43957         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43958         (ldexp_test_data): Remove.
43959         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
43960         scalbn_test_data.
43961         (scalb_test): Use ALL_RM_TEST.
43963 2014-03-19  Andreas Schwab  <schwab@suse.de>
43965         * nscd/nscd.service: Also invalidate netgroup cache on reload.
43967 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43969         [BZ #16649]
43970         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43971         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43972         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43973         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43974         (__ASSUME_PREADV): Undefine.
43975         (__ASSUME_PWRITEV): Likewise.
43977 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43979         * bits/mman-linux.h: Add comment about non-Linux use.
43980         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43981         bits/mman-linux.h resting place.
43983         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43984         * bits/mman-linux.h: ... here.
43986 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43988         * conform/conformtest.pl: Add standard definition when calling C
43989         preprocessor on data files.
43990         (checknamespace): Remove unused variable.
43992 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43994         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43995         minus_oflow, plus_uflow and minus_uflow in expected results.
43996         * math/libm-test.inc (scalbn_test_data): Add more tests of
43997         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
43998         minus_uflow.
43999         (scalbn_test): Use ALL_RM_TEST.
44000         (scalbln_test_data): Add more tests of negative arguments.  Use
44001         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
44002         (scalbln_test): Use ALL_RM_TEST.
44004 2014-03-18  Roland McGrath  <roland@hack.frob.com>
44006         * scripts/abilist.awk: Ignore symbols marked with .hidden.
44008 2014-03-18  Will Newton  <will.newton@linaro.org>
44010         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
44011         inaccurate comment.
44013 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
44015         * Makerules [!subdir] (check-abi): Exit with error status if a
44016         test failed.
44018 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
44020         * math/libm-test.inc (nearbyint_test_data): Include all tests used
44021         for rint.  Include results for all rounding modes.
44022         (nearbyint_test): Use ALL_RM_TEST.
44023         (rint_test_data): Include all tests used for nearbyint.
44025 2014-03-17  Will Newton  <will.newton@linaro.org>
44027         * nptl/sysdeps/pthread/pthread.h: Revert previous
44028         change.
44030         * sysdeps/generic/ldsodefs.h: Revert previous
44031         change.
44033         * libio/genops.c: Revert previous change.
44034         * libio/libioP.h: Likewise.
44035         * stdio-common/vfprintf.c: Likewise.
44037         * sysdeps/generic/math_private.h: Revert previous
44038         change.
44040         * sysdeps/generic/math_private.h: Check whether
44041         HAVE_RM_CTX is defined with #ifdef rather
44042         than #if.
44044         * argp/argp-fmtstream.h: Check whether
44045         __STRICT_ANSI__ is defined with #ifdef rather
44046         than #if.
44047         * argp/argp.h: Likewise.
44049         * libio/genops.c: Check whether
44050         _IO_JUMPS_OFFSET is defined with #ifdef rather
44051         than #if.
44052         * libio/libioP.h: Likewise.
44053         * stdio-common/vfprintf.c: Likewise.
44055         * sysdeps/generic/ldsodefs.h: Check whether
44056         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
44057         than #if.
44059         * nptl/sysdeps/pthread/pthread.h: Check
44060         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44061         its value.
44063 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44065         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
44066         setting O_APPEND.
44067         * libio/tst-ftell-active-handler.c (do_append_test): Add a
44068         test case.
44070         [BZ #16680]
44071         * libio/fileops.c (_IO_file_open): Seek to end of file but
44072         don't cache the offset.
44073         (get_file_offset): Remove function.
44074         (do_ftell): Use cached offset when available.
44075         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
44076         don't cache the offset.
44077         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
44078         case.
44079         (do_one_test): Call it.
44080         (do_ftell_test): Fix up expected old offset for a+ mode.
44081         * libio/wfileops.c (do_ftell_wide): Used cached offset when
44082         available.
44084         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44085         up test status with function return status.
44086         (do_write_test): Likewise.
44087         (do_append_test): Likewise.
44089         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44090         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
44091         Remove.
44093 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
44095         * math/gen-libm-test.pl (parse_args): Handle results specified for
44096         each rounding mode separately.
44097         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
44098         tests and results from lrint_tonearest_test_data,
44099         lrint_towardzero_test_data, lrint_downward_test_data and
44100         lrint_upward_test_data.
44101         (lrint_test): Use ALL_RM_TEST.
44102         (lrint_tonearest_test_data): Remove.
44103         (lrint_test_tonearest): Likewise.
44104         (lrint_towardzero_test_data): Likewise.
44105         (lrint_test_towardzero): Likewise.
44106         (lrint_downward_test_data): Likewise.
44107         (lrint_test_downward): Likewise.
44108         (lrint_upward_test_data): Likewise.
44109         (lrint_test_upward): Likewise.
44110         (llrint_test_data): Merge in per-rounding-mode tests and results
44111         from llrint_tonearest_test_data, llrint_towardzero_test_data,
44112         llrint_downward_test_data and llrint_upward_test_data.
44113         (llrint_test): Use ALL_RM_TEST.
44114         (llrint_tonearest_test_data): Remove.
44115         (llrint_test_tonearest): Likewise.
44116         (llrint_towardzero_test_data): Likewise.
44117         (llrint_test_towardzero): Likewise.
44118         (llrint_downward_test_data): Likewise.
44119         (llrint_test_downward): Likewise.
44120         (llrint_upward_test_data): Likewise.
44121         (llrint_test_upward): Likewise.
44122         (rint_test_data): Merge in per-rounding-mode tests and results
44123         from rint_tonearest_test_data, rint_towardzero_test_data,
44124         rint_downward_test_data and rint_upward_test_data.  Add
44125         per-rounding-mode results for tests not in those arrays.
44126         (rint_test): Use ALL_RM_TEST.
44127         (rint_tonearest_test_data): Remove.
44128         (rint_test_tonearest): Likewise.
44129         (rint_towardzero_test_data): Likewise.
44130         (rint_test_towardzero): Likewise.
44131         (rint_downward_test_data): Likewise.
44132         (rint_test_downward): Likewise.
44133         (rint_upward_test_data): Likewise.
44134         (rint_test_upward): Likewise.
44135         (main): Don't call removed functions.
44137 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44139         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
44140         "Compiled on ..." crapola.  It is anti-useful.
44142 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
44144         * scripts/evaluate-test.sh: Handle fourth argument to determine
44145         whether test run should stop on failure.
44146         * Makeconfig (stop-on-test-failure): New variable.
44147         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
44148         $(stop-on-test-failure).
44149         * Makefile (tests): Give a summary of results from testing and
44150         exit with failure status if they include an ERROR or FAIL.
44151         (xtests): Likewise.
44152         * manual/install.texi (Configuring and compiling): Mention
44153         stop-on-test-failure=y.
44154         * INSTALL: Regenerated.
44156 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44158         * scripts/versionlist.awk: New file.
44159         * Makerules [$(build-shared) = yes]
44160         (postclean-generated): Add Versions.def, not Versions.def.v and
44161         Versions.def.v.i.
44162         ($(common-objpfx)Versions.def.v.i): Target removed.
44163         ($(common-objpfx)Versions.def): New target.
44164         ($(common-objpfx)Versions.all): Depend on that rather that
44165         $(common-objpfx)Versions.def.v.
44166         * Versions.def: File removed.
44168         * Makeconfig (+gccwarn): Add -Wundef.
44169         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
44170         a dl-sysdep.h breaking its contract.
44171         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
44172         * include/stackinfo.h: New file.
44173         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
44174         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
44175         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
44176         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
44177         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
44178         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
44179         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44180         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44181         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44182         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44183         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44184         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44185         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44186         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44187         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44189 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44191         [BZ #16707]
44192         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44193         implementation.
44194         * math/libm-test.inc (round_test_data): Add more tests.
44196         [BZ #16706]
44197         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44198         implementation.
44199         * math/libm-test.inc (nearbyint_test_data): Add more tests.
44201         [BZ #16701]
44202         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44203         implementation.
44204         * math/libm-test.inc (ceil_test_data): Add more tests.
44206         * math/libm-test.inc (trunc_test_data): Add more tests related to
44207         BZ#16414.
44209 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44211         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44212         with #if rather than #ifdef.
44213         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44215 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
44217         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44218         first.  Disable AVX-512 GCC support if assembler doesn't support
44219         it.
44220         * sysdeps/x86_64/configure: Regenerated.
44222 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
44224         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44225         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44226         (__old_pthread_attr_setstack): Likewise.
44227         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44228         [!_STACK_GROWS_DOWN]: Likewise.
44230 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
44232         * config.make.in (have-bash2): Delete.
44233         * configure.ac (libc_cv_have_bash2): Delete.
44234         * configure: Regenerate.
44235         * elf/Makefile (common-ldd-rewrite): Rename to ...
44236         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
44237         (sh-ldd-rewrite): Delete.
44238         (bash-ldd-rewrite): Delete.
44239         (have-bash2): Delete checks.
44240         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44241         ldd-rewrite.
44243         * config.make.in (have-ksh): Delete.
44244         (KSH): Delete.
44245         * configure.ac (libc_cv_have_ksh): Delete.
44246         * configure: Regenerate.
44248         * elf/Makefile: Delete $(have-ksh) check.
44249         ($(objpfx)sotruss): Change KSH to BASH.
44250         * elf/sotruss.ksh: Rename to ...
44251         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
44252         function style to match POSIX.  Drop ksh vim mode setting.
44254         * manual/time.texi (Specifying the Time Zone with TZ): Change
44255         Tuesday to Thursday.
44257         * debug/tst-longjmp_chk2.c: Update header comment.
44258         (stackoverflow_handler): Add comment.  Call assert on pass value.
44260 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
44262         [BZ #16194]
44263         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44264         (HAVE_AVX512_ASM_SUPPORT): Likewise.
44265         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44266         (La_x86_64_vector): Add zmm.
44267         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44268         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44269         ($(objpfx)tst-audit10): New target.
44270         ($(objpfx)tst-audit10.out): Likewise.
44271         (tst-audit10-ENV): New.
44272         (AVX512-CFLAGS): Likewise.
44273         (CFLAGS-tst-audit10.c): Likewise.
44274         (CFLAGS-tst-auditmod10a.c): Likewise.
44275         (CFLAGS-tst-auditmod10b.c): Likewise.
44276         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44277         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44278         * sysdeps/x86_64/configure: Regenerated.
44279         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44280         AVX-512 zmm register support.
44281         (_dl_x86_64_save_sse): Likewise.
44282         (_dl_x86_64_restore_sse): Likewise.
44283         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44284         size vector registers.
44285         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44286         (ZMM_SIZE): Likewise.
44287         * sysdeps/x86_64/tst-audit10.c: New file.
44288         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44289         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44291 2014-03-13  Roland McGrath  <roland@hack.frob.com>
44293         * configure.ac (HAVE_EHDR_START): New check.
44294         * configure: Regenerated.
44295         * config.h.in (HAVE_EHDR_START): New #undef.
44296         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44297         assuming the lowest-addressed segment maps the start of the file.
44299 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
44301         * INSTALL: Regenerated.
44303 2014-03-13  Will Newton  <will.newton@linaro.org>
44305         * manual/setjmp.texi (System V contexts): Improve
44306         clarity and grammar of documentation.
44308 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
44310         [BZ #16381]
44311         * elf/Makefile (tests): Add tst-pie2.
44312         (tests-pie): Add tst-pie2.
44313         * elf/tst-pie2.c: New file.
44314         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44315         for ET_EXEC.
44316         * elf/rtld.c (map_doit): Load executable as lt_executable.
44317         (dl_main): Likewise.
44319 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
44321         [BZ #16642]
44322         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44323         (__ASSUME_PSELECT): Undefine.
44325 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44327         [BZ #16689]
44328         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44329         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44330         static build.
44331         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44332         selector for static builds.
44334 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44336         [BZ #16695]
44337         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44338         key in the buffer.
44340 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44342         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44343         IFUNC selector for static builds.
44345 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
44347         * sysdeps/mips/math_private.h [__mips_hard_float]
44348         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44349         libc_feresetround_mips_ctx.
44350         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44351         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44352         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44354         [BZ #16677]
44355         * math/s_nextafter.c (__nextafter): Do not return value from
44356         overflowing computation.
44357         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44358         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44359         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44360         Likewise.
44361         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44362         Likewise.
44363         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44364         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44366 2014-03-11  Roland McGrath  <roland@hack.frob.com>
44368         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44369         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44370         Move sfi_sp use from the load-multiple (that no longer sets sp) to
44371         the new mov targetting sp.
44373 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44375         [BZ #16683]
44376         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44377         Define it for static builds as well.
44378         (NO_BZERO_IMPL): Likewise.
44380 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44382         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44383         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44384         multiarch strspn for PPC64.
44385         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44386         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44388         (__libc_ifunc_impl_list): Likewise.
44389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44390         multiarch optimizations
44391         * string/strspn.c (strspn): Using macro to redefine symbol name.
44393 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44394             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44396         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44397         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44398         multiarch strncat for PPC64.
44399         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44400         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44402         (__libc_ifunc_impl_list): Likewise.
44403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44404         multiarch optimizations
44406 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44408         [BZ #16639]
44409         * nscd/nscd.service: Make service type forking.
44411 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44413         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44414         sign in non default rounding modes.
44415         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44417 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
44419         * math/libm-test.inc (ALL_RM_TEST): New macro.
44420         (ceil_test): Use ALL_RM_TEST.
44421         (cimag_test): Likewise.
44422         (conj_test): Likewise.
44423         (copysign_test): Likewise.
44424         (cproj_test): Likewise.
44425         (creal_test): Likewise.
44426         (fabs_test): Likewise.
44427         (floor_test): Likewise.
44428         (fmax_test): Likewise.
44429         (fmin_test): Likewise.
44430         (fmod_test): Likewise.
44431         (fpclassify_test): Likewise.
44432         (frexp_test): Likewise.
44433         (ilogb_test): Likewise.
44434         (isfinite_test): Likewise.
44435         (finite_test): Likewise.
44436         (isgreater_test): Likewise.
44437         (isgreaterequal_test): Likewise.
44438         (isinf_test): Likewise.
44439         (isless_test): Likewise.
44440         (islessequal_test): Likewise.
44441         (islessgreater_test): Likewise.
44442         (isnan_test): Likewise.
44443         (isnormal_test): Likewise.
44444         (issignaling_test): Likewise.
44445         (isunordered_test): Likewise.
44446         (logb_test): Likewise.
44447         (logb_downward_test_data): Remove.
44448         (logb_test_downward): Likewise.
44449         (lround_test): Use ALL_RM_TEST.
44450         (llround_test): Likewise.
44451         (modf_test): Likewise.
44452         (nexttoward_test): Likewise.
44453         (remainder_test): Likewise.
44454         (drem_test): Likewise.
44455         (remainder_tonearest_test_data): Likewise.
44456         (remainder_test_tonearest): Likewise.
44457         (drem_test_tonearest): Likewise.
44458         (remainder_towardzero_test_data): Likewise.
44459         (remainder_test_towardzero): Likewise.
44460         (drem_test_towardzero): Likewise.
44461         (remainder_downward_test_data): Likewise.
44462         (remainder_test_downward): Likewise.
44463         (drem_test_downward): Likewise.
44464         (remainder_upward_test_data): Likewise.
44465         (remainder_test_upward): Likewise.
44466         (drem_test_upward): Likewise.
44467         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
44468         (round_test): Use ALL_RM_TEST.
44469         (signbit_test): Likewise.
44470         (trunc_test): Likewise.
44471         (significand_test): Likewise.
44472         (main): Don't call removed functions.
44474 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44476         [BZ #16674]
44477         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44478         || __USE_XOPEN2K8].
44479         (ILL_ILLOPN): Likewise.
44480         (ILL_ILLADR): Likewise.
44481         (ILL_ILLTRP): Likewise.
44482         (ILL_PRVOPC): Likewise.
44483         (ILL_PRVREG): Likewise.
44484         (ILL_COPROC): Likewise.
44485         (ILL_BADSTK): Likewise.
44486         (FPE_INTDIV): Likewise.
44487         (FPE_INTOVF): Likewise.
44488         (FPE_FLTDIV): Likewise.
44489         (FPE_FLTOVF): Likewise.
44490         (FPE_FLTUND): Likewise.
44491         (FPE_FLTRES): Likewise.
44492         (FPE_FLTINV): Likewise.
44493         (FPE_FLTSUB): Likewise.
44494         (SEGV_MAPERR): Likewise.
44495         (SEGV_ACCERR): Likewise.
44496         (BUS_ADRALN): Likewise.
44497         (BUS_ADRERR): Likewise.
44498         (BUS_OBJERR): 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/alpha/bits/siginfo.h (ILL_ILLOPC):
44515         Likewise.
44516         (ILL_ILLOPN): Likewise.
44517         (ILL_ILLADR): Likewise.
44518         (ILL_ILLTRP): Likewise.
44519         (ILL_PRVOPC): Likewise.
44520         (ILL_PRVREG): Likewise.
44521         (ILL_COPROC): Likewise.
44522         (ILL_BADSTK): Likewise.
44523         (FPE_INTDIV): Likewise.
44524         (FPE_INTOVF): Likewise.
44525         (FPE_FLTDIV): Likewise.
44526         (FPE_FLTOVF): Likewise.
44527         (FPE_FLTUND): Likewise.
44528         (FPE_FLTRES): Likewise.
44529         (FPE_FLTINV): Likewise.
44530         (FPE_FLTSUB): Likewise.
44531         (SEGV_MAPERR): Likewise.
44532         (SEGV_ACCERR): Likewise.
44533         (BUS_ADRALN): Likewise.
44534         (BUS_ADRERR): Likewise.
44535         (BUS_OBJERR): Likewise.
44536         (BUS_MCEERR_AR): Likewise.
44537         (BUS_MCEERR_AO): Likewise.
44538         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44539         (TRAP_TRACE): Likewise.
44540         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44541         __USE_XOPEN2K8].
44542         (CLD_KILLED): Likewise.
44543         (CLD_DUMPED): Likewise.
44544         (CLD_TRAPPED): Likewise.
44545         (CLD_STOPPED): Likewise.
44546         (CLD_CONTINUED): Likewise.
44547         (POLL_IN): Likewise.
44548         (POLL_OUT): Likewise.
44549         (POLL_MSG): Likewise.
44550         (POLL_ERR): Likewise.
44551         (POLL_PRI): Likewise.
44552         (POLL_HUP): Likewise.
44553         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): 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         (FPE_INTDIV): Likewise.
44562         (FPE_INTOVF): Likewise.
44563         (FPE_FLTDIV): Likewise.
44564         (FPE_FLTOVF): Likewise.
44565         (FPE_FLTUND): Likewise.
44566         (FPE_FLTRES): Likewise.
44567         (FPE_FLTINV): Likewise.
44568         (FPE_FLTSUB): Likewise.
44569         (SEGV_MAPERR): Likewise.
44570         (SEGV_ACCERR): Likewise.
44571         (BUS_ADRALN): Likewise.
44572         (BUS_ADRERR): Likewise.
44573         (BUS_OBJERR): Likewise.
44574         (BUS_MCEERR_AR): Likewise.
44575         (BUS_MCEERR_AO): Likewise.
44576         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44577         (TRAP_TRACE): Likewise.
44578         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44579         __USE_XOPEN2K8].
44580         (CLD_KILLED): Likewise.
44581         (CLD_DUMPED): Likewise.
44582         (CLD_TRAPPED): Likewise.
44583         (CLD_STOPPED): Likewise.
44584         (CLD_CONTINUED): Likewise.
44585         (POLL_IN): Likewise.
44586         (POLL_OUT): Likewise.
44587         (POLL_MSG): Likewise.
44588         (POLL_ERR): Likewise.
44589         (POLL_PRI): Likewise.
44590         (POLL_HUP): Likewise.
44591         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44592         Likewise.
44593         (ILL_ILLOPN): Likewise.
44594         (ILL_ILLADR): Likewise.
44595         (ILL_ILLTRP): Likewise.
44596         (ILL_PRVOPC): Likewise.
44597         (ILL_PRVREG): Likewise.
44598         (ILL_COPROC): Likewise.
44599         (ILL_BADSTK): Likewise.
44600         (ILL_BADIADDR): Likewise.
44601         (ILL_BREAK): Likewise.
44602         (FPE_INTDIV): Likewise.
44603         (FPE_INTOVF): Likewise.
44604         (FPE_FLTDIV): Likewise.
44605         (FPE_FLTOVF): Likewise.
44606         (FPE_FLTUND): Likewise.
44607         (FPE_FLTRES): Likewise.
44608         (FPE_FLTINV): Likewise.
44609         (FPE_FLTSUB): Likewise.
44610         (FPE_DECOVF): Likewise.
44611         (FPE_DECDIV): Likewise.
44612         (FPE_DECERR): Likewise.
44613         (FPE_INVASC): Likewise.
44614         (FPE_INVDEC): Likewise.
44615         (SEGV_MAPERR): Likewise.
44616         (SEGV_ACCERR): Likewise.
44617         (SEGV_PSTKOVF): Likewise.
44618         (BUS_ADRALN): Likewise.
44619         (BUS_ADRERR): Likewise.
44620         (BUS_OBJERR): Likewise.
44621         (BUS_MCEERR_AR): Likewise.
44622         (BUS_MCEERR_AO): Likewise.
44623         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44624         (TRAP_TRACE): Likewise.
44625         (TRAP_BRANCH): Likewise.
44626         (TRAP_HWBKPT): Likewise.
44627         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44628         __USE_XOPEN2K8].
44629         (CLD_KILLED): Likewise.
44630         (CLD_DUMPED): Likewise.
44631         (CLD_TRAPPED): Likewise.
44632         (CLD_STOPPED): Likewise.
44633         (CLD_CONTINUED): Likewise.
44634         (POLL_IN): Likewise.
44635         (POLL_OUT): Likewise.
44636         (POLL_MSG): Likewise.
44637         (POLL_ERR): Likewise.
44638         (POLL_PRI): Likewise.
44639         (POLL_HUP): Likewise.
44640         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44641         (ILL_ILLOPN): Likewise.
44642         (ILL_ILLADR): Likewise.
44643         (ILL_ILLTRP): Likewise.
44644         (ILL_PRVOPC): Likewise.
44645         (ILL_PRVREG): Likewise.
44646         (ILL_COPROC): Likewise.
44647         (ILL_BADSTK): Likewise.
44648         (FPE_INTDIV): Likewise.
44649         (FPE_INTOVF): Likewise.
44650         (FPE_FLTDIV): Likewise.
44651         (FPE_FLTOVF): Likewise.
44652         (FPE_FLTUND): Likewise.
44653         (FPE_FLTRES): Likewise.
44654         (FPE_FLTINV): Likewise.
44655         (FPE_FLTSUB): Likewise.
44656         (SEGV_MAPERR): Likewise.
44657         (SEGV_ACCERR): Likewise.
44658         (BUS_ADRALN): Likewise.
44659         (BUS_ADRERR): Likewise.
44660         (BUS_OBJERR): Likewise.
44661         (BUS_MCEERR_AR): Likewise.
44662         (BUS_MCEERR_AO): Likewise.
44663         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44664         (TRAP_TRACE): Likewise.
44665         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44666         __USE_XOPEN2K8].
44667         (CLD_KILLED): Likewise.
44668         (CLD_DUMPED): Likewise.
44669         (CLD_TRAPPED): Likewise.
44670         (CLD_STOPPED): Likewise.
44671         (CLD_CONTINUED): Likewise.
44672         (POLL_IN): Likewise.
44673         (POLL_OUT): Likewise.
44674         (POLL_MSG): Likewise.
44675         (POLL_ERR): Likewise.
44676         (POLL_PRI): Likewise.
44677         (POLL_HUP): Likewise.
44678         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44679         (ILL_ILLOPN): Likewise.
44680         (ILL_ILLADR): Likewise.
44681         (ILL_ILLTRP): Likewise.
44682         (ILL_PRVOPC): Likewise.
44683         (ILL_PRVREG): Likewise.
44684         (ILL_COPROC): Likewise.
44685         (ILL_BADSTK): Likewise.
44686         (FPE_INTDIV): Likewise.
44687         (FPE_INTOVF): Likewise.
44688         (FPE_FLTDIV): Likewise.
44689         (FPE_FLTOVF): Likewise.
44690         (FPE_FLTUND): Likewise.
44691         (FPE_FLTRES): Likewise.
44692         (FPE_FLTINV): Likewise.
44693         (FPE_FLTSUB): Likewise.
44694         (SEGV_MAPERR): Likewise.
44695         (SEGV_ACCERR): Likewise.
44696         (BUS_ADRALN): Likewise.
44697         (BUS_ADRERR): Likewise.
44698         (BUS_OBJERR): Likewise.
44699         (BUS_MCEERR_AR): Likewise.
44700         (BUS_MCEERR_AO): Likewise.
44701         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44702         (TRAP_TRACE): Likewise.
44703         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44704         __USE_XOPEN2K8].
44705         (CLD_KILLED): Likewise.
44706         (CLD_DUMPED): Likewise.
44707         (CLD_TRAPPED): Likewise.
44708         (CLD_STOPPED): Likewise.
44709         (CLD_CONTINUED): Likewise.
44710         (POLL_IN): Likewise.
44711         (POLL_OUT): Likewise.
44712         (POLL_MSG): Likewise.
44713         (POLL_ERR): Likewise.
44714         (POLL_PRI): Likewise.
44715         (POLL_HUP): Likewise.
44716         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44717         (ILL_ILLOPN): Likewise.
44718         (ILL_ILLADR): Likewise.
44719         (ILL_ILLTRP): Likewise.
44720         (ILL_PRVOPC): Likewise.
44721         (ILL_PRVREG): Likewise.
44722         (ILL_COPROC): Likewise.
44723         (ILL_BADSTK): Likewise.
44724         (FPE_INTDIV): Likewise.
44725         (FPE_INTOVF): Likewise.
44726         (FPE_FLTDIV): Likewise.
44727         (FPE_FLTOVF): Likewise.
44728         (FPE_FLTUND): Likewise.
44729         (FPE_FLTRES): Likewise.
44730         (FPE_FLTINV): Likewise.
44731         (FPE_FLTSUB): Likewise.
44732         (SEGV_MAPERR): Likewise.
44733         (SEGV_ACCERR): Likewise.
44734         (BUS_ADRALN): Likewise.
44735         (BUS_ADRERR): Likewise.
44736         (BUS_OBJERR): Likewise.
44737         (BUS_MCEERR_AR): Likewise.
44738         (BUS_MCEERR_AO): Likewise.
44739         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44740         (TRAP_TRACE): Likewise.
44741         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44742         __USE_XOPEN2K8].
44743         (CLD_KILLED): Likewise.
44744         (CLD_DUMPED): Likewise.
44745         (CLD_TRAPPED): Likewise.
44746         (CLD_STOPPED): Likewise.
44747         (CLD_CONTINUED): Likewise.
44748         (POLL_IN): Likewise.
44749         (POLL_OUT): Likewise.
44750         (POLL_MSG): Likewise.
44751         (POLL_ERR): Likewise.
44752         (POLL_PRI): Likewise.
44753         (POLL_HUP): Likewise.
44754         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44755         (ILL_ILLOPN): Likewise.
44756         (ILL_ILLADR): Likewise.
44757         (ILL_ILLTRP): Likewise.
44758         (ILL_PRVOPC): Likewise.
44759         (ILL_PRVREG): Likewise.
44760         (ILL_COPROC): Likewise.
44761         (ILL_BADSTK): Likewise.
44762         (ILL_DBLFLT): Likewise.
44763         (ILL_HARDWALL): Likewise.
44764         (FPE_INTDIV): Likewise.
44765         (FPE_INTOVF): Likewise.
44766         (FPE_FLTDIV): Likewise.
44767         (FPE_FLTOVF): Likewise.
44768         (FPE_FLTUND): Likewise.
44769         (FPE_FLTRES): Likewise.
44770         (FPE_FLTINV): Likewise.
44771         (FPE_FLTSUB): Likewise.
44772         (SEGV_MAPERR): Likewise.
44773         (SEGV_ACCERR): Likewise.
44774         (BUS_ADRALN): Likewise.
44775         (BUS_ADRERR): Likewise.
44776         (BUS_OBJERR): Likewise.
44777         (BUS_MCEERR_AR): Likewise.
44778         (BUS_MCEERR_AO): Likewise.
44779         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44780         (TRAP_TRACE): Likewise.
44781         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44782         __USE_XOPEN2K8].
44783         (CLD_KILLED): Likewise.
44784         (CLD_DUMPED): Likewise.
44785         (CLD_TRAPPED): Likewise.
44786         (CLD_STOPPED): Likewise.
44787         (CLD_CONTINUED): Likewise.
44788         (POLL_IN): Likewise.
44789         (POLL_OUT): Likewise.
44790         (POLL_MSG): Likewise.
44791         (POLL_ERR): Likewise.
44792         (POLL_PRI): Likewise.
44793         (POLL_HUP): Likewise.
44794         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44795         (ILL_ILLOPN): Likewise.
44796         (ILL_ILLADR): Likewise.
44797         (ILL_ILLTRP): Likewise.
44798         (ILL_PRVOPC): Likewise.
44799         (ILL_PRVREG): Likewise.
44800         (ILL_COPROC): Likewise.
44801         (ILL_BADSTK): Likewise.
44802         (FPE_INTDIV): Likewise.
44803         (FPE_INTOVF): Likewise.
44804         (FPE_FLTDIV): Likewise.
44805         (FPE_FLTOVF): Likewise.
44806         (FPE_FLTUND): Likewise.
44807         (FPE_FLTRES): Likewise.
44808         (FPE_FLTINV): Likewise.
44809         (FPE_FLTSUB): Likewise.
44810         (SEGV_MAPERR): Likewise.
44811         (SEGV_ACCERR): Likewise.
44812         (BUS_ADRALN): Likewise.
44813         (BUS_ADRERR): Likewise.
44814         (BUS_OBJERR): Likewise.
44815         (BUS_MCEERR_AR): Likewise.
44816         (BUS_MCEERR_AO): Likewise.
44817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44818         (TRAP_TRACE): Likewise.
44819         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44820         __USE_XOPEN2K8].
44821         (CLD_KILLED): Likewise.
44822         (CLD_DUMPED): Likewise.
44823         (CLD_TRAPPED): Likewise.
44824         (CLD_STOPPED): Likewise.
44825         (CLD_CONTINUED): Likewise.
44826         (POLL_IN): Likewise.
44827         (POLL_OUT): Likewise.
44828         (POLL_MSG): Likewise.
44829         (POLL_ERR): Likewise.
44830         (POLL_PRI): Likewise.
44831         (POLL_HUP): Likewise.
44832         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44833         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44835         [BZ #16670]
44836         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44837         before #include of <time.h>.
44838         [!__USE_XOPEN2K] (__need_timespec): Likewise.
44839         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44840         (test-xfail-UNIX98/sched.h/conform): Likewise.
44842 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44844         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44845         error absence of trapping exception support.
44846         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44848 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44850         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44851         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44852         * timezone/Makefile (testdata): Move definition above include of
44853         Rules.
44854         (test-zones): New variable.
44855         (tests-special): Add zone files.
44856         (build-testdata): Use $(evaluate-test).
44858         * elf/Makefile (tests-special): Rename tests to end with .out.
44859         ($(objpfx)noload-mem): Likewise.
44860         ($(objpfx)tst-leaks1-mem): Likewise.
44861         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44862         * iconv/Makefile (xtests-special): Change test-iconvconfig to
44863         $(objpfx)test-iconvconfig.out.
44864         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
44865         set -e inside subshell and redirect output to file.
44866         * iconvdata/Makefile (generated): Rename tests to end with .out.
44867         Correct type.
44868         (tests-special): Rename tests to end with .out.
44869         ($(objpfx)mtrace-tst-loading): Likewise.
44870         * intl/Makefile (generated): Likewise.
44871         (tests-special): Likewise.
44872         ($(objpfx)mtrace-tst-gettext): Likewise.
44873         * misc/Makefile (generated): Likewise.
44874         (tests-special): Likewise.
44875         ($(objpfx)tst-error1-mem): Likewise.
44876         * nptl/Makefile (tests-special): Likewise.
44877         ($(objpfx)tst-stack3-mem): Likewise.
44878         (generated): Likewise.
44879         * posix/Makefile (generated): Likewise.
44880         (tests-special): Likewise.
44881         (xtests-special): Likewise.
44882         ($(objpfx)tst-fnmatch-mem): Likewise.
44883         ($(objpfx)bug-regex2-mem): Likewise.
44884         ($(objpfx)bug-regex14-mem): Likewise.
44885         ($(objpfx)bug-regex21-mem): Likewise.
44886         ($(objpfx)bug-regex31-mem): Likewise.
44887         ($(objpfx)tst-vfork3-mem): Likewise.
44888         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44889         ($(objpfx)tst-pcre-mem): Likewise.
44890         ($(objpfx)tst-boost-mem): Likewise.
44891         ($(objpfx)bug-ga2-mem): Likewise.
44892         ($(objpfx)bug-glob2-mem): Likewise.
44893         * resolv/Makefile (generate): Likewise.
44894         (tests-special): Likewise.
44895         (xtests-special): Likewise.
44896         (generated): Likewise.
44897         ($(objpfx)mtrace-tst-leaks): Likewise.
44898         ($(objpfx)mtrace-tst-leaks2): Likewise.
44900         * scripts/merge-test-results.sh: New file.
44901         * Makefile (tests-special-notdir): New variable.
44902         (tests): Run merge-test-results.sh.
44903         (xtests): Likewise.
44904         * Rules (tests-special-notdir): New variable.
44905         (xtests-special-notdir): Likewise.
44906         (tests): Run merge-test-results.sh
44907         (xtests): Likewise.
44909         * Makeconfig (test-xfail-name): New variable.
44910         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44911         compute variable name for expected failures.
44912         * conform/Makefile (conformtest-headers-data): New variable.
44913         (conformtest-standards): Likewise.
44914         (conformtest-headers-ISO): Likewise.
44915         (conformtest-headers-ISO99): Likewise.
44916         (conformtest-headers-ISO11): Likewise.
44917         (conformtest-headers-POSIX): Likewise.
44918         (conformtest-headers-XPG3): Likewise.
44919         (conformtest-headers-XPG4): Likewise.
44920         (conformtest-headers-UNIX98): Likewise.
44921         (conformtest-headers-XOPEN2K): Likewise.
44922         (conformtest-headers-POSIX2008): Likewise.
44923         (conformtest-headers-XOPEN2K8): Likewise.
44924         (conformtest-header-list-base): Likewise.
44925         (conformtest-header-list-tests): Likewise.
44926         (conformtest-header-base): Likewise.
44927         (conformtest-header-tests): Likewise.
44928         (tests-special): Add $(conformtest-header-list-tests).  If
44929         [$(fast-check) && !$(cross-compiling)], add
44930         $(conformtest-header-tests) instead of
44931         $(objpfx)run-conformtest.out.
44932         (generated): Add $(conformtest-header-list-base).  If
44933         [$(fast-check) && !$(cross-compiling)], add
44934         $(conformtest-header-base).  Remove previous setting.
44935         ($(conformtest-header-list-tests)): New target.
44936         (test-xfail-run-conformtest): Remove variable.
44937         ($(objpfx)run-conformtest.out): Remove target.
44938         (test-xfail-ISO11/complex.h/conform): New variable.
44939         (test-xfail-ISO11/stdalign.h/conform): Likewise.
44940         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44941         (test-xfail-XPG3/varargs.h/conform): Likewise.
44942         (test-xfail-XPG4/varargs.h/conform): Likewise.
44943         (test-xfail-UNIX98/varargs.h/conform): Likewise.
44944         (test-xfail-XPG4/ndbm.h/conform): Likewise.
44945         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44946         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44947         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44948         (test-xfail-XPG3/fcntl.h/conform): Likewise.
44949         (test-xfail-XPG3/ftw.h/conform): Likewise.
44950         (test-xfail-XPG3/grp.h/conform): Likewise.
44951         (test-xfail-XPG3/langinfo.h/conform): Likewise.
44952         (test-xfail-XPG3/limits.h/conform): Likewise.
44953         (test-xfail-XPG3/pwd.h/conform): Likewise.
44954         (test-xfail-XPG3/search.h/conform): Likewise.
44955         (test-xfail-XPG3/signal.h/conform): Likewise.
44956         (test-xfail-XPG3/stdio.h/conform): Likewise.
44957         (test-xfail-XPG3/stdlib.h/conform): Likewise.
44958         (test-xfail-XPG3/string.h/conform): Likewise.
44959         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44960         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44961         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44962         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44963         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44964         (test-xfail-XPG3/sys/types.h/conform): Likewise.
44965         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44966         (test-xfail-XPG3/termios.h/conform): Likewise.
44967         (test-xfail-XPG3/time.h/conform): Likewise.
44968         (test-xfail-XPG3/unistd.h/conform): Likewise.
44969         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44970         (test-xfail-XPG4/fcntl.h/conform): Likewise.
44971         (test-xfail-XPG4/langinfo.h/conform): Likewise.
44972         (test-xfail-XPG4/netdb.h/conform): Likewise.
44973         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44974         (test-xfail-XPG4/signal.h/conform): Likewise.
44975         (test-xfail-XPG4/stdio.h/conform): Likewise.
44976         (test-xfail-XPG4/stdlib.h/conform): Likewise.
44977         (test-xfail-XPG4/stropts.h/conform): Likewise.
44978         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44979         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44980         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44981         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44982         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44983         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44984         (test-xfail-XPG4/sys/time.h/conform): Likewise.
44985         (test-xfail-XPG4/sys/types.h/conform): Likewise.
44986         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44987         (test-xfail-XPG4/termios.h/conform): Likewise.
44988         (test-xfail-XPG4/ucontext.h/conform): Likewise.
44989         (test-xfail-XPG4/unistd.h/conform): Likewise.
44990         (test-xfail-XPG4/utmpx.h/conform): Likewise.
44991         (test-xfail-POSIX/sched.h/conform): Likewise.
44992         (test-xfail-POSIX/signal.h/conform): Likewise.
44993         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44994         (test-xfail-POSIX/tar.h/conform): Likewise.
44995         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44996         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44997         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44998         (test-xfail-UNIX98/netdb.h/conform): Likewise.
44999         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
45000         (test-xfail-UNIX98/sched.h/conform): Likewise.
45001         (test-xfail-UNIX98/signal.h/conform): Likewise.
45002         (test-xfail-UNIX98/stdio.h/conform): Likewise.
45003         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
45004         (test-xfail-UNIX98/stropts.h/conform): Likewise.
45005         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
45006         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
45007         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
45008         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
45009         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
45010         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
45011         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
45012         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
45013         (test-xfail-UNIX98/unistd.h/conform): Likewise.
45014         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
45015         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
45016         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
45017         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
45018         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
45019         (test-xfail-XOPEN2K/math.h/conform): Likewise.
45020         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
45021         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
45022         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
45023         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
45024         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
45025         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
45026         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
45027         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
45028         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
45029         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
45030         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
45031         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
45032         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
45033         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
45034         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
45035         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
45036         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
45037         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
45038         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
45039         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
45040         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
45041         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
45042         (test-xfail-POSIX2008/signal.h/conform): Likewise.
45043         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
45044         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
45045         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
45046         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
45047         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
45048         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
45049         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
45050         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
45051         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
45052         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
45053         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
45054         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
45055         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
45056         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
45057         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
45058         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
45059         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
45060         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
45061         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
45062         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
45063         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
45064         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
45065         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
45066         (conformtest-cc-flags): Likewise.
45067         ($(conformtest-header-tests): New target.
45068         * conform/check-header-lists.sh: New file.
45069         * conform/run-conformtest.sh: Remove.
45071         * conform/conformtest.pl: Allow ' and \ in values given for
45072         constants.
45073         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
45074         inclusion.
45075         [POSIX] (sys/types.h): Likewise.
45076         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
45077         inclusion.
45078         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
45079         inclusion.
45080         * conform/data/signal.h-data (SIGIO): Remove expectation.
45081         [XPG3] (SIGBUS): Do not expect.
45082         [POSIX || XPG3] (SIGPOLL): Likewise.
45083         [POSIX || XPG3] (SIGPROF): Likewise.
45084         [POSIX || XPG3] (SIGSYS): Likewise.
45085         [XPG3] (SIGTRAP): Likewise.
45086         [POSIX || XPG3] (SIGURG): Likewise.
45087         [POSIX || XPG3] (SIGVTALRM): Likewise.
45088         [POSIX || XPG3] (SIGXCPU): Likewise.
45089         [POSIX || XPG3] (SIGXFSZ): Likewise.
45090         [POSIX] (SA_SIGINFO): Expect.
45091         [XPG3] (siginfo_t): Do not expect type or contents.
45092         [POSIX] (si_pid): Do not expect element.
45093         [POSIX] (si_uid): Likewise.
45094         [POSIX] (si_addr): Likewise.
45095         [POSIX] (si_status): Likewise.
45096         [POSIX] (si_band): Likewise.
45097         [XPG4] (si_value): Likewise.
45098         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
45099         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
45100         [POSIX || XPG3] (ILL_ILLADR): Likewise.
45101         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
45102         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
45103         [POSIX || XPG3] (ILL_PRVREG): Likewise.
45104         [POSIX || XPG3] (ILL_COPROC): Likewise.
45105         [POSIX || XPG3] (ILL_BADSTK): Likewise.
45106         [POSIX || XPG3] (FPE_INTDIV): Likewise.
45107         [POSIX || XPG3] (FPE_INTOVF): Likewise.
45108         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
45109         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
45110         [POSIX || XPG3] (FPE_FLTUND): Likewise.
45111         [POSIX || XPG3] (FPE_FLTRES): Likewise.
45112         [POSIX || XPG3] (FPE_FLTINV): Likewise.
45113         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
45114         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
45115         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
45116         [POSIX || XPG3] (BUS_ADRALN): Likewise.
45117         [POSIX || XPG3] (BUS_ADRERR): Likewise.
45118         [POSIX || XPG3] (BUS_OBJERR): Likewise.
45119         [POSIX || XPG3] (CLD_EXITED): Likewise.
45120         [POSIX || XPG3] (CLD_KILLED): Likewise.
45121         [POSIX || XPG3] (CLD_DUMPED): Likewise.
45122         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
45123         [POSIX || XPG3] (CLD_STOPPED): Likewise.
45124         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
45125         [POSIX || XPG3] (POLL_IN): Likewise.
45126         [POSIX || XPG3] (POLL_OUT): Likewise.
45127         [POSIX || XPG3] (POLL_MSG): Likewise.
45128         [POSIX || XPG3] (POLL_ERR): Likewise.
45129         [POSIX || XPG3] (POLL_PRI): Likewise.
45130         [POSIX || XPG3] (POLL_HUP): Likewise.
45131         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
45132         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
45133         (SIG*): Do not allow.
45134         [XPG3] (si_*): Likewise.
45135         [XPG3] (SI_*): Likewise.
45136         [XPG3 || XPG4] (sigev_*): Likewise.
45137         [XPG3 || XPG4] (SIGEV_*): Likewise.
45138         [XPG3 || XPG4] (sival_*): Likewise.
45139         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
45140         [POSIX || XPG3] (BUS_*): Likewise.
45141         [POSIX || XPG3] (CLD_*): Likewise.
45142         [POSIX || XPG3] (FPE_*): Likewise.
45143         [POSIX || XPG3] (ILL_*): Likewise.
45144         [POSIX || XPG3] (POLL_*): Likewise.
45145         [POSIX || XPG3] (SEGV_*): Likewise.
45146         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
45147         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
45148         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
45149         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
45150         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
45151         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
45152         Specify type and value.
45153         (TVERSLEN): Likewise.
45154         (REGTYPE): Likewise.
45155         (AREGTYPE): Likewise.
45156         (LNKTYPE): Likewise.
45157         (SYMTYPE): Likewise.
45158         (CHRTYPE): Likewise.
45159         (BLKTYPE): Likewise.
45160         (DIRTYPE): Likewise.
45161         (FIFOTYPE): Likewise.
45162         (CONTTYPE): Likewise.
45163         (TSUID): Likewise.
45164         (TSGID): Likewise.
45165         (TSVTX): Likewise.
45166         (TUREAD): Likewise.
45167         (TUWRITE): Likewise.
45168         (TUEXEC): Likewise.
45169         (TGREAD): Likewise.
45170         (TGWRITE): Likewise.
45171         (TGEXEC): Likewise.
45172         (TOREAD): Likewise.
45173         (TOWRITE): Likewise.
45174         (TOEXEC): Likewise.
45175         [POSIX] (TSVTX): Expect constant.
45177 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
45179         * Makefile (tests): Change dependencies to ....
45180         (tests-special): ... additions to this variable.
45181         (tests): Depend on $(tests-special).
45182         * Makerules (check-abi-list): New variable.
45183         (check-abi): Depend on $(check-abi-list).
45184         [$(subdir) = elf] (tests-special): Add
45185         $(objpfx)check-abi-libc.out.
45186         [$(build-shared) = yes && subdir] (tests-special): Add
45187         $(check-abi-list).
45188         [$(build-shared) = yes && subdir] (tests): Do not depend on
45189         check-abi.
45190         * Rules (tests): Depend on $(tests-special).
45191         (xtests): Depend on $(xtests-special).
45192         * catgets/Makefile (tests): Change dependencies to ....
45193         (tests-special): ... additions to this variable.
45194         * conform/Makefile (tests): Change dependencies to ....
45195         (tests-special): ... additions to this variable.
45196         * elf/Makefile (tests): Change dependencies to ....
45197         (tests-special): ... additions to this variable.
45198         * grp/Makefile (tests): Change dependencies to ....
45199         (tests-special): ... additions to this variable.
45200         * iconv/Makefile (xtests): Change dependencies to ....
45201         (xtests-special): ... additions to this variable.
45202         * iconvdata/Makefile (tests): Change dependencies to ....
45203         (tests-special): ... additions to this variable.
45204         * intl/Makefile (tests): Change dependencies to ....
45205         (tests-special): ... additions to this variable.  Also add
45206         $(objpfx)tst-gettext.out.
45207         * io/Makefile (tests): Change dependencies to ....
45208         (tests-special): ... additions to this variable.
45209         * libio/Makefile (tests): Change dependencies to ....
45210         (tests-special): ... additions to this variable.
45211         * malloc/Makefile (tests): Change dependencies to ....
45212         (tests-special): ... additions to this variable.
45213         * misc/Makefile (tests): Change dependencies to ....
45214         (tests-special): ... additions to this variable.
45215         * nptl/Makefile (tests): Change dependencies to ....
45216         (tests-special): ... additions to this variable.
45217         * nptl_db/Makefile (tests): Change dependencies to ....
45218         (tests-special): ... additions to this variable.
45219         * posix/Makefile (tests): Change dependencies to ....
45220         (tests-special): ... additions to this variable.
45221         (xtests): Change dependencies to ....
45222         (xtests-special): ... additions to this variable.
45223         * resolv/Makefile (tests): Change dependencies to ....
45224         (tests-special): ... additions to this variable.
45225         (xtests): Change dependencies to ....
45226         (xtests-special): ... additions to this variable.
45227         * stdio-common/Makefile (tests): Change dependencies to ....
45228         (tests-special): ... additions to this variable.
45229         (do-tst-unbputc): Remove target.
45230         (do-tst-printf): Likewise.
45231         * stdlib/Makefile (tests): Change dependencies to ....
45232         (tests-special): ... additions to this variable.
45233         * string/Makefile (tests): Change dependencies to ....
45234         (tests-special): ... additions to this variable.
45235         * sysdeps/x86/Makefile (tests): Change dependencies to ....
45236         (tests-special): ... additions to this variable.
45238         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45239         whole file.
45240         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45241         whole file.
45242         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45243         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45245         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45246         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45247         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45248         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45249         * conform/data/libgen.h-data [XPG3]: Likewise.
45250         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45251         * conform/data/ndbm.h-data [XPG3]: Likewise.
45252         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45253         * conform/data/netdb.h-data [XPG3]: Likewise.
45254         * conform/data/netinet/in.h-data [XPG3]: Likewise.
45255         * conform/data/poll.h-data [XPG3]: Likewise.
45256         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45257         * conform/data/strings.h-data [XPG3]: Likewise.
45258         * conform/data/stropts.h-data [XPG3]: Likewise.
45259         * conform/data/sys/mman.h-data [XPG3]: Likewise.
45260         * conform/data/sys/resource.h-data [XPG3]: Likewise.
45261         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45262         Likewise.
45263         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45264         * conform/data/sys/time.h-data [XPG3]: Likewise.
45265         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45266         * conform/data/sys/uio.h-data [XPG3]: Likewise.
45267         * conform/data/sys/un.h-data [XPG3]: Likewise.
45268         * conform/data/syslog.h-data [XPG3]: Likewise.
45269         * conform/data/ucontext.h-data [XPG3]: Likewise.
45270         * conform/data/utmpx.h-data [XPG3]: Likewise.
45271         * conform/data/varargs.h-data [UNIX98]: Enable file.
45273         * manual/Makefile (INSTALL_INFO): Remove variable setting.
45275         * math/libm-test.inc (struct test_f_f_data): Move expected results
45276         into structure for each rounding mode.
45277         (struct test_ff_f_data): Likewise.
45278         (struct test_ff_f_data_nexttoward): Likewise.
45279         (struct test_fi_f_data): Likewise.
45280         (struct test_fl_f_data): Likewise.
45281         (struct test_if_f_data): Likewise.
45282         (struct test_fff_f_data): Likewise.
45283         (struct test_c_f_data): Likewise.
45284         (struct test_f_f1_data): Likewise.
45285         (struct test_fF_f1_data): Likewise.
45286         (struct test_ffI_f1_data): Likewise.
45287         (struct test_c_c_data): Likewise.
45288         (struct test_cc_c_data): Likewise.
45289         (struct test_f_i_data): Likewise.
45290         (struct test_ff_i_data): Likewise.
45291         (struct test_f_l_data): Likewise.
45292         (struct test_f_L_data): Likewise.
45293         (struct test_fFF_11_data): Likewise.
45294         (RM_): New macro.
45295         (RM_FE_DOWNWARD): Likewise.
45296         (RM_FE_TONEAREST): Likewise.
45297         (RM_FE_TOWARDZERO): Likewise.
45298         (RM_FE_UPWARD): Likewise.
45299         (RUN_TEST_LOOP_f_f): Update references to expected results.
45300         (RUN_TEST_LOOP_2_f): Likewise.
45301         (RUN_TEST_LOOP_fff_f): Likewise.
45302         (RUN_TEST_LOOP_c_f): Likewise.
45303         (RUN_TEST_LOOP_f_f1): Likewise.
45304         (RUN_TEST_LOOP_fF_f1): Likewise.
45305         (RUN_TEST_LOOP_fI_f1): Likewise.
45306         (RUN_TEST_LOOP_ffI_f1): Likewise.
45307         (RUN_TEST_LOOP_c_c): Likewise.
45308         (RUN_TEST_LOOP_cc_c): Likewise.
45309         (RUN_TEST_LOOP_f_i): Likewise.
45310         (RUN_TEST_LOOP_f_i_tg): Likewise.
45311         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45312         (RUN_TEST_LOOP_f_b): Likewise.
45313         (RUN_TEST_LOOP_f_b_tg): Likewise.
45314         (RUN_TEST_LOOP_f_l): Likewise.
45315         (RUN_TEST_LOOP_f_L): Likewise.
45316         (RUN_TEST_LOOP_fFF_11): Likewise.
45317         * math/gen-libm-test.pl (parse_args): Output four copies of
45318         expected results for each test.
45320         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45321         (__ASSUME_UTIMES): Remove.
45322         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45323         (__ASSUME_UTIMES): Likewise.
45325         * math/gen-auto-libm-tests.c: Update comment on output format.
45326         (output_for_one_input_case): Generate before-rounding and
45327         after-rounding information as conditions on output flags not
45328         floating-point format.
45329         * math/auto-libm-test-out: Regenerated.
45330         * math/gen-libm-test.pl (cond_value): New function.
45331         (or_cond_value): Use cond_value.
45332         (generate_testfile): Handle conditional exceptions.
45334 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
45336         * math/libm-test.inc (max_valid_error): New variable.
45337         (init_max_error): Take new argument specifying whether function
45338         results are exactly determined.  Set max_valid_error and bound
45339         other variables for errors based on this argument.
45340         (set_max_error): Do not record results above max_valid_error.
45341         (check_float_internal): Only accept errors of up to 0.5ulps if
45342         also at most max_valid_error.
45343         (START): Take new argument EXACT and pass it to init_max_error.
45344         (acos_test): Update call to START.
45345         (acos_test_tonearest): Likewise.
45346         (acos_test_towardzero): Likewise.
45347         (acos_test_downward): Likewise.
45348         (acos_test_upward): Likewise.
45349         (acosh_test): Likewise.
45350         (asin_test): Likewise.
45351         (asin_test_tonearest): Likewise.
45352         (asin_test_towardzero): Likewise.
45353         (asin_test_downward): Likewise.
45354         (asin_test_upward): Likewise.
45355         (asinh_test): Likewise.
45356         (atan_test): Likewise.
45357         (atanh_test): Likewise.
45358         (atan2_test): Likewise.
45359         (cabs_test): Likewise.
45360         (cacos_test): Likewise.
45361         (cacosh_test): Likewise.
45362         (carg_test): Likewise.
45363         (casin_test): Likewise.
45364         (casinh_test): Likewise.
45365         (catan_test): Likewise.
45366         (catanh_test): Likewise.
45367         (cbrt_test): Likewise.
45368         (ccos_test): Likewise.
45369         (ccosh_test): Likewise.
45370         (ceil_test): Likewise.
45371         (cexp_test): Likewise.
45372         (cimag_test): Likewise.
45373         (clog_test): Likewise.
45374         (clog10_test): Likewise.
45375         (conj_test): Likewise.
45376         (copysign_test): Likewise.
45377         (cos_test): Likewise.
45378         (cos_test_tonearest): Likewise.
45379         (cos_test_towardzero): Likewise.
45380         (cos_test_downward): Likewise.
45381         (cos_test_upward): Likewise.
45382         (cosh_test): Likewise.
45383         (cosh_test_tonearest): Likewise.
45384         (cosh_test_towardzero): Likewise.
45385         (cosh_test_downward): Likewise.
45386         (cosh_test_upward): Likewise.
45387         (cpow_test): Likewise.
45388         (cproj_test): Likewise.
45389         (creal_test): Likewise.
45390         (csin_test): Likewise.
45391         (csinh_test): Likewise.
45392         (csqrt_test): Likewise.
45393         (ctan_test): Likewise.
45394         (ctan_test_tonearest): Likewise.
45395         (ctan_test_towardzero): Likewise.
45396         (ctan_test_downward): Likewise.
45397         (ctan_test_upward): Likewise.
45398         (ctanh_test): Likewise.
45399         (ctanh_test_tonearest): Likewise.
45400         (ctanh_test_towardzero): Likewise.
45401         (ctanh_test_downward): Likewise.
45402         (ctanh_test_upward): Likewise.
45403         (erf_test): Likewise.
45404         (erfc_test): Likewise.
45405         (exp_test): Likewise.
45406         (exp_test_tonearest): Likewise.
45407         (exp_test_towardzero): Likewise.
45408         (exp_test_downward): Likewise.
45409         (exp_test_upward): Likewise.
45410         (exp10_test): Likewise.
45411         (exp10_test_tonearest): Likewise.
45412         (exp10_test_towardzero): Likewise.
45413         (exp10_test_downward): Likewise.
45414         (exp10_test_upward): Likewise.
45415         (pow10_test): Likewise.
45416         (exp2_test): Likewise.
45417         (expm1_test): Likewise.
45418         (expm1_test_tonearest): Likewise.
45419         (expm1_test_towardzero): Likewise.
45420         (expm1_test_downward): Likewise.
45421         (expm1_test_upward): Likewise.
45422         (fabs_test): Likewise.
45423         (fdim_test): Likewise.
45424         (floor_test): Likewise.
45425         (fma_test): Likewise.
45426         (fma_test_towardzero): Likewise.
45427         (fma_test_downward): Likewise.
45428         (fma_test_upward): Likewise.
45429         (fmax_test): Likewise.
45430         (fmin_test): Likewise.
45431         (fmod_test): Likewise.
45432         (fpclassify_test): Likewise.
45433         (frexp_test): Likewise.
45434         (hypot_test): Likewise.
45435         (ilogb_test): Likewise.
45436         (isfinite_test): Likewise.
45437         (finite_test): Likewise.
45438         (isgreater_test): Likewise.
45439         (isgreaterequal_test): Likewise.
45440         (isinf_test): Likewise.
45441         (isless_test): Likewise.
45442         (islessequal_test): Likewise.
45443         (islessgreater_test): Likewise.
45444         (isnan_test): Likewise.
45445         (isnormal_test): Likewise.
45446         (issignaling_test): Likewise.
45447         (isunordered_test): Likewise.
45448         (j0_test): Likewise.
45449         (j1_test): Likewise.
45450         (jn_test): Likewise.
45451         (ldexp_test): Likewise.
45452         (lgamma_test): Likewise.
45453         (gamma_test): Likewise.
45454         (lrint_test): Likewise.
45455         (lrint_test_tonearest): Likewise.
45456         (lrint_test_towardzero): Likewise.
45457         (lrint_test_downward): Likewise.
45458         (lrint_test_upward): Likewise.
45459         (llrint_test): Likewise.
45460         (llrint_test_tonearest): Likewise.
45461         (llrint_test_towardzero): Likewise.
45462         (llrint_test_downward): Likewise.
45463         (llrint_test_upward): Likewise.
45464         (log_test): Likewise.
45465         (log10_test): Likewise.
45466         (log1p_test): Likewise.
45467         (log2_test): Likewise.
45468         (logb_test): Likewise.
45469         (logb_test_downward): Likewise.
45470         (lround_test): Likewise.
45471         (llround_test): Likewise.
45472         (modf_test): Likewise.
45473         (nearbyint_test): Likewise.
45474         (nextafter_test): Likewise.
45475         (nexttoward_test): Likewise.
45476         (pow_test): Likewise.
45477         (pow_test_tonearest): Likewise.
45478         (pow_test_towardzero): Likewise.
45479         (pow_test_downward): Likewise.
45480         (pow_test_upward): Likewise.
45481         (remainder_test): Likewise.
45482         (drem_test): Likewise.
45483         (remainder_test_tonearest): Likewise.
45484         (drem_test_tonearest): Likewise.
45485         (remainder_test_towardzero): Likewise.
45486         (drem_test_towardzero): Likewise.
45487         (remainder_test_downward): Likewise.
45488         (drem_test_downward): Likewise.
45489         (remainder_test_upward): Likewise.
45490         (drem_test_upward): Likewise.
45491         (remquo_test): Likewise.
45492         (rint_test): Likewise.
45493         (rint_test_tonearest): Likewise.
45494         (rint_test_towardzero): Likewise.
45495         (rint_test_downward): Likewise.
45496         (rint_test_upward): Likewise.
45497         (round_test): Likewise.
45498         (scalb_test): Likewise.
45499         (scalbn_test): Likewise.
45500         (scalbln_test): Likewise.
45501         (signbit_test): Likewise.
45502         (sin_test): Likewise.
45503         (sin_test_tonearest): Likewise.
45504         (sin_test_towardzero): Likewise.
45505         (sin_test_downward): Likewise.
45506         (sin_test_upward): Likewise.
45507         (sincos_test): Likewise.
45508         (sinh_test): Likewise.
45509         (sinh_test_tonearest): Likewise.
45510         (sinh_test_towardzero): Likewise.
45511         (sinh_test_downward): Likewise.
45512         (sinh_test_upward): Likewise.
45513         (sqrt_test): Likewise.
45514         (sqrt_test_tonearest): Likewise.
45515         (sqrt_test_towardzero): Likewise.
45516         (sqrt_test_downward): Likewise.
45517         (sqrt_test_upward): Likewise.
45518         (tan_test): Likewise.
45519         (tan_test_tonearest): Likewise.
45520         (tan_test_towardzero): Likewise.
45521         (tan_test_downward): Likewise.
45522         (tan_test_upward): Likewise.
45523         (tanh_test): Likewise.
45524         (tgamma_test): Likewise.
45525         (trunc_test): Likewise.
45526         (y0_test): Likewise.
45527         (y1_test): Likewise.
45528         (yn_test): Likewise.
45529         (significand_test): Likewise.
45531         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45532         individual tests in comment.
45533         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45534         (prev_max_error): New variable.
45535         (prev_real_max_error): Likewise.
45536         (prev_imag_max_error): Likewise.
45537         (compare_ulp_data): Don't refer to test names in comment.
45538         (find_test_ulps): Remove function.
45539         (find_function_ulps): Likewise.
45540         (find_complex_function_ulps): Likewise.
45541         (init_max_error): Take function name as argument.  Look up ulps
45542         for that function.
45543         (print_ulps): Remove function.
45544         (print_max_error): Use prev_max_error instead of calling
45545         find_function_ulps.
45546         (print_complex_max_error): Use prev_real_max_error and
45547         prev_imag_max_error instead of calling find_complex_function_ulps.
45548         (check_float_internal): Take max_ulp parameter instead of calling
45549         find_test_ulps.  Don't call print_ulps.
45550         (check_float): Update call to check_float_internal.
45551         (check_complex): Update calls to check_float_internal.
45552         (START): Pass argument to init_max_error.
45553         * math/gen-libm-test.pl (%results): Don't include "kind"
45554         information.
45555         (parse_ulps): Don't handle ulps of individual tests.
45556         (print_ulps_file): Likewise.
45557         (output_ulps): Likewise.
45558         * math/README.libm-test: Update.
45559         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45560         individual tests.
45561         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45562         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45563         * sysdeps/arm/libm-test-ulps: Likewise.
45564         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45565         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45566         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45567         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45568         * sysdeps/microblaze/libm-test-ulps: Likewise.
45569         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45570         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45571         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45572         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45573         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45574         * sysdeps/sh/libm-test-ulps: Likewise.
45575         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45576         * sysdeps/tile/libm-test-ulps: Likewise.
45577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45579 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
45581         * math/libm-test.inc (print_complex_max_error): Check separately
45582         whether real and imaginary errors are within allowed range and
45583         pass 0 to print_complex_function_ulps instead of value within
45584         allowed range.
45586 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45588         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45589         formatting.
45590         (get_handles_fopen): Likewise.
45591         (do_write_test): Likewise.
45593         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45595         * libio/fileops.c (do_ftell): Use cached offset when
45596         available.
45597         * libio/iofwide.c (do_ftell_wide): Likewise.
45598         * libio/iofdopen.c (_IO_new_fdopen): Don't use
45599         _IO_file_attach.
45600         * libio/wfileops.c (_IO_fwide): Don't cache offset.
45602         [BZ #16532]
45603         * libio/libioP.h (get_file_offset): New function.
45604         * libio/fileops.c (get_file_offset): Likewise.
45605         (do_ftell): Likewise.
45606         (_IO_new_file_seekoff): Split out ftell logic.
45607         * libio/wfileops.c (do_ftell_wide): Likewise.
45608         (_IO_wfile_seekoff): Split out ftell logic.
45609         * libio/tst-ftell-active-handler.c: New test case.
45610         * libio/Makefile (tests): Add it.
45612 2014-03-03  Roland McGrath  <roland@hack.frob.com>
45614         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45615         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45617 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45619         [BZ #16639]
45620         * nscd/connections.c (nscd_init): Call do_exit.
45621         (start_threads): Call do_exit and notify_parent.
45622         (begin_drop_privileges): Call do_exit.
45623         (finish_drop_privileges): Likewise.
45624         * nscd/selinux.c (preserve_capabilities): Likewise.
45625         (install_real_capabilities): Likewise.
45626         (nscd_selinux_enabled): Likewise.
45627         (avc_create_thread): Likewise.
45628         (avc_alloc_lock): Likewise.
45629         (nscd_avc_init): Likewise.
45630         * nscd/nscd.c (parent_fd): New static variable.
45631         (main): Create a pipe between parent and child processes.
45632         Skip closing parent_fd.
45633         (monitor_child): New function.
45634         (do_exit): Likewise.
45635         (notify_parent): Likewise.
45636         * nscd/nscd.h (notify_parent): Likewise.
45637         (do_exit): Likewise.
45639 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
45641         * malloc/malloc.c (__libc_calloc): Revert last change.
45643 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45647 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45649         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45651         implementation.
45652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45653         (__libc_ifunc_impl_list): Likewise.
45654         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45655         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45656         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45657         * string/strrchr.c: Define STRRCHR.
45659 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
45661         * benchtest/bench-strtok.c (simple_strtok): Delete.
45662         (strtok_string): Use as benchmark.
45663         * string/strtok (STRTOK): New macro.
45665 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
45667         * manual/threads.texi: Add header and standard comments to all
45668         functions.
45670         * elf/dl-lookup.c (check_match): New function.
45671         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45672         (do_lookup_x): Remove nested function check_match. Use non-nested
45673         function check_match.
45675 2014-02-28  Roland McGrath  <roland@hack.frob.com>
45677         * csu/Makefile (generated, before-compile): Use += rather than =.
45678         * catgets/Makefile (generated, generated-dirs): Likewise.
45679         * debug/Makefile (generated): Likewise.
45680         * dlfcn/Makefile (generated): Likewise.
45681         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45682         * iconvdata/Makefile (before-compile, generated): Likewise.
45683         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45684         * libio/Makefile (generated): Likewise.
45685         * malloc/Makefile (generated): Likewise.
45686         * manual/Makefile (generated, generated-dirs): Likewise.
45687         * misc/Makefile (generated): Likewise.
45688         * posix/Makefile (generated): Likewise.
45689         * resolv/Makefile (generated): Likewise.
45690         * sunrpc/Makefile (generated, generated-dirs): Likewise.
45691         * timezone/Makefile (generated, generated-dirs): Likewise.
45693         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45695 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45698         power8 implementation.
45699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45700         file: POWER8 llround ifunc implementation.
45701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45702         (__lllround): Add POWER8 implementation.
45703         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45704         POWER8 llround implementation.
45706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45707         power8 implementation.
45708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45709         file: POWER8 llrint ifunc implementation.
45710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45711         Add POWER8 implementation.
45712         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45713         POWER8 llrint implementation.
45715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45716         power8 implementation.
45717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45718         file: POWER8 finite ifunc implementation.
45719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45720         Add POWER8 implementation.
45721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45722         Likewise.
45723         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45724         POWER8 finite implementation.
45725         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45728         power8 implementation.
45729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45730         file: POWER8 isinf ifunc implementation.
45731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45732         POWER8 implementation.
45733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45734         Likewise.
45735         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45736         isinf implementation.
45737         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45739         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45740         (INIT_ARCH): Add hwcap2 initialization.
45741         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45742         power8 implementation.
45743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45744         file: POWER8 isnan ifunc implementation.
45745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45746         POWER8 implementation.
45747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45748         Likewise.
45749         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45750         isnan implementation.
45751         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45753 2014-02-27  Joey Ye  <joey.ye@arm.com>
45755         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45756         (_FP_NANFRAC_Q): Set to zero.
45758 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45760         [BZ #16623]
45761         * math/auto-libm-test-in: New test inputs.
45762         * math/auto-libm-test-out: Regenerate.
45763         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45764         and DA.
45765         (__cos): Likewise.
45766         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45768 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
45770         * scripts/evaluate-test.sh: Take new argument indicating whether
45771         failure is expected.
45772         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45773         indicating whether failure is expected.
45774         * conform/Makefile (test-xfail-run-conformtest): New variable.
45775         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45776         level.
45777         * posix/Makefile (test-xfail-annexc): New variable.
45778         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45780 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
45782         * argp/Makefile: Include Makeconfig immediately after defining
45783         subdir.
45784         * assert/Makefile: Likewise.
45785         * benchtests/Makefile: Likewise.
45786         * catgets/Makefile: Likewise.
45787         * conform/Makefile: Likewise.
45788         * crypt/Makefile: Likewise.
45789         * csu/Makefile: Likewise.
45790         (all): Remove target.
45791         * ctype/Makefile: Include Makeconfig immediately after defining
45792         subdir.
45793         * debug/Makefile: Likewise.
45794         * dirent/Makefile: Likewise.
45795         * dlfcn/Makefile: Likewise.
45796         * gmon/Makefile: Likewise.
45797         * gnulib/Makefile: Likewise.
45798         * grp/Makefile: Likewise.
45799         * gshadow/Makefile: Likewise.
45800         * hesiod/Makefile: Likewise.
45801         * hurd/Makefile: Likewise.
45802         (all): Remove target.
45803         * iconvdata/Makefile: Include Makeconfig immediately after
45804         defining subdir.
45805         * inet/Makefile: Likewise.
45806         * intl/Makefile: Likewise.
45807         * io/Makefile: Likewise.
45808         * libio/Makefile: Likewise.
45809         (all): Remove target.
45810         * locale/Makefile: Include Makeconfig immediately after defining
45811         subdir.
45812         * login/Makefile: Likewise.
45813         * mach/Makefile: Likewise.
45814         (all): Remove target.
45815         * malloc/Makefile: Include Makeconfig immediately after defining
45816         subdir.
45817         (all): Remove target.
45818         * manual/Makefile: Include Makeconfig immediately after defining
45819         subdir.
45820         * math/Makefile: Likewise.
45821         * misc/Makefile: Likewise.
45822         * nis/Makefile: Likewise.
45823         * nss/Makefile: Likewise.
45824         * po/Makefile: Likewise.
45825         (all): Remove target.
45826         * posix/Makefile: Include Makeconfig immediately after defining
45827         subdir.
45828         * pwd/Makefile: Likewise.
45829         * resolv/Makefile: Likewise.
45830         * resource/Makefile: Likewise.
45831         * rt/Makefile: Likewise.
45832         * setjmp/Makefile: Likewise.
45833         * shadow/Makefile: Likewise.
45834         * signal/Makefile: Likewise.
45835         * socket/Makefile: Likewise.
45836         * soft-fp/Makefile: Likewise.
45837         * stdio-common/Makefile: Likewise.
45838         * stdlib/Makefile: Likewise.
45839         * streams/Makefile: Likewise.
45840         * string/Makefile: Likewise.
45841         * sunrpc/Makefile: Likewise.
45842         (all): Remove target.
45843         * sysvipc/Makefile: Include Makeconfig immediately after defining
45844         subdir.
45845         * termios/Makefile: Likewise.
45846         * time/Makefile: Likewise.
45847         * timezone/Makefile: Likewise.
45848         (all): Remove target.
45849         * wcsmbs/Makefile: Include Makeconfig immediately after defining
45850         subdir.
45851         * wctype/Makefile: Likewise.
45853 2014-02-26  Steve Ellcey  <sellcey@mips.com>
45855         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45856         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45857         (libc_feholdexcept_setround_mips): Ditto.
45858         (libc_feholdsetround): New.
45859         (libc_feholdsetroundf): New.
45860         (libc_feholdsetroundl): New.
45861         (libc_feupdateenv_test_mips): New.
45862         (libc_feupdateenv_test): New.
45863         (libc_feupdateenv_testf): New.
45864         (libc_feupdateenv_testl): New.
45865         (libc_feresetround): New.
45866         (libc_feresetroundf): New.
45867         (libc_feresetroundl): New.
45868         (libc_fetestexcept_mips): New.
45869         (libc_fetestexcept): New.
45870         (libc_fetestexceptf): New.
45871         (libc_fetestexceptl): New.
45872         (HAVE_RM_CTX): New.
45873         (libc_feholdexcept_setround_mips_ctx): New.
45874         (libc_feholdexcept_setround_ctx): New.
45875         (libc_feholdexcept_setroundf_ctx): New.
45876         (libc_feholdexcept_setroundl_ctx): New.
45877         (libc_fesetenv_mips_ctx): New.
45878         (libc_fesetenv_ctx): New.
45879         (libc_fesetenv_ctxf): New.
45880         (libc_fesetenv_ctxl): New.
45881         (libc_feupdateenv_mips_ctx): New.
45882         (libc_feupdateenv_ctx): New.
45883         (libc_feupdateenvf_ctx): New.
45884         (libc_feupdateenvl_ctx): New.
45885         (libc_feholdsetround_mips_ctx): New.
45886         (libc_feholdsetround_ctx): New.
45887         (libc_feholdsetroundf_ctx): New.
45888         (libc_feholdsetroundl_ctx): New.
45889         (libc_feresetround_mips_ctx): New.
45890         (libc_feresetround_ctx): New.
45891         (libc_feresetroundf_ctx): New.
45892         (libc_feresetroundl_ctx): New.
45894 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
45896         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45898         * manual/ipc.texi: New file.
45899         * manual/Makefile (chapters): Add ipc.
45900         * manual/job.texi: Add "Inter-Process Communication" to next.
45901         * manual/process.texi: Add "Inter-Process Communication" to prev.
45903 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45907 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
45909         * malloc/malloc.c (__libc_calloc): Simplify implementation.
45911         * manual/arith.texi: Fix spaces after sentences.
45912         * manual/charset.texi: Likewise.
45913         * manual/errno.texi: Likewise.
45914         * manual/install.texi: Likewise.
45915         * manual/llio.texi: Likewise.
45916         * manual/locale.texi: Likewise.
45917         * manual/maint.texi: Likewise.
45918         * manual/math.texi: Likewise.
45919         * manual/memory.texi: Likewise.
45920         * manual/message.texi: Likewise.
45921         * manual/probes.texi: Likewise.
45922         * manual/resource.texi: Likewise.
45923         * manual/signal.texi: Likewise.
45924         * manual/socket.texi: Likewise.
45925         * manual/stdio.texi: Likewise.
45926         * manual/string.texi: Likewise.
45927         * manual/time.texi: Likewise.
45928         * manual/users.texi: Likewise.
45930 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
45932         [BZ #16632]
45933         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45934         _DEFAULT_SOURCE is defined.
45936 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
45937             Carlos O'Donell  <carlos@redhat.com>
45939         [BZ #16613]
45940         * elf/dl-tls.c (_dl_count_modids): New function.
45941         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45942         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45943         audit library and increment generation counter.
45944         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45945         * elf/tst-audit9.c: New file.
45946         * elf/tst-auditmod9a.c: New file.
45947         * elf/tst-auditmod9b.c: New file.
45948         * elf/Makefile: Add rules to build and run tst-audit9.
45950 2014-02-25  Florian Weimer  <fweimer@redhat.com>
45952         [BZ #15347]
45953         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45955 2014-02-25  Will Newton  <will.newton@linaro.org>
45957         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45958         (__longjmp): Restore sp and lr before restoring callee
45959         saved registers.  Add longjmp and longjmp_target
45960         SystemTap probe point.
45961         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45962         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45963         Define to zero to match jmpbuf layout.
45964         * sysdeps/arm/setjmp.S: Include stap-probe.h.
45965         (__sigsetjmp): Save sp and lr before saving callee
45966         saved registers.  Add setjmp SystemTap probe point.
45968 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
45970         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45972 2014-02-24  Andreas Schwab  <schwab@suse.de>
45974         [BZ #15804]
45975         * elf/pldd.c (wait_for_ptrace_stop): New function.
45976         (main): Call it after attaching.
45978 2014-02-22  Roland McGrath  <roland@hack.frob.com>
45980         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45981         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45982         Versions files is now verboten.
45983         * hurd/Versions (libc: GLIBC_2.0):
45984         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45985         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45986         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45987         * mach/Versions: Likewise.
45989         * csu/Versions: Remove unused %include.
45990         * resolv/Versions: Likewise.
45992 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
45994         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45995         ($(objpfx)check-local-headers.out): Likewise.
45996         ($(objpfx)begin-end-check.out): Likewise.
45997         * Makerules (check-abi-%.out): Likewise.
45998         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45999         ($(objpfx)test2.cat): Likewise.
46000         ($(objpfx)de/libc.cat): Likewise.
46001         ($(objpfx)test-gencat.out): Likewise.
46002         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
46003         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
46004         ($(objpfx)noload-mem): Likewise.
46005         ($(objpfx)tst-pathopt.out): Likewise.
46006         ($(objpfx)tst-rtld-load-self.out): Likewise.
46007         ($(objpfx)tst-array1-cmp.out): Likewise.
46008         ($(objpfx)tst-array1-static-cmp.out): Likewise.
46009         ($(objpfx)tst-array2-cmp.out): Likewise.
46010         ($(objpfx)tst-array3-cmp.out): Likewise.
46011         ($(objpfx)tst-array4-cmp.out): Likewise.
46012         ($(objpfx)tst-array5-cmp.out): Likewise.
46013         ($(objpfx)tst-array5-static-cmp.out): Likewise.
46014         ($(objpfx)check-textrel.out): Likewise.
46015         ($(objpfx)check-execstack.out): Likewise.
46016         ($(objpfx)check-localplt.out): Likewise.
46017         ($(objpfx)order2-cmp.out): Likewise.
46018         ($(objpfx)tst-leaks1-mem): Likewise.
46019         ($(objpfx)tst-leaks1-static-mem): Likewise.
46020         ($(objpfx)tst-initorder-cmp.out): Likewise.
46021         ($(objpfx)tst-initorder2-cmp.out): Likewise.
46022         ($(objpfx)tst-unused-dep.out): Likewise.
46023         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
46024         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
46025         * iconv/Makefile (test-iconvconfig): Likewise.
46026         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
46027         ($(objpfx)iconv-test.out): Likewise.
46028         ($(objpfx)tst-tables.out): Likewise.
46029         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
46030         ($(objpfx)tst-gettext.out): Likewise.
46031         ($(objpfx)tst-translit.out): Likewise.
46032         ($(objpfx)tst-gettext2.out): Likewise.
46033         ($(objpfx)tst-gettext4.out): Likewise.
46034         ($(objpfx)tst-gettext6.out): Likewise.
46035         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
46036         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
46037         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
46038         ($(objpfx)tst-fopenloc-mem.out): Likewise.
46039         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
46040         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
46041         * posix/Makefile ($(objpfx)globtest.out): Likewise.
46042         ($(objpfx)wordexp-tst.out): Likewise.
46043         ($(objpfx)annexc.out): Likewise.
46044         ($(objpfx)tst-fnmatch-mem): Likewise.
46045         ($(objpfx)bug-regex2-mem): Likewise.
46046         ($(objpfx)bug-regex14-mem): Likewise.
46047         ($(objpfx)bug-regex21-mem): Likewise.
46048         ($(objpfx)bug-regex31-mem): Likewise.
46049         ($(objpfx)tst-vfork3-mem): Likewise.
46050         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46051         ($(objpfx)tst-pcre-mem): Likewise.
46052         ($(objpfx)tst-boost-mem): Likewise.
46053         ($(objpfx)tst-getconf.out): Likewise.
46054         ($(objpfx)bug-ga2-mem): Likewise.
46055         ($(objpfx)bug-glob2-mem): Likewise.
46056         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
46057         ($(objpfx)mtrace-tst-leaks2): Likewise.
46058         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
46059         ($(objpfx)tst-printf.out): Likewise.
46060         ($(objpfx)tst-setvbuf1.out): Likewise.
46061         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
46062         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
46063         ($(objpfx)tst-fmtmsg.out): Likewise.
46064         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
46065         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
46067         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
46068         * bits/sigaction.h [__USE_MISC]: Likewise.
46069         * bits/waitstatus.h: Update #endif comments.
46070         * ctype/ctype.h: Likewise.
46071         * dirent/dirent.h: Likewise.
46072         [__USE_MISC]: Remove redundant conditionals.
46073         * grp/grp.h: Update #endif comments.
46074         [__USE_GNU]: Remove redundant conditionals.
46075         [__USE_MISC]: Likewise.
46076         * inet/netinet/in.h [__USE_GNU]: Likewise.
46077         * io/sys/stat.h [__USE_MISC]: Likewise.
46078         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
46079         * libio/bits/stdio.h: Update #endif comments.
46080         [__USE_MISC]: Remove redundant conditionals.
46081         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
46082         * libio/stdio.h: Update #endif comments.
46083         [__USE_MISC]: Remove redundant conditionals.
46084         * math/bits/math-finite.h [__USE_MISC]: Likewise.
46085         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
46086         * math/math.h: Update #else and #endif comments.
46087         [__USE_MISC]: Remove redundant conditionals.
46088         * misc/sys/uio.h: Update #endif comments.
46089         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
46090         * posix/glob.h [__USE_MISC]: Likewise.
46091         * posix/sys/types.h: Update #endif comments.
46092         [__USE_MISC]: Remove redundant conditionals.
46093         * posix/sys/wait.h: Update #endif comments.
46094         [__USE_MISC]: Remove redundant conditionals.
46095         * posix/unistd.h: Update #endif comments.
46096         [__USE_MISC]: Remove redundant conditionals.
46097         * pwd/pwd.h [__USE_GNU]: Likewise.
46098         [__USE_MISC]: Likewise.
46099         * resolv/netdb.h [__USE_GNU]: Likewise.
46100         * signal/signal.h: Update #endif comments.
46101         [__USE_MISC]: Remove redundant conditionals.
46102         * stdlib/stdlib.h: Update #else and #endif comments.
46103         [__USE_MISC]: Remove redundant conditionals.
46104         [__USE_GNU]: Likewise.
46105         * string/bits/string2.h [__USE_MISC]: Likewise.
46106         * string/string.h: Update #endif comments.
46107         [__USE_MISC]: Remove redundant conditionals.
46108         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
46109         Likewise.
46110         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
46111         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
46112         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
46113         Likewise.
46114         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
46115         Likewise.
46116         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
46117         comments.
46118         [__USE_MISC]: Remove redundant conditionals.
46119         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
46120         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
46121         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
46122         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
46123         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
46124         Likewise.
46125         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
46126         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
46127         Likewise.
46128         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
46129         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
46130         Likewise.
46131         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
46132         Likewise.
46133         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
46134         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
46135         Likewise.
46136         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
46137         Likewise.
46138         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
46139         * sysdeps/x86/bits/string.h: Update #endif comments.
46140         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
46141         conditionals.
46142         * time/sys/time.h: Update #endif comments.
46143         * time/time.h: Likewise.
46144         [__USE_MISC]: Remove redundant conditionals.
46146 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
46148         [BZ #16600]
46149         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
46151 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
46153         * Versions.def (librt): Add GLIBC_2.17.
46155 2014-02-21  Adam Conrad  <adconrad@0c3.net>
46157         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
46158         synonym for _SYS_AUXV_H to allow direct inclusion.
46159         * sysdeps/sparc/bits/hwcap.h: Likewise.
46160         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
46161         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
46162         * sysdeps/sparc/sysdep.h: Likewise.
46164 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46166         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
46168 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46170         * benchtests/bench-strrchr.c: Print length instead of position.
46172 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
46174         [BZ #16611]
46175         * sysdeps/unix/sysv/linux/kernel-features.h
46176         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
46177         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
46178         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
46179         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
46180         Likewise.
46181         [__i386__ || __powerpc__ || __sh__ || __sparc__]
46182         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46183         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
46184         (__ASSUME_SENDMMSG): Define instead of using previous
46185         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46186         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46187         (__ASSUME_SENDMMSG_SYSCALL): Define.
46188         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46189         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46190         Likewise.
46191         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46192         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46193         Likewise.
46194         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46195         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46196         Likewise.
46197         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46198         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46199         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46200         [__ASSUME_SENDMMSG]: Change conditionals to
46201         [__ASSUME_SENDMMSG_SOCKETCALL].
46202         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46203         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46204         Define.
46205         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46206         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46207         Likewise.
46208         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46209         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46210         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46211         [!__ASSUME_SENDMMSG]: Change conditional to
46212         [!__ASSUME_SENDMMSG_SOCKETCALL].
46213         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46214         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46215         Define.
46217         [BZ #16610]
46218         * sysdeps/unix/sysv/linux/kernel-features.h
46219         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46220         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46221         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46222         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46223         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46224         [__i386__ || __sparc__]
46225         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46226         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46227         (__ASSUME_RECVMMSG): Define instead of using previous
46228         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46229         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46230         (__ASSUME_RECVMMSG_SYSCALL): Define.
46231         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46232         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46233         Likewise.
46234         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46235         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46236         Likewise.
46237         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46238         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46239         Likewise.
46240         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46241         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46242         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46243         [__ASSUME_RECVMMSG]: Change condition to
46244         [__ASSUME_RECVMMSG_SOCKETCALL].
46245         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46246         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46247         Define.
46248         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46249         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46250         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46251         Likewise.
46252         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46253         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46254         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46255         [!__ASSUME_RECVMMSG]: Change condition to
46256         [!__ASSUME_RECVMMSG_SOCKETCALL].
46257         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46258         (__ASSUME_RECVMMSG_SYSCALL): Define.
46260         [BZ #16609]
46261         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46262         __powerpc__ || __s390__ || __sh__ || __sparc__]
46263         (__ASSUME_SOCKETCALL): Define.
46264         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46265         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46266         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46267         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46268         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46269         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46270         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46271         (__ASSUME_ACCEPT4): Define instead of using previous
46272         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46273         __powerpc__ || __sparc__ || __s390__)] condition.
46274         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46275         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46276         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46277         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46278         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46279         [!__ASSUME_ACCEPT4]: Change condition to
46280         [!__ASSUME_ACCEPT4_SOCKETCALL].
46281         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46282         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
46283         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46284         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46285         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46286         __ASSUME_ACCEPT4_SYSCALL.
46287         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46288         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46289         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46290         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46291         __ASSUME_ACCEPT4_SYSCALL.
46292         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46293         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46294         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46295         [__ASSUME_ACCEPT4]: Change condition to
46296         [__ASSUME_ACCEPT4_SOCKETCALL].
46297         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46298         (__ASSUME_SOCKETCALL): Define.
46299         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46300         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46301         (__ASSUME_SOCKETCALL): Define.
46302         (__ASSUME_ACCEPT4): Remove.
46303         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46304         Define.
46305         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46306         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46307         Likewise.
46308         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46309         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46311         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46312         macro.
46313         (HWCAP_ARM_LPAE): Likewise.
46314         (HWCAP_ARM_EVTSTRM): Likewise.
46315         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46316         Add vpfd32, lpae and evtstrm.
46317         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46318         Increase to 22.
46320 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
46322         * math/auto-libm-test-in: Add tests of clog10.
46323         * math/auto-libm-test-out: Regenerated.
46324         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46325         * sysdeps/i386/fpu/libm-test-ulps: Update.
46326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46328 2014-02-18  Andreas Schwab  <schwab@suse.de>
46330         [BZ #16574]
46331         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46332         Store non-zero if the second buffer was newly allocated.
46333         (send_dg): Likewise.
46334         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46335         to send_vc and send_dg.
46336         (res_nsend): Pass NULL for ansp2_malloced.
46337         * resolv/res_query.c (__libc_res_nquery): Add parameter
46338         answerp2_malloced and pass it down to __libc_res_nsend.
46339         (res_nquery): Pass additional NULL to __libc_res_nquery.
46340         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46341         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
46342         second answer buffer if answerp2_malloced was set.
46343         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46344         (__libc_res_nquerydomain): Add parameter
46345         answerp2_malloced and pass it down to __libc_res_nquery.
46346         (res_nquerydomain): Pass additional NULL to
46347         __libc_res_nquerydomain.
46348         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46349         additional NULL to __libc_res_nsend and __libc_res_nquery.
46350         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46351         additional NULL to __libc_res_nsearch.
46352         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
46353         parameter of __libc_res_nsearch to check for separately allocated
46354         second buffer.
46355         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46356         __libc_res_nquery.
46357         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46358         additional NULL to __libc_res_nquery.
46359         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46360         __libc_res_nsearch.
46361         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46362         * include/resolv.h: Update prototypes of __libc_res_nquery,
46363         __libc_res_nsearch, __libc_res_nsend.
46365 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
46367         * math/auto-libm-test-in: Add tests of fma.
46368         * math/auto-libm-test-out: Regenerated.
46369         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46370         (fma_towardzero_test_data): Likewise.
46371         (fma_downward_test_data): Likewise.
46372         (fma_upward_test_data): Likewise.
46373         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46374         mpc_mode.
46375         (rounding_modes): Add values for new field.
46376         (func_calc_method): Add value mpfr_fff_f.
46377         (func_calc_desc): Add mpfr_fff_f union field.
46378         (test_function): Add field exact_args.
46379         (FUNC): Add macro argument EXACT_ARGS.
46380         (FUNC_mpfr_f_f): Update call to FUNC.
46381         (FUNC_mpfr_f_f): Likewise.
46382         (FUNC_mpfr_ff_f): Likewise.
46383         (FUNC_mpfr_if_f): Likewise.
46384         (FUNC_mpc_c_f): Likewise.
46385         (FUNC_mpc_c_c): Likewise.
46386         (test_functions): Add fma.  Update calls to FUNC.
46387         (handle_input_arg): Add argument exact_args.
46388         (add_test): Update call to handle_input_arg.
46389         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
46390         (output_for_one_input_case): Update call to calc_generic_results.
46391         Recalculate exact zero results in each rounding mode.
46393         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46394         non-negative before setting low bit.
46395         * math/auto-libm-test-in: Mark one asin test possibly having
46396         spurious underflow.
46397         * math/auto-libm-test-out: Regenerated.
46398         * sysdeps/i386/fpu/libm-test-ulps: Update.
46399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46401 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
46403         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46404         * sysdeps/unix/sysv/linux/microblaze: Move directory from
46405         ports/sysdeps/unix/sysv/linux/microblaze.
46406         * README: Add missing listing for microblaze*-*-linux-gnu.
46408 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
46410         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46411         duplicate code
46413 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
46415         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46416         * sysdeps/unix/sysv/linux/ia64: Move directory from
46417         ports/sysdeps/unix/sysv/linux/ia64.
46418         * README: Update listing for ia64-*-linux-gnu.
46420 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
46421             Joseph Myers  <joseph@codesourcery.com>
46423         * Makeconfig (test-name): New variable.
46424         (evaluate-test): Likewise.
46425         * Makerules (do-test-clean): Remove .test-result files.
46426         (common-mostlyclean): Likewise.
46427         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46428         * scripts/evaluate-test.sh: New file.
46430 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
46432         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46433         separate $(objpfx)tst-fopenloc-cmp.out and
46434         $(objpfx)tst-fopenloc-mem.out targets.
46435         (tests): Update dependencies.
46436         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46437         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46438         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46439         (tst-rxspencer-no-utf8-ARGS): New variable.
46440         (tst-rxspencer-no-utf8-ENV): Likewise.
46441         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46442         instead of $(objpfx)tst-rxspencer-mem.
46443         ($(objpfx)tst-rxspencer-mem): Change target to
46444         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
46445         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46446         * posix/tst-rxspencer-no-utf8.c: New file.
46448         * elf/Makefile ($(objpfx)order.out): Remove rule.
46449         [$(run-built-tests) = yes] (tests): Depend on
46450         $(objpfx)order-cmp.out.
46451         ($(objpfx)order-cmp.out): New rule.
46452         [$(run-built-tests) = yes] (tests): Depend on
46453         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46454         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46455         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46456         $(objpfx)tst-array5-static-cmp.out.
46457         ($(objpfx)tst-array1.out): Remove rule.
46458         ($(objpfx)tst-array1-cmp.out): New rule.
46459         ($(objpfx)tst-array1-static.out): Remove rule.
46460         ($(objpfx)tst-array1-static-cmp.out): New rule.
46461         ($(objpfx)tst-array2.out): Remove rule.
46462         ($(objpfx)tst-array2-cmp.out): New rule.
46463         ($(objpfx)tst-array3.out): Remove rule.
46464         ($(objpfx)tst-array3-cmp.out): New rule.
46465         ($(objpfx)tst-array4.out): Remove rule.
46466         ($(objpfx)tst-array4-cmp.out): New rule.
46467         ($(objpfx)tst-array5.out): Remove rule.
46468         ($(objpfx)tst-array5-cmp.out): New rule.
46469         ($(objpfx)tst-array5-static.out): Remove rule.
46470         ($(objpfx)tst-array5-static-cmp.out): New rule.
46471         [$(run-built-tests) = yes] (tests): Depend on
46472         $(objpfx)order2-cmp.out.
46473         ($(objpfx)order2.out): Remove rule.
46474         ($(objpfx)order2-cmp.out): New rule.
46475         ($(objpfx)tst-initorder.out): Remove rule.
46476         [$(run-built-tests) = yes] (tests): Depend on
46477         $(objpfx)tst-initorder-cmp.out.
46478         ($(objpfx)tst-initorder-cmp.out): New rule.
46479         ($(objpfx)tst-initorder2.out): Remove rule.
46480         [$(run-built-tests) = yes] (tests): Depend on
46481         $(objpfx)tst-initorder2-cmp.out.
46482         ($(objpfx)tst-initorder2-cmp.out): New rule.
46483         [$(run-built-tests) = yes] (tests): Depend on
46484         $(objpfx)tst-unused-dep-cmp.out.
46485         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46486         ($(objpfx)tst-unused-dep-cmp.out): New rule.
46487         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46488         on $(objpfx)tst-setvbuf1-cmp.out.
46489         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46490         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46491         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46492         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46493         ($(objpfx)tst-svc.out): Remove rule.
46494         ($(objpfx)tst-svc-cmp.out): New rule.
46496 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
46498         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46499         * ctype/ctype.h [__USE_MISC]: Likewise.
46500         * dirent/dirent.h [__USE_MISC]: Likewise.
46501         * grp/grp.h [__USE_MISC]: Likewise.
46502         * io/fcntl.h [__USE_MISC]: Likewise.
46503         * io/sys/stat.h [__USE_MISC]: Likewise.
46504         * libio/stdio.h [__USE_MISC]: Likewise.
46505         * posix/unistd.h [__USE_MISC]: Likewise.
46506         * pwd/pwd.h [__USE_MISC]: Likewise.
46507         * stdlib.h [__USE_MISC]: Likewise.
46508         * string/bits/string2.h [__USE_MISC]: Likewise.
46509         * string/string.h [__USE_MISC]: Likewise.
46510         * time/time.h [__USE_MISC]: Likewise.
46512 2014-02-13  Andreas Schwab  <schwab@suse.de>
46514         [BZ #16574]
46515         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46516         second answer buffer if it was separately allocated.
46518 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
46520         * sysdeps/mips/math-tests.h: Include <features.h>.
46521         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46522         (ROUNDING_TESTS_long_double): Do not define.
46523         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46524         (EXCEPTION_TESTS_long_double): Likewise.
46525         * sysdeps/mips/mips64/libm-test-ulps: Update.
46527         * include/features.h (__USE_BSD): Remove macro definitions.
46528         (__USE_SVID): Likewise.
46529         (_BSD_SOURCE): Likewise.
46530         (_SVID_SOURCE): Likewise.
46531         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46532         from definition of _DEFAULT_SOURCE.
46533         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46534         [_DEFAULT_SOURCE].
46535         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46536         * bits/mman.h [__USE_BSD]: Likewise.
46537         * bits/termios.h [__USE_BSD]: Likewise.
46538         * bits/waitstatus.h [__USE_BSD]: Likewise.
46539         * ctype/ctype.h [__USE_SVID]: Likewise.
46540         * dirent/dirent.h [__USE_BSD]: Likewise.
46541         * grp/grp.h [__USE_SVID]: Likewise.
46542         [__USE_BSD]: Likewise.
46543         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46544         * io/fcntl.h [__USE_BSD]: Likewise.
46545         * io/ftw.h [__USE_BSD]: Likewise.
46546         * io/sys/stat.h [__USE_BSD]: Likewise.
46547         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46548         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46549         * libio/stdio.h [__USE_SVID]: Likewise.
46550         [__USE_BSD]: Likewise.
46551         * math/math.h [__USE_SVID]: Likewise.
46552         [__USE_BSD]: Likewise.
46553         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46554         * misc/bits/syslog.h [__USE_BSD]: Likewise.
46555         * misc/search.h [__USE_SVID]: Likewise.
46556         * misc/sys/mman.h [__USE_BSD]: Likewise.
46557         * misc/sys/syslog.h [__USE_BSD]: Likewise.
46558         * misc/sys/uio.h [__USE_BSD]: Likewise.
46559         * posix/bits/unistd.h [__USE_BSD]: Likewise.
46560         * posix/glob.h [__USE_BSD]: Likewise.
46561         * posix/regex.h [__USE_BSD]: Likewise.
46562         * posix/sys/types.h [__USE_BSD]: Likewise.
46563         [__USE_SVID]: Likewise.
46564         * posix/sys/utsname.h [__USE_SVID]: Likewise.
46565         * posix/sys/wait.h [__USE_BSD]: Likewise.
46566         [__USE_SVID]: Likewise.
46567         * posix/unistd.h [__USE_BSD]: Likewise.
46568         [__USE_SVID]: Likewise.
46569         * pwd/pwd.h [__USE_SVID]: Likewise.
46570         * resolv/netdb.h [__USE_BSD]: Likewise.
46571         * setjmp/setjmp.h [__USE_BSD]: Likewise.
46572         * signal/signal.h [__USE_BSD]: Likewise.
46573         [__USE_SVID]: Likewise.
46574         * socket/sys/socket.h [__USE_BSD]: Likewise.
46575         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46576         * stdlib/stdlib.h [__USE_BSD]: Likewise.
46577         [__USE_SVID]: Likewise.
46578         * string/bits/string2.h [__USE_BSD]: Likewise.
46579         [__USE_SVID]: Likewise.
46580         * string/bits/string3.h [__USE_BSD]: Likewise.
46581         * string/endian.h [__USE_BSD]: Likewise.
46582         * string/string.h [__USE_SVID]: Likewise.
46583         [__USE_BSD]: Likewise.
46584         * string/strings.h [__USE_BSD]: Likewise.
46585         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46586         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46587         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46588         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46589         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46590         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46591         Likewise.
46592         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46593         Likewise.
46594         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46595         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46596         Likewise.
46597         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46598         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46599         Likewise.
46600         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46601         Likewise.
46602         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46603         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46604         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46605         Likewise.
46606         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46607         Likewise.
46608         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46609         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46610         * termios/termios.h [__USE_BSD]: Likewise.
46611         * time/sys/time.h [__USE_BSD]: Likewise.
46612         * time/time.h [__USE_BSD]: Likewise.
46613         [__USE_SVID]: Likewise.
46615         * Makefile (subdir_targets): Remove subdir_lint.out.
46617         * stdio-common/Makefile (do-tst-unbputc): Remove target.
46618         (do-tst-printf): Likewise.
46619         (tests): Depend directly on $(objpfx)tst-unbputc.out and
46620         $(objpfx)tst-printf.out.
46622         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46624         * Makerules (check-abi-%): Change target to
46625         $(objpfx)check-abi-%.out.
46626         (check-abi target): Update dependencies.
46627         (check-abi-pattern variable): Redirect output of diff to $@.
46628         (check-abi variable): Likewise.
46629         * elf/Makefile (check-abi): Update dependencies.
46631         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46632         unused.
46633         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46634         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46635         subnormal range.
46636         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46637         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46638         value has largest subnormal exponent.
46639         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46640         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46641         * sysdeps/aarch64/soft-fp/sfp-machine.h
46642         (_FP_TININESS_AFTER_ROUNDING): New macro.
46643         * sysdeps/alpha/soft-fp/sfp-machine.h
46644         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46645         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46646         Likewise.
46647         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46648         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46649         * sysdeps/mips/soft-fp/sfp-machine.h
46650         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46651         * sysdeps/powerpc/soft-fp/sfp-machine.h
46652         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46653         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46654         Likewise.
46655         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46656         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46657         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46658         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46659         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46660         Likewise.
46662 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
46664         [BZ #16545]
46665         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46666         model 1.
46668 2014-02-12  Richard Henderson  <rth@redhat.com>
46670         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46671         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46672         * sysdeps/unix/sysv/linux/alpha: Move directory from
46673         ports/sysdeps/unix/sysv/linux/alpha.
46674         * README: Update listing for alpha-*-linux-gnu.
46676 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
46678         * include/features.h: Update comment documenting feature test
46679         macros.
46680         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
46681         _DEFAULT_SOURCE.
46682         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46683         (_SVID_SOURCE): Likewise.
46684         (_DEFAULT_SOURCE): Update description of default features.
46685         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46686         with _GNU_SOURCE.
46687         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46688         (S_ISVTX): Likewise.
46689         * manual/math.texi (Mathematical Constants): Likewise.
46690         * manual/signal.texi (Interrupted Primitives): Likewise.
46691         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46692         * math/test-matherr.c (_SVID_SOURCE): Do not define.
46693         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46694         Don't refer to _SVID_SOURCE in warning text.
46696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46698         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46699         already defined.
46700         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46701         * sysdeps/mips/dl-lookup.c: Remove.
46702         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46704 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46706         [BZ #16447]
46707         * math/auto-libm-test-in: Add testcase for expl.
46708         * math/auto-libm-test-out: Regenerate.
46709         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46710         calculation of unsafe.
46711         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46713 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46715         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46716         * sysdeps/unix/sysv/linux/aarch64: Move directory from
46717         ports/sysdeps/unix/sysv/linux/aarch64.
46718         * README: Update listing for aarch64*-*-linux-gnu.
46720 2014-02-11  Will Newton  <will.newton@linaro.org>
46722         * manual/probes.texi (Mathematical Function Probes): Use
46723         "triggered" instead of "hit".
46725         * manual/probes.texi (Internal Probes): Add documentation
46726         of setjmp, longjmp and longjmp_target probes.
46728         * include/stap-probe.h: Add comment about probe argument
46729         format.
46731         * malloc/mtrace.c (attribute_hidden): Remove unused macro
46732         definition.  (tr_where, tr_freehook, tr_mallochook,
46733         tr_reallochook, tr_memalignhook): Use ANSI protoype.
46735 2014-02-11  David S. Miller  <davem@davemloft.net>
46737         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46738         processing int_tests.
46740 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
46742         * sysdeps/mips: Move directory from ports/sysdeps/mips.
46743         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46744         * sysdeps/unix/sysv/linux/mips: Move directory from
46745         ports/sysdeps/unix/sysv/linux/mips.
46746         * README: Update listing for mips-*-linux-gnu and
46747         mips64-*-linux-gnu.
46749 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
46751         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46752         * sysdeps/unix/sysv/linux/m68k: Move directory from
46753         ports/sysdeps/unix/sysv/linux/m68k.
46754         * README: Update listing for m68k-*-linux-gnu.
46756 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
46758         * sysdeps/tile: Move directory from ports/sysdeps/tile.
46759         * sysdeps/unix/sysv/linux/generic: Move directory from
46760         ports/sysdeps/unix/sysv/linux/generic.
46761         * sysdeps/unix/sysv/linux/tile: Move directory from
46762         ports/sysdeps/unix/sysv/linux/tile.
46763         * README: Update listing for tile*-*-linux-gnu.
46765 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
46767         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46768         __builtin_expect.
46769         * benchtests/bench-memmem.c (simple_memmem): Likewise.
46770         * catgets/open_catalog.c (__open_catalog): Likewise.
46771         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46772         * debug/confstr_chk.c: Likewise.
46773         * debug/fread_chk.c (__fread_chk): Likewise.
46774         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46775         * debug/getgroups_chk.c: Likewise.
46776         * debug/mbsnrtowcs_chk.c: Likewise.
46777         * debug/mbsrtowcs_chk.c: Likewise.
46778         * debug/mbstowcs_chk.c: Likewise.
46779         * debug/memcpy_chk.c: Likewise.
46780         * debug/memmove_chk.c: Likewise.
46781         * debug/mempcpy_chk.c: Likewise.
46782         * debug/memset_chk.c: Likewise.
46783         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46784         * debug/strcat_chk.c (__strcat_chk): Likewise.
46785         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46786         * debug/strncat_chk.c (__strncat_chk): Likewise.
46787         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46788         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46789         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46790         * debug/wcpncpy_chk.c: Likewise.
46791         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46792         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46793         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46794         * debug/wcsncpy_chk.c: Likewise.
46795         * debug/wcsnrtombs_chk.c: Likewise.
46796         * debug/wcsrtombs_chk.c: Likewise.
46797         * debug/wcstombs_chk.c: Likewise.
46798         * debug/wmemcpy_chk.c: Likewise.
46799         * debug/wmemmove_chk.c: Likewise.
46800         * debug/wmempcpy_chk.c: Likewise.
46801         * debug/wmemset_chk.c: Likewise.
46802         * dirent/scandirat.c (SCANDIRAT): Likewise.
46803         * dlfcn/dladdr1.c (dladdr1): Likewise.
46804         * dlfcn/dladdr.c (dladdr): Likewise.
46805         * dlfcn/dlclose.c (dlclose_doit): Likewise.
46806         * dlfcn/dlerror.c (__dlerror): Likewise.
46807         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46808         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46809         * dlfcn/dlopen.c (dlopen_doit): Likewise.
46810         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46811         * dlfcn/dlsym.c (dlsym_doit): Likewise.
46812         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46813         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46814         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46815         Likewise.
46816         * elf/dl-conflict.c: Likewise.
46817         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46818         * elf/dl-dst.h: Likewise.
46819         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46820         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46821         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46822         * elf/dl-init.c (call_init, _dl_init): Likewise.
46823         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46824         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46825         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46826         Likewise.
46827         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46828         Likewise.
46829         * elf/dl-minimal.c (__libc_memalign): Likewise.
46830         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46831         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46832         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46833         * elf/dl-sym.c (do_sym): Likewise.
46834         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46835         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46836         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46837         * elf/dl-writev.h (_dl_writev): Likewise.
46838         * elf/ldconfig.c (search_dir): Likewise.
46839         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46840         (dl_main): Likewise.
46841         * elf/setup-vdso.h (setup_vdso): Likewise.
46842         * grp/compat-initgroups.c (compat_call): Likewise.
46843         * grp/fgetgrent.c (fgetgrent): Likewise.
46844         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46845         * grp/putgrent.c (putgrent): Likewise.
46846         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46847         Likewise.
46848         * hurd/hurdinit.c: Likewise.
46849         * iconvdata/8bit-gap.c (struct): Likewise.
46850         * iconvdata/ansi_x3.110.c : Likewise.
46851         * iconvdata/big5.c : Likewise.
46852         * iconvdata/big5hkscs.c : Likewise.
46853         * iconvdata/cp1255.c: Likewise.
46854         * iconvdata/cp1258.c : Likewise.
46855         * iconvdata/cp932.c : Likewise.
46856         * iconvdata/euc-cn.c: Likewise.
46857         * iconvdata/euc-jisx0213.c : Likewise.
46858         * iconvdata/euc-jp.c: Likewise.
46859         * iconvdata/euc-jp-ms.c : Likewise.
46860         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46861         * iconvdata/gb18030.c : Likewise.
46862         * iconvdata/gbbig5.c (const): Likewise.
46863         * iconvdata/gbgbk.c: Likewise.
46864         * iconvdata/gbk.c : Likewise.
46865         * iconvdata/ibm1364.c : Likewise.
46866         * iconvdata/ibm930.c : Likewise.
46867         * iconvdata/ibm932.c: Likewise.
46868         * iconvdata/ibm933.c : Likewise.
46869         * iconvdata/ibm935.c : Likewise.
46870         * iconvdata/ibm937.c : Likewise.
46871         * iconvdata/ibm939.c : Likewise.
46872         * iconvdata/ibm943.c: Likewise.
46873         * iconvdata/iso_11548-1.c: Likewise.
46874         * iconvdata/iso-2022-cn.c : Likewise.
46875         * iconvdata/iso-2022-cn-ext.c : Likewise.
46876         * iconvdata/iso-2022-jp-3.c: Likewise.
46877         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46878         * iconvdata/iso-2022-kr.c : Likewise.
46879         * iconvdata/iso646.c (gconv_end): Likewise.
46880         * iconvdata/iso_6937-2.c : Likewise.
46881         * iconvdata/iso_6937.c : Likewise.
46882         * iconvdata/iso8859-1.c: Likewise.
46883         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46884         * iconvdata/shift_jisx0213.c : Likewise.
46885         * iconvdata/sjis.c : Likewise.
46886         * iconvdata/t.61.c : Likewise.
46887         * iconvdata/tcvn5712-1.c : Likewise.
46888         * iconvdata/tscii.c: Likewise.
46889         * iconvdata/uhc.c : Likewise.
46890         * iconvdata/unicode.c (gconv_end): Likewise.
46891         * iconvdata/utf-16.c (gconv_end): Likewise.
46892         * iconvdata/utf-32.c (gconv_end): Likewise.
46893         * iconvdata/utf-7.c (base64): Likewise.
46894         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46895         * iconv/gconv_close.c (__gconv_close): Likewise.
46896         * iconv/gconv_open.c (__gconv_open): Likewise.
46897         * iconv/gconv_simple.c (internal_ucs4_loop_single)
46898         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46899         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46900         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46901         (ucs4le_internal_loop_single): Likewise.
46902         * iconv/iconv.c (iconv): Likewise.
46903         * iconv/iconv_close.c: Likewise.
46904         * iconv/loop.c (SINGLE): Likewise.
46905         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46906         * include/atomic.h: Likewise.
46907         * inet/inet6_option.c (option_alloc): Likewise.
46908         * intl/bindtextdom.c (set_binding_values): Likewise.
46909         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46910         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46911         * intl/localealias.c (read_alias_file): Likewise.
46912         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46913         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46914         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46915         * libio/fmemopen.c (fmemopen): Likewise.
46916         * libio/iofgets.c (_IO_fgets): Likewise.
46917         * libio/iofgets_u.c (fgets_unlocked): Likewise.
46918         * libio/iofgetws.c (fgetws): Likewise.
46919         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46920         * libio/iogetdelim.c (_IO_getdelim): Likewise.
46921         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46922         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46923         * locale/findlocale.c (_nl_find_locale): Likewise.
46924         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46925         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46926         Likewise.
46927         * locale/setlocale.c (setlocale): Likewise.
46928         * login/programs/pt_chown.c (main): Likewise.
46929         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46930         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46931         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46932         (mmap, mmap64, mremap, munmap): Likewise.
46933         * math/e_exp2l.c: Likewise.
46934         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46935         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46936         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46937         * math/s_catan.c (__catan): Likewise.
46938         * math/s_catanf.c (__catanf): Likewise.
46939         * math/s_catanh.c (__catanh): Likewise.
46940         * math/s_catanhf.c (__catanhf): Likewise.
46941         * math/s_catanhl.c (__catanhl): Likewise.
46942         * math/s_catanl.c (__catanl): Likewise.
46943         * math/s_ccosh.c (__ccosh): Likewise.
46944         * math/s_ccoshf.c (__ccoshf): Likewise.
46945         * math/s_ccoshl.c (__ccoshl): Likewise.
46946         * math/s_cexp.c (__cexp): Likewise.
46947         * math/s_cexpf.c (__cexpf): Likewise.
46948         * math/s_cexpl.c (__cexpl): Likewise.
46949         * math/s_clog10.c (__clog10): Likewise.
46950         * math/s_clog10f.c (__clog10f): Likewise.
46951         * math/s_clog10l.c (__clog10l): Likewise.
46952         * math/s_clog.c (__clog): Likewise.
46953         * math/s_clogf.c (__clogf): Likewise.
46954         * math/s_clogl.c (__clogl): Likewise.
46955         * math/s_csin.c (__csin): Likewise.
46956         * math/s_csinf.c (__csinf): Likewise.
46957         * math/s_csinh.c (__csinh): Likewise.
46958         * math/s_csinhf.c (__csinhf): Likewise.
46959         * math/s_csinhl.c (__csinhl): Likewise.
46960         * math/s_csinl.c (__csinl): Likewise.
46961         * math/s_csqrt.c (__csqrt): Likewise.
46962         * math/s_csqrtf.c (__csqrtf): Likewise.
46963         * math/s_csqrtl.c (__csqrtl): Likewise.
46964         * math/s_ctan.c (__ctan): Likewise.
46965         * math/s_ctanf.c (__ctanf): Likewise.
46966         * math/s_ctanh.c (__ctanh): Likewise.
46967         * math/s_ctanhf.c (__ctanhf): Likewise.
46968         * math/s_ctanhl.c (__ctanhl): Likewise.
46969         * math/s_ctanl.c (__ctanl): Likewise.
46970         * math/w_pow.c: Likewise.
46971         * math/w_powf.c: Likewise.
46972         * math/w_powl.c: Likewise.
46973         * math/w_scalb.c (sysv_scalb): Likewise.
46974         * math/w_scalbf.c (sysv_scalbf): Likewise.
46975         * math/w_scalbl.c (sysv_scalbl): Likewise.
46976         * misc/error.c (error_tail): Likewise.
46977         * misc/pselect.c (__pselect): Likewise.
46978         * nis/nis_callback.c (__nis_create_callback): Likewise.
46979         * nis/nis_call.c (__nisfind_server): Likewise.
46980         * nis/nis_creategroup.c (nis_creategroup): Likewise.
46981         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46982         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46983         * nis/nis_getservlist.c (nis_getservlist): Likewise.
46984         * nis/nis_lookup.c (nis_lookup): Likewise.
46985         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46986         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46987         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46988         * nis/nis_xdr.c (xdr_endpoint): Likewise.
46989         * nis/nss_compat/compat-grp.c (getgrent_next_file)
46990         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46991         * nis/nss_compat/compat-initgroups.c (add_group)
46992         (internal_getgrent_r): Likewise.
46993         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46994         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46995         * nis/nss_compat/compat-spwd.c (getspent_next_file)
46996         (internal_getspnam_r): Likewise.
46997         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46998         (_nss_nis_getaliasbyname_r): Likewise.
46999         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
47000         (_nss_nis_getntohost_r): Likewise.
47001         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
47002         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
47003         (_nss_nis_getgrgid_r): Likewise.
47004         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
47005         (internal_nis_gethostent_r, internal_gethostbyname2_r)
47006         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
47007         (_nss_nis_gethostbyname4_r): Likewise.
47008         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
47009         (initgroups_netid): Likewise.
47010         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
47011         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
47012         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
47013         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
47014         (_nss_nis_getprotobynumber_r): Likewise.
47015         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
47016         (_nss_nis_getsecretkey): Likewise.
47017         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
47018         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
47019         (_nss_nis_getpwuid_r): Likewise.
47020         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
47021         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
47022         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
47023         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
47024         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
47025         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
47026         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
47027         Likewise.
47028         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
47029         (_nss_nisplus_getntohost_r): Likewise.
47030         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
47031         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
47032         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
47033         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
47034         Likewise.
47035         * nis/nss_nisplus/nisplus-initgroups.c
47036         (_nss_nisplus_initgroups_dyn): Likewise.
47037         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
47038         (_nss_nisplus_getnetbyaddr_r): Likewise.
47039         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
47040         (_nss_nisplus_getprotobynumber_r): Likewise.
47041         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
47042         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
47043         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
47044         Likewise.
47045         * nis/nss_nisplus/nisplus-service.c
47046         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
47047         (_nss_nisplus_getservbyport_r): Likewise.
47048         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
47049         (_nss_nisplus_getspnam_r): Likewise.
47050         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
47051         Likewise.
47052         * nscd/aicache.c (addhstaiX): Likewise.
47053         * nscd/cache.c (cache_search, prune_cache): Likewise.
47054         * nscd/connections.c (register_traced_file, send_ro_fd)
47055         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
47056         (main_loop_epoll): Likewise.
47057         * nscd/grpcache.c (addgrbyX): Likewise.
47058         * nscd/hstcache.c (addhstbyX): Likewise.
47059         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47060         * nscd/mem.c (gc, mempool_alloc): Likewise.
47061         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
47062         (addinnetgrX): Likewise.
47063         * nscd/nscd-client.h (__nscd_acquire_maplock)
47064         (__nscd_drop_map_ref): Likewise.
47065         * nscd/nscd_getai.c (__nscd_getai): Likewise.
47066         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
47067         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
47068         Likewise.
47069         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
47070         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47071         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
47072         (__nscd_get_map_ref): Likewise.
47073         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
47074         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
47075         Likewise.
47076         * nscd/pwdcache.c (addpwbyX): Likewise.
47077         * nscd/selinux.c (preserve_capabilities): Likewise.
47078         * nscd/servicescache.c (addservbyX): Likewise.
47079         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
47080         * posix/fnmatch.c (fnmatch): Likewise.
47081         * posix/getopt.c (_getopt_internal_r): Likewise.
47082         * posix/glob.c (glob, glob_in_dir): Likewise.
47083         * posix/wordexp.c (exec_comm_child): Likewise.
47084         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
47085         (getanswer_r, gaih_getanswer_slice): Likewise.
47086         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
47087         * resolv/res_init.c: Likewise.
47088         * resolv/res_mkquery.c (res_nmkquery): Likewise.
47089         * resolv/res_query.c (__libc_res_nquery): Likewise.
47090         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
47091         Likewise.
47092         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
47093         * stdio-common/perror.c (perror): Likewise.
47094         * stdio-common/printf_fp.c (___printf_fp): Likewise.
47095         * stdio-common/tmpnam.c (tmpnam): Likewise.
47096         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47097         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
47098         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
47099         Likewise.
47100         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
47101         * stdlib/putenv.c (putenv): Likewise.
47102         * stdlib/setenv.c (__add_to_environ): Likewise.
47103         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47104         * stdlib/strtol_l.c (INTERNAL): Likewise.
47105         * string/memmem.c (memmem): Likewise.
47106         * string/strerror.c (strerror): Likewise.
47107         * string/strnlen.c (__strnlen): Likewise.
47108         * string/test-memmem.c (simple_memmem): Likewise.
47109         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
47110         * sunrpc/pm_getport.c (__get_socket): Likewise.
47111         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
47112         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
47113         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
47114         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
47115         Likewise.
47116         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
47117         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
47118         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
47119         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
47120         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
47121         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
47122         Likewise.
47123         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
47124         Likewise.
47125         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
47126         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
47127         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47128         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
47129         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
47130         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
47131         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47132         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
47133         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
47134         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
47135         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47136         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
47137         Likewise.
47138         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
47139         Likewise.
47140         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
47141         Likewise.
47142         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
47143         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47144         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
47145         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
47146         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
47147         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
47148         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47149         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
47150         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
47151         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
47152         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
47153         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47154         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47155         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
47156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47157         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
47158         Likewise.
47159         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
47160         Likewise.
47161         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
47162         Likewise.
47163         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
47164         Likewise.
47165         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47166         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47167         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
47168         Likewise.
47169         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
47170         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
47171         * sysdeps/posix/opendir.c (__opendirat): Likewise.
47172         * sysdeps/posix/sleep.c: Likewise.
47173         * sysdeps/posix/tempname.c: Likewise.
47174         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
47175         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47176         Likewise.
47177         * sysdeps/powerpc/powerpc32/dl-machine.h
47178         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
47179         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47180         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47181         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
47182         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
47183         Likewise.
47184         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47185         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47186         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47187         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47188         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47189         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47190         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47191         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47192         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47193         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47194         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47195         (elf_machine_lazy_rel): Likewise.
47196         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47197         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47198         (elf_machine_lazy_rel): Likewise.
47199         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47200         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47201         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47202         * sysdeps/unix/grantpt.c (grantpt): Likewise.
47203         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47204         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47205         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47206         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47207         Likewise.
47208         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47209         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47210         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47211         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47212         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47213         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47214         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47215         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47216         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47217         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47218         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47219         Likewise.
47220         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47221         (__posix_fallocate64_l64): Likewise.
47222         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47223         (posix_fallocate): Likewise.
47224         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47225         Likewise.
47226         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47227         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47228         (getifaddrs_internal): Likewise.
47229         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47230         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47231         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47232         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47233         * sysdeps/unix/sysv/linux/posix_fallocate64.c
47234         (__posix_fallocate64_l64): Likewise.
47235         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47236         Likewise.
47237         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47238         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47239         (__get_clockfreq): Likewise.
47240         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47241         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47242         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47243         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47244         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47245         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47246         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47247         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47248         Likewise.
47249         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47250         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47251         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47252         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47253         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47254         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47255         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47256         Likewise.
47257         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47258         (posix_fallocate): Likewise.
47259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47260         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47261         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47262         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47263         (elf_machine_rela, elf_machine_rela_relative)
47264         (elf_machine_lazy_rel): Likewise.
47265         * time/asctime.c (asctime_internal): Likewise.
47266         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47267         * time/tzset.c (__tzset_parse_tz): Likewise.
47268         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47269         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47270         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47271         * wcsmbs/wcsmbsload.h: Likewise.
47273         [BZ #15894]
47274         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47276         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47277         (arena_get2): Remove THREAD_STATS conditionals.
47278         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47279         (__malloc_stats, int): Likewise.
47281 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
47283         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47284         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
47286         * manual/setjmp.texi: Fix typos/grammar errors.
47288         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47289         Only return early when n is <= 0.  Delete unused return statement.
47291         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47292         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47293         * debug/tst-longjmp_chk3.c: New file.
47295         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47296         (test_main): Replace code with set_fortify_handler call.
47297         * debug/test-strcpy_chk.c: Likewise.
47298         * debug/tst-chk1.c: Likewise.
47299         * debug/tst-longjmp_chk.c: Likewise.
47300         * test-skeleton.c: Include fcntl.h & paths.h
47301         (set_fortify_handler): Define.
47303         * debug/tst-longjmp_chk.c: Add header comment and include
47304         ../test-skeleton.c.
47305         (do_test): Mark static.
47306         (TEST_FUNCTION): Define.
47308         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47309         (IP_PMTUDISC_INTERFACE): Likewise.
47310         (IP_MULTICAST_IF): Likewise.
47311         (IP_MULTICAST_TTL): Likewise.
47312         (IP_MULTICAST_LOOP): Likewise.
47313         (IP_ADD_MEMBERSHIP): Likewise.
47314         (IP_DROP_MEMBERSHIP): Likewise.
47315         (IP_UNBLOCK_SOURCE): Likewise.
47316         (IP_BLOCK_SOURCE): Likewise.
47317         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47318         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47319         (IP_MSFILTER): Likewise.
47320         (MCAST_JOIN_GROUP): Likewise.
47321         (MCAST_BLOCK_SOURCE): Likewise.
47322         (MCAST_UNBLOCK_SOURCE): Likewise.
47323         (MCAST_LEAVE_GROUP): Likewise.
47324         (MCAST_JOIN_SOURCE_GROUP): Likewise.
47325         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47326         (MCAST_MSFILTER): Likewise.
47327         (IP_MULTICAST_ALL): Likewise.
47328         (IP_UNICAST_IF): Likewise.
47330         * timezone/Makefile: Delete $(have-ksh) check.
47331         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47332         * timezone/tzselect.ksh: Add +x mode bits.
47334         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47335         (ANON_INODE_FS_MAGIC): Likewise.
47336         (BDEVFS_MAGIC): Likewise.
47337         (BINFMTFS_MAGIC): Likewise.
47338         (BTRFS_TEST_MAGIC): Likewise.
47339         (CRAMFS_MAGIC_WEND): Likewise.
47340         (DEBUGFS_MAGIC): Likewise.
47341         (ECRYPTFS_SUPER_MAGIC): Likewise.
47342         (EXT3_SUPER_MAGIC): Likewise.
47343         (EXT4_SUPER_MAGIC): Likewise.
47344         (FUTEXFS_SUPER_MAGIC): Likewise.
47345         (HOSTFS_SUPER_MAGIC): Likewise.
47346         (HUGETLBFS_MAGIC): Likewise.
47347         (MINIX3_SUPER_MAGIC): Likewise.
47348         (MTD_INODE_FS_MAGIC): Likewise.
47349         (NILFS_SUPER_MAGIC): Likewise.
47350         (OPENPROM_SUPER_MAGIC): Likewise.
47351         (PIPEFS_MAGIC): Likewise.
47352         (PSTOREFS_MAGIC): Likewise.
47353         (QNX6_SUPER_MAGIC): Likewise.
47354         (RAMFS_MAGIC): Likewise.
47355         (REISERFS_SUPER_MAGIC_STRING): Likewise.
47356         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47357         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47358         (SECURITYFS_MAGIC): Likewise.
47359         (SELINUX_MAGIC): Likewise.
47360         (SMACK_MAGIC): Likewise.
47361         (SOCKFS_MAGIC): Likewise.
47362         (SQUASHFS_MAGIC): Likewise.
47363         (STACK_END_MAGIC): Likewise.
47364         (TMPFS_MAGIC): Likewise.
47365         (USBDEVICE_SUPER_MAGIC): Likewise.
47366         (V9FS_MAGIC): Likewise.
47367         (XENFS_SUPER_MAGIC): Likewise.
47368         (CRAMFS_MAGIC): Fix typo in comment.
47369         (EXT2_SUPER_MAGIC): Update comment.
47370         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47372 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
47374         * sysdeps/arm: Move directory from ports/sysdeps/arm.
47375         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47376         * sysdeps/unix/sysv/linux/arm: Move directory from
47377         ports/sysdeps/unix/sysv/linux/arm.
47378         * README: Update listing for arm-*-linux-gnueabi.
47380         * README: Remove mention of am33.
47382 2014-02-07  Roland McGrath  <roland@hack.frob.com>
47384         * bits/sigset.h (__sigemptyset): Use a statement expression rather
47385         than the comma operator, to avoid "rhs of comma has no effect"
47386         compiler warnings.
47387         (__sigfillset, __sigandset, __sigorset): Likewise.
47388         * include/signal.h (__sigemptyset): Likewise.
47389         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47391 2014-02-07  Allan McRae  <allan@archlinux.org>
47393         * version.h (RELEASE): Set to "development".
47394         (VERSION): Set to "2.19.90"
47395         * NEWS: Add 2.20 section.
47397 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
47399         [BZ #16529]
47400         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47402 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47404         * manual/contrib.texi: Update entry for Carlos O'Donell,
47405         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47407 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
47409         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47411         * sysdeps/unix/sysv/linux/kernel-features.h
47412         [__LINUX_KERNEL_VERSION >= 0x020621]
47413         (__ASSUME_PROC_PID_TASK_COMM): Define.
47415 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47417         [BZ #16398]
47418         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47419         conversion when destination buffer does not have enough space.
47420         * libio/tst-ftell-partial-wide.c: New test case.
47421         * libio/Makefile (tests): Add tst-ftell-partial-wide.
47423         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47424         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
47425         Leonard and Allan McRae.
47427 2014-02-04  David S. Miller  <davem@davemloft.net>
47429         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47430         32-bit.
47432 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47435         New file
47436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47437         New file
47438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47439         New file.
47440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47441         New file.
47442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47443         New file.
47444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47445         New file.
47446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47447         New file.
47448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47449         New file.
47450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47451         New file.
47452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47453         New file.
47454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47455         New file.
47456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47457         New file.
47458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47459         New file.
47461 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47463         * nptl/shlib-versions: Change powerpc*le start to 2.17.
47464         * shlib-versions: Likewise.
47466 2014-02-04  Roland McGrath  <roland@hack.frob.com>
47467             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47469         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47470         (abilist-pattern): New variable, set to %-le.abilist.
47472         * Makerules (abilist-pattern): New variable.
47473         (vpath): Use $(abilist-pattern) in place of %.abilist.
47474         (check-abi-% pattern rule): Likewise.
47475         (check-abi, update-abi): Likewise.
47477 2014-02-04  Eric Wong  <normalperson@yhbt.net>
47479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47481 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
47483         * manual/startup.texi: Add next, previous, and top entries for
47484         the `Program Arguments' and `Environment Variables' nodes.
47486 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
47488         * manual/macros.texi: Add comments before MTASC-safety macros.
47490         * manual/users.texi: Document MTASC-safety properties.
47492         * manual/threads.texi (pthread_key_create, pthread_key_delete)
47493         (pthread_getspecific, pthread_setspecific): Format with
47494         @deftypefun, and add @safety note.
47495         * manual/signal.texi: Move comments that analyze the above
47496         functions to their home place.
47498 2014-02-03  Allan McRae  <allan@archlinux.org>
47500         * po/sl.po: Update Slovenian translation from translation project.
47502 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
47504         * manual/time.texi (timegm): Add missing blank after @c.
47505         Reported by Joseph Myers <joseph@codesourcery.com>.
47507 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
47509         * manual/check-safety.sh: New.
47510         * manual/Makefile ($(objpfx)stamp-summary): Run it.
47512         * manual/terminal.texi: Document MTASC-safety properties.
47514         * manual/filesys.texi: Document MTASC-safety properties.
47516         * manual/errno.texi: Document MTASC-safety properties.
47518         * manual/intro.texi: Document safety identifiers and
47519         conditionals.
47521         * manual/string.texi (wcstok): Fix prototype.
47522         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47524         * manual/time.texi: Document MTASC-safety properties.
47526         * manual/string.texi: Document MTASC-safety properties.
47528         * manual/threads.texi: Document MTASC-safety properties.
47530         * manual/stdio.texi: Document MTASC-safety properties.
47532         * manual/syslog.texi: Document MTASC-safety properties.
47534         * manual/sysinfo.texi: Document MTASC-safety properties.
47536         * manual/startup.texi: Document MTASC-safety properties.
47538         * manual/socket.texi: Document MTASC-safety properties.
47540         * manual/signal.texi: Document MTASC-safety properties.
47542 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
47544         * manual/setjmp.texi: Document MTASC-safety properties.
47546         * manual/search.texi: Document MTASC-safety properties.
47548         * manual/resource.texi: Document MTASC-safety properties.
47550         * manual/process.texi: Document MTASC-safety properties.
47552         * manual/platform.texi: Document MTASC-safety properties.
47554         * manual/pipe.texi: Document MTASC-safety properties.
47556         * manual/pattern.texi: Document MTASC-safety properties.
47558         * manual/message.texi: Document MTASC-safety properties.
47560         [BZ #12751]
47561         * manual/memory.texi: Document MTASC-safety properties.
47563         * manual/math.texi: Document MTASC-safety properties.
47565         * manual/locale.texi: Document MTASC-safety properties.
47567         * manual/llio.texi: Document MTASC-safety properties.
47569         * manual/libdl.texi: New.
47571         * manual/lang.texi: Document MTASC-safety properties.
47573         * manual/job.texi: Document MTASC-safety properties.
47575         * manual/getopt.texi: Document MTASC-safety properties.
47577         * manual/ctype.texi: Document MTASC-safety properties.
47579 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
47581         [BZ #16046]
47582         * csu/libc-tls.c (static_map): Remove variable.
47583         (__libc_setup_tls): Use main executable's link map for TLS data.
47584         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47585         casing for LM_ID_BASE and GL(dl_nns).
47586         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47587         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
47588         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47589         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47590         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47591         member.
47592         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47593         l_phnum members.
47595 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
47597         * manual/debug.texi: Document MTASC-safety properties.
47599 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
47601         [BZ #16510]
47602         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47603         of __x86_64__ when disabling x87 inline functions.
47605 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
47607         * manual/charset.texi: Document MTASC-safety properties.
47609         * manual/crypt.texi: Document MTASC-safety properties.
47611         * manual/conf.texi: Document MTASC-safety properties.
47613         * manual/arith.texi: Document MTASC-safety properties.
47615         * manual/argp.texi: Document MTASC-safety properties.
47617         * manual/macros.texi: Introduce macros to document multi
47618         thread, asynchronous signal and asynchronous cancellation
47619         safety properties.
47620         * manual/intro.texi: Introduce the properties themselves.
47622 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47624         * sysdeps/sh/sh4/Makefile: New file.
47626 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
47628         * math/gen-libm-test.pl ($srcdir): New variable.
47629         ($auto_input): Use it.
47631 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47633         [BZ #16506]
47634         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47635         access beyond array bounds when parsing netgroups file.
47637         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47638         the old buffer before realloc.
47640 2014-01-27  Allan McRae  <allan@archlinux.org>
47642         * po/fr.po: Update French translation from translation project.
47644 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47646         * sysdeps/sh/libm-test-ulps: Regenerate.
47648 2014-01-24  David S. Miller  <davem@davemloft.net>
47650         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47652 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47654         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47655         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47657 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47659         [BZ #16474]
47660         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47661         string pointers after reallocation.
47663 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47665         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47666         __SH4A__ instead of __SH_FPU_ANY__.
47668 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47670         * sysdeps/sh/fpu_control.h: New file.
47671         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47672         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47673         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47674         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47675         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47676         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47677         * sysdeps/sh/sys/ucontext.h: Remove.
47678         * sysdeps/sh/sys: Remove directory.
47680 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47682         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47683         s390/sys/ucontext.h.
47684         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47685         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47687 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
47689         [BZ #15605]
47690         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47692 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47694         [BZ#16431]
47695         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47696         Adjust the vDSO correctly for internal calls.
47697         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47699 2014-01-20  Allan McRae  <allan@archlinux.org>
47701         * po/ca.po: Update Catalan translation from translation project.
47703 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
47705         * sysdeps/s390/sotruss-lib.c: New file.
47707 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47709         [BZ#16430]
47710         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47711         (__GI___gettimeofday): Alias for a different internal symbol to avoid
47712         local calls issues by not having a PLT stub required for IFUNC calls.
47713         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47715 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
47717         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47718         * math/test-fpucw-static.c: Likewise.
47720 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47722         [BZ #16453]
47723         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47725 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47727         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47728         implementation for powerpc.
47730 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
47732         [BZ #14782]
47733         * sysdeps/posix/system.c (__libc_system): Do not enable
47734         asynchronous cancellation.
47736 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47738         [BZ #16427]
47739         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47740         handling only for numbers special also in the IEEE case.
47742 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47744         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47746 2014-01-11  Allan McRae  <allan@archlinux.org>
47748         * po/bg.po: Update Bulgarian translation from translation project.
47750         * po/de.po: Update German translation from translation project.
47752 2014-01-10  Roland McGrath  <roland@hack.frob.com>
47754         * sysdeps/generic/gcc-compat.h: New file.
47756 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47758         * benchtests/asin-inputs: Correct slow inputs.
47759         * benchtests/acos-inputs: Likewise.
47761 2014-01-10  Allan McRae  <allan@archlinux.org>
47763         * po:sv.po: Update Swedish translation from translation project.
47765         * po/vi.po: Update Vietnamese translation from translation project.
47767         * po/eo.po: Update Esperanto translation from translation project.
47769         * po/cs.po: Update Czech translation from translation project.
47771         * po/nl.po: Update Dutch translation from translation project.
47773         * po/pl.po: Update Polish translation from translation project.
47775         * po/ru.po: Update Russian translation from translation project.
47777         * po/uk.po: Update Ukrainian translation from translation project.
47779 2014-01-08  Brooks Moses  <bmoses@google.com>
47781         * elf/dl-load.c: Fix comment typo.
47783 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
47785         * po/header.pot: Rename to...
47786         * po/pot.header: ... this.
47787         * po/Makefile: Use pot.header.
47789 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
47790             Maxim Kuvyrkov  <maxim@kugelworks.com>
47792         [BZ #16394]
47793         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47794         SRC and DEST against LEN.
47796 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47798         [BZ #16414]
47799         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47800         implementation.
47801         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47803 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47807 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
47809         [BZ #16408]
47810         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47811         for large positive arguments.
47813 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
47815         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47817         * math/auto-libm-test-in: Mark various tests with
47818         xfail-rounding:ldbl-128ibm.
47819         * math/auto-libm-test-out: Regenerated.
47821         [BZ #16407]
47822         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47823         Increase overflow threshold.
47825 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
47827         [BZ #14286]
47828         * stdio-common/vfprintf.c: Check for integer overflow.
47830 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47832         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47833         the first argument and return value of __tls_get_addr_internal.
47835 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47837         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47838         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47840 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47842         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47843         * sysdeps/s390/rtld-global-offsets.sym: New file.
47844         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47845         GLIBC_2.19 symbol.
47846         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47847         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47848         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47849         ... this.
47850         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47851         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47852         ... this.
47853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47854         Regenerate.
47855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47856         Regenerate.
47857         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47858         halfs of GPRs for high_gprs contexts.
47859         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47860         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
47861         field.
47862         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47863         uc_flags field.
47864         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47865         64 bit versions:
47866         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47867         for high GPRs (uc_high_gprs) and for future extensions
47868         (__reserved).
47869         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47870         for future extensions (__reserved).
47871         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47872         64 bit versions:
47873         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47874         SC_HIGHGPRS offset definition.
47875         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47876         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47878         * Versions.def: Add GLIBC_2.19 for libpthread.
47879         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47880         siglongjmp for libpthread with GLIBC_2.19 symver.
47881         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47882         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47883         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47884         * sysdeps/s390/__longjmp.c: New file.
47885         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47886         * sysdeps/s390/longjmp.c: New file.
47887         * sysdeps/s390/setjmp.S: New file.
47888         * sysdeps/s390/sigjmp.S: New file.
47889         * sysdeps/s390/v1-longjmp.c: New file.
47890         * sysdeps/s390/v1-setjmp.h: New file.
47891         * sysdeps/s390/v1-sigjmp.c: New file.
47892         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47893         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47894         GLIBC_2.19 version.
47895         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47896         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47897         versioned symbols for ____longjmp_chk.
47898         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47899         Likewise.
47900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47901         Regenerate.
47902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47903         Regenerate.
47904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47905         Regenerate.
47906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47907         Regenerate.
47908         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47909         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47910         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47911         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47912         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47913         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47914         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47915         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47916         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47917         * sysdeps/s390/rtld-__longjmp.c: New file.
47918         * sysdeps/s390/rtld-setjmp.S: New file.
47920 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47922         [BZ #16400]
47923         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47924         Return -__logl (x) for small positive arguments without evaluating
47925         a polynomial.
47927 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
47929         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47930         Rename to ...
47931         (__ptrace_peeksiginfo_args): ... this.
47932         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47933         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47934         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47936 2014-01-06  Allan McRae  <allan@archlinux.org>
47938         * inet/netinet/in.h: Fix typo in comment.
47940 2014-01-05  Andreas Jaeger  <aj@suse.de>
47942         * sysdeps/i386/fpu/libm-test-ulps: Update.
47944 2014-01-05  Allan McRae  <allan@archlinux.org>
47946         * po/libc.pot: Regenerated.
47948         * malloc/memusagestat.c: Fix gettext call formatting.
47950 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
47952         * nscd/nscd.c: Improve usage() output.
47954 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
47956         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47957         * sysdeps/unix/sysv/linux/configure: Regenerated.
47958         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47959         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47961 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47963         [BZ #16390]
47964         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47965         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47967 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47969         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47970         extra tokens at end of #undef directive.
47971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47972         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47973         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47975 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47977         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47979         * math/auto-libm-test-in: Mark various tests with
47980         xfail-rounding:ldbl-128ibm.
47981         * math/auto-libm-test-out: Regenerated.
47983 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
47985         [BZ #16386]
47986         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47987         numbers with subnormal high part when calculating exponent.
47989         [BZ #16385]
47990         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47991         fabs.
47993         [BZ #16384]
47994         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47995         M_LN2l.
47996         (__ieee754_acoshl): Use __log1pl not __log1p.
47998 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
48000         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
48001         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
48002         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
48003         (grow_heap, heap_trim, _int_new_arena, get_free_list)
48004         (reused_arena, arena_get2): Convert to GNU style.
48005         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
48006         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
48007         (memalign_check, __malloc_set_state): Likewise.
48008         * malloc/mallocbug.c (main): Likewise.
48009         * malloc/malloc.c (__malloc_assert, malloc_init_state)
48010         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
48011         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
48012         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
48013         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
48014         (__posix_memalign, malloc_info): Likewise.
48015         * malloc/malloc.h: Likewise.
48016         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
48017         (mallochook, memalignhook, reallochook, mabort): Likewise.
48018         * malloc/mcheck.h: Likewise.
48019         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
48020         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
48021         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
48022         * malloc/morecore.c (__default_morecore): Likewise.
48023         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
48024         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
48025         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
48026         (print_and_abort): Likewise.
48027         * malloc/obstack.h: Likewise.
48028         * malloc/set-freeres.c (__libc_freeres): Likewise.
48029         * malloc/tst-mallocstate.c (main): Likewise.
48030         * malloc/tst-mtrace.c (main): Likewise.
48031         * malloc/tst-realloc.c (do_test): Likewise.
48033 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48035         [BZ #16366]
48036         * nscd/netgroupcache.c (do_notfound): New function.
48037         (addgetnetgrentX): Use it.
48039         [BZ # 16365]
48040         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
48041         NSS_STATUS_NOTFOUND.
48043 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
48045         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48048 2014-01-01  Allan McRae  <allan@archlinux.org>
48050         * scripts/update-copyrights: Update configure input file suffix.
48052         * NEWS: Update copyright year.
48053         * catgets/gencat.c: Likewise.
48054         * csu/version.c: Likewise.
48055         * debug/catchsegv.sh: Likewise.
48056         * debug/pcprofiledump.c: Likewise.
48057         * debug/xtrace.sh: Likewise.
48058         * elf/ldconfig.c: Likewise.
48059         * elf/ldd.bash.in: Likewise.
48060         * elf/pldd.c: Likewise.
48061         * elf/sotruss.ksh: Likewise.
48062         * elf/sprof.c: Likewise.
48063         * iconv/iconv_prog.c: Likewise.
48064         * iconv/iconvconfig.c: Likewise.
48065         * locale/programs/locale.c: Likewise.
48066         * locale/programs/localedef.c: Likewise.
48067         * login/programs/pt_chown.c: Likewise.
48068         * malloc/memusage.sh: Likewise.
48069         * malloc/memusagestat.c: Likewise.
48070         * malloc/mtrace.pl: Likewise.
48071         * manual/libc.texinfo: Likewise.
48072         * nscd/nscd.c: Likewise.
48073         * nss/getent.c: Likewise.
48074         * nss/makedb.c: Likewise.
48075         * posix/getconf.c: Likewise.
48076         * scripts/test-installation.pl: Likewise.
48078         * All files with FSF copyright notices: Update copyright dates
48079         using scripts/update-copyrights.
48080         * intl/plural.c: Regenerated.
48081         * locale/programs/charmap-kw.h: Likewise.
48082         * locale/programs/locfile-kw.h: Likewise.
48084 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
48086         * sysdeps/unix/sysv/linux/configure: Regenerated.
48087         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
48088         the linux/fanotify.h header.
48089         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48090         HAVE_LINUX_FANOTIFY_H is defined.
48092 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48094         * benchtests/cos-inputs: New inputs.
48095         * benchtests/sin-inputs: Likewise.
48097         * benchtests/atan-inputs: New inputs. Fix name of multiple
48098         precision fallback inputs.
48100         * benchtests/atanh-inputs: New inputs.
48101         * benchtests/tanh-inputs: Likewise.
48103         * benchtests/acosh-inputs: New inputs.
48104         * benchtests/asinh-inputs: Likewise.
48106         * benchtests/cosh-inputs: New inputs.
48107         * benchtests/sinh-inputs: Likewise.
48109         * benchtests/acos-inputs: Add more inputs.
48110         * benchtests/asin-inputs: Likewise.
48112 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
48114         [BZ #16375]
48115         * manual/arith.texi: Fix spelling.
48116         * manual/charset.texi: Likewise.
48117         * manual/errno.texi: Likewise.
48118         * manual/filesys.texi: Likewise.
48119         * manual/lang.texi: Likewise.
48120         * manual/llio.texi: Likewise.
48121         * manual/locale.texi: Likewise.
48122         * manual/message.texi: Likewise.
48123         * manual/resource.texi: Likewise.
48124         * manual/search.texi: Likewise.
48125         * manual/setjmp.texi: Likewise.
48126         * manual/stdio.texi: Likewise.
48127         * manual/string.texi: Likewise.
48128         * manual/sysinfo.texi: Likewise.
48129         * manual/time.texi: Likewise.
48131 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
48133         * po/sl.po: New file.
48135 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
48137         * .gitignore: Add core/.gdbinit/.gdb_history.
48139 2013-12-27  Allan McRae  <allan@archlinux.org>
48141         [BZ #16369]
48142         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
48143         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
48145 2013-12-24  Brooks Moses  <bmoses@google.com>
48147         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48148         all compilers that claim C++98 compliance, not just GCC.
48149         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
48150         Likewise.
48152 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
48154         * NEWS: Restore accidentally deleted bug-fix entries.
48156 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
48157             Ondřej Bílka  <neleai@seznam.cz>
48159         [BZ #15073]
48160         * malloc/malloc.c (_int_free): Perform sanity check only if we
48161         have_lock.
48163 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
48165         [BZ #12986]
48166         * manual/stdio.texi (String Input Conversions): Clarify that character
48167         classes are not supported.
48169 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48173 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
48175         [BZ #16337]
48176         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48177         Calculate results for small negative arguments directly rather
48178         than using reflection formula with special underflow handling.
48180         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
48181         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
48182         sysdeps/unix/bsd/bsd4.4/syscalls.list.
48183         (fchflags): Likewise.
48184         (revoke): Likewise.
48185         (setlogin): Likewise.
48186         (sigaltstack): Likewise.
48187         (wait4): Likewise.
48188         (sigblock): Remove.
48189         (sigsetmask): Likewise.
48190         (wait3): Likewise.
48191         (waitpid): Likewise.
48192         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48193         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48194         file.
48195         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48196         * sysdeps/unix/bsd/Makefile: ... here.
48197         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48198         * sysdeps/unix/bsd/Versions: ... here.
48199         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48200         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48201         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48202         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48203         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48204         * sysdeps/unix/bsd/sigblock.c: ... here.
48205         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48206         * sysdeps/unix/bsd/sigsetmask.c: ... here.
48207         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48208         * sysdeps/unix/bsd/sigvec.c: ... here.
48209         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48210         * sysdeps/unix/bsd/tcdrain.c: ... here.
48211         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48212         * sysdeps/unix/bsd/tcgetattr.c: ... here.
48213         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48214         * sysdeps/unix/bsd/tcsetattr.c: ... here.
48215         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48216         * sysdeps/unix/bsd/wait.c: ... here.
48217         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48218         * sysdeps/unix/bsd/wait3.c: ... here.
48219         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48220         * sysdeps/unix/bsd/waitpid.c: ... here.
48222 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
48224         [BZ #16356]
48225         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48226         round-to-nearest for [!USE_AS_EXPM1L].
48227         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48228         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
48229         more tests of exp and exp10.  Expect some exp10 tests to miss
48230         exceptions or fail in directed rounding modes.
48231         * math/auto-libm-test-out: Regenerated.
48232         * math/libm-test.inc (exp10_tonearest_test_data): New array.
48233         (exp10_test_tonearest): New function.
48234         (exp10_towardzero_test_data): New array.
48235         (exp10_test_towardzero): New function.
48236         (exp10_downward_test_data): New array.
48237         (exp10_test_downward): New function.
48238         (exp10_upward_test_data): New array.
48239         (exp10_test_upward): New function.
48240         (main): Call the new functions.
48241         * sysdeps/i386/fpu/libm-test-ulps: Update.
48242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48244 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
48246         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48247         asinh, atan, atan2, atanh, cbrt, cos and cosh.
48248         * math/auto-libm-test-out: Regenerated.
48249         * math/libm-test.inc (acosh_test_data): Add more tests.
48250         (atanh_test_data): Likewise.
48251         (ceil_test_data): Likewise.
48252         (copysign_test_data): Likewise.
48253         * sysdeps/i386/fpu/libm-test-ulps: Update.
48254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48256         * timezone/checktab.awk: Update from tzcode 2013i.
48257         * timezone/private.h: Likewise.
48258         * timezone/scheck.c: Likewise.
48259         * timezone/tzfile.h: Likewise.
48260         * timezone/tzselect.ksh: Likewise.
48261         * timezone/zdump.c: Likewise.
48262         * timezone/zic.c: Likewise.
48264         * math/auto-libm-test-in: Add tests of cpow.
48265         * math/auto-libm-test-out: Regenerated.
48266         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48267         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48268         mpc_cc_c.
48269         (func_calc_desc): Add mpc_cc_c union field.
48270         (test_functions): Add cpow.
48271         (special_fill_2pi): New function.
48272         (special_real_inputs): Add 2pi.
48273         (calc_generic_results): Handle mpc_cc_c.
48274         * sysdeps/i386/fpu/libm-test-ulps: Update.
48275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48277         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48278         csqrt, ctan and ctanh.
48279         * math/auto-libm-test-out: Regenerated.
48280         * math/libm-test.inc (TEST_COND_x86_64): New macro.
48281         (TEST_COND_x86): Likewise.
48282         (ccos_test_data): Use AUTO_TESTS_c_c.
48283         (ccosh_test_data): Likewise.
48284         (cexp_test_data): Likewise.
48285         (clog_test_data): Likewise.
48286         (csqrt_test_data): Likewise.
48287         (ctan_test_data): Likewise.
48288         (ctan_tonearest_test_data): Likewise.
48289         (ctan_towardzero_test_data): Likewise.
48290         (ctan_downward_test_data): Likewise.
48291         (ctan_upward_test_data): Likewise.
48292         (ctanh_test_data): Likewise.
48293         (ctanh_tonearest_test_data): Likewise.
48294         (ctanh_towardzero_test_data): Likewise.
48295         (ctanh_downward_test_data): Likewise.
48296         (ctanh_upward_test_data): Likewise.
48297         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48298         mpc_c_c.
48299         (func_calc_desc): Add mpc_c_c union field.
48300         (FUNC_mpc_c_c): New macro.
48301         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48302         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48303         ctanh.
48304         (special_fill_min_subnorm_p120): New function.
48305         (special_real_inputs): Add min_subnorm_p120.
48306         (calc_generic_results): Handle mpc_c_c.
48307         * sysdeps/i386/fpu/libm-test-ulps: Update.
48308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48310 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48312         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48313         (do_sin_slow): New functions.
48314         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48315         (cslow2, csloww1, csloww2): Use the new functions.
48317         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48318         Use M to change sign of result instead of X.  Assume X is
48319         positive.
48320         (csloww1): Likewise.
48321         (__sin): Adjust.
48322         (__cos): Adjust.
48324         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48325         arguments A and DA.
48326         (__sin): Adjust.
48327         (__cos): Likewise.
48329         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48330         (__cos): Likewise.
48331         (sloww1): Don't adjust sign of DX.
48332         (csloww1): Likewise.
48333         (sloww2): Use X directly and don't adjust sign of DX.
48334         (csloww2): Likewise.
48336 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48338         * math/auto-libm-test-in: Add tests of cabs and carg.
48339         * math/auto-libm-test-out: Regenerated.
48340         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48341         (carg_test_data): Likewise.
48342         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48343         mpc_c_f.
48344         (func_calc_desc): Add mpc_c_f union field.
48345         (test_functions): Add cabs and carg.
48346         (calc_generic_results): Handle mpc_c_f.
48348         * sysdeps/powerpc/powerpc32/libgcc-compat.S
48349         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48350         as a macro and a compat symbol.
48351         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48352         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48353         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48354         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48355         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48356         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48357         not use .hidden.
48358         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48359         Likewise.
48360         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48361         Likewise.
48362         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48363         Likewise.
48364         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48365         Likewise.
48366         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48367         Likewise.
48368         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48369         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48370         from GLIBC_2.3.2.
48372 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48376 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48378         * manual/texinfo.tex: Update to version 2013-11-26.10 with
48379         trailing whitespace removed.
48380         * scripts/config.guess: Update to version 2013-11-29.
48381         * scripts/config.sub: Update to version 2013-10-01.
48383         * math/auto-libm-test-in: Add tests of sincos.
48384         * math/auto-libm-test-out: Regenerated.
48385         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48386         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48387         mpfr_f_11.
48388         (func_calc_desc): Add mpfr_f_11 union field.
48389         (test_functions): Add sincos.
48390         (calc_generic_results): Handle mpfr_f_11.
48391         * sysdeps/i386/fpu/libm-test-ulps: Update.
48392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48394 2013-12-19  Andreas Schwab  <schwab@suse.de>
48396         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48397         CALL_MCOUNT.
48398         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48399         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48400         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48402 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48404         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48405         * sysdeps/i386/fpu/libm-test-ulps: Update.
48406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48408         [BZ #16293]
48409         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48410         round-to-nearest mode when using frndint.
48411         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48412         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48413         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48414         Likewise.
48415         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
48416         sinh test to fail.
48417         * math/auto-libm-test-out: Regenerated.
48418         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48419         (TEST_COND_x86): Likewise.
48420         (expm1_tonearest_test_data): New array.
48421         (expm1_test_tonearest): New function.
48422         (expm1_towardzero_test_data): New array.
48423         (expm1_test_towardzero): New function.
48424         (expm1_downward_test_data): New array.
48425         (expm1_test_downward): New function.
48426         (expm1_upward_test_data): New array.
48427         (expm1_test_upward): New function.
48428         (main): Run the new test functions.
48429         * sysdeps/i386/fpu/libm-test-ulps: Update.
48430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48432         * include/features.h: Update comment documenting feature test
48433         macros.  Mention _DEFAULT_SOURCE in comment.
48434         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48435         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48436         _BSD_SOURCE and _SVID_SOURCE.
48437         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48438         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48439         !_SVID_SOURCE]: Likewise.
48440         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48441         (__USE_POSIX_IMPLICITLY): Define.
48442         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48443         (_POSIX_SOURCE): Undefine and redefine.
48444         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48445         (_POSIX_C_SOURCE): Likewise.
48446         * manual/creature.texi (_DEFAULT_SOURCE): Document.
48447         (Feature Test Macros): Update documentation of default features.
48449 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48451         * benchtests/Makefile: Add bench-strtok.
48452         * benchtests/bench-strtok.c: New file: strtok benchtest.
48454 2013-12-19  Allan McRae  <allan@archlinux.org>
48456         * manual/install.texi: Suppress menu for plain text output.
48457         * INSTALL: Regenerated.
48459 2013-12-18  Brooks Moses  <bmoses@google.com>
48461         [BZ #15846]
48462         * misc/getauxval.c: Include errno.h.
48463         (__getauxval): Set errno to ENOENT if the requested type is not
48464         found.
48465         * misc/sys/auxv.h (getauxval): Document that it may set errno;
48466         don't declare with __attribute_const__.
48467         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48468         * manual/startup.texi: Document that getauxval sets errno.
48470 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48472         * math/auto-libm-test-in: Add tests of jn and yn.
48473         * math/auto-libm-test-out: Regenerated.
48474         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48475         (yn_test_data): Likewise.
48476         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48477         mpfr_if_f.
48478         (func_calc_desc): Add mpfr_if_f union field.
48479         (FUNC_mpfr_if_f): New macro.
48480         (test_functions): Add jn and yn.
48481         (calc_generic_results): Assert type of second input for
48482         mpfr_ff_f.  Handle mpfr_if_f.
48483         (output_for_one_input_case): Disable all checking for arguments
48484         fitting floating-point types in case of an integer argument.
48485         * sysdeps/i386/fpu/libm-test-ulps: Update.
48486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48489         Don't expect fegetround reference in libm.so.
48491 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48493         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48494         $(config-cflags-nofma).
48496 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48498         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48499         * math/auto-libm-test-out: Regenerated.
48501         [BZ #16338]
48502         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48503         to determine exponent and adjust argument to have exponent of -1.
48504         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48505         log2.
48506         * math/auto-libm-test-out: Regenerated.
48507         * sysdeps/i386/fpu/libm-test-ulps: Update.
48508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48510 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
48512         * manual/probes.texi: Remove cases when per-thread arenas are
48513         disabled.
48515 2013-12-18  Andreas Schwab  <schwab@suse.de>
48517         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48518         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48519         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48520         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48521         * sysdeps/i386/i686/multiarch/Makefile: Update.
48522         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48524 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48526         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48527         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48529 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
48531         [BZ #15968]
48532         Support TZ transition times < 00:00:00.
48533         This is needed for version-3 tz-format files; it supports time
48534         stamps past 2037 for America/Godthab (the only entry in the tz
48535         database for which this change is relevant).
48536         * manual/time.texi (TZ Variable): Document transition times
48537         from -167:59:59 through -00:00:01.
48538         * time/tzset.c (tz_rule): Time of day is now signed.
48539         (__tzset_parse_tz): Parse negative time of day.
48541         Document TZ transition times >= 25:00:00.
48542         * manual/time.texi (TZ Variable): Document transition times from
48543         25:00:00 through 167:59:59.  These are already supported, and this
48544         support will help with version-3 tz-format files.
48546         * manual/time.texi (TZ Variable): Modernize North America example
48547         to reflect current (i.e., 2007-and-later) daylight saving rules.
48549         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48551 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48553         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48554         * sysdeps/unix/bsd/bits/stat.h: Likewise.
48555         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48556         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48557         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48558         * sysdeps/unix/bsd/bsdstat.h: Likewise.
48559         * sysdeps/unix/bsd/clock.c: Likewise.
48560         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48561         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48562         * sysdeps/unix/bsd/init-posix.c: Likewise.
48563         * sysdeps/unix/bsd/poll.c: Likewise.
48564         * sysdeps/unix/bsd/ptsname.c: Likewise.
48565         * sysdeps/unix/bsd/seekdir.c: Likewise.
48566         * sysdeps/unix/bsd/setegid.c: Likewise.
48567         * sysdeps/unix/bsd/seteuid.c: Likewise.
48568         * sysdeps/unix/bsd/setgid.c: Likewise.
48569         * sysdeps/unix/bsd/setrgid.c: Likewise.
48570         * sysdeps/unix/bsd/setruid.c: Likewise.
48571         * sysdeps/unix/bsd/setsid.c: Likewise.
48572         * sysdeps/unix/bsd/setuid.c: Likewise.
48573         * sysdeps/unix/bsd/sigaction.c: Likewise.
48574         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48575         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48576         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48577         * sysdeps/unix/bsd/telldir.c: Likewise.
48578         * sysdeps/unix/bsd/times.c: Likewise.
48579         * sysdeps/unix/bsd/usleep.c: Likewise.
48581         * misc/Makefile (install-lib): Remove libbsd-compat.a.
48582         ($(objpfx)libbsd-compat.a): Remove rule.
48584         * include/features.h (__FAVOR_BSD): Do not define.
48585         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48586         features conflicting with POSIX.
48587         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48588         (_BSD_SOURCE): Remove description of not being a subset of other
48589         feature test macros.
48590         * manual/job.texi (getpgrp): Do not document BSD version.
48591         (getpgid): Do not document by reference to BSD getpgrp.
48592         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48593         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48594         * signal/signal.h [__FAVOR_BSD]: Likewise.
48595         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48596         instead of making contents conditional on [__FAVOR_BSD].
48597         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48599 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48603 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48605         [BZ #16314]
48606         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48607         values below 2**-450, not 2**-500.
48608         * math/auto-libm-test-in: Don't allow spurious underflow from
48609         hypot.
48610         * math/auto-libm-test-out: Regenerated.
48612         [BZ #16316]
48613         [BZ #16330]
48614         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48615         values of ha and hb and sort them after adjusting subnormal
48616         arguments.
48617         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48618         Likewise.
48619         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48620         values of ea and eb and sort them after adjusting subnormal
48621         arguments.
48622         * math/auto-libm-test-in: Do not expect some hypot tests of
48623         subnormals to fail.  Add more hypot tests.
48624         * math/auto-libm-test-out: Regenerated.
48626 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48628         [BZ #13304]
48629         * sysdeps/sh/s_fma.c: New file.
48630         * sysdeps/sh/s_fmaf.c: New file.
48631         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
48632         version.
48633         * sysdeps/sh/Implies: Add sh/soft-fp.
48635 2013-12-16  Roland McGrath  <roland@hack.frob.com>
48637         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
48638         level of indirection to members `objname', `errstring', `malloced'.
48639         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48640         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
48641         it as the __longjmp argument (just pass 1 instead).
48642         (_dl_catch_error): Initialize C with argument pointers and address of
48643         volatile local ERRCODE rather than copying values out of C at return.
48645 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
48647         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48648         * math/auto-libm-test-out: Regenerated.
48649         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48650         (hypot_test_data): Likewise.
48651         (pow_test_data): Likewise.
48652         (pow_tonearest_test_data): Likewise.
48653         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48654         mpfr_ff_f.
48655         (func_calc_desc): Add mpfr_ff_f union field.
48656         (FUNC_mpfr_ff_f): New macro.
48657         (test_functions): Add atan2, hypot and pow.
48658         (special_fill_min): New function.
48659         (special_fill_minus_min): Likewise.
48660         (special_fill_min_subnorm): Likewise.
48661         (special_fill_minus_min_subnorm): Likewise.
48662         (special_real_inputs): Add min, -min, min_subnorm and
48663         -min_subnorm.
48664         (calc_generic_results): Handle mpfr_ff_f.
48665         * sysdeps/i386/fpu/libm-test-ulps: Update.
48666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48668 2013-12-16  Will Newton  <will.newton@linaro.org>
48670         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48671         (Aligned Memory Blocks): Add documentation for aligned_alloc
48672         and suggest it as an alternative to posix_memalign.
48673         (Hooks for Malloc): Document __memalign_hook is also called
48674         for aligned_alloc.  (Summary of Malloc): Add summary for
48675         aligned alloc.  Document __memalign_hook is also called
48676         for aligned_alloc.
48678 2013-12-16  Will Newton  <will.newton@linaro.org>
48680         * manual/memory.texi (Malloc Examples): Clarify default
48681         alignment documentation.  Suggest posix_memalign rather
48682         than memalign or valloc.
48683         (Aligned Memory Blocks): Remove suggestion to use memalign
48684         or valloc.  Remove obsolete comment about BSD.
48685         Document memalign errno values and mark the function obsolete.
48686         Document posix_memalign returned error codes.  Mark valloc
48687         as obsolete.  (Hooks for Malloc): __memalign_hook is also
48688         called for posix_memalign and valloc.
48689         (Summary of Malloc): Add posix_memalign to function summary.
48690         __memalign_hook is also called for posix_memalign and valloc.
48692 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48694         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48695         TAYLOR_SIN.
48696         (__sin): Adjust.
48697         (__cos): Likewise.
48698         (sloww): Use mynumber union.  Expand ternary operator into
48699         if-else statements.
48700         (cslow): use mynumber union.
48702 2013-12-16  Allan McRae  <allan@archlinux.org>
48704         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48705         * configure: Regenerated.
48707         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48709         [BZ #14120]
48710         * configure.ac: Added --enable-maintainer-mode. Check for
48711         autoconf when enabled.
48712         * configure: Regenerated.
48714         * nscd/nscd.service: New file.
48715         * nscd/nscd.tmpfiles: New file.
48717 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
48719         [BZ #12100]
48720         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48721         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48722         * sysdeps/x86_64/multiarch/strstr.c: ... here.
48723         (strstr): Add __strstr_sse2_unaligned ifunc.
48724         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48725         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48726         (strcasestr): Remove __strcasestr_sse42 ifunc.
48727         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48728         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48731 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48733         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48734         * sysdeps/sh/bits/fenv.h: ... here.
48735         * sysdeps/sh/sh4/fpu/bits: Remove directory.
48737 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48739         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48741         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48742         hypotf multiarch implementations.
48743         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48744         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48745         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48746         multiarch hypot for PPC64.
48747         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48748         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48749         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48750         multiarch hypotf for PPC64.
48752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48753         modff multiarch implementations.
48754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48757         multiarch modf for PPC64.
48758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48761         multiarch modff for PPC64.
48763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48764         and logl multiarch implementations.
48765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48768         multiarch logb for PPC64.
48769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48772         multiarch logb for PPC64.
48773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48776         multiarch logb for PPC64.
48778         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48779         isinff multiarch implementation.
48780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48781         file.
48782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48784         multiarch isinf for PPC64.
48785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48786         file.
48787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48788         multiarch isinff for PPC64.
48790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48791         finitef multiarch implementation.
48792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48793         file.
48794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48796         multiarch finite for PPC64.
48797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48798         file.
48799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48800         multiarch finitef for PPC64.
48802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48803         lrint multiarch implementation.
48804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48805         file.
48806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48808         multiarch llrint for PPC64.
48809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48810         multiarch lrint for PPC64.
48812         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48813         copysignf multiarch implementation.
48814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48815         file.
48816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48817         file.
48818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48819         multiarch copysign for PPC64.
48820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48821         multiarch copysignf for PPC64.
48823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48824         multiarch implementation.
48825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48826         file.
48827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48828         file.
48829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48830         file.
48831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48832         file.
48833         multiarch llround for PPC64.
48834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48835         multiarch trunc for PPC64.
48836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48837         multiarch truncf for PPC64.
48839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48840         multiarch implementation.
48841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48842         file.
48843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48844         file.
48845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48846         file.
48847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48848         file.
48849         multiarch llround for PPC64.
48850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48851         multiarch round for PPC64.
48852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48853         multiarch roundf for PPC64.
48855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48856         multiarch implementation.
48857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48858         file.
48859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48860         file.
48861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48862         file.
48863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48864         file.
48865         multiarch llround for PPC64.
48866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48867         multiarch floor for PPC64.
48868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48869         multiarch floorf for PPC64.
48871         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48872         multiarch implementation.
48873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48874         file.
48875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48876         file.
48877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48878         file.
48879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48880         file.
48881         multiarch llround for PPC64.
48882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48883         multiarch ceil for PPC64.
48884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48885         multiarch ceilf for PPC64.
48887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48888         multiarch implementation.
48889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48890         file.
48891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48892         file.
48893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48894         file.
48895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48896         multiarch llround for PPC64.
48897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48898         multiarch lround for PPC64.
48900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48901         multiarch implementation.
48902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48905         file.
48906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48909         multiarch isnan for PPC64.
48910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48911         multiarch isnanf for PPC64.
48913         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48914         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48915         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48916         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48917         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48920         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48921         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48922         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48923         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48926         multiarch implementations.
48927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48928         (__libc_ifunc_impl_list): Likewise.
48929         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48931         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48932         multiarch stpcpy for PPC64.
48934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48935         multiarch implementations.
48936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48937         (__libc_ifunc_impl_list): Likewise.
48938         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48939         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48940         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48941         multiarch strcpy for PPC64.
48943         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48944         redefine function name.
48945         (_wordcopy_fwd_dest_aligned): Likewise.
48946         (_wordcopy_bwd_aligned): Likewise.
48947         (_wordcopy_bwd_dest_aligned): Likewise.
48948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48949         multiarch implementations.
48950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48951         (__libc_ifunc_impl_list): Likewise.
48952         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48953         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48954         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48955         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48956         multiarch wcscpy for PPC64.
48958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48959         multiarch implementations.
48960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48961         (__libc_ifunc_impl_list): Likewise.
48962         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48963         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48964         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48965         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48966         multiarch wcscpy for PPC64.
48968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48969         multiarch implementations.
48970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48971         (__libc_ifunc_impl_list): Likewise.
48972         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48973         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48974         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48975         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48976         multiarch wcsrchr for PPC64.
48978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48979         multiarch implementations.
48980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48981         (__libc_ifunc_impl_list): Likewise.
48982         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48983         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48984         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48985         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48986         multiarch wcschr for PPC64.
48988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48989         multiarch implementations.
48990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48991         (__libc_ifunc_impl_list): Likewise.
48992         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48993         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48994         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48995         multiarch strchrnul for PPC64.
48997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48998         implementations.
48999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49000         (__libc_ifunc_impl_list): Likewise.
49001         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
49002         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
49003         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
49004         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
49005         strchr for PPC64.
49007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
49008         implementations.
49009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49010         (__libc_ifunc_impl_list): Likewise.
49011         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
49012         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
49013         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
49014         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
49015         strncmp for PPC64.
49017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
49018         multiarch implementations.
49019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49020         (__libc_ifunc_impl_list): Likewise.
49021         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
49022         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
49023         strncasecmp for PPC64.
49024         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
49025         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
49026         multiarch strncasecmp_l for PPC64.
49028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
49029         multiarch implementations.
49030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49031         (__libc_ifunc_impl_list): Likewise.
49032         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
49033         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
49034         multiarch strcasecmp for PPC64.
49035         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
49036         file.
49037         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
49038         multiarch strcasecmp_l for PPC64.
49040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
49041         implementations.
49042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49043         (__libc_ifunc_impl_list): Likewise.
49044         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
49045         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
49046         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
49047         strnlen for PPC64.
49049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
49050         implementations.
49051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49052         (__libc_ifunc_impl_list): Likewise.
49053         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
49054         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
49055         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
49056         strlen for PPC64.
49058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
49059         implementations.
49060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49061         (__libc_ifunc_impl_list): Likewise.
49062         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
49063         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
49064         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
49065         rawmemrchr for PPC64.
49067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
49068         implementation.
49069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49070         (__libc_ifunc_impl_list): Likewise.
49071         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
49072         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
49073         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
49074         memrchr for PPC64.
49076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
49077         implementation.
49078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49079         (__libc_ifunc_impl_list): Likewise.
49080         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
49081         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
49082         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
49083         memchr for PPC64.
49085         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
49086         implementation.
49087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49088         (__libc_ifunc_impl_list): Likewise.
49089         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
49090         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
49091         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
49092         mempcpy for PPC64.
49094         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
49095         avoid cretion of __bzero symbol.
49096         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
49097         Likewise.
49098         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
49099         Likewise.
49100         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
49101         Likewise.
49102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
49103         multiarch implementations.
49104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49105         (__libc_ifunc_impl_list): Likewise.
49106         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
49107         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
49108         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
49109         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
49110         bzero for PPC32.
49111         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
49112         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
49113         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
49114         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
49115         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
49116         memset for PPC64.
49117         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
49119         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
49120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
49121         implementations.
49122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49123         (__libc_ifunc_impl_list): Likewise.
49124         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
49125         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
49126         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49127         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
49128         memcmp for PPC64.
49130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
49131         multiarch for POWER/PPC64.
49132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
49133         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
49134         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
49135         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49136         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
49137         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
49138         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
49139         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
49140         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
49141         memcpy for PPC64.
49143         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
49144         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
49145         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
49146         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
49147         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
49148         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
49149         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
49150         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
49151         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
49152         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
49153         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
49154         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
49155         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
49156         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
49157         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
49158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
49159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
49160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
49161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
49162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
49163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
49164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
49166 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49168         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
49170 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49172         * benchtests/Makefile (bench): Add exp2 and log2.
49173         (LDLIBS-bench-exp2): Add -lm.
49174         (LDLIBS-bench-log2): Likewise.
49175         * benchtests/exp2-inputs: New inputs file.
49176         * benchtests/log2-inputs: New inputs file.
49177         * benchtests/log-inputs: Add new inputs.
49178         * benchtests/tan-inputs: Likewise.
49180 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49182         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
49183         definition...
49184         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49185         (csloww2): ... from here.
49187         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49188         instead of structures.
49189         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49190         (POLYNOMIAL): Likewise.
49191         (TAYLOR_SLOW): Likewise.
49192         (__sin): Likewise.
49193         (__cos): Likewise.
49194         (slow1): Likewise.
49195         (slow2): Likewise.
49196         (sloww): Likewise.
49197         (sloww1); Likewise.
49198         (sloww2): Likewise.
49199         (bsloww1): Likewise.
49200         (bsloww2): Likewise.
49201         (cslow2): Likewise.
49202         (csloww): Likewise.
49203         (csloww1): Likewise.
49204         (csloww2): Likewise.
49206 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
49208         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49209         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49210         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49211         * malloc/hooks.c (realloc_check): Likewise.
49213         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49214         * malloc/arena.c: Remove PER_THREAD conditional.
49215         [!PER_THREAD]: Remove code.
49216         (ptmalloc_unlock_all2): Likewise.
49217         (ptmalloc_init): Likewise.
49218         (_int_new_arena): Likewise.
49219         (arena_get2): Likewise.
49220         * malloc/hooks.c (__malloc_get_state): Likewise.
49221         (__malloc_set_state): Likewise.
49222         * malloc/malloc.c: Likewise.
49223         (struct malloc_state): Likewise.
49224         (struct malloc_par): Likewise.
49225         (__libc_realloc): Likewise.
49226         (__libc_mallopt): Likewise.
49228 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49230         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49232 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
49234         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49235         macro to a function.  Check for zero perturb_byte.
49236         (_int_malloc, _int_free): Remove zero perturb_byte checks.
49238         * malloc/malloc.c: (force_reg): Remove.
49239         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49240         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49241         force_reg by atomic_forced_read.
49242         * malloc/arena.c (ptmalloc_init): Likewise.
49243         * malloc/hooks.c (top_check): Likewise.
49245 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49249 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
49251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49253 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
49255         * math/auto-libm-test-in: Add tests of lgamma.
49256         * math/auto-libm-test-out: Regenerated.
49257         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49258         (M_LOG_2_SQRT_PIl): Likewise.
49259         (lgamma_test_data): Use AUTO_TESTS_f_f1.
49260         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49261         mpfr_f_f1.
49262         (func_calc_desc): Add mpfr_f_f1 union field.
49263         (ARGS1): New macro.
49264         (ARGS2): Likewise.
49265         (ARGS3): Likewise.
49266         (ARGS4): Likewise.
49267         (RET1): Likewise.
49268         (RET2): Likewise.
49269         (CALC): Likewise.
49270         (FUNC): Likewise.
49271         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49272         (test_functions): Add lgamma.
49273         (calc_generic_results): Handle mpfr_f_f1.
49274         * sysdeps/i386/fpu/libm-test-ulps: Update.
49275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49277 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49279         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49280         __mpn_add_n for PowerPC64/POWER7.
49281         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49282         __mpn_sub_n for PowerPC64/POWER7.
49284         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49285         __mpn_addmul_1 for PowerPC64.
49286         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49287         __mpn_submul_1 for PowerPC64.
49288         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49289         for PowerPC64.
49290         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49291         for PowerPC64.
49293 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
49295         [BZ #15089]
49296         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49298 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49300         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49302         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49303         add multiarch folders.
49304         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49305         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49306         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49307         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49308         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49309         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49310         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49311         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49312         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49313         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49314         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49323         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49325         New file.
49326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49327         New file.
49328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49329         multiarch __ieee754_hypot for PowerPC32.
49330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49331         New file.
49332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49333         New file.
49334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49335         multiarch __ieee754_hypotf for PowerPC32.
49337         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49338         long_double_symbol only if __logbl is defined.
49339         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49340         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49341         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49342         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49343         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49344         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49345         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49346         path for implementation.
49347         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49348         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49350         logb, and logbl multiarch implementations for PowerPC32.
49351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49352         file.
49353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49354         file.
49355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49356         multiarch logb for PowerPC32.
49357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49358         file.
49359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49360         file.
49361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49362         multiarch logbf for PowerPC32.
49363         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49365         file.
49366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49367         multiarch logbl implementation for PowerPC32.
49369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49370         and modff multiarch implementations.
49371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49372         New file.
49373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49374         New file.
49375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49376         multiarch modf for PowerPC32.
49377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49378         New file.
49379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49380         New file.
49381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49382         multiarch modff for PowerPC32.
49384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49385         and lrintf multiarch implementations.
49386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49387         New file.
49388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49389         New file.
49390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49391         multiarch lrint for PowerPC32.
49392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49393         file: multiarch lrintf for PowerPC32.
49395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49396         and lroundf multiarch implementations.
49397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49398         New file.
49399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49400         New file.
49401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49402         New file.
49403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49404         multiarch lround for PowerPC32.
49405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49406         file: multiarch lroundf for PowerPC32.
49408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49409         copysign and copysignf multiarch implementations.
49410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49411         New file.
49412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49413         New file.
49414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49415         file: multiarch copysign for PowerPC32.
49416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49417         file: multiarch copysignf for PowerPC32.
49419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49420         and truncf multiarch implementations.
49421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49422         New file.
49423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49424         file.
49425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49426         multiarch trunc for PowerPC32.
49427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49428         New file.
49429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49430         New file.
49431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49432         multiarch truncf for PowerPC32.
49434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49435         and roundf multiarch implementations.
49436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49437         New file.
49438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49439         file.
49440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49441         multiarch round for PowerPC32.
49442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49443         New file.
49444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49445         New file.
49446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49447         multiarch roundf for PowerPC32.
49449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49450         and floorf multiarch implementations.
49451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49452         New file.
49453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49454         file.
49455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49456         multiarch floor for PowerPC32.
49457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49458         New file.
49459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49460         New file.
49461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49462         multiarch floorf for PowerPC32.
49464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49465         and ceilf multiarch implementations.
49466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49467         New file.
49468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49469         file.
49470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49471         multiarch ceil for PowerPC32.
49472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49473         New file.
49474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49475         file.
49476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49477         multiarch ceilf for PowerPC32.
49479         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49480         is defined.
49481         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49482         FINITEF is defined.
49483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49484         and finitef multiarch implementations.
49485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49486         New file.
49487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49488         file.
49489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49490         multiarch finite for PowerPC32.
49491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49492         New file.
49493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49494         file: multiarch finitef for PowerPC32.
49496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49497         and isinff multiarch implementations.
49498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49499         file.
49500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49501         file.
49502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49503         multiarch isinf for PowerPC32.
49504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49505         New file.
49506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49507         multiarch isinff for PowerPC32.
49509         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49510         alias when __isnan is defined.
49511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49512         and isnanf multiarch implementations.
49513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49514         file.
49515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49516         file.
49517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49518         file.
49519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49520         file.
49521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49522         multiarch isnan for PowerPC32.
49523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49524         New file.
49525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49526         New file.
49527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49528         multiarch isnanf for PowerPC32.
49530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49531         and sqrtf multiarch implementations.
49532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49533         file.
49534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49535         file.
49536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49537         multiarch sqrt for PowerPC32.
49538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49539         file.
49540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49541         file.
49542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49543         multiarch sqrtf for PowerPC32.
49545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49546         and llroundf multiarch implementations.
49547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49548         New file.
49549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49550         New file.
49551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49552         New file.
49553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49554         file: multiarch llround for PowerPC32.
49555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49556         file: multiarch llroundf for PowerPC32.
49558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49559         multiarch PowerPC32 fpu implementations.
49560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49561         New file.
49562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49563         New file.
49564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49565         multiarch llrint for PowerPC32.
49566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49567         New file.
49568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49569         New file.
49570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49571         file.
49573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49575         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49576         file.
49577         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49578         file.
49579         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49580         file.
49581         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49582         multiarch wordcopy for PPC32.
49583         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49584         wordcopy objects.
49585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49586         (__libc_ifunc_impl_list): Likewise.
49587         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49588         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49589         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49590         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49591         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49592         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49594         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49596         file.
49597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49598         file.
49599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49600         file.
49601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49602         multiarch wcscpy for PPC32.
49603         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49604         multiarch objects.
49605         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49606         (__libc_ifunc_impl_list): Likewise.
49607         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49608         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49609         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49610         sysdeps/powerpc/power6/wcscpy.c.
49612         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49614         file.
49615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49616         file.
49617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49618         file.
49619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49620         multiarch wcsrchr for PPC32.
49621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49622         multiarch objects.
49623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49624         (__libc_ifunc_impl_list): Likewise.
49625         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49626         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49627         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49628         sysdeps/powerpc/power6/wcsrchr.c.
49630         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49631         file.
49632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49633         file.
49634         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49636         multiarch wcschr for PPc32.
49637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49638         multiarch objects.
49639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49640         (__libc_ifunc_impl_list): Likewise.
49641         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49642         * sysdeps/powerpc/power6/wcschr.c: ... to here.
49643         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49644         sysdeps/powerpc/power6/wcschr.c.
49646         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49647         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49648         file.
49649         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49650         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49651         file: multiarch strchr for PPC32.
49652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49653         multiarch objects.
49654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49655         (__libc_ifunc_impl_list): Likewise.
49657         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49658         name.
49659         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49660         file.
49661         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49662         file.
49663         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49664         multiarch strchrnul for PPC32.
49665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49666         multiarch objects.
49667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49668         (__libc_ifunc_impl_list): Likewise.
49670         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49671         file.
49672         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49673         multiarch strncasecmp for PPC32.
49674         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49675         file.
49676         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49677         multiarch strncasecmp_l for PPC32.
49678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49679         strncasecmp multiarch objects.
49680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49681         (__libc_ifunc_impl_list): Likewise.
49683         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49684         file.
49685         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49686         multiarch strncasecmp for PPC32.
49687         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49688         New file.
49689         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49690         multiarch strcasecmp_l for PPC32.
49691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49692         multiarch objects.
49693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49694         (__libc_ifunc_impl_list): Likewise.
49696         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49697         file.
49698         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49699         file.
49700         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49701         multiarch strncmp for PPC32.
49702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49703         multiarch objects.
49704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49705         (__libc_ifunc_impl_list): Likewise.
49707         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49708         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49709         file.
49710         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49711         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49713         multiarch objects.
49714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49715         (__libc_ifunc_impl_list): Likewise.
49717         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49718         file.
49719         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49720         file.
49721         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49722         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49723         multiarch objects.
49724         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49725         (__libc_ifunc_impl_list): Likewise.
49727         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49728         file.
49729         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49730         file.
49731         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49732         multiarch rawmemchr for PPC32.
49733         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49734         multiarch objects.
49735         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49736         (__libc_ifunc_impl_list): Likewise.
49738         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49739         file.
49740         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49741         file.
49742         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49743         file: memrchr multiarch for PPC32.
49744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49745         multiarch objects.
49746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49747         (__libc_ifunc_impl_list): Likewise.
49749         * string/memchr.c (__memchr): Using macro to redefine symbol name.
49750         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49751         file.
49752         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49753         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49754         multiarch memchr for PPC32.
49755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49756         multiarch objects.
49757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49758         (__libc_ifunc_impl_list): Likewise.
49760         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49761         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49762         file.
49763         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49764         file.
49765         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49766         file: multiarch mempcpy for PPC32.
49767         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49768         multiarch objects.
49769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49770         (__libc_ifunc_impl_list): Likewise.
49772         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49773         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49774         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49775         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49776         multiarch bzero for PPC32.
49777         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49778         file.
49779         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49780         file.
49781         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49782         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49783         file: multiarch memset for PPC32.
49784         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49786         memset multiarch objects.
49787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49788         (__libc_ifunc_impl_list): Likewise.
49790         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49791         file.
49792         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49793         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49794         memcmp for PPC32.
49795         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49797         multiarch objects.
49798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49799         (__libc_ifunc_impl_list): Likewise.
49801         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49802         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49804         file.
49805         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49806         file.
49807         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49808         file.
49809         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49810         multiarch memcpy for PPC32.
49811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49812         multiarch objects.
49813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49814         (__libc_ifunc_impl_list): Likewise.
49816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49817         support multiarch for POWER/PPC32.
49818         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49819         Likewise.
49820         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49822         Implies file to make multiarch folder appers before the fpu and
49823         default folder for power4 configuration.
49825 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49827         * scripts/bench.pl: Append volatile keyword to type.
49829 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49831         * sysdeps/sh/sotruss-lib.c: New file.
49832         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49834 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49838 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
49840         [BZ #6810]
49841         * math/w_tgamma.c: Include <errno.h>.
49842         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
49843         * math/w_tgammaf.c: Include <errno.h>.
49844         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
49845         * math/w_tgammal.c: Include <errno.h>.
49846         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
49847         * math/auto-libm-test-in: Do not allow missing errno on tgamma
49848         underflow.  Add more tgamma tests.
49849         * math/auto-libm-test-out: Regenerated.
49850         * sysdeps/i386/fpu/libm-test-ulps: Update.
49851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49853         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49854         sin, sinh, tan, tanh, tgamma, y0 and y1.
49855         * math/auto-libm-test-out: Regenerated.
49856         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49857         (TEST_COND_x86): Likewise.
49858         (M_E2l): Remove macro.
49859         (M_E3l): Likewise.
49860         (M_2_SQRT_PIl): Likewise.
49861         (M_SQRT_PIl): Likewise.
49862         (M_1_DIV_El): Likewise.
49863         (log_test_data): Use AUTO_TESTS_f_f.
49864         (log10_test_data): Likewise.
49865         (log1p_test_data): Likewise.
49866         (log2_test_data): Likewise.
49867         (sin_test_data): Likewise.
49868         (sin_tonearest_test_data): Likewise.
49869         (sin_towardzero_test_data): Likewise.
49870         (sin_downward_test_data): Likewise.
49871         (sin_upward_test_data): Likewise.
49872         (sinh_test_data): Likewise.
49873         (sinh_tonearest_test_data): Likewise.
49874         (sinh_towardzero_test_data): Likewise.
49875         (sinh_downward_test_data): Likewise.
49876         (sinh_upward_test_data): Likewise.
49877         (tan_test_data): Likewise.
49878         (tan_tonearest_test_data): Likewise.
49879         (tan_towardzero_test_data): Likewise.
49880         (tan_downward_test_data): Likewise.
49881         (tan_upward_test_data): Likewise.
49882         (tanh_test_data): Likewise.
49883         (tgamma_test_data): Likewise.
49884         (y0_test_data): Likewise.
49885         (y1_test_data): Likewise.
49886         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49887         (special_real_inputs): Add pi/4.
49888         * sysdeps/i386/fpu/libm-test-ulps: Update.
49889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49891 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49893         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49894         "longjmp_target" static probes.
49895         (__longjmp): Rename to __longjmp_symbol.
49896         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49897         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49898         on which longjmp to generate.
49899         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49900         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49901         probe.
49902         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49903         (__sigjmp_save): Rename to __sigjmp_save_symbol.
49904         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49905         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49906         and __sigjmp_save_symbol based on which sigsetjmp to generated.
49907         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49909         __longjmp_symbol based on which __longjmp to generate.
49910         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49911         probe.
49912         (setjmp): Rename to setjmp_symbol.
49913         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49914         (_setjmp): Rename to _setjmp_symbol.
49915         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49916         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49917         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49918         which setjmp to generate.
49919         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49920         "longjmp_target" static probes.
49922 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49924         * benchtests/README: Add note about output arguments.
49925         * benchtests/bench-sincos.c: Remove file.
49926         * benchtests/sincos-inputs: New file.
49927         * scripts/bench.pl: Identify output arguments and define
49928         static variables for them.
49930         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49932         [BZ #15941]
49933         * Makefile (INSTALL): Add install-plain.texi as the primary
49934         dependency.
49935         * manual/install-plain.texi: New file.
49936         * manual/install.texi: Include node directive only for
49937         non-plaintext output.
49939 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
49941         * stdlib/longlong.h: Update from GCC.
49943         [BZ #6807]
49944         [BZ #15901]
49945         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49946         * math/w_j0f.c (y0f): Likewise.
49947         * math/w_j0l.c (__y0l): Likewise.
49948         * math/w_j1.c (y1): Likewise.
49949         * math/w_j1f.c (y1f): Likewise.
49950         * math/w_j1l.c (__y1l): Likewise.
49951         * math/w_jn.c (yn): Likewise.
49952         * math/w_jnf.c (ynf): Likewise.
49953         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49954         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
49955         value for Bessel function domain errors outside _SVID_ mode.
49956         Adjust sign of return value for yn (negative integer, 0).
49957         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49958         by zero in return for negative x and set sign appropriately for
49959         negative n.
49960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49961         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49962         * math/libm-test.inc (y0_test_data): Add more tests and adjust
49963         expectations in error cases.
49964         (y1_test_data): Likewise.
49965         (yn_test_data): Likewise.
49966         * sysdeps/i386/fpu/libm-test-ulps: Update.
49967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49969 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49971         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49972         "64" to "64-v1".  Add "64-v2".
49973         (abi-64-options): Rename to ...
49974         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
49975         (abi-64-condition): Rename to ...
49976         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
49977         (abi-64-ld-soname): Rename to ...
49978         (abi-64-v1-ld-soname): ... this.
49979         (abi-64-v2-options): Define.
49980         (abi-64-v2-condition): Likewise.
49981         (abi-64-v2-ld-soname): Likewise.
49982         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49983         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49988 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49989             Alan Modra  <amodra@gmail.com>
49991         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49992         New versions for use with the ELFv2 ABI.
49993         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49994         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49995         declaration.
49996         (struct La_ppc64v2_retval): Likewise.
49997         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49998         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49999         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
50000         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
50001         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
50002         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50003         Do not save or restore CR.
50004         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
50005         (_dl_profile_resolve): Do no save or restore CR.  Support extended
50006         return values for ELFv2 ABI.  Fix location of FPR return registers.
50007         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
50008         updated values for _CALL_ELF == 2.
50009         (La_regs, La_retval, int_retval): Likewise.
50011 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50013         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
50014         (FRAME_MIN_SIZE_PARM): Likewise.
50015         (FRAME_BACKCHAIN): Likewise.
50016         (FRAME_CR_SAVE): Likewise.
50017         (FRAME_LR_SAVE): Likewise.
50018         (FRAME_TOC_SAVE): Likewise.
50019         (FRAME_PARM_SAVE): Likewise.
50020         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
50021         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
50022         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50023         (call_mcount_parm_offset): New macro.
50024         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
50025         (PROF): Use symbolic stack frame offsets.
50026         (TAIL_CALL_SYSCALL_ERROR): Likewise.
50027         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
50028         Redefine in terms of FRAME_MIN_SIZE.
50029         (_dl_runtime_resolve): Use symbolic stack frame offsets.
50030         (_dl_profile_resolve): Likewise.  Update comment.
50031         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
50032         symbols stack frame offsets.
50033         (__sigsetjmp): Likewise.
50034         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
50035         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
50036         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
50037         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
50039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
50040         (FRAME_BACKCHAIN): Remove.
50041         (FRAME_CR_SAVE): Likewise.
50042         (FRAME_LR_SAVE): Likewise.
50043         (FRAME_COMPILER_DW): Likewise.
50044         (FRAME_LINKER_DW): Likewise.
50045         (FRAME_TOC_SAVE): Likewise.
50046         (FRAME_PARM_SAVE): Likewise.
50047         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
50048         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
50049         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
50051         (CHECK_SP): Use symbolic stack frame offsets.
50052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
50053         zone" instead of caller's parameter save area for temp storage.
50054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50055         Likewise.  Also, use symbolic stack frame offsets.
50056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
50057         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
50058         our own stack frame instead of the caller's.
50059         (__socket): Use symbolic stack frame offsets.
50061 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50062             Alan Modra  <amodra@gmail.com>
50064         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
50065         Define.
50066         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
50067         (PPC64_LOCAL_ENTRY_OFFSET): Define.
50068         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
50069         New function.
50070         (elf_machine_fixup_plt): Call it.
50071         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
50072         reloc arguments.
50073         (elf_machine_rela): Update call to elf_machine_plt_conflict.
50074         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50075         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
50076         r2 before calling target.
50078 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50079             Alan Modra  <amodra@gmail.com>
50081         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
50082         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
50083         versions of macros to support ELFv2 ABI.
50084         (LOCALENTRY): New macro.
50085         (ENTRY, EALIGN): Use it.
50086         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
50087         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
50088         fall through into ENTRY entry point.
50089         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
50090         Only define if _CALL_ELF != 2.
50092         (elf_machine_matches_host): Verify ABI version matches.
50093         (RTLD_START): Use LOCALENTRY.
50094         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
50095         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
50096         (PLT_ENTRY_WORDS): New macro.
50097         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
50098         (elf_machine_runtime_setup): Support ELFv2 ABI.
50099         (elf_machine_fixup_plt): Likewise.
50100         (elf_machine_plt_conflict): Likewise.
50101         (resolve_ifunc): Likewise.
50102         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50103         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50104         Likewise.
50105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
50106         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
50107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50108         (makecontext): Support ELFv2 ABI.
50109         * elf/elf.h (EF_PPC64_ABI): Define.
50111 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50113         * sysdeps/powerpc/powerpc64/sysdep.h
50114         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
50115         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
50116         (ENTRY) [ASSEMBLER]: ... but instead here ...
50117         (EALIGN) [ASSEMBLER]: ... and here.
50118         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
50119         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
50120         (ENTRY_2) [!ASSEMBLER]: Use it.
50121         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
50122         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
50123         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50124         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
50125         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
50126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
50127         Use PPC64_LOAD_FUNCPTR.
50129         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
50131 2013-12-04  Alan Modra  <amodra@gmail.com>
50133         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
50134         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
50135         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
50136         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
50138         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
50139         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
50140         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
50141         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
50142         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
50143         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
50145 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50148         (__makecontext): Fix incorrect CFI when backtracing out of
50149         context created via makecontext.
50150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
50151         (__setcontext): Fix incorrect CFI during switch to new context.
50152         (__novec_setcontext): Likewise.
50154 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
50156         [BZ #4772]
50157         * time/strptime_l.c (__strptime_internal): Allow modifiers
50158         in strptime.
50159         * time/tst-strptime.c (day_tests): Add testcase.
50161 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50163         * scripts/bench.pl: Skip over blank lines.
50165 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
50167         [BZ #926]
50168         * manual/time.texi (Calendar Time): Clarify what timezone functions
50169         use.
50171 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50175 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
50177         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
50178         implementation.
50179         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
50180         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
50181         * debug/memset_chk.c (__memset_chk): Likewise.
50182         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
50183         * debug/strncpy_chk.c: Likewise.
50185 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50187         [BZ #15268]
50188         [BZ #15425]
50189         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50190         (__ieee754_exp): For possibly underflowing results, check size of
50191         result and force underflow exception if required.
50192         * math/auto-libm-test-in: Add more tests of exp.
50193         * math/auto-libm-test-out: Regenerated.
50194         * sysdeps/i386/fpu/libm-test-ulps: Update.
50195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50197         [BZ #16283]
50198         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50199         * math/w_exp2f.c (__exp2f): Likewise.
50200         * math/w_exp2l.c (__exp2l): Likewise.
50201         * math/auto-libm-test-in: Do not allow missing errno on exp2
50202         underflow.
50203         * math/auto-libm-test-out: Regenerated.
50205 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
50207         [BZ #16274]
50208         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50209         handle filename validation.
50210         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50211         (do_open): Delete.
50213 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50215         [BZ #6786]
50216         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50217         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50218         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50219         <float.h>.
50220         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50221         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50222         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50223         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50224         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50225         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50226         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50227         * math/auto-libm-test-in: Don't allow missing errno from erfc.
50228         Add more erfc tests.
50229         * math/auto-libm-test-out: Regenerated.
50230         * sysdeps/i386/fpu/libm-test-ulps: Update.
50231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50233         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50234         exp2, expm1, j0 and j1.
50235         * math/auto-libm-test-out: Regenerated.
50236         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50237         (erfc_test_data): Likewise.
50238         (exp_test_data): Likewise.
50239         (exp_tonearest_test_data): Likewise.
50240         (exp_towardzero_test_data): Likewise.
50241         (exp_downward_test_data): Likewise.
50242         (exp_upward_test_data): Likewise.
50243         (exp10_test_data): Likewise.
50244         (exp2_test_data): Likewise.
50245         (expm1_test_data): Likewise.
50246         (j0_test_data): Likewise.
50247         (j1_test_data): Likewise.
50248         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50249         (input_flag_type): Add flag_xfail_rounding.
50250         (input_flags): Add xfail-rounding.
50251         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50252         (output_for_one_input_case): Handle flag_xfail_rounding.
50253         * sysdeps/i386/fpu/libm-test-ulps: Update.
50254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50256 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
50258         [BZ #16289]
50259         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50260         division by 0.
50262 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50264         [BZ #16195]
50265         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50266         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50267         (STAP_PROBE0): New macro.
50268         (STAP_PROBE1): Likewise.
50269         (STAP_PROBE2): Likewise.
50270         (STAP_PROBE3): Likewise.
50271         (STAP_PROBE4): Likewise.
50273 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
50275         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50277 2013-12-02  Steve Ellcey  <sellcey@mips.com>
50279         * benchtests/Makefile (bench): Add sqrt.
50280         (LDLIBS-bench-sqrt): New.
50281         * benchtests/sqrt-input: New.
50283 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
50285         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50286         (GAIH_EAI): Likewise.
50287         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50288         (gaih_inet): Likewise.
50289         (getaddrinfo): Don't use GAIH_EAI.
50291         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50292         (struct gaih): Remove definition.
50294 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50296         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50297         Use HERRNOP directly.
50299 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50303 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
50305         * math/gen-auto-libm-tests.c (test_functions): Add more
50306         single-argument functions.
50307         (special_fill_pi_2): New function.
50308         (special_fill_minus_pi_2): Likewise.
50309         (special_fill_pi_6): Likewise.
50310         (special_fill_minus_pi_6): Likewise.
50311         (special_fill_pi_3): Likewise.
50312         (special_fill_2pi_3): Likewise.
50313         (special_fill_e): Likewise.
50314         (special_fill_1_e): Likewise.
50315         (special_fill_e_minus_1): Likewise.
50316         (special_real_inputs): Add more special inputs.
50317         (output_for_one_input_case): Do not require ERANGE on underflow to
50318         zero if round-to-nearest result does not underflow to zero, unless
50319         exact results required.
50320         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50321         atan, atanh, cbrt, cos and cosh.
50322         * math/auto-libm-test-out: Regenerated.
50323         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50324         (acos_tonearest_test_data): Likewise.
50325         (acos_towardzero_test_data): Likewise.
50326         (acos_downward_test_data): Likewise.
50327         (acos_upward_test_data): Likewise.
50328         (acosh_test_data): Likewise.
50329         (asin_test_data): Likewise.
50330         (asin_tonearest_test_data): Likewise.
50331         (asin_towardzero_test_data): Likewise.
50332         (asin_upward_test_data): Likewise.
50333         (asinh_test_data): Likewise.
50334         (atan_test_data): Likewise.
50335         (atanh_test_data): Likewise.
50336         (cbrt_test_data): Likewise.
50337         (cos_test_data): Likewise.
50338         (cos_tonearest_test_data): Likewise.
50339         (cos_towardzero_test_data): Likewise.
50340         (cos_downward_test_data): Likewise.
50341         (cos_upward_test_data): Likewise.
50342         (cosh_test_data): Likewise.
50343         (cosh_tonearest_test_data): Likewise.
50344         (cosh_towardzero_test_data): Likewise.
50345         (cosh_downward_test_data): Likewise.
50346         (cosh_upward_test_data): Likewise.
50347         * sysdeps/i386/fpu/libm-test-ulps: Update.
50348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50350 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
50352         [BZ #6787]
50353         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50354         * math/w_exp10f.c (__exp10f): Likewise.
50355         * math/w_exp10l.c (__exp10l): Likewise.
50356         * math/libm-test.inc (exp10_test_data): Add more tests and expect
50357         errno settings in existing tests.
50359         [BZ #14032]
50360         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50361         precision control set to double precision.
50362         * sysdeps/i386/fpu/w_sqrt.c: New file.
50363         * math/auto-libm-test-in: Add more tests.
50364         * math/auto-libm-test-out: Update.
50366         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50367         (sqrt_test_tonearest): New function.
50368         (sqrt_towardzero_test_data): New variable.
50369         (sqrt_test_towardzero): New function.
50370         (sqrt_downward_test_data): New variable.
50371         (sqrt_test_downward): New function.
50372         (sqrt_upward_test_data): New variable.
50373         (sqrt_test_upward): New function.
50374         (main): Call the new functions.
50376         * math/gen-auto-libm-tests.c: New file.
50377         * math/auto-libm-test-in: Likewise.
50378         * math/auto-libm-test-out: New generated file.
50379         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50380         variables.
50381         (%beautify): Add generated representations of zero.
50382         (top level): Set $auto_input and call parse_auto_input.
50383         (beautify): Remove trailing "f" from hex float constants.
50384         (parse_args): Handle XFAIL_TEST.
50385         (convert_condition): New function.
50386         (or_value): Likewise.
50387         (or_cond_value): Likewise.
50388         (generate_testfile): Handle AUTO_TESTS_* lines.
50389         (parse_auto_input): New function.
50390         * math/libm-test.inc (XFAIL_TEST): New macro.
50391         (ERRNO_UNCHANGED): Update value.
50392         (ERRNO_EDOM): Likewise.
50393         (ERRNO_ERANGE): Likewise.
50394         (IGNORE_RESULT): Likewise.
50395         (TEST_COND_flt_32): New macro.
50396         (TEST_COND_dbl_64): Likewise.
50397         (TEST_COND_ldbl_96_intel): Likewise.
50398         (TEST_COND_ldbl_96_m68k): Likewise.
50399         (TEST_COND_ldbl_128): Likewise.
50400         (TEST_COND_ldbl_128ibm): Likewise.
50401         (TEST_COND_long32): Likewise.
50402         (TEST_COND_long64): Likewise.
50403         (TEST_COND_before_rounding): Likewise.
50404         (TEST_COND_after_rounding): Likewise.
50405         (enable_test): Handle XFAIL_TEST flag.
50406         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50407         with finite results.
50408         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50409         auto-libm-test-out.
50411 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50412             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50414         [BZ #16214]
50415         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50416         __tls_get_addr_internal instead of __tls_get_offset in order to
50417         avoid GOT pointer dependency.  Make rtld export
50418         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50419         __tls_get_addr since we are a __tls_get_offset platform.
50420         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50421         GOT pointer being set up before.
50422         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50424 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
50426         * manual/math.texi (Errors in Math Functions): Document accuracy
50427         goals.
50429         [BZ #15004]
50430         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50431         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50432         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50433         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50434         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50435         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50436         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50437         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50438         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50439         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50440         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50441         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50442         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50443         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50444         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50445         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50447         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50448         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50449         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50450         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50451         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50452         Likewise.
50453         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50454         Likewise.
50455         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50456         Likewise.
50457         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50458         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50459         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50460         atomic-feupdateenv and flt-rounds.
50461         * sysdeps/powerpc/nofpu/Versions (libc): Add
50462         __atomic_feholdexcept, __atomic_feclearexcept,
50463         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50464         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50465         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50466         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50467         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50468         here.
50469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50470         Update.
50472         * manual/arith.texi (FP Exceptions): Document that exceptions may
50473         not be raised when matherr is used.
50474         (Math Error Reporting): Document overflow in directed rounding
50475         modes.  Document that errno may not be set when finite values are
50476         returned on overflow.  Document intent to set errno on underflow
50477         only for underflow to zero.
50479         [BZ #16271]
50480         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50481         round-to-nearest then adjust result for other rounding modes.
50482         * include/fenv.h (fegetround): Use libm_hidden_proto.
50483         * math/fegetround.c (fegetround): Use libm_hidden_def.
50484         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50485         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50486         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50487         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50488         Likewise.
50489         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50490         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50491         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50492         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50494 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50496         [BZ #16077]
50497         * nss/Versions (libnss_files): Add
50498         _nss_files_gethostbyname3_r.
50499         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50500         New function.
50501         (HOST_DB_LOOKUP): Remove macro.
50502         (_nss_files_gethostbyname_r): Implement function without the
50503         HOST_DB_LOOKUP macro.
50504         (_nss_files_gethostbyname2_r): Likewise.
50506 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
50508         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50510 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
50512         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50513         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50514         warning.
50516 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50518         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50519         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50520         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50521         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50522         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50523         __fe_nomask_env_priv and attribute_hidden.
50524         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50525         (libc_feupdateenv_test_ppc): Likewise.
50526         (libc_feresetround_ppc): Likewise.
50527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50528         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50529         compat_symbol macro.
50530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50531         (__fe_nomask_env): Likewise.
50532         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50534 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50536         * string/Makefile: Remove ifunc tests.
50537         * string/test-string.h: Define TEST_IFUNC.
50538         * string/test-bcopy-ifunc.c: Remove.
50539         * string/test-bzero-ifunc.c: Likewise.
50540         * string/test-memccpy-ifunc.c: Likewise.
50541         * string/test-memchr-ifunc.c: Likewise.
50542         * string/test-memcmp-ifunc.c: Likewise.
50543         * string/test-memcpy-ifunc.c: Likewise.
50544         * string/test-memmem-ifunc.c: Likewise.
50545         * string/test-memmove-ifunc.c: Likewise.
50546         * string/test-mempcpy-ifunc.c: Likewise.
50547         * string/test-memrchr-ifunc.c: Likewise.
50548         * string/test-memset-ifunc.c: Likewise.
50549         * string/test-rawmemchr-ifunc.c: Likewise.
50550         * string/test-stpcpy-ifunc.c: Likewise.
50551         * string/test-stpncpy-ifunc.c: Likewise.
50552         * string/test-strcasecmp-ifunc.c: Likewise.
50553         * string/test-strcasestr-ifunc.c: Likewise.
50554         * string/test-strcat-ifunc.c: Likewise.
50555         * string/test-strchr-ifunc.c: Likewise.
50556         * string/test-strchrnul-ifunc.c: Likewise.
50557         * string/test-strcmp-ifunc.c: Likewise.
50558         * string/test-strcpy-ifunc.c: Likewise.
50559         * string/test-strcspn-ifunc.c: Likewise.
50560         * string/test-strlen-ifunc.c: Likewise.
50561         * string/test-strncasecmp-ifunc.c: Likewise.
50562         * string/test-strncat-ifunc.c: Likewise.
50563         * string/test-strncmp-ifunc.c: Likewise.
50564         * string/test-strncpy-ifunc.c: Likewise.
50565         * string/test-strnlen-ifunc.c: Likewise.
50566         * string/test-strpbrk-ifunc.c: Likewise.
50567         * string/test-strrchr-ifunc.c: Likewise.
50568         * string/test-strspn-ifunc.c: Likewise.
50569         * string/test-strstr-ifunc.c: Likewise.
50571 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50573         * benchtests/Makefile: Remove ifunc tests.
50574         * benchtests/bench-string.h: Define TEST_IFUNC.
50575         * benchtests/bench-bcopy-ifunc.c: Remove.
50576         * benchtests/bench-bzero-ifunc.c: Likewise.
50577         * benchtests/bench-memccpy-ifunc.c: Likewise.
50578         * benchtests/bench-memchr-ifunc.c: Likewise.
50579         * benchtests/bench-memcmp-ifunc.c: Likewise.
50580         * benchtests/bench-memcpy-ifunc.c: Likewise.
50581         * benchtests/bench-memmem-ifunc.c: Likewise.
50582         * benchtests/bench-memmove-ifunc.c: Likewise.
50583         * benchtests/bench-mempcpy-ifunc.c: Likewise.
50584         * benchtests/bench-memrchr-ifunc.c: Likewise.
50585         * benchtests/bench-memset-ifunc.c: Likewise.
50586         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50587         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50588         * benchtests/bench-stpcpy-ifunc.c: Likewise.
50589         * benchtests/bench-stpncpy-ifunc.c: Likewise.
50590         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50591         * benchtests/bench-strcasestr-ifunc.c: Likewise.
50592         * benchtests/bench-strcat-ifunc.c: Likewise.
50593         * benchtests/bench-strchr-ifunc.c: Likewise.
50594         * benchtests/bench-strchrnul-ifunc.c: Likewise.
50595         * benchtests/bench-strcmp-ifunc.c: Likewise.
50596         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50597         * benchtests/bench-strcpy-ifunc.c: Likewise.
50598         * benchtests/bench-strcspn-ifunc.c: Likewise.
50599         * benchtests/bench-strlen-ifunc.c: Likewise.
50600         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50601         * benchtests/bench-strncat-ifunc.c: Likewise.
50602         * benchtests/bench-strncmp-ifunc.c: Likewise.
50603         * benchtests/bench-strncpy-ifunc.c: Likewise.
50604         * benchtests/bench-strnlen-ifunc.c: Likewise.
50605         * benchtests/bench-strpbrk-ifunc.c: Likewise.
50606         * benchtests/bench-strrchr-ifunc.c: Likewise.
50607         * benchtests/bench-strsep-ifunc.c: Likewise.
50608         * benchtests/bench-strspn-ifunc.c: Likewise.
50609         * benchtests/bench-strstr-ifunc.c: Likewise.
50611 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50613         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50615 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50617         * resolv/netdb.h: Use __glibc_reserved instead __unused.
50618         * rt/aio.h: Likewise.
50619         * sysdeps/gnu/bits/utmp.h: Likewise.
50620         * sysdeps/gnu/bits/utmpx.h: Likewise.
50621         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50622         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50623         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50624         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50625         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50626         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50627         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50628         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50629         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50630         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50631         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50632         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50633         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50635         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50636         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50637         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50638         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50639         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50640         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50641         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50642         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50643         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50644         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50645         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50646         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50647         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50648         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50649         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50650         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50651         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50652         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50653         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50654         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50655         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50656         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50657         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50658         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50659         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50660         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50661         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50662         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50664 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
50666         [BZ #16245]
50667         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50668         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50670 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
50672         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50673         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50674         Likewise.
50676 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50678         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50679         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50680         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50681         (__fesetround): Remove define.
50682         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50683         rounding and exceptions handling.
50684         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50685         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50686         (__fe_nomask_env): Likewise.
50687         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50688         __fegetround instead of fegetround.
50689         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50690         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50692 2013-11-21  Roland McGrath  <roland@hack.frob.com>
50694         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50695         it's there.
50697         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50699 2013-11-21  Meador Inge  <meadori@codesourcery.com>
50701         [BZ #11157]
50702         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50703         (encrypt_r): Likewise.
50704         * malloc/obstack.h (obstack_free): Likewise.
50705         * posix/unistd.h (encrypt): Likewise.
50707 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
50709         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50710         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50711         DL_CALL_DT_FINI() that call the functions directly.
50712         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50713         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50714         * elf/dl-fini.c: Likewise.
50716 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
50718         * malloc/hooks.c (memalign_check): Add alignment rounding.
50719         * malloc/malloc.c (_mid_memalign): New function.
50720         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50721         Implement by calling _mid_memalign.
50722         * manual/probes.texi (Memory Allocation Probes): Remove
50723         memory_valloc_retry and memory_pvalloc_retry.
50725 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50727         * locale/programs/locarchive.c (open_archive): Add const
50728         qualifier to ARCHIVEFNAME and copy default fname to
50729         DEFAULT_FNAME.
50731         [BZ #15601]
50732         * libio/tst-widetext.input: Rename Oriya to Odia.
50733         * locale/iso-639.def: Likewise.
50735         * manual/probes.texi (Mathematical Function Probes): Add
50736         documentation for sin, cos, asin and acos probes.
50737         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50738         (__sin32): Add slowasin probe.
50739         (__cos32): Add slowacos probe.
50740         (__mpsin): Add slowsin probe.
50741         (__mpcos): Add slowcos probe.
50743 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
50745         [BZ #15483]
50746         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50747         thread-local __sim_exceptions_thread and global
50748         __sim_exceptions_global.
50749         (__sim_disabled_exceptions): Change to thread-local
50750         __sim_disabled_exceptions_thread and global
50751         __sim_disabled_exceptions_global.
50752         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50753         and global __sim_round_mode_global.
50754         (__simulate_exceptions): Use thread-local floating-point state and
50755         set global state from it as needed.
50756         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50757         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50758         __sim_round_mode_thread.
50759         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50760         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50761         and global __sim_exceptions_global.
50762         (__sim_disabled_exceptions): Change to thread-local
50763         __sim_disabled_exceptions_thread and global
50764         __sim_disabled_exceptions_global.
50765         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50766         and global __sim_round_mode_global.
50767         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50768         (SIM_SET_GLOBAL): Likewise.
50769         * sysdeps/powerpc/soft-fp/sfp-machine.h
50770         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50771         __sim_round_mode_thread.
50772         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50773         __sim_disabled_exceptions_thread.
50774         (__sim_exceptions): Change to __sim_exceptions_thread.
50775         (__sim_disabled_exceptions): Change to
50776         __sim_disabled_exceptions_thread.
50777         (__sim_round_mode): Change to __sim_round_mode_thread.
50778         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50779         thread-local floating-point state and set global state from it as
50780         needed.
50781         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50782         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50783         (__sim_disabled_exceptions): Remove extern declaration.
50784         (feenableexcept): Use thread-local floating-point state and set
50785         global state from it as needed.
50786         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50787         extern declaration.
50788         (__sim_disabled_exceptions): Likewise.
50789         (__sim_round_mode): Likewise.
50790         (__fegetenv): Use thread-local floating-point state.
50791         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50792         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50793         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50794         floating-point state and set global state from it as needed.
50795         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50796         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50797         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50798         Likewise.
50799         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50800         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50801         Likewise.
50802         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50803         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50804         Use __sim_round_mode_thread.
50805         * math/test-fenv-tls.c: New file.
50806         * math/Makefile (tests): Add test-fenv-tls.
50807         ($(objpfx)test-fenv-tls): Depend on
50808         $(common-objpfx)nptl/libpthread.so.
50810 2013-11-19  Andreas Schwab  <schwab@suse.de>
50812         * locale/programs/locale.c (show_info): Decode wordarray elements.
50813         * locale/categories.def (LC_MONETARY): Add element for
50814         _NL_MONETARY_CRNCYSTR.
50815         * locale/C-monetary.c (conversion_rate): New variable.
50816         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50817         element.
50819 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
50821         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50822         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50824 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50826         * elf/Makefile (tst-auxv): New test.
50827         * elf/tst-auxv.c: New
50828         * elf/rtld.c (dl_main): Adjust AT_EXECFN
50830 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
50832         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50833         (hidden_proto): Caller changed.
50834         (hidden_tls_proto): New macro.
50835         (libc_hidden_tls_proto): Likewise.
50836         (rtld_hidden_tls_proto): Likewise.
50837         (libm_hidden_tls_proto): Likewise.
50838         (libresolv_hidden_tls_proto): Likewise.
50839         (librt_hidden_tls_proto): Likewise.
50840         (libdl_hidden_tls_proto): Likewise.
50841         (libnss_files_hidden_tls_proto): Likewise.
50842         (libnsl_hidden_tls_proto): Likewise.
50843         (libnss_nisplus_hidden_tls_proto): Likewise.
50844         (libutil_hidden_tls_proto): Likewise.
50846 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
50848         [BZ #10253]
50849         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50850         (decompose_rpath): Defer expansion to fillin_rpath.
50851         (_dl_init_paths): Pass linkmap to fillin_rpath.
50853 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50855         * benchtests/Makefile: Add strsep.
50856         * benchtests/bench-strsep.c: New file: strsep benchtest.
50857         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50859 2013-11-18  Andreas Schwab  <schwab@suse.de>
50861         * locale/programs/locale.c (show_info) [case byte]: Check for
50862         '\377' instead of '\177'.
50863         * locale/C-monetary.c (not_available): Always use "\377".
50864         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50865         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
50866         detect unavailable sign_posn locale elements.
50867         * locale/localeconv.c (__localeconv): For grouping and
50868         mon_grouping handle "\177" and "\377" like no grouping.
50869         (INT_ELEM): New macro.  Use it to set all numeric members.
50870         * locale/programs/ld-monetary.c (monetary_read)
50871         <tok_mon_grouping>: Normalize single -1 to the empty string.
50872         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50873         Likewise.
50875 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50877         [BZ #16055]
50878         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50879         when we match (nil).
50880         * stdio-common/tst-sscanf.c (struct test): Add testcase.
50882 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
50884         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50885         (NO_TEST_INLINE): Update value.
50886         (ERRNO_UNCHANGED): Likewise.
50887         (ERRNO_EDOM): Likewise.
50888         (ERRNO_ERANGE): Likewise.
50889         (IGNORE_RESULT): Likewise.
50890         (check_float_internal): Check signs of NaN results if
50891         TEST_NAN_SIGN used.
50892         (check_complex): Pass TEST_NAN_SIGN flag through to second
50893         check_float_internal call.
50894         (copysign_test_data): Add tests with quiet NaNs as second
50895         argument.  Use TEST_NAN_SIGN.
50896         (fabs_test_data): Add test of negative quiet NaN argument.  Use
50897         TEST_NAN_SIGN.
50898         (signbit_test_data): Add tests of quiet NaN argument.
50899         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50901         * math/gen-libm-test.pl (show_exceptions): Take extra argument
50902         $ignore_result.
50903         (parse_args): Handle function results specified as IGNORE.
50904         * math/libm-test.inc (IGNORE_RESULT): New macro.
50905         (check_float_internal): Do not check numerical result if flag
50906         IGNORE_RESULT set.
50907         (check_complex): Pass through IGNORE_RESULT to second
50908         check_float_internal call.
50909         (check_int): Do not check numerical result if flag IGNORE_RESULT
50910         set.
50911         (check_long): Likewise.
50912         (check_bool): Likewise.
50913         (check_longlong): Likewise.
50914         (lrint_test_data): Add tests of infinite and NaN arguments.
50915         (lrint_tonearest_test_data): Likewise.
50916         (lrint_towardzero_test_data): Likewise.
50917         (lrint_downward_test_data): Likewise.
50918         (lrint_upward_test_data): Likewise.
50919         (llrint_test_data): Likewise.
50920         (llrint_tonearest_test_data): Likewise.
50921         (llrint_towardzero_test_data): Likewise.
50922         (llrint_downward_test_data): Likewise.
50923         (llrint_upward_test_data): Likewise.
50924         (lround_test_data): Likewise.
50925         (llround_test_data): Likewise.
50927         * math/libm-test.inc (NO_TEST_INLINE): New macro.
50928         (ERRNO_UNCHANGED): Update value.
50929         (ERRNO_EDOM): Likewise.
50930         (ERRNO_ERANGE): Likewise.
50931         (NO_TEST_INLINE_FLOAT): New macro.
50932         (NO_TEST_INLINE_DOUBLE): Likewise.
50933         (enable_test): New function.
50934         (RUN_TEST_f_f): Check enable_test before running test.
50935         (RUN_TEST_2_f): Likewise.
50936         (RUN_TEST_fff_f): Likewise.
50937         (RUN_TEST_c_f): Likewise.
50938         (RUN_TEST_f_f1): Likewise.
50939         (RUN_TEST_fF_f1): Likewise.
50940         (RUN_TEST_fI_f1): Likewise.
50941         (RUN_TEST_ffI_f1): Likewise.
50942         (RUN_TEST_c_c): Likewise.
50943         (RUN_TEST_cc_c): Likewise.
50944         (RUN_TEST_f_i): Likewise.
50945         (RUN_TEST_f_i_tg): Likewise.
50946         (RUN_TEST_ff_i_tg): Likewise.
50947         (RUN_TEST_f_b): Likewise.
50948         (RUN_TEST_f_b_tg): Likewise.
50949         (RUN_TEST_f_l): Likewise.
50950         (RUN_TEST_f_L): Likewise.
50951         (RUN_TEST_fFF_11): Likewise.
50952         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50953         conditionals.
50954         (cosh_test_data): Likewise.
50955         (exp_test_data): Likewise.
50956         (expm1_test_data): Likewise.
50957         (hypot_test_data): Likewise.
50958         (pow_test_data): Likewise.
50959         (sinh_test_data): Likewise.
50960         (tanh_test_data): Likewise.
50961         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50962         flags argument.
50964         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50965         tests with quiet NaN input and output.
50966         (acosh_test_data): Likewise.
50967         (asin_test_data): Likewise.
50968         (asinh_test_data): Likewise.
50969         (atan_test_data): Likewise.
50970         (atanh_test_data): Likewise.
50971         (atan2_test_data): Likewise.
50972         (cbrt_test_data): Likewise.
50973         (cos_test_data): Likewise.
50974         (cosh_test_data): Likewise.
50975         (erf_test_data): Likewise.
50976         (erfc_test_data): Likewise.
50977         (exp_test_data): Likewise.
50978         (exp10_test_data): Likewise.
50979         (exp2_test_data): Likewise.
50980         (expm1_test_data): Likewise.
50981         (hypot_test_data): Likewise.
50982         (j0_test_data): Likewise.
50983         (j1_test_data): Likewise.
50984         (jn_test_data): Likewise.
50985         (lgamma_test_data): Likewise.
50986         (log_test_data): Likewise.
50987         (log10_test_data): Likewise.
50988         (log1p_test_data): Likewise.
50989         (log2_test_data): Likewise.
50990         (pow_test_data): Likewise.
50991         (scalb_test_data): Likewise.
50992         (sin_test_data): Likewise.
50993         (sincos_test_data): Likewise.
50994         (sinh_test_data): Likewise.
50995         (tan_test_data): Likewise.
50996         (tanh_test_data): Likewise.
50997         (tgamma_test_data): Likewise.
50998         (y0_test_data): Likewise.
50999         (y1_test_data): Likewise.
51000         (yn_test_data): Likewise.
51002         [BZ #16167]
51003         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
51004         argument being NaN and avoid computations with second argument in
51005         that case.
51006         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51007         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
51008         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51010 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
51012         * locale/iso-639.def: Add Chitwani Tharu (the).
51014 2013-11-14  Andreas Schwab  <schwab@suse.de>
51016         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
51017         word instead of empty string.
51019 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51022         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
51023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51024         (__fe_nomask_env): Likewise.
51026 2013-11-13  Steve Ellcey  <sellcey@mips.com>
51028         * benchtests/bench-timing.h: Include time.h.
51030 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
51032         [BZ #15997]
51033         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
51034         to 3.4.0 for x32.
51035         * sysdeps/unix/sysv/linux/configure: Regenerated.
51037 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
51039         [BZ #16151]
51040         * stdlib/strtod_l.c (round_and_return): Do not consider
51041         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
51042         exponent one less than half the least subnormal exponent.
51043         * stdlib/test-strtod-round-data: Add more tests.
51044         * stdlib/tst-strtod-round.c (tests): Regenerated.
51046 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51048         [BZ #14143]
51049         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51050         (__fe_mask_env): Likewise.
51051         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
51052         libm_hidden_proto and add function prototype.
51053         (__fe_mask_env): Add function prototype.
51054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51055         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
51056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51057         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
51058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51059         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
51061 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51063         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51064         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
51066 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51068         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51069         of htab_find_slot().
51071 2013-11-11  David S. Miller  <davem@davemloft.net>
51073         [BZ #16150]
51074         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
51075         symbol in the non-vis3 case in static builds.
51076         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
51077         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
51078         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
51079         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
51081 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
51083         [BZ #387]
51084         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
51085         it is empty.
51087 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51089         * benchtests/Makefile: Add bench-strtod.
51090         * benchtests/bench-strtod.c: New file: strtod benchtest
51092 2013-11-11  Andreas Schwab  <schwab@suse.de>
51094         [BZ #16153]
51095         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51096         terminating NUL in key length.
51098 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51100         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51101         Add artificial ODP entry for vDSO symbol for PPC64.
51102         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
51103         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
51105 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
51107         [BZ #15374]
51108         * nss/getent.c (services_keys): Recognize services starting with digit.
51110 2013-11-06  David S. Miller  <davem@davemloft.net>
51112         [BZ #15985]
51113         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
51114         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
51116 2013-11-06  Will Newton  <will.newton@linaro.org>
51118         * manual/memory.texi (Malloc Examples): Remove register
51119         keyword from examples.
51121 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
51123         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
51125 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
51127         [BZ #6981]
51128         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
51129         depending on [__GCC_IEC_559 > 0].
51130         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
51131         depending on [__GCC_IEC_559_COMPLEX > 0].
51133 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
51135         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
51136         to iso-639.def.
51138 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
51140         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
51142 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
51144         [BZ #16112]
51145         * malloc/malloc (malloc_info): Do not handle first bin as
51146         special case.
51148 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
51150         * locale/iso-639.def: Add Central Nahuatl (nhn).
51152 2013-11-01  Bruno Haible  <bruno@clisp.org>
51154         [BZ #7003]
51155         * manual/math.texi (BSD Random): Specify range upper bound as
51156         in POSIX.
51158 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
51160         * locale/iso-639.def: Add Meadow Mari (mhr).
51162 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
51164         [BZ #14752], [BZ #15763]
51165         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
51166         Validate name.
51167         * rt/tst_shm.c: Add test for escaping directory.
51169 2013-10-31  Andreas Schwab  <schwab@suse.de>
51171         [BZ #15917]
51172         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
51173         followed by 'x' as part of digit sequence.
51174         * stdio-common/tst-sscanf.c (double_tests2): New tests.
51176 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
51178         [BZ #16037]
51179         * configure.ac: allow GNU Make 4.0 and greater.
51180         * configure: Regenerated.
51182 2013-10-30  Will Newton  <will.newton@linaro.org>
51184         [BZ #16038]
51185         * malloc/hooks.c (memalign_check): Limit alignment to the
51186         maximum representable power of two.
51187         * malloc/malloc.c (__libc_memalign): Likewise.
51188         * malloc/tst-memalign.c (do_test): Add test for very
51189         large alignment values.
51190         * malloc/tst-posix_memalign.c (do_test): Likewise.
51192 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51194         [BZ #11087]
51195         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51196         (munmap_chunk): Likewise.
51197         (mremap_chunk): Likewise.
51199 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51201         [BZ #15799]
51202         * stdlib/div.c (div): Remove obsolete code.
51203         * stdlib/ldiv.c (ldiv): Likewise.
51204         * stdlib/lldiv.c (lldiv): Likewise.
51206 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51208         [BZ #16071]
51209         * nss/nss_files/files-XXX.c (get_contents_ret): New
51210         enumerator.
51211         (get_contents): New function.
51212         (internal_getent): Use it.  Expand size of LINEBUFLEN.
51214 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
51216         * configure.in: Moved to ...
51217         * configure.ac: ... here. Change reference to configure.in
51218         to configure.ac.
51219         * sysdeps/arm/preconfigure.ac: ... here.
51220         configure.in to configure.ac.
51221         * sysdeps/gnu/configure.in: Moved to ...
51222         * sysdeps/gnu/configure.ac: ... here.
51223         * sysdeps/i386/configure.in: Moved to ...
51224         * sysdeps/i386/configure.ac: ... here.
51225         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51226         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51227         * sysdeps/mach/configure.in: Moved to ...
51228         * sysdeps/mach/configure.ac: ... here.
51229         * sysdeps/mach/hurd/configure.in: Moved to ...
51230         * sysdeps/mach/hurd/configure.ac: ... here.
51231         * sysdeps/powerpc/configure.in: Moved to ...
51232         * sysdeps/powerpc/configure.ac: ... here.
51233         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51234         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51235         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51236         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51237         * sysdeps/s390/s390-32/configure.in: Moved to ...
51238         * sysdeps/s390/s390-32/configure.ac: ... here.
51239         * sysdeps/s390/s390-64/configure.in: Moved to ...
51240         * sysdeps/s390/s390-64/configure.ac: ... here.
51241         * sysdeps/sh/configure.in: Moved to ...
51242         * sysdeps/sh/configure.ac: ... here.
51243         * sysdeps/sparc/configure.in: Moved to ...
51244         * sysdeps/sparc/configure.ac: ... here.
51245         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51246         * sysdeps/unix/sysv/linux/configure.ac: ... here.
51247         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51248         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51249         * sysdeps/x86_64/configure.in: Moved to ...
51250         * sysdeps/x86_64/configure.ac: ... here.
51251         * sysdeps/x86_64/preconfigure.in: Moved to ...
51252         * sysdeps/x86_64/preconfigure.ac: ... here.
51253         * aclocal.m4: Change reference to configure.in to configure.ac.
51254         * config.h.in: Likewise.
51255         * manual/install.texi: Likewise.
51256         * manual/maint.texi: Likewise.
51257         * Makefile: Likewise.
51258         * malloc/Makefile: Likewise.
51259         * nscd/Makefile: Likewise.
51260         * Makeconfig: Change reference to configure.in and
51261         preconfigure.in to configure.ac and preconfigure.ac
51262         respectively.
51263         * INSTALL: Regenerated.
51264         * configure: Likewise.
51265         * sysdeps/gnu/configure: Likewise.
51266         * sysdeps/i386/configure: Likewise.
51267         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51268         * sysdeps/mach/configure: Likewise.
51269         * sysdeps/mach/hurd/configure: Likewise.
51270         * sysdeps/powerpc/configure: Likewise.
51271         * sysdeps/powerpc/powerpc32/configure: Likewise.
51272         * sysdeps/powerpc/powerpc64/configure: Likewise.
51273         * sysdeps/s390/s390-32/configure: Likewise.
51274         * sysdeps/s390/s390-64/configure: Likewise.
51275         * sysdeps/sh/configure: Likewise.
51276         * sysdeps/sparc/configure: Likewise.
51277         * sysdeps/unix/sysv/linux/configure: Likewise.
51278         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51279         * sysdeps/x86_64/configure: Likewise.
51280         * sysdeps/x86_64/preconfigure: Likewise.
51282 2013-10-29  Andreas Schwab  <schwab@suse.de>
51284         * stdio-common/Makefile (tst-swscanf-ENV): Define.
51286 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51288         * benchtests/pow-inputs: Add new inputs.
51290         * benchtests/exp-inputs: Add new inputs.
51292         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51293         conditional check for return value.
51294         (__cos32): Likewise.
51296 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51298         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51299         to provide a boost for large inputs with word alignment.
51300         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51301         implementation based on optimized PPC64 strcpy.
51302         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51303         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51304         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51305         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51307 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51309         [BZ #2801]
51310         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51312 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51314         [BZ #14876]
51315         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51316         * time/tst-strptime.c (day_tests): Add testcase.
51318 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51320         [BZ #14029]
51321         * manual/pattern.texi: Acknowledge that fnmatch can fail.
51323 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
51325         [BZ #16074]
51326         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51327         MAP_FAILED on error.
51329 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51331         [BZ #16072]
51332         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51333         heap for large requests.
51335 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
51337         [BZ #9954]
51338         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51339         result if the result has no associated interface.
51340         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51341         interface for all 127.X.Y.Z addresses.
51343 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
51345         * locale/iso-639.def: Add Ligurian (lij)
51347 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
51349         [BZ #15825]
51350         * sunrpc/rpc_main.c: Document rpcgen -5.
51352 2013-10-19  Michael Stahl  <mstahl@redhat.com>
51354         * elf/rtld.c (do_preload): Print the reason why preloading failed.
51356 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51358         [BZ #10278]
51359         * posix/glob.c: Match only directories when trailing slash is present.
51360         * posix/tst-gnuglob.c (my_opendir): Do not open files.
51361         (main): Add testcase.
51363 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51365         [BZ #15670]
51366         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51368 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
51370         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51371         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51372         AUTH_DES and cindex for FIPS 140-2.
51373         (DES Encryption): Add cindex FIPS 46-3.
51375         * locale/locarchive.h (struct locarhandle): Add fname.
51376         * locale/programs/localedef.c (main): Pass ARGV[remaining]
51377         if an optional argument was specified to --list-archive,
51378         otherwise NULL.
51379         * locale/programs/locarchive.c (show_archive_content): Take new
51380         argument fname and pass it via ah.fname to open_archive.
51381         * locale/programs/localedef.h: Update decl.
51382         (open_archive): If AH->fname is non-null, open that file
51383         rather than the default file name, and don't ignore ENOENT.
51384         (create_archive): Set AH.fname to NULL.
51385         (delete_locales_from_archive): Likewise.
51386         (add_locales_to_archive): Likewise.
51387         * locale/programs/locfile.c (write_all_categories): Likewise.
51389 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
51390             Aldy Hernandez  <aldyh@redhat.com>
51392         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51393         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51394         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51395         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51396         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51397         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51398         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51399         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51400         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51401         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51402         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51403         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51404         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51405         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51406         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51407         Likewise.
51408         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51409         Likewise.
51410         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51411         Likewise.
51412         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51413         Likewise.
51414         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51415         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51416         Likewise.
51417         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51418         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51419         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51420         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51421         Likewise.
51422         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51423         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51424         * sysdeps/powerpc/preconfigure: Likewise.
51425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51426         Likewise.
51427         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51428         Replace contents of file by #include of <fenv_libc.h>.
51429         * sysdeps/powerpc/soft-fp/sfp-machine.h
51430         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51431         and <sys/prctl.h>.
51432         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51433         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51434         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51435         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51436         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51437         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51439         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51440         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51441         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51442         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51443         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51445         Allow copysignl PLT reference to be missing.
51447 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
51448             Joseph Myers  <joseph@codesourcery.com
51450         [BZ #15948]
51451         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51452         single character.
51453         (add_to_tablewc): Assert sequence of wide characters is nonempty.
51455 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51457         * elf/tst-tls-dlinfo.c: Don't include tls.h.
51458         * elf/tst-tls1.c: Likewise.
51459         * elf/tst-tls10.h: Likewise.
51460         * elf/tst-tls14.c: Likewise.
51461         * elf/tst-tls2.c: Likewise.
51462         * elf/tst-tls3.c: Likewise.
51463         * elf/tst-tls4.c: Likewise.
51464         * elf/tst-tls5.c: Likewise.
51465         * elf/tst-tls6.c: Likewise.
51466         * elf/tst-tls7.c: Likewise.
51467         * elf/tst-tls8.c: Likewise.
51468         * elf/tst-tls9.c: Likewise.
51469         * elf/tst-tlsmod1.c: Likewise.
51470         * elf/tst-tlsmod13.c: Likewise.
51471         * elf/tst-tlsmod13a.c: Likewise.
51472         * elf/tst-tlsmod14a.c: Likewise.
51473         * elf/tst-tlsmod16a.c: Likewise.
51474         * elf/tst-tlsmod16b.c: Likewise.
51475         * elf/tst-tlsmod2.c: Likewise.
51476         * elf/tst-tlsmod3.c: Likewise.
51477         * elf/tst-tlsmod4.c: Likewise.
51478         * elf/tst-tlsmod5.c: Likewise.
51479         * elf/tst-tlsmod6.c: Likewise.
51481 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
51483         [BZ #12486]
51484         * malloc/malloc.c: remove checks for statistics.
51486 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51488         [BZ #15277]
51489         * inet/inet_net.c (inet_network): Detect additional invalid strings.
51490         * inet/tst-network.c: Add testcase.
51492 2013-10-17  Andreas Schwab  <schwab@suse.de>
51494         [BZ #15218]
51495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51496         to determine canonical name.
51498 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51500         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51501         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51503         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51504         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51505         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51506         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51507         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51508         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51509         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51510         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51511         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51512         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51513         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51514         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51515         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51516         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51517         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51518         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51519         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51520         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51521         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51522         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51523         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51524         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51525         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51526         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51527         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51528         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51529         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51530         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51531         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51532         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51533         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51534         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51535         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51536         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51537         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51538         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51539         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51540         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51541         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51542         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51543         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51544         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51545         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51546         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51547         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51548         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51549         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51550         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51551         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51552         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51553         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51554         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51555         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51557         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51559 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
51561         [BZ #16041]
51562         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51563         make result into a quiet NaN.
51565 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
51567         * soft-fp/adddf3.c: Fix horizontal whitespace.
51568         * soft-fp/addsf3.c: Likewise.
51569         * soft-fp/addtf3.c: Likewise.
51570         * soft-fp/divdf3.c: Likewise.
51571         * soft-fp/divsf3.c: Likewise.
51572         * soft-fp/divtf3.c: Likewise.
51573         * soft-fp/double.h: Likewise.
51574         * soft-fp/eqdf2.c: Likewise.
51575         * soft-fp/eqsf2.c: Likewise.
51576         * soft-fp/eqtf2.c: Likewise.
51577         * soft-fp/extenddftf2.c: Likewise.
51578         * soft-fp/extended.h: Likewise.
51579         * soft-fp/extendsfdf2.c: Likewise.
51580         * soft-fp/extendsftf2.c: Likewise.
51581         * soft-fp/extendxftf2.c: Likewise.
51582         * soft-fp/fixdfdi.c: Likewise.
51583         * soft-fp/fixdfsi.c: Likewise.
51584         * soft-fp/fixdfti.c: Likewise.
51585         * soft-fp/fixsfdi.c: Likewise.
51586         * soft-fp/fixsfsi.c: Likewise.
51587         * soft-fp/fixsfti.c: Likewise.
51588         * soft-fp/fixtfdi.c: Likewise.
51589         * soft-fp/fixtfsi.c: Likewise.
51590         * soft-fp/fixtfti.c: Likewise.
51591         * soft-fp/fixunsdfdi.c: Likewise.
51592         * soft-fp/fixunsdfsi.c: Likewise.
51593         * soft-fp/fixunsdfti.c: Likewise.
51594         * soft-fp/fixunssfdi.c: Likewise.
51595         * soft-fp/fixunssfsi.c: Likewise.
51596         * soft-fp/fixunssfti.c: Likewise.
51597         * soft-fp/fixunstfdi.c: Likewise.
51598         * soft-fp/fixunstfsi.c: Likewise.
51599         * soft-fp/fixunstfti.c: Likewise.
51600         * soft-fp/floatdidf.c: Likewise.
51601         * soft-fp/floatdisf.c: Likewise.
51602         * soft-fp/floatditf.c: Likewise.
51603         * soft-fp/floatsidf.c: Likewise.
51604         * soft-fp/floatsisf.c: Likewise.
51605         * soft-fp/floatsitf.c: Likewise.
51606         * soft-fp/floattidf.c: Likewise.
51607         * soft-fp/floattisf.c: Likewise.
51608         * soft-fp/floattitf.c: Likewise.
51609         * soft-fp/floatundidf.c: Likewise.
51610         * soft-fp/floatundisf.c: Likewise.
51611         * soft-fp/floatunditf.c: Likewise.
51612         * soft-fp/floatunsidf.c: Likewise.
51613         * soft-fp/floatunsisf.c: Likewise.
51614         * soft-fp/floatunsitf.c: Likewise.
51615         * soft-fp/floatuntidf.c: Likewise.
51616         * soft-fp/floatuntisf.c: Likewise.
51617         * soft-fp/floatuntitf.c: Likewise.
51618         * soft-fp/fmadf4.c: Likewise.
51619         * soft-fp/fmasf4.c: Likewise.
51620         * soft-fp/fmatf4.c: Likewise.
51621         * soft-fp/gedf2.c: Likewise.
51622         * soft-fp/gesf2.c: Likewise.
51623         * soft-fp/getf2.c: Likewise.
51624         * soft-fp/ledf2.c: Likewise.
51625         * soft-fp/lesf2.c: Likewise.
51626         * soft-fp/letf2.c: Likewise.
51627         * soft-fp/muldf3.c: Likewise.
51628         * soft-fp/mulsf3.c: Likewise.
51629         * soft-fp/multf3.c: Likewise.
51630         * soft-fp/negdf2.c: Likewise.
51631         * soft-fp/negsf2.c: Likewise.
51632         * soft-fp/negtf2.c: Likewise.
51633         * soft-fp/op-1.h: Likewise.
51634         * soft-fp/op-2.h: Likewise.
51635         * soft-fp/op-4.h: Likewise.
51636         * soft-fp/op-8.h: Likewise.
51637         * soft-fp/op-common.h: Likewise.
51638         * soft-fp/quad.h: Likewise.
51639         * soft-fp/single.h: Likewise.
51640         * soft-fp/soft-fp.h: Likewise.
51641         * soft-fp/sqrtdf2.c: Likewise.
51642         * soft-fp/sqrtsf2.c: Likewise.
51643         * soft-fp/sqrttf2.c: Likewise.
51644         * soft-fp/subdf3.c: Likewise.
51645         * soft-fp/subsf3.c: Likewise.
51646         * soft-fp/subtf3.c: Likewise.
51647         * soft-fp/truncdfsf2.c: Likewise.
51648         * soft-fp/trunctfdf2.c: Likewise.
51649         * soft-fp/trunctfsf2.c: Likewise.
51650         * soft-fp/trunctfxf2.c: Likewise.
51651         * soft-fp/unorddf2.c: Likewise.
51652         * soft-fp/unordsf2.c: Likewise.
51653         * soft-fp/unordtf2.c: Likewise.
51655 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
51657         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51658         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51660 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
51662         * elf/dl-libc.c: Clear initfini list after freeing.
51664 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
51666         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51667         * soft-fp/addsf3.c: Likewise.
51668         * soft-fp/addtf3.c: Likewise.
51669         * soft-fp/divdf3.c: Likewise.
51670         * soft-fp/divsf3.c: Likewise.
51671         * soft-fp/divtf3.c: Likewise.
51672         * soft-fp/double.h: Likewise.
51673         * soft-fp/eqdf2.c: Likewise.
51674         * soft-fp/eqsf2.c: Likewise.
51675         * soft-fp/eqtf2.c: Likewise.
51676         * soft-fp/extenddftf2.c: Likewise.
51677         * soft-fp/extended.h: Likewise.
51678         * soft-fp/extendsfdf2.c: Likewise.
51679         * soft-fp/extendsftf2.c: Likewise.
51680         * soft-fp/extendxftf2.c: Likewise.
51681         * soft-fp/fixdfdi.c: Likewise.
51682         * soft-fp/fixdfsi.c: Likewise.
51683         * soft-fp/fixdfti.c: Likewise.
51684         * soft-fp/fixsfdi.c: Likewise.
51685         * soft-fp/fixsfsi.c: Likewise.
51686         * soft-fp/fixsfti.c: Likewise.
51687         * soft-fp/fixtfdi.c: Likewise.
51688         * soft-fp/fixtfsi.c: Likewise.
51689         * soft-fp/fixtfti.c: Likewise.
51690         * soft-fp/fixunsdfdi.c: Likewise.
51691         * soft-fp/fixunsdfsi.c: Likewise.
51692         * soft-fp/fixunsdfti.c: Likewise.
51693         * soft-fp/fixunssfdi.c: Likewise.
51694         * soft-fp/fixunssfsi.c: Likewise.
51695         * soft-fp/fixunssfti.c: Likewise.
51696         * soft-fp/fixunstfdi.c: Likewise.
51697         * soft-fp/fixunstfsi.c: Likewise.
51698         * soft-fp/fixunstfti.c: Likewise.
51699         * soft-fp/floatdidf.c: Likewise.
51700         * soft-fp/floatdisf.c: Likewise.
51701         * soft-fp/floatditf.c: Likewise.
51702         * soft-fp/floatsidf.c: Likewise.
51703         * soft-fp/floatsisf.c: Likewise.
51704         * soft-fp/floatsitf.c: Likewise.
51705         * soft-fp/floattidf.c: Likewise.
51706         * soft-fp/floattisf.c: Likewise.
51707         * soft-fp/floattitf.c: Likewise.
51708         * soft-fp/floatundidf.c: Likewise.
51709         * soft-fp/floatundisf.c: Likewise.
51710         * soft-fp/floatunsidf.c: Likewise.
51711         * soft-fp/floatunsisf.c: Likewise.
51712         * soft-fp/floatuntidf.c: Likewise.
51713         * soft-fp/floatuntisf.c: Likewise.
51714         * soft-fp/floatuntitf.c: Likewise.
51715         * soft-fp/fmadf4.c: Likewise.
51716         * soft-fp/fmasf4.c: Likewise.
51717         * soft-fp/fmatf4.c: Likewise.
51718         * soft-fp/gedf2.c: Likewise.
51719         * soft-fp/gesf2.c: Likewise.
51720         * soft-fp/getf2.c: Likewise.
51721         * soft-fp/ledf2.c: Likewise.
51722         * soft-fp/lesf2.c: Likewise.
51723         * soft-fp/letf2.c: Likewise.
51724         * soft-fp/muldf3.c: Likewise.
51725         * soft-fp/mulsf3.c: Likewise.
51726         * soft-fp/multf3.c: Likewise.
51727         * soft-fp/negdf2.c: Likewise.
51728         * soft-fp/negsf2.c: Likewise.
51729         * soft-fp/negtf2.c: Likewise.
51730         * soft-fp/op-1.h: Likewise.
51731         * soft-fp/op-2.h: Likewise.
51732         * soft-fp/op-4.h: Likewise.
51733         * soft-fp/op-8.h: Likewise.
51734         * soft-fp/op-common.h: Likewise.
51735         * soft-fp/quad.h: Likewise.
51736         * soft-fp/single.h: Likewise.
51737         * soft-fp/soft-fp.h: Likewise.
51738         * soft-fp/sqrtdf2.c: Likewise.
51739         * soft-fp/sqrtsf2.c: Likewise.
51740         * soft-fp/sqrttf2.c: Likewise.
51741         * soft-fp/subdf3.c: Likewise.
51742         * soft-fp/subsf3.c: Likewise.
51743         * soft-fp/subtf3.c: Likewise.
51744         * soft-fp/truncdfsf2.c: Likewise.
51745         * soft-fp/trunctfdf2.c: Likewise.
51746         * soft-fp/trunctfsf2.c: Likewise.
51747         * soft-fp/trunctfxf2.c: Likewise.
51748         * soft-fp/unorddf2.c: Likewise.
51749         * soft-fp/unordsf2.c: Likewise.
51750         * soft-fp/unordtf2.c: Likewise.
51752 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
51754         [BZ #15672]
51755         * misc/error.c (error_tail): Fix possible buffer overflow.
51757 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
51759         [BZ #13028]
51760         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51761         address.
51763 2013-10-14  P. J. McDermott  <pj@pehjota.net>
51765         [BZ #832]
51766         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
51767         testing pipefail option.
51769 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51771         * soft-fp/double.h: Indent preprocessor directives inside #if.
51772         * soft-fp/extended.h: Likewise.
51773         * soft-fp/op-2.h: Likewise.
51774         * soft-fp/op-4.h: Likewise.
51775         * soft-fp/op-common.h: Likewise.
51776         * soft-fp/quad.h: Likewise.
51777         * soft-fp/single.h: Likewise.
51778         * soft-fp/soft-fp.h: Likewise.
51780 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
51782         * iconv/iconv_prog.c: Fix typos.
51783         * stdio-common/psiginfo-data.h: Likewise.
51785 2013-10-12   Reuben Thomas <rrt@sc3d.org>
51787         [BZ #15764]
51788         * locale/setlocale.c: Fix typo.
51790 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51792         [BZ #16036]
51793         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51794         signaling NaN arguments.
51795         * soft-fp/unordsf2.c (__unordsf2): Likewise.
51796         * soft-fp/unordtf2.c (__unordtf2): Likewise.
51798         [BZ #14910]
51799         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51800         unordered operands.
51801         * soft-fp/gesf2.c (__gesf2): Likewise.
51802         * soft-fp/getf2.c (__getf2): Likewise.
51803         * soft-fp/ledf2.c (__ledf2): Likewise.
51804         * soft-fp/lesf2.c (__lesf2): Likewise.
51805         * soft-fp/letf2.c (__letf2): Likewise.
51807         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51808         * soft-fp/eqsf2.c (__eqsf2): Likewise.
51809         * soft-fp/eqtf2.c (__eqtf2): Likewise.
51810         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51811         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51812         * soft-fp/fixdfti.c (__fixdfti): Likewise.
51813         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51814         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51815         * soft-fp/fixsfti.c (__fixsfti): Likewise.
51816         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51817         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51818         * soft-fp/fixtfti.c (__fixtfti): Likewise.
51819         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51820         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51821         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51822         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51823         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51824         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51825         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51826         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51827         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51828         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51829         * soft-fp/floatdisf.c (__floatdisf): Likewise.
51830         * soft-fp/floatsisf.c (__floatsisf): Likewise.
51831         * soft-fp/floattidf.c (__floattidf): Likewise.
51832         * soft-fp/floattisf.c (__floattisf): Likewise.
51833         * soft-fp/floattitf.c (__floattitf): Likewise.
51834         * soft-fp/floatundidf.c (__floatundidf): Likewise.
51835         * soft-fp/floatundisf.c (__floatundisf): Likewise.
51836         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51837         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51838         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51839         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51840         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51841         * soft-fp/gesf2.c (__gesf2): Likewise.
51842         * soft-fp/getf2.c (__getf2): Likewise.
51843         * soft-fp/ledf2.c (__ledf2): Likewise.
51844         * soft-fp/lesf2.c (__lesf2): Likewise.
51845         * soft-fp/letf2.c (__letf2): Likewise.
51847         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51848         Undefine and redefine.
51849         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51850         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51851         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51852         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51853         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51854         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51855         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51856         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51857         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51858         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51859         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51860         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51861         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51862         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51863         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51865         [BZ #16032]
51866         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51867         without decrementing exponent if mantissa >= that for the
51868         denominator, not >.
51869         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51870         denominator, not >.  Decrement exponent in < case instead of
51871         incrementing in >= case.
51872         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51873         without decrementing exponent if mantissa >= that for the
51874         denominator, not >.
51876         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51877         computing saturated result for unsigned overflow.
51879 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51880             Jeff Law  <law@redhat.com>
51882         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51883         (atan2Mp): Add systemtap probe marker.
51884         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51885         (__ieee754_log): Add systemtap probe marker.
51886         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51887         (atanMp): Add systemtap probe marker.
51888         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51889         (tanMp): Add systemtap probe marker.
51890         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51891         (__slowexp): Add systemtap probe marker.
51892         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51893         (__slowpow): Add systemtap probe marker.
51894         * manual/probes.texi: Document probes.
51896 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
51898         [BZ #15362]
51899         * libio/fileops.c (_IO_new_file_write): Return count of bytes
51900         written.
51901         (_IO_new_file_xsputn): Don't return EOF if nothing has been
51902         written.
51903         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51904         written to buffer but not flushed.
51905         * libio/iofwrite_u.c:  Likewise.
51906         * libio/iopadn.c:  Return bytes returned even if EOF was
51907         encountered.
51908         * libio/iowpadn.c:  Likewise.
51909         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51910         if _IO_padn does not write the whole buffer.
51911         [!COMPILE_WPRINTF] (PAD): Likewise.
51913 2013-10-10  David S. Miller  <davem@davemloft.net>
51915         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51916         directory block.
51918 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51920         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
51921         instead of FSF address.
51922         * soft-fp/fixdfti.c: Likewise.
51923         * soft-fp/fixsfti.c: Likewise.
51924         * soft-fp/fixtfti.c: Likewise.
51925         * soft-fp/fixunsdfti.c: Likewise.
51926         * soft-fp/fixunssfti.c: Likewise.
51927         * soft-fp/fixunstfti.c: Likewise.
51928         * soft-fp/floattidf.c: Likewise.
51929         * soft-fp/floattisf.c: Likewise.
51930         * soft-fp/floattitf.c: Likewise.
51931         * soft-fp/floatuntidf.c: Likewise.
51932         * soft-fp/floatuntisf.c: Likewise.
51933         * soft-fp/floatuntitf.c: Likewise.
51934         * soft-fp/trunctfxf2.c: Likewise.
51936         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
51937         * soft-fp/fixdfti.c: Likewise.
51938         * soft-fp/fixsfti.c: Likewise.
51939         * soft-fp/fixtfti.c: Likewise.
51940         * soft-fp/fixunsdfti.c: Likewise.
51941         * soft-fp/fixunssfti.c: Likewise.
51942         * soft-fp/fixunstfti.c: Likewise.
51943         * soft-fp/floattidf.c: Likewise.
51944         * soft-fp/floattisf.c: Likewise.
51945         * soft-fp/floattitf.c: Likewise.
51946         * soft-fp/floatuntidf.c: Likewise.
51947         * soft-fp/floatuntisf.c: Likewise.
51948         * soft-fp/floatuntitf.c: Likewise.
51949         * soft-fp/trunctfxf2.c: Likewise.
51951 2013-10-10  David S. Miller  <davem@davemloft.net>
51953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51955 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
51957         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51958         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51959         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51960         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51961         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51962         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51963         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51965         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51966         for NaNs before doing comparisons on argument.
51967         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51968         Likewise.
51970 2013-10-10  Will Newton  <will.newton@linaro.org>
51972         * malloc/hooks.c (memalign_check): Ensure the value of bytes
51973         passed to _int_memalign does not overflow.
51975 2013-10-10  Torvald Riegel  <triegel@redhat.com>
51977         * scripts/bench.pl: Add include-sources directive.
51978         * benchtests/README: Update documentation.
51980 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51982         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51983         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51984         instead of FP_INIT_ROUNDMODE.
51985         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51986         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51988         [BZ #16034]
51989         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
51990         copy class of input value.
51991         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
51992         not handle exceptions.
51993         * soft-fp/negsf2.c (__negsf2): Likewise.
51994         * soft-fp/negtf2.c (__negtf2): Likewise.
51995         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51997 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
51999         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
52000         semicolon.  From Linux kernel.
52002 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
52004         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
52006 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
52008         [BZ #156]
52009         * manual/socket.texi: Added statement about buffer
52010         for gethostbyname2_r.
52012 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
52014         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
52015         Use .p2align directive instead, throughout.
52016         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52017         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
52018         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
52019         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52020         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52021         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
52022         * sysdeps/x86_64/strchr.S: Likewise.
52023         * sysdeps/x86_64/strrchr.S: Likewise.
52025 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52027         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
52029         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
52031         * sysdeps/generic/math_private.h (__mpsin1): Remove
52032         declaration.
52033         (__mpcos1): Likewise.
52034         (__mpsin): New argument __range_reduce.
52035         (__mpcos): Likewise.
52036         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52037         (slow): Use __mpsin and __mpcos.
52038         (slow1): Likewise.
52039         (slow2): Likewise.
52040         (sloww): Likewise.
52041         (sloww1): Likewise.
52042         (sloww2): Likewise.
52043         (bsloww): Likewise.
52044         (bsloww1): Likewise.
52045         (bsloww2): Likewise.
52046         (cslow2): Likewise.
52047         (csloww): Likewise.
52048         (csloww1): Likewise.
52049         (csloww2): Likewise.
52050         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
52051         range_reduce.  Merge in __mpsin1.
52052         (__mpcos): Likewise.
52053         (__mpsin1): Remove.
52054         (__mpcos1): Likewise.
52056 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
52058         * locale/loadlocale.c (_nl_intern_locale_data): Use
52059         LOCFILE_ALIGNED_P.
52060         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
52061         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
52062         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52063         obstack data is appropriately aligned.
52064         (obstack_int32_grow_fast): Likewise.
52065         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
52066         * locale/programs/locfile.c (add_locale_uint32): Likewise.
52067         (add_locale_uint32_array): Likewise.
52069 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52071         * benchtests/Makefile: Remove ARGLIST and RET variables.
52072         ($(objpfx)bench-%.c): Pass only function name to the script.
52073         * benchtests/README: Update documentation.
52074         * benchtests/acos-inputs: Add new directives.
52075         * benchtests/acosh-inputs: Likewise.
52076         * benchtests/asin-inputs: Likewise.
52077         * benchtests/asinh-inputs: Likewise.
52078         * benchtests/atan-inputs: Likewise.
52079         * benchtests/atanh-inputs: Likewise.
52080         * benchtests/cos-inputs: Likewise.
52081         * benchtests/cosh-inputs: Likewise.
52082         * benchtests/exp-inputs: Likewise.
52083         * benchtests/log-inputs: Likewise.
52084         * benchtests/pow-inputs: Likewise.
52085         * benchtests/rint-inputs: Likewise.
52086         * benchtests/sin-inputs: Likewise.
52087         * benchtests/sinh-inputs: Likewise.
52088         * benchtests/tan-inputs: Likewise.
52089         * benchtests/tanh-inputs: Likewise.
52090         * scripts/bench.pl: Add support for new directives.
52092 2013-10-07  Alan Modra  <amodra@gmail.com>
52094         * README: Fix careless merge.
52096 2013-10-05  Alan Modra  <amodra@gmail.com>
52098         * NEWS: Mention powerpc64le support and bugs fixed.
52099         * README: Both big-endian and little-endian powerpc64 supported.
52101 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52103         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
52104         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
52105         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
52106         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
52108 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
52110         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
52111         match prototype.
52113 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
52115         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
52116         Move -mhard-float appending from
52117         ports/sysdeps/powerpc/powerpc32/Makefile.
52118         [$(with-fp) = yes] (ASFLAGS): Likewise.
52119         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
52120         * sysdeps/powerpc/nofpu: Move directory from
52121         ports/sysdeps/powerpc/nofpu.
52122         * sysdeps/powerpc/soft-fp: Move directory from
52123         ports/sysdeps/powerpc/soft-fp.
52124         * sysdeps/powerpc/powerpc32/405: Move directory from
52125         ports/sysdeps/powerpc/powerpc32/405.
52126         * sysdeps/powerpc/powerpc32/440: Move directory from
52127         ports/sysdeps/powerpc/powerpc32/440.
52128         * sysdeps/powerpc/powerpc32/464: Move directory from
52129         ports/sysdeps/powerpc/powerpc32/464.
52130         * sysdeps/powerpc/powerpc32/476: Move directory from
52131         ports/sysdeps/powerpc/powerpc32/476.
52132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
52133         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
52134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
52135         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
52136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
52137         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
52138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
52139         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
52140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
52141         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
52142         * README: Update for powerpc-*-linux-gnu software floating point
52143         support in libc.
52145         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
52146         case to powerpc/powerpc32*.
52147         * sysdeps/unix/sysv/linux/configure: Regenerated.
52149         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
52150         (_FPU_MASK_OM): Define as 0x04.
52151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
52153         0x00c10080.
52154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
52155         0x0000003c.
52156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
52158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
52159         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52160         getcontext_e500.
52161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
52162         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52163         setcontext_e500.
52164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
52165         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
52166         and setcontext_e500.
52168 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
52170         * locale/iso-3166.def: Update iso-1366.def and related occurrences
52172 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52174         * manual/threads.texi (Default Thread Attributes): Fix typo.
52176 2013-10-04  Will Newton  <will.newton@linaro.org>
52178         * malloc/Makefile: Add tst-memalign.
52179         * malloc/tst-memalign.c: New file.
52181         * malloc/tst-posix_memalign.c: Add comments.
52182         (do_test): Add comments and call free on all potentially
52183         allocated pointers. Add space after cast.
52185         * malloc/tst-pvalloc.c: Add comments.
52186         (do_test): Add comments and call free on all potentially
52187         allocated pointers. Remove duplicate check for NULL pointer.
52188         Add space after cast.
52190         * malloc/tst-valloc.c: Add comments.
52191         (do_test): Add comments and call free on all potentially
52192         allocated pointers. Remove duplicate check for NULL pointer.
52193         Add space after cast.
52195 2013-10-04  Alan Modra  <amodra@gmail.com>
52197         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52198         Use stdint types in rather than __attribute__((mode())).
52199         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52201 2013-10-04  Alan Modra  <amodra@gmail.com>
52203         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52204         Correct handling of unaligned relocs for little-endian.
52205         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52207 2013-10-04  Alan Modra  <amodra@gmail.com>
52209         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52210         * configure: Regenerate.
52211         * nptl/shlib-versions: Powerpc*le starts at 2.18.
52212         * shlib-versions: Likewise.
52214 2013-10-04  Alan Modra  <amodra@gmail.com>
52216         * string/tester.c (test_memrchr): Increment reported test cycle.
52218 2013-10-04  Alan Modra  <amodra@gmail.com>
52220         * string/test-memcpy.c (do_one_test): When reporting errors, print
52221         string address and don't overrun end of string.
52223 2013-10-04  Alan Modra  <amodra@gmail.com>
52225         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52226         insrdi.  Make better use of reg selection to speed exit slightly.
52227         Schedule entry path a little better.  Remove useless "are we done"
52228         checks on entry to main loop.  Handle wrapping around zero address.
52229         Correct main loop count.  Handle single left-over word from main
52230         loop inline rather than by using loop_small.  Remove extra word
52231         case in loop_small caused by wrong loop count.  Add little-endian
52232         support.
52233         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52234         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
52235         cache hint.
52236         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52237         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52238         support.  Avoid rlwimi.
52239         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52241 2013-10-04  Alan Modra  <amodra@gmail.com>
52243         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52244         insrdi.  Formatting.
52245         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52246         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52247         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52248         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52249         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52250         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52252 2013-10-04  Alan Modra  <amodra@gmail.com>
52254         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52255         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52256         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52257         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52258         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52259         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52260         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52261         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52262         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
52263         use of regs.  Use power7 mtocrf.  Tidy function tails.
52265 2013-10-04  Alan Modra  <amodra@gmail.com>
52267         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52268         Formatting.  Consistently use rXXX register defines or rN defines.
52269         Use early exit labels that avoid restoring unused non-volatile regs.
52270         Make cr field use more consistent with rWORDn compares.  Rename
52271         regs used as shift registers for unaligned loop, using rN defines
52272         for short lifetime/multiple use regs.
52273         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52274         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
52275         addi 1,1,64 to pop stack frame.  Simplify return value code.
52276         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52278 2013-10-04  Alan Modra  <amodra@gmail.com>
52280         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52281         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
52282         rather than rlwimi.
52283         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52284         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52285         little-endian support.  Correct typos.
52286         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
52287         rather than rlwimi.
52288         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
52289         in loop and entry code to keep "and." results.
52290         (strchr): Add little-endian support.  Comment.  Move cntlzd
52291         earlier in tail.
52292         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52294 2013-10-04  Alan Modra  <amodra@gmail.com>
52296         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52297         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52298         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52299         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52301 2013-10-04  Alan Modra  <amodra@gmail.com>
52303         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52304         (rTMP): Define as r11.
52305         (strcmp): Add little-endian support.  Optimise tail.
52306         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52307         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52308         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52309         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52310         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52311         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52312         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52314 2013-10-04  Alan Modra  <amodra@gmail.com>
52316         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52317         little-endian support.  Remove unnecessary "are we done" tests.
52318         Handle "s" wrapping around zero and extremely large "size".
52319         Correct main loop count.  Handle single left-over word from main
52320         loop inline rather than by using small_loop.  Correct comments.
52321         Delete "zero" tail, use "end_max" instead.
52322         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52324 2013-10-04  Alan Modra  <amodra@gmail.com>
52326         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52327         support.  Don't branch over align.
52328         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52329         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52330         support.  Rearrange tmp reg use to suit.  Comment.
52331         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52333 2013-10-04  Alan Modra  <amodra@gmail.com>
52335         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52337 2013-10-04  Alan Modra  <amodra@gmail.com>
52339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52340         conditional form of branch and link when obtaining pc.
52341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52343 2013-10-04  Alan Modra  <amodra@gmail.com>
52345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52346         HIWORD/LOWORD.
52347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52350 2013-10-04  Alan Modra  <amodra@gmail.com>
52352         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52353         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52354         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52355         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52356         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52357         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52358         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52359         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52360         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52361         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52363 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52364             Alistair Popple <alistair@ozlabs.au.ibm.com>
52365             Alan Modra <amodra@gmail.com>
52367         [BZ #15723]
52368         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52369         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52370         _dl_hwcap access for little-endian.
52371         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
52372         destroy vmx regs when saving unaligned.
52373         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52374         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
52375         destroy vmx regs when saving unaligned.
52377 2013-10-04  Alan Modra  <amodra@gmail.com>
52379         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52380         Don't use a union to pack hi/low value.
52382 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52384         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52385         for little-endian.
52386         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52387         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52388         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52389         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52390         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52392 2013-10-04  Alan Modra  <amodra@gmail.com>
52394         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52395         constants to usual value for .cst8 section, and remove redundant
52396         high address load.
52397         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52398         constant for 0x1p52.  Load little-endian words of double from
52399         correct stack offsets.
52401 2013-10-04  Alan Modra  <amodra@gmail.com>
52403         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52404         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52405         words of double from correct stack offsets.
52406         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52407         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52408         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52409         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52410         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52411         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52412         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52413         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52414         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52415         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52416         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52417         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52418         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52419         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52420         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52421         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52422         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52424 2013-10-04  Alan Modra  <amodra@gmail.com>
52426         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52427         64-bit int/double union.
52428         (_FPU_SETCW): Likewise.
52429         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52430         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52432 2013-10-04  Alan Modra  <amodra@gmail.com>
52434         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52435         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52437 2013-10-04  Alan Modra  <amodra@gmail.com>
52439         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52440         use vector int constants.
52441         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52443 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52445         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52446         array with long long.
52447         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52448         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52449         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52450         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52451         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52452         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52453         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52454         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52455         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52456         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52457         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52458         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52459         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52461 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52463         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52464         (__signbit): Likewise.  Correct for little-endian.
52465         (__signbitl): Call __signbit.
52466         (lrint): Correct for little-endian.
52467         (lrintf): Call lrint.
52469 2013-10-04  Alan Modra  <amodra@gmail.com>
52471         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52472         union 32-bit int array member with 64-bit int array.
52473         (t515, tm256): Double rather than long double.
52474         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52476 2013-10-04  Alan Modra  <amodra@gmail.com>
52478         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52479         Delete.
52480         (IEEE854_LONG_DOUBLE_BIAS): Delete.
52481         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52482         version of math_ldbl.h.
52484 2013-10-04  Alan Modra  <amodra@gmail.com>
52486         [BZ #15734], [BZ #15735]
52487         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52488         all uses of ieee875 long double macros and unions.  Simplify test
52489         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
52490         ldbl_extract_mantissa value for ix,iy exponents.  Properly
52491         normalize after ldbl_extract_mantissa, and don't add hidden bit
52492         already handled.  Don't treat low word of ieee854 mantissa like
52493         low word of IBM long double and mask off bit when testing for
52494         zero.
52495         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52496         all uses of ieee875 long double macros and unions.  Simplify tests
52497         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
52498         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
52499         two1022, instead use their values.  Recognise that tests for large
52500         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
52501         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52502         Rewrite all uses of ieee875 long double macros and unions.  Simplify
52503         test for 0.0L and nan.  Correct negation.
52504         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52505         ieee875 long double macros and unions.  Correct output for large
52506         magnitude x.  Correct absolute value calculation.
52507         (__erfcl): Likewise.
52508         * math/libm-test.inc: Add tests for errors discovered in IBM long
52509         double versions of fmodl, remainderl, erfl and erfcl.
52511 2013-10-04  Alan Modra  <amodra@gmail.com>
52513         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52514         all uses of ieee854 long double macros and unions.  Simplify tests
52515         for long doubles that are fully specified by the high double.
52516         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52517         Likewise.
52518         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52519         Remove dead code too.
52520         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52521         (__ieee754_ynl): Likewise.
52522         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52523         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52524         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52525         Remove dead code too.
52526         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52527         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52528         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52529         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52530         Simplify.
52531         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52532         Simplify.
52533         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52534         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52535         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52536         Comment on variable precision.
52537         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52538         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52539         Likewise.
52540         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52541         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52542         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52543         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52544         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52546 2013-10-04  Alan Modra  <amodra@gmail.com>
52548         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52549         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52550         all uses of ieee854 long double macros and unions.
52551         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52552         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52553         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52554         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52555         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52556         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52557         Likewise.
52558         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52559         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52560         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52561         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52562         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52563         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52564         Simplify sign and nan test too.
52565         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52566         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52567         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52568         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52569         Likewise.
52570         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52571         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52572         Likewise.
52573         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52574         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52575         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52576         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52577         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52578         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52580 2013-10-04  Alan Modra  <amodra@gmail.com>
52582         * stdio-common/printf_size.c (__printf_size): Don't use
52583         union ieee854_long_double in fpnum union.
52584         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
52585         signbit macro to retrieve sign from long double.
52586         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52587         retrieve sign from long double.
52588         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52589         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52590         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52591         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52592         * math/test-misc.c (main): Don't use union ieee854_long_double.
52594 2013-10-04  Alan Modra  <amodra@gmail.com>
52596         [BZ #15680]
52597         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52598         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52599         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52600         calculation.  Remove unnecessary test for denormal exponent.
52601         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52602         Correct handling of denormals.  Avoid undefined shift behaviour.
52603         Correct normalisation of low mantissa when low double is denormal.
52604         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52605         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
52606         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52607         Correct normalisation of low mantissa.  Test for overflow of high
52608         mantissa and normalise.
52609         (ldbl_nearbyint): Use more readable constant for two52.
52610         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52611         (__mpn_construct_long_double): Fix test for overflow of high
52612         mantissa and correct normalisation.  Avoid undefined shift.
52614 2013-10-04  Alan Modra  <amodra@gmail.com>
52616         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52617         (union ibm_extended_long_double): Define as an array of ieee754_double.
52618         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52619         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52620         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52621         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52622         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52623         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52624         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52625         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52626         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52627         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52628         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52630 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
52632         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52633         page size instead of calling getpagesize.
52635         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52636         (LOCFILE_ALIGN_MASK): Likewise.
52637         (LOCFILE_ALIGN_UP): Likewise.
52638         (LOCFILE_ALIGNED_P): Likewise.
52639         * locale/programs/ld-collate.c (collate_output): Use the new
52640         macros instead of __alignof__ (int32_t).
52641         * locale/weight.h (findidx): Likewise.
52643 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
52645         [BZ #431]
52646         * manual/string.texi: Fix strncat and wcsncat.
52648 2013-10-03  Brooks Moses  <bmoses@google.com>
52650         [BZ #15915]
52651         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52652         * Makerules: ...here, and adjust associated comments.
52654 2013-10-02  Will Newton  <will.newton@linaro.org>
52656         * malloc/Makefile: Add tst-pvalloc.
52657         * malloc/tst-pvalloc.c: New file.
52659 2013-10-02  Will Newton  <will.newton@linaro.org>
52661         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52662         improve test coverage.
52664 2013-10-02  Will Newton  <will.newton@linaro.org>
52666         * malloc/Makefile: Add tst-posix_memalign.
52667         * malloc/tst-posix_memalign.c: New file.
52669 2013-10-01  Eric Blake  <eblake@redhat.com>
52671         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52672         Use __THROWNL rather than __THROW on static functions.
52674 2013-09-30  Petr Machata  <pmachata@redhat.com>
52676         * elf/elf.h (R_AARCH64_ABS16): New macro.
52677         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52678         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52679         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52680         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52681         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52682         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52683         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52684         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52685         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52686         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52687         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52688         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52689         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52690         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52691         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52692         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52693         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52694         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52695         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52696         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52697         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52698         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52699         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52700         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52701         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52702         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52703         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52704         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52705         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52706         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52707         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52708         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52709         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52710         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52711         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52712         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52713         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52714         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52715         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52716         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52717         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52718         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52719         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52720         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52721         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52722         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52723         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52724         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52725         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52726         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52727         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52728         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52729         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52730         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52731         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52732         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52733         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52734         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52735         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52736         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52737         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52738         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52739         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52740         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52741         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52742         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52743         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52744         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52745         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52746         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52747         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52748         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52749         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52750         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52751         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52752         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52753         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52754         (R_AARCH64_TLSDESC_LDR): Likewise.
52755         (R_AARCH64_TLSDESC_ADD): Likewise.
52756         (R_AARCH64_TLSDESC_CALL): Likewise.
52758 2013-09-30  Andreas Schwab  <schwab@suse.de>
52760         [BZ #15048]
52761         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52762         the nss database lookup.
52763         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52764         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52766 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
52768         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52770 2013-09-28  P. J. McDermott  <pj@pehjota.net>
52772         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52773         ${Bash-specific parameter/pattern/string} parameter expansion.
52774         * sysdeps/unix/make-syscalls.sh: Likewise.
52776 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52778         * sysdeps/sh/stackguard-macros.h: New file.
52780 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
52782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52783         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52784         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52785         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52786         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52787         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52789 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52791         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52792         Fix thread ID register.
52794 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
52796         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52797         [POSIX || UNIX98]: Require rather than permitting all symbols from
52798         <time.h>.
52799         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52800         element of struct sched_param.
52801         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52802         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52803         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52804         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52805         constant.
52807 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
52809         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52810         argument calculation.
52812 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52814         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52815         Expect macro.
52816         [POSIX] (pthread_attr_t): Do not require type.
52817         [POSIX] (pthread_cond_t): Likewise.
52818         [POSIX] (pthread_condattr_t): Likewise.
52819         [POSIX] (pthread_key_t): Likewise.
52820         [POSIX] (pthread_mutex_t): Likewise.
52821         [POSIX] (pthread_mutexattr_t): Likewise.
52822         [POSIX] (pthread_once_t): Likewise.
52823         [POSIX] (pthread_t): Likewise.
52824         [POSIX-based standards] (pthread_atfork): Expect function.
52826 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52827             Richard Sandiford  <richard@codesourcery.com>
52829         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52830         (swap_endianness_p): New extern variable.
52831         (set_big_endian): New inline function.
52832         (maybe_swap_uint32): Likewise.
52833         (maybe_swap_uint32_array): Likewise.
52834         (maybe_swap_uint32_obstack): Likewise.
52835         * locale/programs/locfile.c: Include <stdbool.h>.
52836         (swap_endianness_p): New variable.
52837         (add_locale_uint32): Call maybe_swap_uint32.
52838         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52839         (write_locale_data): Call maybe_swap_uint32_array.
52840         * locale/programs/ld-collate.c (obstack_int32_grow): Call
52841         maybe_swap_uint32.
52842         (obstack_int32_grow_fast): Likewise.
52843         (output_weightwc): Call maybe_swap_uint32_obstack.
52844         (collate_output): Likewise.
52845         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52846         (OPT_LITTLE_ENDIAN): Likewise.
52847         (options): Add --little-endian and --big-endian options.
52848         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52849         * locale/programs/locarchive.c: Include "locfile.h".
52850         (GET): New macro.
52851         (SET): Likewise.
52852         (INC): Likewise.
52853         (create_archive): Use the new macros to access fields of
52854         structures directly mapped from or written to locale archives.
52855         (oldlocrecentcmp): Likewise.
52856         (enlarge_archive): Likewise.
52857         (insert_name): Likewise.
52858         (add_alias): Likewise.
52859         (add_locale): Likewise.
52860         (delete_locales_from_archive): Likewise.
52861         (show_archive_content): Likewise.
52862         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
52863         locale data.
52865 2013-09-24  Roland McGrath  <roland@hack.frob.com>
52867         * manual/freemanuals.texi: Updated from (newly) canonical copy at
52868         http://www.gnu.org/doc/freemanuals.texi.
52869         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52871 2013-09-24  Will Newton  <will.newton@linaro.org>
52873         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52874         macro.
52876 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
52878         * locale/hashval.h (compute_hashval): Interpret bytes of key as
52879         unsigned char.
52881 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
52883         * manual/threads.texi (POSIX Threads): Fix a typo.
52885 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52887         [BZ #14547]
52888         * string/tst-strcoll-overflow.c: New test case.
52889         * string/Makefile (xtests): Add tst-strcoll-overflow.
52890         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52891         cache if string sizes may cause integer overflow.
52893         [BZ #14547]
52894         * string/strcoll_l.c (coll_seq): New members rule, idx,
52895         save_idx and back_us.
52896         (get_next_seq_nocache): New function.
52897         (do_compare_nocache): New function.
52898         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52899         when malloc fails.
52901 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
52903         [BZ #15754]
52904         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52905         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52906         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52908         [BZ #15754]
52909         * elf/Makefile (tests): Add tst-ptrguard1.
52910         (tests-static): Add tst-ptrguard1-static.
52911         (tst-ptrguard1-ARGS): Define.
52912         (tst-ptrguard1-static-ARGS): Define.
52913         * elf/tst-ptrguard1.c: New file.
52914         * elf/tst-ptrguard1-static.c: New file.
52915         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52916         * sysdeps/i386/stackguard-macros.h: Likewise.
52917         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52918         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52919         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52920         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52921         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52922         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52924 2013-09-23  Hector Marco  <hecmargi@upv.es>
52925             Ismael Ripoll  <iripoll@disca.upv.es>
52926             Carlos O'Donell  <carlos@redhat.com>
52928         [BZ #15754]
52929         * sysdeps/generic/stackguard-macros.h: Define
52930         __pointer_chk_guard_local and POINTER_CHK_GUARD.
52931         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52932         Define __pointer_chk_guard_local.
52933         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52934         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52936 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
52938         [BZ #15859]
52939         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52941 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
52943         * include/string.h (__ffs): Declare as hidden.
52944         * string/ffs.c (__ffs): Define as hidden.
52945         * sysdeps/i386/ffs.c (__ffs): Likewise.
52946         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52947         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52948         * sysdeps/s390/ffs.c (__ffs): Likewise.
52949         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52951 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
52953         * NEWS: Mention malloc probes.
52955         * malloc/arena.c (new_heap): New memory_heap_new probe.
52956         (grow_heap): New memory_heap_more probe.
52957         (shrink_heap): New memory_heap_less probe.
52958         (heap_trim): New memory_heap_free probe.
52959         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52960         (systrim): New memory_sbrk_less probe.
52961         * manual/probes.texi: Document them.
52963         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52964         * manual/probes.texi: Document it.
52966         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52967         (__libc_realloc): Add memory_realloc_retry probe.
52968         (__libc_memalign): Add memory_memalign_retry probe.
52969         (__libc_valloc): Add memory_valloc_retry probe.
52970         (__libc_pvalloc): Add memory_pvalloc_retry probe.
52971         (__libc_calloc): Add memory_calloc_retry probe.
52972         * manual/probes.texi: Document them.
52974         * malloc/arena.c (get_free_list): Add probe
52975         memory_arena_reuse_free_list.
52976         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52977         and memory_arena_reuse.
52978         (arena_get2) [!PER_THREAD]: Likewise.
52979         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52980         memory_arena_reuse_realloc.
52981         * manual/probes.texi: Document them.
52983         * malloc/malloc.c (__libc_free): Add
52984         memory_mallopt_free_dyn_thresholds probe.
52985         (__libc_mallopt): Add multiple memory_mallopt probes.
52986         * manual/probes.texi: Document them.
52988         * malloc/malloc.c: Include stap-probe.h.
52989         (__libc_mallopt): Add memory_mallopt probe.
52990         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52991         * manual/probes.texi: New.
52992         * manual/Makefile (chapters): Add probes.
52993         * manual/threads.texi: Set next node.
52995 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
52997         [BZ #15963, #13985]
52998         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52999         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
53000         Add `Chinese' to `nan' entry name.
53002 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53004         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
53005         (POLYNOMIAL): Likewise.
53006         (TAYLOR_SINCOS): Likewise.
53007         (TAYLOR_SLOW): Likewise.
53008         (__sin): Use TAYLOR_SINCOS.
53009         (__cos): Likewise.
53010         (slow): Use TAYLOR_SLOW.
53011         (sloww): Likewise.
53012         (bsloww): Likewise.
53013         (csloww): Likewise.
53015 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53017         * stdlib/strtod_l.c: Fix buffer overrun.
53019 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53021         * benchtests/Makefile (bench): Add sincos.
53022         * benchtests/bench-sincos.c: New file.
53024         * math/libm-test.inc (cos_test_data): New test inputs.
53025         (sin_test_data): Likewise.
53027         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
53028         macro.
53029         (__sin): Use it.
53030         (__cos): Likewise.
53031         (slow1): Likewise.
53032         (slow2): Likewise.
53033         (sloww1): Likewise.
53034         (sloww2): Likewise.
53035         (bsloww1): Likewise.
53036         (bsloww2): Likewise.
53037         (cslow2): Likewise.
53038         (csloww1): Likewise.
53039         (csloww2): Likewise.
53041         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
53042         function.
53043         (__sin): Use it.
53044         (__cos): Likewise.
53046         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
53047         gotos.
53048         (__cos): Likewise.
53050 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
53052         * config.h.in (HAVE_MIPS_NAN2008): New macro.
53053         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53054         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
53055         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
53056         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
53057         * elf/cache.c (print_entry): Handle the new cache flags.
53059 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
53060             Aldy Hernandez  <aldyh@redhat.com>
53062         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
53063         Change condition to [_SOFT_FLOAT].
53064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
53065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
53066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
53067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
53068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
53069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
53070         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
53071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
53072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
53073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53074         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
53075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
53076         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
53078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
53079         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
53080         declaration.
53082 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
53084         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
53085         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53086         (__longjmp): Use LOAD_GP to load saved GPRs.
53087         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
53088         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53089         (__sigsetjmp): Use SAVE_GP to save GPRs.
53091         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
53092         Do not append -msoft-float.
53093         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
53095 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53097         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
53099 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
53101         [BZ #15966]
53102         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
53103         (_FPU_GETCW): Use initial "__" on variable and field names but not
53104         on macro parameter name.
53105         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
53106         parentheses around reference to macro parameter.
53108 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
53110         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
53111         prototype.
53112         (ctype_startup): Use uint32_t in cast and sizeof for
53113         ctype->charnames.
53115 2013-09-11  Jia Liu  <proljc@gmail.com>
53117         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
53118         __daddr_t_defined.
53119         [__FreeBSD__]: Likewise.
53121 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
53123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
53124         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
53125         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
53126         (strchr): Remove __strchr_sse42 ifunc selection.
53127         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
53128         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
53130 2013-09-11  Will Newton  <will.newton@linaro.org>
53132         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
53133         parameter to RES. Remove hardcoded 1000 value.
53134         * benchtests/bench-skeleton.c (main): Pass RES parameter
53135         to TIMING_INIT and multiply result by 1000.
53137 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53141 2013-09-11  Andreas Schwab  <schwab@suse.de>
53143         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
53144         if not defined.
53145         (O_TMPFILE) [__USE_GNU]: Define.
53146         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
53147         Define.
53149 2013-09-11  Will Newton  <will.newton@linaro.org>
53151         [BZ #15857]
53152         * malloc/malloc.c (__libc_memalign): Check the value of bytes
53153         does not overflow.
53155 2013-09-11  Will Newton  <will.newton@linaro.org>
53157         [BZ #15856]
53158         * malloc/malloc.c (__libc_valloc): Check the value of bytes
53159         does not overflow.
53161 2013-09-11  Will Newton  <will.newton@linaro.org>
53163         [BZ #15855]
53164         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
53165         does not overflow.
53167 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
53169         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
53170         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53171         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53172         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53173         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53175 2013-09-10  Allan McRae  <allan@archlinux.org>
53177         [BZ #15748]
53178         * manual/arith.texi (Parsing of Floats): Clarify
53179         cross-reference.
53181         [BZ #15849]
53182         * manual/install.texi (Running make install): Mention
53183         --enable-pt-chown.
53184         * INSTALL: Regenerated.
53186 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
53188         * csu/init-first.c (_init): Remove the !SHARED condition around
53189         FPU control word initialization.
53190         * elf/dl-support.c (_dl_fpu_control): New variable.
53191         (_dl_aux_init) <AT_FPUCW>: Initialize it.
53192         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53193         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53194         * math/test-fpucw-static.c: New file.
53195         * math/test-fpucw-ieee.c: New file.
53196         * math/test-fpucw-ieee-static.c: New file.
53197         * math/Makefile (tests): Add `test-fpucw-ieee' and
53198         `$(tests-static)'.
53199         (tests-static): New variable.
53200         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53201         dependency to...
53202         [($(build-shared),yes)]
53203         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53204         ... this.
53205         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53206         New dependency.
53208 2013-09-09  Allan McRae  <allan@archlinux.org>
53210         [BZ #15939]
53211         * manual/string.texi (Collation Functions): Fix typo in
53212         strcoll example.
53213         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53215         [BZ #15893]
53216         * stdlib/isomac.c (get_null_defines): Fix memory leak.
53218         [BZ #15892]
53219         * libio/memstream.c (open_memstream): Fix memory leak.
53220         * libio/wmemstream.c (open_wmemstream): Likewise.
53222         [BZ #15895]
53223         * nscd/netgroupcache.c: Fix nesting of ifdefs.
53225 2013-09-09  Will Newton  <will.newton@linaro.org>
53227         * malloc/Makefile: Add tst-realloc to tests.
53228         * malloc/tst-realloc.c: New file.
53230 2013-09-09  Allan McRae  <allan@archlinux.org>
53232         [BZ #15844]
53233         * COPYING: Update from GNU website to fix FSF address.
53234         * COPYING.LIB: Likewise.
53236 2013-09-06  David S. Miller  <davem@davemloft.net>
53238         * po/zh_TW.po: Update Chinese (traditional) translation from
53239         translation project.
53241 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
53242             Joseph Myers  <joseph@codesourcery.com>
53244         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53245         "localeinfo.h".
53246         (obstack_chunk_alloc): New macro.
53247         (obstack_chunk_free): Likewise.
53248         (record_offset): New function.
53249         (init_locale_data): Likewise.
53250         (align_locale_data): Likewise.
53251         (add_locale_empty): Likewise.
53252         (add_locale_raw_data): Likewise.
53253         (add_locale_raw_obstack): Likewise.
53254         (add_locale_string): Likewise.
53255         (add_locale_wstring): Likewise.
53256         (add_locale_uint32): Likewise.
53257         (add_locale_uint32_array): Likewise.
53258         (add_locale_char): Likewise.
53259         (start_locale_structure): Likewise.
53260         (end_locale_structure): Likewise.
53261         (start_locale_prelude): Likewise.
53262         (end_locale_prelude): Likewise.
53263         (write_locale_data): Take locale_file structure rather than an
53264         iovec.
53265         * locale/programs/locfile.h: Include "obstack.h".
53266         (struct locale_file): Change to store locale file contents instead
53267         of header.
53268         (init_locale_data): New prototype.
53269         (align_locale_data): Likewise.
53270         (add_locale_empty): Likewise.
53271         (add_locale_raw_data): Likewise.
53272         (add_locale_raw_obstack): Likewise.
53273         (add_locale_string): Likewise.
53274         (add_locale_wstring): Likewise.
53275         (add_locale_uint32): Likewise.
53276         (add_locale_uint32_array): Likewise.
53277         (add_locale_char): Likewise.
53278         (start_locale_structure): Likewise.
53279         (end_locale_structure): Likewise.
53280         (start_locale_prelude): Likewise.
53281         (end_locale_prelude): Likewise.
53282         (write_locale_data): Update prototype.
53283         * locale/programs/3level.h (struct TABLE): Remove result field.
53284         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53285         Use new locale_file interface.
53286         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53287         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53288         * locale/programs/ld-address.c (address_output): Use new
53289         locale_file interface.
53290         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53291         NO_ADD_LOCALE.
53292         (collate_finish): Don't call collseq_table_finalize.
53293         (collate_output): Use new locale_file interface.
53294         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53295         in file.
53296         (NO_FINALIZE): Change to NO_ADD_LOCALE.
53297         (TABLE): Move defines earlier in file.
53298         (ELEMENT): Likewise.
53299         (DEFAULT): Likewise.
53300         (wctrans_table_add): Move macro and inline function earlier in
53301         file.
53302         (struct wctype_table): Move type earlier in file.
53303         (add_locale_wctype_table): New static prototype.
53304         (struct locale_ctype_t): Use logical types instead of struct iovec
53305         pointers for members.
53306         (ctype_output): Use new locale_file interface.
53307         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
53308         new locale_file interface.
53309         (allocate_arrays): Update for use of new locale_file interface.
53310         * locale/programs/ld-identification.c (identification_output): Use
53311         new locale_file interface.
53312         * locale/programs/ld-measurement.c (measurement_output): Likewise.
53313         * locale/programs/ld-messages.c (messages_output): Likewise.
53314         * locale/programs/ld-monetary.c (monetary_output): Likewise.
53315         * locale/programs/ld-name.c (name_output): Likewise.
53316         * locale/programs/ld-numeric.c (numeric_output): Likewise.
53317         * locale/programs/ld-paper.c (paper_output): Likewise.
53318         * locale/programs/ld-telephone.c (telephone_output): Likewise.
53319         * locale/programs/ld-time.c (time_output): Likewise.
53321 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53323         * benchtests/Makefile: Add memrchr benchmark.
53324         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53325         benchmark as memrchr.
53326         * benchtests/bench-memrchr-ifunc.c: New file.
53327         * benchtests/bench-memrchr.c: New file.
53329 2013-09-06   Will Newton  <will.newton@linaro.org>
53331         * benchtests/Makefile (string-bench): Add memcpy.
53333 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
53334             Cong Wang  <amwang@redhat.com>
53336         [BZ #15850]
53337         * sysdeps/unix/sysv/linux/bits/in.h
53338         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53339         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53340         before __USE_KERNEL_IPV6_DEFS uses.
53341         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53342         IPPROTO_BEETPH.
53343         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53344         sockaddr_in6, or ipv6_mreq.
53346 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53348         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53349         memory access for final bytes in some large inputs.
53350         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53352 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53354         * string/test-memrchr.c: New file.
53355         * string/test-memrchr-ifunc.c: New file.
53356         * string/Makefile: Add new memrchr testcase.
53358 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
53360         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53361         fanotify_init returns EPERM.
53363 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53365         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53366         errors.
53367         (top level): Treat second token from macro or constant entries for
53368         allowed headers as allowed.
53369         * include/complex.h: Condition internal declarations on
53370         [!_ISOMAC].
53371         * include/fenv.h: Condition include of <stdbool.h> and internal
53372         declarations on [!_ISOMAC].
53374 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
53376         [BZ #15923]
53377         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53379 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53381         * configure.in (--enable-versioning): Remove configure option.
53382         (libc_cv_asm_symver_directive): Remove configure test.
53383         (libc_cv_ld_version_script_option): Likewise.
53384         (VERSIONING): Remove variable and AC_SUBST.
53385         (DO_VERSIONING): Remove AC_DEFINE.
53386         * configure: Regenerated.
53387         * config.h.in (DO_VERSIONING): Remove macro.
53388         * Makerules [$(versioning) = yes]: Change conditionals to
53389         [$(build-shared) = yes].
53390         * config.make.in (versioning): Remove variable.
53391         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53392         [$(build-shared) = yes].
53393         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53394         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53395         * elf/Makefile [$(versioning) = yes]: Change conditionals to
53396         [$(build-shared) = yes].
53397         * extra-lib.mk [$(versioning) = yes]: Likewise.
53398         * hurd/Makefile [$(versioning) = yes]: Likewise.
53399         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53400         [SHARED].
53401         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53402         [SHARED].
53403         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53404         [SHARED && !NO_HIDDEN].
53405         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53406         [SHARED].
53407         [SHARED && DO_VERSIONING]: Likewise..
53408         * libio/Makefile [$(versioning) = yes]: Change conditionals to
53409         [$(build-shared) = yes].
53410         * manual/install.texi (--disable-versioning): Remove
53411         documentation.
53412         * INSTALL: Regenerated.
53413         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53414         to [SHARED].
53415         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53416         [$(build-shared) = yes].
53417         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53418         * sysdeps/i386/i686/multiarch/strstr-c.c
53419         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53420         [SHARED && !NO_HIDDEN].
53421         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53422         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53423         * sysdeps/powerpc/powerpc32/dl-machine.c
53424         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53425         * sysdeps/powerpc/powerpc32/sysdep.h
53426         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53427         to [SHARED && PIC && !NO_HIDDEN].
53428         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53429         conditional to [SHARED].
53431 2013-09-04   Will Newton  <will.newton@linaro.org>
53433         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53434         * benchtests/bench-string.h: Include bench-timing.h instead
53435         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53436         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53437         call to HP_TIMING_DIFF_INIT.
53438         * benchtests/bench-memccpy.c: Use bench-timing.h macros
53439         instead of hp-timing.h macros.
53440         * benchtests/bench-memchr.c: Likewise.
53441         * benchtests/bench-memcmp.c: Likewise.
53442         * benchtests/bench-memcpy.c: Likewise.
53443         * benchtests/bench-memmem.c: Likewise.
53444         * benchtests/bench-memmove.c: Likewise.
53445         * benchtests/bench-memset.c: Likewise.
53446         * benchtests/bench-rawmemchr.c: Likewise.
53447         * benchtests/bench-strcasecmp.c: Likewise.
53448         * benchtests/bench-strcasestr.c: Likewise.
53449         * benchtests/bench-strcat.c: Likewise.
53450         * benchtests/bench-strchr.c: Likewise.
53451         * benchtests/bench-strcmp.c: Likewise.
53452         * benchtests/bench-strcpy.c: Likewise.
53453         * benchtests/bench-strcpy_chk.c: Likewise.
53454         * benchtests/bench-strlen.c: Likewise.
53455         * benchtests/bench-strncasecmp.c: Likewise.
53456         * benchtests/bench-strncat.c: Likewise.
53457         * benchtests/bench-strncmp.c: Likewise.
53458         * benchtests/bench-strncpy.c: Likewise.
53459         * benchtests/bench-strnlen.c: Likewise.
53460         * benchtests/bench-strpbrk.c: Likewise.
53461         * benchtests/bench-strrchr.c: Likewise.
53462         * benchtests/bench-strspn.c: Likewise.
53463         * benchtests/bench-strstr.c: Likewise.
53465 2013-09-04  Will Newton  <will.newton@linaro.org>
53467         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53469 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
53471         [BZ #15427]
53472         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53473         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53474         * math/libm-test.inc (lgamma_test_data): Add more tests.
53475         * sysdeps/i386/fpu/libm-test-ulps: Update.
53476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53478 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
53480         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53482         Add ifunc.
53483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53484         Add strcmp-sse2-unaligned
53485         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53487 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53489         * Versions.def (libc): Add GLIBC_2.19.
53491 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53493         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53494         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53496 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
53498         [BZ #14155]
53499         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53500         intermediate calculations in recurrence.
53501         (__ieee754_ynf): Likewise.
53502         * math/libm-test.inc (jn_test_data): Do not allow spurious
53503         underflow exception.  Add more tests.
53504         (yn_test_data): Add more tests.
53505         * sysdeps/i386/fpu/libm-test-ulps: Update.
53506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53508 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
53510         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53512 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53514         * csu/init-first.c: Fix then/than typos.
53515         * locale/programs/ld-collate.c: Likewise.
53516         * locale/programs/linereader.h: Likewise.
53517         * manual/charset.texi: Likewise.
53518         * manual/filesys.texi: Likewise.
53519         * manual/stdio.texi: Likewise.
53520         * manual/string.texi: Likewise.
53521         * stdlib/fmtmsg.c: Likewise.
53522         * sysdeps/i386/stpncpy.S: Likewise.
53523         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53524         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53525         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53526         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53528 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53530         * elf/dl-open.c: Fix typos.
53531         * iconvdata/gbbig5.c: Likewise.
53532         * iconvdata/iso-2022-jp.c: Likewise.
53533         * iconv/gconv_int.h: Likewise.
53534         * iconv/loop.c: Likewise.
53535         * nis/rpcsvc/nis.h: Likewise.
53536         * resolv/ns_name.c: Likewise.
53537         * stdio-common/vfscanf.c: Likewise.
53538         * streams/stropts.h: Likewise.
53539         * sunrpc/rpc_thread.c: Likewise.
53540         * sysdeps/i386/strpbrk.S: Likewise.
53541         * sysdeps/ieee754/k_standard.c: Likewise.
53542         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53543         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53544         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53545         * sysdeps/mach/hurd/profil.c: Likewise.
53546         * sysdeps/s390/dl-procinfo.h: Likewise.
53547         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53548         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53549         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53550         * sysdeps/x86_64/dl-trampoline.S: Likewise.
53551         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53553 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
53555         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53558 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
53560         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53561         aix specific files.
53562         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53563         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53564         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53565         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53566         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53567         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53568         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53569         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53571 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53572             Roland McGrath  <roland@hack.frob.com>
53574         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53575         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53577 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53579         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53580         __executable_start symbol instead of _start.
53582 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53584         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53585         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53586         Move macros to...
53587         * sysdeps/gnu/ldsodefs.h: ... this new file.
53589         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53590         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53591         instead of ELFOSABI_LINUX.
53593         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53594         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53595         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53596         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53597         Likewise.
53598         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53599         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53600         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53601         Likewise.
53602         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53603         (ibm_extended_long_double): Add ieee_nan member.
53604         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53605         (do_test): New function.
53607         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53608         TEST_TRUNC.
53609         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53610         functions, renamed from truncdfsf_test, trunctfsf_test,
53611         trunctfdf_test.
53612         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53613         functions.
53614         (do_test): Run all these.
53616 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
53618         * argp/argp-help.c: Fix typos.
53619         * argp/argp-parse.c: Likewise.
53620         * debug/backtracesyms.c: Likewise.
53621         * elf/elf.h: Likewise.
53622         * malloc/malloc.c: Likewise.
53623         * nis/nis_print.c: Likewise.
53624         * resolv/res_comp.c: Likewise.
53625         * stdlib/stdlib.h: Likewise.
53626         * sunrpc/clnt_tcp.c: Likewise.
53627         * sunrpc/clnt_udp.c: Likewise.
53628         * sunrpc/clnt_unix.c: Likewise.
53629         * sysdeps/unix/bsd/ptsname.c: Likewise.
53630         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53631         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53633         Likewise.
53634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53635         Likewise.
53636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53637         Likewise.
53638         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53640 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53642         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53645 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
53647         [BZ #15897]
53648         * dlfcn/Makefile (tests): Add bug-dl-leaf.
53649         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53650         ($(objpfx)bug-dl-leaf): New rule.
53651         ($(objpfx)bug-dl-leaf.so): Likewise.
53652         ($(objpfx)bug-dl-leaf.out): Likewise.
53653         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53654         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53655         * dlfcn/bug-dl-leaf.c: New test.
53656         * dlfcn/bug-dl-leaf-lib.c: Likewise.
53657         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53658         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53659         (dlclose): Likewise.
53660         (dlmopen): Likewise.
53662 2013-08-27  Roland McGrath  <roland@hack.frob.com>
53664         * include/netdb.h [!_ISOMAC]:
53665         Don't include <tls.h>.
53666         (h_errno, __libc_h_errno): Move declaration and macros out of
53667         [_LIBC_REENTRANT].
53669         * include/resolv.h [_RESOLV_H_]:
53670         Don't include <tls.h>.
53671         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53672         * resolv/res_libc.c: Don't include <tls.h>.
53673         (_res): Use __attribute__ ((nocommon)) in place of
53674         __attribute__ ((section (".bss"))).
53676         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53677         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53679         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53681         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53682         only under [SIOCGIFCONF && SIOCGIFNETMASK].
53684         * resolv/res_mkquery.c: Include <sys/time.h>.
53686         * inet/ifreq.c: Moved to ...
53687         * sysdeps/unix/ifreq.c: ... here.
53688         * inet/ifreq.c: New file, true stub version.
53690         * socket/sa_len.c: New file.
53691         * socket/Makefile (aux): Add it.
53692         * sysdeps/unix/sysv/linux/Makefile
53693         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53694         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53695         and #include <socket/sa_len.c>.
53696         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53697         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53699         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53700         * bits/socket.h: ... here.
53702         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53703         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53704         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53706 2013-08-27  Andreas Schwab  <schwab@suse.de>
53708         [BZ #15736]
53709         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53710         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53711         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53712         * string/test-strcasecmp.c (test_main): Run tests in several
53713         locales.
53714         * string/test-strncasecmp.c (test_main): Likewise.
53716         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53717         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53718         to __strcasecmp_nonascii and __strncasecmp_nonascii.
53719         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53720         (__strncasecmp_ssse3) [PIC]: Likewise.
53722 2013-08-26  Roland McGrath  <roland@hack.frob.com>
53724         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53726         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53727         instead of explicitly declaring xdecrypt.
53728         * nis/nss_nis/nis-publickey.c: Likewise.
53730 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53732         [BZ #15890]
53733         * nscd/aicache.c: Include res_hconf.h.
53734         (addhstaiX): Initialize res_hconf.
53736 2013-08-26  Andreas Schwab  <schwab@suse.de>
53738         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53739         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53741 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53743         * nscd/aicache.c (addhstaiX): Fix indentation.
53745 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
53747         * configure.ac: Quote $build_pt_chown test.
53748         * configure: Regenerated.
53750 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
53752         [BZ #15532]
53753         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53754         * math/s_cexpf.c (__cexpf): Likewise.
53755         * math/s_cexpl.c (__cexpl): Likewise.
53756         * math/libm-test.inc (cexp_test_data): Correct expected return
53757         value for NaN + i0.  Add another test.
53759 2013-08-22  David S. Miller  <davem@davemloft.net>
53761         * po/ca.po: Update Catalan translation from translation project.
53762         * po/uk.po: Add Ukrainian translations from translation project.
53764 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
53766         [BZ #15797]
53767         * math/s_fdim.c (__fdim): Check for infinite arguments if result
53768         is infinite, not alongside NaN test.
53769         * math/s_fdimf.c (__fdimf): Likewise.
53770         * math/s_fdiml.c (__fdiml): Likewise.
53771         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
53772         errno is unchanged.
53774 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
53776         * argp/argp-help.c: Fix typos.
53777         * crypt/speeds.c: Likewise.
53778         * csu/check_fds.c: Likewise.
53779         * elf/dl-load.c: Likewise.
53780         * elf/dl-open.c: Likewise.
53781         * elf/reldep3.c: Likewise.
53782         * elf/reldep.c: Likewise.
53783         * elf/sprof.c: Likewise.
53784         * iconv/iconv_charmap.c: Likewise.
53785         * iconv/skeleton.c: Likewise.
53786         * iconv/strtab.c: Likewise.
53787         * io/lockf64.c: Likewise.
53788         * libio/libioP.h: Likewise.
53789         * resolv/gai_notify.c: Likewise.
53790         * resolv/ns_name.c: Likewise.
53791         * resolv/ns_samedomain.c: Likewise.
53792         * resolv/res_send.c: Likewise.
53793         * stdlib/random.c: Likewise.
53794         * sunrpc/rpc/xdr.h: Likewise.
53795         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53796         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53797         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53798         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53799         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53800         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53801         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53802         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53803         * sysdeps/mach/hurd/check_fds.c: Likewise.
53804         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53805         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53806         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53807         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53808         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53809         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53810         * sysdeps/pthread/aio_notify.c: Likewise.
53811         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53812         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53813         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53814         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53815         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53817 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53819         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53820         version if bit_Slow_SSE4_2 is set.
53821         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53822         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53824 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53826         [BZ #15867]
53827         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53828         trampoline stack frame information.
53829         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53830         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53831         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53832         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53833         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53834         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53835         (_libc_vdso_platform_setup): Initialize the signal trampolines.
53836         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53837         sa_flags value.
53838         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53839         interrupting a syscall and set with option SA_SIGINFO.
53841 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53843         [BZ #15531]
53844         * math/s_cproj.c (__cproj): Only return an infinity if one part of
53845         argument is infinite.
53846         * math/s_cprojf.c (__cprojf): Likewise.
53847         * math/s_cprojl.c (__cprojl): Likewise.
53848         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53849         * math/libm-test.inc (cproj_test_data): Add more tests.
53851         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53853         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53854         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53855         size.  Use __ffs to determine corresponding shift.
53857 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53858             Roland McGrath  <roland@hack.frob.com>
53860         * Makefile (INSTALL): Remove trailing blank lines from output of
53861         makeinfo.
53863 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53865         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53866         Align 32 bit compat elf_greg to 8 bytes.
53868 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
53870         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53872 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53874         * string/strcoll_l.c (coll_seq): New structure.
53875         (get_next_seq_cached): New function.
53876         (get_next_seq): New function.
53877         (do_compare): New function.
53878         (STRCOLL): Use GNU style definition.  Simplify implementation
53879         by using get_next_seq, get_next_seq_cached and do_compare.
53881 2013-08-16  Florian Weimer  <fweimer@redhat.com>
53883         [BZ #14699]
53884         CVE-2013-4237
53885         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53886         member.
53887         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53888         member.
53889         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53890         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53891         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
53892         conditional.
53893         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53894         GETDENTS_64BIT_ALIGNED.
53895         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53896         * manual/filesys.texi (Reading/Closing Directory): Document
53897         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
53898         strongly.
53899         * manual/conf.texi (Limits for Files): Add portability note to
53900         NAME_MAX, PATH_MAX.
53901         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53903 2013-08-13  Andreas Schwab  <schwab@suse.de>
53905         [BZ #15749]
53906         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53907         of fabs.
53908         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53909         LDBL_MAX_EXP >= 16384]: Add tests for it.
53911 2013-08-12  David S. Miller  <davem@davemloft.net>
53913         * version.h (RELEASE): Set to "development".
53914         (VERSION): Set to "2.18.90".
53915         * NEWS: Add 2.19 section.
53917 2013-08-03  David S. Miller  <davem@davemloft.net>
53919         * po/ko.po: Update Korean translation from translation project.
53921 2013-08-01  David S. Miller  <davem@davemloft.net>
53923         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53924         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53925         Bilka.
53927 2013-07-30  David S. Miller  <davem@davemloft.net>
53929         * po/fr.po: Update French translation from translation project.
53931 2013-07-28  David S. Miller  <davem@davemloft.net>
53933         * po/cs.po: Update Czech translation from translation project.
53935         * po/sv.po: Update Swedish translation from translation project.
53937 2013-07-27  David S. Miller  <davem@davemloft.net>
53939         * po/eo.po: Update Esperanto translation from translation project.
53941         * po/vi.po: Update Vietnamese translation from translation project.
53943         * po/de.po: Update German translation from translation project.
53945 2013-07-26  David S. Miller  <davem@davemloft.net>
53947         * po/bg.po: Update Bulgarian translation from translation project.
53949         * po/nl.po: Update Dutch translation from translation project.
53950         * po/pl.po: Update Polish translation from translation project.
53951         * po/ru.po: Update Russian translation from translation project.
53953 2013-07-24  David S. Miller  <davem@davemloft.net>
53955         * po/libc.pot: Update.
53957 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53959         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53960         variable page size.
53961         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53962         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53963         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53965 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53967         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53969 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53970             Andreas Schwab  <schwab@suse.de>
53971             Roland McGrath  <roland@hack.frob.com>
53972             Joseph Myers  <joseph@codesourcery.com>
53973             Carlos O'Donell  <carlos@redhat.com>
53975         [BZ #15755]
53976         * config.h.in: Define HAVE_PT_CHOWN.
53977         * config.make.in (build-pt-chown): New variable.
53978         * configure.in (--enable-pt_chown): New configure option.
53979         * configure: Regenerate.
53980         * login/Makefile: Include Makeconfig.  Build pt_chown only if
53981         build-pt-chown is enabled.
53982         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53983         pt_chown to fix pty ownership.
53984         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53985         CLOSE_ALL_FDS.
53986         * manual/install.texi (Configuring and compiling): Mention
53987         --enable-pt_chown. Add @findex for grantpt.
53988         * INSTALL: Regenerate.
53990 2013-07-20  David S. Miller  <davem@davemloft.net>
53992         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53993         difference between 32-bit and 64-bit.
53995 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
53997         [BZ #15711]
53998         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53999         Avoid system header dependency with -ffreestanding.
54000         ($(objpfx)bits/syscall%d): Likewise.
54002 2013-07-13  David S. Miller  <davem@davemloft.net>
54004         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
54005         underflows from atanl/atan2l due to bug 15319.
54006         (casinh_test_data): Likewise.
54008 2013-07-07  David S. Miller  <davem@davemloft.net>
54010         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
54012 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
54014         * sysdeps/i386/fpu/libm-test-ulps: Update.
54015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54017 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54019         * configure.in (--enable-lock-elision): Fix message text.
54020         * INSTALL: Regenerate.
54021         * configure: Regenerate.
54023 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54027 2013-07-03  Andreas Jaeger  <aj@suse.de>
54029         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
54030         define.
54031         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
54032         (ptrace_peeksiginfo_args): Add.
54033         (__ptrace_peeksiginfo_flags): Add.
54034         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54035         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54036         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54038 2013-07-03  Allan McRae  <allan@archlinux.org>
54040         * sysdeps/i386/fpu/libm-test-ulps: Update.
54042 2013-07-02  David S. Miller  <davem@davemloft.net>
54044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54046 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
54048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54050 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
54052         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54055 2013-07-02  Andi Kleen <ak@linux.intel.com>
54057         * config.h.in (ENABLE_LOCK_ELISION): Add.
54058         * configure.in (--enable-lock-elision): Add option.
54059         * manual/install.texi: Document --enable lock elision.
54060         * configure: Regenerate
54061         * INSTALL: Regenerate.
54063 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
54065         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
54066         SSE4.2 strcasecmp for libc.a.
54067         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
54069 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
54071         [BZ #13304]
54072         * soft-fp/op-common.h (_FP_FMA): New macro.
54073         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
54074         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
54075         (_FP_MUL_MEAT_1_imm): ... here.
54076         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
54077         (_FP_MUL_MEAT_1_wide): ... here.
54078         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
54079         (_FP_MUL_MEAT_1_hard): ... here.
54080         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
54081         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
54082         (_FP_MUL_MEAT_2_wide): ... here.
54083         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
54084         (_FP_MUL_MEAT_2_wide_3mul): ... here.
54085         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
54086         (_FP_MUL_MEAT_2_gmp): ... here.
54087         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
54088         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
54089         (_FP_MUL_MEAT_4_wide): ... here.
54090         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
54091         (_FP_MUL_MEAT_4_gmp): ... here.
54092         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
54093         (_FP_WFRACBITS_DW_S): Likewise.
54094         (_FP_WFRACXBITS_DW_S): Likewise.
54095         (_FP_HIGHBIT_DW_S): Likewise.
54096         (FP_FMA_S): Likewise.
54097         (_FP_FRAC_HIGH_DW_S): Likewise.
54098         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
54099         (_FP_WFRACBITS_DW_D): Likewise.
54100         (_FP_WFRACXBITS_DW_D): Likewise.
54101         (_FP_HIGHBIT_DW_D): Likewise.
54102         (FP_FMA_D): Likewise.
54103         (_FP_FRAC_HIGH_DW_D): Likewise.
54104         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
54105         (_FP_WFRACBITS_DW_E): Likewise.
54106         (_FP_WFRACXBITS_DW_E): Likewise.
54107         (_FP_HIGHBIT_DW_E): Likewise.
54108         (FP_FMA_E): Likewise.
54109         (_FP_FRAC_HIGH_DW_E): Likewise.
54110         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
54111         (_FP_WFRACBITS_DW_Q): Likewise.
54112         (_FP_WFRACXBITS_DW_Q): Likewise.
54113         (_FP_HIGHBIT_DW_Q): Likewise.
54114         (FP_FMA_Q): Likewise.
54115         (_FP_FRAC_HIGH_DW_Q): Likewise.
54116         * soft-fp/fmasf4.c: New file.
54117         * soft-fp/fmadf4.c: Likewise.
54118         * soft-fp/fmatf4.c: Likewise.
54120 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54123         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
54124         Silvermont.
54125         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
54126         macro.
54127         (index_Slow_SSE4_2): Likewise.
54128         (index_Prefer_PMINUB_for_stringop): Likewise.
54129         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
54130         bit_Slow_SSE4_2 is set.
54131         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54132         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54134 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54136         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
54137         rtld_global._dl_hwcap2.
54138         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
54139         POWER8.
54140         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
54141         POWER8 feature descriptions defined in _dl_hwcap2.
54142         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
54143         string handling for POWER8 feature bits.
54144         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
54145         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
54146         _dl_powerpc_cap_flags.
54147         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
54148         * sysdeps/powerpc/rtld-global-offsets.sym
54149         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
54150         _dl_hwcap2 in the rtld_global_ro structure.
54152 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54154         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
54155         hardware capabilities in support of AT_HWCAP2.
54156         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
54157         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
54158         GLRO(dl_hwcap2).
54159         (_dl_show_auxv): Add support for calling _dl_procinfo to display
54160         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
54161         explicitly the unknown a_type display mechanism is used.
54162         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
54163         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
54164         struct member.
54165         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
54166         to macro prototype for AT_HWCAP2 support.
54167         * sysdeps/i386/dl-procinfo.h: Likewise.
54168         * sysdeps/s390/dl-procinfo.h: Likewise.
54169         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
54170         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
54171         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
54172         return -1 for unknown a_type display fallback.
54173         * sysdeps/sparc/dl-procinfo.h: Likewise.
54174         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
54175         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
54177 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
54179         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
54180         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
54182 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
54184         [BZ #12492]
54185         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54186         mprotect making __stack_prot writable.
54188 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
54189             Joseph Myers  <joseph@codesourcery.com>
54191         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54192         as being properly aligned.
54194 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
54196         * dlfcn/modstatic5.c: New file.
54197         * dlfcn/tststatic5.c: New file.
54198         * dlfcn/Makefile (tests): Add tststatic5.
54199         (tests-static): Likewise.
54200         (modules-names): Add modstatic5.
54201         (tststatic5-ENV): New variable.
54202         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54204         [BZ #15022]
54205         * elf/dl-support.c (_dl_main_map): New variable.
54206         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54207         (_dl_nns, _dl_load_adds): Set to 1.
54208         (_dl_initial_searchlist): Refer to _dl_main_map.
54209         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54210         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54211         call to _dl_get_origin.
54212         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54213         around call_map.
54214         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54215         * dlfcn/modstatic3.c: New file.
54216         * dlfcn/tststatic3.c: New file.
54217         * dlfcn/tststatic4.c: New file.
54218         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54219         (tests-static): Likewise.
54220         (modules-names): Add modstatic3.
54221         (tststatic3-ENV, tststatic4-ENV): New variables.
54222         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54223         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54225 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
54227         * configure.in (CC): Require GCC version 4.4 or later.
54228         * configure: Regenerated.
54229         * manual/install.texi (Tools for Compilation): Update GCC version
54230         requirement.
54231         * INSTALL: Regenerated.
54233 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54235         [BZ #15674]
54236         * string/test-memcmp.c (check2): New.
54237         (main): Call check2.
54239         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54241 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
54243         [BZ #15022]
54244         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54245         over to...
54246         (dl_open_worker) [!SHARED]: ... here.
54248 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54250         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54252 2013-06-25  Richard Henderson  <rth@redhat.com>
54254         * locale/programs/locarchive.c: Include <libc-internal.h>
54256 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
54258         * manual/texinfo.tex: Update to version 2013-06-21.17, with
54259         trailing whitespace removed.
54261 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54263         [BZ #10283]
54264         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54265         * locale/programs/locarchive.c: Include libc-mmap.h.
54266         (prepare_address_space): Take two new outputs (the mmap base and len).
54267         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
54268         values.
54269         (create_archive): Declare new mmap base and len values for
54270         prepare_address_space, and store the result in ah.
54271         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54272         (enlarge_archive): If ah->mmap_base is not NULL, use that and
54273         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54274         Declare new mmap base and len values for
54275         prepare_address_space, and store the result in new_ah.
54276         (open_archive): Declare new mmap base and len values for
54277         prepare_address_space, and store the result in ah.
54278         (close_archive): If ah->mmap_base is not NULL, use that and
54279         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54280         * sysdeps/generic/libc-mmap.h: New file.
54282 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54284         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54285         (ALIGN_UP): Likewise.
54286         (PTR_ALIGN_DOWN): Likewise.
54287         (PTR_ALIGN_UP): Likewise.
54289 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54291         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54292         entry mapped to PPC_PLATFORM_POWER8.
54293         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54294         POWER8.
54295         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54296         (_dl_string_platform): Add case for exporting platform position for
54297         POWER8.
54298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54299         search path to sysdeps/powerpc/powerpc32/power8 directory.
54300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54301         search path to sysdeps/powerpc/powerpc64/power8 directory.
54302         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54303         power7 directories.
54304         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54305         power7 directories.
54307 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54309         * INSTALL: Regenerate.
54311         * nscd/connections.c (nscd_init): Fix comment.
54313 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
54315         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54317         [BZ #15667]
54318         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54319         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54321 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54323         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54324         DL_DST_REQ_STATIC.
54325         (DL_DST_REQ_STATIC): Remove macro.
54327 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
54329         [BZ #7006]
54330         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54331         with a shift of 0 bits.
54333 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54335         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54336         $(tststatic-ENV).
54338 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54340         [BZ #15655]
54341         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54343 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54345         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54346         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54347         accepts -fno-tree-loop-distribute-patterns.
54348         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54349         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54350         recursive call.
54351         * string/memset.c (memset): Likewise.
54352         * string/test-memmove.c (simple_memmove): Disable loop transformation
54353         to library calls.
54354         * string/test-memset.c (simple_memset): Likewise.
54355         * benchtests/bench-memmove.c (simple_memmove): Likewise.
54356         * benchtests/bench-memset.c (simple_memset): Likewise.
54357         * configure: Regenerated.
54359 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
54361         * math/test-misc.c (main): Ignore fesetround failure when failures
54362         of subsequent rounding tests would be ignored.
54364         [BZ #15654]
54365         * math/fedisblxcpt.c (fedisableexcept): Return 0.
54366         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54367         * math/fegetenv.c (__fegetenv): Return 0.
54368         * math/fegetexcept.c (fegetexcept): Return 0.
54369         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54370         FE_TONEAREST.
54371         * math/feholdexcpt.c (feholdexcept): Return 0.
54372         * math/fesetenv.c (__fesetenv): Return 0.
54373         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54374         argument FE_TONEAREST.
54375         * math/feupdateenv.c (__feupdateenv): Return 0.
54376         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54378 2013-06-18  Roland McGrath  <roland@hack.frob.com>
54380         * elf/rtld-Rules (rtld-compile-command.S): New variable.
54381         (rtld-compile-command.s, rtld-compile-command.c): New variables.
54382         ($(objpfx)rtld-%.os rules): Use them.
54384 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54386         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54387         fields.
54389 2013-06-17  Roland McGrath  <roland@hack.frob.com>
54391         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54392         length of target pattern, then descending length of dependency pattern.
54393         * configure.in (AWK): Require gawk 3.1.2 or newer.
54394         * manual/install.texi (Tools for Compilation): Say that we do.
54395         * configure: Regenerated.
54397         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54398         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54399         * scripts/sysd-rules.awk: ... this new script.
54400         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54401         than a glob-style pattern.
54403 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
54405         * math/test-misc.c (main): Do not treat incorrectly rounded
54406         conversions as failure unless ROUNDING_TESTS passes.
54408 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
54410         [BZ #15631]
54411         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54412         restore exception state around main square root computation, then
54413         check for inexactness explicitly.
54415         * math/libm-test.inc (fma_test_data): Add another test.
54417 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54419         * manual/threads.texi (Non-POSIX Extensions): New document
54420         node.  Document pthread_getattr_default_np and
54421         pthread_setattr_default_np.
54423         * Versions.def (libpthread): Add GLIBC_2.18.
54424         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54426         Likewise.
54427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54428         Likewise.
54429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54430         Likewise.
54431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54432         Likewise.
54433         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54434         Likewise.
54435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54436         Likewise.
54437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54438         Likewise.
54439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54440         Likewise.
54441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54442         Likewise.
54444 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54447         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54449 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54450             H.J. Lu  <hjl.tools@gmail.com>
54452         [BZ #15627]
54453         * sysdeps/x86_64/rtld-memset.c: Remove file.
54454         * sysdeps/x86_64/rtld-memset.S: New file.
54456 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
54458         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54459         (test_in_one_mode): Take arguments for whether the rounding mode
54460         is supported for each floating-point type.
54461         (do_test): Pass new arguments to test_in_one_mode using
54462         ROUNDING_TESTS.
54464 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54466         * posix/tst-waitid.c (do_test): Distinguish different instances of
54467         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
54468         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54469         before entering the kernel for waitpid.
54471 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54473         * NEWS: Fix note on clock function precision.  Text by Roland
54474         McGrath.
54476 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54478         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54479         it into place only when and if the sanity check passes.
54481 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
54483         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54484         output for whether conversion result is exact.  Take argument
54485         indicating whether type is IBM long double.
54486         (round_for_all): Change need_exact field to ibm_ld.
54487         * stdlib/tst-strtod-round.c (struct exactness): New type.
54488         (struct test): Change bool ld_ok field to struct exactness exact.
54489         (TEST): Update all definitions for change to field.
54490         (tests): Regenerate array contents.
54491         (test_in_one_mode): Take pointer to new field instead of old ld_ok
54492         field value.  Check for IBM long double here.
54493         (do_test): Update calls to test_in_one_mode.
54495 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54497         [BZ #12515]
54498         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54499         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54501 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54503         [BZ #15605]
54504         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54505         generated by the compiler on loop optimizations.
54506         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54507         general definitions.
54509 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
54511         * math/bug-nextafter.c: Include <math-tests.h>.
54512         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54513         the relevant type.
54514         * math/bug-nexttoward.c: Include <math-tests.h>.
54515         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54516         the relevant type.
54517         * math/test-misc.c: Include <math-tests.h>.
54518         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54519         the relevant type.
54521 2013-06-12  Andreas Jaeger  <aj@suse.de>
54523         * po/ia.po: Update Interlingua translation from translation
54524         project.
54526 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54528         * include/fenv.h: Include stdbool.h.
54529         (struct rm_ctx): New structure.
54530         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54531         Define macro.
54532         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54533         (SET_RESTORE_ROUNDF): Likewise.
54534         (SET_RESTORE_ROUNDL): Likewise.
54535         (SET_RESTORE_ROUND_NOEX): Likewise.
54536         (SET_RESTORE_ROUND_NOEXF): Likewise.
54537         (SET_RESTORE_ROUND_NOEXL): Likewise.
54538         (SET_RESTORE_ROUND_53BIT): Likewise.
54539         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54540         (libc_feresetround_noexf_ctx): Likewise.
54541         (libc_feresetround_noexl_ctx): Likewise.
54542         (libc_feholdsetround_53bit_ctx): Likewise.
54543         (libc_feresetround_53bit_ctx): Likewise.
54544         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54545         (libc_feholdexcept_setround_sse_ctx): New function.
54546         (libc_fesetenv_sse_ctx): Likewise.
54547         (libc_feupdateenv_sse_ctx): Likewise.
54548         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54549         (libc_feholdexcept_setround_387_ctx): Likewise.
54550         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54551         (libc_feholdsetround_387_prec_ctx): Likewise.
54552         (libc_feholdsetround_387_ctx): Likewise.
54553         (libc_feholdsetround_387_53bit_ctx): Likewise.
54554         (libc_feholdsetround_sse_ctx): Likewise.
54555         (libc_feresetround_sse_ctx): Likewise.
54556         (libc_feresetround_387_ctx): Likewise.
54557         (libc_feupdateenv_387_ctx): Likewise.
54558         (libc_feholdexcept_setroundf_ctx): Define macro.
54559         (libc_fesetenvf_ctx): Likewise.
54560         (libc_feupdateenvf_ctx): Likewise.
54561         (libc_feholdsetroundf_ctx): Likewise.
54562         (libc_feresetroundf_ctx): Likewise.
54563         (libc_feholdexcept_setround_ctx): Likewise.
54564         (libc_fesetenv_ctx): Likewise.
54565         (libc_feupdateenv_ctx): Likewise.
54566         (libc_feholdsetround_ctx): Likewise.
54567         (libc_feresetround_ctx): Likewise.
54568         (libc_feholdexcept_setroundl_ctx): Likewise.
54569         (libc_feupdateenvl_ctx): Likewise.
54570         (libc_feholdsetroundl_ctx): Likewise.
54571         (libc_feresetroundl_ctx): Likewise.
54572         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54573         (libc_feresetround_53bit_ctx): Likewise.
54575 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54577         * locale/iso-639.def: Convert to UTF-8.
54579 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
54581         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54582         (EXCEPTION_TESTS_double): Likewise.
54583         (EXCEPTION_TESTS_long_double): Likewise.
54584         (EXCEPTION_TESTS): Likewise.
54585         * math/libm-test.inc (test_exceptions): Only test exceptions if
54586         EXCEPTION_TESTS (FLOAT).
54588 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54590         * benchtests/Makefile (string-bench): Add strcpy_chk and
54591         stpcpy_chk.
54592         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54593         * benchtests/bench-stpcpy_chk.c: New file.
54594         * benchtests/bench-strcpy_chk-ifunc.c: New file.
54595         * benchtests/bench-strcpy_chk.c: New file.
54596         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54597         code.
54598         (do_test): Likewise.
54600 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54602         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54603         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54604         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54605         with tabs where appropriate.
54606         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54607         dl-procinfo.h.
54608         [PPC_PLATFORM_PPC440]: Likewise.
54609         [PPC_PLATFORM_PPC464]: Likewise.
54610         [PPC_PLATFORM_PPC476]: Likewise.
54611         (_dl_string_platform): Add support for detecting ppc405, ppc440,
54612         ppc464, and ppc476 platform strings merging from ports/
54613         dl-procinfo.h.
54615 2013-06-11  Andreas Schwab  <schwab@suse.de>
54617         [BZ #14991]
54618         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54619         (from_ucs4_idx): Regenerate.
54620         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54621         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54622         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54623         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54624         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54625         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54626         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54627         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54628         from FROM_LOOP and TO_LOOP specific macros.
54629         (BODY): Handle combining characters.
54630         * iconvdata/BIG5HKSCS.irreversible: Update.
54631         * iconvdata/BIG5HKSCS.precomposed: New file.
54632         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54633         characters.
54634         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54636 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54638         * include/sys/time.h: Fix indentation and add copyright header.
54640         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54641         (do_test): Likewise.
54642         * string/test-memchr.c (do_one_test): Likewise.
54643         (do_test): Likewise.
54644         * string/test-memcmp.c (do_one_test): Likewise.
54645         (do_test): Likewise.
54646         * string/test-memcpy.c (do_one_test): Likewise.
54647         (do_test): Likewise.
54648         * string/test-memmem.c (do_one_test): Likewise.
54649         (do_test): Likewise.
54650         (do_random_tests): Likewise.
54651         * string/test-memmove.c (do_one_test): Likewise.
54652         (do_test): Likewise.
54653         * string/test-memset.c (do_one_test): Likewise.
54654         (do_test): Likewise.
54655         * string/test-rawmemchr.c (do_one_test): Likewise.
54656         (do_test): Likewise.
54657         * string/test-strcasecmp.c (do_one_test): Likewise.
54658         (do_test): Likewise.
54659         * string/test-strcasestr.c (do_one_test): Likewise.
54660         (do_test): Likewise.
54661         * string/test-strcat.c (do_one_test): Likewise.
54662         (do_test): Likewise.
54663         * string/test-strchr.c (do_one_test): Likewise.
54664         (do_test): Likewise.
54665         * string/test-strcmp.c (do_one_test): Likewise.
54666         (do_test): Likewise.
54667         * string/test-strcpy.c (do_one_test): Likewise.
54668         (do_test): Likewise.
54669         * string/test-string.h: Likewise.
54670         (test_init): Likewise.
54671         * string/test-strlen.c (do_one_test): Likewise.
54672         (do_test): Likewise.
54673         * string/test-strncasecmp.c (do_one_test): Likewise.
54674         (do_test): Likewise.
54675         * string/test-strncat.c (do_one_test): Likewise.
54676         (do_test): Likewise.
54677         * string/test-strncmp.c (do_one_test): Likewise.
54678         (do_test_limit): Likewise.
54679         (do_test): Likewise.
54680         * string/test-strncpy.c (do_one_test): Likewise.
54681         (do_test): Likewise.
54682         * string/test-strnlen.c (do_one_test): Likewise.
54683         (do_test): Likewise.
54684         * string/test-strpbrk.c (do_one_test): Likewise.
54685         (do_test): Likewise.
54686         * string/test-strrchr.c (do_one_test): Likewise.
54687         (do_test): Likewise.
54688         * string/test-strspn.c (do_one_test): Likewise.
54689         (do_test): Likewise.
54690         * string/test-strstr.c (do_one_test): Likewise.
54691         (do_test): Likewise.
54693         * benchtests/Makefile (string-bench): Add string benchmarks.
54694         * benchtests/bench-bcopy-ifunc.c: New file.
54695         * benchtests/bench-bcopy.c: New file.
54696         * benchtests/bench-bzero-ifunc.c: New file.
54697         * benchtests/bench-bzero.c: New file.
54698         * benchtests/bench-memccpy-ifunc.c: New file.
54699         * benchtests/bench-memccpy.c: New file.
54700         * benchtests/bench-memchr-ifunc.c: New file.
54701         * benchtests/bench-memchr.c: New file.
54702         * benchtests/bench-memcmp-ifunc.c: New file.
54703         * benchtests/bench-memcmp.c: New file.
54704         * benchtests/bench-memmem-ifunc.c: New file.
54705         * benchtests/bench-memmem.c: New file.
54706         * benchtests/bench-memmove-ifunc.c: New file.
54707         * benchtests/bench-memmove.c: New file.
54708         * benchtests/bench-mempcpy-ifunc.c: New file.
54709         * benchtests/bench-mempcpy.c: New file.
54710         * benchtests/bench-memset-ifunc.c: New file.
54711         * benchtests/bench-memset.c: New file.
54712         * benchtests/bench-rawmemchr-ifunc.c: New file.
54713         * benchtests/bench-rawmemchr.c: New file.
54714         * benchtests/bench-stpcpy-ifunc.c: New file.
54715         * benchtests/bench-stpcpy.c: New file.
54716         * benchtests/bench-stpncpy-ifunc.c: New file.
54717         * benchtests/bench-stpncpy.c: New file.
54718         * benchtests/bench-strcasecmp-ifunc.c: New file.
54719         * benchtests/bench-strcasecmp.c: New file.
54720         * benchtests/bench-strcasestr-ifunc.c: New file.
54721         * benchtests/bench-strcasestr.c: New file.
54722         * benchtests/bench-strcat-ifunc.c: New file.
54723         * benchtests/bench-strcat.c: New file.
54724         * benchtests/bench-strchr-ifunc.c: New file.
54725         * benchtests/bench-strchr.c: New file.
54726         * benchtests/bench-strchrnul-ifunc.c: New file.
54727         * benchtests/bench-strchrnul.c: New file.
54728         * benchtests/bench-strcmp-ifunc.c: New file.
54729         * benchtests/bench-strcmp.c: New file.
54730         * benchtests/bench-strcpy-ifunc.c: New file.
54731         * benchtests/bench-strcpy.c: New file.
54732         * benchtests/bench-strcspn-ifunc.c: New file.
54733         * benchtests/bench-strcspn.c: New file.
54734         * benchtests/bench-strlen-ifunc.c: New file.
54735         * benchtests/bench-strlen.c: New file.
54736         * benchtests/bench-strncasecmp-ifunc.c: New file.
54737         * benchtests/bench-strncasecmp.c: New file.
54738         * benchtests/bench-strncat-ifunc.c: New file.
54739         * benchtests/bench-strncat.c: New file.
54740         * benchtests/bench-strncmp-ifunc.c: New file.
54741         * benchtests/bench-strncmp.c: New file.
54742         * benchtests/bench-strncpy-ifunc.c: New file.
54743         * benchtests/bench-strncpy.c: New file.
54744         * benchtests/bench-strnlen-ifunc.c: New file.
54745         * benchtests/bench-strnlen.c: New file.
54746         * benchtests/bench-strpbrk-ifunc.c: New file.
54747         * benchtests/bench-strpbrk.c: New file.
54748         * benchtests/bench-strrchr-ifunc.c: New file.
54749         * benchtests/bench-strrchr.c: New file.
54750         * benchtests/bench-strspn-ifunc.c: New file.
54751         * benchtests/bench-strspn.c: New file.
54752         * benchtests/bench-strstr-ifunc.c: New file.
54753         * benchtests/bench-strstr.c: New file.
54755         * benchtests/Makefile: Disable parallel execution of targets.
54756         (string-bench): Add memcpy.
54757         (benchset): New variable to store a list of benchmark sets.
54758         (bench-func): Renamed from bench.
54759         (bench-set): New target.
54760         (bench): Depend on bench-func and bench-set.
54761         * benchtests/README: Add section on benchmark sets.
54762         * benchtests/bench-memcpy-ifunc.c: New file.
54763         * benchtests/bench-memcpy.c: New file.
54764         * benchtests/bench-string.h: New file.
54766 2013-06-11  Andreas Schwab  <schwab@suse.de>
54768         [BZ #15577]
54769         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54770         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54771         values in the triple.
54772         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54773         terminator in the group key.
54775 2013-06-11  Andreas Jaeger  <aj@suse.de>
54777         * po/zh_TW.po: Update Chinese (traditional) translation from
54778         translation project.
54780 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54782         * include/time.h (__clock_gettime): Add libc_hidden_proto.
54783         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54784         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
54785         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54786         (clock_getcpuclockid): Likewise.
54787         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54788         Add weak_alias and libc_hidden_def.
54789         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54790         * rt/clock_gettime.c (clock_gettime): Rename to
54791         __clock_gettime.  Add weak_alias and libc_hidden_def.
54792         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54793         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54794         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
54795         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54796         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54797         Likewise.
54798         * rt/clock_settime.c (clock_settime): Rename to
54799         __clock_settime.  Add weak_alias and libc_hidden_def.
54800         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54802 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
54804         * mach/err_boot.sub: Remove trailing whitespace.
54805         * mach/err_ipc.sub: Likewise.
54806         * mach/err_mach.sub: Likewise.
54808         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54809         (ROUNDING_TESTS_double): Likewise.
54810         (ROUNDING_TESTS_long_double): Likewise.
54811         (ROUNDING_TESTS): Likewise.
54812         * math/libm-test.inc: Include <math-tests.h>.
54813         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54814         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54815         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54816         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54818 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54820         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54821         of assigning.
54823 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
54825         * sysdeps/gnu/errlist.awk: Do not generate space at end of
54826         otherwise empty TRANS lines.
54827         * sysdeps/gnu/errlist.c: Regenerated.
54829         * catgets/gencat.c (error_print): Use (void) in function
54830         definition.
54831         * crypt/crypt_util.c (__init_des): Likewise.
54832         * crypt/speeds.c (Stop): Likewise.
54833         (main): Likewise.
54834         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54835         * inet/ruserpass.c (token): Likewise.
54836         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54837         * intl/localealias.c (extend_alias_table): Likewise.
54838         * intl/plural-exp.c (init_germanic_plural): Likewise.
54839         * libio/fcloseall.c (__fcloseall): Likewise.
54840         * libio/genops.c (_IO_flush_all): Likewise.
54841         (_IO_flush_all_linebuffered): Likewise.
54842         (_IO_cleanup): Likewise.
54843         (_IO_iter_begin): Likewise.
54844         (_IO_iter_end): Likewise.
54845         (_IO_list_lock): Likewise.
54846         (_IO_list_unlock): Likewise.
54847         (_IO_list_resetlock): Likewise.
54848         * libio/getchar.c (getchar): Likewise.
54849         * libio/getchar_u.c (getchar_unlocked): Likewise.
54850         * libio/getwchar.c (getwchar): Likewise.
54851         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54852         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54853         * login/getpt.c (__getpt): Likewise.
54854         * login/tst-utmp.c (main): Likewise.
54855         * malloc/hooks.c (__malloc_check_init): Likewise.
54856         * malloc/malloc.c (__malloc_stats): Likewise.
54857         * malloc/mtrace.c (tr_break): Likewise.
54858         (mtrace): Likewise.
54859         (muntrace): Likewise.
54860         * misc/fstab.c (endfsent): Likewise.
54861         * misc/getclktck.c (__getclktck): Likewise.
54862         * misc/getdtsz.c (__getdtablesize): Likewise.
54863         * misc/gethostid.c (gethostid): Likewise.
54864         * misc/getpagesize.c (__getpagesize): Likewise.
54865         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54866         (__get_nprocs): Likewise.
54867         (__get_phys_pages): Likewise.
54868         (__get_avphys_pages): Likewise.
54869         * misc/getttyent.c (getttyent): Likewise.
54870         (setttyent): Likewise.
54871         (endttyent): Likewise.
54872         * misc/getusershell.c (getusershell): Likewise.
54873         (endusershell): Likewise.
54874         (setusershell): Likewise.
54875         (initshells): Likewise.
54876         * misc/hsearch.c (__hdestroy): Likewise.
54877         * misc/sync.c (sync): Likewise.
54878         * misc/syslog.c (closelog_internal): Likewise.
54879         (closelog): Likewise.
54880         * misc/ttyslot.c (ttyslot): Likewise.
54881         * misc/vhangup.c (vhangup): Likewise.
54882         * posix/fork.c (__fork): Likewise.
54883         * posix/getegid.c (__getegid): Likewise.
54884         * posix/geteuid.c (__geteuid): Likewise.
54885         * posix/getgid.c (__getgid): Likewise.
54886         * posix/getpid.c (__getpid): Likewise.
54887         * posix/getppid.c (__getppid): Likewise.
54888         * posix/getuid.c (__getuid): Likewise.
54889         * posix/pause.c (pause): Likewise.
54890         * posix/setpgrp.c (setpgrp): Likewise.
54891         * posix/setsid.c (__setsid): Likewise.
54892         * posix/test-vfork.c (noop): Likewise.
54893         * resolv/gethnamaddr.c (_endhtent): Likewise.
54894         (_gethtent): Likewise.
54895         (ht_endhostent): Likewise.
54896         (gethostent): Likewise.
54897         (dns_service): Likewise.
54898         * stdlib/drand48.c (drand48): Likewise.
54899         * stdlib/lrand48.c (lrand48): Likewise.
54900         * stdlib/mrand48.c (mrand48): Likewise.
54901         * stdlib/rand.c (rand): Likewise.
54902         * stdlib/random.c (__random): Likewise.
54903         * stdlib/setenv.c (clearenv): Likewise.
54904         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54905         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54906         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54907         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54908         (__get_nprocs): Likewise.
54909         (__get_phys_pages): Likewise.
54910         (__get_avphys_pages): Likewise.
54911         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54912         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54913         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54914         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54915         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54916         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54917         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54918         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54919         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54920         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54921         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54922         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54923         * sysdeps/posix/clock.c (clock): Likewise.
54924         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54925         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54926         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54927         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54928         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54929         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54930         (__get_nprocs_conf): Likewise.
54931         (__get_phys_pages): Likewise.
54932         (__get_avphys_pages): Likewise.
54933         * time/clock.c (clock): Likewise.
54934         * time/tzset.c (__tzname_max): Likewise.
54936 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
54938         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54939         (__bswap_32): Do not use "register".
54940         * crypt/crypt.c (_ufc_doit_r): Likewise.
54941         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54942         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54943         * gmon/gmon.c (__monstartup): Likewise.
54944         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54945         * hurd/hurdmalloc.c (more_memory): Likewise.
54946         (malloc): Likewise.
54947         (free): Likewise.
54948         (realloc): Likewise.
54949         (malloc_fork_prepare): Likewise.
54950         (malloc_fork_parent): Likewise.
54951         (malloc_fork_child): Likewise.
54952         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54953         (_svcauth_des): Likewise.
54954         * inet/inet_lnaof.c (inet_lnaof): Likewise.
54955         * inet/inet_net.c (inet_network): Likewise.
54956         * inet/inet_netof.c (inet_netof): Likewise.
54957         * inet/rcmd.c (__validuser2_sa): Likewise.
54958         * io/fts.c (fts_open): Likewise.
54959         (fts_load): Likewise.
54960         (fts_close): Likewise.
54961         (fts_read): Likewise.
54962         (fts_children): Likewise.
54963         (fts_build): Likewise.
54964         (fts_stat): Likewise.
54965         (fts_sort): Likewise.
54966         (fts_alloc): Likewise.
54967         (fts_lfree): Likewise.
54968         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54969         (_IO_file_xsgetn): Likewise.
54970         (_IO_file_xsgetn_mmap): Likewise.
54971         * libio/iofopncook.c (_IO_cookie_read): Likewise.
54972         (_IO_cookie_write): Likewise.
54973         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54974         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54975         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54976         * malloc/obstack.c (_obstack_begin): Likewise.
54977         (_obstack_begin_1): Likewise.
54978         (_obstack_newchunk): Likewise.
54979         (_obstack_allocated_p): Likewise.
54980         (obstack_free): Likewise.
54981         (_obstack_memory_used): Likewise.
54982         * misc/getttyent.c (getttynam): Likewise.
54983         (getttyent): Likewise.
54984         (skip): Likewise.
54985         (value): Likewise.
54986         * misc/getusershell.c (initshells): Likewise.
54987         * misc/syslog.c (__vsyslog_chk): Likewise.
54988         * misc/ttyslot.c (ttyslot): Likewise.
54989         * nis/nis_hash.c (__nis_hash): Likewise.
54990         * posix/fnmatch_loop.c (FCT): Likewise.
54991         * posix/getconf.c (print_all): Likewise.
54992         (main): Likewise.
54993         * posix/getopt.c (exchange): Likewise.
54994         * posix/glob.c (globfree): Likewise.
54995         (prefix_array): Likewise.
54996         (__glob_pattern_type): Likewise.
54997         * resolv/arpa/nameser.h (NS_GET16): Likewise.
54998         (NS_GET32): Likewise.
54999         (NS_PUT16): Likewise.
55000         (NS_PUT32): Likewise.
55001         * resolv/gethnamaddr.c (getanswer): Likewise.
55002         (gethostbyname2): Likewise.
55003         (gethostbyaddr): Likewise.
55004         (_gethtent): Likewise.
55005         (_gethtbyname2): Likewise.
55006         (_gethtbyaddr): Likewise.
55007         * resolv/ns_print.c (dst_s_get_int16): Likewise.
55008         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
55009         * resolv/res_init.c (__res_vinit): Likewise.
55010         (net_mask): Likewise.
55011         * resolv/res_mkquery.c (outchar): Likewise.
55012         (PRINT): Likewise.
55013         * stdio-common/printf_fp.c (outchar): Likewise.
55014         (PRINT): Likewise.
55015         * stdio-common/printf_fphex.c (outchar): Likewise.
55016         (PRINT): Likewise.
55017         * stdio-common/printf_size.c (outchar): Likewise.
55018         (PRINT): Likewise.
55019         * stdio-common/test_rdwr.c (main): Likewise.
55020         * stdio-common/tfformat.c (matches): Likewise.
55021         * stdio-common/vfprintf.c (outchar): Likewise.
55022         (printf_unknown): Likewise.
55023         (buffered_vfprintf): Likewise.
55024         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55025         * stdio-common/xbug.c (AppendToBuffer): Likewise.
55026         (ReadFile): Likewise.
55027         * stdlib/qsort.c (SWAP): Likewise.
55028         (_quicksort): Likewise.
55029         * stdlib/setenv.c (__add_to_environ): Likewise.
55030         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55031         * stdlib/strtol_l.c (__strtol_l): Likewise.
55032         * stdlib/tst-strtod.c (main): Likewise.
55033         * stdlib/tst-strtol.c (main): Likewise.
55034         * stdlib/tst-strtoll.c (main): Likewise.
55035         * string/bits/string2.h (__strcmp_cc): Likewise.
55036         (__strcmp_cg): Likewise.
55037         (__strcspn_c1): Likewise.
55038         (__strcspn_c2): Likewise.
55039         (__strcspn_c3): Likewise.
55040         (__strspn_c1): Likewise.
55041         (__strspn_c2): Likewise.
55042         (__strspn_c3): Likewise.
55043         (__strsep_1c): Likewise.
55044         (__strsep_2c): Likewise.
55045         (__strsep_3c): Likewise.
55046         * string/memccpy.c (__memccpy): Likewise.
55047         * string/stpcpy.c (__stpcpy): Likewise.
55048         * string/strcmp.c (strcmp): Likewise.
55049         * string/strrchr.c (strrchr): Likewise.
55050         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
55051         Likewise.
55052         * sysdeps/mach/hurd/getcwd.c
55053         (_hurd_canonicalize_directory_name_internal): Likewise.
55054         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
55055         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
55056         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
55057         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
55058         Likewise, in both definitions.
55059         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
55060         definitions.
55061         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
55062         64] (__bswap_64): Likewise.
55063         * time/test_time.c (main): Likewise.
55064         * time/tzfile.c (__tzfile_read): Likewise.
55065         (__tzfile_compute): Likewise.
55066         * time/tzset.c (__tzset_parse_tz): Likewise.
55067         (tzset_internal): Likewise.
55068         (compute_change): Likewise.
55069         * wcsmbs/wcscat.c (__wcscat): Likewise.
55070         * wcsmbs/wcschr.c (wcschr): Likewise.
55071         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
55072         * wcsmbs/wcscspn.c (wcscspn): Likewise.
55073         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
55074         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
55075         * wcsmbs/wcsspn.c (wcsspn): Likewise.
55076         * wcsmbs/wcsstr.c (wcsstr): Likewise.
55077         * wcsmbs/wmemchr.c (wmemchr): Likewise.
55078         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55079         * wcsmbs/wmemset.c (wmemset): Likewise.
55081 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
55083         * scripts/config.guess: Update to version 2013-05-16.
55084         * scripts/config.sub: Update to version 2013-04-24.
55085         * scripts/install-sh: Update to version 2011-11-20.07.
55086         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
55087         * scripts/move-if-change: Update to version 2012-01-06 07:23.
55089 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
55091         * debug/fgetws_u_chk.c: Fix leading whitespaces.
55092         * elf/sln.c: Likewise.
55093         * hurd/hurd/ioctl.h: Likewise.
55094         * hurd/hurdmalloc.c: Likewise.
55095         * hurd/xattr.c: Likewise.
55096         * include/shlib-compat.h: Likewise.
55097         * inet/ruserpass.c: Likewise.
55098         * libio/iofgets_u.c: Likewise.
55099         * libio/iofgetws_u.c: Likewise.
55100         * locale/programs/ld-identification.c: Likewise.
55101         * locale/programs/ld-time.c: Likewise.
55102         * mach/msg-destroy.c: Likewise.
55103         * nss/nss_files/files-netgrp.c: Likewise.
55104         * resolv/res_data.c: Likewise.
55105         * soft-fp/op-1.h: Likewise.
55106         * soft-fp/op-2.h: Likewise.
55107         * soft-fp/op-4.h: Likewise.
55108         * soft-fp/op-common.h: Likewise.
55109         * stdio-common/printf_fphex.c: Likewise.
55110         * stdlib/strtod_l.c: Likewise.
55111         * sunrpc/rpc/clnt.h: Likewise.
55112         * sysdeps/generic/framestate.c: Likewise.
55113         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55114         * sysdeps/i386/bsd-setjmp.S: Likewise.
55115         * sysdeps/i386/__longjmp.S: Likewise.
55116         * sysdeps/i386/setjmp.S: Likewise.
55117         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55118         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55119         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55120         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55122         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55123         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55124         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55125         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55126         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55127         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55128         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55129         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55130         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55131         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55132         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55133         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55134         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
55135         * sysdeps/ieee754/support.c: Likewise.
55136         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55137         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
55138         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
55139         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
55140         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
55141         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
55142         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55143         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
55144         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
55145         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
55146         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
55147         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
55148         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
55149         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
55150         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
55151         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
55152         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
55155 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
55157         * posix/transbug.c: Remove executable mode.
55159 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
55161         * crypt/speeds.c: Remove trailing whitespace.
55162         * dlfcn/default.c: Likewise.
55163         * elf/ifuncdep2.c: Likewise.
55164         * elf/ifuncmain1.c: Likewise.
55165         * elf/ifuncmain1vis.c: Likewise.
55166         * elf/testobj.h: Likewise.
55167         * elf/tst-stackguard1.c: Likewise.
55168         * gmon/sys/gmon.h: Likewise.
55169         * hurd/hurdmsg.c: Likewise.
55170         * hurd/new-fd.c: Likewise.
55171         * hurd/ports-get.c: Likewise.
55172         * iconvdata/ibm1008_420.c: Likewise.
55173         * inet/tst-getni1.c: Likewise.
55174         * inet/tst-getni2.c: Likewise.
55175         * libio/ioungetc.c: Likewise.
55176         * libio/wfiledoalloc.c: Likewise.
55177         * manual/libm-err-tab.pl: Likewise.
55178         * math/w_dremf.c: Likewise.
55179         * misc/ftruncate.c: Likewise.
55180         * posix/bug-glob2.c: Likewise.
55181         * posix/tst-pcre.c: Likewise.
55182         * posix/wait4.c: Likewise.
55183         * resolv/README: Likewise.
55184         * resolv/res_debug.h: Likewise.
55185         * resolv/tst-inet_ntop.c: Likewise.
55186         * setjmp/bug269-setjmp.c: Likewise.
55187         * soft-fp/extended.h: Likewise.
55188         * soft-fp/op-1.h: Likewise.
55189         * soft-fp/op-2.h: Likewise.
55190         * soft-fp/op-4.h: Likewise.
55191         * soft-fp/op-8.h: Likewise.
55192         * soft-fp/testit.c: Likewise.
55193         * stdio-common/bug16.c: Likewise.
55194         * stdlib/random.c: Likewise.
55195         * sunrpc/rpcsvc/rquota.x: Likewise.
55196         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55197         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55198         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55199         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55200         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55201         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55202         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55203         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55204         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55205         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55206         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55207         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55208         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55209         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55210         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55211         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55212         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55213         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55214         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55215         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55216         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55217         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55218         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55219         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55220         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55221         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55222         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55223         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55224         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55225         * sysdeps/ieee754/s_lib_version.c: Likewise.
55226         * sysdeps/mach/hurd/check_fds.c: Likewise.
55227         * sysdeps/mach/hurd/getsockname.c: Likewise.
55228         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55229         * sysdeps/mach/hurd/recvfrom.c: Likewise.
55230         * sysdeps/powerpc/bits/link.h: Likewise.
55231         * sysdeps/powerpc/dl-procinfo.c: Likewise.
55232         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55233         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55234         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55235         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55236         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55237         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55238         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55239         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55240         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55241         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55242         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55243         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55244         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55245         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55246         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55247         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55248         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55249         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55250         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55251         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55252         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55253         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55254         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55255         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55256         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55257         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55258         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55259         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55260         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55261         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55262         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55263         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55264         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55265         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55266         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55267         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55268         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55269         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55270         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55271         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55272         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55273         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55274         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55275         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55276         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55277         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55278         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55279         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55280         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55281         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55282         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55283         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55284         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55285         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55286         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55287         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55288         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55289         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55290         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55291         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55292         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55293         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55294         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55295         * sysdeps/powerpc/sysdep.h: Likewise.
55296         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55297         * sysdeps/s390/s390-64/sub_n.S: Likewise.
55298         * sysdeps/sh/dl-trampoline.S: Likewise.
55299         * sysdeps/sh/memset.S: Likewise.
55300         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55301         * sysdeps/sh/strlen.S: Likewise.
55302         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55303         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55304         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55305         * sysdeps/sparc/sparc32/rem.S: Likewise.
55306         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55307         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55308         * sysdeps/sparc/sparc32/strchr.S: Likewise.
55309         * sysdeps/sparc/sparc32/udiv.S: Likewise.
55310         * sysdeps/sparc/sparc32/urem.S: Likewise.
55311         * sysdeps/sparc/sparc64/add_n.S: Likewise.
55312         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55313         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55314         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55315         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55316         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55317         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55318         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55319         * sysdeps/unix/bsd/times.c: Likewise.
55320         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55321         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55325         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55326         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55327         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55328         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55329         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55330         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55331         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55332         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55333         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55334         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55335         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55336         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55337         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55338         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55339         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55340         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55341         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55342         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55343         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55344         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55345         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55346         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55347         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55348         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55349         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55350         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55351         * sysdeps/x86_64/strcspn.S: Likewise.
55353 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55355         * locale/C-translit.h: Revert #include <stdint.h> because this is a
55356         generated file.  Regenerate properly from gen-translit.pl.
55357         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
55358         locale/C-translit.h.
55360 2013-06-05  Andreas Schwab  <schwab@suse.de>
55362         [BZ #15100]
55363         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55364         week as 6 instead of -1.
55365         * time/tst-strptime.c (day_tests): Add test case.
55367 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55369         * sysdeps/generic/math_private.h
55370         (libc_feholdexcept_setround_53bit): Replace with
55371         libc_feholdsetround_53bit.
55372         (libc_feupdateenv_53bit): Replace with
55373         libc_feresetround_53bit.
55374         (SET_RESTORE_ROUND_53BIT): Adjust.
55376 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55378         * string/test-strchrnul.c: Add copyright header.
55380         * posix/tst-getaddrinfo4.c: Increase test timeout.
55382 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
55384         [BZ #15536]
55385         * math/libm-test.inc (MAX_EXP): Remove
55386         (MIN_EXP): Define.
55387         (ulp): Use MIN_EXP - MANT_DIG.
55388         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55390 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
55392         * po/be.po: Revert last change.
55393         * po/zh_CN.po: Likewise.
55394         * po/header.pot: Likewise.
55396 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
55398         * Makefile ($(common-objpfx)linkobj/libc.so): Define
55399         link-libc-deps to empty as target-specific variable.
55400         * Makerules (link-libc-args): New variable.
55401         (libc-for-link): Likewise.
55402         (link-libc-deps): Likewise.
55403         (lib%.so): Depend on $(link-libc-deps).  Link with
55404         $(link-libc-args).
55405         (build-module): Link with $(link-libc-args).
55406         (build-module-asneeded): Likewise.
55407         (build-module-helper-objlist): Filter out $(link-libc-deps) from
55408         list of objects.
55409         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55410         target-specific variable.
55411         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55412         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55413         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55414         libc.
55415         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55416         libc and ld.so.
55417         ($(objpfx)libpcprofile.so): Likewise.
55418         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55419         libc_nonshared.a.
55420         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55421         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55422         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55423         $(link-libc-deps).
55424         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55425         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55426         * login/Makefile ($(objpfx)libutil.so): Likewise.
55427         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55428         * math/Makefile ($(objpfx)libm.so): Likewise.
55429         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55430         $(objpfx)libnsl.so): Define libc-for-link as target-specific
55431         variable instead of depending directly on libc.
55432         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55433         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55434         $(link-libc-deps).
55435         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55436         libc.
55437         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55438         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55439         ($(objpfx)libanl.so): Likewise.
55440         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55441         ld.so.
55442         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55443         $(link-libc-deps).
55444         * sysdeps/i386/fpu/Makefile: Remove file.
55445         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55446         ($(objpfx)libm.so): Remove dependency on ld.so.
55448 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
55450         [BZ # 15553]
55451         * nis/yp_xdr.c (XDRMAXNAME): Define.
55452         (XDRMAXRECORD): Define.
55453         (xdr_domainname): Use XDRMAXNAME.
55454         (xdr_mapname): Likewise.
55455         (xdr_peername): Likewise.
55456         (xdr_keydat): Use XDRMAXRECORD.
55457         (xdr_valdat): Likewise.
55459 2013-05-30  Jeff Law  <law@redhat.com>
55461         [BZ #14256]
55462         * manual/errno.texi (ESTALE): Update to account for more than
55463         just NFS file systems.
55464         * sysdeps/gnu/errlist.c: Regenerated.
55466 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55468         [BZ #15465]
55469         * elf/Makefile (tests): Add tst-null-argv.
55470         (modules-names):  Add tst-null-argv-lib.
55471         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55472         (tst-null-argv-ENV): Set environment for tst-null-argv.
55473         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55474         (RTLD_PROGNAME): New macro.
55475         * elf/tst-null-argv.c: New test case.
55476         * elf/tst-null-argv-lib.c: Library for test case.
55477         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55478         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55479         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55480         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55481         * elf/dl-init.c (call_init): Likewise.
55482         (_dl_init): Likewise.
55483         * elf/dl-load.c (print_search_path): Likewise.
55484         (_dl_map_object): Likewise.
55485         * elf/dl-lookup.c (do_lookup_x): Likewise.
55486         (add_dependency): Likewise.
55487         (_dl_lookup_symbol_x): Likewise.
55488         (_dl_debug_bindings): Likewise.
55489         * elf/dl-open.c (_dl_show_scope): Likewise.
55490         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55491         * elf/dl-version.c (match_symbol): Likewise.
55492         (_dl_check_map_versions): Likewise.
55493         * elf/rtld.c (dl_main): Likewise.
55494         (print_unresolved): Use RTLD_PROGNAME.
55495         (print_missing_version): Likewise.
55496         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55497         (elf_machine_rela): Likewise.
55498         * sysdeps/powerpc/powerpc32/dl-machine.c
55499         (__process_machine_rela): Likewise.
55500         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55501         Likewise.
55502         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55503         Likewise.
55504         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55505         Likewise.
55506         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55507         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55508         Likewise.
55509         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55510         Likewise.
55511         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55513 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
55515         * po/be.po: Add descriptive title.
55516         * po/zh_CN.po: Likewise.
55517         * po/header.pot: Likewise.
55519 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
55521         * locale/programs/locarchive.c (create_archive): Inlucde fname in
55522         error message.
55523         (enlarge_archive): Likewise.
55525 2013-05-28  Ben North  <ben@redfrontdoor.org>
55527         * manual/arith.texi (frexp): It is the magnitude of the return
55528         value which lies in [0.5, 1), not the return value itself.
55530 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55534 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
55536         * stdio-common/bug26.c (main): Correct fscanf template.
55538         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55539         declare _dl_skip_args.
55541         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55542         Don't declare.
55544         * manual/platform.texi: Add missing @end deftypefun.
55546 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55548         [BZ #15529]
55549         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55550         bit of mantissa of 2^16382.
55551         * math/libm-test.inc (hypot_test_data): Add more tests.
55553         * math/libm-test.inc: Add drem and pow10 to list of tested
55554         functions.
55555         (pow10_test): New function.
55556         (drem_test): Likewise.
55557         (drem_test_tonearest): Likewise.
55558         (drem_test_towardzero): Likewise.
55559         (drem_test_downward): Likewise.
55560         (drem_test_upward): Likewise.
55561         (main): Call the new functions.
55563         * math/libm-test.inc (finite_test_data): Remove.
55564         (finite_test): Run tests from isfinite_test_data.
55565         (gamma_test_data): Remove.
55566         (gamma_test): Run tests from lgamma_test_data.
55567         * sysdeps/i386/fpu/libm-test-ulps: Update.
55568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55570 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55572         * manual/platform.texi: Add PowerPC PPR function set documentation.
55573         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55574         implementation.
55576 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
55578         * math/libm-test.inc (MAX_EXP): Define.
55579         (ULPDIFF): Define.
55580         (ulp): New function.
55581         (check_float_internal): Use ULPDIFF.
55582         (cpow_test): Disable failing test.
55583         (check_ulp): Test ulp() implementation.
55584         (main): Call check_ulp before starting tests.
55586 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55588         * math/gen-libm-test.pl (generate_testfile): Do not handle
55589         START_DATA and END_DATA.
55590         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55591         END_DATA.
55592         (acos_tonearest_test_data): Likewise.
55593         (acos_towardzero_test_data): Likewise.
55594         (acos_downward_test_data): Likewise.
55595         (acos_upward_test_data): Likewise.
55596         (acosh_test_data): Likewise.
55597         (asin_test_data): Likewise.
55598         (asin_tonearest_test_data): Likewise.
55599         (asin_towardzero_test_data): Likewise.
55600         (asin_downward_test_data): Likewise.
55601         (asin_upward_test_data): Likewise.
55602         (asinh_test_data): Likewise.
55603         (atan_test_data): Likewise.
55604         (atanh_test_data): Likewise.
55605         (atan2_test_data): Likewise.
55606         (cabs_test_data): Likewise.
55607         (cacos_test_data): Likewise.
55608         (cacosh_test_data): Likewise.
55609         (carg_test_data): Likewise.
55610         (casin_test_data): Likewise.
55611         (casinh_test_data): Likewise.
55612         (catan_test_data): Likewise.
55613         (catanh_test_data): Likewise.
55614         (cbrt_test_data): Likewise.
55615         (ccos_test_data): Likewise.
55616         (ccosh_test_data): Likewise.
55617         (ceil_test_data): Likewise.
55618         (cexp_test_data): Likewise.
55619         (cimag_test_data): Likewise.
55620         (clog_test_data): Likewise.
55621         (clog10_test_data): Likewise.
55622         (conj_test_data): Likewise.
55623         (copysign_test_data): Likewise.
55624         (cos_test_data): Likewise.
55625         (cos_tonearest_test_data): Likewise.
55626         (cos_towardzero_test_data): Likewise.
55627         (cos_downward_test_data): Likewise.
55628         (cos_upward_test_data): Likewise.
55629         (cosh_test_data): Likewise.
55630         (cosh_tonearest_test_data): Likewise.
55631         (cosh_towardzero_test_data): Likewise.
55632         (cosh_downward_test_data): Likewise.
55633         (cosh_upward_test_data): Likewise.
55634         (cpow_test_data): Likewise.
55635         (cproj_test_data): Likewise.
55636         (creal_test_data): Likewise.
55637         (csin_test_data): Likewise.
55638         (csinh_test_data): Likewise.
55639         (csqrt_test_data): Likewise.
55640         (ctan_test_data): Likewise.
55641         (ctan_tonearest_test_data): Likewise.
55642         (ctan_towardzero_test_data): Likewise.
55643         (ctan_downward_test_data): Likewise.
55644         (ctan_upward_test_data): Likewise.
55645         (ctanh_test_data): Likewise.
55646         (ctanh_tonearest_test_data): Likewise.
55647         (ctanh_towardzero_test_data): Likewise.
55648         (ctanh_downward_test_data): Likewise.
55649         (ctanh_upward_test_data): Likewise.
55650         (erf_test_data): Likewise.
55651         (erfc_test_data): Likewise.
55652         (exp_test_data): Likewise.
55653         (exp_tonearest_test_data): Likewise.
55654         (exp_towardzero_test_data): Likewise.
55655         (exp_downward_test_data): Likewise.
55656         (exp_upward_test_data): Likewise.
55657         (exp10_test_data): Likewise.
55658         (exp2_test_data): Likewise.
55659         (expm1_test_data): Likewise.
55660         (fabs_test_data): Likewise.
55661         (fdim_test_data): Likewise.
55662         (finite_test_data): Likewise.
55663         (floor_test_data): Likewise.
55664         (fma_test_data): Likewise.
55665         (fma_towardzero_test_data): Likewise.
55666         (fma_downward_test_data): Likewise.
55667         (fma_upward_test_data): Likewise.
55668         (fmax_test_data): Likewise.
55669         (fmin_test_data): Likewise.
55670         (fmod_test_data): Likewise.
55671         (fpclassify_test_data): Likewise.
55672         (frexp_test_data): Likewise.
55673         (gamma_test_data): Likewise.
55674         (hypot_test_data): Likewise.
55675         (ilogb_test_data): Likewise.
55676         (isfinite_test_data): Likewise.
55677         (isgreater_test_data): Likewise.
55678         (isgreaterequal_test_data): Likewise.
55679         (isinf_test_data): Likewise.
55680         (isless_test_data): Likewise.
55681         (islessequal_test_data): Likewise.
55682         (islessgreater_test_data): Likewise.
55683         (isnan_test_data): Likewise.
55684         (isnormal_test_data): Likewise.
55685         (issignaling_test_data): Likewise.
55686         (isunordered_test_data): Likewise.
55687         (j0_test_data): Likewise.
55688         (j1_test_data): Likewise.
55689         (jn_test_data): Likewise.
55690         (ldexp_test_data): Likewise.
55691         (lgamma_test_data): Likewise.
55692         (lrint_test_data): Likewise.
55693         (lrint_tonearest_test_data): Likewise.
55694         (lrint_towardzero_test_data): Likewise.
55695         (lrint_downward_test_data): Likewise.
55696         (lrint_upward_test_data): Likewise.
55697         (llrint_test_data): Likewise.
55698         (llrint_tonearest_test_data): Likewise.
55699         (llrint_towardzero_test_data): Likewise.
55700         (llrint_downward_test_data): Likewise.
55701         (llrint_upward_test_data): Likewise.
55702         (log_test_data): Likewise.
55703         (log10_test_data): Likewise.
55704         (log1p_test_data): Likewise.
55705         (log2_test_data): Likewise.
55706         (logb_test_data): Likewise.
55707         (logb_downward_test_data): Likewise.
55708         (lround_test_data): Likewise.
55709         (llround_test_data): Likewise.
55710         (modf_test_data): Likewise.
55711         (nearbyint_test_data): Likewise.
55712         (nextafter_test_data): Likewise.
55713         (nexttoward_test_data): Likewise.
55714         (pow_test_data): Likewise.
55715         (pow_tonearest_test_data): Likewise.
55716         (pow_towardzero_test_data): Likewise.
55717         (pow_downward_test_data): Likewise.
55718         (pow_upward_test_data): Likewise.
55719         (remainder_test_data): Likewise.
55720         (remainder_tonearest_test_data): Likewise.
55721         (remainder_towardzero_test_data): Likewise.
55722         (remainder_downward_test_data): Likewise.
55723         (remainder_upward_test_data): Likewise.
55724         (remquo_test_data): Likewise.
55725         (rint_test_data): Likewise.
55726         (rint_tonearest_test_data): Likewise.
55727         (rint_towardzero_test_data): Likewise.
55728         (rint_downward_test_data): Likewise.
55729         (rint_upward_test_data): Likewise.
55730         (round_test_data): Likewise.
55731         (scalb_test_data): Likewise.
55732         (scalbn_test_data): Likewise.
55733         (scalbln_test_data): Likewise.
55734         (signbit_test_data): Likewise.
55735         (sin_test_data): Likewise.
55736         (sin_tonearest_test_data): Likewise.
55737         (sin_towardzero_test_data): Likewise.
55738         (sin_downward_test_data): Likewise.
55739         (sin_upward_test_data): Likewise.
55740         (sincos_test_data): Likewise.
55741         (sinh_test_data): Likewise.
55742         (sinh_tonearest_test_data): Likewise.
55743         (sinh_towardzero_test_data): Likewise.
55744         (sinh_downward_test_data): Likewise.
55745         (sinh_upward_test_data): Likewise.
55746         (sqrt_test_data): Likewise.
55747         (tan_test_data): Likewise.
55748         (tan_tonearest_test_data): Likewise.
55749         (tan_towardzero_test_data): Likewise.
55750         (tan_downward_test_data): Likewise.
55751         (tan_upward_test_data): Likewise.
55752         (tanh_test_data): Likewise.
55753         (tgamma_test_data): Likewise.
55754         (trunc_test_data): Likewise.
55755         (y0_test_data): Likewise.
55756         (y1_test_data): Likewise.
55757         (yn_test_data): Likewise.
55758         (significand_test_data): Likewise.
55760         * math/gen-libm-test.pl (@functions): Remove variable.
55761         (generate_testfile): Don't handle START and END lines.
55762         * math/libm-test.inc (START): New macro.
55763         (END): Likewise.
55764         (END_COMPLEX): Likewise.
55765         (acos_test): Use END macro without arguments.
55766         (acos_test_tonearest): Likewise.
55767         (acos_test_towardzero): Likewise.
55768         (acos_test_downward): Likewise.
55769         (acos_test_upward): Likewise.
55770         (acosh_test): Likewise.
55771         (asin_test): Likewise.
55772         (asin_test_tonearest): Likewise.
55773         (asin_test_towardzero): Likewise.
55774         (asin_test_downward): Likewise.
55775         (asin_test_upward): Likewise.
55776         (asinh_test): Likewise.
55777         (atan_test): Likewise.
55778         (atanh_test): Likewise.
55779         (atan2_test): Likewise.
55780         (cabs_test): Likewise.
55781         (cacos_test): Use END_COMPLEX macro without arguments.
55782         (cacosh_test): Likewise.
55783         (carg_test): Use END macro without arguments.
55784         (casin_test): Use END_COMPLEX macro without arguments.
55785         (casinh_test): Likewise.
55786         (catan_test): Likewise.
55787         (catanh_test): Likewise.
55788         (cbrt_test): Use END macro without arguments.
55789         (ccos_test): Use END_COMPLEX macro without arguments.
55790         (ccosh_test): Likewise.
55791         (ceil_test): Use END macro without arguments.
55792         (cexp_test): Use END_COMPLEX macro without arguments.
55793         (cimag_test): Use END macro without arguments.
55794         (clog_test): Use END_COMPLEX macro without arguments.
55795         (clog10_test): Likewise.
55796         (conj_test): Likewise.
55797         (copysign_test): Use END macro without arguments.
55798         (cos_test): Likewise.
55799         (cos_test_tonearest): Likewise.
55800         (cos_test_towardzero): Likewise.
55801         (cos_test_downward): Likewise.
55802         (cos_test_upward): Likewise.
55803         (cosh_test): Likewise.
55804         (cosh_test_tonearest): Likewise.
55805         (cosh_test_towardzero): Likewise.
55806         (cosh_test_downward): Likewise.
55807         (cosh_test_upward): Likewise.
55808         (cpow_test): Use END_COMPLEX macro without arguments.
55809         (cproj_test): Likewise.
55810         (creal_test): Use END macro without arguments.
55811         (csin_test): Use END_COMPLEX macro without arguments.
55812         (csinh_test): Likewise.
55813         (csqrt_test): Likewise.
55814         (ctan_test): Likewise.
55815         (ctan_test_tonearest): Likewise.
55816         (ctan_test_towardzero): Likewise.
55817         (ctan_test_downward): Likewise.
55818         (ctan_test_upward): Likewise.
55819         (ctanh_test): Likewise.
55820         (ctanh_test_tonearest): Likewise.
55821         (ctanh_test_towardzero): Likewise.
55822         (ctanh_test_downward): Likewise.
55823         (ctanh_test_upward): Likewise.
55824         (erf_test): Use END macro without arguments.
55825         (erfc_test): Likewise.
55826         (exp_test): Likewise.
55827         (exp_test_tonearest): Likewise.
55828         (exp_test_towardzero): Likewise.
55829         (exp_test_downward): Likewise.
55830         (exp_test_upward): Likewise.
55831         (exp10_test): Likewise.
55832         (exp2_test): Likewise.
55833         (expm1_test): Likewise.
55834         (fabs_test): Likewise.
55835         (fdim_test): Likewise.
55836         (finite_test): Likewise.
55837         (floor_test): Likewise.
55838         (fma_test): Likewise.
55839         (fma_test_towardzero): Likewise.
55840         (fma_test_downward): Likewise.
55841         (fma_test_upward): Likewise.
55842         (fmax_test): Likewise.
55843         (fmin_test): Likewise.
55844         (fmod_test): Likewise.
55845         (fpclassify_test): Likewise.
55846         (frexp_test): Likewise.
55847         (gamma_test): Likewise.
55848         (hypot_test): Likewise.
55849         (ilogb_test): Likewise.
55850         (isfinite_test): Likewise.
55851         (isgreater_test): Likewise.
55852         (isgreaterequal_test): Likewise.
55853         (isinf_test): Likewise.
55854         (isless_test): Likewise.
55855         (islessequal_test): Likewise.
55856         (islessgreater_test): Likewise.
55857         (isnan_test): Likewise.
55858         (isnormal_test): Likewise.
55859         (issignaling_test): Likewise.
55860         (isunordered_test): Likewise.
55861         (j0_test): Likewise.
55862         (j1_test): Likewise.
55863         (jn_test): Likewise.
55864         (ldexp_test): Likewise.
55865         (lgamma_test): Likewise.
55866         (lrint_test): Likewise.
55867         (lrint_test_tonearest): Likewise.
55868         (lrint_test_towardzero): Likewise.
55869         (lrint_test_downward): Likewise.
55870         (lrint_test_upward): Likewise.
55871         (llrint_test): Likewise.
55872         (llrint_test_tonearest): Likewise.
55873         (llrint_test_towardzero): Likewise.
55874         (llrint_test_downward): Likewise.
55875         (llrint_test_upward): Likewise.
55876         (log_test): Likewise.
55877         (log10_test): Likewise.
55878         (log1p_test): Likewise.
55879         (log2_test): Likewise.
55880         (logb_test): Likewise.
55881         (logb_test_downward): Likewise.
55882         (lround_test): Likewise.
55883         (llround_test): Likewise.
55884         (modf_test): Likewise.
55885         (nearbyint_test): Likewise.
55886         (nextafter_test): Likewise.
55887         (nexttoward_test): Likewise.
55888         (pow_test): Likewise.
55889         (pow_test_tonearest): Likewise.
55890         (pow_test_towardzero): Likewise.
55891         (pow_test_downward): Likewise.
55892         (pow_test_upward): Likewise.
55893         (remainder_test): Likewise.
55894         (remainder_test_tonearest): Likewise.
55895         (remainder_test_towardzero): Likewise.
55896         (remainder_test_downward): Likewise.
55897         (remainder_test_upward): Likewise.
55898         (remquo_test): Likewise.
55899         (rint_test): Likewise.
55900         (rint_test_tonearest): Likewise.
55901         (rint_test_towardzero): Likewise.
55902         (rint_test_downward): Likewise.
55903         (rint_test_upward): Likewise.
55904         (round_test): Likewise.
55905         (scalb_test): Likewise.
55906         (scalbn_test): Likewise.
55907         (scalbln_test): Likewise.
55908         (signbit_test): Likewise.
55909         (sin_test): Likewise.
55910         (sin_test_tonearest): Likewise.
55911         (sin_test_towardzero): Likewise.
55912         (sin_test_downward): Likewise.
55913         (sin_test_upward): Likewise.
55914         (sincos_test): Likewise.
55915         (sinh_test): Likewise.
55916         (sinh_test_tonearest): Likewise.
55917         (sinh_test_towardzero): Likewise.
55918         (sinh_test_downward): Likewise.
55919         (sinh_test_upward): Likewise.
55920         (sqrt_test): Likewise.
55921         (tan_test): Likewise.
55922         (tan_test_tonearest): Likewise.
55923         (tan_test_towardzero): Likewise.
55924         (tan_test_downward): Likewise.
55925         (tan_test_upward): Likewise.
55926         (tanh_test): Likewise.
55927         (tgamma_test): Likewise.
55928         (trunc_test): Likewise.
55929         (y0_test): Likewise.
55930         (y1_test): Likewise.
55931         (yn_test): Likewise.
55932         (significand_test): Likewise.
55934 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
55936         [BZ #15381]
55937         * libio/genops.c (_IO_no_init): Initialize wide struct info.
55939 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55941         [BZ #14894]
55942         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55943         __ppc_mdoio and __ppc_mdoom.
55944         * manual/platform.texi: Document new functions __ppc_yield,
55945         __ppc_mdoio and __ppc_mdoom.
55947 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
55949         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55950         (main): Mention "tls" pseudo-hwcap is legacy.
55951         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55953 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55955         * math/gen-libm-test.pl (parse_args): Output only string of
55956         arguments as text for test name, not full call or descriptions of
55957         tests for extra outputs.
55958         (generate_testfile): Do not pass function name to parse_args.
55959         Generate this_func variable from START.
55960         * math/libm-test.inc (struct test_f_f_data): Rename test_name
55961         field to arg_str.
55962         (struct test_ff_f_data): Likewise.
55963         (test_ff_f_data_nexttoward): Likewise.
55964         (struct test_fi_f_data): Likewise.
55965         (struct test_fl_f_data): Likewise.
55966         (struct test_if_f_data): Likewise.
55967         (struct test_fff_f_data): Likewise.
55968         (struct test_c_f_data): Likewise.
55969         (struct test_f_f1_data): Likewise.  Remove field extra_name.
55970         (struct test_fF_f1_data): Likewise.
55971         (struct test_ffI_f1_data): Likewise.
55972         (struct test_c_c_data): Rename test_name field to arg_str.
55973         (struct test_cc_c_data): Likewise.
55974         (struct test_f_i_data): Likewise.
55975         (struct test_ff_i_data): Likewise.
55976         (struct test_f_l_data): Likewise.
55977         (struct test_f_L_data): Likewise.
55978         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
55979         and extra2_name.
55980         (COMMON_TEST_SETUP): New macro.
55981         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55982         (COMMON_TEST_CLEANUP): Likewise.
55983         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55984         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
55985         macros.
55986         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55987         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
55988         macros.
55989         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55990         (RUN_TEST_fff_f): Take argument string.  Call new setup and
55991         cleanup macros.
55992         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55993         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
55994         macros.
55995         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55996         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
55997         macros.
55998         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55999         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
56000         cleanup macros.
56001         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56002         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
56003         cleanup macros.
56004         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56005         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
56006         cleanup macros.
56007         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56008         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
56009         macros.
56010         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
56011         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
56012         macros.
56013         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
56014         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
56015         macros.
56016         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
56017         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
56018         cleanup macros.
56019         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
56020         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
56021         cleanup macros.
56022         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
56023         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
56024         macros.
56025         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
56026         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
56027         cleanup macros.
56028         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
56029         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
56030         macros.
56031         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
56032         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
56033         macros.
56034         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
56035         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
56036         cleanup macros.
56037         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
56039 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
56041         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
56042         to _sifields.sigfault.
56043         (si_addr_lsb): Define new macro.
56044         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56045         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56046         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
56048 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
56050         [BZ #15441]
56051         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
56052         returns -1.
56053         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
56054         null return -1.
56055         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
56056         loading the domain.
56058 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
56060         * math/gen-libm-test.pl (parse_args): Do not include expected
56061         result in test name.
56062         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
56063         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56064         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56065         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56066         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56069 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
56071         * benchtests/Makefile: Sort function entries.
56073         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
56074         tanh, asinh, acosh, atanh.
56075         * benchtests/acos-inputs: New file.
56076         * benchtests/acosh-inputs: New file.
56077         * benchtests/asin-inputs: New file.
56078         * benchtests/asinh-inputs: New file.
56079         * benchtests/atanh-inputs: New file.
56080         * benchtests/cosh-inputs: New file.
56081         * benchtests/log-inputs: New file.
56082         * benchtests/sinh-inputs: New file.
56083         * benchtests/tanh-inputs: New file.
56085 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
56087         [BZ #15339]
56088         * posix/tst-getaddrinfo4.c: New test.
56089         * posix/Makefile (tests): Add it.
56091 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56093         [BZ #15339]
56094         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
56095         when no services were used.
56096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
56097         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
56099 2013-05-21  Andreas Schwab  <schwab@suse.de>
56101         [BZ #15014]
56102         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
56103         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
56104         successful.
56105         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
56106         redundant variable declarations and reallocation of buffer when
56107         parsing as IPv6 address.  Always set NSS status when called from
56108         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
56109         buffer too small.  Correct computation of needed size.
56110         * nss/Makefile (tests): Add test-digits-dots.
56111         * nss/test-digits-dots.c: New test.
56113 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56115         * benchtests/Makefile: Remove instructions for adding
56116         benchmark tests.
56117         * benchtests/README: New file to explain how to execute and
56118         enhance the benchmark tests.
56120 2013-05-21  Andreas Schwab  <schwab@suse.de>
56122         [BZ #15493]
56123         * setjmp/Makefile (tests): Add tst-sigsetjmp.
56124         * setjmp/tst-sigsetjmp.c: New test.
56126 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
56128         * sysdeps/x86_64/memset.S (memset): New implementation.
56129         (__bzero): Likewise.
56130         (__memset_tail): New function.
56132 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
56134         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
56135         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
56136         __memcpy_sse2_unaligned ifunc selection.
56137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56138         Add memcpy-sse2-unaligned.S.
56139         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56140         Add: __memcpy_sse2_unaligned.
56142 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
56144         [BZ #15490]
56145         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56146         math_force_eval before restoring floating-point envrionment.
56147         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
56148         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
56149         Likewise.
56150         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
56151         <math_private.h>.
56152         (__nearbyintl): Use math_force_eval before restoring
56153         floating-point environment.
56154         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
56156         * math/gen-libm-test.pl (special_functions): Remove.
56157         (parse_args): Don't handle TEST_extra.  Handle functions with no
56158         return value.
56159         * math/libm-test.inc (struct test_sincos_data): Replace with
56160         struct test_fFF_11_data.
56161         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
56162         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
56163         (sincos_test_data): Change element type to struct
56164         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
56165         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
56166         RUN_TEST_LOOP_sincos.
56167         * math/README.libm-test: Don't mention special handling of
56168         individual functions.
56169         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
56170         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56171         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56172         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56173         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56176         * math/gen-libm-test.pl (get_variable): Remove function.
56177         (parse_args): Don't show pointer parameters to call in test
56178         names.  Use "extra output N" in test names for extra outputs
56179         rather than naming variables.
56181 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
56183         [BZ #15488]
56184         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56185         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56186         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56187         double tests.
56188         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56189         disable.
56190         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56191         check_long_double.
56193         * math/gen-libm-test.pl (@tests): Remove variable.
56194         ($count): Likewise.
56195         (new_test): Remove function.
56196         (show_exceptions): New function.
56197         (special_functions): Use show_exceptions instead of new_test.
56198         (parse_args): Likewise.
56199         (generate_testfile): Pass only function name in generated call to
56200         print_max_error or print_complex_max_error.
56201         (get_ulps): Do not handle complex tests specially.
56202         (output_test): Rename to ...
56203         (get_all_ulps_for_test): ... this.  Return a string rather than
56204         printing to a file.  Require ulps to be present.
56205         (output_ulps): Generate arrays rather than #defines.
56206         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56207         (struct ulp_data): New type.
56208         (BUILD_COMPLEX_ULP): Remove macro.
56209         (compare_ulp_data): New function.
56210         (find_ulps): Likewise.
56211         (find_test_ulps): Likewise.
56212         (find_function_ulps): Likewise.
56213         (find_complex_function_ulps): Likewise.
56214         (print_max_error): Determine allowed ulps using
56215         find_function_ulps.
56216         (print_complex_max_error): Determine allowed ulps using
56217         find_complex_function_ulps.
56218         (check_float_internal): Determine max ulps using find_test_ulps.
56219         (check_float): Do not take max_ulp parameter.  Update call to
56220         check_float_internal.
56221         (check_complex): Likewise.
56222         (check_int): Do not take max_ulp parameter.
56223         (check_long): Likewise.
56224         (check_bool): Likewise.
56225         (check_longlong): Likewise.
56226         (struct test_f_f_data): Remove max_ulp field.
56227         (struct test_ff_f_data): Likewise.
56228         (struct test_ff_f_data_nexttoward): Likewise.
56229         (struct test_fi_f_data): Likewise.
56230         (struct test_fl_f_data): Likewise.
56231         (struct test_if_f_data): Likewise.
56232         (struct test_fff_f_data): Likewise.
56233         (struct test_c_f_data): Likewise.
56234         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56235         (struct test_fF_f1_data): Likewise.
56236         (struct test_ffI_f1_data): Likewise.
56237         (struct test_c_c_data): Remove max_ulp field.
56238         (struct test_cc_c_data): Likewise.
56239         (struct test_f_i_data): Likewise.
56240         (struct test_ff_i_data): Likewise.
56241         (struct test_f_l_data): Likewise.
56242         (struct test_f_L_data): Likewise.
56243         (struct test_sincos_data): Likewise.
56244         (RUN_TEST_f_f): Do not handle ulps.
56245         (RUN_TEST_LOOP_f_f): Likewise.
56246         (RUN_TEST_2_f): Likewise.
56247         (RUN_TEST_LOOP_2_f): Likewise.
56248         (RUN_TEST_fff_f): Likewise.
56249         (RUN_TEST_LOOP_fff_f): Likewise.
56250         (RUN_TEST_c_f): Likewise.
56251         (RUN_TEST_LOOP_c_f): Likewise.
56252         (RUN_TEST_f_f1): Likewise.
56253         (RUN_TEST_LOOP_f_f1): Likewise.
56254         (RUN_TEST_fF_f1): Likewise.
56255         (RUN_TEST_LOOP_fF_f1): Likewise.
56256         (RUN_TEST_fI_f1): Likewise.
56257         (RUN_TEST_LOOP_fI_f1): Likewise.
56258         (RUN_TEST_ffI_f1): Likewise.
56259         (RUN_TEST_LOOP_ffI_f1): Likewise.
56260         (RUN_TEST_c_c): Likewise.
56261         (RUN_TEST_LOOP_c_c): Likewise.
56262         (RUN_TEST_cc_c): Likewise.
56263         (RUN_TEST_LOOP_cc_c): Likewise.
56264         (RUN_TEST_f_i): Likewise.
56265         (RUN_TEST_LOOP_f_i): Likewise.
56266         (RUN_TEST_f_i_tg): Likewise.
56267         (RUN_TEST_LOOP_f_i_tg): Likewise.
56268         (RUN_TEST_ff_i_tg): Likewise.
56269         (RUN_TEST_LOOP_ff_i_tg): Likewise.
56270         (RUN_TEST_f_b): Likewise.
56271         (RUN_TEST_LOOP_f_b): Likewise.
56272         (RUN_TEST_f_b_tg): Likewise.
56273         (RUN_TEST_LOOP_f_b_tg): Likewise.
56274         (RUN_TEST_f_l): Likewise.
56275         (RUN_TEST_LOOP_f_l): Likewise.
56276         (RUN_TEST_f_L): Likewise.
56277         (RUN_TEST_LOOP_f_L): Likewise.
56278         (RUN_TEST_sincos): Likewise.
56279         (RUN_TEST_LOOP_sincos): Likewise.
56281 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
56283         [BZ #15480]
56284         [BZ #15485]
56285         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56286         main case of finite arguments, set rounding mode to FE_TONEAREST
56287         and discard exceptions.
56288         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56289         exceptions.
56290         (remainder_tonearest_test_data): New variable.
56291         (remainder_test_tonearest): New function.
56292         (remainder_towardzero_test_data): New variable.
56293         (remainder_test_towardzero): New function.
56294         (remainder_downward_test_data): New variable.
56295         (remainder_test_downward): New function.
56296         (remainder_upward_test_data): New variable.
56297         (remainder_test_upward): New function.
56298         (main): Call the new test functions.
56300         * math/libm-test.inc (struct test_f_f1_data): Remove field
56301         extra_init.
56302         (struct test_fF_f1_data): Likewise.
56303         (struct test_ffI_f1_data): Likewise.
56304         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
56305         based on value of EXTRA_EXPECTED.
56306         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56307         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
56308         EXTRA_VAR based on value of EXTRA_EXPECTED.
56309         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56310         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
56311         EXTRA_VAR based on value of EXTRA_EXPECTED.
56312         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56313         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
56314         EXTRA_VAR based on value of EXTRA_EXPECTED.
56315         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56316         * math/gen-libm-test.pl (parse_args): Don't output initializers
56317         for extra output values.
56319         * math/libm-test.inc (check_int): Expect result to be exactly
56320         equal to expected value and do not handle ulps.
56321         (check_long): Likewise.
56322         (check_longlong): Likewise.
56324         * math/libm-test.inc (ceil_test_data): Test for "inexact"
56325         exceptions.
56326         (cimag_test_data): Likewise.
56327         (conj_test_data): Likewise.
56328         (copysign_test_data): Likewise.
56329         (cproj_test_data): Likewise.
56330         (creal_test_data): Likewise.
56331         (fabs_test_data): Likewise.
56332         (fdim_test_data): Likewise.
56333         (finite_test_data): Likewise.
56334         (floor_test_data): Likewise.
56335         (fmax_test_data): Likewise.
56336         (fmin_test_data): Likewise.
56337         (fmod_test_data): Likewise.
56338         (fpclassify_test_data): Likewise.
56339         (frexp_test_data): Likewise.
56340         (ilogb_test_data): Likewise.
56341         (isfinite_test_data): Likewise.
56342         (isgreater_test_data): Likewise.
56343         (isgreaterequal_test_data): Likewise.
56344         (isinf_test_data): Likewise.
56345         (isless_test_data): Likewise.
56346         (islessequal_test_data): Likewise.
56347         (islessgreater_test_data): Likewise.
56348         (isnan_test_data): Likewise.
56349         (isnormal_test_data): Likewise.
56350         (issignaling_test_data): Likewise.
56351         (isunordered_test_data): Likewise.
56352         (ldexp_test_data): Likewise.
56353         (lrint_test_data): Likewise.
56354         (lrint_test_data) [TEST_FLOAT]: Disable one test.
56355         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56356         (lrint_tonearest_test_data): Test for "inexact" exceptions.
56357         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56358         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56359         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56360         test input.
56361         (lrint_towardzero_test_data): Test for "inexact" exceptions.
56362         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56363         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56364         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56365         that test input.
56366         (lrint_downward_test_data): Test for "inexact" exceptions.
56367         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56368         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56369         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56370         test input.
56371         (lrint_upward_test_data): Test for "inexact" exceptions.
56372         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56373         test input.
56374         (llrint_test_data): Test for "inexact" exceptions.
56375         (llrint_test_data) [TEST_FLOAT]: Disable one test.
56376         (llrint_tonearest_test_data): Test for "inexact" exceptions.
56377         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56378         (llrint_towardzero_test_data): Test for "inexact" exceptions.
56379         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56380         (llrint_downward_test_data): Test for "inexact" exceptions.
56381         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56382         (llrint_upward_test_data): Test for "inexact" exceptions.
56383         (logb_test_data): Likewise.
56384         (logb_downward_test_data): Likewise.
56385         (nextafter_test_data): Likewise.
56386         (nexttoward_test_data): Likewise.
56387         (remainder_test_data): Likewise.
56388         (remquo_test_data): Likewise.
56389         (scalbn_test_data): Likewise.
56390         (scalbln_test_data): Likewise.
56391         (signbit_test_data): Likewise.
56392         (sqrt_test_data): Likewise.
56393         (significand_test_data): Likewise.
56395 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56397         [BZ #15424]
56398         * benchtests/bench-modf.c (struct args): Mark arg0 as
56399         volatile.
56400         * scripts/bench.pl: Mark members of struct args as volatile.
56402 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56404         [BZ # 15497]
56405         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56406         negative infinity on POWER6 or lower.
56407         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56409 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
56411         [BZ #15442]
56412         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56413         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56414         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56415         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56416         (_FP_SETQNAN): New macro.
56417         (_FP_SETQNAN_SEMIRAW): Likewise.
56418         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56419         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56420         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56421         (FP_EXTEND): Use _FP_FRAC_SNANP.
56422         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56423         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56424         into account.
56425         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56426         New macro.
56427         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56428         Likewise.
56430 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56432         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56433         with DIVIDE_BY_ZERO_EXCEPTION.
56434         (gamma_test_data): Likewise.
56435         (lgamma_test_data): Likewise.
56436         (log_test_data): Likewise.
56437         (log10_test_data): Likewise.
56438         (log2_test_data): Likewise.
56439         (tgamma_test_data): Likewise.
56441         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56442         (acos_test_tonearest): Likewise.
56443         (acos_test_towardzero): Likewise.
56444         (acos_test_downward): Likewise.
56445         (acos_test_upward): Likewise.
56446         (acosh_test): Likewise.
56447         (asin_test): Likewise.
56448         (asin_test_tonearest): Likewise.
56449         (asin_test_towardzero): Likewise.
56450         (asin_test_downward): Likewise.
56451         (asin_test_upward): Likewise.
56452         (asinh_test): Likewise.
56453         (atan_test): Likewise.
56454         (atanh_test): Likewise.
56455         (atan2_test): Likewise.
56456         (cabs_test): Likewise.
56457         (cacos_test): Likewise.
56458         (cacosh_test): Likewise.
56459         (casin_test): Likewise.
56460         (casinh_test): Likewise.
56461         (catan_test): Likewise.
56462         (catanh_test): Likewise.
56463         (cbrt_test): Likewise.
56464         (ccos_test): Likewise.
56465         (ccosh_test): Likewise.
56466         (cexp_test): Likewise.
56467         (clog_test): Likewise.
56468         (clog10_test): Likewise.
56469         (cos_test): Likewise.
56470         (cos_test_tonearest): Likewise.
56471         (cos_test_towardzero): Likewise.
56472         (cos_test_downward): Likewise.
56473         (cos_test_upward): Likewise.
56474         (cosh_test): Likewise.
56475         (cosh_test_tonearest): Likewise.
56476         (cosh_test_towardzero): Likewise.
56477         (cosh_test_downward): Likewise.
56478         (cosh_test_upward): Likewise.
56479         (cpow_test): Likewise.
56480         (csin_test): Likewise.
56481         (csinh_test): Likewise.
56482         (csqrt_test): Likewise.
56483         (ctan_test): Likewise.
56484         (ctan_test_tonearest): Likewise.
56485         (ctan_test_towardzero): Likewise.
56486         (ctan_test_downward): Likewise.
56487         (ctan_test_upward): Likewise.
56488         (ctanh_test): Likewise.
56489         (ctanh_test_tonearest): Likewise.
56490         (ctanh_test_towardzero): Likewise.
56491         (ctanh_test_downward): Likewise.
56492         (ctanh_test_upward): Likewise.
56493         (erf_test): Likewise.
56494         (erfc_test): Likewise.
56495         (exp_test): Likewise.
56496         (exp_test_tonearest): Likewise.
56497         (exp_test_towardzero): Likewise.
56498         (exp_test_downward): Likewise.
56499         (exp_test_upward): Likewise.
56500         (exp10_test): Likewise.
56501         (exp2_test): Likewise.
56502         (expm1_test): Likewise.
56503         (fmod_test): Likewise.
56504         (gamma_test): Likewise.
56505         (hypot_test): Likewise.
56506         (j0_test): Likewise.
56507         (j1_test): Likewise.
56508         (jn_test): Likewise.
56509         (lgamma_test): Likewise.
56510         (log_test): Likewise.
56511         (log10_test): Likewise.
56512         (log1p_test): Likewise.
56513         (log2_test): Likewise.
56514         (logb_test_downward): Likewise.
56515         (pow_test): Likewise.
56516         (pow_test_tonearest): Likewise.
56517         (pow_test_towardzero): Likewise.
56518         (pow_test_downward): Likewise.
56519         (pow_test_upward): Likewise.
56520         (remainder_test): Likewise.
56521         (remquo_test): Likewise.
56522         (sin_test): Likewise.
56523         (sin_test_tonearest): Likewise.
56524         (sin_test_towardzero): Likewise.
56525         (sin_test_downward): Likewise.
56526         (sin_test_upward): Likewise.
56527         (sincos_test): Likewise.
56528         (sinh_test): Likewise.
56529         (sinh_test_tonearest): Likewise.
56530         (sinh_test_towardzero): Likewise.
56531         (sinh_test_downward): Likewise.
56532         (sinh_test_upward): Likewise.
56533         (sqrt_test): Likewise.
56534         (tan_test): Likewise.
56535         (tan_test_tonearest): Likewise.
56536         (tan_test_towardzero): Likewise.
56537         (tan_test_downward): Likewise.
56538         (tan_test_upward): Likewise.
56539         (tanh_test): Likewise.
56540         (tgamma_test): Likewise.
56541         (y0_test): Likewise.
56542         (y1_test): Likewise.
56543         (yn_test): Likewise.
56545         * math/gen-libm-test.pl (adjust_arg): Remove function.
56546         (special_function): Remove argument $in_func.  Only handle
56547         generating output for tables of tests, not inside functions.
56548         (parse_args): Likewise.
56549         (generate_testfile): Remove variable $in_func.  Update call to
56550         parse_args.
56551         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56552         (MINUS_ZERO_INIT): Rename macro to minus_zero.
56553         (PLUS_INFTY_INIT): Rename macro to plus_infty.
56554         (MINUS_INFTY_INIT): Rename macro to minus_infty.
56555         (QNAN_VALUE_INIT): Rename macro to qnan_value.
56556         (MAX_VALUE_INIT): Rename macro to max_value.
56557         (MIN_VALUE_INIT): Rename macro to min_value.
56558         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56559         (plus_zero): Remove variable.
56560         (minus_zero): Likewise.
56561         (plus_infty): Likewise.
56562         (minus_infty): Likewise.
56563         (qnan_value): Likewise.
56564         (max_value): Likewise.
56565         (min_value): Likewise.
56566         (min_subnorm_value): Likewise.
56568 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56570         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56571         uint64_t or uint32_t usage.
56572         * crypt/sha256-block.c: Likewise.
56573         * crypt/sha256-crypt.c: Likewise.
56574         * crypt/sha256.c: Likewise.
56575         * crypt/sha512-block.c: Likewise.
56576         * crypt/sha512-crypt.c: Likewise.
56577         * crypt/sha512.c: Likewise.
56578         * debug/backtrace-tst.c: Likewise.
56579         * debug/pcprofiledump.c: Likewise.
56580         * elf/cache.c: Likewise.
56581         * elf/dl-cache.c: Likewise.
56582         * elf/dl-misc.c: Likewise.
56583         * elf/dl-profile.c: Likewise.
56584         * elf/dl-support.c: Likewise.
56585         * elf/ldconfig.c: Likewise.
56586         * elf/sprof.c: Likewise.
56587         * iconv/dummy-repertoire.c: Likewise.
56588         * iconv/iconv_charmap.c: Likewise.
56589         * iconv/skeleton.c: Likewise.
56590         * iconvdata/8bit-generic.c: Likewise.
56591         * iconvdata/cp737.h: Likewise.
56592         * iconvdata/cp775.h: Likewise.
56593         * iconvdata/ibm1008.h: Likewise.
56594         * iconvdata/ibm1025.h: Likewise.
56595         * iconvdata/ibm1046.h: Likewise.
56596         * iconvdata/ibm1097.h: Likewise.
56597         * iconvdata/ibm1112.h: Likewise.
56598         * iconvdata/ibm1122.h: Likewise.
56599         * iconvdata/ibm1123.h: Likewise.
56600         * iconvdata/ibm1124.h: Likewise.
56601         * iconvdata/ibm1129.h: Likewise.
56602         * iconvdata/ibm1130.h: Likewise.
56603         * iconvdata/ibm1132.h: Likewise.
56604         * iconvdata/ibm1133.h: Likewise.
56605         * iconvdata/ibm1137.h: Likewise.
56606         * iconvdata/ibm1140.h: Likewise.
56607         * iconvdata/ibm1141.h: Likewise.
56608         * iconvdata/ibm1142.h: Likewise.
56609         * iconvdata/ibm1143.h: Likewise.
56610         * iconvdata/ibm1144.h: Likewise.
56611         * iconvdata/ibm1145.h: Likewise.
56612         * iconvdata/ibm1146.h: Likewise.
56613         * iconvdata/ibm1147.h: Likewise.
56614         * iconvdata/ibm1148.h: Likewise.
56615         * iconvdata/ibm1149.h: Likewise.
56616         * iconvdata/ibm1153.h: Likewise.
56617         * iconvdata/ibm1154.h: Likewise.
56618         * iconvdata/ibm1155.h: Likewise.
56619         * iconvdata/ibm1156.h: Likewise.
56620         * iconvdata/ibm1157.h: Likewise.
56621         * iconvdata/ibm1158.h: Likewise.
56622         * iconvdata/ibm1160.h: Likewise.
56623         * iconvdata/ibm1161.h: Likewise.
56624         * iconvdata/ibm1162.h: Likewise.
56625         * iconvdata/ibm1163.h: Likewise.
56626         * iconvdata/ibm1164.h: Likewise.
56627         * iconvdata/ibm1166.h: Likewise.
56628         * iconvdata/ibm1167.h: Likewise.
56629         * iconvdata/ibm12712.h: Likewise.
56630         * iconvdata/ibm1390.h: Likewise.
56631         * iconvdata/ibm1399.h: Likewise.
56632         * iconvdata/ibm16804.h: Likewise.
56633         * iconvdata/ibm4517.h: Likewise.
56634         * iconvdata/ibm4899.h: Likewise.
56635         * iconvdata/ibm4909.h: Likewise.
56636         * iconvdata/ibm4971.h: Likewise.
56637         * iconvdata/ibm5347.h: Likewise.
56638         * iconvdata/ibm803.h: Likewise.
56639         * iconvdata/ibm856.h: Likewise.
56640         * iconvdata/ibm901.h: Likewise.
56641         * iconvdata/ibm902.h: Likewise.
56642         * iconvdata/ibm9030.h: Likewise.
56643         * iconvdata/ibm9066.h: Likewise.
56644         * iconvdata/ibm921.h: Likewise.
56645         * iconvdata/ibm922.h: Likewise.
56646         * iconvdata/ibm9448.h: Likewise.
56647         * iconvdata/isiri-3342.h: Likewise.
56648         * iconvdata/jis0201.h: Likewise.
56649         * include/link.h: Likewise.
56650         * include/netdb.h: Likewise.
56651         * inet/check_native.c: Likewise.
56652         * inet/check_pf.c: Likewise.
56653         * inet/getipv4sourcefilter.c: Likewise.
56654         * inet/getnameinfo.c: Likewise.
56655         * inet/getsourcefilter.c: Likewise.
56656         * inet/htonl.c: Likewise.
56657         * inet/setipv4sourcefilter.c: Likewise.
56658         * inet/setsourcefilter.c: Likewise.
56659         * inet/test-inet6_opt.c: Likewise.
56660         * inet/tst-network.c: Likewise.
56661         * locale/C-collate.c: Likewise.
56662         * locale/C-ctype.c: Likewise.
56663         * locale/C-time.c: Likewise.
56664         * locale/C-translit.h: Likewise.
56665         * locale/loadarchive.c: Likewise.
56666         * locale/programs/3level.h: Likewise.
56667         * locale/programs/charmap.c: Likewise.
56668         * locale/programs/charmap.h: Likewise.
56669         * locale/programs/ld-address.c: Likewise.
56670         * locale/programs/ld-collate.c: Likewise.
56671         * locale/programs/ld-ctype.c: Likewise.
56672         * locale/programs/ld-identification.c: Likewise.
56673         * locale/programs/ld-measurement.c: Likewise.
56674         * locale/programs/ld-messages.c: Likewise.
56675         * locale/programs/ld-monetary.c: Likewise.
56676         * locale/programs/ld-name.c: Likewise.
56677         * locale/programs/ld-numeric.c: Likewise.
56678         * locale/programs/ld-paper.c: Likewise.
56679         * locale/programs/ld-telephone.c: Likewise.
56680         * locale/programs/ld-time.c: Likewise.
56681         * locale/programs/linereader.c: Likewise.
56682         * locale/programs/locale.c: Likewise.
56683         * locale/programs/locarchive.c: Likewise.
56684         * locale/programs/locfile.h: Likewise.
56685         * locale/programs/repertoire.c: Likewise.
56686         * locale/programs/simple-hash.c: Likewise.
56687         * locale/programs/simple-hash.h: Likewise.
56688         * malloc/memusage.c: Likewise.
56689         * malloc/memusagestat.c: Likewise.
56690         * nis/nis_defaults.c: Likewise.
56691         * nis/nis_hash.c: Likewise.
56692         * nis/nis_print.c: Likewise.
56693         * nis/nis_xdr.c: Likewise.
56694         * nscd/connections.c: Likewise.
56695         * nscd/hstcache.c: Likewise.
56696         * nscd/nscd_gethst_r.c: Likewise.
56697         * nscd/nscd_getserv_r.c: Likewise.
56698         * nscd/nscd_helper.c: Likewise.
56699         * nscd/servicescache.c: Likewise.
56700         * nss/makedb.c: Likewise.
56701         * nss/nss_db/db-XXX.c: Likewise.
56702         * nss/nss_db/db-initgroups.c: Likewise.
56703         * nss/nss_db/db-netgrp.c: Likewise.
56704         * nss/nss_files/files-network.c: Likewise.
56705         * nss/nss_files/files-parse.c: Likewise.
56706         * posix/bug-regex5.c: Likewise.
56707         * posix/fnmatch_loop.c: Likewise.
56708         * posix/regcomp.c: Likewise.
56709         * posix/regexec.c: Likewise.
56710         * posix/tst-rfc3484-2.c: Likewise.
56711         * posix/tst-rfc3484-3.c: Likewise.
56712         * posix/tst-rfc3484.c: Likewise.
56713         * resolv/nss_dns/dns-canon.c: Likewise.
56714         * resolv/nss_dns/dns-network.c: Likewise.
56715         * resolv/res_init.c: Likewise.
56716         * resolv/res_mkquery.c: Likewise.
56717         * resolv/tst-aton.c: Likewise.
56718         * stdlib/cxa_atexit.c: Likewise.
56719         * stdlib/cxa_finalize.c: Likewise.
56720         * stdlib/gen-fpioconst.c: Likewise.
56721         * stdlib/strtol_l.c: Likewise.
56722         * string/tst-endian.c: Likewise.
56723         * sunrpc/auth_des.c: Likewise.
56724         * sunrpc/clnt_udp.c: Likewise.
56725         * sunrpc/rtime.c: Likewise.
56726         * sunrpc/svcauth_des.c: Likewise.
56727         * sunrpc/xdr.c: Likewise.
56728         * sunrpc/xdr_intXX_t.c: Likewise.
56729         * sunrpc/xdr_rec.c: Likewise.
56730         * sysdeps/generic/ldconfig.h: Likewise.
56731         * sysdeps/generic/ldsodefs.h: Likewise.
56732         * sysdeps/generic/memusage.h: Likewise.
56733         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56734         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56735         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56736         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56737         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56738         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56739         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56740         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56741         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56742         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56743         * sysdeps/posix/getaddrinfo.c: Likewise.
56744         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56745         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56746         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56747         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56748         * sysdeps/powerpc/test-gettimebase.c: Likewise.
56749         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56750         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56751         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56752         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56753         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56754         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56755         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56756         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56757         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56758         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56759         * sysdeps/x86_64/dl-tls.h: Likewise.
56760         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56761         * time/alt_digit.c: Likewise.
56762         * time/era.c: Likewise.
56763         * wcsmbs/tst-c16c32-1.c: Likewise.
56765 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56767         * math/libm-test.inc (struct test_sincos_data): New type.
56768         (RUN_TEST_LOOP_sincos): New macro.
56769         (sincos_test_data): New variable.
56770         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56772 2013-05-16  Richard Henderson  <rth@redhat.com>
56774         * math/atest-exp2.c (LIMB64): New macro.
56775         (CONSTSZ): New macro.
56776         (mp_exp1, mp_exp_m1, mp_log2): New variables.
56777         (hexdig): Move ...
56778         (print_mpn_fp): ... to function scope.
56779         (read_mpn_hex): Remove.
56780         (get_log2): Remove.
56781         (exp2_mpn): Use mp_log2.
56782         (main): Use mp_exp1.
56784 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56786         * math/libm-test.inc: Remove comment about not testing "inexact"
56787         exceptions.
56788         (INEXACT_EXCEPTION): New macro.
56789         (NO_INEXACT_EXCEPTION): Likewise.
56790         (INVALID_EXCEPTION_OK): Update value.
56791         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56792         (OVERFLOW_EXCEPTION_OK): Likewise.
56793         (UNDERFLOW_EXCEPTION_OK): Likewise.
56794         (IGNORE_ZERO_INF_SIGN): Likewise.
56795         (ERRNO_UNCHANGED): Likewise.
56796         (ERRNO_EDOM): Likewise.
56797         (ERRNO_ERANGE): Likewise.
56798         (test_exceptions): Handle testing "inexact" exceptions.
56799         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56800         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56801         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56802         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56803         INEXACT_EXCEPTION.
56804         (rint_towardzero_test_data): Likewise.
56805         (rint_downward_test_data): Likewise.
56806         (rint_upward_test_data): Likewise.
56808         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56809         with OVERFLOW_EXCEPTION.
56810         (exp10_test_data): Likewise.
56811         (exp2_test_data): Likewise.
56812         (expm1_test_data): Likewise.
56813         (lgamma_test_data): Likewise.
56814         (pow_test_data): Likewise.
56815         (tgamma_test_data): Likewise.
56816         (yn_test_data): Remove duplicate test of overflow.
56818         * math/libm-test.inc (struct test_cc_c_data): New type.
56819         (RUN_TEST_LOOP_cc_c): New macro.
56820         (cpow_test_data): New variable.
56821         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56823         * math/libm-test.inc (struct test_f_L_data): New type.
56824         (RUN_TEST_LOOP_f_L): New macro.
56825         (llrint_test_data): New variable.
56826         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56827         (llrint_tonearest_test_data): New variable.
56828         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56829         (llrint_towardzero_test_data): New variable.
56830         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56831         (llrint_downward_test_data): New variable.
56832         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56833         (llrint_upward_test_data): New variable.
56834         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56835         (llround_test_data): New variable.
56836         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56838 2013-05-13  Peter Collingbourne  <pcc@google.com>
56840         * math/atest-exp2.c (get_log2): Remove const attribute.
56842 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56844         * math/libm-test.inc (struct test_f_l_data): New type.
56845         (RUN_TEST_LOOP_f_l): New macro.
56846         (lrint_test_data): New variable.
56847         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56848         (lrint_tonearest_test_data): New variable.
56849         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56850         (lrint_towardzero_test_data): New variable.
56851         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56852         (lrint_downward_test_data): New variable.
56853         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56854         (lrint_upward_test_data): New variable.
56855         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56856         (lround_test_data): New variable.
56857         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56859 2013-05-15  Peter Collingbourne  <pcc@google.com>
56861         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56862         (EXTRACT_WORDS64) Use where appropriate.
56863         (INSERT_WORDS64) Likewise.
56865         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56866         constraints with x constraints.
56867         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56869         * malloc/obstack.c (_obstack_compat): Add initializer.
56871 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56873         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56874         si_trapno and add si_addr_lsb to _sifields.sigfault.
56875         (si_trapno): Remove macro.
56876         (si_addr_lsb): Define new macro.
56877         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56879 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56881         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56882         instead of TEST_f_l.
56883         (llrint_test_tonearest): Likewise.
56884         (llrint_test_towardzero): Likewise.
56885         (llrint_test_downward): Likewise.
56886         (llrint_test_upward): Likewise.
56887         (llround_test): Likewise.
56889         * math/libm-test.inc (struct test_f_i_data): Add comment.
56890         (RUN_TEST_LOOP_f_b): New macro.
56891         (RUN_TEST_LOOP_f_b_tg): Likewise.
56892         (finite_test_data): New variable.
56893         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56894         (isfinite_test_data): New variable.
56895         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56896         (isinf_test_data): New variable.
56897         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56898         (isnan_test_data): New variable.
56899         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56900         (isnormal_test_data): New variable.
56901         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56902         (issignaling_test_data): New variable.
56903         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56904         (signbit_test_data): New variable.
56905         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56907         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56908         with INVALID_EXCEPTION.
56909         (acosh_test_data): Likewise.
56910         (asin_test_data): Likewise.
56911         (atanh_test_data): Likewise.
56912         (fmod_test_data): Likewise.
56913         (log_test_data): Likewise.
56914         (log10_test_data): Likewise.
56915         (log2_test_data): Likewise.
56916         (pow_test_data): Likewise.
56917         (sqrt_test_data): Likewise.
56918         (y0_test_data): Likewise.
56919         (y1_test_data): Likewise.
56920         (yn_test_data): Likewise.
56922         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56923         function contents.
56925         * math/libm-test.inc (struct test_ff_i_data): New type.
56926         (RUN_TEST_LOOP_ff_i_tg): New macro.
56927         (isgreater_test_data): New variable.
56928         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56929         (isgreaterequal_test_data): New variable.
56930         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56931         (isless_test_data): New variable.
56932         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56933         (islessequal_test_data): New variable.
56934         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56935         (islessgreater_test_data): New variable.
56936         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56937         (isunordered_test_data): New variable.
56938         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56940 2013-05-14  David S. Miller  <davem@davemloft.net>
56942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56944 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
56946         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56948         * math/libm-test.inc (struct test_fF_f1_data): Change type of
56949         extra_test to int.
56950         (struct test_f_i_data): Change type of max_ulp to int.
56952         * math/libm-test.inc (test_ffI_f1_data): New type.
56953         (RUN_TEST_LOOP_ffI_f1): New macro.
56954         (remquo_test_data): New variable.
56955         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56957         * setjmp/tst-setjmp-fp.c: New file.
56958         * setjmp/Makefile (tests): Add tst-setjmp-fp.
56959         (link-libm): New variable.
56960         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56962         * math/libm-test.inc (struct test_f_i_data): New type.
56963         (RUN_TEST_LOOP_f_i): New macro.
56964         (RUN_TEST_LOOP_f_i_tg): Likewise.
56965         (fpclassify_test_data): New variable.
56966         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56967         (ilogb_test_data): New variable.
56968         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56970         * math/libm-test.inc (scalbln_test): Correct function name in END
56971         call.
56973         * math/libm-test.inc (struct test_f_f1_data): Add comment.
56974         (RUN_TEST_LOOP_fI_f1): New macro.
56975         (frexp_test_data): New variable.
56976         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56978         * math/libm-test.inc (struct test_fF_f1_data): New type.
56979         (RUN_TEST_LOOP_fF_f1): New macro.
56980         (modf_test_data): New variable.
56981         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56983         * math/libm-test.inc (struct test_f_f1_data): New type.
56984         (RUN_TEST_LOOP_f_f1): New macro.
56985         (gamma_test_data): New variable.
56986         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56987         (lgamma_test_data): New variable.
56988         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56990 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
56992         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56993         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56994         (main): Comment "tls" pseudo-hwcap.
56996 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
56998         * math/libm-test.inc (struct test_fl_f_data): New type.
56999         (RUN_TEST_LOOP_fl_f): New variable.
57000         (scalbln_test_data): New variable.
57001         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
57003         * math/libm-test.inc (struct test_fi_f_data): New type.
57004         (RUN_TEST_LOOP_fi_f): New macro.
57005         (ldexp_test_data): New variable.
57006         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
57007         (scalbn_test_data): New variable.
57008         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
57010         * math/libm-test.inc (struct test_c_f_data): New type.
57011         (RUN_TEST_LOOP_c_f): New macro.
57012         (cabs_test_data): New variable.
57013         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
57014         (carg_test_data): New variable.
57015         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
57016         (cimag_test_data): New variable.
57017         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
57018         (creal_test_data): New variable.
57019         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
57021         * math/libm-test.inc (struct test_if_f_data): New type.
57022         (RUN_TEST_LOOP_if_f): New macro.
57023         (jn_test_data): New variable.
57024         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
57025         (yn_test_data): New variable.
57026         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
57028         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
57030 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57032         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
57033         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
57035 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57037         * benchtests/Makefile (CPPFLAGS-nonlib): Add
57038         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
57039         (bench-deps): Add bench-timing.h.
57040         * benchtests-bench-skeleton.c: Include bench-timing.h.
57041         (main): Use TIMING_* macros instead of clock_gettime.
57042         * benchtests/bench-timing.h: New file.
57044         [BZ #14582]
57045         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
57046         Renamed from _LIB_VERSION.
57047         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
57049 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
57051         * math/libm-test.inc (struct test_fff_f_data): New type.
57052         (RUN_TEST_LOOP_fff_f): New macro.
57053         (fma_test_data): New variable.
57054         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
57055         (fma_towardzero_test_data): New variable.
57056         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57057         (fma_downward_test_data): New variable.
57058         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
57059         (fma_upward_test_data): New variable.
57060         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
57062         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
57063         (struct test_c_c_data): New type.
57064         (RUN_TEST_LOOP_c_c): New macro.
57065         (cacos_test_data): New variable.
57066         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
57067         (cacosh_test_data): New variable.
57068         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
57069         (casin_test_data): New variable.
57070         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
57071         (casinh_test_data): New variable.
57072         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
57073         (catan_test_data): New variable.
57074         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
57075         (catanh_test_data): New variable.
57076         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
57077         (ccos_test_data): New variable.
57078         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
57079         (ccosh_test_data): New variable.
57080         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
57081         (cexp_test_data): New variable.
57082         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
57083         (clog_test_data): New variable.
57084         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
57085         (clog10_test_data): New variable.
57086         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
57087         (conj_test_data): New variable.
57088         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
57089         (cproj_test_data): New variable.
57090         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
57091         (csin_test_data): New variable.
57092         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
57093         (csinh_test_data): New variable.
57094         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
57095         (csqrt_test_data): New variable.
57096         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
57097         (ctan_test_data): New variable.
57098         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
57099         (ctan_tonearest_test_data): New variable.
57100         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57101         (ctan_towardzero_test_data): New variable.
57102         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57103         (ctan_downward_test_data): New variable.
57104         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57105         (ctan_upward_test_data): New variable.
57106         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57107         (ctanh_test_data): New variable.
57108         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
57109         (ctanh_tonearest_test_data): New variable.
57110         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57111         (ctanh_towardzero_test_data): New variable.
57112         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57113         (ctanh_downward_test_data): New variable.
57114         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57115         (ctanh_upward_test_data): New variable.
57116         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57117         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
57118         of BUILD_COMPLEX.
57120         * math/libm-test.inc (struct test_ff_f_data): New type.
57121         (struct test_ff_f_data_nexttoward): Likewise.
57122         (RUN_TEST_LOOP_2_f): New macro.
57123         (RUN_TEST_LOOP_ff_f): Likewise.
57124         (atan2_test_data): New variable.
57125         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
57126         (copysign_test_data): New variable.
57127         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
57128         (fdim_test_data): New variable.
57129         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
57130         (fmax_test_data): New variable.
57131         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
57132         (fmin_test_data): New variable.
57133         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
57134         (fmod_test_data): New variable.
57135         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
57136         (hypot_test_data): New variable.
57137         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
57138         (nextafter_test_data): New variable.
57139         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
57140         (nexttoward_test_data): New variable.
57141         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
57142         (pow_test_data): New variable.
57143         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
57144         (pow_tonearest_test_data): New variable.
57145         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
57146         (pow_towardzero_test_data): New variable.
57147         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
57148         (pow_downward_test_data): New variable.
57149         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
57150         (pow_upward_test_data): New variable.
57151         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
57152         (remainder_test_data): New variable.
57153         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
57154         (scalb_test_data): New variable.
57155         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
57156         * sysdeps/i386/fpu/libm-test-ulps: Update.
57158 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
57160         * math/libm-test.inc (fma_test): Use max_value instead of local
57161         variable fltmax.
57162         (nextafter_test): Likewise.
57164         * math/libm-test.inc (acos_towardzero_test_data): New variable.
57165         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57166         (acos_downward_test_data): New variable.
57167         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57168         (acos_upward_test_data): New variable.
57169         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57170         (acosh_test_data): New variable.
57171         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
57172         (asin_test_data): New variable.
57173         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
57174         (asin_tonearest_test_data): New variable.
57175         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57176         (asin_towardzero_test_data): New variable.
57177         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57178         (asin_downward_test_data): New variable.
57179         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57180         (asin_upward_test_data): New variable.
57181         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57182         (asinh_test_data): New variable.
57183         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
57184         (atan_test_data): New variable.
57185         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57186         (atanh_test_data): New variable.
57187         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57188         (cbrt_test_data): New variable.
57189         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57190         (ceil_test_data): New variable.
57191         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57192         (cos_test_data): New variable.
57193         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57194         (cos_tonearest_test_data): New variable.
57195         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57196         (cos_towardzero_test_data): New variable.
57197         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57198         (cos_downward_test_data): New variable.
57199         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57200         (cos_upward_test_data): New variable.
57201         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57202         (cosh_test_data): New variable.
57203         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57204         (cosh_tonearest_test_data): New variable.
57205         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57206         (cosh_towardzero_test_data): New variable.
57207         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57208         (cosh_downward_test_data): New variable.
57209         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57210         (cosh_upward_test_data): New variable.
57211         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57212         (erf_test_data): New variable.
57213         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57214         (erfc_test_data): New variable.
57215         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57216         (exp_test_data): New variable.
57217         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57218         (exp_tonearest_test_data): New variable.
57219         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57220         (exp_towardzero_test_data): New variable.
57221         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57222         (exp_downward_test_data): New variable.
57223         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57224         (exp_upward_test_data): New variable.
57225         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57226         (exp10_test_data): New variable.
57227         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57228         (exp2_test_data): New variable.
57229         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57230         (expm1_test_data): New variable.
57231         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57232         (fabs_test_data): New variable.
57233         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57234         (floor_test_data): New variable.
57235         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57236         (j0_test_data): New variable.
57237         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57238         (j1_test_data): New variable.
57239         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57240         (log_test_data): New variable.
57241         (log_test): Run tests with RUN_TEST_LOOP_f_f.
57242         (log10_test_data): New variable.
57243         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57244         (log1p_test_data): New variable.
57245         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57246         (log2_test_data): New variable.
57247         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57248         (logb_test_data): New variable.
57249         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57250         (logb_downward_test_data): New variable.
57251         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57252         (nearbyint_test_data): New variable.
57253         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57254         (rint_test_data): New variable.
57255         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57256         (rint_tonearest_test_data): New variable.
57257         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57258         (rint_towardzero_test_data): New variable.
57259         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57260         (rint_downward_test_data): New variable.
57261         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57262         (rint_upward_test_data): New variable.
57263         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57264         (round_test_data): New variable.
57265         (round_test): Run tests with RUN_TEST_LOOP_f_f.
57266         (sin_test_data): New variable.
57267         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57268         (sin_tonearest_test_data): New variable.
57269         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57270         (sin_towardzero_test_data): New variable.
57271         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57272         (sin_downward_test_data): New variable.
57273         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57274         (sin_upward_test_data): New variable.
57275         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57276         (sinh_test_data): New variable.
57277         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57278         (sinh_tonearest_test_data): New variable.
57279         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57280         (sinh_towardzero_test_data): New variable.
57281         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57282         (sinh_downward_test_data): New variable.
57283         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57284         (sinh_upward_test_data): New variable.
57285         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57286         (sqrt_test_data): New variable.
57287         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57288         (tan_test_data): New variable.
57289         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57290         (tan_tonearest_test_data): New variable.
57291         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57292         (tan_towardzero_test_data): New variable.
57293         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57294         (tan_downward_test_data): New variable.
57295         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57296         (tan_upward_test_data): New variable.
57297         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57298         (tanh_test_data): New variable.
57299         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57300         (tgamma_test_data): New variable.
57301         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57302         (trunc_test_data): New variable.
57303         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57304         (y0_test_data): New variable.
57305         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57306         (y1_test_data): New variable.
57307         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57308         (significand_test_data): New variable.
57309         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57311 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
57313         [BZ #12387]
57314         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57316 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57318         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57320 2013-05-10  Andreas Jaeger  <aj@suse.de>
57322         [BZ #15448]
57323         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57324         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57326 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57328         * math/gen-libm-test.pl (adjust_arg): New function.
57329         (special_functions): Handle generating output in both functions
57330         and arrays.
57331         (parse_args): Likewise.
57332         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
57333         $in_func argument to parse_args.
57334         * math/libm-test.inc (struct test_f_f_data): New type.
57335         (IF_ROUND_INIT_): New macro.
57336         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57337         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57338         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57339         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57340         (ROUND_RESTORE_): Likewise.
57341         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57342         (ROUND_RESTORE_FE_TONEAREST): Likewise.
57343         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57344         (ROUND_RESTORE_FE_UPWARD): Likewise.
57345         (RUN_TEST_LOOP_f_f): New macro.
57346         (acos_test_data): New variable.
57347         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57348         (acos_tonearest_test_data): New variable.
57349         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57351 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57353         * benchtests/bench-skeleton.c (startup): Fix coding style.
57355 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57357         [BZ #6809]
57358         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57359         negative infinity argument.
57360         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57361         negative infinity argument.
57362         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57363         negative infinity argument.
57364         * math/libm-test.inc (tgamma_test): Expect errno to be set for
57365         domain errors.
57367 2013-05-10  Florian Weimer  <fweimer@redhat.com>
57369         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57370         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57371         * iconv/iconv_prog.c (main): Likewise.
57372         * locale/programs/charmap-dir.c (charmap_readdir)
57373         (fopen_uncompressed): Likewise.
57374         * locale/programs/locfile.c (siblings_uncached)
57375         (write_locale_data): Use lstat64 instead of lstat.
57376         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57377         stat.
57379 2013-05-10  Andreas Jaeger  <aj@suse.de>
57381         [BZ #15395]
57382         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57383         localization.
57384         Include <locale.h>.
57386 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
57388         * elf/dl-close.c (_dl_close_worker): Add comments.
57390 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
57392         [BZ #15359]
57393         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57394         high part of pi/2.
57395         (__ieee754_rem_pio2l): Update comments.
57397         [BZ #15429]
57398         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57399         high part of pi/2.
57400         (__ieee754_rem_pio2l): Update comments.
57402         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57403         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57405         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57406         M_PI_4l.
57408         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57409         (M_PI_34_LOG10El): Likewise.
57410         (M_PI2_LOG10El): Likewise.
57411         (M_PI4_LOG10El): Likewise.
57412         (M_PI_LOG10El): Likewise.
57414 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57418 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
57420         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57421         (MINUS_ZERO_INIT): Likewise.
57422         (PLUS_INFTY_INIT): Likewise.
57423         (MINUS_INFTY_INIT): Likewise.
57424         (QNAN_VALUE_INIT): Likewise.
57425         (MAX_VALUE_INIT): Likewise.
57426         (MIN_VALUE_INIT): Likewise.
57427         (MIN_SUBNORM_VALUE_INIT): Likewise.
57428         (plus_zero): Initialize with PLUS_ZERO_INIT.
57429         (minus_zero): Initialize with MINUS_ZERO_INIT.
57430         (plus_infty): Initialize with PLUS_INFTY_INIT.
57431         (minus_infty): Initialize with MINUS_INFTY_INIT.
57432         (qnan_value): Initialize with QNAN_VALUE_INIT.
57433         (max_value): Initialize with MAX_VALUE_INIT.
57434         (min_value): Initialize with MIN_VALUE_INIT.
57435         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57437         * math/libm-test.inc (RUN_TEST_if_f): New macro.
57438         (jn_test): Use TEST_if_f instead of TEST_ff_f.
57439         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57440         (yn_test): Use TEST_if_f instead of TEST_ff_f.
57442         * math/libm-test.inc (RUN_TEST_f_f): New macro.
57443         (RUN_TEST_2_f): Likewise.
57444         (RUN_TEST_ff_f): Likewise.
57445         (RUN_TEST_fi_f): Likewise.
57446         (RUN_TEST_fl_f): Likewise.
57447         (RUN_TEST_fff_f): Likewise.
57448         (RUN_TEST_c_f): Likewise.
57449         (RUN_TEST_f_f1): Likewise.
57450         (RUN_TEST_fF_f1): Likewise.
57451         (RUN_TEST_fI_f1): Likewise.
57452         (RUN_TEST_ffI_f1): Likewise.
57453         (RUN_TEST_c_c): Likewise.
57454         (RUN_TEST_cc_c): Likewise.
57455         (RUN_TEST_f_i): Likewise.
57456         (RUN_TEST_f_i_tg): Likewise.
57457         (RUN_TEST_ff_i_tg): Likewise.
57458         (RUN_TEST_f_b): Likewise.
57459         (RUN_TEST_f_b_tg): Likewise.
57460         (RUN_TEST_f_l): Likewise.
57461         (RUN_TEST_f_L): Likewise.
57462         (RUN_TEST_sincos): Likewise.
57463         * math/gen-libm-test.pl (new_test): Take new argument to indicate
57464         whether to show exceptions.  Do not include ");\n" in return
57465         value.
57466         (special_functions): Output call to RUN_TEST_sincos instead of
57467         check_float calls.  Update calls to new_test.
57468         (parse_args): Output call to single RUN_TEST_* macro instead of
57469         check_* calls and other assignments.  Update calls to new_test.
57471         [BZ #2546]
57472         [BZ #2560]
57473         [BZ #5159]
57474         [BZ #15426]
57475         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57476         input to result for tgamma overflow.
57477         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57478         (gamma_coeff): New variable.
57479         (NCOEFF): New macro.
57480         (gamma_positive): New function.
57481         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57482         underflow here.  Use gamma_positive instead of exp (lgamma) for
57483         other arguments.
57484         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57485         (gamma_coeff): New variable.
57486         (NCOEFF): New macro.
57487         (gammaf_positive): New function.
57488         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57489         underflow here.  Use gamma_positive instead of exp (lgamma) for
57490         other arguments.
57491         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57492         (gamma_coeff): New variable.
57493         (NCOEFF): New macro.
57494         (gammal_positive): New function.
57495         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57496         underflow here.  Use gamma_positive instead of exp (lgamma) for
57497         other arguments.
57498         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57499         (gamma_coeff): New variable.
57500         (NCOEFF): New macro.
57501         (gammal_positive): New function.
57502         (__ieee754_gammal_r): Handle positive infinity, overflow and
57503         underflow here.  Handle NaN the same as positive infinity.  Remove
57504         check x < 0xffffffff for negative integers.  Use gamma_positive
57505         instead of exp (lgamma) for other arguments.
57506         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57507         (gamma_coeff): New variable.
57508         (NCOEFF): New macro.
57509         (gammal_positive): New function.
57510         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57511         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57512         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57513         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57514         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57515         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57516         * sysdeps/generic/math_private.h (__gamma_productf): New
57517         prototype.
57518         (__gamma_product): Likewise.
57519         (__gamma_productl): Likewise.
57520         * math/Makefile (libm-calls): Add gamma_product.
57521         * math/libm-test.inc (tgamma_test): Add more tests.
57522         * sysdeps/i386/fpu/libm-test-ulps: Update.
57523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57525 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
57527         * benchtests/bench-skeleton.c (main): Preheat CPU.
57529 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
57531         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57533 2013-05-07  Roland McGrath  <roland@hack.frob.com>
57535         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57536         and _dl_skip_args_internal.
57538 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
57540         * manual/message.texi (Message Translation): Talk about users.
57541         Message to key mapping impacts design.
57543 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57545         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57547         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57549         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57550         * sysdeps/wordsize-64/glob64.c: ... here.
57552         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57553         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57554         New macros.
57556         * debug/getlogin_r_chk.c: Moved to ...
57557         * login/getlogin_r_chk.c: ... here.
57558         * debug/Makefile (routines): Move getlogin_r_chk to ...
57559         * login/Makefile (routines): ... here.
57560         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57561         * login/Versions (libc: GLIBC_2.4): ... here.
57563         * io/poll.c (__poll): Renamed from poll.
57564         Add libc_hidden_def.
57565         (poll): Define as weak alias.
57567         * debug/ptsname_r_chk.c: Moved to ...
57568         * login/ptsname_r_chk.c: ... here.
57569         * debug/Makefile (routines): Move ptsname_r_chk to ...
57570         * login/Makefile (routines): ... here.
57571         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57572         * login/Versions (libc: GLIBC_2.4): ... here.
57574         * posix/getlogin.c: Moved to ...
57575         * login/getlogin.c: ... here.
57576         * posix/getlogin_r.c: Moved to ...
57577         * login/getlogin_r.c: ... here.
57578         * posix/getlogin_r.c: Moved to ...
57579         * login/getlogin_r.c: ... here.
57580         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57581         * login/Makefile (routines): ... here.
57582         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57583         * login/Versions (libc: GLIBC_2.0): ... here.
57585         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57586         (setrlimit): Define as weak alias.
57588         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57589         Call __ names for open, ftruncate, and close.
57590         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57591         (truncate): Define as weak alias.
57593 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
57595         * math/gen-libm-test.pl (parse_args): Initialize x before each
57596         test of frexp, modf and remquo.
57598         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57599         test signgam value.
57601 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57603         [BZ #15418]
57604         [BZ #15419]
57605         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57606         internal tests.
57607         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57609 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57611         * elf/dl-writev.h: New file.
57612         * elf/dl-misc.c: Include it.
57613         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57614         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57616 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
57618         * math/libm-test.inc (noXFails): Remove variable.
57619         (noXPasses): Likewise.
57620         (BUILD_COMPLEX_INT): Remove macro.
57621         (print_screen): Remove xfail argument.
57622         (print_screen_max_error): Likewise.
57623         (update_stats): Likewise.
57624         (print_max_error): Likewise.  Update calls to other affected
57625         functions.
57626         (print_complex_max_error): Likewise.
57627         (test_single_exception): Update calls to print_screen.
57628         (test_single_errno): Likewise.
57629         (check_float_internal): Remove xfail argument.  Update calls to
57630         other affected functions.
57631         (check_float): Likewise.
57632         (check_complex): Likewise.
57633         (check_int): Likewise.
57634         (check_long): Likewise.
57635         (check_bool): Likewise.
57636         (check_longlong): Likewise.
57637         (main): Don't print noXFails and noXPasses.
57638         * math/gen-libm-test.pl (top level): Don't mention expected
57639         failure handling in comment.
57640         (new_test): Don't handle expected failures.
57641         (parse_args): Don't mention expected failure handling in comment.
57642         (generate_testfile): Don't handle expected failures.
57643         (parse_ulps): Likewise.
57644         (print_ulps_file): Likewise.
57645         (get_failure): Remove function.
57646         (output_test): Don't handle expected failures.
57647         * make/README.libm-test: Don't mention expected failure handling.
57649         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
57650         (minus_zero): Likewise.
57651         (plus_infty): Likewise.
57652         (minus_infty): Likewise.
57653         (qnan_value): Likewise.
57654         (max_value): Likewise.
57655         (min_value): Likewise.
57656         (min_subnorm_value): Likewise.
57657         (initialize): Do not initialize those variables dynamically.
57659 2013-05-03  Roland McGrath  <roland@hack.frob.com>
57661         * io/open.c (__open_2): Moved to ...
57662         * io/open_2.c: ... this new file.
57663         * io/open64.c (__open64_2): Moved to ...
57664         * io/open64_2.c: ... this new file.
57665         * io/openat.c (__openat_2): Moved to ...
57666         * io/openat_2.c: ... this new file.
57667         * io/openat64.c (__openat64_2): Moved to ...
57668         * io/openat64_2.c: ... this new file.
57669         * io/Makefile (routines): Add them.
57670         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57671         * sysdeps/unix/sysv/linux/open_2.c: File removed.
57672         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57673         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57674         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57675         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57676         (__openat64): Add hidden_ver.
57677         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57678         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57680         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57681         Separately conditionalize setting of GLRO(dl_sysinfo) so
57682         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57683         as well, but the actual setting is only under [NEED_DL_SYSINFO].
57685 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57687         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57688         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57689         definition.
57690         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57691         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57692         (_libc_vdso_platform_setup): Add __vdso_time initialization.
57693         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57694         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57696 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
57698         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57699         test signgam value.
57701         * math/libm-test.inc (hypot_test): Do not use
57702         IGNORE_ZERO_INF_SIGN.
57704 2013-05-03  Andreas Jaeger  <aj@suse.de>
57706         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57707         Linux 3.9.
57708         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57709         (PF_MAX): Adjust for VSOCK change.
57711 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57715 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
57717         [BZ #15264]
57718         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57719         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57720         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57722 2013-05-02  David S. Miller  <davem@davemloft.net>
57724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57726 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
57728         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57730 2013-05-01  Roland McGrath  <roland@hack.frob.com>
57732         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57734 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
57736         [BZ #14952]
57737         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57738         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57739         Use __attribute__ ((__gnu_inline__)).
57740         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57741         Don't use __attribute__ ((__gnu_inline__)).
57743 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
57745         [BZ #15423]
57746         * math/s_catan.c (__catan): Handle small real or imaginary part of
57747         input specially to avoid spurious underflow.
57748         * math/s_catanf.c (__catanf): Likewise.
57749         * math/s_catanh.c (__catanh): Likewise.
57750         * math/s_catanhf.c (__catanhf): Likewise.
57751         * math/s_catanhl.c (__catanhl): Likewise.
57752         * math/s_catanl.c (__catanl): Likewise.
57753         * math/libm-test.inc (catan_test): Add more tests.
57754         (catanh_test): Likewise.
57755         * sysdeps/i386/fpu/libm-test-ulps: Update.
57756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57758 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57762 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
57764         [BZ #15416]
57765         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57766         accurately for denominator in atan2.
57767         * math/s_catanf.c (__catanf): Likewise.
57768         * math/s_catanh.c (__catanh): Likewise.
57769         * math/s_catanhf.c (__catanhf): Likewise.
57770         * math/s_catanhl.c (__catanhl): Likewise.
57771         * math/s_catanl.c (__catanl): Likewise.
57772         * math/libm-test.inc (catan_test): Add more tests.
57773         (catanh_test): Likewise.
57774         * sysdeps/i386/fpu/libm-test-ulps: Update.
57775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57777 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57779         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57781         * benchtests/Makefile (bench): Remove slow benchmarks.
57782         * benchtests/atan-inputs: Add slow benchmark inputs.
57783         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57784         (BENCH_FUNC): Accept variant offset.
57785         (VARIANT): Define.
57786         * benchtests/bench-skeleton.c (main): Run benchmark for each
57787         variant.
57788         * benchtests/cos-inputs: Add slow benchmark inputs.
57789         * benchtests/exp-inputs: Likewise.
57790         * benchtests/pow-inputs: Likewise.
57791         * benchtests/sin-inputs: Likewise.
57792         * benchtests/slowatan-inputs: Remove.
57793         * benchtests/slowatan.c: Remove.
57794         * benchtests/slowcos-inputs: Remove.
57795         * benchtests/slowcos.c: Remove.
57796         * benchtests/slowexp-inputs: Remove.
57797         * benchtests/slowexp.c: Remove.
57798         * benchtests/slowpow-inputs: Remove.
57799         * benchtests/slowpow.c: Remove.
57800         * benchtests/slowsin-inputs: Remove.
57801         * benchtests/slowsin.c: Remove.
57802         * benchtests/slowtan-inputs: Remove.
57803         * benchtests/slowtan.c: Remove.
57804         * benchtests/tan-inputs: Add slow benchmark inputs.
57805         * scripts/bench.pl: Parse comments and directives.
57807         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
57808         in CPPFLAGS.
57809         ($(objpfx)bench-%.c): Remove *-ITER.
57810         * benchtests/bench-modf.c: Remove definition of ITER.
57811         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57812         (main): Loop for DURATION seconds instead of fixed number of
57813         iterations.
57814         * scripts/bench.pl: Don't expect iterations in parameters.
57816 2013-04-29  Roland McGrath  <roland@hack.frob.com>
57818         * io/fchdir.c (__fchdir): Renamed from fchdir.
57819         (fchdir): Define as weak alias.
57821 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57823         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57824         (ERRNO_EDOM): Likewise.
57825         (ERRNO_ERANGE): Likewise.
57826         (noErrnoTests): New variable.
57827         (init_max_error): Set errno to 0.
57828         (test_single_errno): New function.
57829         (test_errno): Likewise.
57830         (check_float_internal): Call test_errno.  Set errno to 0.
57831         (check_complex): Refer to errno tests in comment.
57832         (check_int): Call test_errno.  Set errno to 0.
57833         (check_long): Likewise.
57834         (check_bool): Likewise.
57835         (check_longlong): Likewise.
57836         (cos_test): Use ERRNO_* flags for errno tests instead of
57837         check_int.
57838         (expm1_test): Likewise.
57839         (fmod_test): Likewise.
57840         (ilogb_test): Likewise.
57841         (lgamma_test): Likewise.
57842         (pow_test): Likewise.
57843         (remainder_test): Likewise.
57844         (sin_test): Likewise.
57845         (tan_test): Likewise.
57846         (yn_test): Likewise.
57847         (initialize): Set errno to 0.
57848         (main): Print number of errno tests.
57849         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57851 2013-04-29  Andreas Jaeger  <aj@suse.de>
57853         [BZ #15084]
57854         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57855         and RES_USEVC.
57857         [BZ #15085]
57858         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57859         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57860         unimplemented.
57862         [BZ #15380]
57863         * stdlib/random.c (__initstate): Return NULL if
57864         __initstate fails.
57866         [BZ #15086]
57867         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57868         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57869         RES_SNGLKUPREOP.
57871 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57875 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57877         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57878         of individual tests.
57879         (casin_test): Likewise.
57880         (casinh_test): Likewise.
57882 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
57884         [BZ #15409]
57885         * math/s_catan.c (__catan): Handle arguments with large real or
57886         imaginary part separately without squaring.
57887         * math/s_catanf.c (__catanf): Likewise.
57888         * math/s_catanh.c (__catanh): Likewise.
57889         * math/s_catanhf.c (__catanhf): Likewise.
57890         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57891         and redefine.
57892         (__catanhl): Handle arguments with large real or imaginary part
57893         separately without squaring.
57894         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57895         and redefine.
57896         (__catanl): Handle arguments with large real or imaginary part
57897         separately without squaring.
57898         * math/libm-test.inc (catan_test): Add more tests.
57899         (catanh_test): Likewise.
57900         * sysdeps/i386/fpu/libm-test-ulps: Update.
57901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57903 2013-04-27  Andreas Jaeger  <aj@suse.de>
57905         [BZ #15007]
57906         * stdlib/stdlib.h: Update guards for qecvt.
57907         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57908         <stdlib.h>.
57910 2013-04-27  Allan McRae  <allan@archlinux.org>
57912         * sysdeps/i386/fpu/libm-test-ulps: Update.
57914 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
57916         [BZ #15406]
57917         * math/s_catan.c: Include <float.h>.
57918         (__catan): Ensure underflow exception occurs for underflowed
57919         result.
57920         * math/s_catanf.c: Include <float.h>.
57921         (__catanf): Ensure underflow exception occurs for underflowed
57922         result.
57923         * math/s_catanh.c: Include <float.h>.
57924         (__catanh): Ensure underflow exception occurs for underflowed
57925         result.
57926         * math/s_catanhf.c: Include <float.h>.
57927         (__catanhf): Ensure underflow exception occurs for underflowed
57928         result.
57929         * math/s_catanhl.c: Include <float.h>.
57930         (__catanhl): Ensure underflow exception occurs for underflowed
57931         result.
57932         * math/s_catanl.c: Include <float.h>.
57933         (__catanl): Ensure underflow exception occurs for underflowed
57934         result.
57935         * math/libm-test.inc (catan_test): Add more tests.
57936         (catanh_test): Likewise.
57938         [BZ #15405]
57939         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57940         underflowed result.
57941         * math/s_ccoshf.c (__ccoshf): Likewise.
57942         * math/s_ccoshl.c (__ccoshl): Likewise.
57943         * math/s_csin.c (__csin): Likewise.
57944         * math/s_csinf.c (__csinf): Likewise.
57945         * math/s_csinh.c (__csinh): Likewise.
57946         * math/s_csinhf.c (__csinhf): Likewise.
57947         * math/s_csinhl.c (__csinhl): Likewise.
57948         * math/s_csinl.c (__csinl): Likewise.
57949         * math/libm-test.inc (ccos_test): Add more tests.
57950         (ccosh_test): Likewise.
57951         (csin_test): Likewise.
57952         (csinh_test): Likewise.
57954 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57956         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57957         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57958         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57959         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57960         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57961         powerpc/power5+/fpu folders.
57962         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57965 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57969 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
57971         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57972         additions to variable.
57973         [$(config-machine) = x86_64] (modules-names): Likewise.
57974         ($(objpfx)tst-audit3): Remove dependency.
57975         ($(objpfx)tst-audit3.out): Likewise.
57976         ($(objpfx)tst-audit4): Likewise.
57977         ($(objpfx)tst-audit4.out): Likewise.
57978         ($(objpfx)tst-audit5): Likewise.
57979         ($(objpfx)tst-audit5.out): Likewise.
57980         ($(objpfx)tst-audit6): Likewise.
57981         ($(objpfx)tst-audit6.out): Likewise.
57982         ($(objpfx)tst-audit7): Likewise.
57983         ($(objpfx)tst-audit7.out): Likewise.
57984         (tst-audit3-ENV): Remove variable.
57985         (tst-audit4-ENV): Likewise.
57986         (tst-audit5-ENV): Likewise.
57987         (tst-audit6-ENV): Likewise.
57988         (tst-audit7-ENV): Likewise.
57989         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57990         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57991         addition to variable.
57992         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57993         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57994         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57995         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57996         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57997         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57998         tst-audit3, tst-audit4 and tst-audit5.
57999         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
58000         tst-audit6 and tst-audit7.
58001         [$(subdir) = elf] (modules-names): Add audit modules for those
58002         tests.
58003         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
58004         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
58005         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
58006         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
58007         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
58008         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
58009         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
58010         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
58011         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
58012         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
58013         [$(subdir) = elf] (tst-audit3-ENV): New variable.
58014         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
58015         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
58016         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
58017         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
58018         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
58019         Likewise.
58020         [$(subdir) = elf && $(config-cflags-avx) = yes]
58021         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
58022         [$(subdir) = elf && $(config-cflags-avx) = yes]
58023         (CFLAGS-tst-auditmod4a.c): Likewise.
58024         [$(subdir) = elf && $(config-cflags-avx) = yes]
58025         (CFLAGS-tst-auditmod4b.c): Likewise.
58026         [$(subdir) = elf && $(config-cflags-avx) = yes]
58027         (CFLAGS-tst-auditmod6b.c): Likewise.
58028         [$(subdir) = elf && $(config-cflags-avx) = yes]
58029         (CFLAGS-tst-auditmod6c.c): Likewise.
58030         [$(subdir) = elf && $(config-cflags-avx) = yes]
58031         (CFLAGS-tst-auditmod7b.c): Likewise.
58032         * elf/tst-audit3.c: Move to ...
58033         * sysdeps/x86_64/tst-audit3.c: ... here.
58034         * elf/tst-audit4.c: Move to ...
58035         * sysdeps/x86_64/tst-audit4.c: ... here.
58036         * elf/tst-audit5.c: Move to ...
58037         * sysdeps/x86_64/tst-audit5.c: ... here.
58038         * elf/tst-audit6.c: Move to ...
58039         * sysdeps/x86_64/tst-audit6.c: ... here.
58040         * elf/tst-audit7.c: Move to ...
58041         * sysdeps/x86_64/tst-audit7.c: ... here.
58042         * elf/tst-auditmod3a.c: Move to ...
58043         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
58044         * elf/tst-auditmod3b.c: Move to ...
58045         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
58046         * elf/tst-auditmod4a.c: Move to ...
58047         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
58048         * elf/tst-auditmod4b.c: Move to ...
58049         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
58050         * elf/tst-auditmod5a.c: Move to ...
58051         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
58052         * elf/tst-auditmod5b.c: Move to ...
58053         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
58054         * elf/tst-auditmod6a.c: Move to ...
58055         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
58056         * elf/tst-auditmod6b.c: Move to ...
58057         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
58058         * elf/tst-auditmod6c.c: Move to ...
58059         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
58060         * elf/tst-auditmod7a.c: Move to ...
58061         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
58062         * elf/tst-auditmod7b.c: Move to ...
58063         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
58065 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
58067         [BZ #15366]
58068         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
58069         define unconditionally.
58070         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
58071         define unconditionally.
58072         (INT8_C, INT16_C, etc.): Likewise.
58074 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
58076         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
58077         __ehdr_start with hidden visibility.
58079         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
58081 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
58083         * math/libm-test.inc (cos_test): Use accurate hex constants.
58084         (sincost_test): Likewise.
58086 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
58088         * math/libm-test.inc (catan_test): Add more tests.
58089         (catanh_test): Likewise.
58091         * math/s_catanf.c (__catanf): Use suffixed floating-point
58092         constants.
58093         * math/s_catanhf.c (__catanhf): Likewise.
58094         * math/s_catanhl.c (__catanhl): Likewise.
58095         * math/s_catanl.c (__catanl): Likewise.
58097         [BZ #15394]
58098         * math/s_catan.c (__catan): Calculate imaginary part of result
58099         with log1p not log unless computing log of number close to 0.
58100         * math/s_catanf.c (__catanf): Likewise.
58101         * math/s_catanl.c (__catanl): Likewise.
58102         * math/s_catanh.c (__catanh): Calculate real part of result with
58103         log1p not log unless computing log of number close to 0.
58104         * math/s_catanhf.c (__catanhf): Likewise.
58105         * math/s_catanhl.c (__catanhl): Likewise.
58106         * math/libm-test.inc (catan_test): Add more tests.
58107         (catanh_test): Likewise.
58108         * sysdeps/i386/fpu/libm-test-ulps: Update.
58109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58111 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58113         * benchtests/Makefile: Mention files in which fast and slow
58114         paths of math functions are implemented.
58116 2013-04-23  Roland McGrath  <roland@hack.frob.com>
58118         * sysdeps/posix/timespec_get.c: New file.
58120 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58122         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
58123         POWER.
58124         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
58125         for POWER.
58126         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
58127         powerpc/power5/fpu folders.
58128         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
58129         * benchtests/Makefile: Add modf testcase.
58130         * benchtests/bench-modf.c: New file: Benchmark test for mo
58132 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
58134         [BZ #14888]
58135         * time/Makefile (tests): Add tst-strptime-whitespace.
58136         * time/strptime_l.c (get_number): Use ISSPACE.
58137         (__strptime_internal): Likewise.
58138         * time/tst-strptime-whitespace.c: New test case.
58140 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
58142         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
58143         member.
58144         (_nss_files_init): Set it here.
58146 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
58148         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
58149         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
58150         unsigned.
58152 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
58154         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
58156 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58158         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
58159         size just once.
58161 2013-04-21  David S. Miller  <davem@davemloft.net>
58163         * po/ru.po: Update Russion translation from translation project.
58165 2013-04-17  Adam Conrad  <adconrad@0c3.net>
58167         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58168         and setfsgid.
58170 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
58172         * configure.in: Remove i386 configure warning. Remove i386 case.
58173         * configure: Regenerate.
58174         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
58175         Add example to error message.
58176         * sysdeps/i386/configure: Regenerate.
58178 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58180         * benchtests/Makefile (bench): Add cos, tan, slowcos and
58181         slowtan.
58182         * benchtests/cos-inputs: New file.
58183         * benchtests/slowcos-inputs: New file.
58184         * benchtests/slowcos.c: New file.
58185         * benchtests/slowtan-inputs: New file.
58186         * benchtests/slowtan.c: New file.
58187         * benchtests/tan-inputs: New file.
58189 2013-04-16  Roland McGrath  <roland@hack.frob.com>
58191         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58192         considered kosher.
58194 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58196         * benchtests/Makefile: Include cppflags-iterator.mk to add
58197         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58199         * Makefile.in (bench-clean): New target.
58200         * benchtests/Makefile (bench-clean): Likewise.
58202 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
58204         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58206 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
58208         * stdio-common/tstdiomisc.c: Fix coding-style violation.
58210 2013-04-15  Andreas Schwab  <schwab@suse.de>
58212         * nscd/grpcache.c (cache_addgr): Properly check for short write.
58213         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58214         * nscd/pwdcache.c (cache_addpw): Likewise.
58215         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
58216         more than recsize.
58218 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58220         * benchtests/Makefile (bench): Write all output to
58221         bench-out.tmp together.
58223 2013-04-15  Andreas Schwab  <schwab@suse.de>
58225         * nscd/nscd.c (main): Don't fork again after closing files.
58227 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58229         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58231         * benchtests/Rules (bench-deps): Collect dependencies into a
58232         single variable.  Add Makefile to dependencies.
58233         ($(objpfx)bench-%.c): Depend on bench-deps.
58235 2013-04-12  Roland McGrath  <roland@hack.frob.com>
58236             Xavier Roche  <roche+kml2@exalead.com>
58238         [BZ #15361]
58239         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58240         just that it's a file descriptor.
58241         * manual/llio.texi (Synchronizing AIO Operations): Update description
58242         for EBADF error from aio_fsync.
58244 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58246         * Rules (bench): Move target definition...
58247         * benchtests/Makefile: ... here.
58249 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
58251         * math/libm-test.inc (cos_test): Fix PI/2 test.
58252         (sincos_test): Likewise.
58253         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58254         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58256 2013-04-11  Andreas Schwab  <schwab@suse.de>
58258         [BZ #13988]
58259         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58260         accept exponent character only when digits were seen.
58261         * stdio-common/Makefile (tests): Add bug26.
58262         * stdio-common/bug26.c: New file.
58264         [BZ #14293]
58265         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58266         non-freeable.
58268 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58270         * Makeconfig (rtld-prefix): Define built linker prefix.
58271         * Rules (run-bench): Use it.
58272         * math/Makefile (run-regen-ulps): Likewise.
58274         * Rules (bench): Remove eval.
58276 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58277             Roland McGrath  <roland@hack.frob.com>
58278             Ondrej Bilka  <neleai@seznam.cz>
58280         [BZ #15346]
58281         * time/getdate.c: Include ctype.h and alloca.h.
58282         (__getdate_r): Trim leading and trailing spaces of input.
58283         * time/tst-getdate.c (tests): Add tests with leading and
58284         trailing spaces.
58286 2013-04-08  Roland McGrath  <roland@hack.frob.com>
58288         [BZ #14280]
58289         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58290         when computing value.
58292 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58294         * math/README.libm-test (How can I generate "libm-test-ulps"?):
58295         Use testrun.sh to run libm tests.
58297         [BZ #15309]
58298         * elf/dl-open.c (dl_open_worker): memset all of seen array.
58300 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
58302         [BZ #15264]
58303         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58305 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58307         * Makefile.in (regen-ulps): New target.
58308         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58309         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58310         [ifneq (no,$(PERL)] (regen-ulps): New target.
58311         [ifeq (no,$(PERL)] (regen-ulps): New target.
58312         * math/libm-test.inc (ulps_file_name): Define.
58313         (output_dir): New variable.
58314         (options): Add "output-dir" option.
58315         (parse_opt): Handle 'o' case.
58316         (main): If output_dir is non-NULL use it as a prefix
58317         otherwise use "".
58318         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58320 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58322         [BZ #10060, #10062]
58323         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58324         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58325         fail configure if __sync_val_compare_and_swap is not inlined.
58326         * sysdeps/i386/configure: Regenerate.
58327         * configure.in: Build for i686 when configured for i386.
58328         * configure: Regenerate.
58329         * README: Remove i386 reference.
58331 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58333         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58334         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58336 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58338         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58339         (lmsnanval): New variables.
58340         (F): Add conversion tests.
58341         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58342         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58344         * stdio-common/tstdiomisc.c (F): Properly collect individual
58345         tests' results.
58347         [BZ #14686, #15336]
58348         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58349         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58350         Instead, use input NaN values or generate a qNaN by arithmetic
58351         operation.  Also fix bugs to comply with the standard.
58352         * math/libm-test.inc (remainder_test): Add more tests.
58354         [BZ #15335, #15342]
58355         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58356         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58357         input NaN values or generate a qNaN by arithmetic operation.
58359         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58360         unreachable code.
58362         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58363         definitions.
58365 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
58367         [BZ #14478]
58368         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58369         underflowed result.
58370         * math/s_cexpf.c (__cexpf): Likewise.
58371         * math/s_cexpl.c (__cexpl): Likewise.
58372         * math/libm-test.inc (cexp_test): Add more tests.
58374 2013-04-03  Andreas Schwab  <schwab@suse.de>
58376         [BZ #15330]
58377         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58378         order arrays from heap if bigger than alloca cutoff.
58380 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
58382         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58383         (SNAN_TESTS_double): Refer to GCC PR56831.
58384         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58385         GCC PR56828.
58387 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58389         * Rules (bench): Move bench.out after the run is complete.
58391         * Rules (bench): Echo currently running benchmark.
58393         * benchtests/Makefile (bench): Add atan and slowatan.
58394         * benchtests/atan-inputs: New file.
58395         * benchtests/slowatan-inputs: New file.
58396         * benchtests/slowatan.c: New file.
58398         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58399         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58400         its value.
58402         [BZ #15305]
58403         * sysdeps/unix/sysv/linux/kernel-features.h
58404         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58405         __ASSUME_XFS_RESTRICTED_CHOWN.
58406         * sysdeps/unix/sysv/linux/pathconf.c
58407         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58408         Save and restore errno.
58410 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
58412         [BZ #15327]
58413         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58414         arguments using __kernel_casinh.
58415         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58416         arguments using __kernel_casinhf.
58417         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58418         arguments using __kernel_casinhl.
58419         * math/libm-test.inc (cacosh_test): Add more tests.
58420         * sysdeps/i386/fpu/libm-test-ulps: Update.
58421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58423 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58425         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58426         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58428         * bench/Makefile (bench): Add sin and slowsin.
58429         * benchtests/sin-inputs: New file.
58430         * benchtests/slowsin-inputs: New file.
58431         * benchtests/slowsin.c: New file.
58433         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58434         (bench): Add slowexp and slowpow.
58435         (exp-ITER): Increase iterations.
58436         (pow-ITER): Likewise.
58437         * benchtests/exp-inputs: Change input.
58438         * benchtests/pow-inputs: Likewise.
58439         * benchtests/slowexp-inputs: New file.
58440         * benchtests/slowexp.c: New file.
58441         * benchtests/slowpow-inputs: New file.
58442         * benchtests/slowpow.c: New file.
58444 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58446         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58447         instructions.
58448         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58449         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58450         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58451         * benchtests/Makefile: Add rint benchtest.
58452         * benchtests/rint-inputs: Input for rint benchtest.
58454 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58456         * Versions.def (libm): Add GLIBC_2.18.
58457         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58458         hidden libm prototypes.
58459         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58460         * math/Makefile (libm-calls): Add s_issignaling.
58461         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58462         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
58463         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58464         declaration.
58465         * math/math.h [__USE_GNU] (issignaling): New macro.
58466         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58467         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58468         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58469         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58470         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58471         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58472         * manual/arith.texi (issignaling): New section.
58473         * manual/libm-err-tab.pl (@all_functions): Update comment.
58474         * math/gen-libm-test.pl (parse_args): Apply special handling for
58475         issignaling.
58476         * math/libm-test.inc (print_float, issignaling_test): New
58477         functions.
58478         (check_float_internal): Add issignaling checks.
58479         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58480         default definition.
58481         * sysdeps/powerpc/math-tests.h: New file.
58482         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58483         tests.
58484         * math/test-snan.c (TEST_FUNC): Likewise.
58486 2013-03-30  David S. Miller  <davem@davemloft.net>
58488         * po/de.po: Update from translation team.
58490 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
58492         [BZ #10357]
58493         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58494         imaginary part less than 1.0 and real part less than 0.5
58495         specially.
58496         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58497         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58498         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58499         (cacos_test): Add more tests.
58500         (casin_test): Likewise.
58501         (casinh_test): Likewise.
58502         * sysdeps/i386/fpu/libm-test-ulps: Update.
58503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58505 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58507         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58508         ONE with its value.
58510         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58511         (__pow_mp): Replace ONE and MONE with their values.
58512         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58513         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58514         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58515         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58516         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58517         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58519         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58521         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58522         (__pow_mp): Replace ZERO and MZERO with their values.
58523         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58524         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58525         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58527         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58528         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58529         (__sqr): Likewise.
58531         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58533         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58535 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58537         * include/stdlib.h [!SHARED] (__call_tls_dtors):
58538         Declare with __attribute__ ((weak)).
58539         * stdlib/exit.c (__libc_atexit) [!SHARED]:
58540         Call __call_tls_dtors only if it's not NULL.
58542 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58544         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58545         didn't do it already, then set _dl_phdr and _dl_phnum based on the
58546         magic __ehdr_start linker symbol if it's defined.
58547         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58548         them up here if it was already done.
58550         * elf/dl-support.c (_dl_phdr): Make pointer to const.
58551         (_dl_aux_init): Use const in cast when setting it.
58552         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58553         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58554         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58556         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58557         Declare them here.
58558         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58559         * csu/libc-tls.c: Nor here.
58560         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58562         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58563         (__libc_message): Never call vsyslog.
58565 2013-03-28  Alan Modra  <amodra@gmail.com>
58567         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58568         Define as empty.
58569         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58570         Likewise.
58572 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58574         [BZ #15214]
58575         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58576         underflow.
58577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58579 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58581         [BZ #15304]
58582         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58583         Don't add gid passed as argument.
58585         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58587 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
58589         [BZ #15307]
58590         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58591         imaginary part between 1.0 and 1.5 and real part less than 0.5
58592         specially.
58593         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58594         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58595         * math/libm-test.inc (cacos_test): Add more tests.
58596         (casin_test): Likewise.
58597         (casinh_test): Likewise.
58598         * sysdeps/i386/fpu/libm-test-ulps: Update.
58599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58601 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58603         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58604         constants.
58605         (norm): Likewise.
58606         (denorm): Likewise.
58607         (__dbl_mp): Likewise.
58608         (add_magnitudes): Likewise.
58609         (sub_magnitudes): Likewise.
58610         (__add): Likewise.
58611         (__sub): Likewise.
58612         (__mul): Likewise.
58613         (__sqr): Likewise.
58614         (__inv): Likewise.
58615         (__dvd): Likewise.
58617         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58618         commented code.
58619         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58620         (__dubcos): Likewise.
58621         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58622         (__ieee754_acos): Likewise.
58623         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58624         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58625         (__exp1): Likewise.
58626         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58627         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58628         (log1): Likewise.
58629         (my_log2): Likewise.
58630         (checkint): Likewise.
58631         * sysdeps/ieee754/dbl-64/e_remainder.c
58632         (__ieee754_remainder): Likewise.
58633         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58634         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58635         (bsloww): Likewise.
58636         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58638         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58639         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58640         MANTISSA_STORE_T to store computations on mantissa.  Use
58641         macros for rounding and division.
58642         (denorm): Likewise.
58643         (__dbl_mp): Likewise.
58644         (add_magnitudes): Likewise.
58645         (sub_magnitudes): Likewise.
58646         (__mul): Likewise.
58647         (__sqr): Likewise.
58648         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58649         powers of two in terms of TWOPOW macro.
58650         (mp_no): Make type of mantissa as MANTISSA_T.
58651         [!RADIXI]: Define RADIXI.
58652         [!TWO52]: Define TWO52.
58653         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58655 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58657         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58658         llroundl symbol when building for PPC32.
58660 2013-03-24  Mark H Weaver  <mhw@netris.org>
58662         * manual/arith.texi (Normalization Functions): Fix prototypes for
58663         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58665 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58667         [BZ #13889]
58668         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58669         high value to check if expl overflow.
58670         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58671         to check for underflow and overflow.
58672         * math/libm-test.inc: Add exp test.
58674 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
58676         [BZ #11120]
58677         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58678         with NOT_IN_libc.
58680 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58682         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58683         symbol.
58685 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58687         * math/gen-libm-test.pl (parse_args, special_functions): Properly
58688         wrap blocks consisting of several statements.
58690         * sysdeps/generic/math-tests.h: New file.
58691         * sysdeps/i386/fpu/math-tests.h: Likewise.
58692         * math/test-snan.c: Include it.
58693         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58695 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58697         [BZ #15285]
58698         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58699         (__ieee754_j0l): Do not improve calculations using cos of twice
58700         input for inputs above LDBL_MAX / 2.0L.
58701         (__ieee754_y0l): Likewise.
58702         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58703         (__ieee754_j1l): Do not improve calculations using cos of twice
58704         input for inputs above LDBL_MAX / 2.0L.
58705         (__ieee754_y1l): Likewise.
58706         * math/libm-test.inc (j0_test): Add another test.
58707         (j1_test): Likewise.
58708         (y0_test): Likewise.
58709         (y1_test): Likewise.
58710         * sysdeps/i386/fpu/libm-test-ulps: Update.
58712 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58714         * Rules ($(objpfx)bench-%.c): Include code from a C source
58715         file.
58717 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58719         [BZ #15287]
58720         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58721         imaginary part 1.0 and real part less than 0.5 specially.
58722         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58723         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58724         * math/libm-test.inc (cacos_test): Add more tests.
58725         (casin_test): Likewise.
58726         (casinh_test): Likewise.
58727         * sysdeps/i386/fpu/libm-test-ulps: Update.
58728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58730 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58732         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58733         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58735 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
58737         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58738         * config.make.in (config-cflags-sse4): Remove variable.
58739         (config-cflags-avx): Likewise.
58740         (config-cflags-sse2avx): Likewise.
58741         (config-cflags-novzeroupper): Likewise.
58742         (config-asflags-i686): Likewise.
58743         (have-mfma4): Likewise.
58744         (have-as-vis3): Likewise.
58745         (MIG): Likewise.
58746         * configure.in (MIG): Do not AC_SUBST.
58747         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58748         (libc_cv_cc_sse4): Do not AC_SUBST.
58749         (libc_cv_cc_avx): Likewise.
58750         (libc_cv_cc_sse2avx): Likewise.
58751         (libc_cv_cc_novzeroupper): Likewise.
58752         (libc_cv_cc_fma4): Likewise.
58753         (libc_cv_as_i686): Likewise.
58754         (libc_cv_sparc_as_vis3): Likewise.
58755         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58756         LIBC_CONFIG_VAR.
58757         (config-asflags-i686): Likewise.
58758         (config-cflags-avx): Likewise.
58759         (config-cflags-sse2avx): Likewise.
58760         (have-mfma4): Likewise.
58761         (config-cflags-novzeroupper): Likewise.
58762         * sysdeps/mach/configure.in (MIG): Likewise.
58763         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58764         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58765         LIBC_CONFIG_VAR.
58766         (config-cflags-avx): Likewise.
58767         (config-cflags-sse2avx): Likewise.
58768         (have-mfma4): Likewise.
58769         (config-cflags-novzeroupper): Likewise.
58770         * configure: Regenerated.
58771         * sysdeps/i386/configure: Likewise.
58772         * sysdeps/mach/configure: Likewise.
58773         * sysdeps/sparc/configure: Likewise.
58774         * sysdeps/x86_64/configure: Likewise.
58776 2013-03-20  Roland McGrath  <roland@hack.frob.com>
58778         [BZ #14812]
58779         * locale/programs/localedef.c (options): Put N_ translation marker
58780         on argument names, not just descriptions.
58782 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58784         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58786 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
58788         [BZ #14176]
58789         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58791 2013-03-19  Roland McGrath  <roland@hack.frob.com>
58793         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58794         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58795         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58796         [!BEFORE_ABORT] (before_abort): New function.
58797         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58798         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58799         (writev_for_fatal): New function.
58800         (WRITEV_FOR_FATAL): New macro; call that.
58801         (backtrace_and_maps): New function.
58802         (BEFORE_ABORT): New macro; call that.
58803         (struct str_list): Type removed.
58804         (__libc_message, __libc_fatal): Functions removed.
58805         Include <sysdeps/posix/libc_fatal.c> instead.
58807 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
58809         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58810         constants.
58811         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58812         double constants.
58814 2013-03-19  Andreas Schwab  <schwab@suse.de>
58816         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58817         * sysdeps/gnu/configure: Regenerate.
58819         * configure.in: Substitute libc_cv_rtlddir.
58820         * configure: Regenerate.
58821         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58822         * Makeconfig (rtlddir, inst_rtlddir): New variables.
58823         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58824         * elf/Makefile (install-others, CFLAGS-interp.c)
58825         (ldso_install, common-ldd-rewrite): Likewise.
58826         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58827         $(inst_slibdir)/$(rtld-installed-name).
58828         * scripts/rellns-sh: Add -p option.
58829         * Makerules (make-shlib-link): Use rellns-sh to get relative name
58830         for source.
58832 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58834         * manual/nptl.texi: Renamed to ...
58835         * manual/threads.texi: ... this.
58836         * manual/Makefile (chapters): Update.
58838 2013-03-18  Roland McGrath  <roland@hack.frob.com>
58840         [BZ #14812]
58841         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58842         on argument names, not just descriptions.
58843         * malloc/memusagestat.c (options): Likewise.
58844         * nss/getent.c (options): Likewise.
58846 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
58848         [BZ #14812]
58849         * iconv/iconv_prog.c (options): Put N_ translation marker
58850         on argument names, not just descriptions.
58851         * iconv/iconvconfig.c (options): Likewise.
58853 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
58855         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58856         implementation which is faster on all x86_64 architectures.
58857         Tested on AMD, Intel Nehalem, SNB, IVB.
58858         * sysdeps/x86_64/strnlen.S: Likewise.
58860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58861         Remove all multiarch strlen and strnlen versions.
58862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58863         Remove strlen and strnlen related parts.
58865         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58866         Inline strlen part.
58867         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58869         * sysdeps/x86_64/multiarch/strlen.S: Remove.
58870         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58871         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58872         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58873         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58874         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58876 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
58878         * manual/memory.texi (Malloc Tunable Parameters):
58879         Sort parameters alphabetically. Add comments for missing entries.
58881 2013-03-17  David S. Miller  <davem@davemloft.net>
58883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58885 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
58887         [BZ #15283]
58888         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58889         for arguments at most half maximum finite value.
58890         * math/libm-test.inc (j0_test): Add more tests.
58891         (j1_test): Likewise.
58892         (y0_test): Likewise.
58893         (y1_test): Likewise.
58894         * sysdeps/i386/fpu/libm-test-ulps: Update.
58895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58897         [BZ #14155]
58898         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58899         1 / x and functions P and Q for arguments above 0x1p256L.
58900         (__ieee754_y0l): Likewise.
58901         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58902         (__ieee754_y1l): Likewise.
58903         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58904         (j1_test): Likewise.
58905         (y0_test): Likewise.
58906         (y1_test): Likewise.
58908 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
58910         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58911         variable.
58913 2013-03-15  Roland McGrath  <roland@hack.frob.com>
58915         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58916         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58917         zero since it's initialized to EXEC_PAGESIZE.
58919         * sysdeps/unix/sysv/linux/ldsodefs.h
58920         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58921         * sysdeps/generic/ldsodefs.h: ... here.
58923 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
58925         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58927         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58928         math/test-snan.c.
58929         * math/test-snan.c: Renamed from
58930         sysdeps/powerpc/fpu/test-powerpc-snan.c.
58931         * math/Makefile (tests): Add test-snan.
58932         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58933         test-powerpc-snan.
58935         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58936         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
58937         functions.
58938         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
58939         __builtin_nan family of functions.
58940         * math/libm-test.inc (initialize): Initialize qnan_value with
58941         __builtin_nan family of functions.
58942         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58943         Remove variables.
58944         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58945         Remove functions.
58946         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
58947         storage class.  Initialize qNaN_var and sNaN_var with
58948         __builtin_nan and __builtin_nans families of functions,
58949         respectively.
58951         * math/libm-test.inc (acosh_test): Also test with qNaN input.
58952         (sqrt_test): Remove duplicate test with qNaN input.
58953         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58954         (round_test, signbit_test, significand_test): Note missing +/-Inf
58955         as well as qNaN tests.
58957         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58958         qNaN_var.  Fix a few strings, too.
58959         * math/libm-test.inc (nan_value): Rename to qnan_value.
58960         * math/gen-libm-test.pl (%beautify): Adjust to that.
58961         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58962         * math/test-misc.c (main): Likewise.
58963         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58964         to __qnan_bytes, and __qnan_union, respectively.
58965         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58966         Likewise.
58967         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58968         and lqnanval, respectively.
58969         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58970         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58971         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58972         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58974         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58975         * math/test-misc.c (main) [__x86_64__]: Enable test for long
58976         doubles.
58978         * math/test-misc.c (main): Fix copy'n'pastos.
58979         * misc/tst-efgcvt.c (special): Likewise.
58981         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58982         Remove declarations.
58984 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58986         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58987         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58988         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58989         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58991 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58993         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58994         macro to return vdso values correctly in IFUNC implementations.
58995         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58996         Optimization by using IFUNC.
58998 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58999             Richard Henderson  <rth@redhat.com>
59000             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59002         * Makefile.in (bench): New target.
59003         * NEWS: Mention the benchmark framework.
59004         * Rules (bench): Likewise.
59005         (binaries-bench): Generate binaries for functions to
59006         benchmark.
59007         * benchtests/Makefile: New makefile for benchmark tests.
59008         * benchtests/bench-skeleton.c: New skeleton file for benchmark
59009         programs.
59010         * benchtests/exp-inputs: New input file for EXP function.
59011         * benchtests/pow-inputs: New input file for POW function.
59012         * scripts/bench.pl: New script to generate source files for
59013         benchmark programs.
59015 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59017         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59018         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
59019         computations on mantissa.  Use macros for rounding and
59020         division.
59021         (denorm): Likewise.
59022         (__dbl_mp): Likewise.
59023         (add_magnitudes): Likewise.
59024         (sub_magnitudes): Likewise.
59025         (__mul): Likewise.
59026         (__sqr): Likewise.
59027         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
59028         powers of two in terms of TWOPOW macro.
59029         (mp_no): Make type of mantissa as MANTISSA_T.
59030         [!RADIXI]: Define RADIXI.
59031         [!TWO52]: Define TWO52.
59032         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59034         * manual/nptl.texi (cindex): Modify threads to pthreads.
59036 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
59038         * sysdeps/x86_64/preconfigure: Regenerated.
59040 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
59042         [BZ #14155]
59043         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
59044         0x1p28 and above.
59045         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
59046         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
59047         0x1p28 and above.
59048         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
59049         * math/libm-test.inc (j0_test): Do not allow one spurious
59050         underflow exception.
59051         (y1_test): Likewise.
59053 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59055         * manual/Makefile (chapters): Add nptl.
59056         * manual/debug.texi (Debugging Support): Add link to Threads
59057         chapter.
59058         * manual/nptl.texi: New file.
59060         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
59062 2013-03-14  Petr Baudis  <pasky@ucw.cz>
59064         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
59065         for non-NULL pointer before the memory validity test. Pointed
59066         out by Holger Brunck <holger.brunck@keymile.com>.
59068 2013-03-13  Andreas Schwab  <schwab@suse.de>
59070         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
59071         instead of .os.
59073 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
59075         * timezone/zic.c: Update from tzcode 2013b.
59077 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
59079         * manual/install.texi (Configuring and compiling):
59080         Mention i686 and i586.
59081         * INSTALL: Regenerate.
59083 2013-03-12  Roland McGrath  <roland@hack.frob.com>
59085         * sysdeps/init_array/elf-init.c: New file.
59086         * csu/elf-init.c
59087         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
59088         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
59090         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
59091         __gmon_start__ as global, but as static with a .preinit_array pointer.
59092         * sysdeps/init_array/gmon-start.c: New file.  Use that.
59093         * sysdeps/init_array/crti.S: New file, empty except for comments.
59094         * sysdeps/init_array/crtn.S: Likewise.
59096 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
59098         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
59099         definining bcopy.
59100         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59101         Remove Prefer_SSE_for_memop.
59102         * sysdeps/x86_64/multiarch/init-arch.h: Remove
59103         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
59104         HAS_PREFER_SSE_FOR_MEMOP.
59105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
59106         memset-x86-64.
59107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59108         Remove bzero, memset ifunc support.
59109         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
59110         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59111         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59112         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59114 2013-03-11  Andreas Schwab  <schwab@suse.de>
59116         [BZ #15234]
59117         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
59118         by SHLIB_COMPAT.
59119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
59120         (GLIBC_2.16): Remove pthread_atfork.
59122 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
59124         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
59125         (ptestcases.h): Likewise.
59127 2013-03-08  Roland McGrath  <roland@hack.frob.com>
59129         * Makeconfig ($(common-objpfx)config.status): Depend on
59130         sysdeps/*/preconfigure{,.in} too.
59132 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
59134         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
59135         (__free_hook): Use void * instead of __malloc_ptr_t.
59136         (__malloc_hook): Likewise.
59137         (__realloc_hook): Likewise.
59138         (__memalign_hook): Likewise.
59139         (__after_morecore_hook): Likewise.
59140         * malloc/arena.c (save_malloc_hook): Likewise.
59141         (save_free_hook): Likewise.
59142         * malloc/hooks.c (malloc_hook_ini): Likewise.
59143         (realloc_hook_ini): Likewise.
59144         (memalign_hook_ini): Likewise.
59145         * malloc/malloc.c (malloc_hook_ini): Likewise.
59146         (realloc_hook_ini): Likewise.
59147         (memalign_hook_ini): Likewise.
59148         (__free_hook): Likewise.
59149         (__malloc_hook): Likewise.
59150         (__realloc_hook): Likewise.
59151         (__memalign_hook): Likewise.
59152         (__libc_malloc): Likewise.
59153         (__libc_free): Likewise.
59154         (__libc_realloc): Likewise.
59155         (__libc_memalign): Likewise.
59156         (__libc_valloc): Likewise.
59157         (__libc_pvalloc): Likewise.
59158         (__libc_calloc): Likewise.
59159         (__posix_memalign): Likewise.
59160         * malloc/morecore.c (__sbrk): Likewise.
59161         (__default_morecore): Likewise.
59163         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
59165         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
59166         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
59167         __malloc_ptrdiff_t.
59169         * malloc/malloc.h (__malloc_size_t): Remove macro.
59170         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
59171         __malloc_size_t.
59172         (old_memalign_hook): Likewise.
59173         (old_realloc_hook): Likewise.
59174         (struct hdr): Likewise.
59175         (flood): Likewise.
59176         (mallochook): Likewise.
59177         (memalignhook): Likewise.
59178         (reallochook): Likewise.
59179         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59180         (tr_old_realloc_hook): Likewise.
59181         (tr_old_memalign_hook): Likewise.
59182         (tr_mallochook): Likewise.
59183         (tr_reallochook): Likewise.
59184         (tr_memalignhook): Likewise.
59186 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59188         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59189         default_ldbl_pack and using as default implementation.
59190         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59191         implementation.
59192         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59193         redundant definition.
59194         (ldbl_insert_mantissa): Likewise.
59195         (ldbl_canonicalize): Likewise.
59196         (ldbl_nearbyint): Likewise.
59197         (ldbl_pack): Rename to ldbl_pack_ppc.
59198         (ldbl_unpack): Rename to ldbl_unpack_ppc.
59199         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59200         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59202 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59205         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59206         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59207         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59209         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59210         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59211         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59213 2013-03-07  Andreas Jaeger  <aj@suse.de>
59215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59216         bits/mman-linux.h.
59218 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59220         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59221         Include mpa.h and declare __MPEXP.
59222         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59223         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59224         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59225         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59226         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59227         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59228         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59230         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59231         (__slowpow): Use long double EXPL and LOGL functions to
59232         compute POW.
59233         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59234         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59235         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59236         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59237         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59238         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59241         intermediate variable to calculate exponent.
59242         (__sqr): Likewise.
59243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59244         Likewise.
59245         (__sqr): Likewise.
59247         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59248         [!NO__SQR]: Define __sqr.
59249         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59250         and NO__SQR.  Remove all code except __mul and __sqr.  Include
59251         sysdeps/ieee754/dbl-64/mpa.c.
59252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59254         [BZ #12723]
59255         * posix/Makefile (tests): Add tst-pathconf.
59256         * posix/tst-pathconf.c: New test case.
59257         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59258         _PC_PIPE_BUF.
59259         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59261 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
59263         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59265 2013-03-06  Andreas Jaeger  <aj@suse.de>
59267         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59268         definition via __MAP_ANONYMOUS.
59270         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59271         it's not part of Linux headers.
59273         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59274         (MAP_HUGE_MASK): Define.
59276         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59277         Define.
59278         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59279         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59280         Define.
59281         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59282         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59283         Define.
59284         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59285         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59286         Define.
59287         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59289         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59290         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59291         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59292         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59293         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59294         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59296         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59297         Handle f2fs.
59299         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59300         Handle f2fs and efivarfs.
59302         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59303         f2fs.
59305         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59306         (EFIVARFS_MAGIC): Add.
59307         (F2FS_LINK_MAX): Add.
59309 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59311         * stdio-common/vfprintf.c: Replace __builtin_expect with
59312         __glibc_unlikely.
59314 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
59316         [BZ #13550]
59317         * sysdeps/generic/bp-sym.h: Remove file.
59318         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59319         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59320         <bp-sym.h> and <bp-asm.h>.
59321         (__longjmp): Don't use BP_SYM.
59322         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59323         and <bp-asm.h>.
59324         (memcpy): Don't use BP_SYM.
59325         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59326         <bp-sym.h> and <bp-asm.h>.
59327         (memcpy): Don't use BP_SYM.
59328         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59329         <bp-asm.h>.
59330         (memcpy): Don't use BP_SYM.
59331         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59332         <bp-asm.h>.
59333         (memset): Don't use BP_SYM.
59334         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59335         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59336         (__bzero): Don't use BP_SYM.
59337         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59338         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59339         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59340         <bp-sym.h> and <bp-asm.h>.
59341         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59342         pointers.
59343         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59344         <bp-sym.h> and <bp-asm.h>.
59345         (memcpy): Don't use BP_SYM.
59346         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59347         <bp-sym.h> and <bp-asm.h>.
59348         (memset): Don't use BP_SYM.
59349         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59350         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59351         (__bzero): Don't use BP_SYM.
59352         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59353         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59354         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59355         <bp-sym.h> and <bp-asm.h>.
59356         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59357         pointers.
59358         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59359         <bp-sym.h> and <bp-asm.h>.
59360         (memcpy): Don't use BP_SYM.
59361         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59362         <bp-sym.h> and <bp-asm.h>.
59363         (memset): Don't use BP_SYM.
59364         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59365         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59366         (__bzero): Don't use BP_SYM.
59367         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59368         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59369         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59370         <bp-sym.h> and <bp-asm.h>.
59371         (__memchr): Don't use BP_SYM.
59372         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59373         <bp-sym.h> and <bp-asm.h>.
59374         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59375         pointers.
59376         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59377         <bp-sym.h> and <bp-asm.h>.
59378         (memcpy): Don't use BP_SYM.
59379         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59380         <bp-sym.h> and <bp-asm.h>.
59381         (__mempcpy): Don't use BP_SYM.
59382         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59383         <bp-sym.h> and <bp-asm.h>.
59384         (__memrchr): Don't use BP_SYM.
59385         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59386         <bp-sym.h> and <bp-asm.h>.
59387         (memset): Don't use BP_SYM.
59388         (__bzero): Likewise.
59389         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59390         <bp-sym.h> and <bp-asm.h>.
59391         (__rawmemchr): Don't use BP_SYM.
59392         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59393         <bp-sym.h> and <bp-asm.h>.
59394         (__STRCMP): Don't use BP_SYM.
59395         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59396         <bp-sym.h> and <bp-asm.h>.
59397         (strchr): Don't use BP_SYM.
59398         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59399         <bp-sym.h> and <bp-asm.h>.
59400         (__strchrnul): Don't use BP_SYM.
59401         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59402         <bp-sym.h> and <bp-asm.h>.
59403         (strlen): Don't use BP_SYM.
59404         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59405         <bp-sym.h> and <bp-asm.h>.
59406         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59407         pointers.
59408         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59409         <bp-sym.h> and <bp-asm.h>.
59410         (__strnlen): Don't use BP_SYM.
59411         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59412         <bp-sym.h> and <bp-asm.h>.
59413         (__GI__setjmp): Don't use BP_SYM.
59414         (_setjmp): Likewise.
59415         (__sigsetjmp): Likewise.
59416         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59417         (L(start_addresses)): Don't use BP_SYM.
59418         (_start): Likewise.
59419         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59420         <bp-asm.h>.
59421         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59422         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59423         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59424         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59425         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59426         <bp-asm.h>.
59427         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59428         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
59429         about bounded pointers.
59430         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59431         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59432         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59433         <bp-asm.h>.
59434         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59435         about bounded pointers.  Remove GKM FIXME comments.
59436         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59437         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59438         <bp-asm.h>.
59439         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59440         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
59441         Remove GKM FIXME comments.
59442         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59443         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59444         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59445         <bp-asm.h>.
59446         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59447         about bounded pointers.  Remove GKM FIXME comment.
59448         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59449         and <bp-asm.h>.
59450         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59451         pointers.
59452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59453         <bp-sym.h> and <bp-asm.h>.
59454         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59456         <bp-sym.h> and <bp-asm.h>.
59457         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59458         comment.
59460 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59462         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59463         call free(NULL).
59465 2013-03-05  David S. Miller  <davem@davemloft.net>
59467         * po/es.po: Update from translation team.
59469 2013-03-05  Andreas Jaeger  <aj@suse.de>
59471         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59472         <bits/mman-linux.h>.
59473         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59474         is fine.
59475         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59476         <bits/mman-linux.h> to end of file.
59477         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59478         is fine.
59479         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59480         <bits/mman-linux.h> to end of file.
59481         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59482         is fine.
59483         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59484         <bits/mman-linux.h> to end of file.
59486         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59487         (MCL_CURRENT, MCL_FUTURE): Define here.
59489 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59491         [BZ #15232]
59492         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59493         attribute_hidden.
59494         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59496 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59498         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59499         fourth parameter needed for rt_sigprocmask syscall.
59500         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59501         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59502         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59503         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59504         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59505         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59507 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
59509         [BZ #13550]
59510         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59511         comment about bounded pointers.
59512         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59513         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59515 2013-03-04  Andreas Jaeger  <aj@suse.de>
59517         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59518         common definitions.
59520         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59521         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59522         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59523         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59524         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59525         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59527 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59529         [BZ #15055]
59530         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59531         __ieee754_sqrl instead of __sqrl.
59533 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
59535         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59536         * sysdeps/powerpc/fpu_control.h: ... here.
59537         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59538         * sysdeps/powerpc/bits/fenvinline.h: ... here.
59539         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59540         * sysdeps/powerpc/bits/mathinline.h: ... here.
59542 2013-03-01  Roland McGrath  <roland@hack.frob.com>
59544         * elf/dl-hwcaps.c (_dl_important_hwcaps):
59545         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59546         to just [NEED_DL_SYSINFO_DSO].
59547         * elf/dl-support.c: Likewise.
59548         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59549         * elf/rtld.c (dl_main): Likewise.
59550         * elf/setup-vdso.h (setup_vdso): Likewise.
59551         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59552         * sysdeps/unix/sysv/linux/dl-sysdep.c
59553         (_dl_discover_osversion): Likewise.
59555 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
59557         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59558         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59560 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
59562         * NEWS: Mention libm performance improvements and non-x86 PI
59563         futex support.
59565         * csu/libc-start.c (__pthread_initialize_minimal): Change
59566         function arguments.
59567         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59569 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
59571         [BZ #13550]
59572         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59573         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59574         <bp-sym.h> and <bp-asm.h>.
59575         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59576         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59577         and <bp-asm.h>.
59578         (memcpy): Don't use BP_SYM.
59579         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59580         <bp-asm.h>.
59581         (__mpn_add_n): Don't use BP_SYM.
59582         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59583         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59584         and <bp-asm.h>.
59585         (__mpn_addmul_1): Don't use BP_SYM.
59586         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59587         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59588         <bp-sym.h>.
59589         (_setjmp): Don't use BP_SYM.
59590         (__novmx_setjmp): Likewise.
59591         (__GI__setjmp): Likewise.
59592         (__vmx_setjmp): Likewise.
59593         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59594         <bp-sym.h>.
59595         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59596         (__bzero): Don't use BP_SYM.
59597         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59598         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59599         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59600         <bp-sym.h> and <bp-asm.h>.
59601         (memcpy): Don't use BP_SYM.
59602         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59603         <bp-sym.h> and <bp-asm.h>.
59604         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59605         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59606         <bp-sym.h> and <bp-asm.h>.
59607         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59608         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59609         <bp-asm.h>.
59610         (__mpn_lshift): Don't use BP_SYM.
59611         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59612         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59613         <bp-asm.h>.
59614         (memset): Don't use BP_SYM.
59615         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59616         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59617         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59618         <bp-asm.h>.
59619         (__mpn_mul_1): Don't use BP_SYM.
59620         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59621         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59622         <bp-sym.h> and <bp-asm.h>.
59623         (memcmp): Don't use BP_SYM.
59624         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59625         <bp-sym.h> and <bp-asm.h>.
59626         (memcpy): Don't use BP_SYM.
59627         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59628         <bp-sym.h> and <bp-asm.h>.
59629         (memset): Don't use BP_SYM.
59630         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59631         <bp-sym.h> and <bp-asm.h>.
59632         (strncmp): Don't use BP_SYM.
59633         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59634         <bp-sym.h> and <bp-asm.h>.
59635         (memcpy): Don't use BP_SYM.
59636         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59637         <bp-sym.h> and <bp-asm.h>.
59638         (memset): Don't use BP_SYM.
59639         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59640         <bp-sym.h> and <bp-asm.h>.
59641         (__memchr): Don't use BP_SYM.
59642         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59643         <bp-sym.h> and <bp-asm.h>.
59644         (memcmp): Don't use BP_SYM.
59645         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59646         <bp-sym.h> and <bp-asm.h>.
59647         (memcpy): Don't use BP_SYM.
59648         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59649         <bp-sym.h> and <bp-asm.h>.
59650         (__mempcpy): Don't use BP_SYM.
59651         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59652         <bp-sym.h> and <bp-asm.h>.
59653         (__memrchr): Don't use BP_SYM.
59654         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59655         <bp-sym.h> and <bp-asm.h>.
59656         (memset): Don't use BP_SYM.
59657         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59658         <bp-sym.h> and <bp-asm.h>.
59659         (__rawmemchr): Don't use BP_SYM.
59660         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59661         <bp-sym.h> and <bp-asm.h>.
59662         (__STRCMP): Don't use BP_SYM.
59663         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59664         <bp-sym.h> and <bp-asm.h>.
59665         (strchr): Don't use BP_SYM.
59666         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59667         <bp-sym.h> and <bp-asm.h>.
59668         (__strchrnul): Don't use BP_SYM.
59669         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59670         <bp-sym.h> and <bp-asm.h>.
59671         (strlen): Don't use BP_SYM.
59672         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59673         <bp-sym.h> and <bp-asm.h>.
59674         (strncmp): Don't use BP_SYM.
59675         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59676         <bp-sym.h> and <bp-asm.h>.
59677         (__strnlen): Don't use BP_SYM.
59678         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59679         <bp-asm.h>.
59680         (__mpn_rshift): Don't use BP_SYM.
59681         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59682         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59683         <bp-sym.h> and <bp-asm.h>.
59684         (__sigsetjmp): Don't use BP_SYM.
59685         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59686         (L(start_addresses)): Don't use BP_SYM.
59687         (_start): Likewise.
59688         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59689         <bp-asm.h>.
59690         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59691         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59692         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59693         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59694         <bp-asm.h>.
59695         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59696         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59697         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59698         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59699         <bp-asm.h>.
59700         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59701         comments.
59702         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59703         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59704         <bp-asm.h>.
59705         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
59706         FIXME comments.
59707         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59708         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59709         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59710         <bp-asm.h>.
59711         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59712         comment.
59713         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59714         and <bp-asm.h>.
59715         (strncmp): Don't use BP_SYM,
59716         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59717         <bp-asm.h>.
59718         (__mpn_sub_n): Don't use BP_SYM.
59719         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59720         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59721         and <bp-asm.h>.
59722         (__mpn_submul_1): Don't use BP_SYM.
59723         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59725         <bp-sym.h> and <bp-asm.h>.
59726         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59728         <bp-sym.h> and <bp-asm.h>.
59729         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59730         comment.
59732 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59735         Use ZK to minimize writes to Z.
59736         (sub_magnitudes): Simplify code a bit.
59737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59738         Use ZK to minimize writes to Z.
59739         (sub_magnitudes): Simplify code a bit.
59741 2013-02-27  Roland McGrath  <roland@hack.frob.com>
59743         * csu/gmon-start.c: Add special exception to license text.
59745 2013-02-27  Richard Henderson  <rth@redhat.com>
59747         * scripts/config.guess: Update from config.git.
59748         * scripts/config.sub: Likewise.
59750 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59752         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59754         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59756         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59758         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59760         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59762 2013-02-26  Roland McGrath  <roland@hack.frob.com>
59764         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59765         [$(build-shared = yes].
59767 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59769         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59770         (__mul): Reduce iterations for calculating mantissa.
59772         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59773         MPTWO.
59774         (__mpranred): Likewise.
59776         [BZ #15160]
59777         * malloc/memusagestat.c (main): Draw graphs for heap and stack
59778         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59780 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
59782         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59783         Define __attribute__.
59785 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59787         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59788         unused.
59789         * posix/regex_internal.h (__attribute): Remove.
59790         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59791         (re_string_context_at): Likewise.
59792         (bitset_not): Use __attribute__ and mark function as possibly
59793         unused.
59794         (bitset_merge): Likewise.
59795         (bitset_mask): Likewise.
59796         (re_string_char_size_at): Likewise.
59797         (re_string_wchar_at): Likewise.
59798         (re_string_elem_size_at): Likewise.
59800 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59802         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59803         code.
59804         (cc32): Likewise.
59806         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59807         (__acr): Likewise.
59808         (__cpy): Likewise.
59809         (norm): Likewise.
59810         (denorm): Likewise.
59811         (__dbl_mp): Likewise.
59812         (add_magnitudes): Likewise.
59813         (sub_magnitudes): Likewise.
59814         (__mul): Likewise.
59815         (__inv): Likewise.
59817         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59818         style.
59820         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59821         style.
59823         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59824         code.
59826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59827         up changes with default code.
59828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59829         Likewise.
59831 2013-02-24  Allan McRae  <allan@archlinux.org>
59833         * manual/socket.texi (The Internet Namespace): Order menu items
59834         to match that in the file.
59836         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59837         node listing of the info page menu.
59839 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
59841         [BZ #13550]
59842         * sysdeps/i386/bp-asm.h: Remove file.
59843         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59844         (PARMS): Do not use macros from bp-asm.h.
59845         (S1): Likewise.
59846         (S2): Likewise.
59847         (SIZE): Likewise.
59848         (__mpn_add_n): Do not use BP_SYM
59849         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59850         "bp-asm.h".
59851         (PARMS): Do not use macros from bp-asm.h.
59852         (S1): Likewise.
59853         (SIZE): Likewise.
59854         (__mpn_addmul_1): Do not use BP_SYM
59855         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59856         "bp-asm.h".
59857         (PARMS): Do not use macros from bp-asm.h.
59858         (SIGMSK): Likewise.
59859         (_setjmp): Likewise.  Do not use BP_SYM.
59860         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59861         "bp-asm.h".
59862         (PARMS): Do not use macros from bp-asm.h.
59863         (SIGMSK): Likewise.
59864         (setjmp): Likewise.  Do not use BP_SYM.
59865         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59866         "bp-asm.h".
59867         (PARMS): Do not use macros from bp-asm.h.
59868         (__frexp): Do not use BP_SYM.
59869         (frexp): Likewise.
59870         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59871         "bp-asm.h".
59872         (PARMS): Do not use macros from bp-asm.h.
59873         (__frexpf): Do not use BP_SYM.
59874         (frexpf): Likewise.
59875         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59876         "bp-asm.h".
59877         (PARMS): Do not use macros from bp-asm.h.
59878         (__frexpl): Do not use BP_SYM.
59879         (frexpl): Likewise.
59880         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59881         "bp-asm.h".
59882         (PARMS): Do not use macros from bp-asm.h.
59883         (__remquo): Do not use BP_SYM.
59884         (remquo): Likewise.
59885         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59886         "bp-asm.h".
59887         (PARMS): Do not use macros from bp-asm.h.
59888         (__remquof): Do not use BP_SYM.
59889         (remquof): Likewise.
59890         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59891         "bp-asm.h".
59892         (PARMS): Do not use macros from bp-asm.h.
59893         (__remquol): Do not use BP_SYM.
59894         (remquol): Likewise.
59895         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59896         "bp-asm.h".
59897         (PARMS): Do not use macros from bp-asm.h.
59898         (DEST): Likewise.
59899         (SRC): Likewise.
59900         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
59901         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59902         "bp-asm.h".
59903         (PARMS): Do not use macros from bp-asm.h.
59904         (strlen): Do not use BP_SYM.
59905         * sysdeps/i386/i586/add_n.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         (S2): Likewise.
59910         (SIZE): Likewise.
59911         (__mpn_add_n): Do not use BP_SYM.
59912         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59913         "bp-asm.h".
59914         (PARMS): Do not use macros from bp-asm.h.
59915         (S1): Likewise.
59916         (SIZE): Likewise.
59917         (__mpn_addmul_1): Do not use BP_SYM.
59918         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59919         weak_alias.
59920         (bzero): Likewise.
59921         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59922         "bp-asm.h".
59923         (PARMS): Do not use macros from bp-asm.h.
59924         (S): Likewise.
59925         (SIZE): Likewise.
59926         (__mpn_lshift): Do not use BP_SYM.
59927         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59928         "bp-asm.h".
59929         (PARMS): Do not use macros from bp-asm.h.
59930         (DEST): Likewise.
59931         (SRC): Likewise.
59932         (LEN): Likewise.
59933         (memcpy): Likewise.  Do not use BP_SYM.
59934         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59935         libc_hidden_def and weak_alias.
59936         (mempcpy): Do not use BP_SYM in weak_alias.
59937         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59938         "bp-asm.h".
59939         (PARMS): Do not use macros from bp-asm.h.
59940         (DEST): Likewise.
59941         (LEN): Likewise.
59942         [!BZERO_P] (CHR): Likewise.
59943         (memset): Likewise.  Do not use BP_SYM.
59944         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59945         "bp-asm.h".
59946         (PARMS): Do not use macros from bp-asm.h.
59947         (S1): Likewise.
59948         (SIZE): Likewise.
59949         (__mpn_mul_1): Do not use BP_SYM.
59950         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59951         "bp-asm.h".
59952         (PARMS): Do not use macros from bp-asm.h.
59953         (S): Likewise.
59954         (SIZE): Likewise.
59955         (__mpn_rshift): Do not use BP_SYM.
59956         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59957         "bp-asm.h".
59958         (PARMS): Do not use macros from bp-asm.h.
59959         (STR): Likewise.
59960         (CHR): Likewise.
59961         (strchr): Likewise.  Do not use BP_SYM.
59962         (index): Do not use BP_SYM in weak_alias.
59963         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59964         "bp-asm.h".
59965         (PARMS): Do not use macros from bp-asm.h.
59966         (DEST): Likewise.
59967         (SRC): Likewise.
59968         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
59969         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59970         "bp-asm.h".
59971         (PARMS): Do not use macros from bp-asm.h.
59972         (strlen): Do not use BP_SYM.
59973         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59974         "bp-asm.h".
59975         (PARMS): Do not use macros from bp-asm.h.
59976         (S1): Likewise.
59977         (S2): Likewise.
59978         (SIZE): Likewise.
59979         (__mpn_sub_n): Do not use BP_SYM.
59980         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59981         "bp-asm.h".
59982         (PARMS): Do not use macros from bp-asm.h.
59983         (S1): Likewise.
59984         (SIZE): Likewise.
59985         (__mpn_submul_1): Do not use BP_SYM.
59986         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59987         "bp-asm.h".
59988         (PARMS): Do not use macros from bp-asm.h.
59989         (S1): Likewise.
59990         (S2): Likewise.
59991         (SIZE): Likewise.
59992         (__mpn_add_n): Do not use BP_SYM.
59993         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59994         weak_alias.
59995         (bzero): Likewise.
59996         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59997         "bp-asm.h".
59998         (PARMS): Do not use macros from bp-asm.h.
59999         (BLK2): Likewise.
60000         (LEN): Likewise.
60001         (memcmp): Do not use BP_SYM.
60002         (bcmp): Do not use BP_SYM in weak_alias.
60003         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
60004         "bp-asm.h".
60005         (PARMS): Do not use macros from bp-asm.h.
60006         (DEST): Likewise.
60007         (SRC): Likewise.
60008         (LEN): Likewise.
60009         (memcpy): Likewise.  Do not use BP_SYM.
60010         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
60011         "bp-asm.h".
60012         (PARMS): Do not use macros from bp-asm.h.
60013         (DEST): Likewise.
60014         (SRC): Likewise.
60015         (LEN): Likewise.
60016         (memmove): Likewise.  Do not use BP_SYM.
60017         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
60018         "bp-asm.h".
60019         (PARMS): Do not use macros from bp-asm.h.
60020         (DEST): Likewise.
60021         (SRC): Likewise.
60022         (LEN): Likewise.
60023         (__mempcpy): Likewise.  Do not use BP_SYM.
60024         (mempcpy): Do not use BP_SYM in weak_alias.
60025         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
60026         "bp-asm.h".
60027         (PARMS): Do not use macros from bp-asm.h.
60028         (DEST): Likewise.
60029         (LEN): Likewise.
60030         [!BZERO_P] (CHR): Likewise.
60031         (memset): Likewise.  Do not use BP_SYM.
60032         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
60033         "bp-asm.h".
60034         (PARMS): Do not use macros from bp-asm.h.
60035         (STR2): Likewise.
60036         (strcmp): Do not use BP_SYM.
60037         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
60038         "bp-asm.h".
60039         (PARMS): Do not use macros from bp-asm.h.
60040         (STR): Likewise.
60041         (DELIM): Likewise.
60042         [USE_AS_STRTOK_R] (SAVE): Likewise.
60043         (FUNCTION): Likewise.  Do not use BP_SYM.
60044         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
60045         aliases.
60046         (strtok_r): Likewise.
60047         (__GI___strtok_r): Likewise.
60048         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60049         (PARMS): Do not use macros from bp-asm.h.
60050         (S): Likewise.
60051         (SIZE): Likewise.
60052         (__mpn_lshift): Do not use BP_SYM.
60053         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60054         (PARMS): Do not use macros from bp-asm.h.
60055         (STR): Likewise.
60056         (CHR): Likewise.
60057         (__memchr): Do not use BP_SYM.
60058         (memchr): Do not use BP_SYM in weak_alias.
60059         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60060         (PARMS): Do not use macros from bp-asm.h.
60061         (BLK2): Likewise.
60062         (LEN): Likewise.
60063         (memcmp): Do not use BP_SYM.
60064         (bcmp): Do not use BP_SYM in weak_alias.
60065         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
60066         (PARMS): Do not use macros from bp-asm.h.
60067         (S1): Likewise.
60068         (SIZE): Likewise.
60069         (__mpn_mul_1): Do not use BP_SYM.
60070         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
60071         "bp-asm.h".
60072         (PARMS): Do not use macros from bp-asm.h.
60073         (STR): Likewise.
60074         (CHR): Likewise.
60075         (__rawmemchr): Do not use BP_SYM.
60076         (rawmemchr): Do not use BP_SYM in weak_alias.
60077         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60078         (PARMS): Do not use macros from bp-asm.h.
60079         (S): Likewise.
60080         (SIZE): Likewise.
60081         (__mpn_rshift): Do not use BP_SYM.
60082         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60083         (PARMS): Do not use macros from bp-asm.h.
60084         (SIGMSK): Likewise.
60085         (__sigsetjmp): Likewise.  Do not use BP_SYM.
60086         * sysdeps/i386/start.S: Do not include "bp-sym.h".
60087         (_start): Do not use BP_SYM.
60088         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
60089         (PARMS): Do not use macros from bp-asm.h.
60090         (DEST): Likewise.
60091         (SRC): Likewise.
60092         (__stpcpy): Likewise.  Do not use BP_SYM.
60093         (stpcpy): Do not use BP_SYM in weak_alias.
60094         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
60095         "bp-asm.h".
60096         (PARMS): Do not use macros from bp-asm.h.
60097         (DEST): Likewise.
60098         (SRC): Likewise.
60099         (LEN): Likewise.
60100         (__stpncpy): Likewise.  Do not use BP_SYM.
60101         (stpncpy): Do not use BP_SYM in weak_alias.
60102         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60103         (PARMS): Do not use macros from bp-asm.h.
60104         (STR): Likewise.
60105         (CHR): Likewise.
60106         (strchr): Likewise.  Do not use BP_SYM.
60107         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
60108         "bp-asm.h".
60109         (PARMS): Do not use macros from bp-asm.h.
60110         (STR): Likewise.
60111         (CHR): Likewise.
60112         (__strchrnul): Likewise.  Do not use BP_SYM.
60113         (strchrnul): Do not use BP_SYM in weak_alias.
60114         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
60115         "bp-asm.h".
60116         (PARMS): Do not use macros from bp-asm.h.
60117         (STOP): Likewise.
60118         (strcspn): Do not use BP_SYM.
60119         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
60120         "bp-asm.h".
60121         (PARMS): Do not use macros from bp-asm.h.
60122         (STR): Likewise.
60123         (STOP): Likewise.
60124         (strpbrk): Likewise.  Do not use BP_SYM.
60125         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
60126         "bp-asm.h".
60127         (PARMS): Do not use macros from bp-asm.h.
60128         (STR): Likewise.
60129         (CHR): Likewise.
60130         (strrchr): Likewise.  Do not use BP_SYM.
60131         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
60132         (PARMS): Do not use macros from bp-asm.h.
60133         (SKIP): Likewise.
60134         (strspn): Do not use BP_SYM.
60135         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
60136         (PARMS): Do not use macros from bp-asm.h.
60137         (STR): Likewise.
60138         (DELIM): Likewise.
60139         (SAVE): Likewise.
60140         (FUNCTION): Likewise.  Do not use BP_SYM.
60141         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
60142         aliases.
60143         (strtok_r): Likewise.
60144         (__GI___strtok_r): Likewise.
60145         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60146         (PARMS): Do not use macros from bp-asm.h.
60147         (S1): Likewise.
60148         (S2): Likewise.
60149         (SIZE): Likewise.
60150         (__mpn_sub_n): Do not use BP_SYM.
60151         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
60152         "bp-asm.h".
60153         (PARMS): Do not use macros from bp-asm.h.
60154         (S1): Likewise.
60155         (SIZE): Likewise.
60156         (__mpn_submul_1): Do not use BP_SYM.
60157         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
60158         <bp-sym.h>.
60159         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
60160         and <bp-asm.h>.
60161         (PARMS): Do not use macros from bp-asm.h.
60162         (FLAGS): Likewise.
60163         (PTID): Likewise.
60164         (TLS): Likewise.
60165         (CTID): Likewise.
60166         (__clone): Do not use BP_SYM.
60167         (clone): Do not use BP_SYM in weak_alias.
60168         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
60169         and <bp-asm.h>.
60170         (PARMS): Do not use macros from bp-asm.h.
60171         (LEN): Likewise.
60172         (__mmap64): Do not use BP_SYM.
60173         (mmap64): Do not use BP_SYM in weak_alias.
60174         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60175         <bp-sym.h> and <bp-asm.h>.
60176         (PARMS): Do not use macros from bp-asm.h.
60177         (__posix_fadvise64_l64): Do not use BP_SYM.
60178         * sysdeps/unix/sysv/linux/i386/semtimedop.S
60179         (PARMS): Do not use macros from bp-asm.h.
60180         (NSOPS): Likewise.
60181         (semtimedop): Do not use BP_SYM.
60182         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
60183         and <bp-asm.h>.
60185 2013-02-21  Allan McRae  <allan@archlinux.org>
60187         * manual/message.texi (Charset conversion in gettext):
60188         Move @end statement to beginning of line.
60190 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60193         static.
60194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60195         Likewise.
60197         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60198         (denorm): Likewise.
60199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60202 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60204         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60205         tail-call to the resolved function if pltexit isn't needed.
60207 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60210         or Y being zero as being unlikely.
60211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60212         Likewise.
60214 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
60216         * manual/nss.texi (System Databases and Name Service Switch):
60217         Remove frobnicate @pxref.
60219 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60221         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60222         __attribute__ ((unused)) to __attribute__ ((__unused__)).
60224 2013-02-20  Petr Machata  <pmachata@redhat.com>
60226         * elf/elf.h (R_ARM_TARGET1): New macro.
60227         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60228         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60229         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60230         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60231         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60232         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60233         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60234         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60235         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60236         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60237         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60238         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60239         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60240         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60241         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60242         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60243         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60244         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60245         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60246         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60247         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60248         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60249         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60250         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60251         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60252         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60253         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60254         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60255         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60256         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60257         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60258         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60259         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60260         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60261         (R_ARM_THM_GOT_BREL12): Likewise.
60262         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60263         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60264         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60265         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60266         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60267         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60268         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60269         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60270         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60272 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60274         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60275         __attribute_used__ to __attribute__ ((unused)).
60277 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60279         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60280         powerpc mpa.c.
60281         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60282         comment formatting.
60283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60285 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
60287         [BZ #13550]
60288         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60289         Remove macro.
60290         (ENTER): Remove both macro definitions.
60291         (LEAVE): Likewise.
60292         (CHECK_BOUNDS_LOW): Likewise.
60293         (CHECK_BOUNDS_HIGH): Likewise.
60294         (CHECK_BOUNDS_BOTH): Likewise.
60295         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60296         (RETURN_BOUNDED_POINTER): Likewise.
60297         (RETURN_NULL_BOUNDED_POINTER): Likewise.
60298         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60299         (POP_ERRNO_LOCATION_RETURN): Likewise.
60300         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60301         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60302         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60303         macros.
60304         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60305         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60306         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60307         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60308         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60309         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60310         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60311         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60312         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60313         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60314         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60315         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60316         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60317         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60318         removed macros.
60319         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60320         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60321         macros.
60322         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60323         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60324         * sysdeps/i386/i586/memset.S (memset): Likewise.
60325         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60326         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60327         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60328         macros.
60329         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60330         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60331         Change uses of L(2) to L(out).
60332         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60333         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60334         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60335         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60336         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60337         removed macros.
60338         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60339         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60340         macros.
60341         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60342         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60343         (RETURN): Do not use macro LEAVE.
60344         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60345         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60346         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60347         * sysdeps/i386/i686/memset.S (memset): Likewise.
60348         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60349         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60350         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60351         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60352         Likewise.
60353         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60354         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
60355         L(1_2) and L(1_3) into L(1).
60356         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60357         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60358         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60359         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60360         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60361         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60362         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60363         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60364         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60365         macros.
60366         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60367         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60368         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60369         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60370         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60371         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60372         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60373         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60374         * sysdeps/i386/strcspn.S (strcspn): Likewise.
60375         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60376         * sysdeps/i386/strrchr.S (strrchr): Likewise.
60377         * sysdeps/i386/strspn.S (strspn): Likewise.
60378         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60379         conditional code.
60380         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60381         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60382         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60383         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
60384         L(1_3) into L(1_1).
60385         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60386         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60387         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60388         macros.
60389         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60391 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
60393         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60394         macro.
60396 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60398         * math/atest-exp.c (exp_mpn): Remove ROUND.
60399         * math/atest-exp2.c (exp_mpn): Likewise.
60400         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60402         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60403         * stdlib/tst-tls-atexit-lib.c: Likewise.
60404         * stdlib/tst-tls-atexit.c: Likewise.
60406 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60408         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60409         and __attribute_alloc_size__.
60411 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60413         * include/programs/xmalloc.h: Change __attribute_alloc_size to
60414         __attribute_alloc_size__.
60415         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60416         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60418 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60420         * include/programs/xmalloc.h: New file.
60421         * catgets/gencat.c: Include it.
60422         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60423         * elf/pldd.c: Likewise.
60424         * iconv/iconv_charmap.c: Likewise.
60425         * iconv/iconvconfig.c: Likewise.
60426         * iconv/strtab.c: Likewise.
60427         * locale/programs/locale.c: Likewise.
60428         * locale/programs/localedef.h: Likewise.
60429         * locale/programs/simple-hash.c: Likewise.
60430         * nscd/nscd.h: Likewise.
60431         * nss/makedb.c: Likewise.
60432         * sysdeps/generic/ldconfig.h: Likewise.
60434 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60436         * Versions.def: Add GLIBC_2.18.
60437         * include/link.h (struct link_map): New member l_tls_dtor_count.
60438         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60439         (__call_tls_dtors): Likewise.
60440         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60441         __cxa_thread_atexit_impl.
60442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60443         Likewise.
60444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60445         Likewise.
60446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60447         Likewise.
60448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60449         Likewise.
60450         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60452         Likewise.
60453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60454         Likewise.
60455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60457         Likewise.
60458         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60459         (tests): Add test case tst-tls-atexit.
60460         (modules-names): Add shared library for tst-tls-atexit.
60461         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60462         (GLIBC_PRIVATE): Add __call_tls_dtors.
60463         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60464         for libstdc++.
60465         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60466         * stdlib/tst-tls-atexit.c: New test case.
60467         * stdlib/tst-tls-atexit-lib.c: New test case.
60469         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60471         * elf/Versions (ld): Add _dl_find_dso_for_object.
60472         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60473         * elf/dl-open.c (_dl_find_dso_for_object): New function.
60474         (dl_open_worker): Use _dl_find_dso_for_object.
60475         * elf/dl-sym.c (do_sym): Likewise.
60476         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60478 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60480         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60481         Syntactic changes only.
60482         (_dl_runtime_profile): Do a tail-call to the resolved function.
60484 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
60486         [BZ #13550]
60487         * sysdeps/x86_64/bp-asm.h: Remove file.
60488         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60489         <bp-sym.h> and <bp-asm.h>.
60490         (__clone): Do not use BP_SYM.
60491         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60492         <bp-sym.h> and <bp-asm.h>.
60493         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60494         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60495         "bp-asm.h".
60496         (_setjmp): Do not use BP_SYM.
60497         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60498         "bp-asm.h".
60499         (setjmp): Do not use BP_SYM.
60500         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60501         libc_hidden_def.
60502         (mempcpy): Do not use BP_SYM in weak_alias.
60503         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60504         "bp-asm.h".
60505         (strchr): Do not use BP_SYM.
60506         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60507         "bp-asm.h".
60508         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60509         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60510         (_start): Do not use BP_SYM.
60511         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60512         "bp-asm.h".
60513         (strcat): Do not use BP_SYM.
60514         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60515         "bp-asm.h".
60516         (STRCMP): Do not use BP_SYM.
60517         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60518         "bp-asm.h".
60519         (STRCPY): Do not use BP_SYM.
60520         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60521         "bp-asm.h".
60522         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60523         "bp-asm.h".
60524         (FUNCTION): Do not use BP_SYM.
60525         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60526         weak_alias.
60527         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60529 2013-02-17  Andreas Jaeger  <aj@suse.de>
60531         * time/Versions: Sort entries.
60532         * string/Versions: Likewise.
60533         * resolv/Versions: Likewise.
60534         * posix/Versions: Likewise.
60535         * iconv/Versions: Likewise.
60536         * elf/Versions: Likewise.
60537         * wcsmbs/Versions: Likewise.
60539 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60541         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60542         loop termination condition.
60544         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60545         variable to calculate EZ.
60546         (__sqr): Likewise.
60548         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60549         the lower precision input.
60551 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
60553         [BZ #13550]
60554         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60555         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60556         (run-via-rtld-prefix): Do not handle %-bp tests.
60557         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60558         (all-object-suffixes): Remove .ob.
60559         (bppfx): Remove variable.
60560         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60561         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60562         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60563         [$(build-bounded) = yes] (libtype.ob): Likewise.
60564         * Makerules (elide-routines.ob): Remove variable.
60565         (do-tests-clean): Do not handle *-bp.out.
60566         (common-mostlyclean): Do not handle *-bp and *-bp.out.
60567         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60568         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60569         (tests): Do not include $(tests-bp.out).
60570         (xtests): Do not include $(xtests-bp.out).
60571         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60572         [$(build-bounded) = yes] ($(addprefix
60573         $(objpfx),$(binaries-bounded))): Remove rule.
60574         ($(objpfx)%-bp.out): Remove rule.
60575         * config.make.in (build-bounded): Remove variable.
60576         * crypt/Makefile [$(build-bounded) = yes]
60577         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60578         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60579         append to variable.
60580         [$(build-bounded) = yes] (install-lib): Likewise.
60581         [$(build-bounded) = yes] (generated): Likewise.
60582         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60583         Remove rule.
60584         * intl/Makefile [$(build-bounded) = yes]
60585         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60586         * math/Makefile [$(build-bounded) = yes]
60587         ($(tests:%=$(objpfx)%-bp): Likewise.
60588         * misc/Makefile [$(build-bounded) = yes]
60589         ($(objpfx)tst-tsearch-bp): Likewise.
60590         * nptl/Makeconfig (bounded-thread-library): Remove variable.
60591         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60592         Remove dependency.
60593         * string/Makefile (o-objects.ob): Remove variable.
60594         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60595         (CFLAGS-.ob): Remove variable.
60596         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60597         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60598         both definitions of variable.
60599         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60600         (ASFLAGS-.ob): Remove variable.
60602 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
60604         [BZ #13550]
60605         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60606         Remove __BOUNDED_POINTERS__ from condition.
60607         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60608         * string/bits/string2.h [!__NO_STRING_INLINES &&
60609         !__BOUNDED_POINTERS__]: Likewise.
60610         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60611         Likewise.
60612         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60613         Remove conditional code.
60614         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60615         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60616         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60617         condition.
60619         [BZ #13550]
60620         * csu/libc-start.c: Do not include <bp-sym.h>.
60621         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60622         * elf/dl-open.c: Do not include <bp-sym.h>.
60623         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60624         * math/fegetenv.c: Do not include <bp-sym.h>.
60625         (fegetenv): Do not use BP_SYM in versioned symbols.
60626         * nptl/sysdeps/pthread/bits/libc-lockP.h
60627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60628         <bp-sym.h>.
60629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60630         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60632         (__pthread_mutex_destroy): Likewise.
60633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60634         (__pthread_mutex_lock): Likewise.
60635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60636         (__pthread_mutex_trylock): Likewise.
60637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60638         (__pthread_mutex_unlock): Likewise.
60639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60640         (__pthread_mutexattr_init): Likewise.
60641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60642         (__pthread_mutexattr_destroy): Likewise.
60643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60644         (__pthread_mutexattr_settype): Likewise.
60645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60646         (__pthread_rwlock_init): Likewise.
60647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60648         (__pthread_rwlock_destroy): Likewise.
60649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60650         (__pthread_rwlock_rdlock): Likewise.
60651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60652         (__pthread_rwlock_tryrdlock): Likewise.
60653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60654         (__pthread_rwlock_wrlock): Likewise.
60655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60656         (__pthread_rwlock_trywrlock): Likewise.
60657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60658         (__pthread_rwlock_unlock): Likewise.
60659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60660         (__pthread_key_create): Likewise.
60661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60662         (__pthread_setspecific): Likewise.
60663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60664         (__pthread_getspecific): Likewise.
60665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60666         Likewise.
60667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60668         (_pthread_cleanup_push_defer): Likewise.
60669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60670         (_pthread_cleanup_pop_restore): Likewise.
60671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60672         (pthread_setcancelstate): Likewise.
60673         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60674         <bp-sym.h>.
60675         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60676         (memchr): Do not use BP_SYM in weak_alias.
60677         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60678         (fegetenv): Do not use BP_SYM in versioned symbols.
60679         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60680         (fesetenv): Do not use BP_SYM in versioned symbols.
60681         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60682         (feupdateenv): Do not use BP_SYM in versioned symbols.
60683         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60684         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60685         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60686         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60687         (open64): Do not use BP_SYM in weak_alias.
60688         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60689         (fegetenv): Do not use BP_SYM in versioned symbols.
60690         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60691         (fesetenv): Do not use BP_SYM in versioned symbols.
60692         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60693         (feupdateenv): Do not use BP_SYM in versioned symbols.
60694         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60695         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60696         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60697         (feraiseexcept): Do not use BP_SYM in versioned symbols.
60698         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60699         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60700         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60701         <bp-sym.h>.
60702         (__libc_start_main): Do not use BP_SYM.
60704 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60707         redundant return line.
60708         (norm): Likewise.
60709         (denorm): Likewise.
60710         (dbl_mp): Likewise.
60711         (sub_magnitudes): Likewise.
60712         (__add): Likewise.
60713         (__sub): Likewise.
60714         (__mul): Likewise.
60715         (__inv): Likewise.
60716         (__dvd): Likewise.
60717         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60718         (norm): Likewise.
60719         (denorm): Likewise.
60720         (dbl_mp): Likewise.
60721         (sub_magnitudes): Likewise.
60722         (__add): Likewise.
60723         (__sub): Likewise.
60724         (__mul): Likewise.
60725         (__inv): Likewise.
60726         (__dvd): Likewise.
60728         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60729         instead of __mul.
60730         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60731         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60732         (cc32): Likewise.
60734         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60735         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60736         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60737         of __mul for squares.
60738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60739         function
60740         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60741         Likewise.
60742         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60743         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60745 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
60747         [BZ #13550]
60748         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60749         code.
60750         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60751         prototype or function definition.  Rename ubp_* variables and
60752         parameters.  Remove argv definitions conditional on
60753         [__BOUNDED_POINTERS__].
60754         * debug/backtrace.c (__backtrace): Do not use __unbounded.
60755         * elf/dl-runtime.c (_dl_fixup): Likewise.
60756         * include/set-hooks.h (RUN_HOOK): Likewise.
60757         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60758         definition.
60759         * string/strcpy.c (strcpy): Do not use __unbounded.
60760         * sysdeps/generic/frame.h (struct layout): Likewise.
60761         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60762         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60763         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60764         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60765         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60766         (__backtrace): Likewise.
60767         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60768         use __ptrvalue.
60769         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60770         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60771         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60772         Likewise.
60773         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60774         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60775         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60776         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60777         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60778         Do not use __unbounded.
60779         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60780         Rename __unboundedrlimits parameter to rlimits in prototype.
60781         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60782         Do not use __unbounded.
60783         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60784         not use __ptrvalue.
60785         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60786         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60787         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60788         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60789         __ptrvalue or __unbounded.
60790         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60791         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60792         use __unbounded.
60793         (__new_msgctl): Do not use __ptrvalue.
60794         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60795         __unbounded.
60796         (__libc_msgrcv): Do not use __ptrvalue.
60797         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60798         startup_info): Do not use __unbounded.
60799         (__libc_start_main): Likewise.  Rename ubp_* variables and
60800         parameters.  Remove argv definitions conditional on
60801         [__BOUNDED_POINTERS__].
60802         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60803         __ptrvalue.
60804         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60805         use __unbounded.
60806         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60807         or __ptrvalue.
60808         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60809         use __unbounded.
60810         (__new_shmctl): Do not use __ptrvalue.
60811         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60812         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60813         Likewise.
60814         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60815         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60816         (__libc_sigaction): Likewise.
60817         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60818         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60819         Likewise.
60820         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60822 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
60824         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60826         * string/mempcpy.c: Implement by calling memcpy.
60828 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60830         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60832         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60833         evaluation.
60835         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60836         values in the mantissa.
60838         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60839         minimize writes to Z.
60840         (sub_magnitudes): Simplify code a bit.
60842 2013-02-12  Roland McGrath  <roland@hack.frob.com>
60844         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60845         from the message.  The linker prefixes all warnings with that already.
60847 2013-02-12  Andreas Schwab  <schwab@suse.de>
60849         [BZ #15078]
60850         * posix/regexec.c (extend_buffers): Add parameter min_len.
60851         (check_matching): Pass minimum needed length.
60852         (clean_state_log_if_needed): Likewise.
60853         (get_subexp): Likewise.
60854         * posix/Makefile (tests): Add bug-regex34.
60855         (bug-regex34-ENV): Define.
60856         * posix/bug-regex34.c: New file.
60858         [BZ #11561]
60859         * posix/regcomp.c (parse_bracket_exp): When looking up collating
60860         elements compare against the byte sequence of it, not its name.
60861         * posix/Makefile (tests): Add bug-regex35.
60862         (bug-regex35-ENV): Define.
60863         * posix/bug-regex35.c: New file.
60865 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60867         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
60868         comment.
60869         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60870         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60871         (CHECK_EOL): Add undef.
60873 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
60875         * bits/stdlib-bsearch.h: New file.
60876         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60877         * stdlib/stdlib.h: Likewise.
60879 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60881         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60882         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60883         declaration.
60884         * manual/search.texi (Array Search Function): Add missing const in
60885         lfind prototype.
60886         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60887         declaration to use rlim_t.
60888         (Basic Scheduling Functions): Remove erroneous const from
60889         sched_getparam prototype.  Remove erroneous * from
60890         sched_get_priority_max and sched_get_priority_min prototypes.
60891         (Resource Usage): Fix summary @comment on vtimes to refer to
60892         sys/vtimes.h rather than vtimes.h.
60893         Add missing *s in vtimes prototype.
60894         (Limits on Resources): Fix ulimit prototype to return long int.
60895         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60896         prototypes to use long int rather than double.
60897         (BSD Random): Fix initstate and setstate to use char *, not void *.
60898         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60899         prototype to make second argument 'struct aiocb64 *const[]'.
60900         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60901         (Status of AIO Operations): Remove erroneous const in aio_return and
60902         aio_return64 prototypes.
60903         (Synchronizing I/O): Fix sync prototype to return void.
60904         * manual/startup.texi (Suboptions): Remove an erroneous const in
60905         getsubopt prototype.
60906         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60907         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60908         use size_t rather than int.
60909         (Scanning All Users): Likewise for getpwent_r.
60910         (Setting Groups): Add missing const to setgroups prototype.
60911         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60912         * manual/socket.texi (Host Names): Fix gethostbyaddr and
60913         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60914         'const void *' rather than 'const char *'.
60915         (Host Address Functions): Likewise for inet_ntop.
60916         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60917         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60918         ssize_t for return value.
60919         (Sending Data): Likewise for send, sendto, sendmsg.
60920         (Socket Option Functions): Add a missing const in setsockopt prototype.
60921         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60922         use wchar_t for the argument.
60923         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60924         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60925         take no arguments.
60926         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60927         double/float/long double for second argument.
60928         Fix return types of significand, significandf, significandl.
60929         * manual/filesys.texi (Setting Permissions): Use mode_t for second
60930         argument in fchmod prototype.
60931         (File Owner): Use uid_t and gid_t in fchown prototype.
60932         (File Times): Add const to utimes, futimes, and lutimes prototypes.
60933         (Making Special Files): Use mode_t and dev_t in mknod prototype.
60934         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60935         use 'const struct dirent **' as argument types to CMP function pointer
60936         argument.
60937         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60938         (File Times): Fix summary magic @comment for struct utimbuf and utime
60939         to refer to utime.h, not time.h.
60940         * manual/string.texi (Argz Functions): Add missing const in
60941         argz_extract and argz_next prototypes.
60942         (Finding Tokens in a String): Likewise for basename.
60943         (String/Array Comparison): Fix typo in wcscasecmp prototype.
60944         (Copying and Concatenation): Fix typo in wmemmove prototype.
60945         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60946         (Signal Stack): Remove erroneous const in sigstack prototype.
60947         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60948         prototype.
60949         (Simple Calendar Time): Likewise for stime.
60950         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60951         prototype.
60952         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60953         say sys/sysctl.h instead.
60954         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60955         and vsyslog prototypes.
60957 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60959         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60960         Remove.
60962 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60964         * misc/sys/mman.h: Fix typo in mremap comment.
60966 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60968         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60969         the '\0' terminator.
60971 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60973         [BZ #13550]
60974         * debug/segfault.c: Don't include <bp-checks.h>.
60975         * sysdeps/generic/bp-checks.h: Remove file.
60976         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60977         (__GETDENTS): Don't use CHECK_N.
60978         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60979         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60980         (__getgroups): Don't use CHECK_N.
60981         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60982         (setgroups): Don't use CHECK_N.
60983         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60984         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60985         (__libc_msgrcv): Don't use CHECK_N.
60986         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60987         (__libc_msgsnd): Don't use CHECK_N.
60988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60989         <bp-checks.h>.
60990         (__libc_pread): Don't use CHECK_N.
60991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60992         include <bp-checks.h>.
60993         (__libc_pread64): Don't use CHECK_N.
60994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60995         include <bp-checks.h>.
60996         (__libc_pwrite): Don't use CHECK_N.
60997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60998         include <bp-checks.h>.
60999         (__libc_pwrite64): Don't use CHECK_N.
61000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
61001         <bp-checks.h>.
61002         (__libc_pread): Don't use CHECK_N.
61003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
61004         include <bp-checks.h>.
61005         (__libc_pread64): Don't use CHECK_N.
61006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
61007         include <bp-checks.h>.
61008         (__libc_pwrite): Don't use CHECK_N.
61009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
61010         include <bp-checks.h>.
61011         (__libc_pwrite64): Don't use CHECK_N.
61012         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
61013         (do_pread): Don't use CHECK_N.
61014         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
61015         (do_pread64): Don't use CHECK_N.
61016         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
61017         (do_pwrite): Don't use CHECK_N.
61018         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
61019         (do_pwrite64): Don't use CHECK_N.
61020         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
61021         (__libc_readv): Don't use CHECK_N.
61022         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
61023         (semop): Don't use CHECK_N.
61024         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
61025         <bp-checks.h>.
61026         (semtimedop): Don't use CHECK_N.
61027         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
61028         (__libc_pread): Don't use CHECK_N.
61029         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
61030         <bp-checks.h>.
61031         (__libc_pread64): Don't use CHECK_N.
61032         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
61033         <bp-checks.h>.
61034         (__libc_pwrite): Don't use CHECK_N.
61035         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
61036         <bp-checks.h>.
61037         (__libc_pwrite64): Don't use CHECK_N.
61038         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
61039         <bp-checks.h>.
61040         (__libc_msgrcv): Don't use CHECK_N.
61041         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
61042         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
61043         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
61044         (__libc_writev): Don't use CHECK_N.
61046 2013-02-08  Roland McGrath  <roland@hack.frob.com>
61048         * string/strcpy.c: Removed unused variable.
61050         * Makeconfig (+sysdep-includes): Define with := rather than =.
61051         Use an existing include/ subdir of each sysdeps dir before it.
61053 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61055         * nscd/connection.c (register_traced_file): Comment function.
61056         [HAVE_INOTIFY] (union __inev): Define.
61057         [HAVE_INOTIFY] (inotify_check_files): New function.
61058         [HAVE_INOTIFY] (clear_db_cache): Likewise.
61059         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
61060         clear_db_cache.
61061         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
61063 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61065         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
61066         loaded if not already and that a failure is permanent.
61068 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61070         [BZ #15006]
61071         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
61072         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
61074 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
61076         [BZ #13550]
61077         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
61078         (CHECK_1_NULL_OK): Likewise.
61079         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
61080         (__fxstat): Do not use CHECK_1.
61081         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
61082         <bp-checks.h>.
61083         (___fxstat64): Do not use CHECK_1.
61084         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
61085         <bp-checks.h>.
61086         (__fxstatat): Do not use CHECK_1.
61087         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
61088         <bp-checks.h>.
61089         (__fxstatat64): Do not use CHECK_1.
61090         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
61091         <bp-checks.h>.
61092         (__fxstat): Do not use CHECK_1.
61093         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
61094         <bp-checks.h>.
61095         (__fxstatat): Do not use CHECK_1.
61096         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61097         <bp-checks.h>.
61098         (__getresgid): Do not use CHECK_1.
61099         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61100         <bp-checks.h>.
61101         (__getresuid): Do not use CHECK_1.
61102         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
61103         <bp-checks.h>.
61104         (__lxstat): Do not use CHECK_1.
61105         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61106         <bp-checks.h>.
61107         (__old_msgctl): Do not use CHECK_1.
61108         (__new_msgctl): Likewise.
61109         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
61110         <bp-checks.h>.
61111         (__new_setrlimit): Do not use CHECK_1.
61112         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61113         <bp-checks.h>.
61114         (__old_shmctl): Do not use CHECK_1.
61115         (__new_shmctl): Likewise.
61116         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
61117         <bp-checks.h>.
61118         (__xstat): Do not use CHECK_1.
61119         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
61120         (__lxstat): Do not use CHECK_1.
61121         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
61122         <bp-checks.h>.
61123         (___lxstat64): Do not use CHECK_1.
61124         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
61125         (__old_msgctl): Do not use CHECK_1.
61126         (__new_msgctl): Likewise.
61127         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
61128         <bp-checks.h>.
61129         (__gettimeofday): Do not use CHECK_1.
61130         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
61131         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
61132         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
61133         <bp-checks.h>.
61134         (__gettimeofday): Do not use CHECK_1.
61135         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
61136         (__old_shmctl): Do not use CHECK_1_NULL_OK.
61137         (__new_shmctl): Do not use CHECK_1.
61138         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
61139         <bp-checks.h>.
61140         (do_sigtimedwait): Do not use CHECK_1.
61141         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
61142         <bp-checks.h>.
61143         (do_sigwaitinfo): Do not use CHECK_1.
61144         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
61145         <bp-checks.h>.
61146         (msgctl): Do not use CHECK_1.
61147         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
61148         <bp-checks.h>.
61149         (shmctl): Do not use CHECK_1.
61150         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
61151         (ustat): Do not use CHECK_1.
61152         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
61153         <bp-checks.h>.
61154         (__fxstat): Do not use CHECK_1.
61155         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
61156         <bp-checks.h>.
61157         (__fxstatat): Do not use CHECK_1.
61158         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
61159         <bp-checks.h>.
61160         (__lxstat): Do not use CHECK_1.
61161         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
61162         <bp-checks.h>.
61163         (__xstat): Do not use CHECK_1.
61164         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
61165         (__xstat): Do not use CHECK_1.
61166         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
61167         (___xstat64): Do not use CHECK_1.
61169         [BZ #13550]
61170         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
61171         definitions.
61172         (CHECK_BOUNDS_HIGH): Likewise.
61173         * string/strcpy.c: Do not include <bp-checks.h>.
61174         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
61176 2013-02-07  Roland McGrath  <roland@hack.frob.com>
61178         * nscd/nscd-client.h (__nscd_drop_map_ref):
61179         Add __attribute__ ((unused)).
61180         * nis/nss-nisplus.h (niserr2nss): Likewise.
61182         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
61183         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
61185         * csu/libc-tls.c (init_static_tls, init_slotinfo):
61186         Remove inline keyword.
61187         * include/rounding-mode.h (round_away): Likewise.
61188         * libio/wfileops.c (adjust_wide_data): Likewise.
61189         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61190         (__m128i_strloadu_tolower): Likewise.
61191         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61192         (__m128i_strloadu_tolower): Likewise.
61193         * time/mktime.c (ydhms_diff): Likewise.
61194         * locale/elem-hash.h (elem_hash): Likewise.
61195         * locale/setlocale.c (setdata): Likewise.
61196         * posix/regex_internal.h (re_string_char_size_at): Likewise.
61197         (re_string_wchar_at): Likewise.
61198         (bitset_not, bitset_merge, bitset_mask): Likewise.
61199         [!(__GNUC__ > 3)] (inline): Remove macro.
61200         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61201         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61202         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61203         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61204         * string/memcmp.c (memcmp_bytes): Likewise.
61205         * locale/programs/locarchive.c (compute_hashval): Likewise.
61206         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61207         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61208         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61209         * nss/getent.c (print_rpc, print_protocols): Likewise.
61210         (print_passwd, print_group, print_aliases): Likewise.
61211         * nis/nss-nisplus.h (niserr2nss): Likewise.
61212         * nscd/connections.c (restart_p): Likewise.
61213         Change return type to bool.
61215 2013-02-05  Roland McGrath  <roland@hack.frob.com>
61217         * Makeconfig (all-Depend-files): Add existing
61218         $(sorted-subdirs:=/Depend) files.
61219         (all-subdirs): Remove nss.
61220         * sysdeps/unix/inet/Subdirs: Add it here instead.
61221         * hesiod/Depend: New file.
61223         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61224         instead of calling alloca.
61226         * io/lseek.c (__lseek): Rename to __libc_lseek.
61227         Define __lseek as an alias.
61229         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61231 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
61233         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61234         else clause and remove check for non-standard endianness.
61236 2013-02-04  David S. Miller  <davem@davemloft.net>
61238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61240 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
61242         [BZ #13550]
61243         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61244         (__ubp_memchr): Remove prototype.
61245         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61246         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61247         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61248         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61249         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61250         Remove alias.
61251         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61252         (__ubp_memchr): Likewise.
61253         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61254         (__ubp_memchr): Likewise.
61255         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61256         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61257         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61258         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61259         CHECK_STRING.
61260         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61261         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61262         (__getcwd): Do not use CHECK_STRING.
61263         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61264         <bp-checks.h>.
61265         (__real_chown): Do not use CHECK_STRING.
61266         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61267         <bp-checks.h>.
61268         (fchownat): Do not use CHECK_STRING.
61269         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61270         CHECK_STRING.
61271         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61272         <bp-checks.h>.
61273         (__lchown): Do not use CHECK_STRING.
61274         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61275         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61276         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61277         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61279         include <bp-checks.h>.
61280         (truncate64): Do not use CHECK_STRING.
61281         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61282         <bp-checks.h>.
61283         (__real_chown): Do not use CHECK_STRING.
61284         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61285         <bp-checks.h>.
61286         (__lchown): Do not use CHECK_STRING.
61287         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61288         <bp-checks.h>.
61289         (__chown): Do not use CHECK_STRING.
61290         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61291         <bp-checks.h>.
61292         (truncate64): Do not use CHECK_STRING.
61293         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61294         Likewise.
61295         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61296         (__xmknod): Do not use CHECK_STRING.
61297         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61298         <bp-checks.h>.
61299         (__xmknodat): Do not use CHECK_STRING.
61300         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61301         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61303 2013-02-04  Andreas Schwab  <schwab@suse.de>
61305         [BZ #14142]
61306         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61307         * include/netdb.h: Likewise for h_errno.
61308         * elf/tst-stackguard1.c: Include <tls.h>.
61310 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
61312         * elf/link.h (struct link_map): Extend the l_addr comment.
61313         * include/link.h (struct link_map): Likewise.
61315 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
61317         [BZ #13550]
61318         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61319         (BOUNDED_1): Remove macro.
61320         * debug/backtrace.c: Don't include <bp-checks.h>.
61321         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61322         (__backtrace): Likewise.
61323         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61324         <bp-checks.h>.
61325         (__backtrace): Don't use BOUNDED_1.
61326         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61327         <bp-checks.h>.
61328         (__backtrace): Don't use BOUNDED_1.
61329         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61330         (__backtrace): Don't use BOUNDED_1.
61331         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61332         (shmat): Don't use BOUNDED_N.
61334 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
61336         [BZ #13550]
61337         * sysdeps/generic/bp-start.h: Remove file.
61338         * csu/libc-start.c: Don't include <bp-start.h>.
61339         (LIBC_START_MAIN): Set up __environ directly instead of using
61340         INIT_ARGV_and_ENVIRON.
61341         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61342         <bp-start.h>.
61344         [BZ #13550]
61345         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61346         definitions.
61347         (CHECK_FCNTL): Likewise.
61348         (CHECK_N_PAGES): Likewise.
61350         [BZ #13550]
61351         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61352         definitions.
61353         (CHECK_SIGSET_NULL_OK): Likewise.
61354         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61355         <bp-checks.h>.
61356         (sigpending): Don't use CHECK_SIGSET.
61357         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61358         <bp-checks.h>.
61359         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61360         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61361         <bp-checks.h>.
61362         (do_sigsuspend): Don't use CHECK_SIGSET.
61363         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61364         use CHECK_SIGSET.
61365         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61366         (do_sigwait): Don't use CHECK_SIGSET.
61367         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61368         use CHECK_SIGSET.
61369         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61370         include <bp-checks.h>.
61371         (sigpending): Don't use CHECK_SIGSET.
61372         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61373         include <bp-checks.h>.
61374         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61375         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61376         <bp-checks.h>.
61377         (sigpending): Don't use CHECK_SIGSET.
61378         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61379         <bp-checks.h>.
61380         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61382         [BZ #13550]
61383         * sysdeps/generic/bp-semctl.h: Remove file.
61384         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61385         <bp-checks.h> and <bp-semctl.h>.
61386         (__old_semctl): Don't use CHECK_SEMCTL.
61387         (__new_semctl): Likewise.
61388         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61389         and <bp-semctl.h>.
61390         (__old_semctl): Don't use CHECK_SEMCTL.
61391         (__new_semctl): Likewise.
61392         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61393         <bp-checks.h> and <bp-semctl.h>.
61394         (__old_semctl): Don't use CHECK_SEMCTL.
61395         (__new_semctl): Likewise.
61396         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61397         <bp-checks.h> and <bp-semctl.h>.
61398         (semctl): Don't use CHECK_SEMCTL.
61400         [BZ #13550]
61401         * Makerules (elide-bp-thunks): Remove variable.
61402         (elide-routines.oS): Don't use $(elide-bp-thunks).
61403         (elide-routines.os): Likewise.
61404         (elide-routines.o): Likewise.
61405         (elide-routines.op): Likewise.
61406         (elide-routines.og): Likewise.
61407         (objects): Don't use $(bp-thunks).
61408         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61409         include.
61410         (common-generated): Do not add s-proto-bp.d.
61411         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61412         (int): Likewise.
61413         (typ): Likewise.
61414         Do not generate makefile rules for bounded-pointer thunks.
61415         * sysdeps/generic/bp-thunks.h: Remove file.
61416         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61417         * sysdeps/unix/s-proto-bp.S: Likewise.
61419         [BZ #15062]
61420         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61421         parts of result separately when argument is not close to line from
61422         -i to i and one part of argument is small.
61423         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61424         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61425         * math/libm-test.inc (cacos_test): Add more tests.
61426         (casin_test): Likewise.
61427         (casinh_test): Likewise.
61428         * sysdeps/i386/fpu/libm-test-ulps: Update.
61429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61431 2013-01-31  David S. Miller  <davem@davemloft.net>
61433         * po/de.po: Update from translation team.
61435 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
61437         * time/tzfile.c: Include stdint.h for SIZE_MAX.
61439 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
61441         * configure.in (_AC_PROG_CC_C89): New definition.
61442         * configure: Regenerate.
61444         * configure.in (AC_PROG_CPP): New definition.
61445         * configure: Regenerate.
61447 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61449         * debug/tst-backtrace.h: New file.
61450         * debug/tst-backtrace2.c: Include tst-backtrace.h.
61451         (ret): Remove variable.
61452         (x): Likewise.
61453         (FAIL): Remove macro.
61454         (NO_INLINE): Likewise.
61455         (fn1): Use match function instead of strstr.
61456         * debug/tst-backtrace3.c: Include tst-backtrace.h.
61457         (ret): Remove variable.
61458         (x): Likewise.
61459         (FAIL): Remove macro.
61460         (NO_INLINE): Likewise.
61461         (fn): Use match function instead of strstr.
61462         * debug/tst-backtrace4.c: Include tst-backtrace.h.
61463         (ret): Remove variable.
61464         (x): Likewise.
61465         (FAIL): Remove macro.
61466         (NO_INLINE): Likewise.
61467         (handle_signal): Use match function instead of strstr.
61468         * debug/tst-backtrace5.c: Include tst-backtrace.h.
61469         (ret): Remove variable.
61470         (x): Likewise.
61471         (FAIL): Remove macro.
61472         (NO_INLINE): Likewise.
61473         (handle_signal): Use match function instead of strstr.
61475 2013-01-23  Roland McGrath  <roland@hack.frob.com>
61477         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61479 2013-01-23  David S. Miller  <davem@davemloft.net>
61481         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61482         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61483         argument of CAS if possible.
61484         * sysdeps/sparc/sparc64/bits/atomic.h
61485         (__arch_compare_and_exchange_val_32_acq): Likewise.
61486         (__arch_compare_and_exchange_val_64_acq): Likewise.
61488 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
61490         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61491         * sysdeps/posix/ulimit.c: ... this.
61492         Include <limits.h>.
61493         * sysdeps/unix/bsd/ulimit.c: Remove file.
61495 2013-01-23  Adam Conrad  <adconrad@0c3.net>
61497         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61498         (LDFLAGS-tst-array5): Likewise.
61500 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61502         [BZ #15036]
61503         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61504         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61505         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61506         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61508 2013-01-21  David S. Miller  <davem@davemloft.net>
61510         * sysdeps/sparc/backtrace.c: New file.
61511         * sysdeps/sparc/sparc32/backtrace.h: New file.
61512         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61513         * sysdeps/sparc/sparc64/backtrace.h: New file.
61514         * sysdeps/sparc/sparc64/backtrace.c: Delete.
61515         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61516         -funwind-tables.
61518 2013-01-21  Andreas Schwab  <schwab@suse.de>
61520         [BZ #15020]
61521         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61522         closed its stdout.
61524 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
61526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61527         "mpa2.h".
61528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61530 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
61531             Mark Mitchell  <mark@codesourcery.com>
61532             Tom de Vries  <tom@codesourcery.com>
61533             Paul Pluzhnikov  <ppluzhnikov@google.com>
61535         * debug/tst-backtrace2.c: New file.
61536         * debug/tst-backtrace3.c: Likewise.
61537         * debug/tst-backtrace4.c: Likewise.
61538         * debug/tst-backtrace5.c: Likewise.
61539         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61540         (CFLAGS-tst-backtrace3.c): Likewise.
61541         (CFLAGS-tst-backtrace4.c): Likewise.
61542         (CFLAGS-tst-backtrace5.c): Likewise.
61543         (LDFLAGS-tst-backtrace2): Likewise.
61544         (LDFLAGS-tst-backtrace3): Likewise.
61545         (LDFLAGS-tst-backtrace4): Likewise.
61546         (LDFLAGS-tst-backtrace5): Likewise.
61547         (tests): Add new tests tst-backtrace2, tst-backtrace3,
61548         tst-backtrace4 and tst-backtrace5.
61550 2013-01-18  Anton Blanchard  <anton@samba.org>
61551             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61553         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61554         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61555         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61556         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61558         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61559         "+r" and remove output regs list as redundant.  Add explicit inline
61560         asm to specify register of return val to work around compiler codegen
61561         bug.  Remove (int) cast on return value.  Add return type parameter to
61562         use in macro so that this macro does not truncate return value for
61563         64-bit values.
61564         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61565         pass to INTERNAL_VSYSCALL_NCS.
61566         (INLINE_VSYSCALL): Add 'long int' as return type to
61567         INTERNAL_VSYSCALL_NCS macro invocation.
61568         (INTERNAL_VSYSCALL): Add 'long int' as return type to
61569         INTERNAL_VSYSCALL_NCS macro invocation.
61570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61572 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61574         [BZ #14496]
61575         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61576         Fix application of SIMD FP exception mask.
61578         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61579         mp_no from a power of two.
61580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61581         __mpexp_twomm1.  Use __pow_mp.
61583         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61584         multiplication.
61586 2013-01-17  David S. Miller  <davem@davemloft.net>
61588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61590 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61592         [BZ #15023]
61593         * include/complex.h: Condition contents on [!_COMPLEX_H].
61594         (__kernel_casinhf): New prototype.
61595         (__kernel_casinh): Likewise.
61596         (__kernel_casinhl): Likewise.
61597         * math/Makefile (libm_calls): Add k_casinh.
61598         * math/k_casinh.c: New file.
61599         * math/k_casinhf.c: Likewise.
61600         * math/k_casinhl.c: Likewise.
61601         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61602         finite nonzero arguments.
61603         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61604         finite nonzero arguments.
61605         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61606         finite nonzero arguments.
61607         * math/s_casinh.c: Do not include <float.h>.
61608         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61609         * math/s_casinhf.c: Do not include <float.h>.
61610         (__casinhf): Move code for finite nonzero arguments to
61611         k_casinhf.c.
61612         * math/s_casinhl.c: Do not include <float.h>.
61613         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61614         redefine.
61615         (__casinhl): Move code for finite nonzero arguments to
61616         k_casinhl.c.
61617         * math/libm-test.inc (cacos_test): Add more tests.
61618         * sysdeps/i386/fpu/libm-test-ulps: Update.
61619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61621 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
61623         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61624         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61625         [!HAVE_MREMAP]: Remove [defined linux] case.
61626         * malloc/arena.c: Do not include <malloc-sysdep.h>.
61628 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61630         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61632 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
61634         * elf/elf.h (R_386_SIZE32): New relocation.
61635         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61636         R_386_SIZE32.
61637         (elf_machine_rela): Likewise.
61638         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61639         R_X86_64_SIZE64 and R_X86_64_SIZE32.
61641 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61643         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61644         (FP_FAST_FMA): Do not define.
61645         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61646         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61647         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61648         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61649         !_SOFT_FLOAT]: Likewise.
61650         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61651         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61652         value.
61653         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61654         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61655         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61656         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61657         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61658         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61659         file.
61661 2013-01-16  Andreas Schwab  <schwab@suse.de>
61663         [BZ #14327]
61664         * include/stdlib.h (__mktemp): Add declaration.
61665         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61666         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61668 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61670         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61671         definitions.
61672         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61673         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61674         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61675         definitions here.
61676         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61677         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61678         definitions.
61679         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61680         and ONE.
61681         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61682         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61683         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61684         definitions.
61685         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61686         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61687         definitions.
61688         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61690         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61692 2013-01-15  David S. Miller  <davem@davemloft.net>
61694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61695         trunc{,f} to libm-sysdep_routes.
61696         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61698         file.
61699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61701         file.
61702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61703         file.
61704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61706         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61707         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61708         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61709         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61710         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61711         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61714         nearbyint{,f} to libm-sysdep_routes.
61715         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61717         New file.
61718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61719         file.
61720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61721         New file.
61722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61723         file.
61724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61726         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61727         file.
61728         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61729         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61730         file.
61731         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61732         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61733         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61735         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61736         libc_feholdexcept and libc_fesetenv.
61738 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
61740         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61742 2013-01-14  David S. Miller  <davem@davemloft.net>
61744         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61745         (SPARC_ASM_VIS2_IFUNC): Likewise.
61746         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61748         use of 'siam' instruction.
61749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61750         Likewise.
61751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61752         Likewise.
61753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61754         Likewise.
61755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61756         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61760         file.
61761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61762         file.
61763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61764         file.
61765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61766         file.
61767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61772         new VIS2 routines.
61773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61776         Likewise.
61777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61782         routines to libm-sysdep_routines.
61783         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61786         fdim/fdimf to libm-sysdep_routines.
61787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61788         file.
61789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61791         file.
61792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61795         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61796         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61797         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61798         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61800 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61802         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61803         to optimize copies.
61805         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61806         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61807         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61810         local variable MPTWO.
61811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61812         Likewise.
61814 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61816         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61817         GLOB_NOESCAPE.
61819 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61821         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61823 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61825         * manual/pattern.texi (glob_t): Document gl_flags.
61826         (glob64_t): Likewise.
61828 2013-01-11  David S. Miller  <davem@davemloft.net>
61830         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61831         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61832         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
61833         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61834         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61835         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61836         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61837         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61838         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61839         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61840         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61841         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61842         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61844         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61845         sparc V9 rather than using V8 code.
61846         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61847         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61849         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61850         Move to...
61851         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61852         Here.
61854 2013-01-11  Roland McGrath  <roland@hack.frob.com>
61856         [BZ #14941]
61857         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61858         not in the main loop.
61859         * configure: Regenerated.
61861 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
61863         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61864         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61865         to just #else.
61866         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
61867         [!__GLIBC_HAVE_LONG_LONG] case.
61868         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61869         condition to just #else.
61870         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61871         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61872         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61873         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61874         unconditional.
61875         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61876         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61877         #elif condition to just #else.
61878         * sysdeps/unix/sysv/linux/sys/sysmacros.h
61879         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61880         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61881         #elif condition to just #else.
61883 2013-01-11  Steve Ellcey  <sellcey@mips.com>
61885         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61886         (EF_MIPS_ARCH_64): Fix value.
61887         (EF_MIPS_ARCH_32R2): New.
61888         (EF_MIPS_ARCH_64R2): New.
61890 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
61892         * Makeconfig (+link-pie-before-libc): New.
61893         (+link-pie-after-libc): Likewise.
61894         (+link-pie-tests): Likewise.
61895         (+link-pie): Rewritten.
61896         (link-before-libc): Remove $(config-LDFLAGS).
61897         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61898         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61899         (config-LDFLAGS): Renamed to ...
61900         (rtld-LDFLAGS): This.
61901         (rtld-tests-LDFLAGS): New macro.
61902         (link-libc-rpath-link): Likewise.
61903         (link-libc-tests-rpath-link): Likewise.
61904         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61905         (link-libc): Prepand $(link-libc-rpath-link).
61906         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61907         (test-program-prefix): New macro.
61908         (test-via-rtld-prefix): Likewise.
61909         (test-program-cmd): Likewise.
61910         (host-test-program-cmd): Likewise.
61911         * Makefile ($(common-objpfx)testrun.sh): Replace
61912         $(run-program-prefix) with $(test-program-prefix).
61913         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61914         $(rtld-LDFLAGS).
61915         ($(common-objpfx)shlib.lds): Likewise.
61916         (build-module-helper): Likewise.
61917         ($(common-objpfx)format.lds): Likewise.
61918         * Rules (binaries-pie-tests): New.
61919         (binaries-pie-notests): Likewise.
61920         (binaries-pie): Rewritten.
61921         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61922         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61923         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61924         (make-test-out): Replace $(host-built-program-cmd) with
61925         $(host-test-program-cmd).
61926         * config.make.in (build-hardcoded-path-in-tests): New variable.
61927         * configure.in (--enable-hardcoded-path-in-tests): New configure
61928         option.
61929         (hardcoded_path_in_tests): New AC_SUBST.
61930         * configure: Regenerated.
61931         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61932         $(built-program-cmd) with $(test-program-cmd).
61933         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61934         (test_program_cmd): This.
61935         * elf/Makefile ($(objpfx)order.out): Run test with
61936         $(test-program-prefix).
61937         ($(objpfx)order2.out): Likewise.
61938         ($(objpfx)tst-initorder.out): Likewise.
61939         ($(objpfx)tst-initorder2.out): Likewise.
61940         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61941         $(test-program-cmd).
61942         ($(objpfx)tst-array1-static.out): Likewise.
61943         ($(objpfx)tst-array2.out): Likewise.
61944         ($(objpfx)tst-array3.out): Likewise.
61945         ($(objpfx)tst-array4.out): Likewise.
61946         ($(objpfx)tst-array5.out): Likewise.
61947         ($(objpfx)tst-array5-static.out): Likewise.
61948         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61949         $(test-program-cmd).
61950         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61951         $(run-program-prefix) with $(test-program-prefix).
61952         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61953         (test_program_prefix): This.
61954         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61955         $(run-program-prefix) with $(test-program-prefix).
61956         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61957         (test_program_prefix): This.
61958         * iconvdata/tst-tables.sh: Likewise.
61959         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61960         $(run-program-prefix) with $(test-program-prefix).
61961         ($(objpfx)tst-translit.out): Likewise.
61962         ($(objpfx)tst-gettext2.out): Likewise.
61963         ($(objpfx)tst-gettext4.out): Likewise.
61964         ($(objpfx)tst-gettext6.out): Likewise.
61965         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61966         (test_program_prefix): This.
61967         * intl/tst-gettext2.sh: Likewise.
61968         * intl/tst-gettext4.sh  Likewise.
61969         * intl/tst-gettext6.sh: Likewise.
61970         * intl/tst-translit.sh: Likewise.
61971         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61972         with $(test-program-cmd).
61973         * libio/Makefile ($(objpfx)test-freopen.out): Replace
61974         $(run-program-prefix) with $(test-program-prefix).
61975         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61976         (test_program_prefix): This.
61977         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61978         $(run-program-prefix) with $(test-program-prefix).
61979         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61980         (test_program_prefix): This.
61981         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61982         * posix/Makefile ($(objpfx)globtest.out): Replace
61983         $(run-via-rtld-prefix) and $(test-wrapper) with
61984         $(test-program-prefix) and $(test-via-rtld-prefix).
61985         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61986         $(test-program-prefix).
61987         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61988         $(host-test-program-cmd).
61989         (tst-spawn-ARGS): Likewise.
61990         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61991         $(test-program-prefix).
61992         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61993         (test_via_rtld_prefix): This.
61994         (test_wrapper): Renamed to ...
61995         (test_program_prefix): This.
61996         (run_program_prefix): Replaced by test_program_prefix.
61997         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61998         (test_program_prefix): This.
61999         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
62000         with $(host-test-program-cmd).
62001         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
62002         $(run-program-prefix) with $(test-program-prefix).
62003         ($(objpfx)tst-printf.out): Likewise.
62004         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
62005         $(test-program-cmd).
62006         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
62007         (test_program_prefix): This.
62008         * stdio-common/tst-unbputc.sh: Likewise.
62009         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
62010         $(run-program-prefix) with $(test-program-prefix).
62011         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
62012         (test_program_prefix): This.
62013         * string/Makefile ($(objpfx)tst-svc.out):  Replace
62014         $(built-program-cmd) with $(test-program-cmd).
62016 2013-01-11  Andreas Jaeger  <aj@suse.de>
62018         [BZ #15003]
62019         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
62020         value. Sync with Linux 3.7.
62022 2013-01-10  David S. Miller  <davem@davemloft.net>
62024         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
62025         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62026         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62028 2013-01-10  Roland McGrath  <roland@hack.frob.com>
62030         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
62031         never set.
62032         * configure: Regenerated.
62034 2013-01-10  David S. Miller  <davem@davemloft.net>
62036         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62037         sparc V9 rather than using V8 code.
62038         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62039         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62041 2013-01-10  Roland McGrath  <roland@hack.frob.com>
62043         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
62044         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
62045         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
62046         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
62047         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
62048         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
62049         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
62050         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
62051         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
62052         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
62053         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
62054         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
62055         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
62056         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
62057         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
62058         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
62059         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
62060         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
62061         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
62062         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
62063         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
62064         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
62065         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
62066         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
62067         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
62068         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
62069         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
62071 2013-01-10  David S. Miller  <davem@davemloft.net>
62073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62075 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
62077         * posix/Makefile (tests-static): New variable.
62078         (tests): Add $(tests-static).
62079         (tst-exec-static-ARGS): New variable.
62080         (tst-spawn-static-ARGS): Likewise.
62081         * posix/tst-exec-static.c: New file.
62082         * posix/tst-spawn-static.c: Likewise.
62083         * posix/tst-exec.c: Support run directly.
62084         * posix/tst-spawn.c: Likewise.
62086 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
62088         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62089         long.
62090         * math/bits/mathcalls.h (llrint): Likewise.
62091         (llround): Likewise.
62092         * stdlib/stdlib.h (struct drand48_data): Likewise.
62093         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
62094         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62095         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
62096         Likewise.
62097         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
62098         Likewise.
62099         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
62100         (elf_greg_t): Likewise.
62101         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62102         (__jmp_buf): Likewise.
62103         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
62104         definitions.
62105         (llrint): Likewise, for all definitions.
62106         (llrintl): Likewise.
62108         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
62109         Remove [__GNUC__] condition.
62110         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
62111         condition to just [__USE_ISOC99].
62112         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
62114 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
62116         [BZ #14200]
62117         * sysdeps/unix/sysv/linux/x86/bits/environments.h
62118         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
62119         defined.
62120         (_POSIX_V6_ILP32_OFF32): Likewise.
62121         (_XBS5_ILP32_OFF32): Likewise.
62122         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
62123         (__ILP32_OFFBIG_LDFLAGS): Likewise.
62125 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62127         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
62129         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
62130         doubles __mpexp_twomm1.  Adjust usage.
62131         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
62132         Remove.
62134 2013-01-10  Andreas Schwab  <schwab@suse.de>
62136         [BZ #14964]
62137         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
62138         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
62140 2013-01-09  David S. Miller  <davem@davemloft.net>
62142         [BZ #15003]
62143         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
62144         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
62145         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
62146         (TCP_FASTOPEN): Define.
62147         (tcp_repair_opt): New structure.
62148         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
62149         enum values.
62150         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
62151         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
62152         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
62153         (tcp_cookie_transactions): New structure.
62155 2013-01-09  Anton Blanchard  <anton@samba.org>
62157         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
62158         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
62159         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
62160         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
62162 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
62164         * include/features.h (__USE_ANSI): Remove.
62166 2013-01-09  Roland McGrath  <roland@hack.frob.com>
62168         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
62170         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
62172 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
62174         * sysdeps/s390/fpu/libm-test-ulps: Update.
62176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62178         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
62179         (__acr): Likewise.
62180         (__cpy): Likewise.
62181         (norm): Likewise.
62182         (denorm): Likewise.
62183         (__mp_dbl): Likewise.
62184         (__dbl_mp): Likewise.
62185         (add_magnitudes): Likewise.
62186         (sub_magnitudes): Likewise.
62187         (__add): Likewise.
62188         (__sub): Likewise.
62189         (__mul): Likewise.
62190         (__inv): Likewise.
62191         (__dvd): Likewise.
62192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62193         (__acr): Likewise.
62194         (__cpy): Likewise.
62195         (norm): Likewise.
62196         (denorm): Likewise.
62197         (__mp_dbl): Likewise.
62198         (__dbl_mp): Likewise.
62199         (add_magnitudes): Likewise.
62200         (sub_magnitudes): Likewise.
62201         (__add): Likewise.
62202         (__sub): Likewise.
62203         (__mul): Likewise.
62204         (__inv): Likewise.
62205         (__dvd): Likewise.
62206         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62207         (__acr): Likewise.
62208         (__cpy): Likewise.
62209         (norm): Likewise.
62210         (denorm): Likewise.
62211         (__mp_dbl): Likewise.
62212         (__dbl_mp): Likewise.
62213         (add_magnitudes): Likewise.
62214         (sub_magnitudes): Likewise.
62215         (__add): Likewise.
62216         (__sub): Likewise.
62217         (__mul): Likewise.
62218         (__inv): Likewise.
62219         (__dvd): Likewise.
62221 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
62223         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62224         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62225         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62226         2 && __USE_EXTERN_INLINES]: Likewise.
62228 2013-01-08  Andreas Jaeger  <aj@suse.de>
62230         [BZ# 14985]
62231         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62232         Remove.
62233         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62234         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62236 2013-01-07  Anton Blanchard  <anton@samba.org>
62238         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62239         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62240         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62241         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62242         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62243         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62244         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62245         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62247         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62248         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62249         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62250         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62251         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62252         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62253         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62254         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62255         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62256         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62257         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62258         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62259         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62260         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62261         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62262         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62263         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62264         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62265         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62266         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62267         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62268         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62270         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62271         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62272         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62273         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62274         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62275         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62276         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62277         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62278         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62279         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62280         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62282 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
62284         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62285         (__MALLOC_PMT): Likewise.
62286         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62287         [__GNUC__], only on [_LIBC].
62288         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62289         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62290         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62291         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62292         forward declaration.
62293         (realloc_hook_ini): Likewise.
62294         (memalign_hook_ini): Likewise.
62295         (__libc_memalign): Do not use __MALLOC_PMT in variable
62296         declaration.
62297         (__libc_valloc): Likewise.
62298         (__libc_pvalloc): Likewise.
62299         (__libc_calloc): Likewise.
62300         (__posix_memalign): Likewise.
62302         [BZ #14996]
62303         * math/s_casinh.c: Include <float.h>.
62304         (__casinh): Do not do computation with squaring and square root
62305         for large arguments.
62306         * math/s_casinhf.c: Include <float.h>.
62307         (__casinhf): Do not do computation with squaring and square root
62308         for large arguments.
62309         * math/s_casinhl.c: Include <float.h>.
62310         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62311         (__casinhl): Do not do computation with squaring and square root
62312         for large arguments.
62313         * math/libm-test.inc (casin_test): Add more tests.
62314         (casinh_test): Likewise.
62315         * sysdeps/i386/fpu/libm-test-ulps: Update.
62316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62318 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
62320         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62321         (__x86_64_raw_data_cache_size): Likewise.
62322         (__x86_64_data_cache_size_half): Likewise.
62323         (__x86_64_raw_data_cache_size_half): Likewise.
62324         (__x86_64_shared_cache_size): Likewise.
62325         (__x86_64_raw_shared_cache_size): Likewise.
62326         (__x86_64_shared_cache_size_half): Likewise.
62327         (__x86_64_raw_shared_cache_size_half): Likewise.
62328         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62329         to ...
62330         (__x86_data_cache_size): This.
62331         (__x86_64_raw_data_cache_size): Renamed to ...
62332         (__x86_raw_data_cache_size): This.
62333         (__x86_64_data_cache_size_half): Renamed to ...
62334         (__x86_data_cache_size_half): This.
62335         (__x86_64_raw_data_cache_size_half): Renamed to ...
62336         (__x86_raw_data_cache_size_half): This.
62337         (__x86_64_shared_cache_size): Renamed to ...
62338         (__x86_shared_cache_size): This.
62339         (__x86_64_raw_shared_cache_size): Renamed to ...
62340         (__x86_raw_shared_cache_size): This.
62341         (__x86_64_shared_cache_size_half): Renamed to ...
62342         (__x86_shared_cache_size_half): This.
62343         (__x86_64_raw_shared_cache_size_half): Renamed to ...
62344         (__x86_raw_shared_cache_size_half): This.
62345         * sysdeps/x86_64/memcpy.S: Updated.
62346         * sysdeps/x86_64/memset.S: Likewise.
62347         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62348         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62349         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62351 2013-01-04  David S. Miller  <davem@davemloft.net>
62353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62355 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
62357         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62358         1 to avoid redefinition warning.
62359         (__USE_GNU): Don't define.
62360         (init_signaling_nan): Protoize.
62362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62364 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62366         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62368         (__cpymn): Likewise.
62369         (norm): Remove commented code.
62370         (denorm): Likewise.
62371         (__mp_dbl): Likewise.
62372         (__inv): Likewise.
62373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62374         (__cpymn): Likewise.
62375         (norm): Remove commented code.
62376         (denorm): Likewise.
62377         (__mp_dbl): Likewise.
62378         (__inv): Likewise.
62380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62381         mp_no value for 1.0 and 2.0.
62382         (norm): Use RADIXI instead of radixi.d.
62383         (denorm): Likewise.
62384         (__mul): Use 0.0 instead of zero.d.
62385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62386         mp_no value for 1.0 and 2.0.
62387         (norm): Use RADIXI instead of radixi.d.
62388         (denorm): Likewise.
62389         (__mul): Use 0.0 instead of zero.d.
62391 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
62393         [BZ #14994]
62394         * math/s_casinh.c (__casinh): Reduce finite argument to first
62395         quadrant then set signs of results at the end.
62396         * math/s_casinhf.c (__casinhf): Likewise.
62397         * math/s_casinhl.c (__casinhl): Likewise.
62398         * math/libm-test.inc (casin_test): Add more tests.
62399         (casinh_test): Likewise.
62400         * sysdeps/i386/fpu/libm-test-ulps: Update.
62401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62403 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62405         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62407         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62409         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62410         declarations.
62411         (denorm): Likewise.
62412         (__mp_dbl): Likewise.
62413         (__inv): Likewise.
62415         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62416         and adjust the header comment.
62418         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62419         variable name from declaration.
62421 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
62423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62424         Initialize COMMON_CPUID_INDEX_7 element.
62425         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62426         (CPUID_RTM): Likewise.
62427         (HAS_RTM): Likewise.
62428         (COMMON_CPUID_INDEX_7): New enum.
62430 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
62432         [BZ #14981]
62433         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62434         size is zero, record memory as freed.
62436 2013-01-03  Andreas Jaeger  <aj@suse.de>
62438         * po/ia.po: Add new Interlingua translation.
62440 2012-01-03  Allan McRae  <allan@archlinux.org>
62442         * locale/programs/localedef.c: Fix description of '--posix' flag.
62444 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
62446         * NEWS: Update dates in second copyright notice.
62447         * README: Update copyright dates in example.
62448         * manual/libc.texinfo: Update copyright dates.
62449         * scripts/test-installation.pl: Update copyright date in --version
62450         output.
62452         * hurd/ctty-input.c: Fix copyright notice formatting.
62453         * hurd/ctty-output.c: Likewise.
62454         * hurd/dtable.c: Likewise.
62455         * hurd/hurd-raise.c: Likewise.
62456         * hurd/hurdprio.c: Likewise.
62457         * hurd/msgportdemux.c: Likewise.
62458         * misc/sys/file.h: Likewise.
62459         * misc/sys/ioctl.h: Likewise.
62460         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62461         * sysdeps/mach/hurd/chdir.c: Likewise.
62462         * sysdeps/mach/hurd/fchdir.c: Likewise.
62463         * sysdeps/mach/hurd/rename.c: Likewise.
62464         * sysdeps/mach/hurd/rmdir.c: Likewise.
62465         * sysdeps/mach/hurd/seekdir.c: Likewise.
62466         * sysdeps/mach/hurd/setsid.c: Likewise.
62467         * sysdeps/posix/wait3.c: Likewise.
62469         * All files with FSF copyright notices: Update copyright dates
62470         using scripts/update-copyrights.
62471         * intl/plural.c: Regenerated.
62472         * locale/programs/charmap-kw.h: Likewise.
62473         * locale/programs/locfile-kw.h: Likewise.
62475 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62477         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62478         four values.
62480         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62481         calculation loop and add branch prediction.
62483         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62484         check access beyond bounds of m1np.
62486         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62487         MPTWO.
62488         (__inv): Remove local variable MPTWO to use the global
62489         constant.
62490         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62491         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62492         variable MPTWO.
62493         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62494         MP3HALFS static const.
62496 2013-01-01  David S. Miller  <davem@davemloft.net>
62498         * po/ca.po: Update from translation team.
62500 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
62502         * scripts/update-copyrights: New file.
62503         * Makeconfig: Reformat copyright notice.
62504         * ctype/ctype.h: Likewise.
62505         * debug/swprintf_chk.c: Likewise.
62506         * elf/dl-cache.c: Likewise.
62507         * elf/dl-debug.c: Likewise.
62508         * elf/dl-object.c: Likewise.
62509         * grp/initgroups.c: Likewise.
62510         * hurd/Makefile: Likewise.
62511         * hurd/hurd/signal.h: Likewise.
62512         * hurd/hurdfault.c: Likewise.
62513         * hurd/hurdioctl.c: Likewise.
62514         * hurd/hurdlookup.c: Likewise.
62515         * hurd/intr-msg.c: Likewise.
62516         * iconv/gconv_open.c: Likewise.
62517         * libio/swprintf.c: Likewise.
62518         * locale/lc-ctype.c: Likewise.
62519         * locale/nl_langinfo.c: Likewise.
62520         * mach/Machrules: Likewise.
62521         * mach/Makefile: Likewise.
62522         * malloc/obstack.h: Likewise.
62523         * manual/Makefile: Likewise.
62524         * manual/tsort.awk: Likewise.
62525         * misc/bits/stab.def: Likewise.
62526         * nis/nis_print_group_entry.c: Likewise.
62527         * nis/nis_table.c: Likewise.
62528         * nis/nss_compat/compat-pwd.c: Likewise.
62529         * nis/nss_compat/compat-spwd.c: Likewise.
62530         * po/Makefile: Likewise.
62531         * posix/fnmatch.c: Likewise.
62532         * posix/regex.h: Likewise.
62533         * resolv/Makefile: Likewise.
62534         * resolv/nss_dns/dns-network.c: Likewise.
62535         * resolv/res_hconf.c: Likewise.
62536         * scripts/gen-sorted.awk: Likewise.
62537         * soft-fp/soft-fp.h: Likewise.
62538         * stdio-common/printf.h: Likewise.
62539         * stdlib/monetary.h: Likewise.
62540         * stdlib/random.c: Likewise.
62541         * stdlib/random_r.c: Likewise.
62542         * sysdeps/generic/Makefile: Likewise.
62543         * sysdeps/gnu/Makefile: Likewise.
62544         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62545         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62546         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62547         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62548         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62549         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62550         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62551         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62552         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62553         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62554         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62555         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62556         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62557         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62558         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62559         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62560         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62561         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62562         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62563         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62564         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62565         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62566         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62567         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62568         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62569         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62570         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62571         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62572         * sysdeps/mach/hurd/errnos.awk: Likewise.
62573         * sysdeps/mach/hurd/fork.c: Likewise.
62574         * sysdeps/mach/hurd/getcwd.c: Likewise.
62575         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62576         * sysdeps/mach/hurd/mmap.c: Likewise.
62577         * sysdeps/mach/hurd/utimes.c: Likewise.
62578         * sysdeps/mach/hurd/xmknod.c: Likewise.
62579         * sysdeps/posix/profil.c: Likewise.
62580         * sysdeps/posix/readdir_r.c: Likewise.
62581         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62582         * sysdeps/powerpc/bits/setjmp.h: Likewise.
62583         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62584         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62586         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62587         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62588         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62590         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62591         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62592         * sysdeps/pthread/lio_listio.c: Likewise.
62593         * sysdeps/sparc/dl-procinfo.h: Likewise.
62594         * sysdeps/unix/i386/sysdep.S: Likewise.
62595         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62596         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62597         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62598         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62600         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62601         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62602         * sysdeps/unix/sysv/linux/speed.c: Likewise.
62603         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62604         * sysdeps/wordsize-32/divdi3.c: Likewise.
62605         * time/sys/time.h: Likewise.
62606         * wcsmbs/Makefile: Likewise.
62608 2013-01-01  David S. Miller  <davem@davemloft.net>
62610         * po/fr.po: Update from translation team.
62612         * catgets/gencat.c: Update copyright year.
62613         * csu/version.c: Likewise.
62614         * debug/catchsegv.sh: Likewise.
62615         * debug/pcprofiledump.c: Likewise.
62616         * debug/xtrace.sh: Likewise.
62617         * elf/ldconfig.c: Likewise.
62618         * elf/ldd.bash.in: Likewise.
62619         * elf/pldd.c: Likewise.
62620         * elf/sotruss.ksh: Likewise.
62621         * elf/sprof.c: Likewise.
62622         * iconv/iconv_prog.c: Likewise.
62623         * iconv/iconvconfig.c: Likewise.
62624         * locale/programs/locale.c: Likewise.
62625         * locale/programs/localedef.c: Likewise.
62626         * login/programs/pt_chown.c: Likewise.
62627         * malloc/memusage.sh: Likewise.
62628         * malloc/memusagestat.c: Likewise.
62629         * malloc/mtrace.pl: Likewise.
62630         * nscd/nscd.c: Likewise.
62631         * nss/getent.c: Likewise.
62632         * nss/makedb.c: Likewise.
62633         * posix/getconf.c: Likewise.
62635 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62637         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62638         numbers.
62640 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
62642         * math/bits/mathcalls.h (modf): Use __nonnull.
62644 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62646         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62647         (split): Use macro CN instead of the bare value.
62648         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62649         could be used.
62650         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62651         instead of the bare value.
62652         (power1): Likewise.
62654 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62656         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62657         __ATAN_TWOM.
62658         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62660         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62661         their values.
62662         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62663         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62664         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62665         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62667 2012-12-28  Andreas Jaeger  <aj@suse.de>
62669         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
62670         values are from Linux 3.7.
62672         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62673         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
62675 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62677         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62678         TRUE case.
62680         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62681         (norm): Likewise.
62682         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62683         variables with preprocessor constants.
62684         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62685         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62686         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62688 2012-12-27  Bruno Haible  <bruno@clisp.org>
62690         [BZ #14317]
62691         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62692         only if needed.
62694 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62696         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62697         and use variable directly.
62698         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62700         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62701         MPONE.
62702         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62703         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62704         variable MPONE.
62705         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62707         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62708         include directive.  Remove local variable MPONE.
62709         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62710         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62711         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62713 2012-12-25  David S. Miller  <davem@davemloft.net>
62715         * version.h (RELEASE): Set to "development".
62716         (VERSION): Set to "2.17.90".
62717         * NEWS: Add 2.18 section.
62719 2012-12-21  David S. Miller  <davem@davemloft.net>
62721         * po/hr.po: Update from translation team.
62723 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62725         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62727 2012-12-19  Steve Ellcey  <sellcey@mips.com>
62729         * NEWS:  Mention new memcpy for MIPS.
62731 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62733         * manual/contrib.texi (Contributors): Spelling correction.
62735 2012-12-15  David S. Miller  <davem@davemloft.net>
62737         * po/ru.po: Update from translation team.
62739 2012-12-13  David S. Miller  <davem@davemloft.net>
62741         * NEWS: Mention IFUNC testsuite enhancements.
62743         * po/pl.po: Update from translation team.
62744         * po/bg.po: Likewise.
62746         * manual/contrib.texi (Contributors): Update entries for Hongjiu
62747         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
62749 2012-12-11  David S. Miller  <davem@davemloft.net>
62751         * po/sv.po: Update from translation team.
62753         * po/vi.po: Update from translation team.
62755         * po/cs.po: Update from translation team.
62757         * po/de.po: Update from translation team.
62758         * po/eo.po: Likewise.
62759         * po/nl.po: Likewise.
62761 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62763         [BZ #14246]
62764         * manual/argp.texi (Argp Helper Functions): Move node to follow
62765         Argp Parsing State.
62767         [BZ #14872]
62768         * manual/conf.texi (Limits on File System Capacity): Mention if
62769         terminating null is included in the max size.
62771 2012-12-10  Andreas Jaeger  <aj@suse.de>
62773         * po/cs.po: Update from translation team.
62775 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62777         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62778         void pointer and cast to uintptr_t.
62779         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62780         path.
62781         * sysdeps/s390/s390-64/memcpy.S: Likewise.
62782         * sysdeps/s390/s390-64/memset.S: Likewise.
62784 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
62786         [BZ #14833]
62787         * menual/message.texi (Message Translation): Fix typos.
62788         (Helper programs for gettext): Likewise.
62790 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
62792         [BZ #14898]
62793         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62794         Change to -1.
62796 2012-12-07  David S. Miller  <davem@davemloft.net>
62798         * po/libc.pot: Update.
62800 2012-12-07  Richard Henderson  <rth@redhat.com>
62802         [BZ #10114]
62803         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62804         normal/normal case to before the switch.
62805         (_FP_DIV): Likewise.
62807 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
62808             Mike Frysinger  <vapier@gentoo.org>
62810         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62811         check for __NR_fadvise64_64.
62813 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
62815         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62816         0, not just to plain "0" as a statement.
62817         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62818         with cw.
62820 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
62822         * NEWS: Use sourceware.org in Bugzilla URL.
62824 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62827         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62829         * stdio-common/tst-put-error.c (do_test): Add newline to the
62830         padded test to ensure flush.
62832 2012-12-05  Jeff Law  <law@redhat.com>
62834         * sunrpc/etc.rpc (fedfs_admin): Add entry.
62836 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
62838         * README: Don't refer to ports add-on as distributed separately.
62839         Mention AArch64 in list of systems supported in the ports add-on.
62841         * LICENSES: Add more non-FSF copyright and license notices.
62843         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62844         ((unused)).
62846         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62848         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62849         10000 as width of padded output.
62851 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62853         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62855         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62856         variable LX with __attribute__ ((unused)).
62857         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62858         Likewise.
62859         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62860         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62861         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62862         with __attribute__ ((unused)).
62864 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
62866         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62868 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62870         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62871         (CFLAGS-nldbl-acos.c): New variable.
62872         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62873         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62874         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62875         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62876         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62877         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62878         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62879         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62880         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62881         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62882         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62883         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62884         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62885         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62886         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62887         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62888         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62889         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62890         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62891         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62892         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62893         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62894         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62895         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62896         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62897         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62898         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62899         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62900         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62901         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62902         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62903         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62904         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62905         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62906         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62907         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62908         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62909         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62910         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62911         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62912         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62913         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62914         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62915         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62916         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62917         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62918         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62919         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62920         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62921         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62922         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62923         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62924         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62925         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62926         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62927         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62928         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62929         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62930         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62931         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62932         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62933         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62934         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62935         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62936         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62937         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62938         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62939         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62940         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62941         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62942         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62943         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62944         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62945         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62946         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62947         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62948         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62949         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62950         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62951         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62952         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62953         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62954         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62955         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62956         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62957         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62958         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62959         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62960         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62961         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62962         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62963         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62964         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62965         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62966         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62967         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62968         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62971         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62973         [BZ #14914]
62974         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62975         whole low double instead of just low 47 bits when splitting values
62976         into two parts.
62978 2012-12-03  Allan McRae  <allan@archlinux.org>
62980         * manual/stdio.texi (Predefined Printf Handlers): Remove
62981         @hsep and @vsep usage.
62983 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
62985         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62986         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62988 2012-12-03  Jeff Law  <law@redhat.com>
62990         * time/sys/time.h (settimeofday): Do not mark TV argument
62991         as __nonnull.
62993 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
62995         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62996         when currently writing and seek to current position when not.
62997         * libio/Makefile (tests): Remove bug-fclose1.
62998         * libio/bug-fclose1.c: Delete.
63000 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
63002         * manual/arith.texi (feenableexcept): Fix typo.
63003         (fedisableexcept): Likewise.
63005 2012-11-30  Roland McGrath  <roland@hack.frob.com>
63007         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
63008         second, differently-typed declaration, rather than a cast.
63010 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63012         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
63013         * include/rpc/svc.h: ... here.
63015 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
63017         [BZ #13013]
63018         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
63019         depending n and resplen2 to catch cases where answer
63020         equals answerp2.
63022 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
63024         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
63025         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
63027 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
63029         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
63031 2012-11-29  Roland McGrath  <roland@hack.frob.com>
63033         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
63035 2012-11-28  Jeff Law  <law@redhat.com>
63037         [BZ #13761]
63038         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
63039         dataset_temporary.  Track alloca usage into alloca_used.
63040         If dataset is large allocate and release it via malloc/free.
63042 2012-06-04  Florian Weimer  <fweimer@redhat.com>
63044         [BZ #14197]
63045         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
63047 2012-11-28  David S. Miller  <davem@davemloft.net>
63049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63051 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
63053         [BZ #14803]
63054         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
63055         of pi/2 rounded to nearest to 64 bits.
63056         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
63057         nearest to 64 bits.
63058         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
63059         bits.
63061 2012-11-28  Jeff Law <law@redhat.com>
63062             Martin Osvald <mosvald@redhat.com>
63064         [BZ #14889]
63065         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
63066         * sunrpc/svc.c: Include time.h.
63067         (__svc_accept_failed): New function.
63068         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
63069         any reason other than EINTR, call __svc_accept_failed.
63070         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
63071         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
63073 2012-11-28  Andreas Schwab  <schwab@suse.de>
63075         * scripts/abilist.awk: Also handle indirect functions in .opd
63076         section.
63078 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
63080         [BZ #13881]
63081         * sysdeps/x86/fpu/powl_helper.c: New file.
63082         * sysdeps/x86/fpu/Makefile: Likewise.
63083         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
63084         (p3): New object.
63085         (__ieee754_powl): Use __powl_helper for finite arguments except
63086         integer exponents below 8.
63087         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
63088         (p3): New object.
63089         (__ieee754_powl): Use __powl_helper for finite arguments except
63090         integer exponents below 8.
63091         * math/libm-test.inc (pow_test): Add more tests and enable some
63092         previously disabled tests.
63093         * sysdeps/i386/fpu/libm-test-ulps: Update.
63094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63096 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63097             Carlos O'Donell  <carlos_odonell@mentor.com>
63099         * nss/makedb.c (is_prime): Assert that input is odd and greater
63100         than 4.  Note that fact in a comment too.
63101         (next_prime): Add 4 to input.
63103 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63105         [BZ #11741]
63106         * libio/Makefile (tests): Add test case tst-fwrite-error.
63107         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
63108         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
63109         * libio/tst-fwrite-error.c: New test case.
63111 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
63113         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
63114         before casting to void *.
63115         * include/libc-internal.h (__pointer_type): New macro.
63116         (__integer_if_pointer_type_sub): Likewise.
63117         (__integer_if_pointer_type): Likewise.
63118         (cast_to_integer): Likewise.
63119         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
63120         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
63121         before casting to atomic64_t.
63122         (atomic_exchange_acq): Likewise.
63123         (__arch_exchange_and_add_body): Likewise.
63124         (__arch_add_body): Likewise.
63125         (atomic_add_negative): Likewise.
63126         (atomic_add_zero): Likewise.
63128 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
63130         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
63131         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
63132         (add_fdes): Likewise.
63133         (linear_search_fdes): Likewise.
63134         (binary_search_unencoded_fdes): Likewise.
63136 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
63138         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
63140 2012-11-24  Adam Conrad  <adconrad@0c3.net>
63142         * configure.in: Autodetect C++ header directories.
63143         * configure: Regenerated.
63145 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
63147         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
63149 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
63151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63153 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
63155         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
63156         LDBL_MANT_DIG == 106]: Disable some tests.
63157         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63158         Likewise.
63159         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63160         Likewise.
63162         [BZ #14871]
63163         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
63164         input for small inputs.  Return +/- pi/2 for large inputs.
63165         * math/libm-test.inc (atan_test): Add more tests.
63167         * sysdeps/generic/unwind-dw2-fde-glibc.c
63168         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
63169         __attribute__ ((unused)).
63171         [BZ #14645]
63172         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63173         x * y if x and y are nonzero and z is zero.
63175         [BZ #14811]
63176         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
63177         nonzero exponents with absolute value below 0x1p-117 to +/-
63178         0x1p-117.
63180         [BZ #14869]
63181         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
63182         up arguments below 2**-450, not just those below 2**-500.
63183         * math/libm-test.inc (hypot_test): Add another test.
63185         [BZ #14868]
63186         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63187         Return a+b for ratio over 2**120, not 2**60.
63188         * math/libm-test.inc (hypot_test): Add another test.
63190         * math/libm-test.inc (clog_test): Use
63191         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63192         (clog10_test): Likewise.
63194         [BZ #6778]
63195         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63197 2012-11-22  Andreas Schwab  <schwab@suse.de>
63199         * sysdeps/i386/fpu/libm-test-ulps: Update.
63201 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
63203         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63204         printf output with newline.
63206 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
63208         [BZ #14865]
63209         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63210         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63211         -z nodlopen, -z initfirst and -z execstack support.
63212         * configure: Regenerated.
63214         * elf/elf.h (DF_1_NODIRECT): New macro.
63215         (DF_1_IGNMULDEF): Likewise.
63216         (DF_1_NOKSYMS): Likewise.
63217         (DF_1_NOHDR): Likewise.
63218         (DF_1_EDITED): Likewise.
63219         (DF_1_NORELOC): Likewise.
63220         (DF_1_SYMINTPOSE): Likewise.
63221         (DF_1_GLOBAUDIT): Likewise.
63222         (DF_1_SINGLETON): Likewise.
63223         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63224         DT_1_SUPPORTED_MASK bits.
63225         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63227 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
63229         * sysdeps/unix/make-syscalls.sh: Document prefixes.
63231 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
63233         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63234         macro.
63236         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63237         (sendmmsg): Move declarations...
63238         * socket/sys/socket.h: ... here.
63239         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63240         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63241         include it from...
63242         * socket/recvmmsg.c: ... this new file.
63243         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63244         (sendmmsg): Rename to __sendmmsg, create weak alias and make
63245         definition of __sendmmsg hidden.
63246         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63247         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63248         Move ENOSYS stub into and include it from...
63249         * socket/sendmmsg.c: ... this new file.
63250         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63251         (sysdep_routines): Move recvmmsg and sendmmsg...
63252         * socket/Makefile (routines): ... here.
63253         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63254         (GLIBC_PRIVATE): Add __sendmmsg.
63255         * include/sys/socket.h (__sendmmsg): Add declarations.
63256         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63257         sendmmsg.
63259 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
63261         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63262         variable I1 with __attribute__ ((unused)).
63263         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63265 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63267         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63268         DUMMY variables with __attribute__ ((unused)).
63270         * bits/byteswap.h: Include <bits/types.h>.
63271         (__bswap_64): Use __uint64_t instead of unsigned long long int.
63273 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63275         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63276         string_t.  Do not manually set errno.
63277         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63278         length with __strnlen.  Make sure to both set errno and return it on
63279         failure.
63281 2012-11-19  David S. Miller  <davem@davemloft.net>
63283         With help from Joseph Myers.
63284         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63285         very large arguments properly.
63286         * math/libm-test.inc (atan_test): New tests.
63287         (atan2_test): New tests.
63288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63291 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63293         [BZ #14856]
63294         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63295         Define to 3.
63297         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63298         [POSIX] (EADDRNOTAVAIL): Likewise.
63299         [POSIX] (EAFNOSUPPORT): Likewise.
63300         [POSIX] (EALREADY): Likewise.
63301         [POSIX] (ECONNABORTED): Likewise.
63302         [POSIX] (ECONNREFUSED): Likewise.
63303         [POSIX] (ECONNRESET): Likewise.
63304         [POSIX] (EDESTADDRREQ): Likewise.
63305         [POSIX] (EDQUOT): Likewise.
63306         [POSIX] (EHOSTUNREACH): Likewise.
63307         [POSIX] (EIDRM): Likewise.
63308         [POSIX] (EISCONN): Likewise.
63309         [POSIX] (ELOOP): Likewise.
63310         [POSIX] (EMULTIHOP): Likewise.
63311         [POSIX] (ENETDOWN): Likewise.
63312         [POSIX] (ENETUNREACH): Likewise.
63313         [POSIX] (ENOBUFS): Likewise.
63314         [POSIX] (ENODATA): Likewise.
63315         [POSIX] (ENOLINK): Likewise.
63316         [POSIX] (ENOMSG): Likewise.
63317         [POSIX] (ENOPROTOOPT): Likewise.
63318         [POSIX] (ENOSR): Likewise.
63319         [POSIX] (ENOSTR): Likewise.
63320         [POSIX] (ENOTCONN): Likewise.
63321         [POSIX] (ENOTSOCK): Likewise.
63322         [POSIX] (EOPNOTSUPP): Likewise.
63323         [POSIX] (EOVERFLOW): Likewise.
63324         [POSIX] (EPROTO): Likewise.
63325         [POSIX] (EPROTONOSUPPORT): Likewise.
63326         [POSIX] (EPROTOTYPE): Likewise.
63327         [POSIX] (ESTALE): Likewise.
63328         [POSIX] (ETIME): Likewise.
63329         [POSIX] (ETXTBSY): Likewise.
63330         [POSIX] (EWOULDBLOCK): Likewise.
63331         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63332         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63333         [POSIX] (SEEK_CUR): Likewise.
63334         [POSIX] (SEEK_END): Likewise.
63335         [POSIX || UNIX98] (mode_t): Do not require.
63336         [POSIX] (off_t): Likewise.
63337         [POSIX] (pid_t): Likewise.
63338         [POSIX] (sys/stat.h): Do not allow header.
63339         [POSIX] (unistd.h): Likewise.
63340         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63341         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63342         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63343         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63344         require.
63345         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63346         sigevent): Specify elements.
63347         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63348         entry.
63349         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63350         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63352         * conform/data/cpio.h-data [POSIX]: Disable whole file.
63353         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63354         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63355         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63356         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63357         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63358         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63359         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63360         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63361         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63362         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63363         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63364         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63365         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63366         Likewise.
63367         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63368         Likewise.
63369         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63370         Likewise.
63371         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63372         Likewise.
63373         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63374         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63375         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63376         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63377         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63378         Specify lower bound on value.
63379         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63380         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63381         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63382         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63383         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63384         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63385         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63386         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63387         value.
63388         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63389         as optional.
63390         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63391         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63392         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63393         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63394         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63395         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63396         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63397         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63398         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63399         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63400         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63401         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63402         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63403         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63404         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63405         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63406         entry.
63407         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63408         optional.
63409         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63410         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63411         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63412         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63413         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63414         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63415         Likewise.
63416         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63417         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63418         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63419         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63420         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
63421         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63422         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63423         as optional.
63424         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63425         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63426         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63427         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63428         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63429         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63430         specify as optional.
63431         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63432         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63433         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63434         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63435         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63436         [XPG3] (NL_LANGMAX): Likewise.
63437         [POSIX || XPG3] (NL_MSGMAX): Likewise.
63438         [POSIX || XPG3] (NL_NMAX): Likewise.
63439         [POSIX || XPG3] (NL_SETMAX): Likewise.
63440         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63441         [XPG3] (NZERO): Likewise.
63442         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63443         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63444         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63445         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63446         (REG_ERANGE): Expect.
63447         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63448         optional-constant.
63449         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63450         Use (void) in prototype.
63451         [POSIX] (*_t): Allow.
63452         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63453         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63454         (WRDE_BADVAL): Expect.
63456         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63457         expect.
63458         [XPG3 || XPG4] (O_RSYNC): Likewise.
63459         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63460         Likewise.
63461         [XPG3 || XPG4] (pthread_sigmask): Likewise.
63462         [XPG3 || XPG4] (sigqueue): Likewise.
63463         [XPG3 || XPG4] (sigtimedwait): Likewise.
63464         [XPG3 || XPG4] (sigwaitinfo): Likewise.
63465         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63466         [XPG3 || XPG4] (vsnprintf): Likewise.
63467         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63468         Likewise.
63469         [XPG3 || XPG4] (blksize_t): Likewise.
63470         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63471         Likewise.
63472         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63473         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63474         [XPG3 || XPG4] (struct itimerspec): Likewise.
63475         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63476         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63477         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63478         [XPG3 || XPG4] (clockid_t): Likewise.
63479         [XPG3 || XPG4] (timer_t): Likewise.
63480         [XPG3 || XPG4] (clock_getres): Likewise.
63481         [XPG3 || XPG4] (clock_gettime): Likewise.
63482         [XPG3 || XPG4] (clock_settime): Likewise.
63483         [XPG3 || XPG4] (nanosleep): Likewise.
63484         [XPG3 || XPG4] (timer_create): Likewise.
63485         [XPG3 || XPG4] (timer_delete): Likewise.
63486         [XPG3 || XPG4] (timer_gettime): Likewise.
63487         [XPG3 || XPG4] (timer_getoverrun): Likewise.
63488         [XPG3 || XPG4] (timer_settime): Likewise.
63489         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63490         [XPG3 || XPG4] (getlogin_r): Likewise.
63491         [XPG3 || XPG4] (pread): Likewise.
63492         [XPG3 || XPG4] (pthread_atfork): Likewise.
63493         [XPG3 || XPG4] (pwrite): Likewise.
63495         [BZ #14835]
63496         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63497         <bits/siginfo.h>.
63499 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63501         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63502         finalizing MALLSTREAM.
63504         * sysdeps/mach/hurd/syncfs.c: New file.
63506 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63508         [BZ #14719]
63509         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63510         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63511         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63512         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63513         (_nss_dns_gethostbyname4_r): Likewise.
63514         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63515         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63517 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
63519         [BZ #13763]
63520         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63522 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
63524         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63525         * elf/cache.c (print_entry): Print ",AArch64" for
63526         FLAG_AARCH64_LIB64
63528         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63529         * elf/cache.c (print_entry): Print ",hard-float" for
63530         FLAG_ARM_LIBHF.
63532 2012-11-18  David S. Miller  <davem@davemloft.net>
63534         With help from Joseph Myers.
63535         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63536         cutoff to 2**-13.
63537         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63538         cutoff to 2**-25.
63539         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63540         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63541         small.
63542         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63543         * math/libm-test.inc (y0_test): New tests.
63544         (y1_test): New tests.
63545         * sysdeps/i386/fpu/libm-test-ulps: Update.
63546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63549 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
63551         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63552         64-bit targets.
63553         * configure: Regenerated.
63555 2012-11-17  David S. Miller  <davem@davemloft.net>
63557         [BZ #14811]
63558         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63559         nonzero exponents with absolute value below 0x1p-128 to +/-
63560         0x1p-128.
63562 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
63564         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63566         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63568         * posix/getconf-speclist.c: New file.
63569         * posix/posix-envs.def: Likewise.
63570         * posix/confstr.c (START_ENV_GROUP): New macro.
63571         (END_ENV_GROUP): Likewise.
63572         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63573         (KNOWN_PRESENT_ENV_STRING): Likewise.
63574         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63575         (UNKNOWN_ENVIRONMENT): Likewise.
63576         (confstr): Include posix-envs.def instead of handling
63577         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63578         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63579         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63580         (END_ENV_GROUP): Likewise.
63581         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63582         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63583         (UNKNOWN_ENVIRONMENT): Likewise.
63584         (__sysconf): Include posix-envs.def instead of handling associated
63585         cases directly here.
63586         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63587         preprocessing getconf-speclist.c rather than running getconf or
63588         generating empty file.
63590 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
63592         * scripts/check-local-headers.sh: Ignore 'mach' headers.
63594 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
63596         [BZ #14672]
63597         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63599 2012-11-16  David S. Miller  <davem@davemloft.net>
63601         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63602         smaller than LDBL_EPSILON/2.0L, just return xm1.
63604 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
63606         * elf/tst-array1.c (init): Set constructor priority to 1000.
63607         (fini): Set destructor priority to 1000.
63608         * elf/tst-array2dep.c: Likewise.
63610 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63612         [BZ #11741]
63613         * libio/fileops.c (_IO_new_file_write): Correctly return error.
63614         (_IO_new_file_xsputn): Also return EOF if none of the input
63615         data was written when overflow failed.
63616         * libio/iopadn.c (_IO_padn): Likewise.
63617         * libio/iowpadn.c (_IO_wpadn): Likewise.
63618         * stdio-common/tst-put-error.c: Add copyright notice.
63619         (do_test): Add case for printing padded string.
63620         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63621         _IO_padn returned error.
63622         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63623         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63624         return EOF.
63626 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63628         * libio/libioP.h: Add comment note that the references to C++
63629         bits are now obsolete.
63631 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63633         * math/libm-test.inc (check_complex): Use asprintf.
63635 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
63637         * debug/pcprofiledump.c (print_version): Update copyright year.
63638         * malloc/memusagestat.c (print_version): Likewise.
63640 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
63642         [BZ #14831]
63643         * elf/Makefile (tests): Add tst-audit8.
63644         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63645         ($(objpfx)tst-audit8.out): New target.
63646         (tst-audit8-ENV): New variable.
63647         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63648         audit if l_reloc_result is NULL.
63649         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63650         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63651         * elf/tst-audit8.c: New file.
63653 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63655         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63656         * misc/Makefile (CFLAGS-select.c): Define.
63657         * posix/Makefile (CFLAGS-pause.c): Define.
63659 2012-11-13  David S. Miller  <davem@davemloft.net>
63661         * crypt/Makefile: Move test targets after toplevel Rules
63662         inclusion.  Grab any necessary sysdep routines when linking.
63663         * crypt/md5.c (md5_process_block): Remove define, we will always
63664         name it __md5_process_block.
63665         (md5_finish_ctx): Update md5_process_block call.
63666         (md5_stream): Likewise.
63667         (md5_process_bytes): Likewise.
63668         (md5_process_block): Rename to __md5_process_block and move to ...
63669         * crypt/md5-block.c: ... here.
63670         * crypt/sha256.c (sha256_process_block): Move to ...
63671         * crypt/sha256-block.c: ... here.
63672         * crypt/sha512.c (sha512_process_block): Move to ...
63673         * crypt/sha512-block.c: ... here.
63674         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63675         path.
63676         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63677         * sysdeps/sparc/sparc64/multiarch/Makefile
63678         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63679         crypt subdir.
63680         (localedef-aux): Add md5 crypto assembler when in locale subdir.
63681         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63682         multiarch changes.
63683         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63684         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63685         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63686         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63687         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63688         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63689         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63690         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63691         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63692         file.
63693         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63694         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63695         file.
63696         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63698 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
63700         * timezone/tzselect.ksh: Update from tzcode git revision
63701         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63702         * timezone/zdump.c: Likewise.
63703         * timezone/zic.c: Likewise.
63704         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63705         in TZVERSION setting, not $(PKGVERSION).
63706         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
63707         REPORT_BUGS_TO settings.
63709         [BZ #14838]
63710         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63711         macro.
63713 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63715         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63716         detection to immediately after _FP_ROUND().
63717         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63718         bits are 0.
63720 2012-11-11  David S. Miller  <davem@davemloft.net>
63722         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63723         inttypes.h
63724         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63725         __close rather than their public counterparts.
63727 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
63729         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63730         file.
63731         [UNIX98] (sem_timedwait): Do not expect.
63732         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63733         [XPG4 || UNIX98] (sockatmark): Do not expect.
63734         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63735         (clock_getcpuclockid): Do not expect.
63736         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63737         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63738         Do not expect.
63739         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63740         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63741         [UNIX98] (vwscanf): Likewise.
63742         [UNIX98] (vswscanf): Likewise.
63744 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
63746         * timezone/version.h: Remove file.
63747         * timezone/README: Do not refer to version.h.
63748         * timezone/Makefile ($(objpfx)zic.o): New dependency on
63749         $(objpfx)version.h.
63750         ($(objpfx)zdump.o): Likewise.
63751         ($(objpfx)version.h): New target.
63753         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63754         2012i.
63755         * timezone/README: Don't mention modification to tzselect.ksh.
63756         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63757         work on unmodified tzselect.ksh.  Substitute version numbers in
63758         tzselect.ksh.
63760         * Makefile (format-me): Remove.
63761         (INSTALL): Adjust indentation.  Use commands directly instead of
63762         using $(format-me).
63764         * aclocal.m4 (ACX_PKGVERSION): New macro.
63765         (ACX_BUGURL): Likewise.
63766         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63767         (PKGVERSION): New AC_DEFINE_UNQUOTED.
63768         (REPORT_BUGS_TO): Likewise.
63769         * configure: Regenerated.
63770         * config.h.in (PKGVERSION): New macro.
63771         (REPORT_BUGS_TO): Likewise.
63772         * config.make.in (PKGVERSION): New variable.
63773         (PKGVERSION_TEXI): Likewise.
63774         (REPORT_BUGS_TO): Likewise.
63775         (REPORT_BUGS_TEXI): Likewise.
63776         * Makefile (format-me): Use -I$(common-objpfx)manual.
63777         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63778         ($(common-objpfx)manual/%): New target.
63779         (manual/%): Remove target.
63780         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63781         (print_version): Use PKGVERSION.
63782         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63783         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63784         and REPORT_BUGS_TO.
63785         ($(objpfx)xtrace): Likewise.
63786         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63787         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63788         (print_version): Use PKGVERSION.
63789         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63790         (do_version): Use PKGVERSION.
63791         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63792         REPORT_BUGS_TO.
63793         (common-ldd-rewrite): Likewise.
63794         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63795         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63796         (print_version): Use PKGVERSION.
63797         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63798         * elf/pldd.c (argp_program_bug_address): Remove variable.
63799         (more_help): New function.
63800         (argp): Use more_help.
63801         (print_version): Use PKGVERSION.
63802         * elf/sln.c (main): Use PKGVERSION.
63803         (usage): Use REPORT_BUGS_TO.
63804         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63805         (top level): Use PKGVERSION.
63806         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63807         (print_version): Use PKGVERSION.
63808         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63809         (print_version): Use PKGVERSION.
63810         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63811         (print_version): Use PKGVERSION.
63812         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63813         (print_version): Use PKGVERSION.
63814         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63815         (print_version): Use PKGVERSION.
63816         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63817         (print_version): Use PKGVERSION.
63818         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63819         and BUGURL.
63820         ($(objpfx)memusage): Likewise.
63821         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63822         (do_version): Use PKGVERSION.
63823         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63824         (print_version): Use PKGVERSION.
63825         * malloc/mtrace.pl ($PACKAGE): Remove variable.
63826         ($PKGVERSION): New variable.
63827         ($REPORT_BUGS_TO): Likewise.
63828         (usage): Use $REPORT_BUGS_TO.
63829         (top level): Use $PKGVERSION.
63830         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63831         ($(objpfx)pkgvers.texi): New rule.
63832         ($(objpfx)stamp-pkgvers): Likewise.
63833         * manual/install.texi: Include pkgvers.texi.
63834         (--with-pkgversion): Document new configure option.
63835         (--with-bugurl): Likewise.
63836         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63837         than necessarily for this particular distribution.  Use
63838         REPORT_BUGS_TO for where to report bugs.
63839         * INSTALL: Regenerated.
63840         * manual/libc.texinfo: Include pkgvers.texi.
63841         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63842         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63843         (print_version): Use PKGVERSION.
63844         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63845         (print_version): Use PKGVERSION.
63846         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63847         (print_version): Use PKGVERSION.
63848         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63849         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63850         macro.
63851         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63852         (print_version): Use PKGVERSION.
63853         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63854         (print_version): Use PKGVERSION.
63855         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63856         and PKGVERSION.
63858         * timezone/checktab.awk: Update from tzcode 2012i.
63859         * timezone/ialloc.c: Likewise.
63860         * timezone/private.h: Likewise.
63861         * timezone/scheck.c: Likewise.
63862         * timezone/tzfile.h: Likewise.
63863         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63864         (TZVERSION): Hardcode tzcode version number.
63865         * timezone/zdump.c: Update from tzcode 2012i.
63866         * timezone/zic.c: Likewise.
63867         * timezone/version.h: New file.
63868         * timezone/README: Describe version.h.  Update upstream location.
63870         [BZ #14824]
63871         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63872         (mktemp): Enable declaration.
63873         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63874         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63875         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63876         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63877         Likewise.
63878         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63879         Likewise.
63880         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63881         Likewise.
63882         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63883         Likewise.
63884         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63885         Likewise.
63886         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63887         Likewise.
63889         [BZ #14821]
63890         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63891         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
63892         for copies of such integer values.
63893         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63894         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63896 2012-11-09  Andreas Jaeger  <aj@suse.de>
63898         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63899         definitions and declarations that are provided by
63900         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63902 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63904         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63905         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63906         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63907         definition.
63909 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63911         * elf/elf.h: Update comment before AArch64 relocations.
63913 2012-11-07  David S. Miller  <davem@davemloft.net>
63915         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63916         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63917         (__start_context): Declare.
63918         (__makecontext_ret): Delete.
63919         (__makecontext): Hook up __start_context instead of
63920         __makecontext_ret.
63921         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63922         (sysdep_routines): Add __start_context when in stdlib.
63924 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63926         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63927         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63928         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
63929         hardcoded "nm".
63930         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
63931         (READELF): New variable.  Use it instead of hardcoded "readelf".
63933 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63935         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63936         * sysdeps/x86/Makefile: Here.
63937         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63938         * sysdeps/x86/tst-xmmymm.sh: This.
63940 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63942         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63943         expectations.
63944         [UNIX98] (pthread_barrier_t): Do not expect.
63945         [UNIX98] (pthread_barrierattr_t): Likewise.
63946         [UNIX98] (pthread_spinlock_t): Likewise.
63947         [UNIX98] (pthread_barrier_destroy): Likewise.
63948         [UNIX98] (pthread_barrier_init): Likewise.
63949         [UNIX98] (pthread_barrier_wait): Likewise.
63950         [UNIX98] (pthread_barrierattr_destroy): Likewise.
63951         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63952         [UNIX98] (pthread_barrierattr_init): Likewise.
63953         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63954         [UNIX98] (pthread_getcpuclockid): Likewise.
63955         [UNIX98] (pthread_mutex_timedlock): Likewise.
63956         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63957         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63958         [UNIX98] (pthread_sigmask): Likewise.
63959         [UNIX98] (pthread_spin_destroy): Likewise.
63960         [UNIX98] (pthread_spin_init): Likewise.
63961         [UNIX98] (pthread_spin_lock): Likewise.
63962         [UNIX98] (pthread_spin_trylock): Likewise.
63963         [UNIX98] (pthread_spin_unlock): Likewise.
63964         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63965         Do not expect.
63966         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63967         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63968         [XPG3 || XPG4] (pthread_cond_t): Likewise.
63969         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63970         [XPG3 || XPG4] (pthread_key_t): Likewise.
63971         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63972         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63973         [XPG3 || XPG4] (pthread_once_t): Likewise.
63974         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63975         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63976         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63977         [XPG3 || XPG4] (pthread_t): Likewise.
63979         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63980         not expect.
63981         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63983         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63984         Change function return type to int.
63986         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63987         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63988         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63989         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63990         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63991         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63992         [!POSIX] (posix_madvise): Likewise.
63993         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63994         && !UNIX98].
63995         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63996         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63997         (mode_t): Likewise.
63998         (posix_mem_offset): Likewise.
63999         (posix_typed_mem_get_info): Likewise.
64000         (posix_typed_mem_open): Likewise.
64002         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
64003         Change condition to [XOPEN2K8].
64005         * conform/conformtest.pl: Preprocess allow-header data with -x c
64006         instead of from stdin.
64007         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
64008         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
64009         [C99-based standards] (cerfc): Likewise.
64010         [C99-based standards] (cexp2): Likewise.
64011         [C99-based standards] (cexpm1): Likewise.
64012         [C99-based standards] (clog10): Likewise.
64013         [C99-based standards] (clog1p): Likewise.
64014         [C99-based standards] (clog2): Likewise.
64015         [C99-based standards] (clgamma): Likewise.
64016         [C99-based standards] (ctgamma): Likewise.
64017         [C99-based standards] (cerff): Likewise.
64018         [C99-based standards] (cerfcf): Likewise.
64019         [C99-based standards] (cexp2f): Likewise.
64020         [C99-based standards] (cexpm1f): Likewise.
64021         [C99-based standards] (clog10f): Likewise.
64022         [C99-based standards] (clog1pf): Likewise.
64023         [C99-based standards] (clog2f): Likewise.
64024         [C99-based standards] (clgammaf): Likewise.
64025         [C99-based standards] (ctgammaf): Likewise.
64026         [C99-based standards] (cerfl): Likewise.
64027         [C99-based standards] (cerfcl): Likewise.
64028         [C99-based standards] (cexp2l): Likewise.
64029         [C99-based standards] (cexpm1l): Likewise.
64030         [C99-based standards] (clog10l): Likewise.
64031         [C99-based standards] (clog1pl): Likewise.
64032         [C99-based standards] (clog2l): Likewise.
64033         [C99-based standards] (clgammal): Likewise.
64034         [C99-based standards] (ctgammal): Likewise.
64035         * conform/data/inttypes.h-data [C99-based standards]: Include
64036         stdint.h-data.  Remove all expectations for stdint.h contents.
64037         [C99-based standards] (PRI*): Do not allow.
64038         [C99-based standards] (SCN*): Likewise.
64039         [C99-based standards] (*_t): Likewise.
64040         [C99-based-standards] (PRId8): Expect macro.
64041         [C99-based-standards] (PRIi8): Likewise.
64042         [C99-based-standards] (PRIo8): Likewise.
64043         [C99-based-standards] (PRIu8): Likewise.
64044         [C99-based-standards] (PRIx8): Likewise.
64045         [C99-based-standards] (PRIX8): Likewise.
64046         [C99-based-standards] (SCNd8): Likewise.
64047         [C99-based-standards] (SCNi8): Likewise.
64048         [C99-based-standards] (SCNo8): Likewise.
64049         [C99-based-standards] (SCNu8): Likewise.
64050         [C99-based-standards] (SCNx8): Likewise.
64051         [C99-based-standards] (PRIdLEAST8): Likewise.
64052         [C99-based-standards] (PRIiLEAST8): Likewise.
64053         [C99-based-standards] (PRIoLEAST8): Likewise.
64054         [C99-based-standards] (PRIuLEAST8): Likewise.
64055         [C99-based-standards] (PRIxLEAST8): Likewise.
64056         [C99-based-standards] (PRIXLEAST8): Likewise.
64057         [C99-based-standards] (SCNdLEAST8): Likewise.
64058         [C99-based-standards] (SCNiLEAST8): Likewise.
64059         [C99-based-standards] (SCNoLEAST8): Likewise.
64060         [C99-based-standards] (SCNuLEAST8): Likewise.
64061         [C99-based-standards] (SCNxLEAST8): Likewise.
64062         [C99-based-standards] (PRIdFAST8): Likewise.
64063         [C99-based-standards] (PRIiFAST8): Likewise.
64064         [C99-based-standards] (PRIoFAST8): Likewise.
64065         [C99-based-standards] (PRIuFAST8): Likewise.
64066         [C99-based-standards] (PRIxFAST8): Likewise.
64067         [C99-based-standards] (PRIXFAST8): Likewise.
64068         [C99-based-standards] (SCNdFAST8): Likewise.
64069         [C99-based-standards] (SCNiFAST8): Likewise.
64070         [C99-based-standards] (SCNoFAST8): Likewise.
64071         [C99-based-standards] (SCNuFAST8): Likewise.
64072         [C99-based-standards] (SCNxFAST8): Likewise.
64073         [C99-based-standards] (PRId16): Likewise.
64074         [C99-based-standards] (PRIi16): Likewise.
64075         [C99-based-standards] (PRIo16): Likewise.
64076         [C99-based-standards] (PRIu16): Likewise.
64077         [C99-based-standards] (PRIx16): Likewise.
64078         [C99-based-standards] (PRIX16): Likewise.
64079         [C99-based-standards] (SCNd16): Likewise.
64080         [C99-based-standards] (SCNi16): Likewise.
64081         [C99-based-standards] (SCNo16): Likewise.
64082         [C99-based-standards] (SCNu16): Likewise.
64083         [C99-based-standards] (SCNx16): Likewise.
64084         [C99-based-standards] (PRIdLEAST16): Likewise.
64085         [C99-based-standards] (PRIiLEAST16): Likewise.
64086         [C99-based-standards] (PRIoLEAST16): Likewise.
64087         [C99-based-standards] (PRIuLEAST16): Likewise.
64088         [C99-based-standards] (PRIxLEAST16): Likewise.
64089         [C99-based-standards] (PRIXLEAST16): Likewise.
64090         [C99-based-standards] (SCNdLEAST16): Likewise.
64091         [C99-based-standards] (SCNiLEAST16): Likewise.
64092         [C99-based-standards] (SCNoLEAST16): Likewise.
64093         [C99-based-standards] (SCNuLEAST16): Likewise.
64094         [C99-based-standards] (SCNxLEAST16): Likewise.
64095         [C99-based-standards] (PRIdFAST16): Likewise.
64096         [C99-based-standards] (PRIiFAST16): Likewise.
64097         [C99-based-standards] (PRIoFAST16): Likewise.
64098         [C99-based-standards] (PRIuFAST16): Likewise.
64099         [C99-based-standards] (PRIxFAST16): Likewise.
64100         [C99-based-standards] (PRIXFAST16): Likewise.
64101         [C99-based-standards] (SCNdFAST16): Likewise.
64102         [C99-based-standards] (SCNiFAST16): Likewise.
64103         [C99-based-standards] (SCNoFAST16): Likewise.
64104         [C99-based-standards] (SCNuFAST16): Likewise.
64105         [C99-based-standards] (SCNxFAST16): Likewise.
64106         [C99-based-standards] (PRId32): Likewise.
64107         [C99-based-standards] (PRIi32): Likewise.
64108         [C99-based-standards] (PRIo32): Likewise.
64109         [C99-based-standards] (PRIu32): Likewise.
64110         [C99-based-standards] (PRIx32): Likewise.
64111         [C99-based-standards] (PRIX32): Likewise.
64112         [C99-based-standards] (SCNd32): Likewise.
64113         [C99-based-standards] (SCNi32): Likewise.
64114         [C99-based-standards] (SCNo32): Likewise.
64115         [C99-based-standards] (SCNu32): Likewise.
64116         [C99-based-standards] (SCNx32): Likewise.
64117         [C99-based-standards] (PRIdLEAST32): Likewise.
64118         [C99-based-standards] (PRIiLEAST32): Likewise.
64119         [C99-based-standards] (PRIoLEAST32): Likewise.
64120         [C99-based-standards] (PRIuLEAST32): Likewise.
64121         [C99-based-standards] (PRIxLEAST32): Likewise.
64122         [C99-based-standards] (PRIXLEAST32): Likewise.
64123         [C99-based-standards] (SCNdLEAST32): Likewise.
64124         [C99-based-standards] (SCNiLEAST32): Likewise.
64125         [C99-based-standards] (SCNoLEAST32): Likewise.
64126         [C99-based-standards] (SCNuLEAST32): Likewise.
64127         [C99-based-standards] (SCNxLEAST32): Likewise.
64128         [C99-based-standards] (PRIdFAST32): Likewise.
64129         [C99-based-standards] (PRIiFAST32): Likewise.
64130         [C99-based-standards] (PRIoFAST32): Likewise.
64131         [C99-based-standards] (PRIuFAST32): Likewise.
64132         [C99-based-standards] (PRIxFAST32): Likewise.
64133         [C99-based-standards] (PRIXFAST32): Likewise.
64134         [C99-based-standards] (SCNdFAST32): Likewise.
64135         [C99-based-standards] (SCNiFAST32): Likewise.
64136         [C99-based-standards] (SCNoFAST32): Likewise.
64137         [C99-based-standards] (SCNuFAST32): Likewise.
64138         [C99-based-standards] (SCNxFAST32): Likewise.
64139         [C99-based-standards] (PRId64): Likewise.
64140         [C99-based-standards] (PRIi64): Likewise.
64141         [C99-based-standards] (PRIo64): Likewise.
64142         [C99-based-standards] (PRIu64): Likewise.
64143         [C99-based-standards] (PRIx64): Likewise.
64144         [C99-based-standards] (PRIX64): Likewise.
64145         [C99-based-standards] (SCNd64): Likewise.
64146         [C99-based-standards] (SCNi64): Likewise.
64147         [C99-based-standards] (SCNo64): Likewise.
64148         [C99-based-standards] (SCNu64): Likewise.
64149         [C99-based-standards] (SCNx64): Likewise.
64150         [C99-based-standards] (PRIdLEAST64): Likewise.
64151         [C99-based-standards] (PRIiLEAST64): Likewise.
64152         [C99-based-standards] (PRIoLEAST64): Likewise.
64153         [C99-based-standards] (PRIuLEAST64): Likewise.
64154         [C99-based-standards] (PRIxLEAST64): Likewise.
64155         [C99-based-standards] (PRIXLEAST64): Likewise.
64156         [C99-based-standards] (SCNdLEAST64): Likewise.
64157         [C99-based-standards] (SCNiLEAST64): Likewise.
64158         [C99-based-standards] (SCNoLEAST64): Likewise.
64159         [C99-based-standards] (SCNuLEAST64): Likewise.
64160         [C99-based-standards] (SCNxLEAST64): Likewise.
64161         [C99-based-standards] (PRIdFAST64): Likewise.
64162         [C99-based-standards] (PRIiFAST64): Likewise.
64163         [C99-based-standards] (PRIoFAST64): Likewise.
64164         [C99-based-standards] (PRIuFAST64): Likewise.
64165         [C99-based-standards] (PRIxFAST64): Likewise.
64166         [C99-based-standards] (PRIXFAST64): Likewise.
64167         [C99-based-standards] (SCNdFAST64): Likewise.
64168         [C99-based-standards] (SCNiFAST64): Likewise.
64169         [C99-based-standards] (SCNoFAST64): Likewise.
64170         [C99-based-standards] (SCNuFAST64): Likewise.
64171         [C99-based-standards] (SCNxFAST64): Likewise.
64172         [C99-based-standards] (PRIdMAX): Likewise.
64173         [C99-based-standards] (PRIiMAX): Likewise.
64174         [C99-based-standards] (PRIoMAX): Likewise.
64175         [C99-based-standards] (PRIuMAX): Likewise.
64176         [C99-based-standards] (PRIxMAX): Likewise.
64177         [C99-based-standards] (PRIXMAX): Likewise.
64178         [C99-based-standards] (SCNdMAX): Likewise.
64179         [C99-based-standards] (SCNiMAX): Likewise.
64180         [C99-based-standards] (SCNoMAX): Likewise.
64181         [C99-based-standards] (SCNuMAX): Likewise.
64182         [C99-based-standards] (SCNxMAX): Likewise.
64183         [C99-based-standards] (PRIdPTR): Likewise.
64184         [C99-based-standards] (PRIiPTR): Likewise.
64185         [C99-based-standards] (PRIoPTR): Likewise.
64186         [C99-based-standards] (PRIuPTR): Likewise.
64187         [C99-based-standards] (PRIxPTR): Likewise.
64188         [C99-based-standards] (PRIXPTR): Likewise.
64189         [C99-based-standards] (SCNdPTR): Likewise.
64190         [C99-based-standards] (SCNiPTR): Likewise.
64191         [C99-based-standards] (SCNoPTR): Likewise.
64192         [C99-based-standards] (SCNuPTR): Likewise.
64193         [C99-based-standards] (SCNxPTR): Likewise.
64194         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64195         allow.
64196         * conform/data/stdint.h-data: Update comments to clarify
64197         requirements.
64198         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
64199         type.
64200         [C99-based standards] (INT8_MAX): Likewise.
64201         [C99-based standards] (INT16_MIN): Likewise.
64202         [C99-based standards] (INT16_MAX): Likewise.
64203         [C99-based standards] (INT32_MIN): Likewise.
64204         [C99-based standards] (INT32_MAX): Likewise.
64205         [C99-based standards] (INT64_MIN): Likewise.
64206         [C99-based standards] (INT64_MAX): Likewise.
64207         [C99-based standards] (UINT8_MAX): Likewise.
64208         [C99-based standards] (UINT16_MAX): Likewise.
64209         [C99-based standards] (UINT32_MAX): Likewise.
64210         [C99-based standards] (UINT64_MAX): Likewise.
64211         [C99-based standards] (INT_LEAST8_MIN): Likewise.
64212         [C99-based standards] (INT_LEAST8_MAX): Likewise.
64213         [C99-based standards] (INT_LEAST16_MIN): Likewise.
64214         [C99-based standards] (INT_LEAST16_MAX): Likewise.
64215         [C99-based standards] (INT_LEAST32_MIN): Likewise.
64216         [C99-based standards] (INT_LEAST32_MAX): Likewise.
64217         [C99-based standards] (INT_LEAST64_MIN): Likewise.
64218         [C99-based standards] (INT_LEAST64_MAX): Likewise.
64219         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64220         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64221         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64222         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64223         [C99-based standards] (INT_FAST8_MIN): Likewise.
64224         [C99-based standards] (INT_FAST8_MAX): Likewise.
64225         [C99-based standards] (INT_FAST16_MIN): Likewise.
64226         [C99-based standards] (INT_FAST16_MAX): Likewise.
64227         [C99-based standards] (INT_FAST32_MIN): Likewise.
64228         [C99-based standards] (INT_FAST32_MAX): Likewise.
64229         [C99-based standards] (INT_FAST64_MIN): Likewise.
64230         [C99-based standards] (INT_FAST64_MAX): Likewise.
64231         [C99-based standards] (UINT_FAST8_MAX): Likewise.
64232         [C99-based standards] (UINT_FAST16_MAX): Likewise.
64233         [C99-based standards] (UINT_FAST32_MAX): Likewise.
64234         [C99-based standards] (UINT_FAST64_MAX): Likewise.
64235         [C99-based standards] (INTPTR_MIN): Likewise.
64236         [C99-based standards] (INTPTR_MAX): Likewise.
64237         [C99-based standards] (UINTPTR_MAX): Likewise.
64238         [C99-based standards] (INTMAX_MIN): Likewise.
64239         [C99-based standards] (INTMAX_MAX): Likewise.
64240         [C99-based standards] (UINTMAX_MAX): Likewise.
64241         [C99-based standards] (PTRDIFF_MIN): Likewise.
64242         [C99-based standards] (PTRDIFF_MAX): Likewise.
64243         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64244         [C99-based standards] (SIZE_MAX): Likewise.
64245         [C99-based standards] (WCHAR_MAX): Likewise.
64246         [C99-based standards] (WINT_MAX): Likewise.
64247         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
64248         constraint on value.
64249         [C99-based standards] (WCHAR_MIN): Likewise.
64250         [C99-based standards] (WINT_MIN): Likewise.
64251         [C99-based standards] (*_t): Allow.
64252         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64253         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64254         Include math.h-data and complex.h-data.  Remove all expectations
64255         of math.h and complex.h contents.
64256         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64257         at end of line.
64258         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64259         (struct tm): Expect tag.
64260         [C99-based-standards] (wcstof): Expect function.
64261         [C99-based-standards] (wcstold): Likewise.
64262         [C99-based-standards] (wcstoll): Likewise.
64263         [C99-based-standards] (wcstoull): Likewise.
64264         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64265         macro-int-constant.  Specify type.
64266         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
64267         constraint on value.
64268         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64269         Specify type.
64270         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64271         Specify value.
64272         [ISO C standards]: Do not allow headers.
64273         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64274         wcs[abcdefghijklmnopqrstuvwxyz]*.
64275         [ISO C standards] (*_t): Do not allow.
64276         * conform/data/wctype.h-data [C99-based standards] (iswblank):
64277         Expect function.
64278         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64279         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64280         Specify type.
64281         [ISO C standards]: Do not allow headers.
64282         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64283         is[abcdefghijklmnopqrstuvwxyz]*.
64284         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64285         to[abcdefghijklmnopqrstuvwxyz]*.
64286         [ISO C standards] (*_t): Do not allow.
64287         * conform/data/stdalign.h-data: New file.
64288         * conform/data/stdbool.h-data: Likewise.
64289         * conform/data/stdnoreturn.h-data: Likewise.
64291 2012-11-07  Roland McGrath  <roland@hack.frob.com>
64293         [BZ #14815]
64294         * manual/filesys.texi (Directory Entries): Typo fix.
64295         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64297 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64299         * elf/elf.h (EM_AARCH64): New macro.
64300         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64301         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64302         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64303         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64304         (R_AARCH64_TLSDESC): Likewise.
64305         (NT_ARM_TLS): Likewise.
64306         (NT_ARM_HW_BREAK): Likewise.
64307         (NT_ARM_HW_WATCH): Likewise.
64309 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64311         [BZ #14811]
64312         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64313         (__ieee754_powl): Saturate nonzero exponents with absolute value
64314         below 0x1p-79 to +/- 0x1p-79.
64315         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64316         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64317         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64318         nonzero exponents with absolute value below 0x1p-32 to +/-
64319         0x1p-32.
64320         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64321         (__ieee754_powl): Saturate nonzero exponents with absolute value
64322         below 0x1p-79 to +/- 0x1p-79.
64323         * math/libm-test.inc (pow_test): Add more tests.
64325 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64327         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64328         _dl_s390_cap_flags with kernel. Increase string length.
64329         (_dl_s390_platforms): Add z196 and zEC12.
64331 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64333         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64334         Change XOPEN21K to XOPEN2K.
64336 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
64338         * string/memmove.c: Use memcpy when possible.
64340 2012-11-06  Andreas Jaeger  <aj@suse.de>
64342         * po/eo.po: Update from translation team.
64344 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
64346         [BZ #14793]
64347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64348         exponent and small x and y exponents, scale x or y up.  Increase
64349         by 2 the exponent used in scaling up.
64350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64352         * math/libm-test.inc (fma_test): Add more tests.
64353         (fma_test_towardzero): Likewise.
64354         (fma_test_downward): Likewise.
64355         (fma_test_upward): Likewise.
64357 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
64359         [BZ #14805]
64360         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64361         fenv_t *.
64363         [BZ #14801]
64364         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64365         namespace for names of struct fields.
64366         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64367         fenv_t fields.
64368         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64369         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64371 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64373         [BZ #3665]
64374         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64376 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64378         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64379         PTR_DEMANGLE.
64381         [BZ #5246]
64382         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64383         PTR_DEMANGLE.
64385 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
64387         [BZ #14797]
64388         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64389         definitely overflow as x * y not x * y + z.
64390         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64392         * math/libm-test.inc (fma_test): Add more tests.
64393         (fma_test_towardzero): Likewise.
64394         (fma_test_downward): Likewise.
64395         (fma_test_upward): Likewise.
64397 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64399         [BZ #157]
64401         * include/stub-tag.h: Remove file.
64402         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64403         '#include' of it.
64404         * manual/maint.texi (Porting): Don't reference it.
64405         * Makerules ($(objpfx)stubs): Likewise.
64406         * dirent/closedir.c: Don't include <stub-tag.h>.
64407         * dirent/dirfd.c: Likewise.
64408         * dirent/fdopendir.c: Likewise.
64409         * dirent/getdents.c: Likewise.
64410         * dirent/getdents64.c: Likewise.
64411         * dirent/opendir.c: Likewise.
64412         * dirent/readdir.c: Likewise.
64413         * dirent/readdir64.c: Likewise.
64414         * dirent/readdir64_r.c: Likewise.
64415         * dirent/readdir_r.c: Likewise.
64416         * dirent/rewinddir.c: Likewise.
64417         * dirent/seekdir.c: Likewise.
64418         * dirent/telldir.c: Likewise.
64419         * gmon/profil.c: Likewise.
64420         * grp/setgroups.c: Likewise.
64421         * inet/if_index.c: Likewise.
64422         * io/access.c: Likewise.
64423         * io/chdir.c: Likewise.
64424         * io/chmod.c: Likewise.
64425         * io/chown.c: Likewise.
64426         * io/close.c: Likewise.
64427         * io/dup.c: Likewise.
64428         * io/dup2.c: Likewise.
64429         * io/dup3.c: Likewise.
64430         * io/euidaccess.c: Likewise.
64431         * io/faccessat.c: Likewise.
64432         * io/fchdir.c: Likewise.
64433         * io/fchmod.c: Likewise.
64434         * io/fchmodat.c: Likewise.
64435         * io/fchown.c: Likewise.
64436         * io/fchownat.c: Likewise.
64437         * io/fcntl.c: Likewise.
64438         * io/flock.c: Likewise.
64439         * io/fstatfs.c: Likewise.
64440         * io/fstatfs64.c: Likewise.
64441         * io/fstatvfs.c: Likewise.
64442         * io/fstatvfs64.c: Likewise.
64443         * io/futimens.c: Likewise.
64444         * io/fxstat.c: Likewise.
64445         * io/fxstat64.c: Likewise.
64446         * io/fxstatat.c: Likewise.
64447         * io/fxstatat64.c: Likewise.
64448         * io/getcwd.c: Likewise.
64449         * io/isatty.c: Likewise.
64450         * io/lchmod.c: Likewise.
64451         * io/lchown.c: Likewise.
64452         * io/link.c: Likewise.
64453         * io/linkat.c: Likewise.
64454         * io/lseek.c: Likewise.
64455         * io/lseek64.c: Likewise.
64456         * io/lxstat64.c: Likewise.
64457         * io/mkdir.c: Likewise.
64458         * io/mkdirat.c: Likewise.
64459         * io/mkfifo.c: Likewise.
64460         * io/mkfifoat.c: Likewise.
64461         * io/open.c: Likewise.
64462         * io/open64.c: Likewise.
64463         * io/openat.c: Likewise.
64464         * io/openat64.c: Likewise.
64465         * io/pipe.c: Likewise.
64466         * io/pipe2.c: Likewise.
64467         * io/poll.c: Likewise.
64468         * io/posix_fadvise.c: Likewise.
64469         * io/posix_fadvise64.c: Likewise.
64470         * io/posix_fallocate.c: Likewise.
64471         * io/posix_fallocate64.c: Likewise.
64472         * io/read.c: Likewise.
64473         * io/readlink.c: Likewise.
64474         * io/readlinkat.c: Likewise.
64475         * io/rmdir.c: Likewise.
64476         * io/sendfile.c: Likewise.
64477         * io/sendfile64.c: Likewise.
64478         * io/statfs.c: Likewise.
64479         * io/statfs64.c: Likewise.
64480         * io/statvfs.c: Likewise.
64481         * io/statvfs64.c: Likewise.
64482         * io/symlink.c: Likewise.
64483         * io/symlinkat.c: Likewise.
64484         * io/ttyname.c: Likewise.
64485         * io/ttyname_r.c: Likewise.
64486         * io/umask.c: Likewise.
64487         * io/unlink.c: Likewise.
64488         * io/unlinkat.c: Likewise.
64489         * io/utime.c: Likewise.
64490         * io/utimensat.c: Likewise.
64491         * io/write.c: Likewise.
64492         * io/xmknod.c: Likewise.
64493         * io/xmknodat.c: Likewise.
64494         * io/xstat.c: Likewise.
64495         * io/xstat64.c: Likewise.
64496         * login/getpt.c: Likewise.
64497         * login/grantpt.c: Likewise.
64498         * login/unlockpt.c: Likewise.
64499         * math/e_acoshl.c: Likewise.
64500         * math/e_acosl.c: Likewise.
64501         * math/e_asinl.c: Likewise.
64502         * math/e_atan2l.c: Likewise.
64503         * math/e_atanhl.c: Likewise.
64504         * math/e_coshl.c: Likewise.
64505         * math/e_expl.c: Likewise.
64506         * math/e_fmodl.c: Likewise.
64507         * math/e_gammal_r.c: Likewise.
64508         * math/e_hypotl.c: Likewise.
64509         * math/e_j0l.c: Likewise.
64510         * math/e_j1l.c: Likewise.
64511         * math/e_jnl.c: Likewise.
64512         * math/e_lgammal_r.c: Likewise.
64513         * math/e_log10l.c: Likewise.
64514         * math/e_log2l.c: Likewise.
64515         * math/e_logl.c: Likewise.
64516         * math/e_powl.c: Likewise.
64517         * math/e_rem_pio2l.c: Likewise.
64518         * math/e_sinhl.c: Likewise.
64519         * math/e_sqrtl.c: Likewise.
64520         * math/fclrexcpt.c: Likewise.
64521         * math/fedisblxcpt.c: Likewise.
64522         * math/feenablxcpt.c: Likewise.
64523         * math/fegetenv.c: Likewise.
64524         * math/fegetexcept.c: Likewise.
64525         * math/fegetround.c: Likewise.
64526         * math/feholdexcpt.c: Likewise.
64527         * math/fesetenv.c: Likewise.
64528         * math/fesetround.c: Likewise.
64529         * math/feupdateenv.c: Likewise.
64530         * math/fgetexcptflg.c: Likewise.
64531         * math/fraiseexcpt.c: Likewise.
64532         * math/fsetexcptflg.c: Likewise.
64533         * math/ftestexcept.c: Likewise.
64534         * math/k_cosl.c: Likewise.
64535         * math/k_rem_pio2l.c: Likewise.
64536         * math/k_sinl.c: Likewise.
64537         * math/k_tanl.c: Likewise.
64538         * math/s_asinhl.c: Likewise.
64539         * math/s_atanl.c: Likewise.
64540         * math/s_cbrtl.c: Likewise.
64541         * math/s_erfl.c: Likewise.
64542         * math/s_expm1l.c: Likewise.
64543         * math/s_log1pl.c: Likewise.
64544         * math/s_tanhl.c: Likewise.
64545         * misc/acct.c: Likewise.
64546         * misc/brk.c: Likewise.
64547         * misc/chflags.c: Likewise.
64548         * misc/chroot.c: Likewise.
64549         * misc/fchflags.c: Likewise.
64550         * misc/fgetxattr.c: Likewise.
64551         * misc/flistxattr.c: Likewise.
64552         * misc/fremovexattr.c: Likewise.
64553         * misc/fsetxattr.c: Likewise.
64554         * misc/fsync.c: Likewise.
64555         * misc/ftruncate.c: Likewise.
64556         * misc/futimes.c: Likewise.
64557         * misc/futimesat.c: Likewise.
64558         * misc/getdomain.c: Likewise.
64559         * misc/getdtsz.c: Likewise.
64560         * misc/gethostid.c: Likewise.
64561         * misc/gethostname.c: Likewise.
64562         * misc/getloadavg.c: Likewise.
64563         * misc/getpagesize.c: Likewise.
64564         * misc/getsysstats.c: Likewise.
64565         * misc/getxattr.c: Likewise.
64566         * misc/gtty.c: Likewise.
64567         * misc/ioctl.c: Likewise.
64568         * misc/lgetxattr.c: Likewise.
64569         * misc/listxattr.c: Likewise.
64570         * misc/llistxattr.c: Likewise.
64571         * misc/lremovexattr.c: Likewise.
64572         * misc/lsetxattr.c: Likewise.
64573         * misc/lutimes.c: Likewise.
64574         * misc/madvise.c: Likewise.
64575         * misc/mincore.c: Likewise.
64576         * misc/mlock.c: Likewise.
64577         * misc/mlockall.c: Likewise.
64578         * misc/mmap.c: Likewise.
64579         * misc/mprotect.c: Likewise.
64580         * misc/msync.c: Likewise.
64581         * misc/munlock.c: Likewise.
64582         * misc/munlockall.c: Likewise.
64583         * misc/munmap.c: Likewise.
64584         * misc/preadv.c: Likewise.
64585         * misc/preadv64.c: Likewise.
64586         * misc/ptrace.c: Likewise.
64587         * misc/pwritev.c: Likewise.
64588         * misc/pwritev64.c: Likewise.
64589         * misc/readv.c: Likewise.
64590         * misc/reboot.c: Likewise.
64591         * misc/remap_file_pages.c: Likewise.
64592         * misc/removexattr.c: Likewise.
64593         * misc/revoke.c: Likewise.
64594         * misc/select.c: Likewise.
64595         * misc/setdomain.c: Likewise.
64596         * misc/setegid.c: Likewise.
64597         * misc/seteuid.c: Likewise.
64598         * misc/sethostid.c: Likewise.
64599         * misc/sethostname.c: Likewise.
64600         * misc/setregid.c: Likewise.
64601         * misc/setreuid.c: Likewise.
64602         * misc/setxattr.c: Likewise.
64603         * misc/sstk.c: Likewise.
64604         * misc/stty.c: Likewise.
64605         * misc/swapoff.c: Likewise.
64606         * misc/swapon.c: Likewise.
64607         * misc/sync.c: Likewise.
64608         * misc/syncfs.c: Likewise.
64609         * misc/syscall.c: Likewise.
64610         * misc/truncate.c: Likewise.
64611         * misc/ualarm.c: Likewise.
64612         * misc/usleep.c: Likewise.
64613         * misc/ustat.c: Likewise.
64614         * misc/utimes.c: Likewise.
64615         * misc/vhangup.c: Likewise.
64616         * misc/writev.c: Likewise.
64617         * posix/_exit.c: Likewise.
64618         * posix/alarm.c: Likewise.
64619         * posix/execve.c: Likewise.
64620         * posix/fexecve.c: Likewise.
64621         * posix/fork.c: Likewise.
64622         * posix/fpathconf.c: Likewise.
64623         * posix/getaddrinfo.c: Likewise.
64624         * posix/getegid.c: Likewise.
64625         * posix/geteuid.c: Likewise.
64626         * posix/getgid.c: Likewise.
64627         * posix/getgroups.c: Likewise.
64628         * posix/getlogin.c: Likewise.
64629         * posix/getlogin_r.c: Likewise.
64630         * posix/getpgid.c: Likewise.
64631         * posix/getpid.c: Likewise.
64632         * posix/getppid.c: Likewise.
64633         * posix/getresgid.c: Likewise.
64634         * posix/getresuid.c: Likewise.
64635         * posix/getsid.c: Likewise.
64636         * posix/getuid.c: Likewise.
64637         * posix/glob64.c: Likewise.
64638         * posix/nanosleep.c: Likewise.
64639         * posix/pathconf.c: Likewise.
64640         * posix/pause.c: Likewise.
64641         * posix/posix_madvise.c: Likewise.
64642         * posix/pread.c: Likewise.
64643         * posix/pread64.c: Likewise.
64644         * posix/pwrite.c: Likewise.
64645         * posix/pwrite64.c: Likewise.
64646         * posix/sched_getaffinity.c: Likewise.
64647         * posix/sched_getp.c: Likewise.
64648         * posix/sched_gets.c: Likewise.
64649         * posix/sched_primax.c: Likewise.
64650         * posix/sched_primin.c: Likewise.
64651         * posix/sched_rr_gi.c: Likewise.
64652         * posix/sched_setaffinity.c: Likewise.
64653         * posix/sched_setp.c: Likewise.
64654         * posix/sched_sets.c: Likewise.
64655         * posix/sched_yield.c: Likewise.
64656         * posix/setgid.c: Likewise.
64657         * posix/setlogin.c: Likewise.
64658         * posix/setpgid.c: Likewise.
64659         * posix/setresgid.c: Likewise.
64660         * posix/setresuid.c: Likewise.
64661         * posix/setsid.c: Likewise.
64662         * posix/setuid.c: Likewise.
64663         * posix/sleep.c: Likewise.
64664         * posix/spawni.c: Likewise.
64665         * posix/sysconf.c: Likewise.
64666         * posix/times.c: Likewise.
64667         * posix/wait.c: Likewise.
64668         * posix/wait3.c: Likewise.
64669         * posix/wait4.c: Likewise.
64670         * posix/waitpid.c: Likewise.
64671         * resolv/gai_sigqueue.c: Likewise.
64672         * resource/getpriority.c: Likewise.
64673         * resource/getrlimit.c: Likewise.
64674         * resource/getrusage.c: Likewise.
64675         * resource/nice.c: Likewise.
64676         * resource/setpriority.c: Likewise.
64677         * resource/setrlimit.c: Likewise.
64678         * resource/ulimit.c: Likewise.
64679         * rt/aio_cancel.c: Likewise.
64680         * rt/aio_fsync.c: Likewise.
64681         * rt/aio_read.c: Likewise.
64682         * rt/aio_sigqueue.c: Likewise.
64683         * rt/aio_suspend.c: Likewise.
64684         * rt/aio_write.c: Likewise.
64685         * rt/clock_getres.c: Likewise.
64686         * rt/clock_gettime.c: Likewise.
64687         * rt/clock_nanosleep.c: Likewise.
64688         * rt/clock_settime.c: Likewise.
64689         * rt/lio_listio.c: Likewise.
64690         * rt/mq_close.c: Likewise.
64691         * rt/mq_getattr.c: Likewise.
64692         * rt/mq_notify.c: Likewise.
64693         * rt/mq_open.c: Likewise.
64694         * rt/mq_receive.c: Likewise.
64695         * rt/mq_send.c: Likewise.
64696         * rt/mq_setattr.c: Likewise.
64697         * rt/mq_timedreceive.c: Likewise.
64698         * rt/mq_timedsend.c: Likewise.
64699         * rt/mq_unlink.c: Likewise.
64700         * rt/shm_open.c: Likewise.
64701         * rt/shm_unlink.c: Likewise.
64702         * rt/timer_create.c: Likewise.
64703         * rt/timer_delete.c: Likewise.
64704         * rt/timer_getoverr.c: Likewise.
64705         * rt/timer_gettime.c: Likewise.
64706         * rt/timer_settime.c: Likewise.
64707         * setjmp/__longjmp.c: Likewise.
64708         * setjmp/setjmp.c: Likewise.
64709         * signal/kill.c: Likewise.
64710         * signal/killpg.c: Likewise.
64711         * signal/raise.c: Likewise.
64712         * signal/sigaction.c: Likewise.
64713         * signal/sigaltstack.c: Likewise.
64714         * signal/sigblock.c: Likewise.
64715         * signal/sigignore.c: Likewise.
64716         * signal/sigintr.c: Likewise.
64717         * signal/signal.c: Likewise.
64718         * signal/sigpause.c: Likewise.
64719         * signal/sigpending.c: Likewise.
64720         * signal/sigqueue.c: Likewise.
64721         * signal/sigreturn.c: Likewise.
64722         * signal/sigset.c: Likewise.
64723         * signal/sigsetmask.c: Likewise.
64724         * signal/sigstack.c: Likewise.
64725         * signal/sigsuspend.c: Likewise.
64726         * signal/sigtimedwait.c: Likewise.
64727         * signal/sigvec.c: Likewise.
64728         * signal/sigwait.c: Likewise.
64729         * signal/sigwaitinfo.c: Likewise.
64730         * signal/sysv_signal.c: Likewise.
64731         * socket/accept.c: Likewise.
64732         * socket/accept4.c: Likewise.
64733         * socket/bind.c: Likewise.
64734         * socket/connect.c: Likewise.
64735         * socket/getpeername.c: Likewise.
64736         * socket/getsockname.c: Likewise.
64737         * socket/getsockopt.c: Likewise.
64738         * socket/isfdtype.c: Likewise.
64739         * socket/listen.c: Likewise.
64740         * socket/recv.c: Likewise.
64741         * socket/recvfrom.c: Likewise.
64742         * socket/recvmsg.c: Likewise.
64743         * socket/send.c: Likewise.
64744         * socket/sendmsg.c: Likewise.
64745         * socket/sendto.c: Likewise.
64746         * socket/setsockopt.c: Likewise.
64747         * socket/shutdown.c: Likewise.
64748         * socket/sockatmark.c: Likewise.
64749         * socket/socket.c: Likewise.
64750         * socket/socketpair.c: Likewise.
64751         * stdio-common/ctermid.c: Likewise.
64752         * stdio-common/cuserid.c: Likewise.
64753         * stdio-common/remove.c: Likewise.
64754         * stdio-common/rename.c: Likewise.
64755         * stdio-common/renameat.c: Likewise.
64756         * stdio-common/tempname.c: Likewise.
64757         * stdlib/getcontext.c: Likewise.
64758         * stdlib/makecontext.c: Likewise.
64759         * stdlib/setcontext.c: Likewise.
64760         * stdlib/swapcontext.c: Likewise.
64761         * stdlib/system.c: Likewise.
64762         * streams/fattach.c: Likewise.
64763         * streams/fdetach.c: Likewise.
64764         * streams/getmsg.c: Likewise.
64765         * streams/getpmsg.c: Likewise.
64766         * streams/putmsg.c: Likewise.
64767         * streams/putpmsg.c: Likewise.
64768         * sysdeps/unix/bsd/getpt.c: Likewise.
64769         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64770         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64771         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64773         Likewise.
64774         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64775         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64776         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64777         * sysvipc/msgctl.c: Likewise.
64778         * sysvipc/msgget.c: Likewise.
64779         * sysvipc/msgrcv.c: Likewise.
64780         * sysvipc/msgsnd.c: Likewise.
64781         * sysvipc/semctl.c: Likewise.
64782         * sysvipc/semget.c: Likewise.
64783         * sysvipc/semop.c: Likewise.
64784         * sysvipc/semtimedop.c: Likewise.
64785         * sysvipc/shmat.c: Likewise.
64786         * sysvipc/shmctl.c: Likewise.
64787         * sysvipc/shmdt.c: Likewise.
64788         * sysvipc/shmget.c: Likewise.
64789         * termios/tcdrain.c: Likewise.
64790         * termios/tcflow.c: Likewise.
64791         * termios/tcflush.c: Likewise.
64792         * termios/tcgetattr.c: Likewise.
64793         * termios/tcgetpgrp.c: Likewise.
64794         * termios/tcsendbrk.c: Likewise.
64795         * termios/tcsetattr.c: Likewise.
64796         * termios/tcsetpgrp.c: Likewise.
64797         * time/adjtime.c: Likewise.
64798         * time/clock.c: Likewise.
64799         * time/getitimer.c: Likewise.
64800         * time/gettimeofday.c: Likewise.
64801         * time/setitimer.c: Likewise.
64802         * time/settimeofday.c: Likewise.
64803         * time/stime.c: Likewise.
64804         * time/time.c: Likewise.
64806 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
64808         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64809         /usr/old/bin.
64811         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64812         instead of spaces.
64813         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64815 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
64817         [BZ #14796]
64818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64819         FE_TONEAREST before applying Dekker multiplication and Knuth
64820         addition.  Clear inexact exceptions and check for exact zero
64821         results afterwards.
64822         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64823         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64824         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64825         * math/libm-test.inc (fma_test): Add more tests.
64826         (fma_test_towardzero): Likewise.
64827         (fma_test_downward): Likewise.
64828         (fma_test_upward): Likewise.
64829         * sysdeps/generic/math_private.h (default_libc_fesetround): New
64830         function.
64831         (libc_fesetround): New macro.
64832         (libc_fesetroundf): Likewise.
64833         (libc_fesetroundl): Likewise.
64834         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64835         function.
64836         (libc_fesetround_387): Likewise.
64837         (libc_fesetroundf): New macro.
64838         (libc_fesetround): Likewise.
64839         (libc_fesetroundl): Likewise.
64840         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64841         function.
64842         (libc_fesetroundf): New macro.
64843         (libc_fesetround): Likewise.
64844         (libc_fesetroundl): Likewise.
64845         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64846         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64847         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64848         libm_hidden_ver.
64849         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64850         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64851         libm_hidden_def.
64852         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64853         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64854         libm_hidden_ver.
64855         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64856         libm_hidden_def.
64858         [BZ #3439]
64859         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64860         integer constant usable in #if and use that to give value to enum
64861         constant.
64862         (FE_DIVBYZERO): Likewise.
64863         (FE_UNDERFLOW): Likewise.
64864         (FE_OVERFLOW): Likewise.
64865         (FE_INVALID): Likewise.
64866         (FE_INVALID_SNAN): Likewise.
64867         (FE_INVALID_ISI): Likewise.
64868         (FE_INVALID_IDI): Likewise.
64869         (FE_INVALID_ZDZ): Likewise.
64870         (FE_INVALID_IMZ): Likewise.
64871         (FE_INVALID_COMPARE): Likewise.
64872         (FE_INVALID_SOFTWARE): Likewise.
64873         (FE_INVALID_SQRT): Likewise.
64874         (FE_INVALID_INTEGER_CONVERSION): Likewise.
64875         (FE_TONEAREST): Likewise.
64876         (FE_TOWARDZERO): Likewise.
64877         (FE_UPWARD): Likewise.
64878         (FE_DOWNWARD): Likewise.
64879         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64880         (FE_DIVBYZERO): Likewise.
64881         (FE_OVERFLOW): Likewise.
64882         (FE_UNDERFLOW): Likewise.
64883         (FE_INEXACT): Likewise.
64884         (FE_TONEAREST): Likewise.
64885         (FE_DOWNWARD): Likewise.
64886         (FE_UPWARD): Likewise.
64887         (FE_TOWARDZERO): Likewise.
64888         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64889         (FE_UNDERFLOW): Likewise.
64890         (FE_OVERFLOW): Likewise.
64891         (FE_DIVBYZERO): Likewise.
64892         (FE_INVALID): Likewise.
64893         (FE_TONEAREST): Likewise.
64894         (FE_TOWARDZERO): Likewise.
64895         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64896         (FE_OVERFLOW): Likewise.
64897         (FE_UNDERFLOW): Likewise.
64898         (FE_DIVBYZERO): Likewise.
64899         (FE_INEXACT): Likewise.
64900         (FE_TONEAREST): Likewise.
64901         (FE_TOWARDZERO): Likewise.
64902         (FE_UPWARD): Likewise.
64903         (FE_DOWNWARD): Likewise.
64904         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64905         (FE_DIVBYZERO): Likewise.
64906         (FE_OVERFLOW): Likewise.
64907         (FE_UNDERFLOW): Likewise.
64908         (FE_INEXACT): Likewise.
64909         (FE_TONEAREST): Likewise.
64910         (FE_DOWNWARD): Likewise.
64911         (FE_UPWARD): Likewise.
64912         (FE_TOWARDZERO): Likewise.
64914 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
64916         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64918 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
64920         * scripts/cross-test-ssh.sh (command): Use newlines to separate
64921         commands.  Quote $PWD.
64922         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64923         -x" by "export".
64924         (remove_newlines): Remove.
64926 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
64928         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64929         * stdlib/stdlib.h (atof): Moved to ...
64930         * include/bits/stdlib-float.h: Here.  New file.
64931         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64932         * stdlib/bits/stdlib-float.h: New file.
64933         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64934         -mno-sse -mno-mmx.
64935         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64936         <xmmintrin.h>.
64938 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64940         * conform/conformtest.pl (@headers): Add fenv.h.
64941         * conform/data/fenv.h-data: New file.
64942         * include/fenv.h [_ISOMAC]: Disable all contents of file except
64943         include of <math/fenv.h>.
64945         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64946         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64947         && !UNIX98].  Enables tests for XOPEN2K8.
64948         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64949         POSIX2008]: Likewise.
64951         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64952         (struct rusage): Do not expect type or its members.
64954         [BZ #3439]
64955         * math/math.h (FP_NAN): Define macro to integer constant usable in
64956         #if and use that to give value to enum constant.
64957         (FP_INFINITE): Likewise.
64958         (FP_ZERO): Likewise.
64959         (FP_SUBNORMAL): Likewise.
64960         (FP_NORMAL): Likewise.
64962 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
64964         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64965         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64966         arguments.
64968 2012-11-02  Roland McGrath  <roland@hack.frob.com>
64970         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64971         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64972         autoconf-time if not.
64973         * configure.in: Remove AC_PREREQ.
64975 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64977         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64978         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64979         of the internal implementation.
64981 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64983         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64984         except include of <misc/sys/syslog.h>.
64986 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64989         function returns with a NULL context exit with zero.
64991 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64993         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64995 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
64997         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64998         (run_program_cmd): This.
64999         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
65000         (tst_langinfo): New variable.  Use it.
65002 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
65004         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
65005         floating point opcodes.
65007 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65009         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
65010         variable.
65012         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
65014         * sysdeps/mach/hurd/powerpc: Remove directory.
65015         * sysdeps/mach/powerpc: Likewise.
65017 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65019         * scripts/check-local-headers.sh: Ignore c++ headers.
65021 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65023         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
65024         __libc_cleanup_region_start argument.
65026 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
65028         [BZ #14784]
65029         [BZ #14785]
65030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
65031         x * y using scaling, not as x * y + z.
65032         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65033         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65034         * math/libm-test.inc (fma_test): Add more tests.
65035         (fma_test_towardzero): Likewise.
65036         (fma_test_downward): Likewise.
65037         (fma_test_upward): Likewise.
65039 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65041         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
65043 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
65045         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
65046         New variable.
65048 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
65050         * rt/tst-shm.c (worker): Correct checking for mmap failure.
65052 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
65054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65055         Fix sort order.
65056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65057         Likewise.
65059 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65062         Fix the order of the list for glibc 2.17.
65063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65064         Likewise.
65066 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
65068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65070 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
65072         [BZ #14610]
65073         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
65074         for low part of x being zero before using __atanl (y).
65075         * math/libm-test.inc (atan2_test): Add another test.
65077         * manual/install.texi (Configuring and compiling): Document
65078         general use of test-wrapper and test-wrapper-env.
65079         * INSTALL: Regenerated.
65081         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
65082         (__fma): Do not extract and scale down low bits on after-rounding
65083         systems when result rounded to normal precision would have normal
65084         exponent.
65085         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
65086         (__fmal): Do not extract and scale down low bits on after-rounding
65087         systems when result rounded to normal precision would have normal
65088         exponent.
65089         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65090         (__fmal): Do not extract and scale down low bits on after-rounding
65091         systems when result rounded to normal precision would have normal
65092         exponent.
65093         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
65094         macro.
65095         (fma_test): Add more tests.
65096         (fma_test_towardzero): Likewise.
65097         (fma_test_downward): Likewise.
65098         (fma_test_upward): Likewise.
65100 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
65102         * sysdeps/i386/tininess.h: Renamed to ...
65103         * sysdeps/x86/tininess.h: This.
65104         * sysdeps/x86_64/tininess.h: Removed.
65106 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
65108         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
65109         input.  Use $(build-program-cmd).
65110         ($(objpfx)tst-array1-static.out): Likewise.
65111         ($(objpfx)tst-array2.out): Likewise.
65112         ($(objpfx)tst-array3.out): Likewise.
65113         ($(objpfx)tst-array4.out): Likewise.
65114         ($(objpfx)tst-array5.out): Likewise.
65115         ($(objpfx)tst-array5-static.out): Likewise.
65117 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
65119         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
65120         if defined.
65122         * nss/nsswitch.h (nss_interface_function): Provide new
65123         macro for use with NSS functions.
65124         * grp/initgroups.c: Use new macro.
65125         * nss/getXXbyYY.c: Likewise.
65126         * nss/getXXbyYY_r.c: Likewise.
65127         * nss/getXXent.c: Likewise.
65128         * nss/getXXent_r.c: Likewise.
65129         * sysdeps/posix/getaddrinfo.c: Likewise.
65131 2012-10-30  Andreas Jaeger  <aj@suse.de>
65133         * po/ru.po: Update Russion translation from translation project.
65135 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
65137         [BZ #14152]
65138         [BZ #14783]
65139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
65140         result and shift together with sticky bit instead of replicating
65141         round-to-nearest rounding.
65142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65144         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
65145         missing underflow exceptions.
65146         (fma_test_towardzero): Add more tests.
65147         (fma_test_downward): Likewise.
65148         (fma_test_upward): Likewise.
65150         [BZ #14047]
65151         * sysdeps/generic/tininess.h: New file.
65152         * sysdeps/i386/tininess.h: Likewise.
65153         * sysdeps/sh/tininess.h: Likewise.
65154         * sysdeps/x86_64/tininess.h: Likewise.
65155         * stdlib/tst-strtod-underflow.c: Likewise.
65156         * stdlib/tst-tininess.c: Likewise.
65157         * stdlib/strtod_l.c: Include <tininess.h>.
65158         (round_and_return): Do not set errno for exact underflow cases.
65159         Force an underflow exception when setting errno for underflow.
65160         Determine underflow based on rounding to normal precision if
65161         TININESS_AFTER_ROUNDING.
65162         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
65163         ERANGE for exact underflow cases.
65164         * stdlib/Makefile (tests): Add tst-tininess and
65165         tst-strtod-underflow.
65166         ($(objpfx)tst-tininess): Use $(link-libm).
65167         ($(objpfx)tst-strtod-underflow): Likewise.
65169 2012-10-30  Andreas Jaeger  <aj@suse.de>
65171         [BZ#14767]
65172         * elf/Makefile (tests): Remove conditional for have-initfini-array
65173         since this is now always required and the variable does not exist
65174         anymore.
65175         (tests-static): Likewise.
65176         (modules-names): Likewise.
65178         * po/eo.po: Add Esperanto translation from translation project.
65180         * elf/tst-array1.c (fini_array): Make writeable so that it can be
65181         merged with constructor/destructor.
65182         (init_array): Likewise.
65183         * elf/tst-array2dep.c (fini_array): Likewise.
65184         (init_array): Likewise.
65186 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
65188         * manual/message.texi: Delete @cartouche tags.
65190 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
65192         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65193         EOPNOTSUPP.
65194         * sysdeps/mach/hurd/fsync.c: Likewise.
65196         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65197         [_POSIX_REALTIME_SIGNALS]: Change condition to
65198         [_POSIX_REALTIME_SIGNALS > 0].
65200 2012-10-27  Andreas Jaeger  <aj@suse.de>
65202         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65203         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65204         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65205         [__WORDSIZE != 64]: Likewise.
65207 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
65209         *  iconvdata/tst-table.sh: Remove ${SHELL}.
65210         *  iconvdata/tst-tables.sh: Likewise.
65212 2012-10-25  David S. Miller  <davem@davemloft.net>
65214         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65215         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65216         of strtoull.
65218         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65219         ifunc-impl-list.c
65220         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65221         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65222         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65223         file.
65225 2012-10-25  Roland McGrath  <roland@hack.frob.com>
65227         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65228         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65229         __getdirentries.
65231 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65232             Jim Blandy  <jimb@codesourcery.com>
65234         * scripts/cross-test-ssh.sh: New file.
65235         * manual/install.texi (Configuring and compiling): Document use of
65236         cross-test-ssh.sh.
65237         * INSTALL: Regenerated.
65239 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
65241         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65242         EOPNOTSUPP.
65244 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65246         * Makeconfig (run-program-prefix): Fix comment.
65248 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65249             Jim Blandy  <jimb@codesourcery.com>
65251         * Makeconfig (test-wrapper): New variable,
65252         (test-wrapper-env): Likewise.
65253         [$(cross-compiling) = yes && $(test-wrapper) != ""]
65254         (run-built-tests): Define to yes.
65255         (run-program-prefix): Use $(test-wrapper).
65256         (built-program-cmd): Likewise.
65257         * Rules (make-test-out): Use $(test-wrapper-env) and
65258         $(host-built-program-cmd).
65259         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65260         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65261         tst-pathopt.sh.
65262         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65263         $(test-wrapper-env) to tst-rtld-load-self.sh.
65264         ($(objpfx)order2.out): Use $(test-wrapper).
65265         ($(objpfx)tst-initorder.out): Likewise.
65266         ($(objpfx)tst-initorder2.out): Likewise.
65267         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65268         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65269         (test_wrapper_env): New variable.  Use it to run ld.so.
65270         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65271         Use it to run ld.so.
65272         (test_wrapper_env): Likewise.
65273         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65274         $(test-wrapper) to run-iconv-test.sh.
65275         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65276         (ICONV): Use $test_wrapper.
65277         * posix/Makefile ($(objpfx)globtest.out): Pass
65278         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65279         globtest.sh, not $(run-program-prefix).
65280         * posix/globtest.sh (run_via_rtld_prefix): New variable.
65281         (test_wrapper): Likewise.
65282         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
65283         set together with run_via_rtld_prefix.
65284         (run_program_prefix): Define in terms of test_wrapper and
65285         run_via_rtld_prefix.
65287 2012-10-24  Roland McGrath  <roland@hack.frob.com>
65289         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65290         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65291         Targets removed.
65293         [BZ #14743]
65294         * include/time.h: Remove librt_hidden_proto (clock_gettime).
65295         Declare __clock_getres, __clock_gettime, __clock_settime,
65296         __clock_nanosleep, and __clock_getcpuclockid.
65297         * rt/clock_gettime.c: Define __clock_gettime as an alias.
65298         Remove librt_hidden_def (clock_gettime).
65299         * sysdeps/unix/clock_gettime.c: Likewise.
65300         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65301         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65302         * rt/clock_getres.c: Define __clock_getres as an alias.
65303         * sysdeps/posix/clock_getres.c: Likewise.
65304         * rt/clock_settime.c: Define __clock_settime as an alias.
65305         * sysdeps/unix/clock_settime.c: Likewise.
65306         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65307         * sysdeps/unix/clock_nanosleep.c: Likewise.
65308         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65309         * rt/clock-compat.c: New file.
65310         * rt/Makefile (librt-routines): Add clock-compat and move
65311         $(clock-routines) to ...
65312         (routines): ... here, new variable.
65313         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65314         Don't add get_clockfreq here.
65315         * rt/Versions (libc: GLIBC_2.17): New version set.
65316         Add clock_* symbols here.
65317         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
65318         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65319         (GLIBC_2.17): Add clock_* symbols.
65320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65322         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65324         Likewise.
65325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65326         Likewise.
65327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65331         * NEWS: Mention the move.
65333         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65334         Use __open, __read, __close rather than their public counterparts.
65335         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65336         (__get_clockfreq_via_cpuinfo): Likewise.
65337         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65338         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65340         * config.h.in (HAVE_IFUNC): New #undef.
65341         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65342         was successful.
65343         * configure: Regenerated.
65345 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65347         * configure.in: Move READELF check to start of file.
65348         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65349         libc_cv_asm_gnu_indirect_function in the process.
65350         * configure: Regenerated.
65352 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65354         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65355         send the output to /dev/null.
65356         (libc_cv_cc_with_libunwind): Likewise.
65357         (libc_cv_as_noexecstack): Likewise.
65358         * configure: Regenerate.
65360 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65362         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65364         * posix/globtest.sh (TMPDIR): Do not set.
65365         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65366         (testout): Likewise.
65368 2012-10-24  Andreas Jaeger  <aj@suse.de>
65370         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65371         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65372         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65373         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65374         posix_fadvise64, posix_fallocate64.
65376         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65377         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65378         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65379         Likewise.
65380         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65381         Likewise.
65382         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65384         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65385         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65386         <bits/fcntl-linux.h>.
65387         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65389         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65390         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65391         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65392         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65393         [__WORDSIZE != 64]: Likewise.
65395 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65397         * Makeconfig (run-built-tests): New variable.
65398         * Rules [$(cross-compiling) = yes]: Change condition to
65399         [$(run-built-tests) = no].
65400         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65401         to [$(run-built-tests) = yes].
65402         * elf/Makefile [$(cross-compiling) = no]: Likewise.
65403         * grp/Makefile [$(cross-compiling) = no]: Likewise.
65404         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65405         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65406         * intl/Makefile [$(cross-compiling) = no]: Likewise.
65407         * io/Makefile [$(cross-compiling) = no]: Likewise.
65408         * libio/Makefile [$(cross-compiling) = no]: Likewise.
65409         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65410         * misc/Makefile [$(cross-compiling) = no]: Likewise.
65411         * posix/Makefile [$(cross-compiling) = no]: Likewise.
65412         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65413         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65414         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65415         * string/Makefile [$(cross-compiling) = no]: Likewise.
65417         * posix/Makefile ($(objpfx)globtest.out): Pass
65418         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65419         $(rtld-installed-name).
65420         * posix/globtest.sh (elf_objpfx): Remove variable.
65421         (rtld_installed_name): Likewise.
65422         (library_path): Likewise.
65423         (run_program_prefix): New variable.  Use for running globtest
65424         binary.
65426 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
65427             Joseph Myers  <joseph@codesourcery.com>
65429         * Makeconfig (host-built-program-cmd): New variable.
65430         * elf/Makefile (tst-stackguard1-ARGS): Use
65431         $(host-built-program-cmd).
65432         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65433         (tst-spawn-ARGS): Likewise.
65434         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65436 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65437             Jim Blandy  <jimb@codesourcery.com>
65439         * Makeconfig (run-via-rtld-prefix): New variable.
65440         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65441         (built-program-cmd): Likewise.
65443 2012-10-22  Andreas Jaeger  <aj@suse.de>
65445         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65446         __O_RSYNC if it exists, otherwise to O_SYNC.
65448 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
65449             Joseph Myers  <joseph@codesourcery.com>
65451         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65452         /dev/null.
65453         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65454         from /dev/null
65455         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65456         /dev/null.
65458 2012-10-22  Andreas Jaeger  <aj@suse.de>
65460         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65461         Define always.
65462         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65465         bits/fcntl-linux.h.
65467         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65468         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65470         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65471         to __O_LARGEFILE.
65472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65473         to __O_LARGEFILE.
65475 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
65476             Joseph Myers  <joseph@codesourcery.com>
65478         * config.make.in (NM): New variable.
65480 2012-10-21  Andreas Jaeger  <aj@suse.de>
65482         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65483         definitions and declarations that are provided by
65484         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65486 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65488         [BZ #14683]
65489         * elf/Makefile (tests-static): Add tst-leaks1-static.
65490         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65491         ($(objpfx)tst-leaks1-static): New rule.
65492         ($(objpfx)tst-leaks1-static-mem): Likewise.
65493         (tst-leaks1-static-ENV): New macro.
65494         * elf/dl-open.c (dl_open_worker): Check the main application
65495         only if SHARED is defined.
65496         * elf/tst-leaks1-static.c: New file.
65498 2012-10-20  Andreas Jaeger  <aj@suse.de>
65500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65501         generic values for Linux.
65502         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65503         and declarations that are provided by <bits/fcntl-linux.h> and
65504         include <bits/fcntl-linux.h>.
65505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65506         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65508 2012-10-20  Roland McGrath  <roland@hack.frob.com>
65510         * io/fcntl.h: Move include of <bits/types.h> to the top and
65511         include it unconditionally.
65513 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65515         * wcsmbs/Makefile (tests-ifunc): New variable.
65516         (tests): Add $(tests-ifunc).
65517         * wcsmbs/test-wcschr-ifunc.c: New file.
65518         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65519         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65520         * wcsmbs/test-wcslen-ifunc.c: Likewise.
65521         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65522         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65524         * string/Makefile (tests-ifunc): New variable.
65525         (tests): Add $(tests-ifunc).
65526         * string/test-memccpy.c (TEST_NAME): New macro.
65527         * string/test-memchr.c (TEST_NAME): Likewise.
65528         * string/test-memcmp.c (TEST_NAME): Likewise.
65529         * string/test-memcpy.c (TEST_NAME): Likewise.
65530         * string/test-memmem.c (TEST_NAME): Likewise.
65531         * string/test-memmove.c (TEST_NAME): Likewise.
65532         * string/test-memset.c (TEST_NAME): Likewise.
65533         * string/test-rawmemchr.c (TEST_NAME): Likewise.
65534         * string/test-stpcpy.c (TEST_NAME): Likewise.
65535         * string/test-stpncpy.c (TEST_NAME): Likewise.
65536         * string/test-strcasecmp.c (TEST_NAME): Likewise.
65537         * string/test-strcasestr.c (TEST_NAME): Likewise.
65538         * string/test-strcat.c (TEST_NAME): Likewise.
65539         * string/test-strchr.c (TEST_NAME): Likewise.
65540         * string/test-strcmp.c(TEST_NAME): Likewise.
65541         * string/test-strcpy.c (TEST_NAME): Likewise.
65542         * string/test-strcspn.c (TEST_NAME): Likewise.
65543         * string/test-strlen.c (TEST_NAME): Likewise.
65544         * string/test-strncasecmp.c (TEST_NAME): Likewise.
65545         * string/test-strncmp.c (TEST_NAME): Likewise.
65546         * string/test-strncpy.c (TEST_NAME): Likewise.
65547         * string/test-strnlen.c (TEST_NAME): Likewise.
65548         * string/test-strpbrk.c (TEST_NAME): Likewise.
65549         * string/test-strrchr.c (TEST_NAME): Likewise.
65550         * string/test-strspn.c (TEST_NAME): Likewise.
65551         * string/test-strstr.c (TEST_NAME): Likewise.
65552         * string/test-bcopy-ifunc.c: New file.
65553         * string/test-bzero-ifunc.c: Likewise.
65554         * string/test-memccpy-ifunc.c: Likewise.
65555         * string/test-memchr-ifunc.c: Likewise.
65556         * string/test-memcmp-ifunc.c: Likewise.
65557         * string/test-memcpy-ifunc.c: Likewise.
65558         * string/test-memmem-ifunc.c: Likewise.
65559         * string/test-memmove-ifunc.c: Likewise.
65560         * string/test-mempcpy-ifunc.c: Likewise.
65561         * string/test-memset-ifunc.c: Likewise.
65562         * string/test-rawmemchr-ifunc.c: Likewise.
65563         * string/test-stpcpy-ifunc.c: Likewise.
65564         * string/test-stpncpy-ifunc.c: Likewise.
65565         * string/test-strcasecmp-ifunc.c: Likewise.
65566         * string/test-strcasestr-ifunc.c: Likewise.
65567         * string/test-strcat-ifunc.c: Likewise.
65568         * string/test-strchr-ifunc.c: Likewise.
65569         * string/test-strchrnul-ifunc.c: Likewise.
65570         * string/test-strcmp-ifunc.c: Likewise.
65571         * string/test-strcpy-ifunc.c: Likewise.
65572         * string/test-strcspn-ifunc.c: Likewise.
65573         * string/test-strlen-ifunc.c: Likewise.
65574         * string/test-strncasecmp-ifunc.c: Likewise.
65575         * string/test-strncat-ifunc.c: Likewise.
65576         * string/test-strncmp-ifunc.c: Likewise.
65577         * string/test-strncpy-ifunc.c: Likewise.
65578         * string/test-strnlen-ifunc.c: Likewise.
65579         * string/test-strpbrk-ifunc.c: Likewise.
65580         * string/test-strrchr-ifunc.c: Likewise.
65581         * string/test-strspn-ifunc.c: Likewise.
65582         * string/test-strstr-ifunc.c: Likewise.
65584         * debug/Makefile (tests-ifunc): New variable.
65585         (tests): Add $(tests-ifunc).
65586         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65587         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65588         * debug/test-stpcpy_chk-ifunc.c: New file.
65589         * debug/test-strcpy_chk-ifunc.c: Likewise.
65591 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65593         [BZ #13601]
65594         * elf/dl-load.c (open_verify): Retry read if the entire ELF
65595         header is not read in.
65597 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
65599         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
65600         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
65601         directly.  Pass built executable to script as
65602         $(built-program-cmd).
65603         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
65604         $testprogram without using LD_LIBRARY_PATH and $ldso.
65606         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65607         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65608         $(rtld-installed-name).
65609         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65610         (rtld_installed_name): Likewise.
65611         (library_path): Likewise.
65612         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
65613         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65614         $(run-program-prefix) to tst-tables.sh.
65615         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
65616         it to run tst-table-from and tst-table-to.
65617         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65618         Pass it to tst-table.sh.
65619         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65620         $(run-program-prefix) to tst-gettext.sh.
65621         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65622         tst-translit.sh.
65623         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65624         tst-gettext2.sh.
65625         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
65626         to run tst-gettext.
65627         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
65628         to run tst-gettext2.
65629         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
65630         to run tst-translit.
65631         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65632         $(run-program-prefix) to tst-mtrace.sh.
65633         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
65634         to run tst-mtrace.
65635         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65636         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65637         $(rtld-installed-name).
65638         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65639         (rtld_installed_name): Likewise.
65640         (run_program_prefix): New variable.  Use it to run wordexp-test.
65642         * Makeconfig (ARCH): Remove all definitions.
65643         (machine): Likewise.
65644         [ARCH]: Remove conditional code.
65645         [!objdir]: Give error.
65646         [!objdir] (objpfx): Remove.
65647         [!objdir] (common-objpfx): Likewise.
65648         [!objdir] (common-objdir): Likewise.
65649         * configure.in (config_makefile): Remove.  Hardcode Makefile in
65650         AC_CONFIG_FILES call.
65651         * configure: Regenerated.
65653         [BZ #13888]
65654         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65655         or TMPDIR.
65656         (testout): Likewise.
65658         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65659         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65660         $(rtld-installed-name).
65661         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65662         (rtld_installed_name): Likewise.
65663         (runit): Remove function.
65664         (run_getconf): New variable,  Use it for running getconf binary.
65666 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
65668         [BZ #14716]
65669         * string/test-memmem.c (check_result): New function.
65670         (do_one_test): Use it.
65671         (check1): New function.
65672         (test_main): Use it.
65674 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
65676         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65678 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
65680         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65681         (_G_LSEEK64): Likewise.
65682         (_G_MMAP64): Likewise.
65683         (_G_FSTAT64): Likewise.
65684         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65685         (_G_LSEEK64): Likewise.
65686         (_G_MMAP64): Likewise.
65687         (_G_FSTAT64): Likewise.
65688         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65689         unconditional.  Call __mmap64 directly.
65690         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65691         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
65692         __lseek64 directly.
65693         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65694         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
65695         __mmap64 directly.
65696         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65697         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65698         __lseek64 directly.
65699         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65700         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65701         __lseek64 directly.
65702         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65703         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
65704         __lseek64 directly.
65705         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65706         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
65707         __fxstat64 directly.
65708         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65709         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65710         unconditional.
65711         (freopen64) [!_G_OPEN64]: Remove conditional code.
65712         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65713         unconditional.
65714         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65715         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65716         unconditional.
65717         (ftello64) [!_G_LSEEK64]: Remove conditional code.
65718         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65719         unconditional.
65720         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65721         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65722         unconditional.
65723         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65724         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65725         unconditional.
65726         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65727         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65728         unconditional.
65729         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65730         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65731         unconditional.
65732         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65734 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65736         [BZ #12140]
65737         * manual/memory.texi (Malloc Tunable Parameters): Add note
65738         about free list pointers overwriting some perturb bytes.
65739         Wording suggested by Roland McGrath.
65741 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
65743         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65744         (lgamma_test): Likewise.
65745         (tgamma_test): Likewise.
65747 2012-10-16  Florian Weimer  <fweimer@redhat.com>
65749         [BZ #14700]
65750         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65751         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65753 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
65755         * NEWS: Mention BZ #14716.
65756         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65757         when removing AVAILABLE1_USES_J macro.
65759 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
65761         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65762         (__bswap_64): __uint64_t for unsigned 64-bit int.
65764 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
65766         * include/string.h (memmem): Declare libc hidden alias.
65767         * string/memmem.c (memmem): Define libc hidden alias.
65768         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65769         __read, __close instead of open, read, close.
65771 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
65773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65774         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65775         global and hidden.
65776         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65777         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65778         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65779         Likewise.
65780         (__rawmemchr_sse2): Likewise.
65781         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65782         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65783         (__strchr_sse2): Likewise.
65784         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65785         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65786         (__strcasecmp_sse2): Likewise.
65787         (__strncasecmp_sse2): Likewise.
65788         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65789         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65790         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65791         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65792         (__strrchr_sse2): Likewise.
65793         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65794         ifunc-impl-list.c.
65795         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65796         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65797         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65798         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65799         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65800         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65801         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65802         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65803         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65804         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65805         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65806         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65807         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65808         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65809         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65810         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65811         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65812         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65813         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65814         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65815         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65816         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65817         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65818         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65819         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65820         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65821         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65822         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65823         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65824         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65826         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65827         global and hidden.
65828         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65829         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65830         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65831         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65832         Likewise.
65833         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65834         Likewise.
65835         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65836         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65837         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65838         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65839         ifunc-impl-list.c.
65840         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65841         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65842         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65843         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65844         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65845         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65846         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65847         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65848         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65849         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65850         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65851         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65852         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65853         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65854         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65855         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65856         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65857         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65858         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65859         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65860         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65861         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65862         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65863         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65864         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65865         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65866         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65867         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65868         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65869         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65870         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65871         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65872         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65873         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65874         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65875         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65876         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65877         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65878         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65879         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65880         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65882         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65883         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65884         * include/ifunc-impl-list.h: New file.
65885         * misc/ifunc-impl-list.c: Likewise.
65886         * misc/Makefile (routines): Add ifunc-impl-list.
65887         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65888         * string/test-string.h: Include <ifunc-impl-list.h>.
65889         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65890         TEST_NAME]: New variables.
65891         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65892         are defined.
65893         (test_init): Call __libc_ifunc_impl_list to initialize
65894         func_list if TEST_IFUNC and TEST_NAME are defined.
65896         * string/Makefile (strop-tests): Add bcopy and bzero.
65897         * string/test-bcopy.c: New file.
65898         * string/test-bzero.c: Likewise.
65899         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65900         defined.
65901         * string/test-memset.c: Support bzero test if TEST_BZERO is
65902         defined.
65903         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65904         __libc_memmove.
65905         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65906         __libc_memset.
65907         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65908         of memset.
65910 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
65912         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65913         * configure: Regenerated.
65915         * Makeconfig (+link-static-before-libc): Don't include
65916         $(link-static-libc).
65918         * libio/libio.h (_IO_pos_t): Remove.
65920 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65922         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65923         McGrath.
65925 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65927         * crypt/crypt-entry.c: Include fips-private.h.
65928         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65929         * crypt/md5c-test.c (main): Tolerate disabled MD5.
65930         * sysdeps/unix/sysv/linux/fips-private.h: New file.
65931         * sysdeps/generic/fips-private.h: New file, dummy fallback.
65933 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65935         * crypt/crypt-private.h: Include stdbool.h.
65936         (_ufc_setup_salt_r): Return bool.
65937         * crypt/crypt-entry.c: Include errno.h.
65938         (__crypt_r): Return NULL with EINVAL for bad salt.
65939         * crypt/crypt_util.c (bad_for_salt): New.
65940         (_ufc_setup_salt_r): Check that salt is long enough and within
65941         the specified alphabet.
65942         * crypt/badsalttest.c: New file.
65943         * crypt/Makefile (tests): Add it.
65944         ($(objpfx)badsalttest): New.
65946 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
65948         * NEWS: Add entry for BZ #14602.
65950 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65952         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65953         type-generic.
65954         * math/libm-test.inc: Update comment listing what functions and
65955         macros are tested.
65956         (isgreater_test): New function.
65957         (isgreaterequal_test): Likewise.
65958         (isless_test): Likewise.
65959         (islessequal_test): Likewise.
65960         (islessgreater_test): Likewise.
65961         (isunordered_test): Likewise.
65962         (main): Call the new functions.
65964 2012-10-09  Roland McGrath  <roland@hack.frob.com>
65966         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65967         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65968         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65969         * sysdeps/i386/configure: Regenerated.
65970         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65971         * sysdeps/mach/configure: Regenerated.
65972         * sysdeps/mach/hurd/configure: Regenerated.
65973         * sysdeps/powerpc/configure: Regenerated.
65974         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65975         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65976         * sysdeps/s390/s390-32/configure: Regenerated.
65977         * sysdeps/s390/s390-64/configure: Regenerated.
65978         * sysdeps/sh/configure: Regenerated.
65979         * sysdeps/sparc/configure: Regenerated.
65980         * sysdeps/unix/sysv/linux/configure: Regenerated.
65981         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65982         * sysdeps/x86_64/configure: Regenerated.
65984         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65985         defined.  Don't check if MAP is NULL.
65987 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65989         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65990         (_G_stat64): Likewise.
65991         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65992         (_G_stat64): Likewise.
65993         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65994         instead of struct _G_stat64.
65995         * libio/fileops.c (mmap_remap_check): Likewise.
65996         (decide_maybe_mmap): Likewise.
65997         (_IO_new_file_seekoff): Likewise.
65998         (_IO_file_stat): Likewise.
65999         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
66000         _G_off64_t.
66001         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
66002         instead of struct _G_stat64.
66003         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66005 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
66007         [BZ #14602]
66008         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66009         Replace with ...
66010         (CHECK_EOL): New macro.
66011         (two_way_short_needle): Check beginning of haystack for EOL.  Use
66012         CHECK_EOL.
66013         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66014         Replace with CHECK_EOL.
66015         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66016         Replace with CHECK_EOL.
66018 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
66020         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
66021         type-generic.
66022         * math/libm-test.inc: Update comment listing what functions and
66023         macros are tested.
66024         (finite_test): New function.
66025         (isinf_test): Likewise.
66026         (isnan_test): Likewise.
66027         (fpclassify_test): Test subnormal input.
66028         (isfinite_test): Likewise.
66029         (isnormal_test): Likewise.
66030         (main): Call the new functions.
66032 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
66034         [BZ #14660]
66035         * Makerules (%.dynsym): Force C locale when running
66036         $(OBJDUMP) --dynamic-syms.
66038 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
66040         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
66041         <stdint.h>.
66043 2012-10-06  David S. Miller  <davem@davemloft.net>
66045         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
66046         upper 32-bits of the length value in %o2 since we use branch-on-register
66047         tests which consider the entire 64-bit register.
66049 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
66051         * string/test-strstr.c (check2): Add a test for page boundary.
66053 2012-10-05  David S. Miller  <davem@davemloft.net>
66055         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
66056         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
66057         file.
66058         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66059         sysdep_routines.
66060         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66061         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
66062         and bzero when HWCAP_SPARC_CRYPTO is present.
66064 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
66066         [BZ #14602]
66067         * string/test-strstr.c (check2): New function.
66068         (test_main): Call check2.
66070         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
66071         and bug-strchr1.
66072         * string/bug-strcasestr1.c (do_test): Moved to ...
66073         * string/test-strcasestr.c (check1): Here.  New function.
66074         (do_one_test): Break out result checking code into ...
66075         (check_result): This.  New function.
66076         (do_one_test): Call check_result.
66077         (test_main): Call check1.
66078         * string/bug-strchr1.c (do_test): Moved to ...
66079         * string/test-strchr.c (check1): Here.  New function.
66080         (do_one_test): Break out result checking code into ...
66081         (check_result): This.  New function.
66082         (do_one_test): Call check_result.
66083         (test_main): Call check1.
66084         * string/bug-strstr1.c (main): Moved to ...
66085         * string/test-strstr.c (check1): Here.  New function.
66086         (do_one_test): Break out result checking code into ...
66087         (check_result): This.  New function.
66088         (do_one_test): Call check_result.
66089         (test_main): Call check1.
66090         * string/bug-strcasestr1.c: Removed.
66091         * string/bug-strchr1.c: Likewise.
66092         * string/bug-strstr1.c: Likewise.
66094         * elf/Makefile (dl-routines): Add hwcaps.
66095         * elf/dl-support.c (_dl_important_hwcaps): Removed.
66096         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66097         (_dl_important_hwcaps): Moved to ...
66098         * elf/dl-hwcaps.c: Here.  New file.
66099         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
66101         [BZ #14557]
66102         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
66103         if IS_IN_rtld isn't defined.
66105         * elf/dl-support.c (_dl_sysinfo_map): New.
66106         Include "get-dynamic-info.h" and "setup-vdso.h".
66107         (_dl_non_dynamic_init): Call setup_vdso.
66108         * elf/dynamic-link.h: Don't include <assert.h>.
66109         (elf_get_dynamic_info): Moved to ...
66110         * elf/get-dynamic-info.h: Here.  New file.
66111         * elf/dynamic-link.h: Include "get-dynamic-info.h".
66112         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
66113         * elf/setup-vdso.h: Here.  New file.
66114         * elf/rtld.c: Include "setup-vdso.h".
66115         (dl_main): Call setup_vdso.
66117 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
66119         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
66120         creal in comment listing functions tested.  List finite, isinf,
66121         isnan, isless, islessequal, isgreater, isgreaterequal,
66122         islessgreater, isunordered, lgamma_r and pow10 as functions and
66123         macros not tested.  Mention which functions not tested are aliases
66124         for other functions.  Fix typo.  Note that signs of NaNs are not
66125         tested.
66127         * scripts/config.guess: Update from config.git.
66128         * scripts/config.sub: Likewise.
66130 2012-10-04  Roland McGrath  <roland@hack.frob.com>
66132         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
66133         * misc/madvise.c (madvise): Renamed to __madvise.
66134         Make madvise a weak alias.
66135         * include/sys/mman.h: Declare __madvise.
66136         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
66137         * sysdeps/unix/syscalls.list
66138         (madvise): Make __madvise the strong name, and madvise a weak alias.
66139         * sysdeps/unix/sysv/linux/syscalls.list
66140         (madvise, mmap): Remove redundant entries.
66141         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
66142         * malloc/malloc.c (mtrim): Likewise.
66143         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
66145 2012-10-03  Roland McGrath  <roland@hack.frob.com>
66147         * sysdeps/mach/hurd/dl-cache.c: File removed.
66148         * config.h.in (USE_LDCONFIG): New #undef.
66149         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
66150         * configure: Regenerated.
66151         * elf/Makefile (dl-routines): Add dl-cache only under
66152         [$(use-ldconfig) = yes].
66153         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
66154         cache on [USE_LDCONFIG].
66155         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
66156         [USE_LDCONFIG].
66157         * elf/rtld.c (dl_main): Likewise.
66159 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
66161         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
66162         _SC_LEVEL4_CACHE_LINESIZE.
66164 2012-10-03  Roland McGrath  <roland@hack.frob.com>
66166         * sysdeps/unix/bsd/confstr.h: File removed.
66168 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
66170         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
66171         sys/sdt-config.h.
66173 2012-10-02  Roland McGrath  <roland@hack.frob.com>
66175         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
66176         Make 'mapoff' field ElfW(Off) rather than off_t.
66178 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
66180         * nscd/Makefile: Remove nscd-cflags and all its users.
66181         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
66182         (CFLAGS-nonlib): Add compiler flags for nscd modules.
66184         [BZ #10631]
66185         * malloc.c (malloc_printerr): Clarify error message.
66187 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
66189         [BZ #14648]
66190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66191         Set bit_FMA_Usable if FMA is supported.
66192         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66193         macro.
66194         (bit_FMA4_Usable): Updated.
66195         (index_FMA_Usable): New macro.
66196         (CPUID_FMA): Likewise.
66197         (HAS_FMA): Defined with bit_FMA_Usable.
66199 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66201         * bits/types.h (__swblk_t): Type removed.
66202         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66203         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66204         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66205         (__SWBLK_T_TYPE): Likewise.
66206         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66207         (__SWBLK_T_TYPE): Likewise.
66208         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66209         (__SWBLK_T_TYPE): Likewise.
66210         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66211         (__SWBLK_T_TYPE): Likewise.
66213 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
66214             Honza Horak <hhorak@redhat.com>
66216         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66217         (xdr_mapname): Use YPMAXMAP as maxsize.
66218         (xdr_peername): Use YPMAXPEER as maxsize.
66219         (xdr_keydat): Use YPAXRECORD as maxsize.
66220         (xdr_valdat): Use YPMAXRECORD as maxsize.
66222 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66224         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66226         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66227         * csu/init-first.c: ... here.
66228         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66229         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66230         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66231         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66232         * sysdeps/i386/init-first.c: File removed.
66233         * sysdeps/sh/init-first.c: File removed.
66235 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
66237         [BZ #14645]
66238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66239         if x * y might underflow to zero and z is zero.
66240         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66241         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66242         * math/libm-test.inc (min_subnorm_value): New variable.
66243         (fma_test): Add more tests.
66244         (fma_test_towardzero): Likewise.
66245         (fma_test_downward): Likewise.
66246         (fma_test_upward): Likewise.
66247         (initialize): Set min_subnorm_value.
66249 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
66251         [BZ #14638]
66252         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66253         0 + 0.
66254         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66255         mode for addition resulting in exact zero.
66256         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66257         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66258         exact 0 + 0.
66259         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66260         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66261         * math/libm-test.inc (fma_test): Add more tests.
66262         (fma_test_towardzero): New function.
66263         (fma_test_downward): Likewise.
66264         (fma_test_upward): Likewise.
66265         (main): Call the new functions.
66267 2012-09-28  David S. Miller  <davem@davemloft.net>
66269         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66271 2012-09-28  Roland McGrath  <roland@hack.frob.com>
66273         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66274         instead of SIGALRM.
66276         * sysdeps/gnu/_G_config.h: Moved to ...
66277         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66278         * sysdeps/mach/hurd/_G_config.h: Moved to ...
66279         * sysdeps/generic/_G_config.h: ... here.
66281         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
66283         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66285         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66286         Conditionalize target on [libnss_test1.so-version].
66288         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66290         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66291         (elfobjdir): Move out of conditionals.
66293         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66294         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66295         (__nss_lookup_function): Conditionalize label remove_from_tree on
66296         [!DO_STATIC_NSS || SHARED], matching its only use.
66298 2012-09-28  David S. Miller  <davem@davemloft.net>
66300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66301         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66302         file.
66303         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66304         sysdep_routines.
66305         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66306         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66307         when HWCAP_SPARC_CRYPTO is present.
66309 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66311         * io/tst-mknodat.c: Create a FIFO instead of a socket.
66313 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
66315         [BZ #6530]
66316         * stdio-common/vfprintf.c (process_string_arg): Revert
66317         2000-07-22 change.
66319 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
66321         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66322         for testcase.
66323         * stdio-common/tst-sprintf.c: Include <locale.h>
66324         (main): Test sprintf's handling of incomplete multibyte
66325         characters.
66327 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
66329         * elf/dl-runtime.c (VERSYMIDX): Removed.
66330         * elf/dl-version.c (VERSYMIDX): Likewise.
66331         * elf/do-rel.h (VERSYMIDX): Likewise.
66332         (VALIDX): Likewise.
66333         * elf/dynamic-link.h (VERSYMIDX): Likewise.
66334         * elf/rtld.c (VALIDX): Likewise.
66335         (ADDRIDX): Likewise.
66336         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66337         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66338         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66339         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66340         (VALIDX): Likewise.
66341         (ADDRIDX): Likewise.
66343 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66345         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66347 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
66349         [BZ #11438]
66350         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66351         to global scope.
66352         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66353         addresses are in the same scope as 192.0.2/24.
66354         * posix/gai.conf: Document new scope table defaults.
66356 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66358         [BZ #5298]
66359         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66360         for ftell.  Compute offsets from write pointers instead.
66361         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66363 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66365         [BZ #14543]
66366         * libio/Makefile (tests): New test case tst-fseek.
66367         * libio/tst-fseek.c: New test case to verify that fseek/ftell
66368         combination works in wide mode.
66369         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66370         state when the external buffer state changes.
66372 2012-09-27  David S. Miller  <davem@davemloft.net>
66374         [BZ #14376]
66375         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66376         pass reloc->r_addend in as the 'high' argument to
66377         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66381 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66383         * rt/tst-aio2.c: Include <pthread.h>.
66384         * rt/tst-aio3.c: Likewise.
66386 2012-09-27  Steve Ellcey  <sellcey@mips.com>
66388         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66390 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
66392         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66393         contents on [SHARED].
66395 2012-09-26  Marek Polacek  <polacek@redhat.com>
66397         [BZ #14530]
66398         [BZ #13741]
66399         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66400         for C++ and GCC <4.3 as well as for non GCC compilers.
66402 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66406 2012-09-25  Roland McGrath  <roland@hack.frob.com>
66408         * Makefile.in (all, install): Declare with .PHONY.
66409         Reported by Michael Hope <michael.hope@linaro.org>.
66411 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66413         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66414         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66415         system header.
66416         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66417         Likewise.
66418         (sydep_routines): Add the new and the internal functions.
66419         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66420         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66422         (GLIBC_2.17): Add the new function.
66423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66424         (GLIBC_2.17): Likewise.
66425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66426         (GLIBC_2.17): Likewise.
66427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66428         (GLIBC_2.17): Likewise.
66429         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66431 2012-09-25  Alan Modra  <amodra@gmail.com>
66433         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66434         Add release barrier before setting once_control to say
66435         initialisation is done.  Add hints on lwarx.  Use macro in
66436         place of isync.
66437         (clear_once_control): Add release barrier.
66439 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66441         [BZ #13629]
66442         * math/s_clog.c (__clog): Handle more values close to |z| = 1
66443         specially.
66444         * math/s_clog10.c (__clog10): Likewise.
66445         * math/s_clog10f.c (__clog10f): Likewise.
66446         * math/s_clog10l.c (__clog10l): Likewise.
66447         * math/s_clogf.c (__clogf): Likewise.
66448         * math/s_clogl.c (__clogl): Likewise.
66449         * math/Makefile (libm-calls): Add x2y2m1.
66450         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66451         (__x2y2m1): Likewise.
66452         (__x2y2m1l): Likewise.
66453         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66454         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66455         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66456         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66457         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66458         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66459         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66460         * sysdeps/i386/fpu/libm-test-ulps: Update.
66461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66463         [BZ #14621]
66464         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66465         int as type of variable DEPTH.
66466         (glob): Use size_t instead of int as type of variables NEWCOUNT
66467         and OLD_PATHC.
66469 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66471         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66472         Add s_sincosf-sse2.
66473         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66474         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66475         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66476         macros for using routine as __sincosf_ia32.
66477         Use macro for function declaration and weak_alias.
66478         * sysdeps/i386/fpu/libm-test-ulps: Update.
66480         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66483         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66484         subnormal argument.
66485         * math/s_cexpf.c (__cexpf): Likewise.
66486         * math/s_csinf.c (__csinf): Likewise.
66487         * math/s_csinhf.c (__csinhf): Likewise.
66488         * math/s_ctanf.c (__ctanf): Likewise.
66489         * math/s_ctanhf.c (__ctanhf): Likewise.
66490         * math/s_ccosh.c (__ccoshf): Likewise.
66491         * math/s_cexp.c (__cexpl): Likewise.
66492         * math/s_csin.c (__csin): Likewise.
66493         * math/s_csinh.c (__csinh): Likewise.
66494         * math/s_ctan.c (__ctan): Likewise.
66495         * math/s_ctanh.c (ctanh): Likewise.
66496         * math/s_ccoshl.c (__ccoshl): Likewise.
66497         * math/s_cexpl.c (__cexpl): Likewise.
66498         * math/s_csinl.c (__csinl): Likewise.
66499         * math/s_csinhl.c (__csinhl): Likewise.
66500         * math/s_ctanl.c (__ctanl): Likewise.
66501         * math/s_ctanhl.c (__ctanhl): Likewise.
66503 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66505         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66506         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66507         (_IO_off_t): Define to __off_t, not _G_off_t.
66508         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66509         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66510         (_IO_wint_t): Define to wint_t, not _G_wint_t.
66511         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66512         type of __dummy and __dummy2 fields.
66513         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66514         (_G_ssize_t): Likewise.
66515         (_G_off_t): Likewise.
66516         (_G_pid_t): Likewise.
66517         (_G_uid_t): Likewise.
66518         (_G_wchar_t): Likewise.
66519         (_G_wint_t): Likewise.
66520         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66521         (_G_ssize_t): Likewise.
66522         (_G_off_t): Likewise.
66523         (_G_pid_t): Likewise.
66524         (_G_uid_t): Likewise.
66525         (_G_wchar_t): Likewise.
66526         (_G_wint_t): Likewise.
66527         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66528         (_G_ssize_t): Likewise.
66529         (_G_off_t): Likewise.
66530         (_G_pid_t): Likewise.
66531         (_G_uid_t): Likewise.
66532         (_G_wchar_t): Likewise.
66533         (_G_wint_t): Likewise.
66535 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66537         * malloc/arena.c: Include malloc-sysdep.h.
66538         (shrink_heap): Use check_may_shrink_heap to decide if madvise
66539         is sufficient to shrink the heap or an unmap is needed.
66540         * sysdeps/generic/malloc-sysdep.h: New file.  Define
66541         new function check_may_shrink_heap.
66542         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
66543         new function check_may_shrink_heap.
66545 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66547         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66548         comments.
66550 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
66552         * catgets/test-gencat.sh: Add "set -e".
66553         * elf/tst-pathopt.sh: Likewise.
66554         * grp/tst_fgetgrent.sh: Likewise.
66555         * iconvdata/run-iconv-test.sh: Likewise.
66556         * intl/tst-gettext.sh: Likewise.
66557         * intl/tst-gettext2.sh: Likewise.
66558         * intl/tst-gettext4.sh: Likewise.
66559         * intl/tst-gettext6.sh: Likewise.
66560         * intl/tst-translit.sh: Likewise.
66561         * io/ftwtest-sh: Likewise.
66562         * libio/test-freopen.sh: Likewise.
66563         * malloc/tst-mtrace.sh: Likewise.
66564         * posix/globtest.sh: Likewise.
66565         * posix/tst-getconf.sh: Likewise.
66566         * posix/wordexp-tst.sh: Likewise.
66567         * stdio-common/tst-printf.sh: Likewise.
66568         * stdio-common/tst-unbputc.sh: Likewise.
66569         * stdlib/tst-fmtmsg.sh: Likewise.
66570         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66571         * catgets/Makefile: Do not specify -e option when running
66572         testsuite shell scripts.
66573         * elf/Makefile: Likewise.
66574         * grp/Makefile: Likewise.
66575         * iconvdata/Makefile: Likewise.
66576         * intl/Makefile: Likewise.
66577         * io/Makefile: Likewise.
66578         * libio/Makefile: Likewise.
66579         * malloc/Makefile: Likewise.
66580         * posix/Makefile: Likewise.
66581         * stdio-common/Makefile: Likewise.
66582         * stdlib/Makefile: Likewise.
66583         * sysdeps/x86_64/Makefile: Likewise.
66585         * io/ftwtest-sh: Add copyright header.
66586         * posix/globtest.sh: Likewise.
66587         * posix/tst-getconf.sh: Likewise.
66588         * posix/wordexp-tst.sh: Likewise.
66589         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66591 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
66593         [BZ #13679]
66594         * Makeconfig (+link): Defined as $(+link-static) if
66595         $(build-shared) isn't yes.
66596         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66597         isn't yes.
66598         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66600         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66602         [BZ #14562]
66603         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66604         new chunk size with MALLOC_ALIGN_MASK.
66606 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
66608         [BZ #5044]
66609         * stdio-common/printf_fphex.c: Include <stdbool.h> and
66610         <rounding-mode.h>.
66611         (__printf_fphex): Determine rounding using get_rounding_mode and
66612         round_away.
66613         * stdio-common/tst-printf-round.c (struct hex_test): New
66614         structure.
66615         (hex_tests): New variable.
66616         (test_hex_in_one_mode): New function.
66617         (do_test): Also run tests for hex float output.
66619 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
66621         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66622         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66623         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66624         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66625         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66626         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66627         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66628         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66630 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
66632         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66633         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66634         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66635         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66637 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
66639         [BZ #14579]
66640         * elf/rtld.c (dl_main): Limit the check for self loading to normal
66641         mode only.
66642         * elf/tst-rtld-load-self.sh: New test.
66643         * elf/Makefile: Run it.
66645 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
66647         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66648         (tst-writev-ENV): Remove.
66649         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66651 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
66653         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66655 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
66657         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66658         unconditional.
66659         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66660         Likewise.
66661         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66662         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66663         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66664         Likewise.
66666 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
66668         [BZ #14587]
66669         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66670         * config.make.in (have-cpp-asm-debuginfo): Removed.
66671         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66672         * configure: Regenerated.
66674 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
66676         [BZ #5044]
66677         * stdio-common/printf_fp.c: Include <stdbool.h> and
66678         <rounding-mode.h>.
66679         (___printf_fp): Determine rounding using get_rounding_mode and
66680         round_away.
66681         * stdio-common/tst-printf-round.c: New file.
66682         * stdio-common/Makefile (tests): Add tst-printf-round.
66683         (link-libm): New variable.
66684         ($(objpfx)tst-printf-round): Depend in $(link-libm).
66686 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
66688         [BZ #14576]
66689         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66690         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66691         Likewise.
66692         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66693         Likewise.
66695 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
66697         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66698         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66699         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66700         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66702 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
66704         [BZ #14518]
66705         * include/rounding-mode.h: New file.
66706         * sysdeps/generic/get-rounding-mode.h: Likewise.
66707         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66708         * stdlib/strtod_l.c: Include <rounding-mode.h>.
66709         (MAX_VALUE): New macro.
66710         (MIN_VALUE): Likewise.
66711         (overflow_value): New function.
66712         (underflow_value): Likewise.
66713         (round_and_return): Use overflow_value and underflow_value to
66714         determine return values in overflow and underflow cases.  Use
66715         round_away to determine rounding depending on rounding mode.
66716         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66717         determine return values in overflow and underflow cases.
66718         * stdlib/tst-strtod-round.c: Include <fenv.h>.
66719         (struct test_results): New structure.
66720         (struct test): Use struct test_results to store expected results
66721         for all rounding modes.
66722         (TEST): Include expected results for all rounding modes.
66723         (test_in_one_mode): New function.
66724         (do_test): Use test_in_one_mode to compute and check results.
66725         Check results for all rounding modes.
66726         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66727         $(link-libm).
66729 2012-12-09  Allan McRae  <allan@archlinux.org>
66731         * sysdeps/i386/fpu/libm-test-ulps: Update
66733 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
66735         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66736         (_G_int32_t): Likewise.
66737         (_G_uint16_t): Likewise.
66738         (_G_uint32_t): Likewise.
66739         (_G_HAVE_BOOL): Likewise.
66740         (_G_HAVE_ATEXIT): Likewise.
66741         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66742         (_G_HAVE_IO_FILE_OPEN): Likewise.
66743         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66744         (_G_int32_t): Likewise.
66745         (_G_uint16_t): Likewise.
66746         (_G_uint32_t): Likewise.
66747         (_G_HAVE_BOOL): Likewise.
66748         (_G_HAVE_ATEXIT): Likewise.
66749         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66750         (_G_HAVE_IO_FILE_OPEN): Likewise.
66751         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66752         (_G_int32_t): Likewise.
66753         (_G_uint16_t): Likewise.
66754         (_G_uint32_t): Likewise.
66755         (_G_HAVE_BOOL): Likewise.
66756         (_G_HAVE_ATEXIT): Likewise.
66757         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66758         (_G_HAVE_IO_FILE_OPEN): Likewise.
66760 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
66762         * csu/libc-tls.c: Update copyright years.
66764 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
66766         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66767         [!_G_USING_THUNKS]: Remove conditional code.
66768         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66769         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66771         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66772         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66773         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66774         (_G_VTABLE_LABEL_PREFIX): Likewise.
66775         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66776         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66777         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66778         (_G_VTABLE_LABEL_PREFIX): Likewise.
66779         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66780         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66781         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66782         (_G_VTABLE_LABEL_PREFIX): Likewise.
66783         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66785 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
66787         * libio/Makefile: Include ../Makeconfig before tests.
66788         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66789         only if $(build-shared) is yes.
66791         * iconv/gconv_db.c: Update copyright years.
66793 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66795         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66796         unwind info if defined PIC. Fix special cases description.
66797         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66799         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66800         DP_HI_MASK entry.
66801         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66803 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
66805         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66807         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66808         is NULL.
66810         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66811         (LDLIBS-tst-chk4): This.
66812         (LDFLAGS-tst-chk5): Renamed to ...
66813         (LDLIBS-tst-chk5): This.
66814         (LDFLAGS-tst-chk6): Renamed to ...
66815         (LDLIBS-tst-chk6): This.
66816         (LDFLAGS-tst-lfschk4): Renamed to ...
66817         (LDLIBS-tst-lfschk4): This.
66818         (LDFLAGS-tst-lfschk5): Renamed to ...
66819         (LDLIBS-tst-lfschk5): This.
66820         (LDFLAGS-tst-lfschk6): Renamed to ...
66821         (LDLIBS-tst-lfschk6): This.
66823         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66824         on $(common-objpfx)soversions.mk.
66826 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
66828         [BZ #10014]
66829         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66830         example host name.
66832 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66834         * malloc/arena.c (arena_get_retry): New function that gets
66835         another arena for the caller to try its request on.
66836         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66837         current arena cannot fulfill the request.
66838         (__libc_memalign): Likewise.
66839         (__libc_memalign): Likewise.
66840         (__libc_pvalloc): Likewise.
66841         (__libc_calloc): Likewise.
66843 2012-09-05  John Tobey  <john.tobey@gmail.com>
66845         [BZ #13542]
66846         * manual/arith.texi (Operations on Complex): Fix description
66847         of carg branch cut.
66849 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66851         [BZ #10014]
66852         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66853         host name.
66855         [BZ #10038]
66856         * manual/memory.texi (Memory): Make order of menu items match
66857         order of sections.
66859 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66861         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66862         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
66863         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66865 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66867         * csu/libc-tls.c (static_dtv): Renamed to ...
66868         (_dl_static_dtv): This.  Make it global.
66869         (_dl_initial_dtv): Removed.
66870         (__libc_setup_tls): Updated.
66871         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66872         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66873         DL_INITIAL_DTV.
66875 2012-09-06  Petr Machata  <pmachata@redhat.com>
66877         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66878         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66879         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66880         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66882 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66884         [BZ #14545]
66885         * csu/libc-tls.c (_dl_initial_dtv): New variable.
66886         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66887         freeing dtv[-1].
66889 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66891         [BZ #14544]
66892         * Makeconfig (link-static-before-libc): Replace $(+prector)
66893         with $(+prectorT).
66894         (link-static-after-libc): Replace $(+postctor) with
66895         $(+postctorT).
66896         (link-bounded): Replace $(+prector)/$(+postctor) with
66897         $(+prectorT)/$(+postctorT).
66898         (+prectorT): New macro.
66899         (+postctorT): Likewise.
66901 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66903         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66904         (round_str): Handle values above the maximum for IBM long double
66905         as inexact.
66906         * stdlib/tst-strtod-round.c (tests): Regenerated.
66908 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66910         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66911         assembler flag.
66912         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66913         zarch_nohighgprs around the zarch optimized routines.
66914         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66915         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66916         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66917         for zarch.
66919 2012-09-05  David S. Miller  <davem@davemloft.net>
66921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66923         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66924         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66925         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66926         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66927         entries.
66929 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66931         * malloc/arena.c: Fold copyright years.
66932         * malloc/mcheck.c, malloc/memusage.c: Likewise.
66934 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66936         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66938 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66940         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
66942 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66944         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66945         change internal state upon failure.
66947 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66949         * malloc/mcheck.c (mcheck_check_all): Fix typo.
66950         * malloc/memusage.c (mmap): Likewise.
66951         (mmap64, mremap): Likewise.  Adjust name in comment.
66953 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66955         * libio/fileops.c: Fix typos in comments.
66956         * libio/oldfileops.c: Likewise.
66957         * libio/wfileops.c: Likewise.
66959 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66961         [BZ #1349]
66962         * malloc/Makefile (tests): Add tst-malloc-usable test case.
66963         (tst-malloc-usable-ENV): Set environment for test case.
66964         * malloc/hooks.c (malloc_check_get_size): New function to get
66965         requested size.
66966         * malloc/malloc.c (musable): Use malloc_check_get_size.
66967         * malloc/tst-malloc-usable.c: New test case.
66969 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66971         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66973 2012-09-05  Allan McRae  <allan@archlinux.org>
66975         [BZ #13966]
66976         * configure.in (CXX_SYSINCLUDES): Use compiler output to
66977         determine header location.
66978         * configure: Regenerated.
66980 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66982         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66983         float format.
66984         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66985         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66986         format.
66987         (test): Regenerate.
66989 2012-09-04  David S. Miller  <davem@davemloft.net>
66991         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66992         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66993         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66995 2012-09-04  Florian Weimer  <fweimer@redhat.com>
66997         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66998         failures.
67000         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
67002 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
67004         [BZ #9914]
67005         * libio/iogetdelim.c: Include <limits.h>.
67006         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
67007         + len + 1 would overflow.
67009 2012-09-03  Andreas Jaeger  <aj@suse.de>
67011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67012         * sysdeps/i386/fpu/libm-test-ulps: Update.
67014 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67016         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67017         Add s_sinf-sse2, s_conf-sse2.
67019         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
67020         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
67021         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
67022         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
67024         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
67025         for using routine as __sinf_ia32.
67026         Use macro for function declaration and weak_alias.
67027         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
67028         for using routine as __cosf_ia32.
67029         Use macro for function declaration and weak_alias.
67031         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
67032         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
67034         * sysdeps/x86_64/fpu/s_sinf.S: New file.
67035         * sysdeps/x86_64/fpu/s_cosf.S: New file.
67036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67038         * math/libm-test.inc (cos_test): Add more test cases.
67039         (sin_test): Likewise.
67040         (sincos_test): Likewise.
67042 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67044         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
67045         (IFUNC_RESOLVE): Make pointers to the specialized implementations
67046         hidden.
67047         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67049 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
67051         [BZ #14538]
67052         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
67053         first element of the GOT.
67054         (elf_machine_load_address): Return the difference between
67055         the runtime address of _DYNAMIC and elf_machine_dynamic ().
67057 2012-09-01  Allan McRae  <allan@archlinux.org>
67059         [BZ #13412]
67060         * configure.in (AWK): Require gawk version 3.0 or later.
67061         * configure: Regenerated.
67063 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
67065         * sysdeps/unix/sysv/linux/kernel-features.h
67066         (__ASSUME_POSIX_CPU_TIMERS): Remove.
67067         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67068         [__NR_clock_getres]: Make code unconditional.
67069         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
67070         (clock_getcpuclockid): Remove code left unreachable by removal of
67071         conditionals.
67072         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
67073         code unconditional.
67074         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67075         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67076         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
67077         Make code unconditional.
67078         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67079         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67080         * sysdeps/unix/sysv/linux/clock_settime.c
67081         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
67082         conditional code.
67083         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
67084         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67086 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
67088         [BZ #14476]
67089         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
67090         scripts/test-installation.pl.
67092         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
67093         and $ld_so_version if it is set.
67095 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67097         [BZ #14516]
67098         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
67099         failure if reading from procfs failed.
67100         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
67102 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
67104         * sysdeps/unix/sysv/linux/kernel-features.h
67105         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
67106         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67107         Remove conditional code.
67108         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67109         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
67110         Remove conditional code.
67111         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67112         * sysdeps/unix/sysv/linux/i386/fxstat.c
67113         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67114         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67115         * sysdeps/unix/sysv/linux/i386/fxstatat.c
67116         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67117         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67118         * sysdeps/unix/sysv/linux/i386/lxstat.c
67119         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67120         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67121         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
67122         Remove conditional code.
67123         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67124         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67125         Remove conditional code.
67126         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67127         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
67128         <kernel-features.h>.
67129         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
67130         Remove.
67131         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
67132         Remove conditional code.
67133         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67134         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
67135         Remove conditional.
67137 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
67139         [BZ #5400]
67140         * NEWS: Add fixed bug number.
67142 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
67144         [BZ #14519]
67145         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
67146         underflowing exponent in case of negative sign.
67147         * stdlib/tst-strtod-round-data: Add more tests.
67148         * stdlib/tst-strtod-round.c (tests): Regenerated.
67150         [BZ #3479]
67151         * stdlib/strtod_l.c (NDIG): Remove.
67152         (HEXNDIG): Likewise.
67153         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
67154         smallest representable value.
67155         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
67156         lie within an exact representation of 1/2 ulp of the result.
67157         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
67158         unconditionally.
67159         (TENS_P9_IDX): Define unconditionally.
67160         (TENS_P9_SIZE): Likewise.
67161         (TENS_P10_IDX): Likewise.
67162         (TENS_P10_SIZE): Likewise.
67163         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
67164         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
67165         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
67166         entries for 10^2^13 and 10^2^14.
67167         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67168         (TENS_P13_IDX): Define.
67169         (TENS_P13_SIZE): Likewise.
67170         (TENS_P14_IDX): Likewise.
67171         (TENS_P14_SIZE): Likewise.
67172         (_fpioconst_pow10): Change array size to
67173         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
67174         unconditional.
67175         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
67176         1024]: Add entries for 10^2^13 and 10^2^14.
67177         [LAST_POW10 > _LAST_POW10]: Remove #error.
67178         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
67179         (_fpioconst_pow10): Change array size to
67180         FPIOCONST_POW10_ARRAY_SIZE.
67181         * stdlib/gen-fpioconst.c: New file.
67182         * stdlib/gen-tst-strtod-round.c: Likewise.
67183         * stdlib/tst-strtod-round-data: Likewise.
67184         * stdlib/tst-strtod-round.c: Likewise.
67185         * stdlib/Makefile (tests): Add tst-strtod-round.
67187         [BZ #14459]
67188         * stdlib/strtod_l.c: Include <stdint.h>.
67189         (NDEBUG): Do not define.
67190         (round_and_return): Change EXPONENT parameter to type intmax_t.
67191         Rearrange calculations to avoid internal overflow possibilities.
67192         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67193         Rearrange calculations to avoid internal overflow possibilities.
67194         Assert that number fits inside MPNSIZE limbs.
67195         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67196         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
67197         calculations and add assertions to avoid internal overflow
67198         possibilities.  Add casts to avoid signed/unsigned operations.
67199         * stdlib/tst-strtod-overflow.c: New file.
67200         * stdlib/Makefile (tests): Add tst-strtod-overflow.
67202 2012-08-25  Marek Polacek  <polacek@redhat.com>
67204         * time/time.h: Fix some typos in comments.
67206 2012-08-23  Roland McGrath  <roland@hack.frob.com>
67208         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67209         * posix/tst-rfc3484-2.c: Likewise.
67210         * posix/tst-rfc3484-3.c: Likewise.
67212 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
67214         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67215         (EF_ARM_ABI_FLOAT_HARD): Likewise.
67217 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
67219         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67220         #include of fxstatat64.c.
67222 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67224         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67225         * shadow/getspent_r.c: Likewise.
67226         * shadow/getspnam.c: Likewise.
67227         * shadow/getspnam_r.c: Likewise.
67228         * gshadow/getsgent.c: Likewise.
67229         * gshadow/getsgent_r.c: Likewise.
67230         * gshadow/getsgnam.c: Likewise.
67231         * gshadow/getsgnam_r.c: Likewise.
67232         * inet/getnetbyad.c: Likewise.
67233         * inet/getnetbyad_r.c: Likewise.
67234         * inet/getnetbynm.c: Likewise.
67235         * inet/getnetbynm_r.c: Likewise.
67236         * inet/getnetent.c: Likewise.
67237         * inet/getnetent_r.c: Likewise.
67238         * inet/getproto.c: Likewise.
67239         * inet/getproto_r.c: Likewise.
67240         * inet/getprtent.c: Likewise.
67241         * inet/getprtent_r.c: Likewise.
67242         * inet/getprtname.c: Likewise.
67243         * inet/getprtname_r.c: Likewise.
67244         * inet/getrpcbyname.c: Likewise.
67245         * inet/getrpcbyname_r.c: Likewise.
67246         * inet/getrpcbynumber.c: Likewise.
67247         * inet/getrpcbynumber_r.c: Likewise.
67248         * inet/getrpcent.c: Likewise.
67249         * inet/getrpcent_r.c: Likewise.
67250         * inet/getaliasent.c: Likewise.
67251         * inet/getaliasent_r.c: Likewise.
67252         * inet/getaliasname.c: Likewise.
67253         * inet/getaliasname_r.c: Likewise.
67254         * nscd/getgrgid_r.c: Likewise.
67255         * nscd/getgrnam_r.c: Likewise.
67256         * nscd/gethstbyad_r.c: Likewise.
67257         * nscd/gethstbynm3_r.c: Likewise.
67258         * nscd/getpwnam_r.c: Likewise.
67259         * nscd/getpwuid_r.c: Likewise.
67260         * nscd/getsrvbynm_r.c: Likewise.
67261         * nscd/getsrvbypt_r.c: Likewise.
67262         * nscd/gai.c: Likewise.
67264         * configure.in (build_nscd): New substituted variable, set
67265         by --disable-build-nscd and defaults to $use_nscd.
67266         * configure: Regenerated.
67267         * config.make.in (build-nscd): New substituted variable.
67268         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67269         Change conditional to require [$(build-nscd) = yes] as well.
67270         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67272         [BZ# 13696]
67273         * configure.in (use_nscd): New substituted variable, set by
67274         --disable-nscd.  If enabled, define USE_NSCD.
67275         * configure: Regenerated.
67276         * config.h.in: Add USE_NSCD.
67277         * config.make.in (use-nscd): New substituted variable.
67278         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67279         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67280         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67281         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67282         (CFLAGS-getgrnam_r.c): Likewise.
67283         (CFLAGS-initgroups.c): Likewise.
67284         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67285         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67286         Variables removed.
67287         * inet/getnetgrent_r.c
67288         (nscd_setnetgrent): New function, broken out of ...
67289         (setnetgrent): ... here.  Call it.
67290         (innetgr): Conditionalize nscd bits on [USE_NSCD].
67291         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67292         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67293         * nscd/Makefile (routines, aux): Move definitions after include of
67294         Makeconfig.  Conditionalize on [$(use-nscd) != no].
67295         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67296         Conditionalize on [USE_NSCD].
67297         (is_nscd, nscd_init_cb): Likewise.
67298         (nss_load_library): Conditionalize init callback on [USE_NSCD].
67299         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67300         * nss/nss_db/db-init.c: Likewise.
67301         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67302         [USE_NSCD].
67303         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67304         (make_request): Use it.
67305         (cache_valid_p): New function.
67306         (__check_pf): Use it.
67307         * NEWS: Add item for --disable-nscd.
67309 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
67311         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67312         to support sed >= 4.2.1-20-ga9bf076.
67313         * configure: Regenerated.
67315 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67317         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67318         Conditionalize whole body on [IREL].
67320 2012-08-22  Jeff Law <law@redhat.com>
67322         [BZ #14505]
67323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67324         if the family is PF_UNSPEC.
67326 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
67328         * Makerules (lib-version): Rename from V.
67329         (install-lib-nosubdir): Change V to lib-version.
67331 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
67333         [BZ #14252]
67334         * powerpc32/power6/wcschr.c: New file.
67335         * powerpc32/power6/wcscpy.c: New file.
67336         * powerpc32/power6/wcsrchr.c: New file.
67337         * powerpc64/power6/wcschr.c: New file.
67338         * powerpc64/power6/wcscpy.c: New file.
67339         * powerpc64/power6/wcsrchr.c: New file.
67341 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67343         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67344         (two_way_short_needle): Use it.
67345         * string/strstr.c (AVAILABLE1_USES_J): Define.
67346         * string/strcasestr.c: Likewise.
67348         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67349         array references.
67350         * string/strcasestr.c (TOLOWER): Make side-effect safe.
67352         [BZ #11607]
67353         * NEWS: Add an entry.
67354         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67355         define their defaults.
67356         (two_way_short_needle): Detect end-of-string on-the-fly.
67357         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67358         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67359         * string/bug-strcasestr1.c: New test.
67360         * string/Makefile: Run it.
67362 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67364         [BZ #11607]
67365         * string/str-two-way.h (two_way_short_needle): Optimize matching of
67366         the first character.
67368 2012-08-21  Roland McGrath  <roland@hack.frob.com>
67370         * csu/elf-init.c (__libc_csu_irel): Function removed.
67371         * csu/libc-start.c (apply_irel): New function.
67372         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67374 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
67376         * sysdeps/unix/sysv/linux/kernel-features.h
67377         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67378         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67379         <kernel-features.h>.
67380         [__NR_fadvise64_64]: Make code unconditional.
67381         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67382         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67383         !__NR_fadvise64_64)]: Likewise.
67384         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67385         !__NR_fadvise64_64))]: Likewise.
67386         [__NR_fadvise64]: Make code unconditional.
67387         [!__NR_fadvise64]: Remove conditional code.
67388         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67389         <kernel-features.h>.
67390         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67391         unconditional.
67392         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67393         conditional code.
67394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67395         not include <kernel-features.h>.
67396         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67397         unconditional.
67398         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67399         conditional code.
67400         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67401         include <kernel-features.h>.
67402         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67403         unconditional.
67404         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67405         conditional code.
67407 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67409         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67410         slight instruction rearrangements per scrollpipe analysis.
67411         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67413 2012-08-20  Roland McGrath  <roland@hack.frob.com>
67415         * manual/syslog.texi (syslog; vsyslog, closelog):
67416         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67417         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67419         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67420         DSOCAPS to match condition on defining it.
67422 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
67424         * sysdeps/unix/sysv/linux/kernel-features.h
67425         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67427         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67428         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67430         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67431         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67433         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67434         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67436         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67437         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67439         * sysdeps/unix/sysv/linux/kernel-features.h
67440         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67441         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67442         unconditional.
67443         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67444         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67445         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67446         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67447         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67448         Make code unconditional.
67449         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67450         (__mmap64) [!__NR_mmap2]: Likewise.
67451         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67452         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67453         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67454         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67455         [__NR_mmap2]: Make code unconditional.
67456         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67457         (__mmap64) [!__NR_mmap2]: Likewise.
67459 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67461         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67463 2012-08-18  Andreas Jaeger  <aj@suse.de>
67465         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67467 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67469         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67470         * include/unistd.h (__have_sock_cloexec): Likewise.
67471         (__have_pipe2): Likewise.
67472         (__have_dup3): Likewise.
67474 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67476         [BZ #9685]
67477         * include/unistd.h (__have_pipe2): Change define into an extern int.
67478         (__have_dup3): Likewise.
67479         * socket/have_sock_cloexec.c: Include fcntl.h.
67480         (__have_pipe2): New variable.
67481         (__have_dup3): Likewise.
67483 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
67485         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67487 2012-08-17  Marek Polacek  <polacek@redhat.com>
67489         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67490         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67492 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67494         * configure.in: Add AC_SUBST for sysheaders.
67495         * configure: Regenerated.
67496         * config.make.in (sysheaders): New substituted variable.
67498         * sysdeps/unix/mkfifo.c: Moved ...
67499         * sysdeps/posix/mkfifo.c: ... here.
67500         * sysdeps/unix/mkfifoat.c: Moved ...
67501         * sysdeps/posix/mkfifoat.c: ... here.
67503         * sysdeps/unix/utime.c: Moved ...
67504         * sysdeps/posix/utime.c: ... here.
67506         * sysdeps/unix/time.c: Moved ...
67507         * sysdeps/posix/time.c: ... here.
67508         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67509         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67511         * sysdeps/unix/nice.c: Moved ...
67512         * sysdeps/posix/nice.c: ... here.
67514         * sysdeps/unix/alarm.c: Moved ...
67515         * sysdeps/posix/alarm.c: ... here.
67517         * intl/Makefile ($(codeset_mo)): Depend on the input file.
67519 2012-08-17  Jeff Law <law@redhat.com>
67521         * intl/Makefile (codeset_mo): New variable.
67522         ($(codeset_mo)): New target.
67523         (tst-codeset.out): Depend on that.  Remove explicit rule.
67524         (tst-gettext3.out, tst-gettext5.out): Likewise.
67525         (LOCPATH-ENV, tst-codeset-ENV): New variables.
67526         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67527         * intl/tst-codeset.sh: Remove.
67528         * intl/tst-gettext3.sh: Likewise.
67529         * intl/tst-gettext5.sh: Likewise.
67531 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67533         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
67534         * sysdeps/unix/syscalls.list: ... here.
67536         * sysdeps/posix/getaddrinfo.c
67537         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67538         (gaiconf_init, gaiconf_reload): Use them.
67539         [!_STATBUF_ST_NSEC]
67540         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67541         Define using time_t rather than struct timespec.
67543         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67544         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67545         Macros removed.
67546         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67547         [!NO_THREADS].
67548         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67549         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67550         Likewise.
67552         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67553         __libc_cleanup_push argument.
67555         * bits/param.h: New file.
67556         * misc/sys/param.h: New file.
67557         * include/sys/param.h: New file.
67558         * misc/Makefile (headers): Add bits/param.h.
67559         * sysdeps/generic/sys/param.h: File removed.
67560         * sysdeps/unix/sysv/linux/bits/param.h: New file.
67561         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67562         * sysdeps/mach/hurd/bits/param.h: New file.
67563         * sysdeps/mach/hurd/sys/param.h: File removed.
67565         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67566         last change.
67568         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67569         [_IO_MTSAFE_IO].
67570         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67571         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67572         New macros.
67574         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67575         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67576         rather than -D_IO_MTSAFE_IO conditionally.
67577         * stdio-common/Makefile (CPPFLAGS): Likewise.
67578         * wcsmbs/Makefile (CPPFLAGS): Likewise.
67579         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67580         Use $(libio-mtsafe).
67581         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67582         of -D_IO_MTSAFE_IO.
67583         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67584         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67585         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67586         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67587         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67588         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67589         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67590         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67591         (CFLAGS-fread_u_chk.c): Likewise.
67592         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67593         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67594         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67595         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67596         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67597         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67598         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67599         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67600         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67602         * libio/Makefile: Test [$(libc-reentrant) = yes]
67603         instead of [$(filter %REENTRANT, $(defines)) nonempty].
67605         * Makeconfig
67606         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67607         * sysdeps/pthread/configure: File removed.
67608         * sysdeps/pthread/Makeconfig: New file.
67609         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67610         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67612 2012-08-16  Gary Benson  <gbenson@redhat.com>
67614         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67615         unmapping the first object in a namespace.
67617 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67619         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67620         (__internal_setnetgrent): ... this.  Add internal_function to
67621         definition.  Add libc_hidden_def.
67622         (setnetgrent): Update caller.
67623         (internal_endnetgrent): Renamed to ...
67624         (__internal_endnetgrent): ... this.  Add internal_function to
67625         definition.  Add libc_hidden_def.
67626         (endnetgrent): Update caller.
67627         (internal_getnetgrent_r): Renamed to ...
67628         (__internal_getnetgrent_r): ... this.  Add internal_function to
67629         definition.  Add libc_hidden_def.
67630         (__getnetgrent_r): Update caller.
67631         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
67633 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67635         * stdlib/longlong.h: Update from GCC.
67637 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67639         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67640         on _QL, which is set by umul_ppmm but never used.
67641         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67642         variables, which are set by GMP macros but never used.
67643         * stdio-common/_itowa.c (_itowa): Likewise.
67644         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67645         * stdlib/mod_1.c (mpn_mod_1): Likewise.
67647 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
67649         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67650         struct La_sh_regs is not constant.
67651         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67652         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67653         and struct La_sparc64_regs are not constant.
67655 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67657         * sysdeps/unix/sysv/linux/kernel-features.h
67658         (__ASSUME_POSIX_TIMERS): Remove.
67659         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67660         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67661         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67662         Make code unconditional.
67663         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67664         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67665         Make code unconditional.
67666         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67667         * sysdeps/unix/sysv/linux/clock_nanosleep.c
67668         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67669         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67670         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67671         Make code unconditional.
67672         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67673         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67674         (__libc_missing_posix_timers): Remove.
67676 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67678         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67679         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67681         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67683         * elf/dl-sym.c: Include <stdlib.h>.
67685         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67686         constants, which avoids warnings in 32-bit builds.
67688         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67689         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67691         * misc/lseek.c: File moved to ...
67692         * io/lseek.c: ... here.
67694         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67696         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67697         shifting LEN more than 31 bits at once.
67699 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67701         [BZ #14195]
67702         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67703         segmentation fault for a case of two empty input strings.
67704         * string/test-strncasecmp.c (check1): Renamed to...
67705         (bz12205): ...this.
67706         (bz14195): Add new testcase for two empty input strings and N > 0.
67707         (test_main): Call new testcase, adapt for renamed function.
67709 2012-08-15  Andreas Jaeger  <aj@suse.de>
67711         [BZ #14090]
67712         * crypt/md5test2.c: New test, based on test supplied by Serge
67713         Belyshev <belyshev@depni.sinp.msu.ru>.
67714         * crypt/Makefile (xtests): Add md5test-giant..
67715         * crypt/Makefile ($(objpfx)md5test-giant): Add.
67717 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
67719         [BZ #14090]
67720         * crypt/md5.c (md5_process_block): Don't assume the buffer
67721         length is less than 2**32.
67722         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67723         length is less than 2**64.
67725 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67727         * string/str-two-way.h: Include <sys/param.h>.
67728         (MAX): Macro removed.
67730         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67731         Move #define and #undef of memmove to just before and after
67732         including <string.h>.
67734         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67735         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67736         and after including <string.h>.  Move declarations of
67737         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67738         to before #include "string/memmove.c".
67740         * include/dirent.h: Declare __getdirentries.
67742         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67743         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67745 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
67747         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67748         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67749         * sysdeps/i386/configure: Regenerated.
67750         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67751         STABS_CURRENT_FILE, and STABS_FUN.
67752         (END): Remove call to STABS_FUN_END.
67753         (STABS_CURRENT_FILE1): Delete.
67754         (STABS_CURRENT_FILE): Likewise.
67755         (STABS_FUN): Likewise.
67756         (STABS_FUN_END): Likewise.
67757         (STABS_FUN2): Likewise.
67758         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67759         * sysdeps/x86_64/configure: Regenerated.
67761 2012-08-14  Roland McGrath  <roland@hack.frob.com>
67763         * elf/dl-open.c: Include <atomic.h>.
67764         * elf/dl-lookup.c: Likewise.
67766 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
67768         * sysdeps/unix/sysv/linux/kernel-features.h
67769         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67770         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67771         unconditionally.
67772         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67773         unconditionally.
67774         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67775         condition on __ASSUME_CLONE_THREAD_FLAGS.
67777 2012-08-14  Andreas Jaeger  <aj@suse.de>
67779         * sysdeps/i386/fpu/libm-test-ulps: Update.
67781 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
67783         * include/atomic.h (atomic_exchange_and_add): Split into ...
67784         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67785         New atomic macros.
67787 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
67789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67791 2012-08-13  Jeff Law <law@redhat.com>
67793         * manual/stdio.texi (snprintf): Clarify handling of the trailing
67794         null byte in the output string.
67796 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
67798         * sysdeps/unix/sysv/linux/kernel-features.h
67799         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67800         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67801         (__ASSUME_ARG_MAX_STACK_BASED): Define.
67802         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67803         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67804         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
67805         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67807 2012-08-09  Jeff Law <law@redhat.com>
67809         [BZ #13939]
67810         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67811         When avoid_arena is set, don't retry in the that arena.  Pick the
67812         next one, whatever it might be.
67813         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67814         (arena_lock): Pass in new parameter to arena_get2.
67815         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67816         arena_get2.
67817         (__libc_malloc): Unify retrying after main arena failure with
67818         __libc_memalign version.
67819         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67821 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
67823         [BZ #14166]
67824         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67825         to __redirect_strstr.
67826         (__strstr_sse42): Use typeof __redirect_strstr.
67827         (__strstr_ia32): Likewise.
67828         (__libc_strstr): New prototype.
67829         (strstr): Renamed to ...
67830         (__libc_strstr): This.
67831         (strstr): New strong alias of __libc_strstr.
67832         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67833         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67834         __redirect_time.
67835         Include <time.h>.
67836         (__libc_time): New prototype.
67837         (time_ifunc): Replace time with __libc_time.
67838         (time): New strong alias and hidden definition of __libc_time.
67839         (__GI_time): Remove strong alias.
67840         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67841         Include <stddef.h>.
67842         (memmove): Redefined to __redirect_memmove.
67843         (__memmove_sse2): Use typeof __redirect_memmove.
67844         (__memmove_ssse3): Likewise.
67845         (__memmove_ssse3_back): Likewise.
67846         (__libc_memmove): New prototype.
67847         (memmove): Renamed to ...
67848         (__libc_memmove): This.
67849         (memmove): New strong alias of __libc_memmove.
67851 2012-08-08  Mark Salter  <msalter@redhat.com>
67853         * elf/elf.h
67854         (R_MN10300_TLS_GD): Define.
67855         (R_MN10300_TLS_LD): Likewise.
67856         (R_MN10300_TLS_LDO): Likewise.
67857         (R_MN10300_TLS_GOTIE): Likewise.
67858         (R_MN10300_TLS_IE): Likewise.
67859         (R_MN10300_TLS_LE): Likewise.
67860         (R_MN10300_TLS_DTPMOD): Likewise.
67861         (R_MN10300_TLS_DTPOFF): Likewise.
67862         (R_MN10300_TLS_TPOFF): Likewise.
67863         (R_MN10300_SYM_DIFF): Likewise.
67864         (R_MN10300_ALIGN): Likewise.
67865         (R_MN10300_NUM): Update.
67867 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
67869         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67870         Remove.
67872 2012-08-08  Roland McGrath  <roland@hack.frob.com>
67874         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67876         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67877         sysdeps/unix -> sysdeps/posix move.
67878         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67880 2012-08-07      Allan McRae     <allan@archlinux.org>
67882         [BZ #14303]
67883         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67884         (SUNOS_CPP): Likewise.
67885         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67886         not found.
67887         (open_input): Call CPP using execvp.
67889 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67891         * sysdeps/unix/sysv/linux/kernel-features.h
67892         (__ASSUME_PROT_GROWSUPDOWN): Remove.
67893         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67894         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67895         (__ASSUME_WAITID_SYSCALL): Likewise.
67896         * sysdeps/unix/sysv/linux/dl-execstack.c
67897         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67898         code unconditional.
67899         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67900         conditional code.
67901         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67902         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67903         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67904         code.
67905         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67906         unconditional.
67907         [__ASSUME_WAITID_SYSCALL]: Likewise.
67908         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67910 2012-08-07  Roland McGrath  <roland@hack.frob.com>
67912         * sysdeps/unix/closedir.c: Renamed to ...
67913         * sysdeps/posix/closedir.c: ... here.
67914         * sysdeps/unix/dirfd.c: Renamed to ...
67915         * sysdeps/posix/dirfd.c: ... here.
67916         * sysdeps/unix/dirstream.h: Renamed to ...
67917         * sysdeps/posix/dirstream.h: ... here.
67918         * sysdeps/unix/fdopendir.c: Renamed to ...
67919         * sysdeps/posix/fdopendir.c: ... here.
67920         * sysdeps/unix/opendir.c: Renamed to ...
67921         * sysdeps/posix/opendir.c: ... here.
67922         * sysdeps/unix/readdir.c: Renamed to ...
67923         * sysdeps/posix/readdir.c: ... here.
67924         * sysdeps/unix/readdir_r.c: Renamed to ...
67925         * sysdeps/posix/readdir_r.c: ... here.
67926         * sysdeps/unix/rewinddir.c: Renamed to ...
67927         * sysdeps/posix/rewinddir.c: ... here.
67928         * sysdeps/unix/seekdir.c: Renamed to ...
67929         * sysdeps/posix/seekdir.c: ... here.
67930         * sysdeps/unix/telldir.c: Renamed to ...
67931         * sysdeps/posix/telldir.c: ... here.
67932         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67933         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67934         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67935         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67937         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67938         * bits/fcntl.h: ... here.
67940         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67941         not 0.
67942         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67943         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67944         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67945         (struct flock): Move l_start, l_len to the beginning.
67946         Use __pid_t for l_pid.
67947         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67948         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67949         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67950         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67951         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67952         [__USE_LARGEFILE64] (struct flock64): New type.
67953         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67955         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67956         * bits/dirent.h: ... here.
67958         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67959         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67961 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67963         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67964         Change from 2.6.0 to 2.6.16.
67965         * sysdeps/unix/sysv/linux/configure: Regenerated.
67966         * sysdeps/unix/sysv/linux/kernel-features.h
67967         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67968         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67969         version.
67970         (__ASSUME_UTIMES): Likewise.
67971         (__ASSUME_CLONE_STOPPED): Remove.
67972         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67973         architectures, not kernel version.
67974         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67975         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67976         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67977         (__ASSUME_WAITID_SYSCALL): Likewise.
67978         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67979         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67980         * README: State 2.6.16 as minimum Linux kernel version.  Do not
67981         refer to older versions.
67983 2012-08-06  Roland McGrath  <roland@hack.frob.com>
67985         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67986         Define alphasort64 as an alias.
67987         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67988         Define versionsort64 as an alias.
67989         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67990         Define scandir64 as an alias.
67991         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67992         Define scandirat64 as an alias.
67993         * dirent/alphasort64.c (alphasort64):
67994         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67995         * dirent/versionsort64.c: Likewise.
67996         * dirent/scandir64.c: Likewise.
67997         * dirent/scandirat64.c: Likewise.
67998         * sysdeps/wordsize-64/alphasort.c: File removed.
67999         * sysdeps/wordsize-64/alphasort64.c: File removed.
68000         * sysdeps/wordsize-64/scandir.c: File removed.
68001         * sysdeps/wordsize-64/scandir64.c: File removed.
68002         * sysdeps/wordsize-64/scandirat.c: File removed.
68003         * sysdeps/wordsize-64/scandirat64.c: File removed.
68004         * sysdeps/wordsize-64/versionsort.c: File removed.
68005         * sysdeps/wordsize-64/versionsort64.c: File removed.
68006         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
68007         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
68008         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
68009         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
68010         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
68011         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
68012         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
68013         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
68015         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
68016         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68017         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
68018         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68019         [defined __arch64__ || defined __sparcv9]
68020         (__INO_T_MATCHES_INO64_T): New macro.
68021         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68022         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
68023         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
68024         * sysdeps/unix/sysv/linux/bits/dirent.h
68025         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
68026         (_DIRENT_MATCHES_DIRENT64): New macro.
68028         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
68029         Define lockf64 as an alias.
68030         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
68031         Define fseeko64 as an alias.
68032         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
68033         Define ftello64 as an alias.
68034         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
68035         Define _IO_fgetpos64 and fgetpos64 as aliases.
68036         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
68037         Define _IO_fsetpos64 and fsetpos64 as aliases.
68038         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
68039         Conditionalize body on this.
68040         * libio/fseeko64.c: Likewise.
68041         * libio/ftello64.c: Likewise.
68042         * libio/iofgetpos64.c: Likewise.
68043         * libio/iofsetpos64.c: Likewise.
68044         * sysdeps/wordsize-64/lockf.c: File removed.
68045         * sysdeps/wordsize-64/lockf64.c: File removed.
68046         * sysdeps/wordsize-64/fseeko.c: File removed.
68047         * sysdeps/wordsize-64/fseeko64.c: File removed.
68048         * sysdeps/wordsize-64/ftello.c: File removed.
68049         * sysdeps/wordsize-64/ftello64.c: File removed.
68050         * sysdeps/wordsize-64/iofgetpos.c: File removed.
68051         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
68052         * sysdeps/wordsize-64/iofsetpos.c: File removed.
68053         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
68054         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
68055         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
68056         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
68057         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
68058         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
68059         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
68060         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
68061         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
68062         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
68063         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
68065         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68066         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68067         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
68068         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68069         [defined __arch64__ || defined __sparcv9]
68070         (__OFF_T_MATCHES_OFF64_T): New macro.
68071         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68072         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68073         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68074         (__OFF_T_MATCHES_OFF64_T): New macro.
68076 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
68078         * stdlib/secure-getenv.c (__secure_getenv): Replace
68079         GLIBC_2_16 with GLIBC_2_17.
68081 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
68083         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
68084         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68086 2012-08-03  David S. Miller  <davem@davemloft.net>
68088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68090 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
68092         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
68093         Remove.
68094         (__ASSUME_CORRECT_SI_PID): Likewise.
68095         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
68096         (__ASSUME_TMPFS_NAME): Likewise.
68097         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
68098         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
68099         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
68100         (HAVE_AUX_SECURE): Make definition unconditional.
68101         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
68102         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
68104 2012-08-03  Roland McGrath  <roland@hack.frob.com>
68106         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
68107         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
68108         * sysdeps/mach/hurd/eloop-threshold.h: New file.
68109         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68110         __eloop_threshold instead of SYMLOOP_MAX.
68112         * sysdeps/generic/eloop-threshold.h: New file.
68113         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
68114         of MAXSYMLINKS.
68115         * elf/chroot_canon.c (chroot_canon): Likewise.
68117 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
68119         [BZ #13717]
68120         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68121         Change to 2.6.0 everywhere.
68122         * sysdeps/unix/sysv/linux/configure: Regenerated.
68123         * sysdeps/unix/sysv/linux/kernel-features.h
68124         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
68125         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
68126         kernel versions.
68127         (__ASSUME_POSIX_TIMERS): Define unconditionally.
68128         (__ASSUME_FUTEX_REQUEUE): Remove.
68129         (__ASSUME_STATFS64): Define unconditionally.
68130         (__ASSUME_AT_SECURE): Likewise.
68131         (__ASSUME_CORRECT_SI_PID): Likewise.
68132         (__ASSUME_TGKILL): Define without depending on kernel version for
68133         i386.
68134         (__ASSUME_UTIMES): Likewise.
68135         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
68136         kernel version.
68137         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
68138         (__ASSUME_TMPFS_NAME): Likewise.
68139         * README: Update reference to Linux kernel versions.
68141 2012-08-02  Marek Polacek  <polacek@redhat.com>
68143         [BZ# 14150]
68144         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
68145         libc_cv_asm_type_prefix with %.
68146         * configure: Regenerated.
68147         * include/libc-symbols.h: Remove comment about
68148         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68149         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
68150         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
68151         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
68152         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
68153         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68154         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
68155         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
68156         * elf/tst-unique2mod1.c: Likewise.
68157         * elf/tst-unique1mod2.c: Likewise.
68158         * elf/tst-unique1mod1.c: Likewise.
68159         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
68160         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
68161         Replace ASM_TYPE_DIRECTIVE with .type.
68162         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68163         * sysdeps/i386/sysdep.h: Likewise.
68164         * sysdeps/x86_64/sysdep.h: Likewise.
68165         * sysdeps/sh/sysdep.h: Likewise.
68166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68167         Do not define ASM_TYPE_DIRECTIVE.
68168         * sysdeps/powerpc/sysdep.h: Likewise.
68169         * sysdeps/powerpc/powerpc32/sysdep.h:
68170         Replace ASM_TYPE_DIRECTIVE with .type.
68171         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68172         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68173         * sysdeps/i386/fpu/e_powf.S: Likewise.
68174         * sysdeps/i386/fpu/e_expl.S: Likewise.
68175         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68176         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68177         * sysdeps/i386/fpu/e_pow.S: Likewise.
68178         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68179         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68180         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68181         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68182         * sysdeps/i386/fpu/e_log2.S: Likewise.
68183         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68184         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68185         * sysdeps/i386/fpu/e_powl.S: Likewise.
68186         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68187         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68188         * sysdeps/i386/fpu/e_logl.S: Likewise.
68189         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68190         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68191         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68192         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68193         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68194         * sysdeps/i386/fpu/e_log.S: Likewise.
68195         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68196         * sysdeps/i386/fpu/e_logf.S: Likewise.
68197         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68198         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68199         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68200         * sysdeps/i386/fpu/e_log10.S: Likewise.
68201         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68202         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68203         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68204         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68205         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68206         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68207         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68208         * sysdeps/i386/i686/strtok.S: Likewise.
68209         * sysdeps/i386/i386-mcount.S: Likewise.
68210         * sysdeps/i386/strtok.S: Likewise.
68211         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68212         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68213         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68214         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68215         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68216         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68217         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68218         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68219         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68220         * sysdeps/x86_64/_mcount.S: Likewise.
68221         * sysdeps/x86_64/strtok.S: Likewise.
68222         * sysdeps/sh/_mcount.S: Likewise.
68224 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68226         * libio/iofopen.c: Include <fcntl.h>.
68227         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68228         (_IO_fopen64, fopen64): Define as aliases.
68229         * libio/iofopen64.c: Include <fcntl.h>.
68230         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68231         Conditionalize body on this.
68232         * sysdeps/wordsize-64/iofopen.c: File removed.
68233         * sysdeps/wordsize-64/iofopen64.c: File removed.
68235 2012-08-01  Marek Polacek  <polacek@redhat.com>
68237         * libc/Makeconfig: Use elf in place of binfmt-subdir.
68238         Use dlfcn directly instead of a variable.
68239         (binfmt-subdir): Do not define.
68240         (dlfcn): Likewise.
68242 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
68244         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68245         Remove all definitions.
68246         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68247         <kernel-features.h>.
68248         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68249         (miss_F_GETOWN_EX): Remove all definitions.
68250         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68251         macro definition.
68252         [!__ASSUME_FCNTL64]: Remove conditional code.
68253         [__ASSUME_FCNTL64]: Make code unconditional.
68254         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68255         <kernel-features.h>.
68256         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68257         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68258         (lockf64) [__NR_fcntl64]: Make code unconditional.
68259         (lockf64) [__ASSUME_FCNTL64]: Likewise.
68261         * sysdeps/unix/sysv/linux/kernel-features.h
68262         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68263         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68264         Make code unconditional.
68265         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68266         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68268         [__NR_vfork]: Make code unconditional.
68269         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68270         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68272         [__NR_vfork]: Make code unconditional.
68273         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68274         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68276 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68278         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68279         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68281         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68282         Define mkstemp64 as an alias.
68283         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68284         Define mkstemps64 as an alias.
68285         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68286         Define mkostemp64 as an alias.
68287         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68288         Define mkostemps64 as an alias.
68289         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68290         Conditionalize body on this.
68291         * misc/mkostemp64.c: Likewise.
68292         * misc/mkostemps64.c: Likewise.
68293         * misc/mkstemps64.c: Likewise.
68294         * sysdeps/wordsize-64/mkstemp64.c: File removed.
68295         * sysdeps/wordsize-64/mkostemp64.c: File removed.
68296         * sysdeps/wordsize-64/mkostemp.c: File removed.
68297         * sysdeps/wordsize-64/mkstemp.c: File removed.
68298         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68299         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68300         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68301         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68303         [BZ #14138]
68304         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68305         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68306         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68307         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68309         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68310         compat_symbol macros from <shlib-compat.h> rather than the underlying
68311         default_symbol_version and symbol_version macros, so that DEFAULT
68312         lines in shlib-versions are respected.
68313         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68315 2012-08-01  Florian Weimer  <fweimer@redhat.com>
68317         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68318         Declare with warn_unused_result.
68319         (setgid, setregid, setegid, setresgid): Likewise.
68320         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68321         Likewise.
68322         * WUR-REPORT: Remove set*id functions.
68324 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
68326         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68328 2012-07-31  Roland McGrath  <roland@hack.frob.com>
68330         [BZ #10191]
68331         * include/sys/socket.h (__libc_accept, __libc_accept4):
68332         Add attribute_hidden.
68333         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68335         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68336         use of PTR_MANGLE.
68337         * inet/getnetgrent_r.c (setup): Likewise.
68339         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68341 2012-07-31  David S. Miller  <davem@davemloft.net>
68343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68345 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
68347         [BZ #13629]
68348         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68349         value between 1.0 and 2.0 and smaller part has absolute value less
68350         than 1.0.
68351         * math/s_clog10.c (__clog10): Likewise.
68352         * math/s_clog10f.c (__clog10f): Likewise.
68353         * math/s_clog10l.c (__clog10l): Likewise.
68354         * math/s_clogf.c (__clogf): Likewise.
68355         * math/s_clogl.c (__clogl): Likewise.
68356         * math/libm-test.inc (clog_test): Add more tests.
68357         (clog10_test): Likewise.
68358         * sysdeps/i386/fpu/libm-test-ulps: Update.
68359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68361 2012-07-31  Florian Weimer  <fweimer@redhat.com>
68363         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68364         Exit with zero in case no suitable GID is found, and write a
68365         message to standard error.
68367 2012-07-30  Roland McGrath  <roland@hack.frob.com>
68369         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68370         rather than to 1.
68371         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68372         (MAXPATHLEN): Removed.
68373         (NOGROUP, NODEV): New macros.
68374         (setbit, clrbit, isset, isclr): New macros.
68375         (howmany, roundup, powerof2): New macros.
68376         (DEV_BSIZE): New macro.
68378         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68379         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68381         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68382         definition on [!__NO_LONG_DOUBLE_MATH].
68384         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68385         PTR_MANGLE and PTR_DEMANGLE.
68387         * socket/accept4.c (accept4): Rename to __libc_accept4.
68388         Define accept4 as a weak alias.
68390         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68391         on [_DIRENT_HAVE_D_TYPE].
68392         * io/ftw.c (ftw_dir): Likewise.
68394         * io/xmknod.c (__xmknod): Don't check PATH for being null.
68396         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68398         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68399         Use the BSD numbers rather than the arbitrary ones we had.
68400         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68401         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68402         (SIGXCPU, SIGXFSZ): New macros.
68403         (_NSIG): Now 32.
68405         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68406         initializer on [_LIBC_REENTRANT].
68408         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68409         definitions inside [_POSIX_MAPPED_FILES].
68411         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68413         * dirent/opendir.c: Include <fcntl.h>.
68415         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68416         (__libc_getspecific): Likewise.
68417         (__libc_key_create): Likewise.
68419         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68420         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68421         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68422         (tmpfile64): Define as alias.
68423         * sysdeps/wordsize-64/tmpfile.c: File removed.
68424         * sysdeps/wordsize-64/tmpfile64.c: File removed.
68425         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68426         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68428         * stdio-common/vfscanf.c: Include <stdbool.h>.
68429         * nss/makedb.c: Likewise.
68430         * stdio-common/_i18n_number.h: Likewise.
68431         * argp/argp-help.c: Likewise.
68432         * posix/wordexp.c: Likewise.
68433         * sysdeps/posix/spawni.c: Likewise.
68434         * nss/nss_files/files-initgroups.c: Likewise.
68435         * stdio-common/reg-modifier.c: Include <stdlib.h>.
68436         * nss/nss_files/files-initgroups.c: Likewise.
68437         * nss/nss_db/db-netgrp.c: Likewise.
68438         * nss/nss_db/db-initgroups.c: Likewise.
68439         * io/fchmodat.c: Include <sys/stat.h>.
68441         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68442         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68444         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68445         [HAVE_MMAP].
68447         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68448         Add multiple inclusion protection.
68450 2012-07-27  David S. Miller  <davem@davemloft.net>
68452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68454 2012-07-27  Gary Benson  <gbenson@redhat.com>
68456         [BZ #14298]
68457         * elf/rtld.c: Include <stap-probe.h>.
68458         (dl_main): Added static probes "init_start" and "init_complete".
68459         * elf/dl-load.c: Include <stap-probe.h>.
68460         (lose): Take new parameter "nsid".
68461         Added static probe "map_failed".
68462         (_dl_map_object_from_fd): Pass namespace id to lose.
68463         Added static probe "map_start".
68464         (open_verify): Pass namespace id to lose.
68465         * elf/dl-open.c: Include <stap-probe.h>.
68466         (dl_open_worker) Added static probes "map_complete", "reloc_start"
68467         and "reloc_complete".
68468         * elf/dl-close.c: Include <stap-probe.h>.
68469         (_dl_close_worker): Added static probes "unmap_start" and
68470         "unmap_complete".
68471         * elf/rtld-debugger-interface.txt: New file documenting the above.
68473 2012-07-26  Roland McGrath  <roland@hack.frob.com>
68475         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68476         rather than a string variable.
68477         * sunrpc/rpc_main.c (h_output): Likewise.
68478         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68480 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
68482         * inet/check_native.c: New file.
68484 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
68486         [BZ #13629]
68487         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68488         if larger part has absolute value 1.0.
68489         * math/s_clog10.c (__clog10): Likewise.
68490         * math/s_clog10f.c (__clog10f): Likewise.
68491         * math/s_clog10l.c (__clog10l): Likewise.
68492         * math/s_clogf.c (__clogf): Likewise.
68493         * math/s_clogl.c (__clogl): Likewise.
68494         * math/libm-test.inc (clog_test): Add more tests.
68495         (clog10_test): Likewise.
68496         * sysdeps/i386/fpu/libm-test-ulps: Update.
68497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68499         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68500         (pltexit): Likewise.
68501         (La_regs): Likewise.
68502         (La_retval): Likewise.
68503         (int_retval): Likewise.
68504         Update #error for removed macros to refer only to definitions in
68505         tst-audit.h.
68506         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68507         macro.
68508         (pltexit): Likewise.
68509         (La_regs): Likewise.
68510         (La_retval): Likewise.
68511         (int_retval): Likewise.
68512         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68513         macro.
68514         (pltexit): Likewise.
68515         (La_regs): Likewise.
68516         (La_retval): Likewise.
68517         (int_retval): Likewise.
68518         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68519         macro.
68520         (pltexit): Likewise.
68521         (La_regs): Likewise.
68522         (La_retval): Likewise.
68523         (int_retval): Likewise.
68524         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68525         macro.
68526         (pltexit): Likewise.
68527         (La_regs): Likewise.
68528         (La_retval): Likewise.
68529         (int_retval): Likewise.
68530         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68531         macro.
68532         (pltexit): Likewise.
68533         (La_regs): Likewise.
68534         (La_retval): Likewise.
68535         (int_retval): Likewise.
68536         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68537         macro.
68538         (pltexit): Likewise.
68539         (La_regs): Likewise.
68540         (La_retval): Likewise.
68541         (int_retval): Likewise.
68542         * sysdeps/generic/tst-audit.h: Update comment to refer only to
68543         macro definitions in tst-audit.h.
68544         * sysdeps/i386/tst-audit.h: New file.
68545         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68546         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68547         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68548         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68549         * sysdeps/sh/tst-audit.h: Likewise.
68550         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68551         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68552         * sysdeps/x86_64/tst-audit.h: Likewise.
68554 2012-07-26  Andreas Jaeger  <aj@suse.de>
68556         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68557         ptrace.
68559         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68560         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68561         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68562         PTRACE_O_MASK.
68563         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68564         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68565         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68567         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68568         value.
68570         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68571         _sigsys.
68572         (si_call_addr, si_syscall, si_arch): Define new macro.
68573         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68574         _sigsys.
68575         (si_call_addr, si_syscall, si_arch): Define new marcro.
68576         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68577         _sigsys.
68578         (si_call_addr, si_syscall, si_arch): Define new macro.
68579         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68580         _sigsys.
68581         (si_call_addr, si_syscall, si_arch): Define new macro.
68583 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68585         [BZ #13717]
68586         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68587         Change to 2.4.21 where previously 2.4.1.
68588         * sysdeps/unix/sysv/linux/configure: Regenerated.
68589         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68590         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68591         Linux kernel version.
68592         (__ASSUME_STD_AUXV): Remove.
68593         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68594         kernel version.
68595         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68596         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68597         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68598         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68599         (__ASSUME_NETLINK_SUPPORT): Likewise.
68600         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68601         (__no_netlink_support): Remove conditional definition.
68602         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68603         Remove.
68604         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68605         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68606         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68607         (if_nameindex_ioctl): Remove.
68608         (if_nameindex_netlink): Do not handle __no_netlink_support.
68609         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68610         code.
68611         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68612         Remove conditional code.
68613         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68614         code.
68615         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68616         unconditional.
68617         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68618         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68619         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68620         Remove.
68621         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68622         [!__ASSUME_STD_AUXV]: Remove conditional code.
68623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68624         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68625         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68627         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68628         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68629         code.
68630         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68632         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68633         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68634         conditional code.
68635         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68637         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68638         code.
68639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68640         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68641         conditional code.
68642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68643         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68644         code unconditional.
68645         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68646         conditional code.
68647         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68648         unconditional.
68649         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68650         conditional code.
68651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68652         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68653         unconditional.
68654         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68655         conditional code.
68656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68657         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68658         code unconditional.
68659         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68660         conditional code.
68661         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68662         unconditional.
68663         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68664         conditional code.
68665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68666         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68667         code unconditional.
68668         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68669         conditional code.
68670         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68671         unconditional.
68672         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68673         conditional code.
68675 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
68677         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68678         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68679         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68680         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68681         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68682         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68683         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68684         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68685         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68686         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68687         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68688         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68689         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68690         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68691         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68692         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68693         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68694         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68695         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68696         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68697         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68698         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68699         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68701 2012-07-25  Florian Weimer  <fweimer@redhat.com>
68703         * Versions.def: Add GLIBC_2.17.
68704         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68705         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68706         Introduce __libc_secure_getenv.
68707         * stdlib/Versions (2.17): Add secure_getenv
68708         (GLIBC_PRIVATE): Add __libc_secure_getenv.
68709         * stdlib/secure-getenv.c: Rename __secure_getenv to
68710         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
68711         symbol __secure_getenv for GLIBC_2.0.
68712         * stdlib/tst-secure-getenv.c: New.
68713         * stdlib/Makefile (tests): Add testcase.
68714         * manual/startup.texi (Environment Access): Document
68715         secure_getenv.
68716         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68717         __libc_secure_getenv.
68718         * inet/ruserpass.c (ruserpass): Likewise.
68719         * malloc/mtrace.c (mtrace): Likewise.
68720         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68721         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68722         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68723         * sysdeps/posix/tempname.c: Likewise.  Evaluate
68724         HAVE_SECURE_GETENV.
68725         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68726         __secure_getenv to __libc_secure_getenv.
68727         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68729         Likewise.
68730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68731         Likewise.
68732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68734         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68740 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68742         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68743         (struct La_i86_retval): Likewise.
68744         (struct La_x86_64_regs): Likewise.
68745         (struct La_x86_64_retval): Likewise.
68746         (struct La_x32_regs): Likewise.
68747         (struct La_x32_retval): Likewise.
68748         (struct La_ppc32_regs): Likewise.
68749         (struct La_ppc32_retval): Likewise.
68750         (struct La_ppc64_regs): Likewise.
68751         (struct La_ppc64_retval): Likewise.
68752         (struct La_sh_regs): Likewise.
68753         (struct La_sh_retval): Likewise.
68754         (struct La_s390_32_regs): Likewise.
68755         (struct La_s390_32_retval): Likewise.
68756         (struct La_s390_64_regs): Likewise.
68757         (struct La_s390_64_retval): Likewise.
68758         (struct La_sparc32_regs): Likewise.
68759         (struct La_sparc32_retval): Likewise.
68760         (struct La_sparc64_regs): Likewise.
68761         (struct La_sparc64_retval): Likewise.
68762         (struct audit_ifaces): Remove architecture-specific pltenter and
68763         pltexit members.
68764         * sysdeps/i386/ldsodefs.h: New file.
68765         * sysdeps/powerpc/ldsodefs.h: Likewise.
68766         * sysdeps/s390/ldsodefs.h: Likewise.
68767         * sysdeps/sh/ldsodefs.h: Likewise.
68768         * sysdeps/sparc/ldsodefs.h: Likewise.
68769         * sysdeps/x86_64/ldsodefs.h: Likewise.
68771 2012-07-25  Marek Polacek  <polacek@redhat.com>
68773         [BZ #6808]
68774         * math/libm-test.inc (yn_test): Add another test.
68775         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68776         to ERANGE when the result is +-Inf.
68777         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68778         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68779         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68780         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68782 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
68784         * conform/data/time.h-data (NULL): Use macro-constant.  Require
68785         equal to 0.
68786         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
68787         clock_t.
68788         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
68790 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
68792         * configure.in <sysdeps resolving>: Correct printing
68793         Implies_before.
68794         * configure: Regenerate.
68796 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
68798         * math/w_ilogb.c: Include <limits.h>.
68799         * math/w_ilogbl.c: Likewise.
68801 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68803         * manual/lang.texi (__va_copy): Document primarily as ISO C99
68804         va_copy.  Document allowing for unavailable va_copy only as
68805         pre-C99 compatibility.
68806         * manual/string.texi (Copying and Concatenation): Use va_copy
68807         instead of __va_copy in concat example.
68809 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
68811         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68812         (__sendto): Use create_address_port.  Initialize APORT and deallocate
68813         it if not null.
68815         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68816         with O_NOLINK passed to __file_name_lookup.
68818         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68819         with O_NOLINK passed to __file_name_lookup.
68821         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68822         negative N or less than NGIDS.
68824         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68825         type to string_t.  Set ERANGE as errno and return it if NAME is not big
68826         enough.  Use memcpy instead of strncpy.
68828 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68830         * elf/Makefile (check-data): Remove.
68831         (localplt.data): New vpath directive.
68832         ($(objpfx)check-localplt.out): Use localplt.data from vpath
68833         instead of $(check-data).
68834         * scripts/data/localplt-generic.data: Move to ...
68835         * sysdeps/generic/localplt.data: ... here.
68836         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68837         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68838         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68840         ... here.
68841         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68843         ... here.
68844         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68846         ... here.
68847         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68849         ... here.
68850         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68852         ... here.
68853         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68855         ... here.
68857 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68859         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68860         PPC32 and PPC64 files.
68861         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68862         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68864 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68866         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68867         __makecontext_ret to ...
68868         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68869         ... here and call exit if uc_link is NULL.  New file.
68870         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68871         __makecontext_ret.S.
68872         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68873         __makecontext_ret to ...
68874         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68875         ... here and call exit if uc_link is NULL.  New file.
68876         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68877         __makecontext_ret.S.
68879 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68881         * elf/elf.h (R_390_IRELATIVE): New definition.
68882         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68883         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
68884         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68885         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68886         (elf_machine_lazy_rel): Likewise.
68887         * sysdeps/s390/dl-irel.h: New file.
68888         * sysdeps/s390/s390-64/memcpy.S: New asm code.
68889         * sysdeps/s390/s390-64/memset.S: New asm code.
68890         * sysdeps/s390/s390-64/memcmp.S: New asm code.
68891         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68892         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68893         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68894         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68895         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68896         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68897         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68898         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68899         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68900         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68901         * sysdeps/s390/s390-32/memcpy.S: New asm code.
68902         * sysdeps/s390/s390-32/memset.S: New asm code.
68903         * sysdeps/s390/s390-32/memcmp.S: New asm code.
68905 2012-07-17  Marek Polacek  <polacek@redhat.com>
68907         [BZ #14349]
68908         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68909         * sysdeps/s390/s390-64/configure.in: Likewise.
68910         * sysdeps/sparc/configure.in: Likewise.
68911         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68912         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68913         * sysdeps/i386/configure.in: Likewise.
68914         * sysdeps/x86_64/configure.in: Likewise.
68915         * sysdeps/sh/configure.in: Likewise.
68916         * sysdeps/s390/s390-32/configure: Regenerated.
68917         * sysdeps/s390/s390-64/configure: Likewise.
68918         * sysdeps/x86_64/configure: Likewise.
68919         * sysdeps/sh/configure: Likewise.
68920         * sysdeps/powerpc/powerpc64/configure: Likewise.
68921         * sysdeps/powerpc/powerpc32/configure: Likewise.
68922         * sysdeps/sparc/configure: Likewise.
68923         * sysdeps/i386/configure: Likewise.
68925         * elf/dl-open.c: Comment fixes.
68927 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
68929         * Makefile [CXX] (check-data): Remove.
68930         [CXX] (c++-types.data): New vpath directive.
68931         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68932         vpath.  Do not allow for C++ type data being missing.
68933         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68934         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68935         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68936         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68937         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68938         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68939         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68941         ... here.
68942         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68944         ... here.
68945         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68947         ... here.
68948         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68950         ... here.
68951         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68953         ... here.
68954         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68956         ... here.
68957         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68959         ... here.
68960         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68963         * elf/tls-macros.h (TLS_LE): Move architecture-specific
68964         definitions to architecture-specific files.
68965         (TLS_IE): Likewise.
68966         (TLS_LD): Likewise.
68967         (TLS_GD): Likewise.
68968         * sysdeps/i386/tls-macros.h: New file.
68969         * sysdeps/powerpc/tls-macros.h: Likewise.
68970         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68971         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68972         * sysdeps/sh/tls-macros.h: Likewise.
68973         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68974         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68975         * sysdeps/x86_64/tls-macros.h: Likewise.
68977 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68979         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68980         zero value for regular exit case.
68982         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68983         (__start_context): Preserve zero value for regular exit case.
68985 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68986             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68988         * manual/setjmp.texi (setcontext): Clarify normal process
68989         termination when uc_link is the null pointer.
68990         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68991         exit call.
68993 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
68995         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68996         preprocessor.  Test for each exception mask separately.
68998 2012-07-16  Andreas Jaeger  <aj@suse.de>
69000         * po/ru.po: Update from translation team.
69002 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
69004         * conform/data/string.h-data (NULL): Use macro-constant.  Require
69005         equal to 0.
69006         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69007         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69008         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
69009         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
69010         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69012 2012-07-13  Andreas Jaeger  <aj@suse.de>
69014         * po/fr.po: Update from translation team.
69016 2012-07-12  Marek Polacek  <polacek@redhat.com>
69018         [BZ #14173]
69019         * math/libm-test.inc (yn_test): Add test for BZ #14173.
69020         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
69021         loop condition.
69023 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
69025         [BZ #13717]
69026         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69027         Change to 2.4.1 where previously 2.4.0.
69028         * sysdeps/unix/sysv/linux/configure: Regenerated.
69029         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
69030         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
69031         version.
69032         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
69033         (__ASSUME_AT_CLKTCK): Remove.
69034         (__ASSUME_AT_PAGESIZE): Likewise.
69035         (__ASSUME_AT_XID): Likewise.
69036         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
69037         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
69038         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
69039         unconditionally.
69040         (HAVE_AUX_PAGESIZE): Likewise.
69041         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
69042         [__ASSUME_AT_CLKTCK]: Make code unconditional.
69043         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
69045 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
69047         [BZ #14307]
69048         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
69049         the temporary buffer used to invoke __gethostbyname2_r,
69050         __gethostbyaddr_r and gethostbyname4_r to make room for struct
69051         host_data / struct gaih_addrtuple.
69052         * resolv/nss_dns/dns-host.c (global scope): Move definition of
69053         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
69054         header file nss/nsswitch.h.
69055         * nss/nsswitch.h (global scope): Add definition of implementation
69056         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
69057         resolv/nss_dns/dns-host.c).
69059 2012-07-11  Andreas Jaeger  <aj@suse.de>
69061         * po/fr.po: Update from translation team.
69063         * po/sv.po: Update from translation team
69064         * po/fr.po: Another update from translation team.
69066 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69068         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
69069         for subnormals or multiply small sinh result by itself.
69070         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69073 2012-07-11  David S. Miller  <davem@davemloft.net>
69075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69077 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
69079         [BZ #14347]
69080         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
69081         (INTERNAL_MARK): Shift it here.
69083 2012-07-10  Marek Polacek  <polacek@redhat.com>
69085         [BZ #14151]
69086         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
69087         libc_cv_asm_global_directive with .globl.
69088         * configure: Regenerated.
69089         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
69090         with .globl.
69091         * sysdeps/i386/configure: Regenerated.
69092         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
69093         with .globl.
69094         * sysdeps/x86_64/configure: Regenerated.
69095         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
69096         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
69097         * elf/tst-unique2mod2.c: Likewise.
69098         * elf/tst-unique2mod1.c: Likewise.
69099         * elf/tst-unique1mod2.c: Likewise.
69100         * elf/tst-unique1mod1.c: Likewise.
69101         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69102         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69103         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69104         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69105         * sysdeps/mach/sysdep.h: Likewise.
69106         * sysdeps/i386/sysdep.h: Likewise.
69107         * sysdeps/i386/i386-mcount.S: Likewise.
69108         * sysdeps/x86_64/_mcount.S: Likewise.
69109         * sysdeps/x86_64/sysdep.h: Likewise.
69110         * sysdeps/sh/_mcount.S: Likewise.
69111         * sysdeps/sh/sysdep.h: Likewise.
69112         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69113         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
69114         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
69115         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69116         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
69117         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
69118         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
69119         * locale/localeinfo.h: Likewise.
69120         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
69121         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
69123 2012-07-09  Roland McGrath  <roland@hack.frob.com>
69125         [BZ #14336]
69126         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
69127         system".
69128         * manual/message.texi (The Uniforum approach): Likewise.
69129         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
69130         (glibc iconv Implementation): Likewise.
69132 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
69134         [BZ #14337]
69135         * math/s_clog.c (__clog): Avoid scaling a value down where that
69136         could result in underflow.
69137         * math/s_clog10.c (__clog10): Likewise.
69138         * math/s_clog10f.c (__clog10f): Likewise.
69139         * math/s_clog10l.c (__clog10l): Likewise.
69140         * math/s_clogf.c (__clogf): Likewise.
69141         * math/s_clogl.c (__clogl): Likewise.
69142         * math/libm-test.inc (clog_test): Add more tests.
69143         (clog10_test): Likewise.
69144         * sysdeps/i386/fpu/libm-test-ulps: Update.
69145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69147 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
69149         [BZ #14283]
69150         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69151         by 7 not 8 to examine high bit of fractional part.
69153         [BZ #14042]
69154         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
69155         for call to __mcount_internal.
69156         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
69157         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
69158         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
69160 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
69162         [BZ #14154]
69163         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
69164         approximation for values within 0x1p-13f of an odd multiple of
69165         pi/4.
69166         * math/libm-test.inc (tan_test): Do not allow spurious underflow
69167         exception.  Add more tests.
69168         * sysdeps/i386/fpu/libm-test-ulps: Update.
69170         [BZ #6778]
69171         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
69172         inputs and return -1 for them.  Do not check for +Inf in case not
69173         reachable for +Inf.
69174         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
69175         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
69176         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69177         and return -1 for them.  Do not check for +Inf in case not
69178         reachable for +Inf.
69179         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
69180         define.
69181         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69182         and return -1 for them.  Do not check for +Inf in case not
69183         reachable for +Inf.
69184         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
69185         spurious underflow.
69186         * sysdeps/i386/fpu/libm-test-ulps: Update.
69187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69189 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
69191         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69193 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
69195         [BZ #14157]
69196         [BZ #14331]
69197         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69198         could result in spurious underflow.  Scale down values above
69199         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69200         * math/s_csqrtf.c (__csqrtf): Likewise.
69201         * math/s_csqrtl.c (__csqrtl): Likewise.
69202         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
69203         spurious underflow.
69204         * sysdeps/i386/fpu/libm-test-ulps: Update.
69205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69207 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
69209         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69210         xopen-msg.sed.
69211         * catgets/xopen-msg.awk: New file.
69212         * catgets/xopen-msg.sed: Removed.
69214         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69215         po2text.sed.
69216         * intl/po2test.awk: New file.
69217         * intl/po2test.sed: Removed.
69219 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
69221         [BZ #14328]
69222         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69223         or multiply small sinh result by itself.
69224         * math/s_ctanf.c (__ctanf): Likewise.
69225         * math/s_ctanh.c (__ctanh): Likewise.
69226         * math/s_ctanhf.c (__ctanhf): Likewise.
69227         * math/s_ctanhl.c (__ctanhl): Likewise.
69228         * math/s_ctanl.c (__ctanl): Likewise.
69229         * math/libm-test.inc (ctan_test_tonearest): New function.
69230         (ctan_test_towardzero): Likewise.
69231         (ctan_test_downward): Likewise.
69232         (ctan_test_upward): Likewise.
69233         (ctanh_test_tonearest): Likewise.
69234         (ctanh_test_towardzero): Likewise.
69235         (ctanh_test_downward): Likewise.
69236         (ctanh_test_upward): Likewise.
69237         (main): Call these new functions.
69238         * sysdeps/i386/fpu/libm-test-ulps: Update.
69239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69241 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
69243         * .gitignore: Delete /ports entry.
69245 2012-07-03  Andreas Jaeger  <aj@suse.de>
69247         * po/bg.po: Update from translation team.
69248         * po/cs.po: Likewise.
69249         * po/de.po: Likewise.
69250         * po/hr.po: Likewise.
69251         * po/nl.pl: Likewise.
69252         * po/pl.po: Likewise.
69253         * po/vi.po: Likewise.
69255 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
69257         * Makeconfig [!+link] (+link-before-libc): New variable.
69258         [!+link] (+link-after-libc): Likewise.
69259         [!+link] (+link-tests): Likewise.
69260         [!+link] (+link): Define in terms of $(+link-before-libc) and
69261         $(+link-after-libc).
69262         [!+link-static] (+link-static-before-libc): New variable.
69263         [!+link-static] (+link-static-after-libc): Likewise.
69264         [!+link-static] (+link-static-tests): Likewise.
69265         [!+link-static] (+link-static): Define in terms of
69266         $(+link-static-before-libc) and $(+link-static-after-libc).
69267         [build-shared] (link-libc-before-gnulib): New variable.
69268         [build-shared] (link-libc-tests): Likewise.
69269         [build-shared] (link-libc): Define in terms of
69270         $(link-libc-before-gnulib).
69271         [!build-shared] (link-libc-tests): New variable.
69272         (link-libc-static-tests): New variable.
69273         [!gnulib] (gnulib-arch): New variable.
69274         [!gnulib] (gnulib-tests): Likewise.
69275         [!gnulib] (static-gnulib-arch): Likewise.
69276         [!gnulib] (static-gnulib-tests): Likewise.
69277         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
69278         Define with "=" instead of ":=".
69279         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
69280         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
69281         * Rules (binaries-all-notests): New variable.
69282         (binaries-all-tests): Likewise.
69283         (binaries-static-notests): Likewise.
69284         (binaries-static-tests): Likewise.
69285         (binaries-all): Define using $(binaries-all-notests) and
69286         $(binaries-all-tests).
69287         (binaries-static): Define using $(binaries-static-notests) and
69288         $(binaries-static-tests).
69289         (binaries-shared-tests): New variable.
69290         (binaries-shared-notests): Likewise.
69291         (binaries-shared): Remove variable.
69292         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69293         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69294         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69295         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69296         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69297         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69298         * elf/Makefile (sln-modules): New variable.
69299         (extra-objs): Add $(sln-modules:=.o).
69300         (ldconfig-modules): Add static-stubs.
69301         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69302         * elf/static-stubs.c: New file.
69304         [BZ #14283]
69305         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69306         by 7 not 8 to examine high bit of fractional part.  Use volatile
69307         variables when splitting into final array of floats if
69308         __FLT_EVAL_METHOD__ != 0.
69309         * math/libm-test.inc (cos_test): Add another test.
69310         (sin_test): Likewise.
69311         * sysdeps/i386/fpu/libm-test-ulps: Update.
69313         [BZ #14273]
69314         * math/libm-test.inc (cosh_test): Add more tests.
69316         * version.h (RELEASE): Set to "development".
69317         (VERSION): Set to "2.16.90".
69319 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
69321         * NEWS: Update copyright. Remove last-updated date.
69322         Mention math library bug fixes and timezone data changes.
69323         * README: Mention GNU/Hurd, x32, and HPPA support status.
69325 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
69327         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69329 2012-06-27  Andreas Jaeger  <aj@suse.de>
69331         * manual/contrib.texi (Contributors): Add Samuel Thibault.
69333 2012-06-25  Andreas Jaeger  <aj@suse.de>
69335         * sysdeps/s390/fpu/libm-test-ulps: Update.
69337 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
69338             Thomas Schwinge  <thomas@codesourcery.com>
69340         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69341         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69342         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69343         fanotify_mark.
69345 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
69347         * sysdeps/mach/start.c: Remove file.
69348         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69349         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69350         * sysdeps/sh/init-first.c: Likewise.
69352         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69353         registers for frame unwinding purposes, add CFI directives.
69354         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69355         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69356         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69357         Likewise.
69359         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69360         __fortify_fail returning.
69361         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69363         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69364         sysdeps/sh/____longjmp_chk.S.
69365         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69366         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69367         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69368         (gen-as-const-headers): Append sigaltstack-offsets.sym.
69370         * sysdeps/sh/abort-instr.h: New file.
69371         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69372         process in case exit returns.
69374         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69375         initialize the GOT register before use.
69377         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69378         calculation of ARGC > 4.
69380         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69381         meaningful names to some local labels.
69383 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69384             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69386         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69387         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69388         (__arch_compare_and_exchange_val_16_acq): Likewise.
69389         (__arch_compare_and_exchange_val_32_acq): Likewise.
69390         (atomic_exchange_and_add): Fix gUSA sequence.
69391         (atomic_add): Likewise.
69392         (atomic_add_negative): Likewise.
69393         (atomic_add_zero): Likewise.
69394         (atomic_bit_test_set): Likewise.
69396 2012-06-22  Andreas Schwab  <schwab@redhat.com>
69398         [BZ #13579]
69399         * include/link.h (struct link_map): Add l_free_initfini.
69400         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69401         l_initfini.
69402         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69403         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69404         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69405         set.
69407 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
69409         * configure.in: Use AC_LANG_SOURCE.
69410         * configure: Regenerate.
69412 2012-06-22  Roland McGrath  <roland@hack.frob.com>
69414         * configure.in (libc_cv_localstatedir): New substituted variable.
69415         * configure: Regenerated.
69416         * config.make.in (localstatedir): New variable, substituted from
69417         libc_cv_localstatedir.
69418         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69419         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69420         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69421         * sysdeps/gnu/configure: Regenerated.
69423 2012-06-21  Jeff Law  <law@redhat.com>
69425         [BZ #14277]
69426         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69427         free.  Simplify list management for _LIBC case.
69429 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
69431         [BZ #14273]
69432         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69433         Clear sign bit of 64-bit integer value before comparing against
69434         overflow value.
69436         * sysdeps/mach/configure: Regenerated.
69438 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
69440         [BZ #14278]
69441         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69443 2012-06-21  Jeff Law  <law@redhat.com>
69445         [BZ #13882]
69446         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
69447         uint16_t for elements in the "seen" array to avoid char overflows.
69448         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69449         * elf/dl-open.c (dl_open_worker): Likewise.
69451 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
69453         * scripts/list-sources.sh: Scan PORTS for translations.
69454         * po/libc.pot: Regenerated.
69456 2012-06-21  Andreas Jaeger  <aj@suse.de>
69458         [BZ #12194]
69459         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69460         warning.
69461         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69462         * bits/byteswap-16.h (__bswap_16): Likewise.
69463         * bits/byteswap.h (__bswap_constant_16): Likewise.
69465 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
69467         [BZ #14117]
69468         * sysdeps/i386/fpu_control.h: Removed.
69469         * sysdeps/x86_64/fpu_control.h: Moved to ...
69470         * sysdeps/x86/fpu_control.h: Here.
69472         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69473         (_FPU_SETCW): Likewise.
69475 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
69477         [BZ #14117]
69478         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69479         * sysdeps/x86/fpu/bits/mathinline.h: This.
69480         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69482         [BZ #14050]
69483         [BZ #14117]
69484         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69485         functions if __x86_64__ is defined.
69487 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
69489         * string/endian.h: Add !__ASSEMBLER__ condition for including
69490         conversion interfaces.
69492 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
69494         [BZ #14241]
69495         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69496         of ABS(x) in calculating zero to negative powers other than odd
69497         integers.
69498         * math/libm-test.inc (pow_test): Add more tests.
69500 2012-06-15  Andreas Jaeger  <aj@suse.de>
69502         * manual/contrib.texi (Contributors): Update entry of Liubov
69503         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69504         Machado Filho.
69506 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
69508         * string/string.h: Add __wur to GNU version of strerror_r.
69510 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
69512         [BZ #14229]
69513         * string/Makefile (tests): Add tst-strtok_r.
69514         * string/tst-strtok_r.c: New file.
69515         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69516         RAX_LP/RDX_LP on SAVE_PTR.
69518 2012-06-14  Roland McGrath  <roland@hack.frob.com>
69520         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69522 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
69524         * libm_test.inc (csqrt_test): Allow more spurious underflow
69525         exceptions.
69526         (j0_test): Likewise.
69527         (j1_test): Likewise.
69528         (y0_test): Likewise.
69529         (y1_test): Likewise.
69531 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
69533         * po/Makefile (libc.pot): Use UTF-8 charset.
69535 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
69537         [BZ #14210]
69538         Suppress sign-conversion warning from FD_SET.
69539         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69540         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69541         not unsigned long int.
69542         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69544 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
69546         [BZ #14050]
69547         [BZ #14117]
69548         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69549         __extern_always_inline instead of __extern_inline.
69550         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69551         (__signbit): Likewise.
69552         (__signbitl): Support C++ namespace.
69553         (lrintf): New inline function.
69554         (lrint): Likewise.
69555         (llrintf): Likewise.
69556         (llrint): Likewise.
69557         (fmaxf): Likewise.
69558         (fmax): Likewise.
69559         (fminf): Likewise.
69560         (fmin): Likewise.
69561         (rint): Likewise.
69562         (rintf): Likewise.
69563         (ceil): Likewise.
69564         (ceilf): Likewise.
69565         (floor): Likewise.
69566         (floorf): Likewise.
69567         (nearbyint): Likewise.
69568         (nearbyintf): Likewise.
69570 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
69572         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69573         non-default versions.
69575 2012-06-11  Roland McGrath  <roland@hack.frob.com>
69577         [BZ #14218]
69578         * manual/argp.texi (Argp): Reword argp_parse description slightly.
69580 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
69582         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69583         (FE_UPWARD, FE_DOWNWARD): Don't define.
69584         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69585         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69587         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69588         reading it.
69589         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69590         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69592 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69594         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69595         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69596         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69597         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69599 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
69601         [BZ #14117]
69602         * sysdeps/i386/fpu/bits/fenv.h: Removed.
69603         * sysdeps/i386/fpu/Implies: New file.
69604         * sysdeps/x86_64/fpu/Implies: Likewise.
69605         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69606         * sysdeps/x86/fpu/bits/fenv.h: This.
69608         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69609         __SSE_MATH__.
69611 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69613         [BZ #14134]
69614         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69615         character 0xffff that matches the last element of the
69616         conversion table.
69618 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69620         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69621         fmodl commit.
69623 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69625         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69626         values higher than 25.6283.
69628 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69630         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69631         subnormal exponent extraction and add some __builtin_expect.
69632         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69633         Fix for subnormal mantissa calculation.
69635 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
69637         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69638         cpu2 is -1 and errno is not ENOSYS.
69640 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
69642         [BZ #14117]
69643         * sysdeps/i386/i486/bits/string.h: Renamed to ...
69644         * sysdeps/x86/bits/string.h: This.
69645         * sysdeps/x86_64/bits/string.h: Removed.
69647         * sysdeps/i386/i486/bits/string.h: Define inline functions only
69648         if not compiling for x86-64, but compiling for >= i486.
69650         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69651         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69653         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69654         New macro from Linux kernel 3.4.0.
69655         (FP_XSTATE_MAGIC2): Likewise.
69656         (FP_XSTATE_MAGIC2_SIZE): Likewise.
69657         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69658         (struct _fpx_sw_bytes): New struct.
69659         (struct _xsave_hdr): Likewise.
69660         (struct _ymmh_state): Likewise.
69661         (struct _xstate): Likewise.
69663         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69664         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69665         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69666         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69667         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69668         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69670         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69671         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69672         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69673         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69674         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69675         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69677 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69679         [BZ #13743]
69680         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69681         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69682         (sysdep_headers): Include sys/platform/ppc.h.
69683         * sysdeps/powerpc/test-gettimebase.c: Test for
69684         __ppc_get_timebase() to catch future ISA opcode/insn changes.
69685         * manual/Makefile (appendices): Include platform.texi.
69686         * manual/contrib.texi (Contributors): Update @node pointers.
69687         * manual/maint.texi (Maintenance): Likewise.
69688         (Platform): New node.
69689         * manual/platform.texi: New file.  Document the new features.
69691 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69692             Jakub Jelinek  <jakub@redhat.com>
69694         [BZ #14188]
69695         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69696         where __builtin_expect is unavailable.
69698 2012-06-03  David S. Miller  <davem@davemloft.net>
69700         * stdlib/longlong.h: Updated from GCC.
69702 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
69704         [BZ #14042]
69705         * sysdeps/powerpc/powerpc32/mcount.c: New file.
69706         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69707         __mcount_internal.
69708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69709         (GLIBC_2.16): Likewise.
69711 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69713         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69715 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69718         (default-abi): New variable.
69719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69720         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69721         variable.
69722         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69723         Likewise.
69724         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69725         Likewise.
69726         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69727         Likewise.
69729         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69730         definition.  Document in comment.
69732 2012-06-01  David S. Miller  <davem@davemloft.net>
69734         * stdlib/longlong.h: Updated from GCC.
69736 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69738         [BZ #14117]
69739         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69740         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69741         sys/debugreg.h sys/io.h here.
69742         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69743         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69744         sys/io.h.
69745         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69746         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69747         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69748         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69749         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69750         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69752         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69753         Define only if __x86_64__ is defined.
69755 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69757         [BZ #14048]
69758         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69759         Use int64_t for variable i.
69760         * math/libm-test.inc (fmod_test): Add more tests.
69762         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69763         z computation is not scheduled after fetestexcept.
69764         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69765         Use math_force_eval instead of asm to ensure calculation scheduled
69766         before exception test.
69767         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69768         Ensure a1 + u.d computation is not scheduled after fetestexcept.
69770 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
69772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69773         computation is not scheduled after fetestexcept.
69775 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69777         [BZ #14117]
69778         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69779         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69781 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69783         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69784         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69786 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69788         [BZ #14117]
69789         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69790         <bits/wordsize.h>.
69791         (__WCHAR_MIN): Support __WORDSIZE == 64.
69792         (__WCHAR_MAX): Likewise.
69794         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69795         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69797         [BZ #14183]
69798         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69799         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69801         [BZ #14117]
69802         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69803         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69805         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69806         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69808         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69809         Defined to 1 if __x86_64__ isn't defined.
69810         (_STAT_VER_LINUX_OLD): New.
69811         (st_atime): Remove duplicate.
69812         (st_mtime): Likewise.
69813         (st_ctime): Likewise.
69815 2012-05-31  David S. Miller  <davem@davemloft.net>
69817         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69818         entries.
69820 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
69822         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69823         gen-libm-test.pl.
69825         [BZ #14132]
69826         * elf/dl-reloc.c: Include <_itoa.h>.
69827         (_dl_reloc_bad_type): Remove use of INTUSE.
69828         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69829         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69830         * stdio-common/psiginfo.c (psiginfo): Likewise.
69831         * stdio-common/psignal.c (psignal): Likewise.
69832         * string/strsignal.c (strsignal): Likewise.
69833         * include/signal.h (_sys_siglist): Declare hidden proto.
69834         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
69835         INTVARDEF with libc_hidden_data_def.
69836         * stdio-common/itoa-udigits.c: Likewise.
69837         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69838         (_itoa_lower_digits_internal): Remove declaration.
69839         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69840         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69841         (_sys_sigabbrev_internal): Remove aliases.
69842         (_sys_siglist): Define hidden alias.
69844 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
69846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69847         bits/sysctl.h.
69849 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69851         [BZ #14117]
69852         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69853         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69855         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69856         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69857         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69858         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69859         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69860         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69862         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69863         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69864         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69866         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69867         with __addr.
69868         (insw): Likewise.
69869         (insl): Likewise.
69870         (outsb): Likewise.
69871         (outsw): Likewise.
69872         (outsl): Likewise.
69874         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69875         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69876         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69878         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69879         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69880         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69881         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69882         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69883         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69885         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69886         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69888         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69889         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69891         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69892         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69893         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69895         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69896         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69897         to ...
69898         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69900         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69901         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69902         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69904         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69905         for x86-64.
69906         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69908 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
69910         * math/math.h (M_El): Use two more decimal places.
69911         (M_LOG2El): Likewise.
69912         (M_LOG10El): Likewise.
69913         (M_LN2l): Likewise.
69914         (M_LN10l): Likewise.
69915         (M_PIl): Likewise.
69916         (M_PI_2l): Likewise.
69917         (M_PI_4l): Likewise.
69918         (M_1_PIl): Likewise.
69919         (M_2_PIl): Likewise.
69920         (M_2_SQRTPIl): Likewise.
69921         (M_SQRT2l): Likewise.
69922         (M_SQRT1_2l): Likewise.
69924 2012-05-31  David S. Miller  <davem@davemloft.net>
69926         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69927         values between float registers.
69928         * sysdeps/sparc/sparc64/memset.S: Likewise.
69929         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69931 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
69933         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69934         -D_FORTIFY_SOURCE=1.
69935         (CPPFLAGS-tst-longjmp_chk.c): Define.
69936         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69937         (CPPFLAGS-tst-longjmp_chk2.c): Define.
69938         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69939         CFLAGS-tst-wchar-h.c.
69941 2012-05-31  Marek Polacek  <polacek@redhat.com>
69943         [BZ #14132]
69944         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69945         __endmntent_internal): Remove declaration.
69946         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69947         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69948         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69950 2012-05-30  David S. Miller  <davem@davemloft.net>
69952         * sysdeps/sparc/sparc32/soft-fp/q_util.c
69953         (___Q_simulate_exceptions): Use real FP ops rather than writing
69954         into the %fsr.
69955         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69956         Likewise.
69958 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69960         [BZ #14117]
69961         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69962         * sysdeps/x86/bits/xtitypes.h: This.
69964         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69965         * sysdeps/x86/bits/wordsize.h: This.
69967         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69968         * sysdeps/x86/bits/huge_vall.h: This.
69970         * sysdeps/i386/bits/select.h: Removed.
69971         * sysdeps/x86_64/bits/select.h: Renamed to ...
69972         * sysdeps/x86/bits/select.h: This.
69974         * sysdeps/i386/bits/setjmp.h: Removed.
69975         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69976         * sysdeps/x86/bits/setjmp.h: This.
69978         * sysdeps/i386/bits/mathdef.h: Removed.
69979         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69980         * sysdeps/x86/bits/mathdef.h: This.
69982 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
69984         [BZ #14132]
69985         * include/sys/socket.h (__connect_internal)
69986         (__libc_sa_len_internal): Remove declaration.
69987         (__connect, __libc_sa_len): Declare hidden_proto.
69988         (SA_LEN): Remove use of INTUSE.
69989         * socket/connect.c: Add libc_hidden_def.
69990         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69991         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69992         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69993         alias.
69994         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69995         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69996         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69997         of adding _internal alias.
69999 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70001         [BZ #14117]
70002         * sysdeps/i386/bits/link.h: Removed.
70003         * sysdeps/i386/bits/linkmap.h: Likewise.
70004         * sysdeps/x86_64/bits/link.h: Renamed to ...
70005         * sysdeps/x86/bits/link.h: This.
70006         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
70007         * sysdeps/x86/bits/linkmap.h: This.
70009         * sysdeps/i386/bits/endian.h: Removed.
70010         * sysdeps/x86_64/bits/endian.h: Renamed to ...
70011         * sysdeps/x86/bits/endian.h: This.
70013         * sysdeps/i386/bits/byteswap.h: Removed.
70014         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70015         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
70016         * sysdeps/x86/bits/byteswap.h: This.
70017         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
70018         * sysdeps/x86/bits/byteswap-16.h: This.
70019         * sysdeps/i386/Implies: Add x86.
70020         * sysdeps/x86_64/Implies: Likewise.
70022 2012-05-30  David S. Miller  <davem@davemloft.net>
70024         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
70025         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
70026         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
70027         (FP_TRAPPING_EXCEPTIONS): Define.
70028         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
70029         (FP_TRAPPING_EXCEPTIONS): Define.
70030         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
70031         subnormals only when inexact has been signalled or underflow
70032         exceptions are enabled.
70033         (_FP_PACK_CANONICAL): Likewise.
70035 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70037         [BZ #14183]
70038         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
70039         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70041 2012-05-30  Richard Henderson  <rth@twiddle.net>
70043         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
70044         with #ifndef NOT_IN_libc.
70046         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
70047         marked to avoid plt entry.
70049 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70051         [BZ #14112]
70052         * Makeconfig (default-abi): New macro.
70053         (abi-includes): Likewise.
70054         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
70055         $(abi-$(default-abi)-lib-soname) for soname if defined.
70056         ($(common-objpfx)gnu/lib-names.stmp): Generate from
70057         abi-variants.
70058         * Makefile (installed-stubs): Likewise.
70059         * include/stubs-biarch.h: Removed.
70060         * scripts/lib-names.awk: Only handle one library at a time.
70061         * scripts/soversions.awk: Remove WORDSIZE support.
70062         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
70063         entries.
70064         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
70065         Removed.
70066         (syscall-list-default-condition): Likewise.
70067         (syscall-list-default-condition): Likewise.
70068         (syscall-list-includes): Likewise.
70069         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
70070         syscall-list-* with abi-*.  Handle undefined abi-variants.
70071         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
70072         * sysdeps/unix/sysv/linux/i386/Implies: New file.
70073         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
70074         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70075         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
70076         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
70077         Removed.
70078         (syscall-list-32-options): Likewise.
70079         (syscall-list-32-condition): Likewise.
70080         (syscall-list-64-options): Likewise.
70081         (syscall-list-64-condition): Likewise.
70082         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
70083         macro.
70084         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
70085         Renamed to ...
70086         (abi-*): This.
70087         (abi-64-ld-soname): New macro.
70088         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
70089         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
70090         Renamed to ...
70091         (abi-*): This.
70092         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
70093         * sysdeps/x86_64/x32/shlib-versions: Likewise.
70095 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
70097         * sysdeps/unix/sysv/linux/kernel-features.h
70098         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
70099         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
70100         include <kernel-features.h>.
70101         [!__NR_ftruncate64]: Remove conditional code.
70102         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70103         [__NR_ftruncate64]: Make code unconditional.
70104         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70105         * sysdeps/unix/sysv/linux/truncate64.c: Do not
70106         include <kernel-features.h>.
70107         [!__NR_ftruncate64]: Remove conditional code.
70108         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70109         [__NR_ftruncate64]: Make code unconditional.
70110         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
70112         include <kernel-features.h>.
70113         [!__NR_ftruncate64]: Remove conditional code.
70114         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70115         [__NR_ftruncate64]: Make code unconditional.
70116         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70118         include <kernel-features.h>.
70119         [!__NR_ftruncate64]: Remove conditional code.
70120         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70121         [__NR_ftruncate64]: Make code unconditional.
70122         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70124         * configure.in (libc_cv_fpie): Weaken to a compile test using
70125         LIBC_TRY_CC_OPTION.
70126         * configure: Regenerated.
70128 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
70131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
70132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
70133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70134         Refreshed.
70135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
70136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
70137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
70138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
70139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
70140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70141         Refreshed.
70143 2012-05-27  David S. Miller  <davem@davemloft.net>
70145         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
70146         (___Q_zero): New.
70147         (__Q_simulate_exceptions): Return void.  Change to simulate
70148         exceptions by writing into the %fsr.
70149         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
70150         (__Qp_handle_exceptions): Likewise.
70151         (numbers): Delete.
70152         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
70153         __Qp_handle_exceptions.
70154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
70155         __Qp_handle_exceptions.
70156         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70157         as unused and give dummy FP_RND_NEAREST initializer.
70158         (FP_INHIBIT_RESULTS): Define.
70159         (___Q_simulate_exceptions): Update declaration.
70160         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
70161         formatting.
70162         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70163         as unused and give dummy FP_RND_NEAREST initializer.
70164         (__Qp_handle_exceptions): Update declaration.
70165         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
70166         formatting.
70168 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
70170         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
70171         the temporary FPU control word.
70172         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
70173         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
70174         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
70175         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70176         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
70177         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
70178         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
70179         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70180         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
70181         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
70182         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70184 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70186         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70187         fields.
70189 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
70191         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70192         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70193         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70194         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70195         Likewise.
70196         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70197         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70198         Likewise.
70200 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
70202         * po/h.po: Update from translation team.
70204 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
70206         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70208         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70209         handling of denormals.
70210         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70211         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70212         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70213         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70214         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70215         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70216         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70217         Likewise.
70219 2012-05-26  Marek Polacek  <polacek@redhat.com>
70221         [BZ #14152]
70222         * math/libm-test.inc (fma_test): Don't always expect underflow
70223         exception.
70225 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70227         [BZ #12416]
70228         * elf/tst-execstack.c: Include stackinfo.h.
70229         (do_test): Adjust test case to ensure that pthread_getattr_np
70230         behaviour remains the same after marking stack executable.
70232 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70234         * sysdeps/unix/sysv/linux/kernel-features.h
70235         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70236         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70237         kernel-features.h.
70238         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70239         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70240         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70241         kernel-features.h.
70242         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70243         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70245 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
70247         * configure.in: Define the default includes to being none.
70248         * configure: Regenerated.
70250 2012-05-25  Roland McGrath  <roland@hack.frob.com>
70252         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70253         * sysdeps/x86_64/setjmp.S: Likewise.
70254         * sysdeps/i386/bsd-setjmp.S: Likewise.
70255         * sysdeps/i386/bsd-_setjmp.S: Likewise.
70256         * sysdeps/i386/setjmp.S: Likewise.
70257         * sysdeps/i386/__longjmp.S: Likewise.
70258         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70259         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70261         * include/stap-probe.h: New file.
70262         * configure.in: Handle --enable-systemtap.
70263         * configure: Regenerated.
70264         * config.h.in (USE_STAP_PROBE): New #undef.
70265         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70266         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70267         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70269 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70271         [BZ #13717]
70272         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70273         to 2.4.0 where earlier.
70274         * sysdeps/unix/sysv/linux/configure: Regenerated.
70275         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
70284         [__ASSUME_32BITUIDS]: Make code unconditional.
70285         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70286         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70287         <kernel-features.h>.
70288         [__ASSUME_32BITUIDS]: Make code unconditional.
70289         [!__ASSUME_32BITUIDS]: Remove conditional code.
70290         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70291         <kernel-features.h>.
70292         [__ASSUME_32BITUIDS]: Make code unconditional.
70293         [!__ASSUME_32BITUIDS]: Remove conditional code.
70294         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70295         <kernel-features.h>.
70296         [__ASSUME_32BITUIDS]: Make code unconditional.
70297         [!__ASSUME_32BITUIDS]: Remove conditional code.
70298         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70299         <kernel-features.h>.
70300         [__ASSUME_32BITUIDS]: Make code unconditional.
70301         [!__ASSUME_32BITUIDS]: Remove conditional code.
70302         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70303         <kernel-features.h>.
70304         [__ASSUME_32BITUIDS]: Make code unconditional.
70305         [!__ASSUME_32BITUIDS]: Remove conditional code.
70306         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70307         <kernel-features.h>.
70308         [__ASSUME_32BITUIDS]: Make code unconditional.
70309         [!__ASSUME_32BITUIDS]: Remove conditional code.
70310         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70311         <kernel-features.h>.
70312         [__ASSUME_32BITUIDS]: Make code unconditional.
70313         [!__ASSUME_32BITUIDS]: Remove conditional code.
70314         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70315         <kernel-features.h>.
70316         [__ASSUME_32BITUIDS]: Make code unconditional.
70317         [!__ASSUME_32BITUIDS]: Remove conditional code.
70318         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70319         <kernel-features.h>.
70320         [__ASSUME_32BITUIDS]: Make code unconditional.
70321         [!__ASSUME_32BITUIDS]: Remove conditional code.
70322         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70323         <kernel-features.h>.
70324         [__ASSUME_32BITUIDS]: Make code unconditional.
70325         [!__ASSUME_32BITUIDS]: Remove conditional code.
70326         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70327         <kernel-features.h>.
70328         [__NR_setresgid] (__setresgid): Do not declare.
70329         [__ASSUME_32BITUIDS]: Make code unconditional.
70330         [!__ASSUME_32BITUIDS]: Remove conditional code.
70331         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70332         <kernel-features.h>.
70333         [__NR_setresuid] (__setresuid): Do not declare.
70334         [__ASSUME_32BITUIDS]: Make code unconditional.
70335         [!__ASSUME_32BITUIDS]: Remove conditional code.
70336         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70337         <kernel-features.h>.
70338         [__ASSUME_32BITUIDS]: Make code unconditional.
70339         [!__ASSUME_32BITUIDS]: Remove conditional code.
70340         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70341         <kernel-features.h>.
70342         [__ASSUME_32BITUIDS]: Make code unconditional.
70343         [!__ASSUME_32BITUIDS]: Remove conditional code.
70344         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70345         <kernel-features.h>.
70346         [__ASSUME_32BITUIDS]: Make code unconditional.
70347         [!__ASSUME_32BITUIDS]: Remove conditional code.
70348         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70349         <kernel-features.h>.
70350         [__ASSUME_32BITUIDS]: Make code unconditional.
70351         [!__ASSUME_32BITUIDS]: Remove conditional code.
70352         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70353         <kernel-features.h>.
70354         [__ASSUME_32BITUIDS]: Make code unconditional.
70355         [!__ASSUME_32BITUIDS]: Remove conditional code.
70356         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70357         <kernel-features.h>.
70358         [__ASSUME_32BITUIDS]: Make code unconditional.
70359         [!__ASSUME_32BITUIDS]: Remove conditional code.
70360         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70361         <kernel-features.h>.
70362         [__ASSUME_32BITUIDS]: Make code unconditional.
70363         [!__ASSUME_32BITUIDS]: Remove conditional code.
70364         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70365         <kernel-features.h>.
70366         [__ASSUME_32BITUIDS]: Make code unconditional.
70367         [!__ASSUME_32BITUIDS]: Remove conditional code.
70368         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70369         <kernel-features.h>.
70370         [__ASSUME_32BITUIDS]: Make code unconditional.
70371         [!__ASSUME_32BITUIDS]: Remove conditional code.
70372         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70373         <kernel-features.h>.
70374         [__ASSUME_32BITUIDS]: Make code unconditional.
70375         [!__ASSUME_32BITUIDS]: Remove conditional code.
70376         * sysdeps/unix/sysv/linux/kernel-features.h
70377         (__ASSUME_SETRESUID_SYSCALL): Remove.
70378         (__ASSUME_SETRESGID_SYSCALL): Likewise.
70379         (__ASSUME_32BITUIDS): Likewise.
70380         (__ASSUME_LDT_WORKS): Likewise.
70381         (__ASSUME_O_DIRECTORY): Likewise.
70382         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70383         architecture but not kernel version.
70384         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70385         (__ASSUME_MMAP2_SYSCALL): Likewise.
70386         (__ASSUME_STAT64_SYSCALL): Likewise.
70387         (__ASSUME_IPC64): Likewise.
70388         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70389         <kernel-features.h>.
70390         [__ASSUME_32BITUIDS]: Make code unconditional.
70391         [!__ASSUME_32BITUIDS]: Remove conditional code.
70392         * sysdeps/unix/sysv/linux/opendir.c: Do not include
70393         <kernel-features.h>.
70394         [__ASSUME_O_DIRECTORY]: Make code unconditional.
70395         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70396         132096]: Remove conditional code.
70397         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70398         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70399         <kernel-features.h>.
70400         [__ASSUME_32BITUIDS]: Make code unconditional.
70401         [!__ASSUME_32BITUIDS]: Remove conditional code.
70402         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70403         <kernel-features.h>.
70404         [__ASSUME_32BITUIDS]: Make code unconditional.
70405         [!__ASSUME_32BITUIDS]: Remove conditional code.
70406         * sysdeps/unix/sysv/linux/setegid.c: Do not include
70407         <kernel-features.h>.
70408         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70409         unconditional.
70410         (__setresgid): Do not declare.
70411         [__ASSUME_32BITUIDS]: Make code unconditional.
70412         [!__ASSUME_32BITUIDS]: Remove conditional code.
70413         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70414         <kernel-features.h>.
70415         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70416         unconditional.
70417         (__setresuid): Do not declare.
70418         [__ASSUME_32BITUIDS]: Make code unconditional.
70419         [!__ASSUME_32BITUIDS]: Remove conditional code.
70420         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70421         <kernel-features.h>.
70422         [__ASSUME_32BITUIDS]: Make code unconditional.
70423         [!__ASSUME_32BITUIDS]: Remove conditional code.
70424         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70425         <kernel-features.h>.
70426         [__ASSUME_32BITUIDS]: Make code unconditional.
70427         [!__ASSUME_32BITUIDS]: Remove conditional code.
70429 2012-05-25  Richard Henderson  <rth@twiddle.net>
70431         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70432         dl_hwcap to ifunc resolver.
70433         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70434         elf_ifunc_invoke.
70435         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70436         dl_hwcap to ifunc resolver.
70437         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70439 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70441         [BZ #14153]
70442         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70443         for |x| <= 2**-26, not 2**-57.
70444         * math/libm-test.inc (acos_test): Do not allow spurious underflow
70445         exception.
70447 2012-05-24  Jeff Law  <law@redhat.com>
70449         * stdio-common/Makefile (tests): Add bug25.
70450         * stdio-common/bug25.c: New test.
70452 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70454         [BZ #13576]
70455         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70456         multiple of MALLOC_ALIGNMENT in size.
70457         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70459 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70461         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70462         Require >= 256.
70463         (FILENAME_MAX): Use macro-int-constant.
70464         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
70465         (_IOFBF): Use macro-int-constant.
70466         (_IOLBF): Likewise.
70467         (_IONBF): Likewise.
70468         (SEEK_CUR): Likewise.
70469         (SEEK_END): Likewise.
70470         (SEEK_SET): Likewise.
70471         (TMP_MAX): Likewise.
70472         (EOF): Use macro-int-constant.  Require < 0.
70473         (NULL): Use macro-constant.  Require == 0.
70474         (stdin): Require type to be FILE *.
70475         (stdout): Likewise.
70476         (stderr): Likewise.
70477         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70478         macro-int-constant.
70479         (EXIT_SUCCESS): Likewise.
70480         (NULL): Use macro-constant.  Require == 0.
70481         (RAND_MAX): Use macro-int-constant.
70482         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70483         [C99-based standards] (strtof): Require function.
70484         [C99-based standards] (strtold): Likewise.
70485         [C99-based standards] (strtoll): Likewise.
70486         [C99-based standards] (strtoull): Likewise.
70487         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70488         [ISO || ISO99 || ISO11] (limits.h): Likewise.
70489         [ISO || ISO99 || ISO11] (math.h): Likewise.
70490         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70491         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70492         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70494 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
70496         [BZ #14132]
70497         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70498         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70499         * intl/dgettext.c (DCGETTEXT): Likewise.
70500         * intl/gettext.c (DCGETTEXT): Likewise.
70501         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70502         * posix/regex_internal.h (gettext): Likewise.
70503         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70504         Remove declaration.
70505         * include/argz.h (__argz_count_internal)
70506         (__argz_stringify_internal): Remove declaration.
70507         (__argz_count, __argz_stringify): Declare hidden proto.
70508         * intl/dcgettext.c: Remove use of INTDEF.
70509         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70510         * string/argz-stringify.c: Likewise.
70511         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70512         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70513         Declare hidden proto.
70514         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70515         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70516         Declare hidden proto.
70517         * include/stdio.h (__asprintf_internal): Don't declare.
70518         (__asprintf): Don't define as macro.  Declare hidden proto.
70519         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70520         (__fsetlocking): Declare hidden proto.
70521         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70522         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70523         hidden proto.
70524         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70525         (_IO_setlinebuf): Remove use of INTUSE.
70526         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70527         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70528         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70529         Remove declaration.
70530         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70531         (_IO_do_flush): Remove use of INTUSE.
70532         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70533         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70534         (_IO_adjust_column, _IO_least_wmarker)
70535         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70536         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70537         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70538         (_IO_default_doallocate, _IO_wdefault_doallocate)
70539         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70540         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70541         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70542         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70543         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70544         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70545         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70546         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70547         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70548         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70549         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70550         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70551         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70552         proto.
70553         (_IO_flush_all_internal, _IO_adjust_column_internal)
70554         (_IO_default_uflow_internal, _IO_default_finish_internal)
70555         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70556         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70557         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70558         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70559         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70560         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70561         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70562         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70563         (_IO_file_close_internal, _IO_file_close_it_internal)
70564         (_IO_file_underflow_internal, _IO_file_overflow_internal)
70565         (_IO_file_init_internal, _IO_file_attach_internal)
70566         (_IO_file_fopen_internal, _IO_file_read_internal)
70567         (_IO_file_sync_internal, _IO_file_seek_internal)
70568         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70569         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70570         (_IO_str_underflow_internal, _IO_str_overflow_internal)
70571         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70572         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70573         (_IO_list_all_internal, _IO_link_in_internal)
70574         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70575         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70576         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70577         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70578         (_IO_do_write_internal, _IO_padn_internal)
70579         (_IO_getline_info_internal, _IO_getline_internal)
70580         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70581         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70582         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70583         (_IO_vfscanf_internal, _IO_vfprintf_internal)
70584         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70585         (_IO_init_internal, _IO_un_link_internal): Don't declare.
70586         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70587         with libc_hidden_ver, remove use of INTUSE.
70588         * libio/genops.c: Likewise.
70589         * libio/freopen.c: Likewise.
70590         * libio/freopen64.c: Likewise.
70591         * libio/iofclose.c: Likewise.
70592         * libio/iofdopen.c: Likewise.
70593         * libio/iofflush.c: Likewise.
70594         * libio/iofflush_u.c: Likewise.
70595         * libio/iofgets.c: Likewise.
70596         * libio/iofgets_u.c: Likewise.
70597         * libio/iofopen.c: Likewise.
70598         * libio/iofopncook.c: Likewise.
70599         * libio/iofread.c: Likewise.
70600         * libio/iofread_u.c: Likewise.
70601         * libio/ioftell.c: Likewise.
70602         * libio/iofwrite.c: Likewise.
70603         * libio/iogetline.c: Likewise.
70604         * libio/iogets.c: Likewise.
70605         * libio/iogetwline.c: Likewise.
70606         * libio/iopadn.c: Likewise.
70607         * libio/iopopen.c: Likewise.
70608         * libio/ioseekoff.c: Likewise.
70609         * libio/ioseekpos.c: Likewise.
70610         * libio/iosetbuffer.c: Likewise.
70611         * libio/iosetvbuf.c: Likewise.
70612         * libio/ioungetc.c: Likewise.
70613         * libio/ioungetwc.c: Likewise.
70614         * libio/iovdprintf.c: Likewise.
70615         * libio/iovsprintf.c: Likewise.
70616         * libio/iovsscanf.c: Likewise.
70617         * libio/memstream.c: Likewise.
70618         * libio/obprintf.c: Likewise.
70619         * libio/oldfileops.c: Likewise.
70620         * libio/oldiofclose.c: Likewise.
70621         * libio/oldiofdopen.c: Likewise.
70622         * libio/oldiofopen.c: Likewise.
70623         * libio/oldiopopen.c: Likewise.
70624         * libio/oldstdfiles.c: Likewise.
70625         * libio/putc.c: Likewise.
70626         * libio/setbuf.c: Likewise.
70627         * libio/setlinebuf.c: Likewise.
70628         * libio/stdfiles.c: Likewise.
70629         * libio/strops.c: Likewise.
70630         * libio/vasprintf.c: Likewise.
70631         * libio/vscanf.c: Likewise.
70632         * libio/vsnprintf.c: Likewise.
70633         * libio/vswprintf.c: Likewise.
70634         * libio/wfiledoalloc.c: Likewise.
70635         * libio/wfileops.c: Likewise.
70636         * libio/wgenops.c: Likewise.
70637         * libio/wmemstream.c: Likewise.
70638         * libio/wstrops.c: Likewise.
70639         * libio/__fpurge.c: Likewise.
70640         * libio/__fsetlocking.c: Likewise.
70641         * assert/assert.c: Likewise.
70642         * debug/fgets_chk.c: Likewise.
70643         * debug/fgets_u_chk.c: Likewise.
70644         * debug/fread_chk.c: Likewise.
70645         * debug/fread_u_chk.c: Likewise.
70646         * debug/gets_chk.c: Likewise.
70647         * debug/obprintf_chk.c: Likewise.
70648         * debug/vasprintf_chk.c: Likewise.
70649         * debug/vdprintf_chk.c: Likewise.
70650         * debug/vsnprintf_chk.c: Likewise.
70651         * debug/vsprintf_chk.c: Likewise.
70652         * malloc/mtrace.c: Likewise.
70653         * misc/error.c: Likewise.
70654         * misc/syslog.c: Likewise.
70655         * stdio-common/asprintf.c: Likewise.
70656         * stdio-common/fxprintf.c: Likewise.
70657         * stdio-common/getw.c: Likewise.
70658         * stdio-common/isoc99_fscanf.c: Likewise.
70659         * stdio-common/isoc99_scanf.c: Likewise.
70660         * stdio-common/isoc99_vfscanf.c: Likewise.
70661         * stdio-common/isoc99_vscanf.c: Likewise.
70662         * stdio-common/isoc99_vsscanf.c: Likewise.
70663         * stdio-common/printf-prs.c: Likewise.
70664         * stdio-common/printf_fp.c: Likewise.
70665         * stdio-common/printf_fphex.c: Likewise.
70666         * stdio-common/printf_size.c: Likewise.
70667         * stdio-common/putw.c: Likewise.
70668         * stdio-common/scanf.c: Likewise.
70669         * stdio-common/sprintf.c: Likewise.
70670         * stdio-common/tmpfile.c: Likewise.
70671         * stdio-common/vfprintf.c: Likewise.
70672         * stdio-common/vfscanf.c: Likewise.
70673         * stdlib/strfmon_l.c: Likewise.
70674         * sunrpc/openchild.c: Likewise.
70675         * sunrpc/xdr_stdio.c: Likewise.
70676         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70677         * sysdeps/mach/hurd/tmpfile.c: Likewise.
70679 2012-05-24  Roland McGrath  <roland@hack.frob.com>
70681         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70683         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70684         in the third column, to generate for the shared library an IFUNC
70685         that uses _dl_vdso_vsym.
70686         * Makerules (COMPILE.c, compile-stdin.c): New variables.
70687         * Makeconfig (object-suffixes-noshared): New variable.
70689         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70690         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70691         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70692         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70694         [BZ #14132]
70695         * include/sys/time.h (__gettimeofday): Remove macro.
70696         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70697         * time/gettimeofday.c (__gettimeofday): Remove #undef.
70698         Remove INTDEF.
70699         (__gettimeofday): Add libc_hidden_def.
70700         (gettimeofday): Add libc_hidden_weak.
70701         * sysdeps/mach/gettimeofday.c: Likewise.
70702         * sysdeps/posix/gettimeofday.c: Likewise.
70703         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70704         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70705         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70706         (__gettimeofday_internal): Remove strong_alias.
70707         (__gettimeofday): Add libc_hidden_def.
70708         (gettimeofday): Add libc_hidden_weak.
70709         * sysdeps/unix/syscalls.list (gettimeofday):
70710         Remove __gettimeofday_internal alias.
70712 2012-05-24  Daniel Jacobowitz  <drow@false.org>
70713             H.J. Lu  <hongjiu.lu@intel.com>
70715         [BZ #12495]
70716         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70717         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70718         (largebin_index_32_big): New.
70719         (largebin_index): Use it for 16-byte alignment.
70720         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
70721         correction with front_misalign.
70723 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70727         Likewise.
70728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70729         Likewise.
70730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70731         Likewise.
70732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70733         Likewise.
70734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70735         Likewise.
70736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70737         Likewise.
70738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70739         Likewise.
70740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70741         Likewise.
70742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70743         Likewise.
70744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70745         Likewise.
70746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70747         Likewise.
70748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70749         Likewise.
70751         * scripts/data/c++-types-x32-linux-gnu.data: New file.
70752         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70754 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70756         [BZ #10846]
70757         [BZ #14036]
70758         * math/libm-test.inc (exp_test): Add test from bug 14036.
70759         (pow_test): Add test from bug 10846.
70761         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70762         and other flags.
70763         (special_function): Do not include flags in test name.
70764         (parse_args): Likewise.
70765         * sysdeps/i386/fpu/libm-test-ulps: Update.
70766         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70767         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70768         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70771         * math/gen-libm-test.pl (%beautify): Add entries for underflow
70772         exceptions.
70773         * math/libm-test.inc ("Philosophy"): Update comment about
70774         exception testing.
70775         (UNDERFLOW_EXCEPTION): New macro.
70776         (UNDERFLOW_EXCEPTION_OK): Likewise.
70777         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70778         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70779         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70780         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70781         (INVALID_EXCEPTION_OK): Update value.
70782         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70783         (OVERFLOW_EXCEPTION_OK): Likewise.
70784         (IGNORE_ZERO_INF_SIGN): Likewise.
70785         (test_exceptions): Handle underflow exceptions.
70786         (acos_test): Update for underflow exception expectations.
70787         (cexp_test): Likewise.
70788         (clog_test): Likewise.
70789         (clog10_test): Likewise.
70790         (csqrt_test): Likewise.
70791         (ctan_test): Likewise.
70792         (ctanh_test): Likewise.
70793         (exp_test): Likewise.
70794         (exp10_test): Likewise.
70795         (exp2_test): Likewise.
70796         (expm1_test): Likewise.
70797         (fma_test): Likewise.
70798         (j0_test): Likewise.
70799         (jn_test): Likewise.
70800         (nexttoward_test): Likewise.
70801         (pow_test): Likewise.
70802         (scalbn_test): Likewise.
70803         (scalbln_test): Likewise.
70804         (tan_test): Likewise.
70805         (y1_test): Likewise.
70806         * sysdeps/i386/fpu/libm-test-ulps: Update.
70807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70809 2012-05-23  David S. Miller  <davem@davemloft.net>
70811         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70812         (__libc_sigaction): Remove unused local variables.
70814 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70816         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70818 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
70820         mktime: avoid signed integer overflow
70821         * time/mktime.c (__mktime_internal): Do not mishandle the case
70822         where diff == INT_MIN.
70824         mktime: simplify computation of average
70825         * time/mktime.c (ranged_convert): Use new time_t_avg function
70826         instead of rolling our own (probably-slower) code.
70828         mktime: do not assume signed right shift propagates sign bit
70829         * time/mktime.c (isdst_differ): New static function.
70830         (__mktime_internal): No need to normalize tm_isdst now.
70831         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70832         tm_isdst values.
70834         mktime: merge another wrapv change from gnulib
70835         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70836         from some compilers.
70838         mktime: remove incorrect attempt at unusual arithmetics
70839         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70840         The code didn't really work on such machines anyway.
70841         (TYPE_MINIMUM): Assume two's complement.
70842         (twos_complement_arithmetic): Verify that long_int and time_t
70843         are two's complement (or unsigned, in the latter case).
70845         mktime: check signed shifts on long_int and time_t, too
70846         * time/mktime.c (SHR): Check that shifts work as desired
70847         on the types long_int and time_t too, as SHR is used on
70848         such types.
70850         mktime: do not assume 'long' is wide enough
70851         * time/mktime.c (verify): Move decl up.
70852         (long_int): New type.
70853         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70854         to remove assumption in the code that 'long' is wide enough to
70855         store year values.  This assumption is not true on x32 and on
70856         some non-glibc platforms.
70858         mktime: merge wrapv change from gnulib
70859         * time/mktime.c (WRAPV): New macro.
70860         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70861         (guess_time_tm, __mktime_internal): Do not assume that signed
70862         integer overflow wraps around; modern compilers generate code
70863         where this assumption is no longer valid.
70865 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70867         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70868         Replace "jmp L(pseudo_end)" with "ret".
70869         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70870         Likewise.
70872 2012-05-23  Andreas Jaeger  <aj@suse.de>
70874         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70875         * sysdeps/unix/sysv/linux/poll.c: Remove file.
70877 2012-05-23  Andreas Jaeger  <aj@suse.de>
70878             Maximilian Attems  <max@stro.at>
70880         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70881         New macros.
70883 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70885         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70886         code so that pseudo_end is just ret and the stack pointer is
70887         correct also for static library in error case.
70889 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
70891         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70892         move to syscalls.list.
70893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70898         * manual/install.texi (Running make install): Do not mention Linux
70899         kernel version for which pt_chown is not needed.
70900         (Linux): Do not mention problems with nscd with 2.0 kernels.
70901         * INSTALL: Regenerated.
70903 2012-05-23  Andreas Jaeger  <aj@suse.de>
70905         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70906         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70907         macro.
70908         * sysdeps/unix/sysv/linux/s390/bits/mman.h
70909         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70910         * sysdeps/unix/sysv/linux/sh/bits/mman.h
70911         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70912         * sysdeps/unix/sysv/linux/i386/bits/mman.h
70913         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70914         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70915         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70916         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70917         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70918         * sysdeps/unix/sysv/linux/bits/in.h
70919         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70921 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70923         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70924         (PREPARE_VERSION): Just use assert instead, it will be elided
70925         under [NDEBUG] anyway.
70927 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70929         * sysdeps/unix/sysv/linux/Makefile: Include
70930         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70931         (sysdep_routines): Remove sysctl.
70932         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70933         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70934         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70935         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70936         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70938 2012-05-22  Andreas Jaeger  <aj@suse.de>
70940         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70941         that pseudo_end is just ret and the stack pointer is correct also
70942         for static library in error case.
70944 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
70946         [BZ #14122]
70947         * nss/nsswitch.c (defconfig_entries): New variable.
70948         (__nss_database_lookup): Don't leak defconfig entries.
70949         (nss_parse_service_list): Don't leak on error paths.
70950         (free_database_entries): New function.
70951         (free_defconfig): New function.
70952         (free_mem): Move common code to free_database_entries.
70954 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70956         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70957         Add arch_prctl.
70958         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70960         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70961         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70962         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70963         New macro.
70964         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70965         (INTERNAL_SYSCALL_TYPES): Likewise.
70966         (LOAD_ARGS_TYPES_[1-6]): Likewise.
70967         (LOAD_REGS_TYPES_[1-6]): Likewise.
70968         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70969         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70971 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70973         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70974         copysignl for GLIBC_2_0.
70975         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70976         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70977         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70978         logbl for GLIBC_2_0.
70979         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70980         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70982 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70984         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70985         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70987         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70988         Use "neg %eax".
70990         * time/mktime.c: Update copyright years.
70992 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
70994         mktime: merge comment-quoting-style change from gnulib
70995         * time/mktime.c: Quote 'like this' in comments.
70996         The GNU coding standards suggest that we no longer quote `like this',
70997         as "`" and "'" are typically rendered asymmetrically nowadays.
70998         The typical gnulib style is to quote 'like this' when quoting
70999         code, and "like this" when quoting English.
71001         * time/mktime.c (compile-command): Add "-I.".
71003         mktime: merge mktime-internal.h change from gnulib
71004         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
71006         mktime: merge time_r change from gnulib
71007         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
71009         mktime: merge DEBUG change from gnulib
71010         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
71011         case system <time.h> has a #define.
71013         mktime: merge <sys/types.h> change from gnulib
71014         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
71015         since <time.t> is now guaranteed to define time_t.
71017         mktime: merge HAVE_CONFIG_H change from gnulib
71018         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
71020 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71023         Use "neg %eax".
71025         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
71026         __rlim_t cast.
71027         (struct rusage): Use anonymous union to pad each field to
71028         __syscall_slong_t.
71030 2012-05-21  David S. Miller  <davem@davemloft.net>
71032         * Makefules (o-iterator): Remove .s cases.
71033         (compile-command.s): Delete.
71034         (COMPILE.s): Delete.
71035         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
71037 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
71039         * configure.in (libc_cv_predef_stack_protector): Only consider
71040         "foobar" and "__stack_chk_fail" lines in libc_undefs.
71041         * configure: Regenerated.
71043 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71046         New macro.  Use R*LP on int and pointer.
71047         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
71048         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
71049         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
71050         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
71052         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
71053         [__WORDSIZE_TIME64_COMPAT32] instead of
71054         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
71055         (struct utmp): Likewise.
71056         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
71057         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71058         Renamed to ...
71059         (__WORDSIZE_TIME64_COMPAT32): This.
71060         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
71061         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71062         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
71063         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
71064         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
71065         (__WORDSIZE_TIME64_COMPAT32): New macro.
71067 2012-05-21  Andreas Jaeger  <aj@suse.de>
71069         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
71070         only if [SHARED]. Add prototype for __wcschr_ia32.
71072 2012-05-21  Roland McGrath  <roland@hack.frob.com>
71074         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
71075         of %rbp unmolested in the jmp_buf while mangling the low bits.
71076         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71077         unmolested high bits of %rbp while demangling the low bits.
71078         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71080 2012-05-21  Andreas Jaeger  <aj@suse.de>
71082         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
71083         * sunrpc/svc_simple.c: Use it for registerrpc.
71084         * sunrpc/xcrypt.c: Use it for passwd2des.
71086         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
71088 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71090         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
71091         Don't define if [__SYSCALL_WORDSIZE != 32].
71092         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
71093         New macro.
71095 2012-05-21  Bruno Haible  <bruno@clisp.org>
71096             Andreas Jaeger  <aj@suse.de>
71098         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
71099         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
71100         inptr and inend for must_buffer_ch.
71101         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
71102         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
71103         * stdio-common/Makefile (tests): Remove bug15.
71104         (bug15-ENV): Remove macro.
71105         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
71106         anymore.
71108 2012-05-19  Andreas Jaeger  <aj@suse.de>
71109             Roland McGrath  <roland@hack.frob.com>
71111         * manual/contrib.texi: Completely rewritten. It contains now an
71112         alphabetical list of contributors and their contributions.
71114 2012-05-21  Richard Henderson  <rth@twiddle.net>
71116         * misc/getauxval.c (__getauxval): Use unsigned long int.
71117         * misc/sys/auxv.h: Include <sys/cdefs.h>.
71118         (getauxval): Use unsigned long int.
71120 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71122         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71124 2012-05-21  Roland McGrath  <roland@hack.frob.com>
71126         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
71127         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
71128         __alignof__ (long double).
71130 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71134 2012-05-20  Richard Henderson  <rth@twiddle.net>
71136         * misc/getauxval.c: New file.
71137         * misc/sys/auxv.h: New file.
71138         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
71139         (routines): Add getauxval.
71140         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
71141         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71142         * elf/dl-sysdep.c (_dl_auxv): Remove.
71143         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
71144         * elf/dl-support.c (_dl_auxv): New variable.
71145         (_dl_aux_init): Initialize it.
71146         * manual/startup.texi (Auxiliary Vector): New node.
71147         * sysdeps/generic/bits/hwcap.h: New file.
71148         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
71149         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
71150         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
71151         * sysdeps/sparc/sysdep.h: ... here.  Include it.
71152         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
71153         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
71154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71155         Update.
71156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
71157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
71158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
71159         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
71160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
71163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
71165 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71169 2012-05-19  David S. Miller  <davem@davemloft.net>
71171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71173 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71175         [BZ #14123]
71176         * math/s_ccosh.c: Include <float.h>
71177         (__ccosh): Avoid internal overflow calculating sinh and cosh
71178         values before multiplying by sin and cos values.
71179         * math/s_ccoshf.c: Likewise.
71180         * math/s_ccoshl.c: Likewise.
71181         * math/s_csin.c: Likewise.
71182         * math/s_csinf.c: Likewise.
71183         * math/s_csinl.c: Likewise.
71184         * math/s_csinh.c: Likewise.
71185         * math/s_csinhf.c: Likewise.
71186         * math/s_csinhl.c: Likewise.
71187         * math/libm-test.inc (ccos_test): Add more tests.
71188         (ccosh_test): Likewise.
71189         (csin_test): Likewise.
71190         (csinh_test): Likewise.
71191         * sysdeps/i386/fpu/libm-test-ulps: Update.
71192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71194 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
71196         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71197         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71199         * sysdeps/x86_64/x32/_itoa.h: Add comment.
71201 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71203         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71204         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71205         * sysdeps/powerpc/soft-fp/Versions: Likewise.
71206         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71207         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71208         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71209         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71210         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71211         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71212         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71213         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71214         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71215         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71216         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71217         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71218         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71219         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71220         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71221         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71222         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71223         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71224         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71225         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71226         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71227         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71228         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71229         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71230         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71231         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71232         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71233         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71235 2012-05-18  Andreas Jaeger  <aj@suse.de>
71237         * csu/.gitignore: Delete.
71239 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71241         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71242         (timex): Use __syscall_slong_t.
71244 2012-05-18  Andreas Jaeger  <aj@suse.de>
71245             Carlos O'Donell  <carlos_odonell@mentor.com>
71247         * manual/install.texi (Configuring and compiling): Update
71248         description about files modified in the source directory.
71249         * INSTALL: Regenerated.
71251 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71253         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71254         value.  Use "or" to set return value to -1.
71255         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71256         negate return value.
71258 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71260         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71261         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71262         failure if the compiler has Graphite support disabled.
71263         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71264         Likewise.
71265         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71266         (CFLAGS-memmove.c): Likewise.
71267         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71268         Likewise.
71270 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71272         * sysdeps/x86_64/x32/_itoa.h: New file.
71274         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71275         getdents system call only if kernel and user dirents have the
71276         same d_ino and d_off.
71278         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71279         LLONG_MAX != LONG_MAX.
71280         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71281         (_fitoa_word): Likewise.
71283         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71284         years.
71285         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71286         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71287         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71289         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71290         include <bits/wordsize.h>.  Check __x86_64__ instead of
71291         __WORDSIZE.
71292         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71293         if __x86_64__ is defined.  Use anonymous union on fpstate.
71295         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71296         anonymous union.
71298 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
71300         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71301         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71302         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71303         Refer to _rtld_local_ro instead of _rtld_global_ro.
71304         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71305         Likewise.
71306         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71307         Likewise.
71308         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71309         Likewise.
71310         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71311         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71312         of _rtld_global, and rtld_progname instead of _dl_argv[0].
71314         [BZ #10882]
71315         * sysdeps/powerpc/powerpc32/dl-machine.c
71316         (__elf_machine_runtime_setup) [PROF]: Don't reference
71317         _dl_prof_resolve.
71319 2012-05-18  Andreas Jaeger  <aj@suse.de>
71321         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71322         function only available for GCCs before 3.4 since GCC 3.4
71323         introduced a builtin.
71324         (lrint): Likewise.
71325         (llrintf): Likewise.
71326         (llrint): Likewise.
71327         (fmaxf): Likewise.
71328         (fmax): Likewise.
71329         (fminf): Likewise.
71330         (fmin): Likewise.
71331         (rint): Likewise.
71332         (rintf): Likewise.
71333         (nearbyint): Likewise.
71334         (nearbyintf): Likewise.
71335         (ceil): Likewise.
71336         (ceilf): Likewise.
71337         (floor): Likewise.
71338         (floorf): Likewise.
71340 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71342         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71343         on both fields and cast pointer to __syscall_ulong_t.
71345         * bits/types.h (__fsword_t): New type.
71346         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71347         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71348         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71349         (__FSWORD_T_TYPE): Likewise.
71350         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71351         (__FSWORD_T_TYPE): Likewise.
71352         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71353         (__FSWORD_T_TYPE): Likewise.
71354         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71355         (__FSWORD_T_TYPE): Likewise.
71356         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71357         __SWORD_TYPE with __fsword_t.
71358         (statfs64): Likewise.
71360 2012-05-17  David S. Miller  <davem@davemloft.net>
71362         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71364 2012-05-17  Andreas Jaeger  <aj@suse.de>
71366         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71367         warning.
71369 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71371         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71373 2012-05-17  Andreas Jaeger  <aj@suse.de>
71375         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71376         when it is used.
71378 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71380         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71382 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71384         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71385         * sysdeps/x86_64/tst-mallocalign1.c: New file.
71387 2012-05-17  Andreas Jaeger  <aj@suse.de>
71388             Carlos O'Donell  <carlos_odonell@mentor.com>
71390         [BZ #14059]
71391         * sysdeps/x86_64/multiarch/init-arch.h
71392         (bit_YMM_Usable): Rename to...
71393         (bit_AVX_Usable): ... this.
71394         (bit_FMA4_Usable): New macro.
71395         (bit_XMM_state): New macro.
71396         (bit_YMM_state): New macro.
71397         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71398         [__ASSEMBLER__] (index_AVX_Usable): ... this.
71399         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71400         (CPUID_OSXSAVE): New macro.
71401         (CPUID_AVX): New macro.
71402         (CPUID_FMA4): New macro.
71403         (index_YMM_Usable): Rename to...
71404         (index_AVX_Usable): ... this.
71405         (HAS_AVX): Use HAS_ARCH_FEATURE.
71406         (HAS_FMA4): Likewise.
71407         (HAS_YMM_USABLE): Remove.
71408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71409         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71410         are present.
71411         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71412         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71413         * sysdeps/x86_64/multiarch/Makefile: Likewise.
71414         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71415         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71417 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71419         * math/libm-test.c: Support platforms without multiple rounding modes.
71420         * math/bug-nextafter.c: Support platforms without FP exceptions.
71421         * math/bug-nexttoward.c: Likewise.
71422         * math/test-fenv.c: Likewise.
71423         * math/test-misc.c: Likewise.
71424         * stdlib/bug-getcontext.c: Likewise.
71426 2012-05-17  Andreas Jaeger  <aj@suse.de>
71428         * manual/examples/search.c (critter_cmp): Change signature to
71429         avoid warnings.
71430         * manual/string.texi (Collation Functions): Likewise.
71432 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71434         * bits/types.h: Fold copyright years.
71435         * bits/typesizes.h: Likewise.
71436         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71437         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71438         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71440         * time/time.h: Likewise.
71442 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
71444         [BZ #208]
71445         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71446         in instead of returning them.  Return void.
71447         (__libc_mallinfo): Accumulate over all arenas.
71448         (__malloc_stats): Adjust for change in int_mallinfo interface.
71450 2012-05-16  Roland McGrath  <roland@hack.frob.com>
71452         [BZ #10375]
71453         * configure.in (NM): Add AC_CHECK_TOOL for it.
71454         (libc_extra_cflags): New substituted variable.
71455         Check for -fstack-protector being used implicitly.
71456         * configure: Regenerated.
71457         * config.make.in (config-extra-cflags): New variable,
71458         gets @libc_extra_cflags@.
71459         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71461         [BZ #10375]
71462         * configure.in: Check for _FORTIFY_SOURCE being predefined.
71463         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71464         * configure: Regenerated.
71465         * config.make.in (CPPUNDEFS): New substituted variable.
71466         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71467         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71468         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71470 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71472         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71473         (mq_attr): Use __syscall_slong_t.
71475 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71477         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71478         Check __x86_64__ instead of __WORDSIZE.
71479         (_STAT_VER_LINUX): Likewise.
71480         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
71481         __syscall_ulong_t and __syscall_slong_t.
71482         (stat64): Likewise.
71484 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71486         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71488 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71490         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71492 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71494         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71495         __syscall_ulong_t.
71497         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71498         include <bits/wordsize.h>.  Check __x86_64__ instead of
71499         __WORDSIZE.
71500         (greg_t): Use "__extension__ long long int" if __x86_64__ is
71501         defined.
71502         (mcontext_t): Replace "unsigned long" with "unsigned long long".
71504         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71505         include <bits/wordsize.h>.  Check __x86_64__ instead of
71506         __WORDSIZE.
71507         (user_regs_struct): Use "__extension__ unsigned long long"
71508         instead of "unsigned long" if __x86_64__ is defined.
71509         (user): Likewise.  Pad after pointer field if __ILP32__ is
71510         defined.
71512 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
71514         * configure.in (makeinfo): Require version 4.5 or later.  Allow
71515         versions 5 to 9.
71516         * configure: Regenerated.
71517         * manual/install.texi (texinfo): Increase version requirement to
71518         4.5 or later.
71519         * INSTALL: Regenerated.
71521         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71523 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71525         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71527         * sysdeps/x86_64/x32/ffs.c: New file.
71529         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71530         __syscall_ulong_t.
71531         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71532         defined.  Use __syscall_ulong_t.
71533         (shminfo): Use __syscall_ulong_t.
71534         (shm_info): Likewise.
71536         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71537         __syscall_ulong_t.
71539         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71540         <bits/wordsize.h>.
71541         (msgqnum_t): Use __syscall_ulong_t.
71542         (msglen_t): Likewise.
71543         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
71544         __syscall_ulong_t.
71546         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71547         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71549         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71551         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71552         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71554         * sysvipc/sys/msg.h (msgbuf): Replace long int with
71555         __syscall_slong_t.
71557         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71558         include <bits/wordsize.h>.  Check __x86_64__ instead of
71559         __WORDSIZE.
71561         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71562         "unsigned long long int" if __x86_64__ is defined.
71563         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71565         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71566         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71567         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71569         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71570         <stdint.h>.
71571         (GET_PC): Cast to uintptr_t first.
71572         (GET_FRAME): Likewise.
71573         (GET_STACK): Likewise.
71575         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71576         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71577         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71578         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71579         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71580         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71581         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71582         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71583         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71584         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71585         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71586         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71587         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71588         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71589         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71590         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71591         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71592         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71593         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71594         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71595         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71596         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71597         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71598         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71599         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71600         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71601         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71602         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71603         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71605 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
71607         * Makerules (+depfiles): Also collect depfiles from .oS in
71608         $(extra-objs).
71609         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71610         .oS, $(libnldbl-routines)).
71612         * Makerules (native-compile-mkdep-flags): Define.
71613         * sunrpc/Makefile (extra-objs): Add $(addprefix
71614         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71615         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71616         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
71617         calling $(make-target-directory).
71619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71621         * bits/types.h (__snseconds_t): Removed.
71622         * time/time.h (struct timespec): Replace __snseconds_t with
71623         __syscall_slong_t.
71624         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71625         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71626         Likewise.
71627         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71628         (__SNSECONDS_T_TYPE): Likewise.
71629         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71630         (__SNSECONDS_T_TYPE): Likewise.
71631         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71632         (__SNSECONDS_T_TYPE): Likewise.
71634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71636         * sysdeps/mach/hurd/bits/typesizes.h
71637         (__SYSCALL_SLONG_TYPE): New macro.
71638         (__SYSCALL_ULONG_TYPE): Likewise.
71640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71642         * bits/types.h (__syscall_slong_t): New type.
71643         (__syscall_ulong_t): Likewise.
71645         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71646         (__SYSCALL_ULONG_TYPE): Likewise.
71647         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71648         (__SYSCALL_SLONG_TYPE): Likewise.
71649         (__SYSCALL_ULONG_TYPE): Likewise.
71650         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71651         (__SYSCALL_SLONG_TYPE): Likewise.
71652         (__SYSCALL_ULONG_TYPE): Likewise.
71653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71654         (__SYSCALL_SLONG_TYPE): Likewise.
71655         (__SYSCALL_ULONG_TYPE): Likewise.
71657 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71659         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71660         Add sigaltstack-offsets.sym.
71661         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71662         <sigaltstack-offsets.h>.
71663         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
71664         longjmp_msg pointer.
71665         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
71666         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71667         signal stack.
71668         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71670 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71672         * elf/stackguard-macros.h: Remove file.
71673         * sysdeps/generic/stackguard-macros.h: New file.
71674         * sysdeps/i386/stackguard-macros.h: Likewise.
71675         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71676         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71677         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71678         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71679         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71680         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71681         * sysdeps/x86_64/stackguard-macros.h: Likewise.
71682         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71683         <elf/stackguard-macros.h>.
71685         [BZ #14109]
71686         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71687         __aligned__ in attribute.
71688         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71689         (gregset_t): Likewise.
71691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71693         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71694         * sysdeps/x86_64/64/Implies-after: Here.  New file.
71695         * sysdeps/x86_64/x32/Implies-after: New file.
71697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71699         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71700         and access return value for _dl_profile_fixup.  Use R10_LP to
71701         load frame size.
71703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71705         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71709         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71710         * sysdeps/x86_64/x32/sysdep.h: New file.
71712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71714         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71715         * sysdeps/x86_64/setjmp.S: Likewise.
71717 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71719         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71720         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71721         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71722         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71723         remove unused global constant.
71725 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
71727         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71728         include of <not-cancel.h>.
71730 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71732         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71734 2012-05-15  Jeff Law  <law@redhat.com>
71735             Andreas Jaeger  <aj@suse.de>
71737         [BZ #13594]
71738         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71739         out from...
71740         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71741         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71742         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71743         code changing __hst_map_handle.map.
71745 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71747         * configure.in (sysnames): Look for Implies-before and Implies-after
71748         files.
71749         * configure: Regenerated.
71751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71753         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71754         8-byte data alignment with LP_SIZE alignment.
71756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71758         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71759         into R10_LP.
71761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71763         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71767         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71768         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71769         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71770         Likewise.
71771         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71775         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71776         (stackinfo_sub_sp): Likewise.
71778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71780         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71781         RAX_LP.
71783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71785         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71786         into R*_LP.
71788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71790         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71791         sizes into R*_LP.
71793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71795         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71799         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71800         into R11_LP and load __x86_64_shared_cache_size_half into
71801         R8_LP.
71803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71805         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71806         R8_LP.
71808 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71810         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71811         logb for POWER7.
71812         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71813         logbf for POWER7.
71814         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71815         logbl for POWER7.
71816         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71817         powerpc32/power7/fpu/s_logb.c via #include.
71818         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71819         powerpc32/power7/fpu/s_logbf.c via #include.
71820         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71821         powerpc32/power7/fpu/s_logbl.c via #include.
71823 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71825         * README.libm: Remove file.
71827 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71829         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71830         count for x32.  Use R*_LP and omit operand-size suffix.
71832 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71834         * shlib-versions: Move x86_64-.*-linux.* entries to ...
71835         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
71836         * sysdeps/x86_64/x32/shlib-versions: New file.
71838 2012-05-14  Roland McGrath  <roland@hack.frob.com>
71840         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71841         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71842         Use _dl_fatal_printf instead.
71844 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71846         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71847         set if not set by the user.  Do not allow for being unset.
71848         * sysdeps/unix/sysv/linux/configure: Regenerated.
71850 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71852         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71853         the `q' suffix from lea and replace .quad with ASM_ADDR.
71855 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71857         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71858         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
71859         instead of $17.
71860         (PTR_DEMANGLE): Likewise.
71862 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71864         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71865         (LP_OP): Likewise.
71866         (ASM_ADDR): Likewise.
71867         (RAX_LP): Likewise.
71868         (RBP_LP): Likewise.
71869         (RBX_LP): Likewise.
71870         (RCX_LP): Likewise.
71871         (RDI_LP): Likewise.
71872         (RSI_LP): Likewise.
71873         (RSP_LP): Likewise.
71874         (R8_LP): Likewise.
71875         (R9_LP): Likewise.
71876         (R10_LP): Likewise.
71877         (R10_LP): Likewise.
71878         (R11_LP): Likewise.
71879         (R12_LP): Likewise.
71880         (R13_LP): Likewise.
71881         (R14_LP): Likewise.
71882         (R15_LP): Likewise.
71884 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71886         * sysdeps/x86_64/x32/dl-machine.h: New file.
71888 2012-05-14  Andreas Jaeger  <aj@suse.de>
71890         * manual/Makefile (subdir): Remove export of subdir.
71891         (all): Remove target.
71892         (.PHONY): Remove all from list.
71893         (mkinstalldirs): Remove.
71894         (.PHONY): Remove installdirs from list.
71895         ($(inst_infodir)/libc.info): Use make-target-directory.
71896         (installdirs): Remove.
71897         (subdir_%): Remove.
71898         (glibc-targets): Remove.
71899         (lib): Remove.
71900         (stubs): Remove.
71901         ($(objpfx)stubs ../po/manual.pot): Remove.
71902         ($(objpfx)stamp%): Remove.
71903         (make-target-directory): Remove.
71904         (subdir_install): Remove.
71905         (routines): Remove.
71906         (aux): Remove.
71907         (sources): Remove.
71908         (objects): Remove.
71909         (headers): Remove.
71911         [BZ #13750]
71912         * manual/.gitignore: Remove, it's not needed anymore.
71913         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71914         all files in it.
71915         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71916         directory.
71917         (texis): Renamed to $(objpfx)texis.
71918         (texis-path): New, contains path to generated files.
71919         (chapters.%): Use texis-path for complete path, add extra argument
71920         libc-texinfo.sh.
71921         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71922         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71923         (summary,texi, stamp-summary): Use complete path of
71924         files. Generate files in build dir.
71925         (dir-add.texi): Build in build dir.
71926         (libm-err.texi,stamp-libm-err): Likewise.
71927         (version.texi, stamp-version): Likewise.
71928         (.%c.texi): Likewise.
71929         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71930         (mostlyclean): Remove target.
71931         (realclean): Remove target.
71932         (generated): Add new variable with contents from mostlyclean and
71933         realclean, remove entries duplicated in common-mostlyclean, add
71934         stamp-libm-err and stamp-version.
71935         (generated-dirs): Add libc directory.
71936         ($(inst_infodir)/libc.info): Install files from build dir.
71938         * manual/install.texi (Configuring and compiling): Adjust since
71939         the info files are not part of the tar ball anymore.
71941 2012-05-14  Andreas Jaeger  <aj@suse.de>
71943         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71944         variable.
71946 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71948         [BZ #13717]
71949         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71950         to 2.2.0 where earlier.
71951         * sysdeps/unix/sysv/linux/configure: Regenerated.
71952         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71953         Remove conditional code.
71954         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71955         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71956         Remove conditional code.
71957         [!__NR_lchown]: Likewise.
71958         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71959         [__NR_lchown]: Likewise.
71960         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71961         comment referencing __ASSUME_LCHOWN_SYSCALL.
71962         * sysdeps/unix/sysv/linux/i386/sigaction.c
71963         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71964         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71965         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71966         Remove conditional code.
71967         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71968         (__protocol_available): Remove #if 0 code.
71969         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71970         conditional code.
71971         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71972         * sysdeps/unix/sysv/linux/kernel-features.h
71973         (__ASSUME_GETCWD_SYSCALL): Don't define.
71974         (__ASSUME_REALTIME_SIGNALS): Likewise.
71975         (__ASSUME_PREAD_SYSCALL): Likewise.
71976         (__ASSUME_PWRITE_SYSCALL): Likewise.
71977         (__ASSUME_POLL_SYSCALL): Likewise.
71978         (__ASSUME_LCHOWN_SYSCALL): Likewise.
71979         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71980         non-SPARC.
71981         (__ASSUME_SIOCGIFNAME): Don't define.
71982         (__ASSUME_MSG_NOSIGNAL): Likewise.
71983         (__ASSUME_SENDFILE): Define unconditionally.
71984         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71985         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71986         conditional code.
71987         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71988         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71989         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71990         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71991         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71992         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71993         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71995         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71996         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71998         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71999         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
72001         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72002         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
72004         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72005         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
72007         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72008         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
72010         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72011         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
72013         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72014         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
72016         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72017         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72018         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
72019         Remove conditional code.
72020         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72021         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72022         Remove conditional code.
72023         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72024         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
72025         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
72026         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72027         Remove conditional code.
72028         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72029         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
72030         Remove conditional code.
72031         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72032         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
72033         Remove conditional code.
72034         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72035         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72036         Remove conditional code.
72037         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72038         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72039         Remove conditional code.
72040         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72041         * sysdeps/unix/sysv/linux/sh/pwrite64.c
72042         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72043         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72044         * sysdeps/unix/sysv/linux/sigaction.c
72045         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72046         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72047         * sysdeps/unix/sysv/linux/sigpending.c
72048         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72049         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72050         * sysdeps/unix/sysv/linux/sigprocmask.c
72051         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72052         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72053         * sysdeps/unix/sysv/linux/sigsuspend.c
72054         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72055         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72056         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72057         (__libc_missing_rt_sigs): Remove.
72058         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
72059         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
72060         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
72061         Remove conditional code.
72062         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
72063         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
72064         return 1.
72065         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
72066         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
72067         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
72068         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
72070 2012-05-14  Andreas Jaeger  <aj@suse.de>
72072         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
72073         it's not used in glibc.
72074         (__coshm1): Likewise.
72075         (__acosh1p): Likewise.
72076         (__sgn): Likewise.
72078         * manual/string.texi (Copying and Concatenation): Add missing
72079         variable in concat example.
72080         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
72082 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72084         [BZ #14103]
72085         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
72086         __builtin_clzl with __builtin_clzll.
72088 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72090         [BZ #14104]
72091         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
72092         libc_freeres_ptr.
72094 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72096         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
72097         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
72098         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
72099         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
72101 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
72103         * NEWS: Update ia64 info.
72105 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
72107         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
72108         used as bcopy.
72110 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
72112         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
72113         * sysdeps/unix/syscalls.list (dup3): Likewise.
72114         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
72115         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
72117 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
72119         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
72120         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
72122 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
72124         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
72125         thread pointer.
72126         (TLS_IE): Use mov/add instead of movq/addq to load thread
72127         pointer.
72128         (TLS_GD_PREFIX): New.
72129         (TLS_GD): Use it.
72131 2012-05-11  David S. Miller  <davem@davemloft.net>
72133         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
72134         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
72135         (_FPU_SETCW): Likewise.
72137 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72139         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
72140         is 32-byte aligned.
72142 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
72144         [BZ #11837]
72145         * iconvdata/gb18030.c: Update tables.
72146         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
72147         characters specially.
72148         (BODY for TO_LOOP): Add encoding of missing ranges.
72150 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
72152         [BZ #13673]
72153         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72154         * sysdeps/mach/hurd/dup3.c: Likewise.
72155         * sysdeps/mach/hurd/readlinkat.c: Likewise.
72156         * sysdeps/powerpc/memmove.c:: Likewise.
72158 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72160         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
72161         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
72163 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72165         * elf/elf.h (R_X86_64_RELATIVE64): New.
72166         (R_X86_64_NUM): Updated.
72167         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72168         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
72169         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
72170         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
72171         tst-quad1pie tst-quad2pie
72172         (modules-names): Add tst-quadmod1 tst-quadmod2.
72173         ($(objpfx)tst-quad1): New dependency.
72174         ($(objpfx)tst-quad2): Likewise.
72175         ($(objpfx)tst-quad1pie): Likewise.
72176         ($(objpfx)tst-quad2pie): Likewise.
72177         * sysdeps/x86_64/tst-quad1.c: New file.
72178         * sysdeps/x86_64/tst-quad1pie.c: New file.
72179         * sysdeps/x86_64/tst-quad2.c: Likewise.
72180         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72181         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
72182         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
72183         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
72184         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72186 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72188         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72189         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72190         * streams/stropts.h (t_scalar_t): Define type.
72192         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72193         (_PATH_PRESERVE): Set to "/var/lib".
72194         (_PATH_RWHODIR): Set to "/var/spool/rwho".
72196         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72197         instead of int.
72199         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72200         if __dir_mkfile succeeded.
72202         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72203         checking for _hurd_dtablesize.  Unlock it right after having
72204         finished _hurd_dtable allocation.
72206 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72208         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72209         * sysdeps/mach/hurd/configure: Regenerated.
72210         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72211         special-casing to...
72212         * sysdeps/gnu/configure.in: ... this new file.
72213         * sysdeps/unix/sysv/linux/configure: Regenerated.
72214         * sysdeps/gnu/configure: New generated file.
72216         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72217         for Linux: use nsec instead of usec, as well as:
72218         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72219         members of type struct timespec.
72220         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72221         New macros.
72222         (struct stat64): Likewise.
72223         (_STATBUF_ST_NSEC): New macro.
72224         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72226         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72227         __strtoul_internal rather than strtoul.
72229 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72231         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72232         and reject them.
72234 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72236         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72237         which preserves existing values.
72238         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72240 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72242         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72243         TIMEOUT values.  Return EINVAL for NFDS values either negative or
72244         greater than FD_SETSIZE.
72246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72248         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72249         allocated, call __vm_protect to finish enabling the existing space, and
72250         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72251         allocate the remainder.
72253 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72255         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72256         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
72258 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72260         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72261         sysdeps/mach/hurd/readlink.c.
72263         * posix/tst-sysconf.c (posix_options): Only use
72264         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72265         _POSIX_SYNCHRONIZED_IO when they are defined
72266         * sysdeps/mach/hurd/bits/posix_opt.h:
72267         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72268         (_XOPEN_REALTIME): Undefine macro.
72269         (_XOPEN_REALTIME_THREADS): Undefine macro.
72270         (_XOPEN_SHM): Undefine macro.
72271         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72272         macro to -1.
72273         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72274         macro to -1.
72275         (_POSIX_ASYNC_IO): Undefine macro.
72276         (_POSIX_PRIORITIZED_IO): Undefine macro.
72277         (_POSIX_SPIN_LOCKS): Define macro to -1.
72279         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72280         SA_NODEFER, SA_RESETHAND.
72281         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72282         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72283         F_DUPFD_CLOEXEC.
72285 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72287         * elf/Makefile (pldd-modules): Define unconditionally.
72289 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72291         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72293 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72295         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72296         Return ENOENT when name is empty.
72297         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72299 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72301         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72303         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72307         Fix mlock in all cases except non-readable pages.
72308         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72309         instead of VM_PROT_ALL as parameter to __vm_wire function.
72311         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72312         (__mkdir): When path is `/', just fail with EEXIST.
72313         * sysdeps/mach/hurd/mkdirat.c: Likewise.
72315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72317         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72318         <sys/uio.h> (for writev).
72319         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72320         and <sys/param.h> (for MIN).
72322 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72324         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72325         REQUESTED_TIME.  Properly set the remaining time and return EINTR
72326         if interrupted.
72328 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72330         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72331         Depend on against $(link-rpcuserlibs).
72333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72335         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72336         (__libc_stack_end): Do not use attribute_relro.
72337         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72338         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72339         to libthread-provided value.
72340         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72341         attribute_relro.
72343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72345         [BZ #3748]
72346         * bits/libc-lock.h (__libc_once_get): New macro.
72347         * sysdeps/mach/bits/libc-lock.h: Likewise.
72348         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72349         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72350         instead of using implementation details.
72352         * libio/fileops.c: Unconditionally include <kernel-features.h>.
72353         * libio/freopen.c: Likewise.
72354         * libio/freopen64.c: Likewise.
72355         * misc/syslog.c: Likewise.
72356         * nscd/connections.c: Likewise.
72357         * nscd/netgroupcache.c: Likewise.
72358         * sysdeps/posix/getcwd.c: Likewise.
72360 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72362         * math/w_ilogbf.c: Add #include <limits.h>.
72364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72366         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72367         path instead of returning without unlocking.
72369         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72370         immediate-write ioctls.
72371         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72373 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72375         * sysdeps/mach/hurd/i386/init-first.c (init): Use
72376         __builtin_frame_address instead of making assumptions about the
72377         location of the return address relative to DATA.  Force early load of
72378         the return address.
72379         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72380         __builtin_frame_address.
72382         dup3 for GNU Hurd.
72383         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72384         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
72385         implement dup3 and do some further code clean-ups.
72386         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72387         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72389 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72391         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72393         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72394         HURD_CRITICAL_END around holding _hurd_dtable_lock.
72395         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72396         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72397         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72398         d->port.lock.
72400         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72401         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
72402         when handler == SIG_ERR, not when handler != SIG_ERR.
72404 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72406         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72407         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72408         definitions.
72410         accept4 for GNU Hurd.
72411         * include/sys/socket.h (__libc_accept4): New prototype.
72412         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
72413         to implement __libc_accept4.
72414         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72415         __libc_accept4.
72416         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72418         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72419         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72420         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72421         signal-defines.sym.
72423 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72425         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72429         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72430         assertion on O_CLOEXEC flag.
72431         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72432         * hurd/intern-fd.c: Likewise.
72433         * hurd/port2fd.c: Likewise.
72435 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72437         [BZ #3906]
72438         * bits/in.h (IPV6_PKTINFO): Define new macro.
72439         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72441 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72443         [BZ #13954]
72444         [BZ #13955]
72445         [BZ #13956]
72446         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72447         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72448         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72449         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72450         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72451         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72452         * math/libm-test.inc (logb_test) : Additional logb tests.
72454 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
72455             Andreas Jaeger  <aj@suse.de>
72457         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72458         * configure: Regenerated.
72459         * config.h.in (LINK_OBSOLETE_RPC): New macro.
72460         * config.make.in (link-obsolete-rpc): New substituted variable.
72461         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72462         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72463         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72464         (shared-only-routines): Don't set it under [link-obsolete-rpc],
72465         so that libc.a contains the symbols.
72466         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72467         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72468         * sunrpc/auth_none.c: Likewise.
72469         * sunrpc/auth_unix.c: Likewise.
72470         * sunrpc/authdes_prot.c: Likewise.
72471         * sunrpc/authuxprot.c: Likewise.
72472         * sunrpc/clnt_gen.c: Likewise.
72473         * sunrpc/clnt_perr.c: Likewise.
72474         * sunrpc/clnt_raw.c: Likewise.
72475         * sunrpc/clnt_simp.c: Likewise.
72476         * sunrpc/clnt_tcp.c: Likewise.
72477         * sunrpc/clnt_udp.c: Likewise.
72478         * sunrpc/clnt_unix.c: Likewise.
72479         * sunrpc/des_crypt.c: Likewise.
72480         * sunrpc/des_soft.c: Likewise.
72481         * sunrpc/get_myaddr.c: Likewise.
72482         * sunrpc/key_call.c: Likewise.
72483         * sunrpc/key_prot.c: Likewise.
72484         * sunrpc/netname.c: Likewise.
72485         * sunrpc/pm_getmaps.c: Likewise.
72486         * sunrpc/pm_getport.c: Likewise.
72487         * sunrpc/pmap_clnt.c: Likewise.
72488         * sunrpc/pmap_prot.c: Likewise.
72489         * sunrpc/pmap_prot2.c: Likewise.
72490         * sunrpc/pmap_rmt.c: Likewise.
72491         * sunrpc/publickey.c: Likewise.
72492         * sunrpc/rpc_cmsg.c: Likewise.
72493         * sunrpc/rpc_common.c: Likewise.
72494         * sunrpc/rpc_dtable.c: Likewise.
72495         * sunrpc/rpc_prot.c: Likewise.
72496         * sunrpc/rpc_thread.c: Likewise.
72497         * sunrpc/rtime.c: Likewise.
72498         * sunrpc/svc.c: Likewise.
72499         * sunrpc/svc_auth.c: Likewise.
72500         * sunrpc/svc_raw.c: Likewise.
72501         * sunrpc/svc_run.c: Likewise.
72502         * sunrpc/svc_tcp.c: Likewise.
72503         * sunrpc/svc_udp.c: Likewise.
72504         * sunrpc/svc_unix.c: Likewise.
72505         * sunrpc/svcauth_des.c: Likewise.
72506         * sunrpc/xcrypt.c: Likewise.
72507         * sunrpc/xdr.c: Likewise.
72508         * sunrpc/xdr_array.c: Likewise.
72509         * sunrpc/xdr_float.c: Likewise.
72510         * sunrpc/xdr_intXX_t.c: Likewise.
72511         * sunrpc/xdr_mem.c: Likewise.
72512         * sunrpc/xdr_rec.c: Likewise.
72513         * sunrpc/xdr_ref.c: Likewise.
72514         * sunrpc/xdr_sizeof.c: Likewise.
72515         * sunrpc/xdr_stdio.c: Likewise.
72517 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72519         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72520         change.  Update copyright years.
72522 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72524         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72526 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
72527             Joseph Myers  <joseph@codesourcery.com>
72528             Paul Pluzhnikov  <ppluzhnikov@google.com>
72530         [BZ #14012]
72531         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72532         requiring rpcgen.
72533         [cross-compiling] (extra-libs): Likewise.
72534         [cross-compiling] (extra-libs-others): Likewise.
72535         [cross-compiling] (librpcsvc-routines): Likewise.
72536         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72537         [cross-compiling] (omit-deps): Likewise.
72538         (sunrpc-CPPFLAGS): New variable.
72539         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72540         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72541         (cross-rpcgen-objs): New variable.
72542         (extra-objs): Append $(cross-rpcgen-objs).
72543         ($(cross-rpcgen-objs)): New rule.
72544         ($(objpfx)cross-rpcgen): Likewise.
72545         (rpcgen-cmd): Define to use $(built-program-file).  Expand
72546         comment.
72547         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72548         ($(objpfx)x%.stmp): Likewise.
72549         * sunrpc/proto.h [IS_IN_build] (_): Define.
72550         [IS_IN_build] (_libc_intl_domainname): Likewise.
72552 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72554         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72555         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72556         and R_X86_64_TPOFF64.
72558 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72560         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72561         sysdeps/unix/sysv/syscalls.list.
72562         (stime): Likewise.
72563         (utime): Likewise.
72564         * sysdeps/unix/sysv/syscalls.list: Remove file.
72566 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
72568         [BZ #3440]
72569         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72570         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72571         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72572         (__LC_IDENTIFICATION): Make these macros useful in #if
72573         expressions, as required by C99.
72575 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
72577         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72578         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
72579         after this.
72581 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
72583         * stdlib/longlong.h: Updated from GCC.
72585 2012-05-09  Andreas Jaeger  <aj@suse.de>
72587         * nscd/nscd.c (run_modes): Make named enum, reorder so that
72588         default is first entry.
72589         (run_mode): Set type.
72590         (main): Remove informal message about syslog.
72591         (options): Fix typo.
72593         [BZ #14053]
72594         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72595         to asm.
72596         (lrint): Likewise.
72597         (llrintf): Likewise.
72598         (llrint): Likewise.
72599         (rint): Likewise.
72600         (rintf): Likewise.
72601         (nearbyint): Likewise.
72602         (nearbyintf): Likewise.
72604 2012-05-09  Andreas Jaeger  <aj@suse.de>
72605             Pedro Alves  <palves@redhat.com>
72607         * nscd/nscd.c (run_mode): Use enum.
72608         (main): Cleanup coding style issue.
72610 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
72611             Andreas Jaeger  <aj@suse.de>
72613         * nscd/nscd.c (go_background): Replaced with...
72614         (run_mode): ... this.
72615         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72616         (options): Add -F --foreground.
72617         (main): Implement it.
72618         (parse_opt): Parse it.
72620 2012-05-09  Andreas Jaeger  <aj@suse.de>
72622         [BZ #14083]
72623         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72624         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72625         -Wconversion warning.
72626         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72627         Likewise.
72629 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
72631         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
72632         == 0.
72633         (LC_ALL): Use macro-int-constant.
72634         (LC_COLLATE): Likewise.
72635         (LC_CTYPE): Likewise.
72636         (LC_MESSAGES): Likewise.
72637         (LC_MONETARY): Likewise.
72638         (LC_NUMERIC): Likewise.
72639         (LC_TIME): Likewise.
72640         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72641         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72642         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72643         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72644         Specify type.
72645         [C99-based standards] (float_t): Expect type.
72646         [C99-based standards] (double_t): Expect type.
72647         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
72648         type.
72649         [C99-based standards] (HUGE_VALL): Likewise.
72650         [C99-based standards] (INFINITY): Likewise.
72651         [C99-based standards] (NAN): Likewise.
72652         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72653         [C99-based standards] (FP_NAN): Likewise.
72654         [C99-based standards] (FP_NORMAL): Likewise.
72655         [C99-based standards] (FP_SUBNORMAL): Likewise.
72656         [C99-based standards] (FP_ZERO): Likewise.
72657         [C99-based standards] (FP_FAST_FMA): Use
72658         optional-macro-int-constant.  Specify type.  Require == 1.
72659         [C99-based standards] (FP_FAST_FMAF): Likewise.
72660         [C99-based standards] (FP_FAST_FMAL): Likewise.
72661         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72662         [C99-based standards] (FP_ILOGBNAN): Likewise.
72663         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72664         Specify type.
72665         [C99-based standards] (MATH_ERREXCEPT): Likewise.
72666         [C99-based standards] (math_errhandling): Specify type.
72667         [ISO99 || ISO11] (signgam): Do not allow.
72668         [non-C99-based standards] (copysignf): Do not allow.
72669         [non-C99-based standards] (exp2f): Likewise.
72670         [non-C99-based standards] (log2f): Likewise.
72671         [non-C99-based standards] (modff): Allow.
72672         [non-C99-based standards] (erff): Do not allow.
72673         [non-C99-based standards] (erfcf): Likewise.
72674         [non-C99-based standards] (gammaf): Likewise.
72675         [non-C99-based standards] (hypotf): Likewise.
72676         [non-C99-based standards] (j0f): Likewise.
72677         [non-C99-based standards] (j1f): Likewise.
72678         [non-C99-based standards] (jnf): Likewise.
72679         [non-C99-based standards] (lgammaf): Likewise.
72680         [non-C99-based standards] (tgammaf): Likewise.
72681         [non-C99-based standards] (y0f): Likewise.
72682         [non-C99-based standards] (y1f): Likewise.
72683         [non-C99-based standards] (ynf): Likewise.
72684         [non-C99-based standards] (isnanf): Likewise.
72685         [non-C99-based standards] (acoshf): Likewise.
72686         [non-C99-based standards] (asinhf): Likewise.
72687         [non-C99-based standards] (atanhf): Likewise.
72688         [non-C99-based standards] (cbrtf): Likewise.
72689         [non-C99-based standards] (expm1f): Likewise.
72690         [non-C99-based standards] (ilogbf): Likewise.
72691         [non-C99-based standards] (log1pf): Likewise.
72692         [non-C99-based standards] (logbf): Likewise.
72693         [non-C99-based standards] (nextafterf): Likewise.
72694         [non-C99-based standards] (remainderf): Likewise.
72695         [non-C99-based standards] (rintf): Likewise.
72696         [non-C99-based standards] (scalbf): Likewise.
72697         [non-C99-based standards] (copysignl): Likewise.
72698         [non-C99-based standards] (exp2l): Likewise.
72699         [non-C99-based standards] (log2l): Likewise.
72700         [non-C99-based standards] (modfl): Allow.
72701         [non-C99-based standards] (erfl): Do not allow.
72702         [non-C99-based standards] (erfcl): Likewise.
72703         [non-C99-based standards] (gammal): Likewise.
72704         [non-C99-based standards] (hypotl): Likewise.
72705         [non-C99-based standards] (j0l): Likewise.
72706         [non-C99-based standards] (j1l): Likewise.
72707         [non-C99-based standards] (jnl): Likewise.
72708         [non-C99-based standards] (lgammal): Likewise.
72709         [non-C99-based standards] (tgammal): Likewise.
72710         [non-C99-based standards] (y0l): Likewise.
72711         [non-C99-based standards] (y1l): Likewise.
72712         [non-C99-based standards] (ynl): Likewise.
72713         [non-C99-based standards] (isnanl): Likewise.
72714         [non-C99-based standards] (acoshl): Likewise.
72715         [non-C99-based standards] (asinhl): Likewise.
72716         [non-C99-based standards] (atanhl): Likewise.
72717         [non-C99-based standards] (cbrtl): Likewise.
72718         [non-C99-based standards] (expm1l): Likewise.
72719         [non-C99-based standards] (ilogbl): Likewise.
72720         [non-C99-based standards] (log1pl): Likewise.
72721         [non-C99-based standards] (logbl): Likewise.
72722         [non-C99-based standards] (nextafterl): Likewise.
72723         [non-C99-based standards] (remainderl): Likewise.
72724         [non-C99-based standards] (rintl): Likewise.
72725         [non-C99-based standards] (scalbl): Likewise.
72726         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72727         [non-C99-based standards] (FP_*): Do not allow.
72728         [C99-based standards] (FP_*): Change to
72729         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72730         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72731         allow.
72732         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72733         (SIG_ERR): Likewise.
72734         [X/Open-based standards] (SIG_HOLD): Likewise.
72735         (SIG_IGN): Likewise.
72736         (SIGABRT): Use macro-int-constant.  Specify type.  Require
72737         positive value.
72738         (SIGFPE): Likewise.
72739         (SIGILL): Likewise.
72740         (SIGINT): Likewise.
72741         (SIGSEGV): Likewise.
72742         (SIGTER): Likewise.
72743         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72744         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72745         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72746         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72747         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72748         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72749         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72750         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72751         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72752         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72753         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72754         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72755         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72756         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72757         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72758         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72759         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72760         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72761         [X/Open-based standards] (SIGTRAP): Likewise.
72762         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72763         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72764         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72765         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72766         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72767         allow.
72769 2012-05-08  Ian Wienand  <ianw@vmware.com>
72771         [BZ #14080]
72772         * time/tzset.c (__tzset_parse_tz): Update default rules for
72773         daylight time changes in the Energy Policy Act of 2005.
72775 2012-05-09  Andreas Jaeger  <aj@suse.de>
72777         [BZ #13983]
72778         * elf/ldconfig.c (parse_conf): Change string to make clear that
72779         ldconfig only issued a warning if ld.so.conf does not exist.
72781 2012-05-08  David S. Miller  <davem@davemloft.net>
72783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72784         movxtod instead of popping the value on the stack.
72786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72788 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
72790         * config.h.in: Add HAVE_ARM_PCS_VFP.
72792 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
72794         [BZ #13979]
72795         * include/features.h: Warn if user requests __FORTIFY_SOURCE
72796         checking but the checks are disabled for any reason.
72798 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
72800         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72801         and ELF64_R_TYPE with ELFW(R_TYPE).
72803 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
72805         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72806         (ulimit): Likewise.
72808         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72809         (settimeofday): Likewise.
72811 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
72813         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
72814         a struct th_u2 inside the union, and move tu_block/tu_code into
72815         a new th_u3 union of tu_block/tu_code inside of that.  Move
72816         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
72817         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
72818         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72819         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72820         (th_stuff): Change to th_u1.tu_stuff.
72821         (th_data): Define.
72822         (th_msg): Change to th_u1.th_u2.tu_data.
72824 2012-05-07  David S. Miller  <davem@davemloft.net>
72826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72828         [BZ #14074]
72829         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72830         (SETUP_PIC_REG): Use it.
72831         (SETUP_PIC_REG_LEAF): Use it.
72833 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
72835         [BZ #13885]
72836         [BZ #13923]
72837         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72838         USE_AS_EXPM1L.
72839         (EXPL_FINITE): Likewise.
72840         (FLDLOG): Likewise.
72841         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72842         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72843         e_expl.S.
72844         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72845         USE_AS_EXPM1L.
72846         (EXPL_FINITE): Likewise.
72847         (FLDLOG): Likewise.
72848         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72849         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72850         e_expl.S.
72851         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
72852         test of -max_value argument for long double.
72853         * sysdeps/i386/fpu/libm-test-ulps: Update.
72854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72856 2012-05-06  David S. Miller  <davem@davemloft.net>
72858         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72859         quad soft-float symbols whose references which are compiler
72860         generated.
72861         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72863 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
72865         [BZ #13884]
72866         [BZ #13914]
72867         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72868         USE_AS_EXP10L.
72869         (EXPL_FINITE): Likewise.
72870         (FLDLOG): Likewise.
72871         (c0): Likewise.
72872         (c1): Likewise.
72873         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72874         Adjust comments for base varying.
72875         (__expl_finite): Change alias to EXPL_FINITE.
72876         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72877         e_expl.S.
72878         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72879         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72880         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72881         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72882         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72883         USE_AS_EXP10L.
72884         (EXPL_FINITE): Likewise.
72885         (FLDLOG): Likewise.
72886         (c0): Likewise.
72887         (c1): Likewise.
72888         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72889         Adjust comments for base varying.
72890         (__expl_finite): Change alias to EXPL_FINITE.
72891         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
72892         tests for bugs.
72893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72895         [BZ #14064]
72896         * math/libm-test.inc (check_float_internal): Correct ulp
72897         calculation for subnormal expected results.
72899 2012-05-06  Andreas Jaeger  <aj@suse.de>
72901         * Makeconfig (+math-flags): New, set to -frounding-math.
72902         (+cflags): Add +math-flags so that all of glibc gets compiled with
72903         it.
72905         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72907 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
72909         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72910         Disable one test.
72912         [BZ #13787]
72913         [BZ #13922]
72914         [BZ #14036]
72915         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72916         (__ieee754_expl): Allow for and saturate large arguments.
72917         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72918         (u_threshold): Likewise.
72919         (__exp): Call __ieee754_exp before checking for overflow and
72920         underflow.
72921         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72922         (u_threshold): Likewise.
72923         (__expf): Call __ieee754_expf before checking for overflow and
72924         underflow.
72925         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72926         (u_threshold): Likewise.
72927         (__expl): Call __ieee754_expl before checking for overflow and
72928         underflow.
72929         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72930         (__ieee754_expl): Allow for and saturate large arguments.
72931         * math/libm-test.inc (exp_test): Add another test.  Do not allow
72932         missing overflow exception on overflow.
72933         (expm1_test): Do not allow missing overflow exception on overflow.
72935         * sysdeps/i386/fpu/e_expl.c: Move to ...
72936         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
72937         rather than using inline asm.
72938         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72939         * sysdeps/x86_64/fpu/e_expl.S: Copy from
72940         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72942         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72943         (nice): Likewise.
72944         (poll): Likewise.
72945         (signal): Likewise.
72946         (time): Likewise.
72947         (times): Likewise.
72949 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72951         * sysdeps/unix/syscalls.list (adjtime): Add entry from
72952         sysdeps/unix/common/syscalls.list.
72953         (fchmod): Likewise.
72954         (fchown): Likewise.
72955         (ftruncate): Likewise.
72956         (getrusage): Likewise.
72957         (gettimeofday): Likewise.
72958         (setpgid): Likewise.
72959         (setregid): Likewise.
72960         (setreuid): Likewise.
72961         (sigaction): Likewise.
72962         (truncate): Likewise.
72963         (vhangup): Likewise.
72964         * sysdeps/unix/common/syscalls.list: Remove file.
72965         * sysdeps/unix/bsd/Implies: Don't include unix/common.
72966         * sysdeps/unix/sysv/linux/Implies: Likewise.
72968 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
72970         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72972         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72973         Moved to ...
72974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72975         Here.
72976         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72977         to ...
72978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72979         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72980         to ...
72981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72982         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72983         to ...
72984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72985         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72986         to ...
72987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72988         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72989         to ...
72990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72991         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72992         to ...
72993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72994         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72995         to ...
72996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72997         Here.
72998         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72999         to ...
73000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
73001         Here.
73002         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
73003         to ...
73004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
73005         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
73006         Moved to ...
73007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
73008         Here.
73009         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
73010         to ...
73011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
73013 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73015         * sysdeps/unix/common/bits/dirent.h: Remove file.
73016         * sysdeps/unix/common/bits/fcntl.h: Likewise.
73018         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
73019         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
73020         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
73021         * sysdeps/unix/bsd/isatty.c: Likewise.
73022         * sysdeps/unix/bsd/tcdrain.c: Likewise.
73023         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
73024         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
73026 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73028         [BZ #13563]
73029         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
73030         long double comparison inaccuracies.
73031         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
73032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73034 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
73036         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
73037         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
73039 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73041         [BZ #14049]
73042         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
73043         nonzero digits before rounding a hex value.
73044         * stdlib/tst-strtod.c (tests): Add another test.
73046 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73048         * sysdeps/s390/fpu/libm-test-ulps: Update.
73050 2012-05-03  Andreas Jaeger  <aj@suse.de>
73052         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
73053         does not get optimized out.
73054         (malloc_opt_barrier): New.
73056 2012-05-03  Andreas Jaeger  <aj@suse.de>
73057             Roland McGrath  <roland@hack.frob.com>
73059         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
73060         intermediate file deletion.
73061         (generated): Add .symlist files.
73063 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
73065         [BZ #13775]
73066         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
73067         Redirect under this condition.
73068         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73069         [__USE_GNU] (__dprintf_chk): Not under this condition.
73070         [__USE_GNU] (__vdprintf_chk): Likewise.
73071         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
73072         under this condition.
73073         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73074         [__USE_XOPEN2K8] (dprintf): Define under this condition.
73075         [__USE_XOPEN2K8] (vdprintf): Likewise.
73076         [__USE_GNU] (__dprintf_chk): Not under this condition.
73077         [__USE_GNU] (__vdprintf_chk): Likewise.
73078         [__USE_GNU] (dprintf): Likewise.
73079         [__USE_GNU] (vdprintf): Likewise.
73081 2012-05-03  Roland McGrath  <roland@hack.frob.com>
73083         * elf/Makefile (common-generated): Set this instead of generated for
73084         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
73085         $(all-built-dso)-derived lists.
73087 2012-05-03  Andreas Jaeger  <aj@suse.de>
73089         * sysdeps/i386/fpu/libm-test-ulps: Update.
73091         * FAQ: Removed.
73092         * FAQ.in: Likewise.
73093         * scripts/gen-FAQ.pl: Likewise.
73094         * manual/install.texi (Installation): Point to online location of
73095         FAQ.
73096         * Makefile (files-for-dist): Remove FAQ.
73097         (FAQ): Remove.
73099 2012-05-02  Allan McRae  <allan@archlinux.org>
73101         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
73102         (LDFLAGS-reldepmod5.so): Likewise.
73103         (LDFLAGS-reldep6mod1.so): Likewise.
73104         (LDFLAGS-reldep6mod4.so): Likewise.
73105         (LDFLAGS-reldep8mod3.so): Likewise.
73106         (LDFLAGS-unload4mod1.so): Likewise.
73107         (LDFLAGS-unload4mod2.so): Likewise.
73108         (LDFLAGS-tst-initorder): Likewise.
73109         (LDFLAGS-tst-initordera2.so): Likewise.
73110         (LDFLAGS-tst-initordera3.so): Likewise.
73111         (LDFLAGS-tst-initordera4.so): Likewise.
73112         (LDFLAGS-tst-initorderb2.so): Likewise.
73113         (LDFLAGS-noload): Likewise.
73114         (LDFLAGS-next): Likewise.
73115         (LDFLAGS-order2mod1.so): Likewise.
73116         (LDFLAGS-order2mod2.so): Likewise.
73117         (LDFLAGS-tst-initorder2): Likewise.
73118         (LDFLAGS-tst-initorder2a.so): Likewise.
73119         (LDFLAGS-tst-initorder2b.so): Likewise.
73120         (LDFLAGS-tst-initorder2c.so): Likewise.
73121         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
73123 2012-05-02  David S. Miller  <davem@davemloft.net>
73125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73127 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
73129         [BZ #14055]
73130         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
73132 2012-05-02  Andreas Jaeger  <aj@suse.de>
73134         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
73135         since we manipulate rounding mode.
73136         (CPPFLAGS-test-idouble.c): Likewise.
73137         (CPPFLAGS-test-ifloat.c): Likewise.
73138         (CFLAGS-test-ldouble.c): Likewise.
73139         (CFLAGS-test-double.c): Likewise.
73140         (CFLAGS-test-float.c): Likewise.
73141         (CFLAGS-test-misc.c): Likewise.
73142         (CFLAGS-test-test-fenv.c): Likewise.
73144 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73146         [BZ #2550]
73147         [BZ #2570]
73148         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
73149         comparisons to determine direction to adjust input.
73151 2012-05-01  Roland McGrath  <roland@hack.frob.com>
73153         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
73154         output to the target.
73156         * scripts/localplt.awk: New file.
73157         * elf/Makefile ($(objpfx)check-localplt): Target removed.
73158         (check-localplt-CFLAGS): Variable removed.
73159         ($(all-built-dso:=.jmprel)): New static pattern rule.
73160         (generated): Add those targets.
73161         (localplt-built-dso): New variable.
73162         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
73164         * elf/check-localplt.c: File removed.
73166         * scripts/check-execstack.awk: New file.
73167         * elf/Makefile ($(objpfx)check-execstack): Target removed.
73168         (check-execstack-CFLAGS): Variable removed.
73169         ($(objpfx)check-execstack.h): Target removed.
73170         ($(objpfx)execstack-default): New target.
73171         (generated): Add that instead of check-execstack.h.
73172         ($(all-built-dso:=.phdr)): New static pattern rule.
73173         (generated): Add those targets.
73174         * elf/check-execstack.c: File removed.
73176         * scripts/check-textrel.awk: New file.
73177         * elf/Makefile ($(objpfx)check-textrel): Target removed.
73178         (check-textrel-CFLAGS): Variable removed.
73179         (all-built-dso): Use := to define.o
73180         ($(all-built-dso:=.dyn)): New static pattern rule.
73181         (generated): Add those targets.
73182         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
73183         * config.make.in (READELF): New substituted variable.
73184         * elf/check-textrel.c: File removed.
73186 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73188         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73189         allow.
73190         * conform/data/ctype.h-data [C99-based standards] (isblank):
73191         Expect function.
73192         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73193         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73194         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73195         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73196         Specify type.  Require positive value.
73197         (EILSEQ): Likewise.
73198         (ERANGE): Likewise.
73199         [ISO || POSIX] (EILSEQ): Do not expect.
73200         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73201         Specify type.  Require positive value.
73202         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73203         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73204         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73205         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73206         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73207         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73208         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73209         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73210         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73211         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73212         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73213         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73214         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73215         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73216         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73217         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73218         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73219         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73220         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73221         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73222         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73223         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73224         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73225         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73226         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73227         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73228         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73229         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73230         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73231         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73232         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73233         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73234         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73235         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73236         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73237         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73238         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73239         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73240         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73241         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73242         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73243         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73244         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73245         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73246         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73247         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73248         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73249         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73250         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73251         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73252         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73253         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73254         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73255         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73256         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73257         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73258         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73259         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73260         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73261         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73262         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73263         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73264         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73265         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73266         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73267         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73268         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73269         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73270         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73271         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73272         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73273         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73274         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73275         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73276         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73277         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73278         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73279         Require >= 2.
73280         (FLT_ROUNDS): Expect as macro, not constant.
73281         (FLT_MANT_DIG): Use macro-int-constant.
73282         (DBL_MANT_DIG): Likewise.
73283         (LDBL_MANT_DIG): Likewise.
73284         (FLT_DIG): Likewise.
73285         (DBL_DIG): Likewise.
73286         (LDBL_DIG): Likewise.
73287         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
73288         (DBL_MIN_EXP): Likewise.
73289         (LDBL_MIN_EXP): Likewise.
73290         (FLT_MAX_EXP): Use macro-int-constant.
73291         (DBL_MAX_EXP): Likewise.
73292         (LDBL_MAX_EXP): Likewise.
73293         (FLT_MAX_10_EXP): Likewise.
73294         (DBL_MAX_10_EXP): Likewise.
73295         (LDBL_MAX_10_EXP): Likewise.
73296         (FLT_MAX): Use macro-constant.
73297         (DBL_MAX): Likewise.
73298         (LDBL_MAX): Likewise.
73299         (FLT_EPSILON): Use macro-constant.  Give upper bound.
73300         (DBL_EPSILON): Likewise.
73301         (LDBL_EPSILON): Likewise.
73302         (FLT_MIN): Likewise.
73303         (DBL_MIN): Likewise.
73304         (LDBL_MIN): Likewise.
73305         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73306         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73307         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73308         [ISO11] (FLT_HAS_SUBNORM): Likewise.
73309         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73310         [ISO11] (DBL_DECIMAL_DIG): Likewise.
73311         [ISO11] (FLT_DECIMAL_DIG): Likewise.
73312         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73313         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73314         [ISO11] (FLT_TRUE_MIN): Likewise.
73315         [ISO11] (LDBL_TRUE_MIN): Likewise.
73316         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73317         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73318         (SCHAR_MIN): Use macro-int-constant.  Specify type.
73319         (SCHAR_MAX): Likewise.
73320         (UCHAR_MAX): Likewise.
73321         (CHAR_MIN): Likewise.
73322         (CHAR_MAX): Likewise.
73323         (MB_LEN_MAX): Use macro-int-constant.
73324         (SHRT_MIN): Use macro-int-constant.  Specify type.
73325         (SHRT_MAX): Likewise.
73326         (USHRT_MAX): Likewise.
73327         (INT_MAX): Likewise.
73328         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
73329         bound negative.
73330         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73331         bound with "U".
73332         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73333         bound with "L".
73334         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
73335         bound negative.  Suffix upper bound with "L".
73336         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73337         bound with "UL".
73338         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73339         Specify type.
73340         [C99-based standards] (LLONG_MAX): Likewise.
73341         [C99-based standards] (ULLONG_MAX): Likewise.
73342         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
73343         == 0.
73344         [ISO11] (max_align_t): Require type.
73345         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73347         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73348         from $CFLAGS, without defining away __attribute__ calls.
73349         (checknamespace): Use $CFLAGS_namespace.
73351         * conform/conformtest.pl (@keywords): Only include C99 keywords
73352         for standards based on C99 or C11.
73354         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73355         Disable tests.
73356         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73357         UNIX98]: Likewise.
73359         * conform/conformtest.pl: Handle "macro-int-constant" and test for
73360         usability of symbols in #if.
73362         * conform/conformtest.pl: If macro or constant types start
73363         "promoted:", expect the symbol to be of the following type
73364         promoted by the integer promotions.
73366         * conform/conformtest.pl: Parse all "constant" and "macro" lines
73367         in one place.  Also handle "macro-constant".
73369         * conform/conformtest.pl: Only accept expected macro values with
73370         "==".  Parse all "macro" lines in one place.
73371         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73373         * conform/conformtest.pl: Handle braced types on "constant" lines
73374         instead of handling "typed-constant".
73375         * conform/data/signal.h-data: Use "constant" instead of
73376         "typed-constant".
73378         * conform/conformtest.pl: Handle "optional-" at start of lines in
73379         one place rather than duplicating several cases.  Handle each
73380         format of "macro" line with initial "optional-".
73382         * conform/conformtest.pl: Only accept expected constant or
73383         optional-constant values with "==".  Parse all "constant" lines in
73384         one place.  Parse all "optional-constant" lines in one place.
73385         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73386         * conform/data/fmtmsg.h-data: Likewise.
73387         * conform/data/netinet/in.h-data: Likewise.
73388         * conform/data/tar.h-data: Likewise.
73389         * conform/data/limits.h-data: Use "==" form on "constant" and
73390         "optional-constant" lines.
73392         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73393         Use -std=c99 for XOPEN2K.
73394         (@knownproblems): Remove.
73395         (newtoken): Don't check %isknown.
73397         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73398         Do not expect macro.
73399         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73400         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73401         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73402         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73403         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73404         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73405         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73406         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73407         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73408         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73409         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73410         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73411         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73412         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73413         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73414         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73415         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73416         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73417         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73418         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73419         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73420         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73421         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73422         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73423         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73424         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73425         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73426         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73427         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73428         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73429         [XPG3] (acosh): Likewise.
73430         [XPG3] (asinh): Likewise.
73431         [XPG3] (atanh): Likewise.
73432         [XPG3] (cbrt): Likewise.
73433         [XPG3] (expm1): Likewise.
73434         [XPG3] (ilogb): Likewise.
73435         [XPG3] (log1p): Likewise.
73436         [XPG3] (logb): Likewise.
73437         [XPG3] (nextafter): Likewise.
73438         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73439         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73440         [XPG3] (remainder): Likewise.
73441         [XPG3] (rint): Likewise.
73442         [XPG3 || XPG4 || UNIX98] (round): Likewise.
73443         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73444         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73445         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73446         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73447         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73448         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73449         [UNIX98 || XOPEN2K] (scalb): Expect.
73450         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73451         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73452         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73453         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73454         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73455         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73456         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73457         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73458         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73459         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73460         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73461         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73462         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73463         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73464         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73465         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73466         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73467         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73468         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73469         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73470         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73471         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73472         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73473         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73474         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73475         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73476         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73477         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73478         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73479         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73480         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73481         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73482         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73483         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73484         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73485         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73486         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73487         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73488         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73489         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73490         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73491         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73492         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73493         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73494         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73495         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73496         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73497         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73498         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73499         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73500         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73501         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73502         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73503         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73504         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73505         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73506         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73507         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73508         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73509         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73510         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73511         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73512         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73513         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73514         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73515         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73516         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73517         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73518         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73519         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73520         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73521         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73522         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73523         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73524         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73525         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73526         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73527         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73528         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73529         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73530         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73531         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73532         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73533         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73534         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73535         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73536         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73537         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73538         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73539         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73540         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73541         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73542         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73543         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73544         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73545         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73546         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73547         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73548         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73549         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73550         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73551         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73552         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73553         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73554         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73555         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73556         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73557         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73558         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73559         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73560         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73561         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73562         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73563         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73564         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73565         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73566         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73567         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73568         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73569         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73570         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73571         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73572         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73573         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73574         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73575         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73576         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73577         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73578         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73579         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73580         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73581         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73582         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73583         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73584         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73585         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73586         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73588         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73589         _XOPEN_SOURCE_EXTENDED for XPG4.
73591         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73593         * Makeconfig (localtime): Remove variable.
73594         (inst_localtime-file): Likewise.
73596 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73599         Update.
73600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73601         Update.
73602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73603         Update.
73604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73605         Update.
73606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73607         Update.
73608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73609         Update.
73610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73611         Update.
73612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73613         Update.
73614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73615         Update.
73617 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73619         [BZ #2550]
73620         [BZ #2570]
73621         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73622         comparisons to determine direction to adjust input.
73623         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73624         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73625         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73626         Likewise.
73627         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73628         Likewise.
73629         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73630         Likewise.
73631         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73632         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73633         Likewise.
73634         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73635         Likewise.
73636         * math/libm-test.inc (nexttoward_test): Add more tests.
73638 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73640         [BZ #14040]
73641         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73642         in version GLIBC_2.1, not GLIBC_2.0.
73643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73644         Likewise.
73646 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
73648         [BZ #13942]
73649         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73650         (1 - x) * (1 + x).
73651         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73652         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73653         * math/libm-test.inc (acos_test): Add more tests.
73654         (asin_test): Likewise.
73655         * sysdeps/i386/fpu/libm-test-ulps: Update.
73656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73658         [BZ #14034]
73659         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73660         of square root.
73661         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73662         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73663         * math/libm-test.inc (acos_test_tonearest): New function.
73664         (acos_test_towardzero): Likewise.
73665         (acos_test_downward): Likewise.
73666         (acos_test_upward): Likewise.
73667         (asin_test_tonearest): Likewise.
73668         (asin_test_towardzero): Likewise.
73669         (asin_test_downward): Likewise.
73670         (asin_test_upward): Likewise.
73671         (main): Call the new functions.
73672         * sysdeps/i386/fpu/libm-test-ulps: Update.
73673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73675         [BZ #13884]
73676         [BZ #13924]
73677         * math/e_exp10.c: Include <float.h>.
73678         (__ieee754_exp10): Handle underflow here rather than multiplying
73679         large negative argument by M_LN10.
73680         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73681         of __ieee754_expf.
73682         * math/e_exp10l.c: Include <float.h>.
73683         (__ieee754_exp10l): Handle underflow here rather than multiplying
73684         large negative argument by M_LN10l.
73685         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
73686         spurious overflow exception on underflow.
73688 2012-04-29  Marek Polacek  <polacek@redhat.com>
73690         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73691         (__fortify_function): New macro.
73692         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73693         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73694         __extern_always_inline.
73695         * libio/bits/stdio2.h: Likewise.
73696         * libio/bits/stdio.h: Likewise.
73697         * string/string.h: Likewise.
73698         * string/bits/string3.h: Likewise.
73699         * include/stdio.h: Likewise.
73700         * stdlib/bits/stdlib.h: Likewise.
73701         * stdlib/stdlib.h: Likewise.
73702         * rt/bits/mqueue2.h: Likewise.
73703         * rt/mqueue.h: Likewise.
73704         * posix/bits/unistd.h: Likewise.
73705         * posix/unistd.h: Likewise.
73706         * io/bits/poll2.h: Likewise.
73707         * io/bits/fcntl2.h: Likewise.
73708         * io/fcntl.h: Likewise.
73709         * io/sys/poll.h: Likewise.
73710         * misc/bits/syslog.h: Likewise.
73711         * misc/bits/syslog-ldbl.h: Likewise.
73712         * misc/sys/syslog.h: Likewise.
73713         * socket/bits/socket2.h: Likewise.
73714         * socket/sys/socket.h: Likewise.
73715         * debug/tst-chk1.c: Likewise.
73716         * wcsmbs/bits/wchar2.h: Likewise.
73717         * wcsmbs/bits/wchar-ldbl.h: Likewise.
73718         * wcsmbs/wchar.h: Likewise.
73720 2012-04-29  Andreas Jaeger  <aj@suse.de>
73722         * Makerules (tests): Remove enable-check-abi protection.
73723         (check-abi-warn): Remove.
73724         (check-abi-%): Remove check-abi-warn usage.
73726         * configure.in: Remove check-abi configure option.
73727         * configure: Regenerated.
73728         * config.make.in (enable-check-abi): Remove.
73730 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
73732         [BZ #14033]
73733         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73734         double functions to double *_finite functions.
73736         [BZ #13941]
73737         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73738         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73739         LDBL_MIN_EXP.
73740         * stdio-common/Makefile (tests): Add tst-sprintf3.
73741         * stdio-common/tst-sprintf3.c: New file.
73743         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73744         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73746 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73748         * conform/conformtest.pl: Remove duplicate typed-constant
73749         handling.
73751 2012-04-28  David S. Miller  <davem@davemloft.net>
73753         * Makerules (%.abilist): Add vpath on sysdep_dirs.
73754         (check-abi-%): Remove AWK script prerequisite and explicit
73755         abilist directory.
73756         (check-abi): Rewrite to just diff the symlist with the abilist.
73757         (config-tls, config-abi-config): Delete, no longer used.
73758         (update-abi-%): Remove AWK script and explicit abilist directory.
73759         (update-abi): Rewrite to simply compare and conditionally copy the
73760         symlist and the sysdep abilist file.  Remove update-abi-config
73761         checks.
73762         * abilist/ld.abilist: Remove.
73763         * abilist/libBrokenLocale.abilist: Remove.
73764         * abilist/libanl.abilist: Remove.
73765         * abilist/libcrypt.abilist: Remove.
73766         * abilist/libdl.abilist: Remove.
73767         * abilist/librt.abilist: Remove.
73768         * abilist/libthread_db.abilist: Remove.
73769         * abilist/libutil.abilist: Remove.
73770         * scripts/extract-abilist.awk: Remove.
73771         * scripts/merge-abilist.awk: Remove.
73772         * sysdeps/generic/libcidn.abilist: New file.
73773         * sysdeps/generic/libnss_compat.abilist: New file.
73774         * sysdeps/generic/libnss_db.abilist: New file.
73775         * sysdeps/generic/libnss_dns.abilist: New file.
73776         * sysdeps/generic/libnss_files.abilist: New file.
73777         * sysdeps/generic/libnss_hesiod.abilist: New file.
73778         * sysdeps/generic/libnss_nis.abilist: New file.
73779         * sysdeps/generic/libnss_nisplus.abilist: New file.
73780         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73781         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73782         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73783         file.
73784         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73785         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73786         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73787         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73788         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73789         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73790         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73791         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73792         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73793         file.
73794         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73795         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73796         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73797         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73798         file.
73799         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73800         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73801         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73802         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73803         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73804         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73805         file.
73806         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73807         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73808         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73809         file.
73810         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73811         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73812         New file.
73813         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73814         New file.
73815         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73816         New file.
73817         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73818         New file.
73819         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73820         New file.
73821         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73822         New file.
73823         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73824         New file.
73825         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73826         New file.
73827         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73828         New file.
73829         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73830         New file.
73831         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73832         New file.
73833         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73834         New file.
73835         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73836         New file.
73837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73838         file.
73839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73840         New file.
73841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73842         New file.
73843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73844         file.
73845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73846         New file.
73847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73848         New file.
73849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73850         file.
73851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73852         New file.
73853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73854         New file.
73855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73856         New file.
73857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73858         New file.
73859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73860         New file.
73861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73862         New file.
73863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73865         file.
73866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73867         New file.
73868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73869         file.
73870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73871         file.
73872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73873         file.
73874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73875         file.
73876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73877         file.
73878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73879         New file.
73880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73881         file.
73882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73883         file.
73884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73885         New file.
73886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73887         file.
73888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73890         file.
73891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73892         New file.
73893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73894         file.
73895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73896         file.
73897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73898         file.
73899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73900         file.
73901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73902         file.
73903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73904         New file.
73905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73906         file.
73907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73908         file.
73909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73910         New file.
73911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73912         file.
73913         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73914         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73915         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73916         file.
73917         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73918         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73919         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73920         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73921         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73922         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73923         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73924         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73925         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73926         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73929         file.
73930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73931         New file.
73932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73933         file.
73934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73935         file.
73936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73937         file.
73938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73939         file.
73940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73941         file.
73942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73943         New file.
73944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73945         New file.
73946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73947         file.
73948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73949         New file.
73950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73951         file.
73952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73954         file.
73955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73956         New file.
73957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73958         file.
73959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73960         file.
73961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73962         file.
73963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73964         file.
73965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73966         file.
73967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73968         New file.
73969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73970         New file.
73971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73972         file.
73973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73974         New file.
73975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73976         file.
73978 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73980         * conform/conformtest.pl: Fix typo in handling typed-constant from
73981         allow-header.
73983 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73985         * README: Cut down references to pre-2.6 Linux kernels and
73986         Linuxthreads.  Update lists of configurations in libc and ports
73987         and sort alphabetically.  Say "or newer" with Linux kernel version
73988         requirements.
73990         * config.h.in [IS_IN_build]: Allow compiling without optimization.
73992 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
73994         [BZ #887]
73995         * math/libm-test.inc (logb_test_downward): New test to expose
73996         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73997         rounding mode.
73999 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
74001         [BZ #14027]
74002         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
74003         to be done.
74004         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
74005         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
74007 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
74009         * sysdeps/unix/i386/brk.S: Remove file.
74010         * sysdeps/unix/i386/dl-brk.S: Likewise.
74011         * sysdeps/unix/i386/pipe.S: Likewise.
74012         * sysdeps/unix/i386/sigreturn.S: Likewise.
74013         * sysdeps/unix/i386/syscall.S: Likewise.
74014         * sysdeps/unix/i386/vfork.S: Likewise.
74015         * sysdeps/unix/i386/wait.S: Likewise.
74017         * sysdeps/unix/common/tcsendbrk.c: Move to ...
74018         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
74020         * configure.in (arm*-none*): Do not allow without
74021         --enable-hacker-mode.
74022         (netbsd*): Remove case setting base_os.
74023         (386bsd*): Likewise.
74024         (freebsd*): Likewise.
74025         (bsdi*): Likewise.
74026         (osf*): Likewise.
74027         (sunos*): Likewise.
74028         (ultrix*): Likewise.
74029         (newsos*): Likewise.
74030         (dynix*): Likewise.
74031         (*bsd*): Likewise.
74032         (sysv*): Likewise.
74033         (isc*): Likewise.
74034         (esix*): Likewise.
74035         (sco*): Likewise.
74036         (minix*): Likewise.
74037         (irix4*): Likewise.
74038         (irix6*): Likewise.
74039         (solaris[2-9]*): Likewise.
74040         (none): Likewise.
74041         * configure: Regenerated.
74043 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74045         [BZ #11521]
74046         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
74047         overflow or cancellation in calculating denominator.
74048         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
74049         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
74050         down expression to avoid unexpected rounding in newer GCCs.
74051         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
74053 2012-04-26  David S. Miller  <davem@davemloft.net>
74055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
74056         long-double compat symbols.
74057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
74061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
74063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
74064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
74065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
74066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
74067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
74068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
74069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74071 2012-04-25  David S. Miller  <davem@davemloft.net>
74073         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
74074         HWCAP_* values only after the memory barriers have been defined.
74075         (atomic_full_barrier): Define.
74076         (atomic_read_barrier): Define.
74077         (atomic_write_barrier): Define.
74079 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74081         * shlib-versions: Add libgcc_s version information.
74082         * sysdeps/generic/libgcc_s.h: Remove.
74083         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
74084         libgcc_s.h.
74085         * sysdeps/gnu/unwind-resume.c: Likewise.
74086         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
74088 2012-04-25  David S. Miller  <davem@davemloft.net>
74090         * sysdeps/unix/sparc/brk.S: Delete.
74091         * sysdeps/unix/sparc/dl-brk.S: Delete.
74092         * sysdeps/unix/sparc/pipe.S: Delete.
74093         * sysdeps/unix/sparc/sysdep.S: Delete.
74094         * sysdeps/unix/sparc/sysdep.h: Delete.
74095         * sysdeps/unix/sparc/vfork.S: Delete.
74096         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
74097         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
74098         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
74099         (ret_ERRVAL, r0, r1, MOVE): Define.
74100         (JUMPTARGET): Remove.
74101         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
74102         sysdeps/unix/sparc/sysdep.h
74103         (ENTRY, END): Remove.
74104         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74106 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
74108         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
74109         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
74110         -DIS_IN_build.
74112         * timezone/README: Update upstream location and email address for
74113         tzcode and tzdata.
74114         * timezone/zdump.c: Update from tzcode 2012b.
74115         * timezone/zic.c: Likewise.
74117         * configure.in (libc_cv_as_needed): Remove test.
74118         * configure: Regenerated.
74119         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
74120         conditional definition.
74121         [$(have-as-needed) != yes] (no-as-needed): Likewise.
74122         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
74123         * config.make.in (have-as-needed): Remove variable.
74125 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74126             Paul Pluzhnikov  <ppluzhnikov@google.com>
74128         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
74129         strings correctly.
74131 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
74133         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
74134         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
74135         * sysdeps/sh/strlen.S: Likewise.
74137 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74139         * sysdeps/unix/fork.S: Remove file.
74140         * sysdeps/unix/i386/fork.S: Likewise.
74141         * sysdeps/unix/sparc/fork.S: Likewise.
74143         * sysdeps/unix/system.c: Remove file.
74144         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
74146         * sysdeps/unix/getegid.S: Remove file.
74147         * sysdeps/unix/geteuid.S: Likewise.
74149 2012-04-24  Roland McGrath  <roland@hack.frob.com>
74151         * scripts/check-localplt.awk: New file.
74152         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
74153         of diff.
74154         * scripts/data/localplt-generic.data: Add a comment.
74156         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
74157         NODE when __dir_mkfile failed.
74158         * sysdeps/mach/hurd/symlinkat.c: Likewise.
74159         Reported by Ludovic Courtès <ludo@gnu.org>.
74161 2012-04-24  Andreas Jaeger  <aj@suse.de>
74163         * Makerules (common-clean): Also remove gen-as-const-headers
74164         files.
74166 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74168         * Makerules (native-compile): Do not change working directory for
74169         build.  Use $(OUTPUT_OPTION) in command.
74170         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
74172 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74174         [BZ #13886]
74175         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
74176         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
74177         * math/libm-test.inc (floor_test): Add more tests.
74178         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
74180 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74182         * sysdeps/unix/getdents.c: Remove file.
74183         * sysdeps/unix/sysv/getdents.c: Likewise.
74184         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74186         * sysdeps/unix/syscalls.list (madvise): Add syscall from
74187         sysdeps/unix/mman/syscalls.list.
74188         (mmap): Likewise.
74189         (mprotect): Likewise.
74190         (msync): Likewise.
74191         (munmap): Likewise.
74192         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74193         * sysdeps/unix/mman/syscalls.list: Remove.
74194         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74196         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74197         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74198         * configure: Regenerated.
74199         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74200         $(libgcc_s_suffix).
74201         * config.make.in (libgcc_s_suffix): Remove variable.
74203 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
74205         * sysdeps/unix/sysv/gethostname.c: Move to ...
74206         * sysdeps/posix/gethostname.c: ... here.
74208         * sysdeps/unix/execve.S: Remove file.
74210         * sysdeps/unix/_exit.S: Remove file.
74212 2012-04-23  Andreas Jaeger  <aj@suse.de>
74214         [BZ #13739]
74215         * manual/Makefile: Remove make dist support, there's no
74216         need for a stand-alone documentation tar ball.
74217         (TEXI2DVI): Define always, it's not in Makeconfig.
74218         (dist): Removed.
74219         (tar-it): Removed.
74220         (edition): Removed.
74221         (glibc-doc-$(edition).tar): Removed
74222         (%.Z): Removed.
74223         (%.gz): Removed.
74224         (%.uu): Removed.
74225         (ETAGS): Remove, it's in Makeconfig.
74226         (move-if-change): Remove, it's in Makeconfig.
74228 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
74230         [BZ #13970]
74231         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74232         (strtod, strtof, strtold, strtol, strtoul, strtoq)
74233         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74234         (strtod_l, strtof_l, strtold_l): Remove __wur.
74235         It is not necessarily an error to ignore strtol's return value.
74236         One can reliably look at the stored endptr to decide whether
74237         the number had valid syntax.
74239 2012-04-21  Andreas Jaeger  <aj@suse.de>
74241         [BZ #13739]
74242         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74244 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
74246         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74247         * sysdeps/unix/sysv/Versions: Remove file.
74249 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
74251         [BZ #13927]
74252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74254 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
74256         [BZ #7064]
74257         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74258         version from __vm86.
74260 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
74262         * sysdeps/unix/common/lxstat.c: Remove file.
74263         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74265         * sysdeps/unix/sysv/Makefile: Remove file.
74267         * sysdeps/unix/sysv/direct.h: Remove file.
74269         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74270         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74271         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74272         * sysdeps/unix/sysv/bits/signum.h: Likewise.
74273         * sysdeps/unix/sysv/bits/stat.h: Likewise.
74274         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74275         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74277         * sysdeps/unix/sysv/setrlimit.c: Remove file.
74279         * sysdeps/unix/xmknod.c: Remove file.
74280         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74282         * sysdeps/unix/sysv/settimeofday.c: Remove file.
74284         * sysdeps/unix/sysv/i386/time.S: Remove file.
74286         * sysdeps/unix/fxstat.c: Remove file.
74287         * sysdeps/unix/xstat.c: Likewise.
74288         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74290         * sysdeps/unix/sysv/sigaction.c: Remove file.
74292         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74293         (sysdep_headers): Remove variable.
74294         [termio.h not in sysdep_headers] (generated): Likewise.
74295         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74296         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74297         * sysdeps/unix/sysv/tcdrain.c: Likewise.
74298         * sysdeps/unix/sysv/tcflow.c: Likewise.
74299         * sysdeps/unix/sysv/tcflush.c: Likewise.
74300         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74301         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74302         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74303         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74304         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74306         * sysdeps/unix/siglist.c: Remove file.
74308         * sysdeps/unix/getppid.S: Remove file.
74310         * sysdeps/unix/mkdir.c: Remove file.
74311         * sysdeps/unix/rmdir.c: Likewise.
74313 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
74315         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74316         ERR_MAX value.
74317         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74318         errlist-compat value.
74320 2012-04-18  David S. Miller  <davem@davemloft.net>
74322         * sysdeps/generic/memcopy.h (reg_char): Delete.
74323         * debug/strcat_chk.c: Use char, not reg_char.
74324         * debug/strcpy_chk.c: Likewise.
74325         * debug/strncat_chk.c: Likewise.
74326         * debug/strncpy_chk.c: Likewise.
74327         * string/memchr.c: Likewise.
74328         * string/memrchr.c: Likewise.
74329         * string/rawmemchr.c: Likewise.
74330         * string/strcat.c: Likewise.
74331         * string/strchr.c: Likewise.
74332         * string/strchrnul.c: Likewise.
74333         * string/strcmp.c: Likewise.
74334         * string/strcpy.c: Likewise.
74335         * string/strncat.c: Likewise.
74336         * string/strncmp.c: Likewise.
74337         * string/strncpy.c: Likewise.
74339 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74341         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74342         __builtin_memcopy is called when src and dest ranges are known to not
74343         overlap.
74345 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74347         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74348         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74349         fwd_align_merge macro call.
74350         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74351         bwd_align_merge macro call.
74352         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74354 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74356         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74357         bwd_align_merge macros.
74358         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74359         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74360         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74362 2012-04-18  David S. Miller  <davem@davemloft.net>
74364         * sysdeps/sparc/sparc64/memcopy.h: Delete.
74366 2012-04-18  Andreas Jaeger  <aj@suse.de>
74368         [BZ# 6794]
74369         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74370         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74371         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74373         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74374         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74375         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74377         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74378         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74379         Adjust for changed ldbl-128 files.
74381         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74382         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74383         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74385 2012-04-17  David S. Miller  <davem@davemloft.net>
74387         * sysdeps/sparc/sparc32/memcopy.h: Delete.
74389 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
74391         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74392         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74393         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74394         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74395         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74396         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74398 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74400         [BZ #6794]
74401         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74402         * math/libm-test.inc: Add ilogb errno and exception tests.
74403         * math/w_ilogb.c: New file: ilogb wrapper.
74404         * math/w_ilogbf.c: New file: ilogbf wrapper.
74405         * math/w_ilogbl.c: New file: ilogbl wrapper.
74406         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74407         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74408         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74409         exception being thrown with 0.0 as argument.
74410         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74411         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74412         exception being thrown with 0.0 as argument.
74413         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74414         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74415         exception being thrown with 0.0 as argument.
74416         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74417         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74418         exception being thrown with 0.0 as argument.
74419         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74420         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74421         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74422         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74423         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74424         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74425         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74426         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74427         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74429 2012-04-17  Petr Baudis  <pasky@ucw.cz>
74431         * include/sys/uio.h: Change __vector to __iovec to avoid clash
74432         with altivec.
74434 2012-04-16  Marek Polacek  <polacek@redhat.com>
74436         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74438 2012-04-16  Marek Polacek  <polacek@redhat.com>
74440         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74441         operands of fdivp instruction.
74443 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74445         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74446         * elf/tst-auditmod3b.c: Likewise.
74447         * elf/tst-auditmod4b.c: Likewise.
74448         * elf/tst-auditmod5b.c: Likewise.
74449         * elf/tst-auditmod6b.c: Likewise.
74450         * elf/tst-auditmod6c.c: Likewise.
74451         * elf/tst-auditmod7b.c: Likewise.
74452         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74453         * sysdeps/x86_64/preconfigure.in: Likewise.
74454         * sysdeps/x86_64/preconfigure: Regenerated.
74456 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74458         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74459         __ILP32__.
74461 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
74463         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74464         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74466 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
74468         [BZ #13973]
74469         * locale/iso-639.def: Fix gl language name. Spotted by
74470         Yaron Shahrabani.
74472 2012-04-12  Roland McGrath  <roland@hack.frob.com>
74474         [BZ #2074]
74475         * libio/libio.h (__io_write_fn): Update comment.
74477 2012-04-12  Petr Baudis  <pasky@ucw.cz>
74479         [BZ #2074]
74480         * stdio.texi (Hook Functions): The user provided writer function
74481         is not allowed to return -1.
74483 2012-04-11  David S. Miller  <davem@davemloft.net>
74485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74487 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
74489         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74490         Add a leading slash to rtkaio.
74492 2012-04-11  Jim Meyering  <meyering@redhat.com>
74494         [BZ #11959]
74495         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74496         It is not necessarily an error to ignore fwrite's return
74497         value.  One can reliably use ferror to test for errors after
74498         the fact.
74500 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74502         * bits/types.h (__snseconds_t): New type.
74503         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74505         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74506         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74507         (__SNSECONDS_T_TYPE): Likewise.
74508         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74509         (__SNSECONDS_T_TYPE): Likewise.
74510         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74511         (__SNSECONDS_T_TYPE): Likewise.
74513 2012-04-10  Andreas Jaeger  <aj@suse.de>
74515         [BZ #2636]
74516         * manual/time.texi (Processor Time): Return type of times is
74517         elapsed real time since an arbitrary point in the past.
74518         (CPU Time): Move CLK_TCK from here...
74519         (Processor Time): ...to here.  Correct description.
74520         * manual/conf.texi (Constants for Sysconf): Correct description of
74521         _SC_CLK_TCK.
74523 2012-04-10  David S. Miller  <davem@davemloft.net>
74525         [BZ #13967]
74526         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74527         where the is a gap between DT_REL(A) and DT_JMPREL.
74529 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74531         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74532         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74533         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74535 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
74537         * elf/dl-support.c (_dl_inhibit_cache): New variable.
74538         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74539         (dl_main): Handle --inhibit-cache.
74540         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74541         _dl_inhibit_cache.
74542         * elf/dl-load.c (_dl_map_object): Use it.
74543         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74545 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74547         [BZ #13872]
74548         * sysdeps/i386/fpu/e_powl.S (p78): New object.
74549         (__ieee754_powl): Saturate large exponents rather than testing for
74550         overflow of y*log2(x).
74551         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74552         * math/libm-test.inc (pow_test): Do not permit spurious overflow
74553         exceptions.
74555         [BZ #11521]
74556         * math/s_ctan.c: Include <float.h>.
74557         (__ctan): Avoid internal overflow or cancellation in calculating
74558         denominator.
74559         * math/s_ctanf.c: Likewise.
74560         * math/s_ctanl.c: Likewise.
74561         * math/s_ctanh.c: Likewise.
74562         * math/s_ctanhf.c: Likewise.
74563         * math/s_ctanhl.c: Likewise.
74564         * math/libm-test.inc (ctan_test): Add more tests.
74565         (ctanh_test): Likewise.
74566         * sysdeps/i386/fpu/libm-test-ulps: Update.
74567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74569 2012-04-09  Andreas Jaeger  <aj@suse.de>
74571         [BZ #6894]
74572         * manual/filesys.texi (Directory Entries): Mention that d_namlen
74573         is an optional BSD extension.
74575         [BZ #10254]
74576         * manual/stdio.texi (Opening Streams): Document additional fopen
74577         parameters.
74579 2012-04-09  Roland McGrath  <roland@hack.frob.com>
74581         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74582         %eax without telling the compiler.
74584 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
74586         [BZ # 13963]
74587         * manual/install.texi: Use sourceware.org.
74589 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74591         [BZ #13873]
74592         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74593         (__ieee754_pow): Generate overflow and underflow using huge*huge
74594         and tiny*tiny rather than just returning constant infinity or zero
74595         for large exponents.
74596         * math/libm-test.inc (pow_test): Require overflow exceptions for
74597         applicable cases of large exponents.
74599         [BZ #706]
74600         * sysdeps/i386/fpu/e_pow.S (p10): New object.
74601         (__ieee754_pow): Use iterative multiplication algorithm only for
74602         integer exponents with absolute value below 1024.  Check for odd
74603         integer exponents when using algorithm for real exponents.
74604         * math/libm-test.inc (pow_test): Add more tests.
74605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74607 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
74609         [BZ #13705]
74610         * math/libm-test.inc (exp_test): Do not allow overflow exception
74611         on underflow test.
74613 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
74615         [BZ #13705]
74616         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74617         instead of __kernel_standard_f.
74619 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
74621         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74622         * sysdeps/x86_64/memset_chk.S: Likewise.
74624 2012-04-08  Andreas Jaeger  <aj@suse.de>
74626         [BZ #10153]
74627         * manual/startup.texi (Environment Access): Describe return value
74628         for putenv and setenv.
74630         [BZ #6895]
74631         * manual/filesys.texi (Directory Entries): Add description for
74632         DT_LNK.
74634         [BZ #6890]
74635         * manual/filesys.texi (Directory Entries): Clarify that it's file
74636         system not operating system in the description of DT_UNKNOWN.
74638         [BZ #6578]
74639         * manual/syslog.texi (closelog): Fix reference, it's openlog.
74641 2012-04-08  Stephen Compall  <s11@member.fsf.org>
74643         [BZ #6649]
74644         * manual/llio.texi (Opening and Closing Files): Add cross
74645         reference to explain mode argument.
74647 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
74649         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74650         * sysdeps/x86_64/memset_chk.S: Likewise.
74652 2012-04-07  David S. Miller  <davem@davemloft.net>
74654         * elf/elf.h (R_SPARC_WDISP10): Define.
74655         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74656         R_SPARC_SIZE32.
74657         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74658         R_SPARC_SIZE64 and R_SPARC_H34.
74660 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
74662         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74663         conditions and remove no longer applicable assertion.
74665 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74667         * bits/byteswap.h: Include <features.h>.
74668         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74669         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74671 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74673         * bits/byteswap.h (__bswap_16): Removed.
74674         Include <bits/byteswap-16.h> to get __bswap_16.
74675         * sysdeps/i386/bits/byteswap.h: Likewise.
74676         * sysdeps/s390/bits/byteswap.h: Likewise.
74677         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74678         * bits/byteswap-16.h: New file.
74679         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74680         * sysdeps/s390/bits/byteswap-16.h: Likewise.
74681         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74682         * string/Makefile (headers): Add bits/byteswap-16.h.
74684 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74686         [BZ #13895]
74687         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74688         extra indirection.
74689         * nss/Makefile (tests-static, tests): Add tst-nss-static.
74690         * nss/tst-nss-static.c: New.
74692 2012-04-06  Robert Millan  <rmh@gnu.org>
74694         [BZ #6486]
74695         * manual/llio.texi (File Position Primitive): lseek
74696         refers to WHENCE when it really means OFFSET.
74698 2012-04-06  Andreas Jaeger  <aj@suse.de>
74700         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74701         strncmp declarations.
74703         * abilist/libc.abilist: Add __poll and __ppoll.
74705 2012-04-05  David S. Miller  <davem@davemloft.net>
74707         * scripts/check-local-headers.sh: Accept a host triplet in the
74708         path matched by the exclude regexp.
74710         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74711         definition.
74712         * sysdeps/powerpc/powerpc32/dl-machine.h
74713         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74714         * sysdeps/s390/s390-32/dl-machine.h
74715         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74716         * sysdeps/sparc/sparc32/dl-machine.h
74717         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74718         * sysdeps/sparc/sparc64/dl-machine.h
74719         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74721         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74722         lazy binding.
74723         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74724         undefined symbol errors.
74726         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74727         DT_NEEDED entries.
74729 2012-04-05  Michael Matz  <matz@suse.de>
74731         [BZ #13592]
74732         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74734 2012-04-05  Andreas Jaeger  <aj@suse.de>
74736         [BZ #13908]
74737         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74738         comment.
74740 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74742         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74743         which ROUND is no valid rounding mode.
74745 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74747         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74748         read again.
74749         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74751 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74753         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74754         an exception using FPU order intentionally.
74756 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74758         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74759         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74760         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74761         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74763 2012-04-05  Simon Josefsson  <simon@josefsson.org>
74765         [BZ #12340]
74766         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74767         EINVAL when BUFLEN is too smal.
74769 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
74771         [BZ #13553]
74772         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74773         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74775 2012-04-03  Andreas Jaeger  <aj@suse.de>
74777         [BZ #13938]
74778         * manual/setjmp.texi (System V contexts): Fix sentence.
74780         [BZ #13926]
74781         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74782         New macro for this case.
74783         [!__GNUC__] (__bswap_64): New inline function for this case.
74784         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74785         * bits/byteswap.h: Likewise.
74786         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74787         ull, guard with __GLIBC_HAVE_LONG_LONG.
74789         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74790         __GLIBC_HAVE_LONG_LONG.
74792         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74793         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74795 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74797         [BZ #13691]
74798         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74799         inptr and inend, rather than using last_ch.
74801 2012-04-02  David S. Miller  <davem@davemloft.net>
74803         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74804         * stdio-common/printf-parse.h (read_int): Change return type to
74805         'int', return -1 on INT_MAX overflow.
74806         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74807         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
74808         overflows INT_MAX.  Check for overflow of in-format-string precision
74809         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
74810         SIZE_MAX not INT_MAX for integer overflow test.
74811         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74812         skip the construct in the format string but do not record anything.
74813         * stdio-common/bug22.c: Adjust to test both width/prevision
74814         INT_MAX overflow as well as total length INT_MAX overflow.  Check
74815         explicitly for proper errno values.
74817 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
74819         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74820         CHAR_MAX.
74821         * string/test-strcmp.c [! WIDE]: Likewise.
74822         * time/tst-mktime2.c: Likewise for INT_MAX.
74823         * string/test-string.h: #include <sys/param.h> for MIN.
74825         * csu/init-first.c (__libc_init_first): Call __ctype_init.
74826         * sysdeps/i386/init-first.c (init): Likewise.
74827         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74828         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74829         * sysdeps/sh/init-first.c (init): Likewise.
74831 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
74833         * po/ru.po: Update from translation team.
74834         * po/vi.po: Likewise.
74836 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
74838         * resolv/nss_dns/dns-host.c: Merge copyright years.
74840 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74842         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74843         Optimize memcpy with prefetch if
74844         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
74845         src, dst pointers have unequal 16 byte alignments.
74847 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
74849         [BZ #13928]
74850         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74851         from a CNAME entry and return the minimum ttl for the query.
74852         (gaih_getanswer_slice): Likewise.
74854 2012-03-30  Jeff Law  <law@redhat.com>
74856         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74857         due to long keys.
74858         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74859         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74861         * resolv/nss_dns/dns-host.c: Update copyright year.
74863 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
74865         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74866         requests to save a system call.  Fix check that all bytes are sent.
74868         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74869         comments for sendmmsg.
74871 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74873         [BZ #13691]
74874         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74875         with only 1 character between 0x0041 and 0x01b0.
74876         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74877         * wcsmbs/tst-mbsnrtowcs.c: New file.
74879 2012-03-29  David S. Miller  <davem@davemloft.net>
74881         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74882         small copies by hand.
74884 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74886         [BZ #13761]
74887         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74888         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74889         group memberships.
74891 2012-03-28  David S. Miller  <davem@davemloft.net>
74893         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74894         that branches into memcpy.
74895         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74896         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74897         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74898         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74899         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74900         bits.
74901         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74902         implementation too.
74903         * sysdeps/sparc/mempcpy.S: New file.
74905         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74906         the IFUNC routine in the libc case.
74907         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74909         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74910         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74911         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74912         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74913         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74914         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74915         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74916         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74918         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74919         loop to 256 bytes instead of 64 bytes and fix test signedness.
74921         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74922         * sysdeps/sparc/sparc32/Makefile: rather than here...
74923         * sysdeps/sparc/sparc64/Makefile: and here.
74925 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
74927         * malloc/mallocbug.c: Avoid warnings about unused variables.
74929 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
74931         [BZ #13760]
74932         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74933         in the right place. Discard and retry query if response is
74934         larger than input buffer size.
74936 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
74938         [BZ #369]
74939         [BZ #2678]
74940         [BZ #3866]
74941         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74942         x for large integer exponent.
74943         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74944         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
74945         sign of result as needed afterwards.
74946         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74947         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74948         result for underflowing pow the same as for overflow.
74949         (__kernel_standard_l): Handle powl overflow and underflow here
74950         rather than calling __kernel_standard.
74951         * math/libm-test.inc (pow_test): Add more tests.
74953         [BZ #3868]
74954         [BZ #13879]
74955         [BZ #13910]
74956         [BZ #13911]
74957         [BZ #13912]
74958         [BZ #13913]
74959         [BZ #13915]
74960         [BZ #13916]
74961         [BZ #13917]
74962         [BZ #13918]
74963         [BZ #13919]
74964         [BZ #13920]
74965         [BZ #13921]
74966         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74967         * sysdeps/ieee754/k_standard.c: Include <float.h>.
74968         (__kernel_standard_l): New function.
74969         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74970         __kernel_standard.
74971         * math/w_acosl.c (__acosl): Likewise.
74972         * math/w_asinl.c (__asinl): Likewise.
74973         * math/w_atan2l.c (__atan2l): Likewise.
74974         * math/w_atanhl.c (__atanhl): Likewise.
74975         * math/w_coshl.c (__coshl): Likewise.
74976         * math/w_exp10l.c (__exp10l): Likewise.
74977         * math/w_exp2l.c (__exp2l): Likewise.
74978         * math/w_fmodl.c (__fmodl): Likewise.
74979         * math/w_hypotl.c (__hypotl): Likewise.
74980         * math/w_j0l.c (__j0l, __y0l): Likewise.
74981         * math/w_j1l.c (__j1l, __y1l): Likewise.
74982         * math/w_jnl.c (__jnl, __ynl): Likewise.
74983         * math/w_lgammal.c (__lgammal): Likewise.
74984         * math/w_log10l.c (__log10l): Likewise.
74985         * math/w_log2l.c (__log2l): Likewise.
74986         * math/w_logl.c (__logl): Likewise.
74987         * math/w_powl.c (__powl): Likewise.
74988         * math/w_remainderl.c (__remainderl): Likewise.
74989         * math/w_scalbl.c (sysv_scalbl): Likewise.
74990         * math/w_sinhl.c (__sinhl): Likewise.
74991         * math/w_sqrtl.c (__sqrtl): Likewise.
74992         * math/w_tgammal.c (__tgammal): Likewise.
74993         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74994         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74995         * math/libm-test.inc (acos_test): Add more tests.
74996         (acosh_test): Likewise.
74997         (asin_test): Likewise.
74998         (atanh_test): Likewise.
74999         (exp_test): Likewise.
75000         (exp10_test): Likewise.
75001         (exp2_test): Likewise.
75002         (expm1_test): Likewise.
75003         (lgamma_test): Likewise.
75004         (log_test): Likewise.
75005         (log10_test): Likewise.
75006         (log1p_test): Likewise.
75007         (log2_test): Likewise.
75008         (pow_test): Do not allow some spurious overflow exceptions.
75009         (sqrt_test): Add more tests.
75010         (tgamma_test): Likewise.
75011         (y0_test): Likewise.
75012         (y1_test): Likewise.
75013         (yn_test): Likewise.
75015 2012-03-27  Anton Blanchard  <anton@samba.org>
75017         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
75018         MAP_HUGETLB.
75019         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75020         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75021         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75023 2012-03-27  David S. Miller  <davem@davemloft.net>
75025         * conform/Makefile: Run run-conformtest.sh using $(BASH).
75027         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
75028         have-as-vis3 check.
75030 2012-03-27  Andreas Jaeger  <aj@suse.de>
75032         * sysdeps/x86_64/elf/configure.in: Moved to ...
75033         * sysdeps/x86_64/configure.in: ... here.
75034         * sysdeps/x86_64/elf/start.S: Moved to ...
75035         * sysdeps/x86_64/start.S: ... here.
75036         * sysdeps/x86_64/elf/configure: Delete.
75038         * sysdeps/x86_64/configure.in: Merge contents from
75039         sysdeps/i386/configure.in (without i686 check).
75041         * sysdeps/i386/elf/Versions: Merge into ...
75042         * sysdeps/i386/Versions: ... this.
75043         * sysdeps/i386/elf/Versions: Delete file.
75044         * sysdeps/i386/elf/start.S: Moved to ...
75045         * sysdeps/i386/start.S: ...here.
75046         * sysdeps/i386/elf/configure.in: Merge into...
75047         * sysdeps/i386/configure.in: ...here.
75048         * sysdeps/i386/elf/configure.in: Delete file.
75049         * sysdeps/i386/elf/configure: Delete file.
75051         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
75052         * debug/backtracesyms.c: ... here.
75053         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
75054         * debug/backtracesymsfd.c: ... here.
75055         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
75056         * sysdeps/generic/ifunc-sel.h: ... here.
75058         * sysdeps/unix/i386/start.c: Delete file.
75059         * sysdeps/unix/sparc/start.c: Delete file.
75060         * sysdeps/unix/start.c: Delete file.
75062         * sysdeps/sh/elf/configure.in: Moved to ...
75063         * sysdeps/sh/configure.in: ... here.
75064         * sysdeps/sh/elf/start.S: Moved to ...
75065         * sysdeps/sh/start.S: ... here.
75066         * sysdeps/sh/elf/configure: Delete file.
75068         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
75069         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
75070         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
75071         * sysdeps/powerpc/powerpc64/entry.h: ... here.
75072         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
75073         * sysdeps/powerpc/powerpc64/start.S: here.
75074         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
75075         * sysdeps/powerpc/powerpc64/Makefile: ... this.
75076         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
75077         * sysdeps/powerpc/powerpc64/configure.in: ... this.
75078         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
75080         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
75081         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
75082         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
75083         * sysdeps/powerpc/powerpc32/start.S: ... here.
75084         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
75085         * sysdeps/powerpc/powerpc32/configure.in: ... this.
75086         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
75088         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75089         * sysdeps/powerpc/ifunc-sel.h: ... here.
75090         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
75091         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
75093         * sysdeps/sparc/elf/configure.in: Moved to ...
75094         * sysdeps/sparc/configure.in: ... here.
75095         * sysdeps/sparc/elf/configure: Delete file.
75096         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75097         * sysdeps/sparc/sparc32/start.S: ... here.
75098         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
75099         * sysdeps/sparc/sparc64/start.S: ... here.
75100         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
75101         * sysdeps/sparc/sparc32/Makefile: ... this.
75102         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
75103         * sysdeps/sparc/sparc64/Makefile: ... this.
75105         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
75106         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
75107         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
75108         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
75109         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
75110         * sysdeps/s390/s390-32/setjmp.S: ... here.
75111         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
75112         * sysdeps/s390/s390-32/configure.in: ... here.
75113         * sysdeps/s390/s390-32/elf/configure: Delete file.
75114         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
75115         * sysdeps/s390/s390-32/start.S: ... here.
75117         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
75118         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
75119         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
75120         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
75121         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
75122         * sysdeps/s390/s390-64/setjmp.S: ... here.
75123         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
75124         * sysdeps/s390/s390-64/configure.in: ... here
75125         * sysdeps/s390/s390-64/elf/configure: Delete file.
75126         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
75127         * sysdeps/s390/s390-64/start.S: ... here.
75128         * sysdeps/s390/s390-64/elf/configure: Delete.
75130         * configure.in: Remove support for elf directories in sysdeps.
75132         * configure: Regenerated.
75133         * sysdeps/i386/configure: Regenerated.
75134         * sysdeps/powerpc/powerpc32/configure: Regenerated.
75135         * sysdeps/powerpc/powerpc64/configure: Regenerated.
75136         * sysdeps/s390/s390-32/configure: Regenerated.
75137         * sysdeps/s390/s390-64/configure: Regenerated.
75138         * sysdeps/sh/configure: Regenerated.
75139         * sysdeps/sparc/configure: Regenerated.
75140         * sysdeps/x86_64/configure: Regenerated.
75142 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
75144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75146         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
75147         denormal result into account.
75149 2012-03-25  Roland McGrath  <roland@hack.frob.com>
75151         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
75152         Reported by Allan McRae <allan@archlinux.org>.
75154 2012-03-23  Jeff Law  <law@redhat.com>
75156         * nss/getnssent.c (__nss_getent): Fix typo.
75158 2012-03-23  David S. Miller  <davem@davemloft.net>
75160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75162 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
75164         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
75165         to pad to uint64_t for each field.
75166         (dl_tls_index): Replace unsigned long with uint64_t.
75168 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
75169         Paul Pluzhnikov  <ppluzhnikov@google.com>
75171         [BZ #6528]
75172         * grp/Makefile (otherlibs): Don't set it.
75173         * inet/Makefile (otherlibs): Likewise.
75174         * login/Makefile (otherlibs): Likewise.
75175         * nscd/Makefile (otherlibs): Likewise.
75176         * posix/Makefile (otherlibs): Likewise.
75177         * pwd/Makefile (otherlibs): Likewise.
75178         * rt/Makefile (otherlibs): Likewise.
75179         * sunrpc/Makefile (otherlibs): Likewise.
75180         * nss/Makefile (otherlibs): Likewise.
75181         Add libnss_files to routines and static-only-routines.
75182         ($(objpfx)getent): Remove rule.
75183         * resolv/Makefile: Add libnss_dns and libresolv to routines and
75184         static-only-routines.
75186 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75188         [BZ #13892]
75189         * math/s_cexp.c: Include <float.h>.
75190         (__cexp): Handle exp result overflowing not necessarily
75191         overflowing both real and imaginary parts of result.
75192         * math/s_cexpf.c: Likewise.
75193         * math/s_cexpl.c: Likewise.
75194         * math/libm-test.inc (cexp_test): Add more tests.
75195         * sysdeps/i386/fpu/libm-test-ulps: Update.
75196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75198 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75200         * include/link.h (ELFW): New macro.
75201         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75202         Replace ELF64_R_TYPE with ELFW(R_TYPE).
75204 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75206         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75207         with uint64_t.
75209 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75211         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75212         declaration.
75213         (struct La_x32_retval): Likewise.
75215 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75217         * sysdeps/x86_64/preconfigure.in: New file.
75218         * sysdeps/x86_64/preconfigure: New generated file.
75220 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75222         [BZ #13824]
75223         * math/e_exp2l.c: Include <float.h>.
75224         (__ieee754_exp2l): Handle overflow and underflow cases
75225         separately.  Only pass fractional part of argument to
75226         __ieee754_expl.
75227         * math/libm-test.inc (exp2_test): Add more tests.
75229         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75230         negating x to take absolute value.
75231         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75232         Likewise.
75233         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75234         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75235         Likewise.
75236         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75237         computing low part if x was negated.
75238         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75240 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75242         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75243         la_x32_gnu_pltexit.
75244         (pltexit): Cast int_retval to ptrdiff_t.
75245         * elf/tst-auditmod3b.c: Likewise.
75246         * elf/tst-auditmod4b.c: Likewise.
75247         * elf/tst-auditmod5b.c: Likewise.
75248         * elf/tst-auditmod6b.c: Likewise.
75249         * elf/tst-auditmod6c.c: Likewise.
75250         * elf/tst-auditmod7b.c: Likewise.
75252         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75253         and x32_gnu_pltexit.
75255         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75256         __ELF_NATIVE_CLASS.
75257         (La_x32_regs): New macro.
75258         (La_x32_retval): Likewise.
75259         (la_x32_gnu_pltenter): New function prototype.
75260         (la_x32_gnu_pltexit): Likewise.
75262 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
75264         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75265         exponent.
75267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75269         * configure.in (libc_cv_cc_nofma): Check for option to disable
75270         generation of FMA instructions.
75271         * configure: Regenerate.
75272         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75273         * sysdeps/ieee754/dbl-64/Makefile: New file.
75274         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75275         Remove brandred-fma4.
75276         (CFLAGS-brandred-fma4.c): Remove.
75277         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75278         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75279         define.
75280         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75281         define.
75283 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75285         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75286         LLONG_MAX != LONG_MAX.
75287         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75288         (_fitoa_word): Likewise.
75289         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75290         LLONG_MAX != LONG_MAX.
75291         * stdio-common/_itowa.h: Include <_itoa.h>.
75292         (_itowa_word): Use _ITOA_WORD_TYPE on value.
75293         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
75294         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
75295         only if not defined.
75296         (_ITOA_WORD_TYPE): Likewise.
75297         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75298         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75300 2012-03-21  David S. Miller  <davem@davemloft.net>
75302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75304 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75306         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75307         of x86_64 when setting libc_cv_slibdir, libdir and
75308         libc_cv_localedir.
75309         * sysdeps/unix/sysv/linux/configure: Regenerated.
75311 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75313         * manual/lang.texi (Old Varargs): Remove section.
75314         (How Variadic): Update menu.
75315         (va_start): Do not mention varargs.h.
75317 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75318             Joseph Myers  <joseph@codesourcery.com>
75320         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75321         link test.
75322         * configure: Regenerated.
75324 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75326         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75327         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75328         conformtest.pl
75330 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75332         * NOTES: Remove.
75333         * Makefile (files-for-dist): Remove NOTES.
75334         (NOTES): Remove rule.
75335         * README: Don't refer to NOTES.
75336         * manual/creature.texi: Don't include macros.texi.
75337         * manual/intro.texi (creature.texi): Remove comment referring to
75338         NOTES.
75340         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75341         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75342         * configure: Regenerated.
75343         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75344         LIBC_TRY_CC_OPTION.
75345         (libc_cv_as_i686): Likewise.
75346         (libc_cv_cc_avx): Likewise.
75347         (libc_cv_cc_sse2avx): Likewise.
75348         (libc_cv_cc_fma4): Likewise.
75349         (libc_cv_cc_novzeroupper): Likewise.
75350         * sysdeps/i386/configure: Regenerated.
75352         [BZ #13883]
75353         * sysdeps/i386/fpu/s_cexp.S: Remove.
75354         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75355         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75356         * math/libm-test.inc (cexp_test): Add more tests.
75357         * sysdeps/i386/fpu/libm-test-ulps: Update.
75358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75360 2012-03-21  Allan McRae  <allan@archlinux.org>
75362         * timezone/Makefile: Do not install iso3166.tab and zone.tab
75364 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75366         [BZ #13871]
75367         * math/w_exp2.c: Do not include <float.h>.
75368         (o_threshold, u_threshold): Remove.
75369         (__exp2): Calculate result before checking finiteness and calling
75370         __kernel_standard.
75371         * math/w_exp2f.c: Likewise.
75372         * math/w_exp2l.c: Likewise.
75373         * math/libm-test.inc (exp2_test): Require overflow exception for
75374         1e6 input.
75376         [BZ #3866]
75377         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75378         range of signed 64-bit integers before using fistpll.  Remove
75379         checks for whether integers fit in mantissa bits.
75380         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75381         the range of signed 32-bit integers before using fistpl.  Remove
75382         checks for whether integers fit in mantissa bits.
75383         * sysdeps/i386/fpu/e_powl.S (p64): New object.
75384         (__ieee754_powl): Test for y outside the range of signed 64-bit
75385         integers before using fistpll.  Reduce 64-bit values to 63-bit
75386         ones as needed.
75387         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75388         divide-by-zero is raised for zero to large negative powers.
75389         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75390         (__ieee754_powl): Test for y outside the range of signed 64-bit
75391         integers before using fistpll.  Reduce 64-bit values to 63-bit
75392         ones as needed.
75393         * math/libm-test.inc (pow_test): Add more tests.
75395 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75397         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75398         <stdio-common/_itoa.h>.
75399         * debug/segfault.c: Likewise.
75400         * elf/dl-cache.c: Likewise.
75401         * elf/dl-minimal.c: Likewise.
75402         * elf/dl-misc.c: Likewise.
75403         * elf/dl-sysdep.c: Likewise.
75404         * elf/dl-version.c: Likewise.
75405         * elf/rtld.c: Likewise.
75406         * hurd/hurdsock.c: Likewise.
75407         * hurd/lookup-retry.c: Likewise.
75408         * malloc/malloc.c: Likewise.
75409         * malloc/mtrace.c: Likewise.
75410         * nscd/nscd_getgr_r.c: Likewise.
75411         * nscd/nscd_getpw_r.c: Likewise.
75412         * nscd/nscd_getserv_r.c: Likewise.
75413         * posix/getopt_init.c: Likewise.
75414         * posix/wordexp.c: Likewise.
75415         * stdio-common/_itoa.c: Likewise.
75416         * stdio-common/printf_fphex.c: Likewise.
75417         * stdio-common/vfprintf.c: Likewise.
75418         * string/_strerror.c: Likewise.
75419         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75420         * sysdeps/i386/i686/hp-timing.h: Likewise.
75421         * sysdeps/mach/_strerror.c: Likewise.
75422         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75423         * sysdeps/mach/hurd/sethostid.c: Likewise.
75424         * sysdeps/mach/hurd/xmknodat.c: Likewise.
75425         * sysdeps/mach/xpg-strerror.c: Likewise.
75426         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75427         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75428         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75429         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75430         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75431         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75432         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75433         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75434         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75435         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75436         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75437         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75438         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75439         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75440         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75441         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75442         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75443         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75444         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75445         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75446         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75448         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75450         * stdio-common/_itoa.h: Moved to ...
75451         * sysdeps/generic/_itoa.h: Here.
75453         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75455         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75456         instead of "_itoa.h" and "_itowa.h".
75457         * stdio-common/vfprintf.: Likewise.
75459 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75461         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75462         <bits/wordsize.h>.
75463         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75464         (__signbit): Likewise.
75465         (llrintf): Likewise.
75466         (llrint): Likewise.
75468 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75470         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75471         __WORDSIZE != 64.
75473 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
75475         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75476         OVERFLOW_EXCEPTION_OK.
75477         * math/libm-test.inc ("Philosophy"): Update comment about
75478         exception testing.
75479         (OVERFLOW_EXCEPTION): Define.
75480         (OVERFLOW_EXCEPTION_OK): Likewise.
75481         (INVALID_EXCEPTION_OK): Renumber.
75482         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75483         (IGNORE_ZERO_INF_SIGN): Likewise.
75484         (test_exceptions): Handle FE_OVERFLOW.
75485         (exp10_test): Expect overflow exceptions.
75486         (exp2_test): Likewise.
75487         (expm1_test): Likewise.
75488         (nextafter_test): Likewise.
75489         (pow_test): Likewise.
75490         (scalbn_test): Likewise.
75491         (scalbln_test): Likewise.
75493 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75495         * sysdeps/x86_64/bits/atomic.h
75496         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75497         64bit integer.
75498         (atomic_exchange_acq): Likewise.
75499         (__arch_exchange_and_add_body): Likewise.
75500         (__arch_add_body): Likewise.
75501         (atomic_add_negative): Likewise.
75502         (atomic_add_zero): Likewise.
75504 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75506         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75507         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75509 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75511         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75512         Check __x86_64__ instead of __WORDSIZE.
75514 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75516         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75518 2012-03-19  David S. Miller  <davem@davemloft.net>
75520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75522         * sysdeps/sparc/fpu/fenv_private.h: New file.
75523         * sysdeps/sparc/fpu/math_private.h: Use it.
75524         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75525         Remove.
75526         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75527         (libc_feholdexcept_setroundl): Remove.
75528         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75529         Remove.
75530         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75531         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75533 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75535         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75536         int64_t instead of long int.
75537         (INSERT_WORDS64): Likewise.
75539 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75541         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75542         _Unwind_GetCFA return to _Unwind_Ptr first.
75544 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
75546         [BZ #13629]
75547         * math/s_clog.c: Include <float.h>.
75548         (__clog): Scale large or subnormal inputs.
75549         * math/s_clogf.c: Likewise.
75550         * math/s_clogl.c: Likewise.
75551         * math/s_clog10.c: Include <float.h>.
75552         (M_LOG10_2): Define.
75553         (__clog10): Scale large or subnormal inputs.
75554         * math/s_clog10f.c: Likewise.
75555         * math/s_clog10l.c: Likewise.
75556         * math/libm-test.inc (clog_test): Add more tests.
75557         (clog10_test): Likewise.
75558         * sysdeps/i386/fpu/libm-test-ulps: Update.
75559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75561         [BZ #11451]
75562         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75563         x and y.
75564         * math/libm-test.inc (atan2_test): Add another test.
75566         * Makerules (common-objdir-compile): Remove.
75567         * sysdeps/unix/Makefile (config-generated): Do not add
75568         $(unix-generated) to variable.
75569         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75570         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75571         Remove rule.
75572         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75573         Likewise.
75574         [generic bits/local_lim.h] (before-compile): Do not append to
75575         variable.
75576         [generic bits/local_lim.h] (common-generated): Likewise.
75577         [generic sys/param.h] (before-compile): Do not append to variable.
75578         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75579         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75580         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75581         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75582         include.
75583         [generic sys/param.h] (sys/param.h-includes): Remove variable.
75584         [generic sys/param.h] (sys/param.h-includes): Remove rule.
75585         [generic sys/param.h] ($(addprefix
75586         $(common-objpfx),$(sys/param.h-includes))): Likewise.
75587         [generic sys/param.h] (common-generated): Do not append to
75588         variable.
75589         [generic sys/param.h] (sysdep_headers): Likewise.
75590         [generic bits/errno.h] (before-compile): Do not append to
75591         variable.
75592         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75593         rule.
75594         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75595         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75596         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75597         [generic bits/errno.h] (common-generated): Do not append to
75598         variable.
75599         [generic bits/ioctls.h] (before-compile): Do not append to
75600         variable.
75601         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75602         rule.
75603         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75604         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75605         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75606         rule.
75607         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75608         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75609         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75610         [generic bits/ioctls.h] (common-generated): Do not append to
75611         variable.
75612         [generic sys/syscall.h] (syscall.h): Remove variable.
75613         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75614         rule.
75615         [generic sys/syscall.h] (before-compile): Do not append to
75616         variable.
75617         [generic sys/syscall.h] (common-generated): Likewise.
75618         * sysdeps/unix/errnos-tmpl.c: Remove file.
75619         * sysdeps/unix/errnos.awk: Likewise.
75620         * sysdeps/unix/ioctls-tmpl.c: Likewise.
75621         * sysdeps/unix/ioctls.awk: Likewise.
75622         * sysdeps/unix/mk-local_lim.c: Likewise.
75623         * sysdeps/unix/snarf-ioctls: Likewise.
75625 2012-03-19  Richard Henderson  <rth@twiddle.net>
75627         * sysdeps/i386/fpu/fenv_private.h: New file.
75628         * sysdeps/i386/fpu/math_private.h: Use it.
75629         (math_opt_barrier, math_force_eval): Remove.
75630         (libc_feholdexcept_setround_53bit): Remove.
75631         (libc_feupdateenv_53bit): Remove.
75632         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75633         (math_opt_barrier, math_force_eval): Remove.
75634         (libc_feholdexcept): Remove.
75635         (libc_feholdexcept_setround): Remove.
75636         (libc_fetestexcept, libc_fesetenv): Remove.
75637         (libc_feupdateenv_test): Remove.
75638         (libc_feupdateenv, libc_feholdsetround): Remove.
75639         (libc_feresetround): Remove.
75641         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75642         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75644         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75645         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75646         (libc_feupdateenv_testl): New.
75647         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75648         (libc_feupdateenv_testf): New.
75649         (libc_feupdateenv): Use libc_feupdateenv_test.
75650         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75651         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75653         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75654         (libc_feholdsetroundf, libc_feholdsetroundl): New.
75655         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75656         (libc_feresetround_noex): New.
75657         (libc_feresetround_noexf): New.
75658         (libc_feresetround_noexl): New.
75659         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75660         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75661         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75662         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75663         SET_RESTORE_ROUND.
75664         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75665         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75666         (__cos): Likewise.
75667         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75668         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75669         SET_RESTORE_ROUND_NOEX.
75670         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75671         SET_RESTORE_ROUND_NOEXF.
75672         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75673         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75674         (libc_feholdsetroundf): New.
75675         (libc_feresetround, libc_feresetroundf): New.
75677         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75678         (libc_feholdexcept_setround_53bit): Convert from macro to function.
75679         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
75681         * sysdeps/generic/math_private.h: Include <fenv.h>.
75682         (default_libc_feholdexcept): New.
75683         (default_libc_feholdexcept_setround): New.
75684         (default_libc_fesetenv, default_libc_feupdateenv): New.
75685         (libc_feholdexcept): Only define if undefined.
75686         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75687         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75688         (libc_feholdexcept_setroundl): Likewise.
75689         (libc_feholdexcept_setround_53bit): Likewise.
75690         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75691         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75692         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75693         (libc_feupdateenv_53bit): Likewise.
75694         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75695         (libc_feholdexcept): Convert from macro to inline function.
75696         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75697         (libc_fesetenv, libc_feupdateenv): Likewise.
75699         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75700         not previously defined.
75701         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75702         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75703         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75704         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75705         * sysdeps/ieee754/flt-32/math_private.h: New file.
75706         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75707         math_private.h below SET_FLOAT_WORD.
75708         (__isnan, __isinf_ns, __finite): Remove.
75709         (__isnanf, __isinf_nsf, __finitef): Remove.
75711 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
75713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75715 2012-03-17  David S. Miller  <davem@davemloft.net>
75717         [BZ #6471]
75718         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75719         for 2.16.
75721 2012-03-16  David S. Miller  <davem@davemloft.net>
75723         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75724         warnings.
75726         [BZ #6471]
75727         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75728         properly.
75729         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75730         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75731         sysdep_routines when subdir is sysvipc.
75732         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75733         __getshmlba helper.
75735         * sysdeps/sparc/fpu/libm-test/ulps: Update.
75737 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75739         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75740         [__LP64__].
75742 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75744         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75745         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75746         (__lround): Renamed to ...
75747         (__llround): This.  Replace long int with long long int.
75748         Define lround functions as aliases of llround functions.
75749         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75751 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75753         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75754         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
75755         adresses to uintptr_t.  Replace "long int" and "unsigned long
75756         int" with "greg_t" on va_arg.
75758 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75760         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75761         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75763         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75764         Move e_machine check before EI_CLASS check.  Handle x32
75765         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75766         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75767         SKIP_EM_IA_64 and include
75768         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75770         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75771         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75772         (add_system_dir): New macro.
75774         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75775         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75777 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75779         [BZ #2551]
75780         [BZ #2552]
75781         [BZ #2553]
75782         [BZ #2554]
75783         [BZ #2562]
75784         [BZ #2563]
75785         [BZ #2565]
75786         [BZ #2566]
75787         [BZ #2576]
75788         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75789         (y0): Likewise.
75790         * math/w_j0f.c (j0f): Likewise.
75791         (y0f): Likewise.
75792         * math/w_j0l.c (__j0l): Likewise.
75793         (__y0l): Likewise.
75794         * math/w_j1.c (j1): Likewise.
75795         (y1): Likewise.
75796         * math/w_j1f.c (j1f): Likewise.
75797         (y1f): Likewise.
75798         * math/w_j1l.c (__j1l): Likewise.
75799         (__y1l): Likewise.
75800         * math/w_jn.c (jn): Likewise.
75801         (yn): Likewise.
75802         * math/w_jnf.c (jnf): Likewise.
75803         (ynf): Likewise.
75804         * math/w_jnl.c (__jnl): Likewise.
75805         (__ynl): Likewise.
75806         * math/libm-test.inc (j0_test): Add more tests.
75807         (j1_test): Likewise.
75808         (jn_test): Likewise.  Add trailing semicolon to existing test.
75809         (y0_test): Likewise.
75810         (y1_test): Likewise.
75811         * sysdeps/i386/fpu/libm-test-ulps: Update.
75812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75814         [BZ #13851]
75815         [BZ #13854]
75816         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75817         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75818         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75819         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75820         (__tanl): Set errno for infinite argument.
75821         * sysdeps/i386/fpu/mptan.c: Remove.
75822         * sysdeps/i386/fpu/s_tan.S: Likewise.
75823         * sysdeps/i386/fpu/s_tanl.S: Likewise.
75824         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75825         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75826         * math/libm-test.inc (tan_test): Add more tests and enable more
75827         tests for double and long double.
75828         * sysdeps/i386/fpu/libm-test-ulps: Update.
75829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75831 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
75833         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75834         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75836 2012-03-16  Roland McGrath  <roland@hack.frob.com>
75838         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75839         * configure.in: Use it for both main tree and add-ons.
75840         * configure: Regenerated.
75842 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75844         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75846 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75848         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75849         in comment.
75851         [BZ #13851]
75852         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75853         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75854         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75855         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75856         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75857         infinite argument.
75858         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75860         != 0 for prec == 2.
75861         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75862         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75863         * sysdeps/i386/fpu/s_cosl.S: Likewise.
75864         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75865         * sysdeps/i386/fpu/s_sinl.S: Likewise.
75866         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75867         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75868         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75869         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75870         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75871         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75872         * math/libm-test.inc (cos_test): Add more tests and enable more
75873         tests for long double.
75874         (sin_test): Likewise.
75875         (sincos_test): Likewise.
75876         * sysdeps/i386/fpu/libm-test-ulps: Update.
75877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75879 2012-03-16  David S. Miller  <davem@davemloft.net>
75881         * sysdeps/sparc/fpu/math_private.h: New file.
75883 2012-03-15  David S. Miller  <davem@davemloft.net>
75885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75886         file.
75887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75889         file.
75890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75895         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75896         sysdep routines.
75897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75899         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75900         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75902         * sysdeps/sparc/sparc-ifunc.h: New file.
75903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75904         sparc-ifunc.h
75905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75907         Likewise.
75908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75909         Likewise.
75910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75914         Likewise.
75915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75920         Likewise.
75921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75922         Likewise.
75923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75927         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75928         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75929         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75930         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75931         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75937         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75938         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75939         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75940         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75941         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75942         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75943         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75944         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75945         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75946         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75948 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75950         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75951         scaling.
75952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75954 2012-03-15  Andreas Jaeger  <aj@suse.de>
75956         [BZ #13852]
75957         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75958         ieee754/flt-32 implementation for sin, cos and sincos.
75959         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75960         * sysdeps/i386/fpu/s_cosf.S: Likewise.
75961         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75962         * sysdeps/i386/fpu/s_sinf.S: Likewise.
75963         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75964         ieee754/flt-32 implementation for tan.
75966         * math/libm-test.inc (cos_test): Enable some large input tests for
75967         float as well
75968         (sin_test): Likewise.
75969         (sincos_test): Likewise.
75970         (tan_test): Add tests for large input.
75972         * sysdeps/i386/fpu/libm-test-ulps: Update.
75974 2012-03-15  Andreas Jaeger  <aj@suse.de>
75976         [BZ #13658]
75977         * math/libm-test.inc (cos_test): Add more test cases.
75978         (sin_test): Likewise.
75979         (sincos_test): Likewise.
75981 2012-03-15  Andreas Jaeger  <aj@suse.de>
75983         [BZ #13837]
75984         * math/libm-test.inc (cos_test): Add a test case for large input
75985         value.
75986         (sin_test): Likewise.
75987         (sincos_test): Likewise.
75989 2012-03-15  Andreas Jaeger  <aj@suse.de>
75990             Joseph Myers  <joseph@codesourcery.com>
75992         [BZ #13658]
75993         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75994         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75995         * sysdeps/i386/fpu/branred.c: Likewise.
75996         * sysdeps/i386/fpu/dosincos.c: Likewise.
75997         * sysdeps/i386/fpu/mpa.c: Likewise.
75998         * sysdeps/i386/fpu/s_cos.S: Likewise.
75999         * sysdeps/i386/fpu/s_sin.S: Likewise.
76000         * sysdeps/i386/fpu/s_sincos.S: Likewise.
76001         * sysdeps/i386/fpu/sincos32.c: Likewise.
76003         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
76004         Define.
76005         (libc_feupdateenv_53bit): Define.
76006         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
76007         Define.
76008         (libc_feupdateenv_53bit): Define.
76010         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
76011         53 bit (without extend i386 double precision).
76013         * math/libm-test.inc (sincos_test): Add tests for large input.
76014         (sin): Likewise.
76015         (cos): Likewise.
76017         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
76019 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
76021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76023 2012-03-15  David S. Miller  <davem@davemloft.net>
76025         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
76026         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
76027         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
76028         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
76029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
76030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
76031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
76032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
76033         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
76034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
76035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
76036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
76037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
76038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
76039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
76040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
76041         file.
76042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
76043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
76044         file.
76045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
76046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
76047         file.
76048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
76049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
76050         file.
76051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
76052         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
76053         fmin/fmax sysdep routines.
76054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76056 2012-03-14  David S. Miller  <davem@davemloft.net>
76058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
76059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
76061         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
76062         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
76063         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
76064         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
76065         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
76066         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
76067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
76068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
76069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
76070         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
76071         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
76072         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
76073         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
76074         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
76075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
76076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
76077         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
76078         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
76079         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
76080         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
76081         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
76082         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
76083         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
76084         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
76085         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
76086         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
76087         routines.
76088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
76089         file.
76090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
76091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
76092         file.
76093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
76094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
76095         file.
76096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
76097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
76098         file.
76099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
76100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
76101         file.
76102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
76103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
76104         file.
76105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
76106         file.
76107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
76108         file.
76109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
76110         file.
76111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
76112         New file.
76113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
76114         file.
76115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
76116         file.
76117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
76118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
76119         file.
76120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
76121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
76122         file.
76123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
76124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
76125         file.
76126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
76127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
76128         VIS3 routines.
76130         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
76131         New file.
76133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76135         * sysdeps/sparc/configure.in: New file.
76136         * sysdeps/sparc/configure: Generate.
76137         * configure.in (libc_cv_sparc_as_vis3): Substitute.
76138         * configure: Regenerate.
76139         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
76140         * config.make.in (have-as-vis3): New.
76141         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
76142         available use -Av9d instead of -Av9a.
76143         * sysdeps/sparc/sparc64/Makefile: Likewise.
76144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
76145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
76146         New file.
76147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
76148         file.
76149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
76150         New file.
76151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
76152         file.
76153         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
76154         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
76155         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
76156         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
76157         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
76159         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
76160         fzeros/fnegs to load 0x80000000 into a float register instead of
76161         using the stack.
76162         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
76164 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
76166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76167         bits/syscall.h.
76168         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
76169         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
76170         ($(inst_includedir)/bits/syscall.h): Remove rule.
76171         ($(objpfx)bits/syscall.d): Include instead of
76172         $(objpfx)syscall-list.d.
76173         (generated): Change syscall-list.h and syscall-list.d to
76174         bits/syscall.h and bits/syscall.d.
76176 2012-03-14  Roland McGrath  <roland@hack.frob.com>
76178         [BZ #13846]
76179         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
76181 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
76183         [BZ #13841]
76184         * math/s_csqrt.c: Include <float.h>.
76185         (__csqrt): Scale large or subnormal inputs.
76186         * math/s_csqrtf.c: Likewise.
76187         * math/s_csqrtl.c: Likewise.
76188         * math/libm-test.inc (csqrt_test): Add more tests.
76189         * sysdeps/i386/fpu/libm-test-ulps: Update.
76190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76192         [BZ #13840]
76193         * math/libm-test.inc (hypot_test): Add more tests.
76195 2012-03-13  David S. Miller  <davem@davemloft.net>
76197         [BZ #13840]
76198         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76199         double-precision for the calculation instead of scaling.
76201 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
76203         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76204         manipulate bits before adding and subtracting TWO52[sx].
76205         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76206         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76207         Likewise.
76208         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76210 2012-03-13  David S. Miller  <davem@davemloft.net>
76212         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76213         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76215         rtld-global-offsets.h
76216         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76218         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76219         large parameters.
76221         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76223         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76224         'err' in the ifdef scope in which it is actually used.
76226         * nss/nss_db/db-init.c: Include string.h
76228 2012-03-12  David S. Miller  <davem@davemloft.net>
76230         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76231         masking out of the most significant byte of random value used.
76232         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76233         Fix coding style in previous change.
76235         * sysdeps/unix/sysv/linux/kernel-features.h
76236         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76237         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76238         expression.
76239         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76240         later.
76242 2012-03-11  David S. Miller  <davem@davemloft.net>
76244         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76245         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76246         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76247         for 'resultvar' otherwise things get truncated on 64-bit.
76249         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76250         Fix masking out of the most significant byte of random value used.
76252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76254 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
76256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76258 2012-03-09  David S. Miller  <davem@davemloft.net>
76260         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76261         variables with appropriate CPP guards.
76262         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76263         from the frame pointer, not the stack pointer.  Correct layout
76264         comments.  Fix test on resulting framesize and the management of
76265         the outregs buffer for pltexit.  Preserve floating point return
76266         values across _dl_call_pltexit call.
76267         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76268         framesize and the management of the outregs buffer for pltexit.
76269         Preserve floating point return values across _dl_call_pltexit
76270         call.
76271         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76272         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76273         (la_sparc64_gnu_pltexit): New functions.
76274         (print_exit): Fix format string for return register value.
76276 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
76278         * sunrpc/Makefile (others): Add rpcgen.
76279         ($(objpfx)rpcgen): Remove special build rule and dependency on
76280         libc.
76281         * sunrpc/rpcgen.c: New file.
76283 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
76285         [BZ #13673]
76286         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76287         * stdio-common/bug-vfprintf-nargs.c: Likewise.
76288         * sysdeps/i386/crti.S: Likewise.
76289         * sysdeps/i386/crtn.S: Likewise.
76290         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76291         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76292         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76293         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76294         * sysdeps/sh/crti.S: Likewise.
76295         * sysdeps/sh/crtn.S: Likewise.
76296         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76298         [BZ #13673]
76299         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76300         with URL.
76301         * locale/programs/locfile-kw.gperf: Likewise.
76302         * locale/programs/charmap-kw.h: Regenerated.
76303         * locale/programs/locfile-kw.h: Likewise.
76305         [BZ #13673]
76306         * intl/plural.y: Replace FSF snail mail address with URL.
76307         * intl/plural.c: Regenerated.
76309 2012-03-09  Richard Henderson  <rth@twiddle.net>
76311         * include/math_private.h: Remove file.
76312         * math/math_private.h: Move file ...
76313         * sysdeps/generic/math_private.h: ... here.
76315         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76316         * sysdeps/powerpc/fpu/math_private.h: Likewise.
76317         * sysdeps/x86_64/fpu/math_private.h: Likewise.
76319         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76320         and <math_private.h>.
76321         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76322         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76323         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76324         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76325         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76326         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76327         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76328         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76329         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76330         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76331         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76332         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76333         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76334         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76335         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76336         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76337         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76338         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76339         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76340         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76341         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76342         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76343         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76344         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76345         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76346         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76347         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76348         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76349         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76350         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76351         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76352         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76353         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76354         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76355         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76356         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76357         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76358         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76359         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76360         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76361         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76362         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76363         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76364         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76365         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76366         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76367         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76368         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76369         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76370         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76371         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76372         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76373         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76374         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76375         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76376         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76377         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76378         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76379         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76380         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76381         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76382         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76383         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76384         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76385         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76386         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76387         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76388         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76389         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76390         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76391         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76392         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76393         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76394         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76395         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76396         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76397         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76398         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76399         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76400         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76401         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76402         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76403         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76404         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76405         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76406         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76407         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76408         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76409         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76410         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76411         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76412         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76413         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76414         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76415         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76416         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76417         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76418         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76419         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76420         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76421         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76422         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76423         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76424         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76425         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76426         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76427         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76428         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76429         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76430         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76431         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76432         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76433         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76434         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76435         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76436         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76437         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76438         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76439         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76440         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76441         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76442         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76443         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76444         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76445         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76446         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76447         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76448         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76449         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76450         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76451         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76452         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76453         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76454         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76455         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76456         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76457         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76458         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76459         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76460         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76461         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76462         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76463         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76464         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76465         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76466         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76467         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76468         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76469         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76470         * sysdeps/ieee754/k_standard.c: Likewise.
76471         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76472         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76473         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76474         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76475         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76476         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76477         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76478         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76479         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76480         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76481         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76482         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76483         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76484         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76485         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76486         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76487         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76488         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76489         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76490         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76491         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76492         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76493         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76494         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76495         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76496         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76497         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76498         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76499         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76500         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76501         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76502         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76503         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76504         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76505         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76506         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76507         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76508         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76509         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76510         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76511         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76512         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76513         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76514         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76515         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76516         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76517         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76519         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76520         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76521         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76522         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76523         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76524         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76525         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76526         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76527         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76528         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76529         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76530         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76531         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76532         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76533         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76534         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76535         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76536         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76537         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76538         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76539         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76540         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76541         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76542         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76543         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76544         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76545         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76546         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76547         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76548         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76549         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76550         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76551         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76552         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76553         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76554         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76555         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76556         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76557         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76558         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76559         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76561         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76562         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76563         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76564         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76565         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76566         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76567         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76568         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76569         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76570         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76572         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76573         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76574         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76575         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76576         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76577         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76578         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76579         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76580         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76582         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76583         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76584         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76585         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76586         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76587         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76588         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76589         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76590         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76591         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76592         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76593         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76594         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76595         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76596         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76597         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76598         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76599         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76600         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76601         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76602         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76603         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76604         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76605         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76606         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76607         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76608         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76609         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76610         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76611         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76612         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76613         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76614         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76615         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76616         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76617         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76618         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76619         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76620         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76621         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76622         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76623         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76624         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76625         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76626         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76627         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76628         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76629         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76630         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76631         * sysdeps/ieee754/s_lib_version.c: Likewise.
76632         * sysdeps/ieee754/s_matherr.c: Likewise.
76633         * sysdeps/ieee754/s_signgam.c: Likewise.
76634         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76635         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76636         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76637         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76638         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76639         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76640         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76641         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76642         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76643         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76644         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76645         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76646         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76647         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76648         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76649         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76650         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76651         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76652         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76654         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76656 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76658         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76659         * sunrpc/rpc_main.c: Likewise.
76660         * sunrpc/rpc_svcout.c: Likewise.
76662 2012-03-09  David S. Miller  <davem@davemloft.net>
76664         * include/math_private.h: New file.
76666 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76668         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76669         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76670         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76671         from <bits/socket_type.h>.
76672         (enum __socket_type): Don't define here.
76673         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76674         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76675         bits/socket_type.h.
76677         [BZ #13566]
76678         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76679         checking __USE_GNU.
76681         * Makerules ($(inst_includedir)/%.h): New rule.
76682         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76683         (install-others): Remove variable setting.
76684         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76686 2012-03-08  Richard Henderson  <rth@twiddle.net>
76688         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76689         from macro to inline function; merge with the
76690         !__LIBC_INTERNAL_MATH_INLINES version.
76691         (__ieee754_sqrtf): Likewise.
76693         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76694         to inline function.
76695         (__rintf, __floor, __floorf): Likewise.
76697         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76698         macro to inline function.
76699         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76701         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76702         not <math/math_private.h>.
76704 2012-03-08  David S. Miller  <davem@davemloft.net>
76706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76707         copyright year.
76708         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76710 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
76712         * resolv/gai_misc.c (handle_requests): Fix struct timespec
76713         normalization.
76714         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76715         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76717 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
76719         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
76720         be defined individually, they must be defined as a block.  Define
76721         S for printing a string instead of hidint the different by using a
76722         macro for adding the 'l'.
76723         * stdio-common/tst-fphex-wide.c: Adjust.
76725 2012-03-07  Marek Polacek  <polacek@redhat.com>
76727         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76729 2012-03-08  Marek Polacek  <polacek@redhat.com>
76731         [BZ #13806]
76732         * stdio-common/Makefile (tests): Add tst-fphex-wide.
76733         * stdio-common/tst-fphex.c: Define a few macros to make the
76734         test reusable.  Use them.
76735         * stdio-common/tst-fphex-wide.c: New file.
76737 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
76739         [BZ #6911]
76740         * manual/macros.texi (gnusystems): New macro.
76741         (nongnusystems): Likewise.
76742         (gnulinuxhurdsystems): Likewise.
76743         (gnuhurdsystems): Likewise..
76744         (gnulinuxsystems): Likewise.
76745         * manual/charset.texi: Use new macros or @theglibc{} to refer to
76746         variants of the GNU system, not "GNU system".
76747         * manual/conf.texi: Likewise.
76748         * manual/errno.texi: Likewise.  Update example of errno macro
76749         expansion.
76750         * manual/filesys.texi: Likewise.
76751         (getumask): Document as specific to GNU/Hurd.
76752         * manual/install.texi: Likewise.  Reword some references to
76753         GNU/Linux.
76754         * manual/intro.texi: Likewise.
76755         * manual/io.texi: Likewise.
76756         (File Name Portability): Detail which constraints are inapplicable
76757         to all GNU systems and which are only inapplicable to GNU/Hurd.
76758         * manual/job.texi: Likewise.
76759         * manual/llio.texi: Likewise.
76760         (O_NOCTTY): Document as present on GNU/Linux.
76761         * manual/maint.texi: Likewise.
76762         * manual/memory.texi: Likewise.
76763         * manual/pattern.texi: Likewise.
76764         * manual/pipe.texi: Likewise.
76765         * manual/process.texi: Likewise.
76766         * manual/resource.texi: Likewise.
76767         (RUSAGE_CHILDREN): Remove statement about specifying a particular
76768         child on GNU/Hurd.
76769         * manual/setjmp.texi: Likewise.
76770         * manual/signal.texi: Likewise.
76771         * manual/startup.texi: Likewise.
76772         * manual/stdio.texi: Likewise.
76773         * manual/terminal.texi: Likewise.
76774         (ONLCR): Document as POSIX.
76775         (OXTABS): Document availability on GNU/Linux as XTABS.
76776         (ONOEOT): Document availability separately from other bits.
76777         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76778         * manual/time.texi: Likewise.
76779         * manual/users.texi: Likewise.
76780         * INSTALL: Regenerated.
76781         * sysdeps/gnu/errlist.c: Regenerated.
76783         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76784         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76785         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
76786         puts.
76787         * configure: Regenerated.
76789 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
76791         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76792         default includes instead of AC_HEADER_CHECK.
76793         * sysdeps/i386/configure: Regenerated.
76795         [BZ #10716]
76796         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76797         * math/s_cacoshf.c (__cacoshf): Likewise.
76798         * math/s_cacoshl.c (__cacoshl): Likewise.
76799         * math/s_casinh.c (__casinh): Set signs of result from argument.
76800         * math/s_casinhf.c (__casinhf): Likewise.
76801         * math/s_casinhl.c (__casinhl): Likewise.
76802         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76803         (casinh_test): Add more tests.
76804         * sysdeps/i386/fpu/libm-test-ulps: Update.
76805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76807 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
76809         * po/zh_TW.po: Update from translation team.
76811         * login/Makefile (distribute): Remove variable.
76812         * catgets/Makefile: Likewise.
76813         * mach/Makefile: Likewise.
76814         * malloc/Makefile: Likewise.
76815         * misc/Makefile: Likewise.
76816         * iconv/Makefile: Likewise.
76817         * nscd/Makefile: Likewise.
76818         * hurd/Makefile: Likewise.
76819         * manual/Makefile: Likewise.
76820         * locale/Makefile: Likewise.
76821         * intl/Makefile: Likewise.
76822         * conform/Makefile: Likewise.
76823         * nss/Makefile: Likewise.
76824         * time/Makefile: Likewise.
76825         * soft-fp/Makefile: Likewise.
76826         * dirent/Makefile: Likewise.
76827         * gmon/Makefile: Likewise.
76828         * po/Makefile: Likewise.
76829         * rt/Makefile: Likewise.
76830         * socket/Makefile: Likewise.
76831         * math/Makefile: Likewise.
76832         * signal/Makefile: Likewise.
76833         * debug/Makefile: Likewise.
76834         * elf/Makefile: Likewise.
76835         * timezone/Makefile: Likewise.
76836         * stdlib/Makefile: Likewise.
76837         * iconvdata/Makefile: Likewise.
76838         * sunrpc/Makefile: Likewise.
76839         * io/Makefile: Likewise.
76840         * argp/Makefile: Likewise.
76841         * inet/Makefile: Likewise.
76842         * hesiod/Makefile: Likewise.
76843         * grp/Makefile: Likewise.
76844         * csu/Makefile: Likewise.
76845         * wctype/Makefile: Likewise.
76846         * crypt/Makefile: Likewise.
76847         * libio/Makefile: Likewise.
76848         * string/Makefile: Likewise.
76849         * nis/Makefile: Likewise.
76850         * resolv/Makefile: Likewise.
76851         * stdio-common/Makefile: Likewise.
76852         * wcsmbs/Makefile: Likewise.
76853         * dlfcn/Makefile: Likewise.
76854         * posix/Makefile: Likewise.
76856         [BZ #6959]
76857         * timezone/Makefile: Don't install timezone files, just the programs
76858         and scripts.
76860 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
76862         * nss/databases.def: Add missing gshadow entry.
76864         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
76866 2012-03-06  Marek Polacek  <polacek@redhat.com>
76868         [BZ #13726]
76869         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76870         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76871         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76872         * stdio-common/tst-long-dbl-fphex.c: New file.
76874 2012-03-06  David S. Miller  <davem@davemloft.net>
76876         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76877         (set_obp_int): New function.
76878         (get_obp_int): New function.
76879         (__get_clockfreq_via_dev_openprom): Likewise.
76880         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76881         Avoid unused variable warnings on 'val' and use builtin_expect.
76882         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76883         __builtin_expect.
76884         (INLINE_CLONE_SYSCALL): Likewise.
76886 2012-03-05  David S. Miller  <davem@davemloft.net>
76888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76890 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
76892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76894         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76895         only for |x| >= 40.
76896         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76898 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
76900         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76901         Replace gettimeofday with __vdso_gettimeofday.
76903         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76904         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76905         __vdso_clock_gettime and __vdso_getcpu.
76907         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76908         time with __vdso_time.
76910 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76912         * manual/lang.texi (size_t): Note types to which size_t may be
76913         equivalent with the GNU C Library, but do not describe when
76914         differences between them are significant.
76916 2012-03-05  Andreas Jaeger  <aj@suse.de>
76918         * sysdeps/i386/fpu/libm-test-ulps: Update.
76920 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76922         [BZ #3976]
76923         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76924         (__ieee754_pow): Save and restore rounding mode and use
76925         round-to-nearest for main computations.
76926         * math/libm-test.inc (pow_test_tonearest): New function.
76927         (pow_test_towardzero): Likewise.
76928         (pow_test_downward): Likewise.
76929         (pow_test_upward): Likewise.
76930         (main): Call the new functions.
76931         * sysdeps/i386/fpu/libm-test-ulps: Update.
76932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76934         [BZ #3976]
76935         * math/libm-test.inc (cosh_test_tonearest): New function.
76936         (cosh_test_towardzero): Likewise.
76937         (cosh_test_downward): Likewise.
76938         (cosh_test_upward): Likewise.
76939         (sinh_test_tonearest): Likewise.
76940         (sinh_test_towardzero): Likewise.
76941         (sinh_test_downward): Likewise.
76942         (sinh_test_upward): Likewise.
76943         (main): Call the new functions.
76944         * sysdeps/i386/fpu/libm-test-ulps: Update.
76945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76947 2012-03-05  Tom de Vries  <tom@codesourcery.com>
76949         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76950         default stack guard is set in last bytes.
76951         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76953 2012-03-05  Kees Cook  <keescook@chromium.org>
76955         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76957         [BZ #13656]
76958         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76959         possibly allocate from heap instead of stack.
76960         * stdio-common/bug-vfprintf-nargs.c: New file.
76961         * stdio-common/Makefile (tests): Add nargs overflow test.
76963 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
76965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76967 2012-03-03  Marek Polacek  <polacek@redhat.com>
76969         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76970         * math/math_private.h: Likewise.
76971         * stdlib/tst-strtod.c: Likewise.
76972         * sysdeps/i386/i486/bits/atomic.h: Likewise.
76973         * sysdeps/x86_64/bits/atomic.h: Likewise.
76975 2012-03-02  David S. Miller  <davem@davemloft.net>
76977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76981         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76982         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76983         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76984         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76986 2012-03-02  Roland McGrath  <roland@hack.frob.com>
76988         [BZ #13792]
76989         * manual/examples/README: New file, says the example source files
76990         can be used under GPL>=2.
76991         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76992         line containing just "*/".
76993         * manual/examples/add.c: Add copyright header (GPL>=2).
76994         * manual/examples/argp-ex1.c: Likewise.
76995         * manual/examples/argp-ex2.c: Likewise.
76996         * manual/examples/argp-ex3.c: Likewise.
76997         * manual/examples/argp-ex4.c: Likewise.
76998         * manual/examples/atexit.c: Likewise.
76999         * manual/examples/db.c: Likewise.
77000         * manual/examples/dir.c: Likewise.
77001         * manual/examples/dir2.c: Likewise.
77002         * manual/examples/execinfo.c: Likewise.
77003         * manual/examples/filecli.c: Likewise.
77004         * manual/examples/filesrv.c: Likewise.
77005         * manual/examples/fmtmsgexpl.c: Likewise.
77006         * manual/examples/genpass.c: Likewise.
77007         * manual/examples/inetcli.c: Likewise.
77008         * manual/examples/inetsrv.c: Likewise.
77009         * manual/examples/isockad.c: Likewise.
77010         * manual/examples/longopt.c: Likewise.
77011         * manual/examples/memopen.c: Likewise.
77012         * manual/examples/memstrm.c: Likewise.
77013         * manual/examples/mkfsock.c: Likewise.
77014         * manual/examples/mkisock.c: Likewise.
77015         * manual/examples/mygetpass.c: Likewise.
77016         * manual/examples/pipe.c: Likewise.
77017         * manual/examples/popen.c: Likewise.
77018         * manual/examples/rprintf.c: Likewise.
77019         * manual/examples/search.c: Likewise.
77020         * manual/examples/select.c: Likewise.
77021         * manual/examples/setjmp.c: Likewise.
77022         * manual/examples/sigh1.c: Likewise.
77023         * manual/examples/sigusr.c: Likewise.
77024         * manual/examples/stpcpy.c: Likewise.
77025         * manual/examples/strdupa.c: Likewise.
77026         * manual/examples/strftim.c: Likewise.
77027         * manual/examples/strncat.c: Likewise.
77028         * manual/examples/subopt.c: Likewise.
77029         * manual/examples/swapcontext.c: Likewise.
77030         * manual/examples/termios.c: Likewise.
77031         * manual/examples/testopt.c: Likewise.
77032         * manual/examples/testpass.c: Likewise.
77033         * manual/examples/timeval_subtract.c: Likewise.
77035         [BZ #13792]
77036         * manual/time.texi (Elapsed Time): Move timeval_subtract example
77037         function to ...
77038         * manual/timeval_subtract.c.texi: ... here, new file.
77040 2012-03-02  David S. Miller  <davem@davemloft.net>
77042         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77044 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
77046         [BZ #3976]
77047         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
77048         (__sin): Save and restore rounding mode and use round-to-nearest
77049         for all computations.
77050         (__cos): Save and restore rounding mode and use round-to-nearest
77051         for all computations.
77052         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
77053         <fenv.h>.
77054         (tan): Save and restore rounding mode and use round-to-nearest for
77055         all computations.
77056         * math/libm-test.inc (cos_test_tonearest): New function.
77057         (cos_test_towardzero): Likewise.
77058         (cos_test_downward): Likewise.
77059         (cos_test_upward): Likewise.
77060         (sin_test_tonearest): Likewise.
77061         (sin_test_towardzero): Likewise.
77062         (sin_test_downward): Likewise.
77063         (sin_test_upward): Likewise.
77064         (tan_test_tonearest): Likewise.
77065         (tan_test_towardzero): Likewise.
77066         (tan_test_downward): Likewise.
77067         (tan_test_upward): Likewise.
77068         (main): Call the new functions.
77069         * sysdeps/i386/fpu/libm-test-ulps: Update.
77070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77072         [BZ #10135]
77073         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
77074         small n, then large n, before computing and testing k+n.
77075         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
77076         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
77077         Likewise.
77078         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
77079         Likewise.
77080         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
77081         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
77082         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
77083         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
77084         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
77085         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
77086         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
77087         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
77088         * math/libm-test.inc (scalbn_test): Add more tests.
77089         (scalbln_test): Likewise.
77091         * manual/filesys.texi (mode_t): Describe constraints on size and
77092         signedness, not exact equivalence to a particular type.
77093         (ino_t): Likewise.
77094         (ino64_t): Likewise.
77095         (dev_t): Likewise.
77096         (nlink_t): Likewise.
77097         (blkcnt_t): Likewise.
77098         (blkcnt64_t): Likewise.
77099         * manual/llio.texi (off_t): Likewise.
77101         [BZ #3976]
77102         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
77103         (__ieee754_exp): Save and restore rounding mode and use
77104         round-to-nearest for all computations.
77105         * math/libm-test.inc (exp_test_tonearest): New function.
77106         (exp_test_towardzero): Likewise.
77107         (exp_test_downward): Likewise.
77108         (exp_test_upward): Likewise.
77109         (main): Call the new functions.
77110         * sysdeps/i386/fpu/libm-test-ulps: Update.
77111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77113 2012-03-01  Chris Demetriou  <cgd@google.com>
77115         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
77116         have predictable order.
77118 2012-03-01  David S. Miller  <davem@davemloft.net>
77120         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
77122         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
77123         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
77124         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
77125         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
77127         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
77128         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
77129         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
77130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
77131         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
77132         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
77133         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
77134         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
77135         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
77137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77139         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
77140         * sysdeps/sparc/fpu/libm-test-ulps: to here.
77141         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
77143         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
77144         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77145         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77146         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
77147         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
77148         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
77149         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
77150         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77151         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77152         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
77153         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
77154         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77156         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77157         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77159         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
77160         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
77161         * sysdeps/sparc/elf/configure: Regenerated.
77163 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
77165         * configure.in (AS, LD): Require binutils 2.20 or later.
77166         * configure: Regenerated.
77167         * manual/install.texi (Tools for Compilation): Give binutils 2.20
77168         as required minimum version.
77169         * INSTALL: Regenerated.
77171         [BZ #2541]
77172         [BZ #4108]
77173         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
77174         before squaring exponent.
77175         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
77176         bottom long double and 27 bits of top long double before squaring
77177         exponent.
77178         * math/libm-test.inc (erfc_test): Add more tests.
77179         * sysdeps/i386/fpu/libm-test-ulps: Update.
77180         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77183 2012-03-01  Kai Tietz  <ktietz@redhat.com>
77185         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77186         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77187         containing bit-fields.
77188         * soft-fp/extended.h (_FP_UNION_E): Likewise.
77189         * soft-fp/single.h (_FP_UNION_S): Likewise.
77190         * soft-fp/double.h (_FP_UNION_D): Likewise.
77192 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77194         [BZ #13786]
77195         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77196         not include ../strcmp.S.
77197         [USE_AS_STRNCASECMP_L]: Likewise.
77198         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77199         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77200         * sysdeps/i386/i686/multiarch/strncase_l-c.c
77201         (__strncasecmp_l_ia32): Define as alias to
77202         __strncasecmp_l_nonascii.
77204         [BZ #5794]
77205         * math/libm-test.inc (expm1_test): Add test for bug 5794.
77206         * sysdeps/i386/fpu/libm-test-ulps: Update.
77207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77209         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77212 2012-02-29  Jeff Law  <law@redhat.com>
77214         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77215         out of bounds read.
77217 2012-02-29  Marek Polacek  <polacek@redhat.com>
77219         [BZ #13706]
77220         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77221         * elf/Makefile: Add rules to run tst-unused-dep.out.
77223 2012-02-28  David S. Miller  <davem@davemloft.net>
77225         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77226         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77227         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77228         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77229         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77230         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77232 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77234         * math/libm-test.inc (llround_test): Move one test from
77235         lround_test.  Use TEST_f_L in moved test.
77236         (lround_test): Move misplaced test to llround_test.  Add testcase
77237         from bug 2561.
77239 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
77241         * sysdeps/x86_64/fpu/e_expf.S: New file.
77242         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77244 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
77246         [BZ #13637]
77247         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77248         of remain_len that may cause incomplete multi-byte character and
77249         false match.
77250         * posix/bug-regex33.c: New file.
77251         * posix/Makefile (tests): Add bug-regex33.
77253 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
77255         * manual/macros.texi: New file.
77256         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77257         * manual/libc.texinfo: Include macros.texi.
77258         * manual/creatute.texi: Likewise.
77259         * manual/install.texi: Likewise.
77260         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77261         @glibcadj{} in references to the GNU C Library.
77262         * manual/charset.texi: Likewise.
77263         * manual/conf.texi: Likewise.
77264         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
77265         when not using those macros.
77266         * manual/creature.texi: Likewise.
77267         * manual/crypt.texi: Likewise.
77268         * manual/errno.texi: Likewise.
77269         * manual/filesys.texi: Likewise.
77270         * manual/header.texi: Likewise.
77271         * manual/install.texi: Likewise.
77272         * manual/intro.texi: Likewise.
77273         * manual/io.texi: Likewise.
77274         * manual/job.texi: Likewise.
77275         * manual/lang.texi: Likewise.
77276         * manual/libc.texiinfo: Likewise.
77277         * manual/llio.texi: Likewise.
77278         * manual/locale.texi: Likewise.
77279         * manual/maint.texi: Likewise.
77280         * manual/math.texi: Likewise.
77281         * manual/memory.texi: Likewise.
77282         * manual/message.texi: Likewise.
77283         * manual/nss.texi: Likewise.
77284         * manual/pattern.texi: Likewise.
77285         * manual/process.texi: Likewise.
77286         * manual/resource.texi: Likewise.
77287         * manual/search.texi: Likewise.
77288         * manual/setjmp.texi: Likewise.
77289         * manual/signal.texi: Likewise.
77290         * manual/socket.texi: Likewise.
77291         * manual/startup.texi: Likewise.
77292         * manual/stdio.texi: Likewise.
77293         * manual/string.texi: Likewise.
77294         * manual/sysinfo.texi: Likewise.
77295         * manual/syslog.texi: Likewise.
77296         * manual/terminal.texi: Likewise.
77297         * manual/time.texi: Likewise.
77298         * manual/users.texi: Likewise.
77299         * INSTALL: Regenerated.
77300         * NOTES: Regenerated.
77301         * sysdeps/gnu/errlist.c: Regenerated.
77303 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
77305         * include/dirent.h: Include <dirstream.h> before
77306         <dirent/dirent.h>.
77308 2012-02-28  David S. Miller  <davem@davemloft.net>
77310         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77311         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77312         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77313         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77315 2012-02-27  David S. Miller  <davem@davemloft.net>
77317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77319         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77320         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77323         frame pointer instead of stack pointer relative arg slot.
77324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77325         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77326         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77328 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
77330         [BZ #3992]
77331         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77333 2012-02-27  David S. Miller  <davem@davemloft.net>
77335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77339         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77340         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77341         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77342         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77344 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77346         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77347         later.  Allow versions 5-9.
77348         * configure: Regenerated.
77349         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77350         required minimum version and 4.6 as recommended version.  Do not
77351         mention bugs in GCC 2.7 and 2.8.
77352         * INSTALL: Regenerated.
77354 2012-02-27  David S. Miller  <davem@davemloft.net>
77356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77360         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77361         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77362         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77363         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77365         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77366         manipulate bits before adding and subtracting TWO112[sx].
77367         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77369 2012-02-27  Roland McGrath  <roland@hack.frob.com>
77371         [BZ #13775]
77372         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77373         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77374         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77375         being in POSIX, because they are in 1003.1-2008.
77377         * rt/tst-aio.c: Include <fcntl.h>.
77378         * rt/tst-aio7.c: Likewise.
77379         * rt/tst-aio64.c: Likewise.
77381         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77383 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77385         * manual/install.texi (--with-headers): Describe headers as
77386         interface headers, not private headers.
77387         (Specific advice for GNU/Linux systems): Describe use of headers
77388         from "make headers_install", not private headers from older
77389         kernels.
77390         * INSTALL: Regenerated.
77391         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77392         Change to 2.6.19.
77393         * sysdeps/unix/sysv/linux/configure: Regenerated.
77395         * manual/llio.texi (fclean): Remove documentation.
77397         * manual/Makefile (libc-texi-generated): New variable.  Include
77398         version.texi.
77399         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77400         $(libc-texi-generated), not duplicated list of files.
77401         (version.texi, stamp-version): New rules.
77402         (realclean): Remove $(libc-texi-generated), not individual files
77403         from that list.  Do not remove dir-add.texinfo.
77404         * manual/libc.texinfo: Comment out uses of edition numbers and
77405         references to printed manual.  Remove last-updated dates.
77406         (EDITION): Comment out.
77407         (ISBN): Likewise.
77408         (VERSION, UPDATED): Remove.
77409         (version.texi): Include.
77411 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
77413         * sysdeps/posix/spawni.c: Include <signal.h>.
77414         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77415         * sysdeps/pthread/aio_fsync.c: Likewise.
77417 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
77419         * conform/Makefile (tests): Run only when not cross-compiling and
77420         when fast-check is not defined.
77422         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77423         * conform/data/limits.h-data: Fixes for POSIX2008.
77424         * conform/run-conformtest.sh: Run all tests.
77425         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77426         headers.
77427         * include/bits/dlfcn.h: Likewise.
77428         * include/langinfo.h: Likewise.
77429         * include/monetary.h: Likewise.
77430         * include/sys/poll.h: Likewise.
77432         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77433         for __USE_GNU.
77434         * posix/spawn.h: Define __need_sigset_t.
77435         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77436         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77437         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
77438         to get sigevent_t only.
77439         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77440         only for __USE_GNU.
77441         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77442         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77443         process_vm_writev only for __USE_GNU.
77444         * termios/termios.h: Declare tcgetsid also for POSIX2008.
77446         * conform/Makefile: For now ignore errors from run-conformtest.
77447         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
77448         POSIX to avoid namespace pollution.  Don't prepend headers.
77449         * conform/data/aio.h-data: Fixes for POSIX testing.
77450         * conform/data/fcntl.h-data: Likewise.
77451         * conform/data/glob.h-data: Likewise.
77452         * conform/data/grp.h-data: Likewise.
77453         * conform/data/pthread.h-data: Likewise.
77454         * conform/data/pwd.h-data: Likewise.
77455         * conform/data/signal.h-data: Likewise.
77456         * conform/data/spawn.h-data: Likewise.
77457         * conform/data/stdio.h-data: Likewise.
77458         * conform/data/stdlib.h-data: Likewise.
77459         * conform/data/stropts.h-data: Likewise.
77460         * conform/data/sys/mman.h-data: Likewise.
77461         * conform/data/sys/stat.h-data: Likewise.
77462         * conform/data/sys/types.h-data: Likewise.
77463         * conform/data/sys/wait.h-data: Likewise.
77464         * conform/data/time.h-data: Likewise.
77465         * conform/data/unistd.h-data: Likewise.
77466         * conform/data/utime.h-data: Likewise.
77468         * io/sys/stat.h: fchmod was always in POSIX.
77469         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77470         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77471         * rt/aio.h: Define __need_timespec before including <time.h>.
77472         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77473         struct.  Add forward declaration of pthread_attr_t and use it in
77474         sigevent.
77475         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77476         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77477         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77478         always remove CLK_TCK definition.
77480 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
77482         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77484 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
77486         * conform/run-conformtest.sh: New file.
77487         * conform/Makefile: Run run-conformtest for tests.
77488         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
77489         support.
77491         * conform/data/uchar.h-data: New file.
77492         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77493         * conform/data/arpa/inet.h-data: Likewise.
77494         * conform/data/assert.h-data: Likewise.
77495         * conform/data/complex.h-data: Likewise.
77496         * conform/data/cpio.h-data: Likewise.
77497         * conform/data/ctype.h-data: Likewise.
77498         * conform/data/dirent.h-data: Likewise.
77499         * conform/data/dlfcn.h-data: Likewise.
77500         * conform/data/errno.h-data: Likewise.
77501         * conform/data/fcntl.h-data: Likewise.
77502         * conform/data/float.h-data: Likewise.
77503         * conform/data/fmtmsg.h-data: Likewise.
77504         * conform/data/fnmatch.h-data: Likewise.
77505         * conform/data/ftw.h-data: Likewise.
77506         * conform/data/glob.h-data: Likewise.
77507         * conform/data/grp.h-data: Likewise.
77508         * conform/data/iconv.h-data: Likewise.
77509         * conform/data/inttypes.h-data: Likewise.
77510         * conform/data/langinfo.h-data: Likewise.
77511         * conform/data/libgen.h-data: Likewise.
77512         * conform/data/limits.h-data: Likewise.
77513         * conform/data/locale.h-data: Likewise.
77514         * conform/data/math.h-data: Likewise.
77515         * conform/data/monetary.h-data: Likewise.
77516         * conform/data/mqueue.h-data: Likewise.
77517         * conform/data/ndbm.h-data: Likewise.
77518         * conform/data/net/if.h-data: Likewise.
77519         * conform/data/netdb.h-data: Likewise.
77520         * conform/data/netinet/in.h-data: Likewise.
77521         * conform/data/nl_types.h-data: Likewise.
77522         * conform/data/poll.h-data: Likewise.
77523         * conform/data/pthread.h-data: Likewise.
77524         * conform/data/pwd.h-data: Likewise.
77525         * conform/data/regex.h-data: Likewise.
77526         * conform/data/sched.h-data: Likewise.
77527         * conform/data/search.h-data: Likewise.
77528         * conform/data/semaphore.h-data: Likewise.
77529         * conform/data/setjmp.h-data: Likewise.
77530         * conform/data/signal.h-data: Likewise.
77531         * conform/data/spawn.h-data: Likewise.
77532         * conform/data/stdarg.h-data: Likewise.
77533         * conform/data/stdio.h-data: Likewise.
77534         * conform/data/stdlib.h-data: Likewise.
77535         * conform/data/string.h-data: Likewise.
77536         * conform/data/strings.h-data: Likewise.
77537         * conform/data/stropts.h-data: Likewise.
77538         * conform/data/sys/ipc.h-data: Likewise.
77539         * conform/data/sys/mman.h-data: Likewise.
77540         * conform/data/sys/msg.h-data: Likewise.
77541         * conform/data/sys/resource.h-data: Likewise.
77542         * conform/data/sys/select.h-data: Likewise.
77543         * conform/data/sys/sem.h-data: Likewise.
77544         * conform/data/sys/shm.h-data: Likewise.
77545         * conform/data/sys/socket.h-data: Likewise.
77546         * conform/data/sys/stat.h-data: Likewise.
77547         * conform/data/sys/statvfs.h-data: Likewise.
77548         * conform/data/sys/time.h-data: Likewise.
77549         * conform/data/sys/timeb.h-data: Likewise.
77550         * conform/data/sys/times.h-data: Likewise.
77551         * conform/data/sys/types.h-data: Likewise.
77552         * conform/data/sys/uio.h-data: Likewise.
77553         * conform/data/sys/un.h-data: Likewise.
77554         * conform/data/sys/utsname.h-data: Likewise.
77555         * conform/data/sys/wait.h-data: Likewise.
77556         * conform/data/syslog.h-data: Likewise.
77557         * conform/data/tar.h-data: Likewise.
77558         * conform/data/termios.h-data: Likewise.
77559         * conform/data/utime.h-data: Likewise.
77560         * conform/data/utmpx.h-data: Likewise.
77561         * conform/data/varargs.h-data: Likewise.
77562         * conform/data/wchar.h-data: Likewise.
77563         * conform/data/wctype.h-data: Likewise.
77564         * conform/data/wordexp.h-data: Likewise.
77566         * include/stropts.h: New file.
77567         * include/uchar.h: New file.
77568         * include/aio.h: Changes to allow conformtest.pl to use the headers.
77569         * include/assert.h: Likewise.
77570         * include/ctype.h: Likewise.
77571         * include/dirent.h: Likewise.
77572         * include/dlfcn.h: Likewise.
77573         * include/fcntl.h: Likewise.
77574         * include/fnmatch.h: Likewise.
77575         * include/glob.h: Likewise.
77576         * include/grp.h: Likewise.
77577         * include/libio.h: Likewise.
77578         * include/locale.h: Likewise.
77579         * include/math.h: Likewise.
77580         * include/net/if.h: Likewise.
77581         * include/netdb.h: Likewise.
77582         * include/netinet/in.h: Likewise.
77583         * include/pthread.h: Likewise.
77584         * include/pwd.h: Likewise.
77585         * include/regex.h: Likewise.
77586         * include/sched.h: Likewise.
77587         * include/search.h: Likewise.
77588         * include/setjmp.h: Likewise.
77589         * include/signal.h: Likewise.
77590         * include/stdio.h: Likewise.
77591         * include/stdlib.h: Likewise.
77592         * include/string.h: Likewise.
77593         * include/sys/cdefs.h: Likewise.
77594         * include/sys/mman.h: Likewise.
77595         * include/sys/msg.h: Likewise.
77596         * include/sys/resource.h: Likewise.
77597         * include/sys/select.h: Likewise.
77598         * include/sys/socket.h: Likewise.
77599         * include/sys/stat.h: Likewise.
77600         * include/sys/statvfs.h: Likewise.
77601         * include/sys/time.h: Likewise.
77602         * include/sys/times.h: Likewise.
77603         * include/sys/uio.h: Likewise.
77604         * include/sys/utsname.h: Likewise.
77605         * include/sys/wait.h: Likewise.
77606         * include/termios.h: Likewise.
77607         * include/time.h: Likewise.
77608         * include/ulimit.h: Likewise.
77609         * include/unistd.h: Likewise.
77610         * include/utime.h: Likewise.
77611         * include/wchar.h: Likewise.
77612         * include/wctype.h: Likewise.
77613         * include/wordexp.h: Likewise.
77615         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77617         * time/time.h: TIME_UTC must be a macro.
77618         Make timespec_get available for ISO C11 only as well.
77620 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
77622         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77623         Reported by Peng Haitao <penght@cn.fujitsu.com>.
77625 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77627         * configure.in: Use -o not -a in test for unsupported multi-arch.
77629 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77631         * manual/texinfo.tex: Update to version 2012-01-19.16.
77633 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77635         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77637 2012-02-24  Roland McGrath  <roland@hack.frob.com>
77639         [BZ #13738]
77640         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77641         * manual/fdl-1.3.texi: New file.
77642         * manual/fdl-1.1.texi: File removed.
77644         [BZ #13738]
77645         * manual/libc.texinfo (FDL_VERSION): New @set.
77646         Use it for mention of FDL in cover text.
77647         (Documentation License): Use it in @include file name.
77649 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77650             Roland McGrath  <roland@hack.frob.com>
77652         [BZ #5461]
77653         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77654         (not LONG_LONG_MAX and LONG_LONG_MIN.
77655         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77656         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
77657         name.
77658         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77660 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77662         [BZ #2547]
77663         [BZ #11365]
77664         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77665         manipulate bits before adding and subtracting TWO23[sx].
77666         * math/libm-test.inc (nearbyint_test): Add more tests.
77668 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77670         [BZ #2548]
77671         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77672         bits before adding and subtracting TWO23[sx].
77673         * math/libm-test.inc (rint_test): Add more tests.
77674         (rint_test_tonearest): Likewise.
77675         (rint_test_towardzero): Likewise.
77676         (rint_test_downward): Likewise.
77677         (rint_test_upward: Likewise.
77679 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77681         [BZ #10110]
77682         * include/stdc-predef.h: New file.  Extracted from features.h.
77683         * include/features.h: Include stdc-predef.h.
77684         * Makefile (headers): Add stdc-predef.h.
77685         * CONFORMANCE (Compiler limitations): Update.
77687 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77689         * manual/libc.texinfo (VERSION, UPDATED): Revert.
77691 2012-02-21  David S. Miller  <davem@davemloft.net>
77693         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77694         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77696 2012-02-20  David S. Miller  <davem@davemloft.net>
77698         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77699         using a normal save/restore sequence, rather than allocating a
77700         dummy stack frame just to store a frame pointer and restore.
77701         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77703 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77705         * manual/install.texi: Fix stray word in line-wrapped comment.
77707 2012-02-20  David S. Miller  <davem@davemloft.net>
77709         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77710         both binutils and gcc support GOTDATA.
77712         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77713         "rd %pc" in the PIC register setup sequences.
77715         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77716         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77717         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77718         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77719         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77720         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77721         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77722         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77723         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77724         (SYSCALL_ERROR_HANDLER): Likewise.
77725         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77726         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77728         (SYSCALL_ERROR_HANDLER): Likewise.
77730         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77731         (HAVE_GCC_GOTDATA): New.
77732         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77733         relocation support in both binutils and gcc.
77734         * sysdeps/sparc/elf/configure: Regenerate.
77736         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77737         * sysdeps/sparc/sparc32/elf/configure: Delete.
77738         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77739         * sysdeps/sparc/sparc64/elf/configure: Delete.
77740         * sysdeps/sparc/elf/configure.in: New file.
77741         * sysdeps/sparc/elf/configure: Generate.
77743         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77744         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77745         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77746         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77747         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77749 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77751         * manual/install.texi: Do not mention specific glibc version
77752         numbers.
77753         * manual/libc.texinfo (VERSION, UPDATED): Update.
77754         (@copying): Use @copyright{} and range of years.
77756 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77758         [BZ #13695]
77759         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77760         [crti.S not in sysdirs] (generated): Do not append.
77761         [crti.S not in sysdirs] (omit-deps): Likewise.
77762         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77763         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77764         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77765         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77766         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77767         Likewise.
77768         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77769         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77770         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77771         * csu/defs.awk: Remove file.
77772         * sysdeps/generic/initfini.c: Likewise.
77773         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77774         variable.
77775         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77776         Likewise.
77778 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77780         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77781         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77782         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77783         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77784         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77785         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77786         <bits/epoll.h>.
77787         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77788         (__EPOLL_PACKED): Define to empty if not defined by
77789         <bits/epoll.h>.
77790         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77792         bits/epoll.h.
77794 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77796         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77797         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77798         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77799         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77800         <bits/timerfd.h>.
77801         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77802         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77803         bits/timerfd.h.
77805 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77807         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77808         in C locale.
77809         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77810         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77811         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77814 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
77816         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77817         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77819 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
77821         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77822         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77823         defined.
77824         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77825         Likewise.
77826         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77827         entry for 2.16.
77829 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
77831         * math/w_acos.c: Use non-signaling floating-point comparisons.
77832         * math/w_acosf.c: Likewise.
77833         * math/w_acosh.c: Likewise.
77834         * math/w_acoshf.c: Likewise.
77835         * math/w_acoshl.c: Likewise.
77836         * math/w_acosl.c: Likewise.
77837         * math/w_asin.c: Likewise.
77838         * math/w_asinf.c: Likewise.
77839         * math/w_asinl.c: Likewise.
77840         * math/w_atanh.c: Likewise.
77841         * math/w_atanhf.c: Likewise.
77842         * math/w_atanhl.c: Likewise.
77843         * math/w_exp2.c: Likewise.
77844         * math/w_exp2f.c: Likewise.
77845         * math/w_exp2l.c: Likewise.
77846         * math/w_j0.c: Likewise.
77847         * math/w_j0f.c: Likewise.
77848         * math/w_j0l.c: Likewise.
77849         * math/w_j1.c: Likewise.
77850         * math/w_j1f.c: Likewise.
77851         * math/w_j1l.c: Likewise.
77852         * math/w_jn.c: Likewise.
77853         * math/w_jnf.c: Likewise.
77854         * math/w_log.c: Likewise.
77855         * math/w_log10.c: Likewise.
77856         * math/w_log10f.c: Likewise.
77857         * math/w_log10l.c: Likewise.
77858         * math/w_log2.c: Likewise.
77859         * math/w_log2f.c: Likewise.
77860         * math/w_log2l.c: Likewise.
77861         * math/w_logf.c: Likewise.
77862         * math/w_logl.c: Likewise.
77863         * math/w_sqrt.c: Likewise.
77864         * math/w_sqrtf.c: Likewise.
77865         * math/w_sqrtl.c: Likewise.
77866         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77867         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77868         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77869         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77870         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77872 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77874         [BZ #9739]
77875         * manual/string.texi (strnlen): Use correct parameter name in
77876         equivalent expression.
77878 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77880         [BZ #11174]
77881         * manual/users.texi (seteuid): Consistently use neweuid for
77882         argument name.
77884 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77886         [BZ #13704]
77887         * manual/nss.texi (Services in the NSS configuration): Correct
77888         list of services in example configuration file.
77890 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
77892         [BZ #11322]
77893         * manual/arith.texi: Remove statements about negative zero
77894         behaving identically to zero.
77896 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77898         [BZ #5993]
77899         * manual/install.texi: Do not document upgrading from libc5.
77901 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77903         [BZ #4596]
77904         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77906 2012-02-18  David S. Miller  <davem@davemloft.net>
77908         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77909         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77910         %o7 across the call.
77911         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77912         instead.
77913         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77914         SETUP_PIC_REG_LEAF.
77915         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77916         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77917         * sysdeps/sparc/crtn.S: Likewise.
77919 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
77921         * aout/Makefile: Remove.
77923 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
77925         [BZ #13058]
77926         * manual/examples/argp-ex1.c (main): Format definition in GNU
77927         style.
77928         * manual/examples/argp-ex2.c (main): Likewise.
77929         * manual/examples/argp-ex3.c (main): Likewise.
77930         * manual/examples/argp-ex4.c (main): Likewise.
77931         * manual/examples/longopt.c (main): Use new-style prototype
77932         definition.
77933         * manual/examples/strncat.c (main): Specify return type and use
77934         (void) for arguments.
77935         * manual/examples/subopt.c (main): Use char **argv argument.
77937 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77939         [BZ #5077]
77940         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77941         rounding modes.
77943 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
77945         [BZ #6907]
77946         * manual/string.texi (strchr): Change when strchrnul is
77947         recommended.
77949 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
77951         [BZ #174]
77952         * manual/locale.texi (setlocale): Document LOCPATH.
77954 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77956         [BZ #10210]
77957         * manual/process.texi (execle): Move @dots{} before last argument.
77959 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
77961         [BZ #12047]
77962         * manual/charset.texi (Generic Charset Conversion): Fix typo
77963         (LC_TYPE -> LC_CTYPE).
77965 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
77967         [BZ #5805]
77968         * manual/arith.texi (scalbn): Use @var{} on parameter names.
77969         (scalbnf): Likewise.
77970         (scalbnl): Likewise.
77971         (scalbln): Likewise.
77972         (scalblnf): Likewise.
77973         (scalblnl): Likewise.
77974         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77975         (vwarnx): Likewise.
77976         (verr): Likewise.
77977         (verrx): Likewise.
77978         * manual/filesys.texi (telldir): Use braces around return type.
77979         * manual/llio.texi (mmap): Add space after comma.
77980         (mmap64): Likewise.
77981         * manual/math.texi (jn): Use @var{} on parameter names.
77982         (jnf): Likewise.
77983         (jnl): Likewise.
77984         (yn): Likewise.
77985         (ynf): Likewise.
77986         (ynl): Likewise.
77987         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77988         line.
77989         * manual/resource.texi (ulimit): Use @dots{} instead of literal
77990         "...".
77991         (sched_get_priority_min): Remove semicolon on @deftypefun line.
77992         (sched_get_priority_max): Likewise.
77993         * manual/signal.texi (sigvec): Add space after comma.
77994         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77995         names.
77996         (if_indextoname): Likewise.
77997         (if_freenameindex): Likewise.
77998         (sendto): Use ',' instead of '.' in prototype.
77999         * manual/startup.texi (syscall): Use @dots{} instead of literal
78000         "...".
78001         * manual/stdio.texi (__fpending): Separate initial words of
78002         paragraph from @deftypefun line.
78003         * manual/syslog.texi (syslog): Use @dots{} instead of literal
78004         "...".
78005         (vsyslog): Use @var{} on parameter names.
78006         * manual/terminal.texi (stty): Use @var{} on parameter names.
78007         * manual/users.texi (getutmp): Use @var{} on parameter names.
78008         (getutmpx): Likewise.
78010 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78012         [BZ #6884]
78013         * manual/stdio.texi (fopen): Fix typos in description of
78014         ",ccs=STRING".
78016 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
78018         [BZ #4026]
78019         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
78020         get clock_id definition.
78022 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
78024         [BZ #4822]
78025         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
78026         (madvise): Cast every argument to void on its own.
78028 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78030         [BZ #9902]
78031         * manual/startup.texi (Exit Status): Fix typo.
78033 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78035         [BZ #10140]
78036         * manual/examples/argp-ex1.c: Include <stdlib.h>.
78037         * manual/examples/argp-ex2.c: Likewise.
78038         * manual/examples/argp-ex3.c: Likewise.
78040 2012-02-16  Richard Henderson  <rth@redhat.com>
78042         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
78043         * sysdeps/s390/s390-32/initfini.c: Remove.
78044         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
78045         * sysdeps/s390/s390-64/initfini.c: Remove.
78047 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78049         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
78050         compiler output for sysdeps/generic/initfini.c.
78051         * sysdeps/sh/elf/initfini.c: Remove file.
78053 2012-02-16  David S. Miller  <davem@davemloft.net>
78055         [BZ #11494]
78056         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
78058         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
78059         * sysdeps/sparc/crti.S: New file.
78060         * sysdeps/sparc/crtn.S: New file.
78061         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
78062         * sysdeps/sparc/sparc64/Makefile: Likewise.
78064 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
78066         [BZ #3335]
78067         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
78069 2012-02-15  Roland McGrath  <roland@hack.frob.com>
78071         [BZ #4822]
78072         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
78074         * mach/devstream.c (cookie_io_functions_t): Macro removed.
78075         (write, read, close): Likewise.
78076         Patch by Aurelien Jarno <aurelien@aurel32.net>.
78078 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
78080         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
78081         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
78082         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
78083         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
78084         <bits/signalfd.h>.
78085         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
78086         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78087         bits/signalfd.h.
78089 2012-02-14  Marek Polacek  <polacek@redhat.com>
78091         * sysdeps/x86_64/crti.S: New file.
78092         * sysdeps/x86_64/crtn.S: New file.
78093         * sysdeps/x86_64/elf/initfini.c: Remove file.
78095 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
78097         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
78098         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
78099         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
78100         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
78101         <bits/inotify.h>.
78102         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
78103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78104         bits/inotify.h.
78106 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
78108         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
78109         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
78110         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
78111         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
78112         <bits/eventfd.h>.
78113         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
78114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78115         bits/eventfd.h.
78117 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
78119         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
78120         __feraiseexcept instead of feraiseexcept.
78122         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
78123         nanosleep invocations.
78124         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
78125         strings, and add error checking for a nanosleep invocations.
78127 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
78129         Replace FSF snail mail address with URLs, as per GNU coding standards.
78130         Most of the snail mail addresses were wrong anyway, and omitting
78131         them makes the source code easier to maintain.  Almost all of the
78132         changes are to license notices and to locale LC_IDENTIFICATION
78133         addresses, except for this one:
78134         * manual/libc.texinfo: In "Published by", give the FSF's URL,
78135         not its snail mail address.
78137 2012-02-09  Richard Henderson  <rth@twiddle.net>
78139         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
78140         of kernel-features.h.
78142         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
78144 2012-02-08  Marek Polacek  <polacek@redhat.com>
78146         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
78147         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
78148         * sysdeps/gnu/_G_config.h: Likewise.
78149         * sysdeps/generic/_G_config.h: Likewise.
78151 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
78153         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
78154         tests.
78155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78157         * sysdeps/powerpc/powerpc32/crti.S: New file.
78158         * sysdeps/powerpc/powerpc32/crtn.S: New file.
78159         * sysdeps/powerpc/powerpc64/crti.S: New file.
78160         * sysdeps/powerpc/powerpc64/crtn.S: New file.
78162         * Makeconfig (have-initfini): Don't set.
78163         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
78164         * configure.in (nopic_initfini): Don't substitute.
78165         * config.h.in (HAVE_INITFINI): Don't #undef.
78166         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
78167         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
78169 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
78171         Support crti.S and crtn.S provided directly by architectures.
78172         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
78173         [crti.S in sysdirs] (omit-deps): Likewise.
78174         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
78175         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
78176         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
78177         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
78178         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
78179         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
78180         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
78181         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
78182         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
78183         compiler output for sysdeps/generic/initfini.c.
78184         * sysdeps/i386/elf/Makefile: Remove file.
78185         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78187 2012-02-07  Marek Polacek  <polacek@redhat.com>
78189         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78190         * sysdeps/gnu/_G_config.h: Likewise.
78191         * sysdeps/mach/hurd/_G_config.h: Likewise.
78193 2012-02-07  Marek Polacek  <polacek@redhat.com>
78195         * math/Makefile (tests): Add tst-CMPLX2.
78196         * math/tst-CMPLX2.c: New file.
78198 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
78200         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78202         * math/libm-test.inc (jn_test): Add missing L suffix.
78204 2012-02-06  Marek Polacek  <polacek@redhat.com>
78206         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78207         * sysdeps/i386/fpu/e_powf.S: Likewise.
78208         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78209         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78210         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78211         * sysdeps/i386/fpu/e_pow.S: Likewise.
78212         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78213         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78214         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78215         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78216         * sysdeps/i386/fpu/e_log2.S: Likewise.
78217         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78218         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78219         * sysdeps/i386/fpu/e_powl.S: Likewise.
78220         * sysdeps/i386/fpu/s_log1p.S: Likewise.
78221         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78222         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78223         * sysdeps/i386/fpu/e_logl.S: Likewise.
78224         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78225         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78226         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78227         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78228         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78229         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78230         * sysdeps/i386/fpu/e_log.S: Likewise.
78231         * sysdeps/i386/fpu/s_cexp.S: Likewise.
78232         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78233         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78234         * sysdeps/i386/fpu/e_logf.S: Likewise.
78235         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78236         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78237         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78238         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78239         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78240         * sysdeps/i386/fpu/e_log10.S: Likewise.
78241         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78242         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78243         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78244         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78245         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78246         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78247         * sysdeps/i386/asm-syntax.h: Likewise.
78248         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78249         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78250         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78251         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78252         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78253         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78254         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78255         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78256         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78257         * sysdeps/powerpc/sysdep.h: Likewise.
78258         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78259         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78261 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78263         [BZ #411]
78264         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78266 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78268         * sysdeps/i386/sysdep.h: Include <features.h>.
78269         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78270         version.
78272 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
78274         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78275         Define.
78276         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78277         LOAD_PIC_REG_STR.
78279 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78281         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78282         (SETUP_PIC_REG): Use GET_PC_THUNK.
78283         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78284         macro.
78286 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78288         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78289         for non-PIC compilation.
78290         (SETUP_PIC_REG): Add .p2align directive.
78291         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78292         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78293         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78294         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78295         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78296         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78297         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78298         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78299         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78300         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78301         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78302         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78303         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78304         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78305         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78306         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78307         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78308         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78309         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78310         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78311         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78312         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78313         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78314         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78315         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78316         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78317         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78318         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78319         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78320         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78321         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78322         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78323         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78324         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78325         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78326         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78327         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78328         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78329         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78330         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78331         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78333 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78335         * math/tst-CMPLX.c: Include <stdio.h>.
78337 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
78339         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78340         float.
78341         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78342         * sysdeps/sparc/bits/mathdef.h: Likewise.
78344 2012-01-31  Marek Polacek  <polacek@redhat.com>
78346         * libio/libio.h: Don't define _PARAMS.
78347         * locale/programs/config.h: Don't define PARAMS.
78348         * stdlib/strtol_l.c: Likewise.
78349         (__strtol_l): Remove PARAMS from the prototype.
78351 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
78353         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
78354         names.  Just use the correct names.  Remove unnecessary wrapper
78355         functions.
78356         * malloc/arena.c: Likewise.
78357         * malloc/hooks.c: Likewise.
78359         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78360         ARENA_TEST says not to.  Simplify test for creation of a new arena.
78361         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78363 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
78365         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78366         into tail calls.
78367         (update_get_addr): New function.
78368         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78369         GET_ADDR_MODULE parameter.
78371 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78373         * crypt/cert.c: Remove __STDC__ conditionals.
78374         * crypt/crypt-entry.c: Likewise.
78375         * crypt/crypt_util.c: Likewise.
78376         * libio/filedoalloc.c: Likewise.
78377         * libio/fileops.c: Likewise.
78378         * libio/genops.c: Likewise.
78379         * libio/iofclose.c: Likewise.
78380         * libio/iofdopen.c: Likewise.
78381         * libio/iofopen.c: Likewise.
78382         * libio/iofopen64.c: Likewise.
78383         * libio/iogetdelim.c: Likewise.
78384         * libio/iopopen.c: Likewise.
78385         * libio/obprintf.c: Likewise.
78386         * libio/oldfileops.c: Likewise.
78387         * libio/oldiofclose.c: Likewise.
78388         * libio/oldiofdopen.c: Likewise.
78389         * libio/oldiofopen.c: Likewise.
78390         * libio/oldiopopen.c: Likewise.
78391         * libio/wfiledoalloc.c: Likewise.
78392         * libio/wgenops.c: Likewise.
78393         * locale/programs/xmalloc.c: Likewise.
78394         * misc/syslog.c: Likewise.
78395         * stdio-common/xbug.c: Likewise.
78396         * string/memchr.c: Likewise.
78397         * string/memcmp.c: Likewise.
78398         * string/memrchr.c: Likewise.
78399         * string/rawmemchr.c: Likewise.
78400         * sysdeps/posix/getcwd.c: Likewise.
78401         * time/strftime_l.c: Likewise.
78403 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78405         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78406         * config.make.in (config-cflags-sse2avx): Define.
78407         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78408         Fix typo.
78410 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
78412         * scripts/config.guess: Update from upstream config git repository.
78413         * scripts/config.sub: Likewise.
78415 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
78417         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78418         (EM_NUM): Update.
78419         (R_TILEPRO_*, R_TILEGX_*): New macros.
78421         * scripts/firstversions.awk: Fix bug in version range handling.
78423         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78425         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78427         * include/sys/epoll.h: New file.
78428         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78429         libc_hidden_def.
78431 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
78433         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78434         Avoid unnecessary __WORDSIZE == 64 test.
78435         (fmaxf): Use VEX format if possible.
78436         (fmax): Likewise.
78437         (fminf): Likewise.
78438         (fmin): Likewise.
78440         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78441         * math/math_private.h: Remove libc_fegetround* and
78442         libc_fesetround*.
78443         * sysdeps/i386/configure.in: Check for -msse2avx.
78444         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78445         also if SSE2AVX is defined.
78446         Remove libc_fegetround* and libc_fesetround*.
78447         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78448         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
78449         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78450         of HAS_YMM_USABLE.
78451         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78452         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78453         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78454         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78455         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78457         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78459 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78461         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78462         size is not set.
78463         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78465 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
78467         [BZ #13618]
78468         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78469         relocation.
78470         * Makeconfig (libm): Define.
78471         * elf/Makefile: Add rules to build and run tst-relsort1.
78472         * elf/tst-relsort1.c: New file.
78473         * elf/tst-relsort1mod1.c: New file.
78474         * elf/tst-relsort1mod2.c: New file.
78476 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
78478         * math/s_ldexp.c: Remove __STDC__ conditionals.
78479         * math/s_ldexpf.c: Likewise.
78480         * math/s_ldexpl.c: Likewise.
78481         * math/s_nextafter.c: Likewise.
78482         * math/s_nexttowardf.c: Likewise.
78483         * math/s_significand.c: Likewise.
78484         * math/s_significandf.c: Likewise.
78485         * math/s_significandl.c: Likewise.
78486         * math/w_jnl.c: Likewise.
78487         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78488         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78489         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78490         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78491         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78492         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78493         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78494         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78495         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78496         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78497         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78498         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78499         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78500         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78501         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78502         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78503         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78504         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78505         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78506         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78507         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78508         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78509         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78510         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78511         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78512         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78513         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78514         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78515         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78516         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78517         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78518         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78519         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78520         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78521         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78522         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78523         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78524         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78525         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78526         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78527         * sysdeps/ieee754/k_standard.c: Likewise.
78528         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78529         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78530         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78531         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78532         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78533         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78534         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78535         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78536         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78537         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78538         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78539         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78540         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78541         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78542         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78543         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78544         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78545         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78546         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78547         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78548         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78549         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78550         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78551         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78552         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78553         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78554         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78555         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78556         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78557         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78558         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78559         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78560         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78561         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78562         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78563         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78564         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78565         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78566         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78567         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78568         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78569         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78570         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78571         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78572         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78573         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78574         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78575         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78576         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78577         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78578         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78579         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78580         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78581         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78582         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78583         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78584         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78585         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78586         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78587         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78588         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78589         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78590         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78591         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78592         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78593         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78594         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78595         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78596         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78597         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78598         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78599         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78600         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78601         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78602         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78603         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78604         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78605         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78606         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78607         * sysdeps/ieee754/s_matherr.c: Likewise.
78608         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78609         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78610         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78611         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78613 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78615         * crypt/md5.h: Remove __STDC__ conditionals.
78616         * libio/libioP.h: Likewise.
78617         * locale/programs/config.h: Likewise.
78618         * sysdeps/generic/sysdep.h: Likewise.
78619         * sysdeps/i386/asm-syntax.h: Likewise.
78620         * sysdeps/s390/asm-syntax.h: Likewise.
78621         * sysdeps/unix/sysdep.h: Likewise.
78622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78625 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78627         * libio/libio.h: Remove __STDC__ conditionals.
78628         * malloc/obstack.h: Likewise.
78629         * math/complex.h: Likewise.
78630         * math/math.h: Likewise.
78631         * sysdeps/generic/_G_config.h: Likewise.
78632         * sysdeps/gnu/_G_config.h: Likewise.
78633         * sysdeps/mach/hurd/_G_config.h: Likewise.
78634         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78635         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78636         * sysdeps/sparc/bits/mathdef.h: Likewise.
78638 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
78640         [BZ #13583]
78641         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78642         Clean up HAS_* macros.
78643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78644         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78645         possible.
78646         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78647         HAS_AVX.
78648         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78649         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78650         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78651         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78652         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78654 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
78656         * elf/tst-unique3.cc (gets): Remove declaration.
78657         * elf/tst-unique3lib.cc (gets): Likewise.
78658         * elf/tst-unique3lib2.cc (gets): Likewise.
78659         * elf/tst-unique4.cc (gets): Likewise.
78661 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
78663         * include/stdio.h: Add C++ protection.  Add gets declarations and
78664         definitions.
78665         * debug/tst-chk1.c: Don't declare gets here.
78666         * stdio-common/tst-gets.c: Likewise.
78668 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78670         * posix/glob: Remove directory.
78672 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78674         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78676 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
78678         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78679         of the non-standard EPFNOSUPPORT.
78681 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78683         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78684         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78685         ANYWHERE set to 1 only on KERN_NO_SPACE error.
78687 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
78689         * wcsmbs/uchar.h: Test __STDC_VERSION__.
78691 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
78693         * nscd/aicache.c (addhstaiX): Do not cache negative results of
78694         transient errors.
78695         * nscd/grpcache.c (cache_addgr): Likewise.
78696         * nscd/hstcache.c (cache_addhst): Likewise.
78697         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78698         * nscd/pwdcache.c (cache_addpw): Likewise.
78699         * nscd/servicescache.c (cache_addserv): Likewise.
78701 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
78703         * malloc/malloc.c: Various cleanups.
78704         * malloc/hooks.c: Likewise.
78706         * stdlib/Makefile (tests): Add bug-fmtmsg1.
78707         * stdlib/bug-fmtmsg1.c: New file.
78709         * stdlib/fmtmsg.c (init): Add missing unlock.
78710         Patch by Peng Haitao <penght@cn.fujitsu.com>.
78712 2012-01-12  Marek Polacek  <polacek@redhat.com>
78714         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78715         and _GNU_SOURCE.
78717 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78719         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78720         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78721         macro to ensure uniqueness of label name.
78722         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78723         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78725 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
78727         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78729         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78730         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78731         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78732         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78734 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
78736         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78738         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78739         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78740         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78742         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78744         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78745         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78746         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78747         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78749         * math/bits/math-finite.h: Add ldexp support.
78751 2012-01-10  Marek Polacek  <polacek@redhat.com>
78753         * locale/programs/localedef.h (show_archive_content): Add noreturn
78754         attribute.
78756 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
78758         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78760 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78762         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78764         * io/Makefile (headers): Add bits/poll2.h.
78766 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
78768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78769         typo #include statement.
78771 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78773         * include/sys/cdefs.h: Define __attribute_alloc_size.
78774         * catgets/gencat.c: Add alloc_size attribute and apply consistently
78775         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78776         * elf/pldd.c: Likewise.
78777         * iconv/iconv_charmap.c: Likewise.
78778         * iconv/iconvconfig.c: Likewise.
78779         * iconv/strtab.c: Likewise.
78780         * locale/programs/locale.c: Likewise.
78781         * locale/programs/localedef.h: Likewise.
78782         * locale/programs/simple-hash.c: Likewise.
78783         * nscd/nscd.h: Likewise.
78784         * nss/makedb.c: Likewise.
78785         * sysdeps/generic/ldconfig.h: Likewise.
78786         * locale/programs/localedef.c: Remove xmalloc prototype.
78787         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78789 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78791         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78792         appropriate.
78794 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78796         * math/Makefile (tests): Add tst-CMPLX.
78797         * math/tst-CMPLX.c: New file.
78799         * math/complex.h (CMPLXL): Fix typo.
78801         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78802         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78803         GLIBC_2.16.
78804         * debug/tst-chk1.c: Add poll and ppoll tests.
78805         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78806         * include/sys/poll.h: Add hidden proto for ppoll.
78807         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78808         * sysdeps/mach/hurd/ppoll.c: Likewise.
78809         * io/ppoll.c: Likewise.
78810         * debug/poll_chk.c: New file.
78811         * debug/ppoll_chk.c: New file.
78812         * include/bits/poll2.h: New file.
78813         * io/bits/poll2.h: New file.
78815         [BZ #1350]
78816         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78818         * configure.in: static is always set to yes.  Remove.
78819         * config.make.in: Don't set build-static.
78820         * Makeconfig: Remove use of build-static.
78821         * dlfcn/Makefile: Likewise.
78822         * elf/Makefile: Likewise.
78823         * math/Makefile: Likewise.
78824         * misc/Makefile: Likewise.
78825         * nptl/Makefile: Likewise.
78826         * sysdeps/mach/hurd/Makefile: Likewise.
78828         * configure.in: PWD_P is not used anymore.
78829         * config.make.in: Remove PWD_P entry.
78831         * configure.in: Remove last remnants of RANLIB.
78832         No need to check for signed size_t anymore.
78833         Don't set libc_commonpagesize and libc_relro_required here for Alpha
78834         and IA-64.
78835         Remove __builtin_expect test because we require at least gcc 3.4.
78836         * aclocal.m4: Likewise.
78838         * wcsmbs/mbrtoc16.c: Implement using towc function.
78839         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78840         * wcsmbs/wcsmbsload.c: Likewise.
78841         * iconv/gconv_simple.c: Likewise.
78842         * iconv/gconv_int.h: Likewise.
78843         * iconv/gconv_builtin.h: Likewise.
78844         * iconv/iconv_prog.c: Remove CHAR16 handling.
78846         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78848         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78850         * configure.in: Remove --with-elf and --enable-bounded options.
78851         Dont set base_machine for ia64.  More non-ELF conditions removed.
78852         Remove testing and setting of leading underscore information.
78853         * config.make.in (build-bounded): Set to no.
78854         * config.h.in: Remove NO_UNDERSCORES entry.
78855         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
78856         them.
78857         * csu/start.c: Remove !NO_UNDERSCORE code.
78858         * locale/localeinfo.h: Likewise.
78859         * sysdeps/generic/machine-gmon.h: Likewise.
78860         * sysdeps/generic/sysdep.h: Likewise.
78861         * sysdeps/i386/sysdep.h: Likewise.
78862         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78863         * sysdeps/mach/sysdep.h: Likewise.
78864         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78865         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78866         * sysdeps/sh/sysdep.h: Likewise.
78867         * sysdeps/sparc/sparc32/alloca.S: Likewise.
78868         * sysdeps/unix/i386/sysdep.S: Likewise.
78869         * sysdeps/unix/sparc/start.c: Likewise.
78870         * sysdeps/unix/sparc/sysdep.S: Likewise.
78871         * sysdeps/unix/sparc/sysdep.h: Likewise.
78872         * sysdeps/unix/start.c: Likewise.
78873         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78874         * sysdeps/x86_64/sysdep.h: Likewise.
78876 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
78878         [BZ #13553]
78879         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78880         for non-gcc.
78881         * argp/argp-fmtstream.h: Use const instead __const.
78882         * argp/argp.h: Likewise.
78883         * assert/assert.h: Likewise.
78884         * bits/fenv.h: Likewise.
78885         * bits/sched.h: Likewise.
78886         * bits/sigset.h: Likewise.
78887         * bits/sigthread.h: Likewise.
78888         * catgets/nl_types.h: Likewise.
78889         * conform/data/pthread.h-data: Likewise.
78890         * crypt/crypt-private.h: Likewise.
78891         * crypt/crypt.h: Likewise.
78892         * crypt/crypt_util.c: Likewise.
78893         * ctype/ctype.h: Likewise.
78894         * debug/execinfo.h: Likewise.
78895         * debug/mbsnrtowcs_chk.c: Likewise.
78896         * debug/mbsrtowcs_chk.c: Likewise.
78897         * debug/wcsnrtombs_chk.c: Likewise.
78898         * debug/wcsrtombs_chk.c: Likewise.
78899         * debug/wcstombs_chk.c: Likewise.
78900         * dirent/dirent.h: Likewise.
78901         * dlfcn/dlfcn.h: Likewise.
78902         * elf/neededtest4.c: Likewise.
78903         * grp/grp.h: Likewise.
78904         * gshadow/gshadow.h: Likewise.
78905         * iconv/gconv.h: Likewise.
78906         * iconv/gconv_int.h: Likewise.
78907         * iconv/gconv_simple.c: Likewise.
78908         * iconv/iconv.h: Likewise.
78909         * iconv/loop.c: Likewise.
78910         * iconv/skeleton.c: Likewise.
78911         * include/aio.h: Likewise.
78912         * include/aliases.h: Likewise.
78913         * include/argz.h: Likewise.
78914         * include/arpa/inet.h: Likewise.
78915         * include/assert.h: Likewise.
78916         * include/dirent.h: Likewise.
78917         * include/dlfcn.h: Likewise.
78918         * include/execinfo.h: Likewise.
78919         * include/fcntl.h: Likewise.
78920         * include/fenv.h: Likewise.
78921         * include/glob.h: Likewise.
78922         * include/grp.h: Likewise.
78923         * include/libintl.h: Likewise.
78924         * include/mntent.h: Likewise.
78925         * include/netdb.h: Likewise.
78926         * include/pwd.h: Likewise.
78927         * include/rpc/netdb.h: Likewise.
78928         * include/sched.h: Likewise.
78929         * include/search.h: Likewise.
78930         * include/shadow.h: Likewise.
78931         * include/signal.h: Likewise.
78932         * include/stdio.h: Likewise.
78933         * include/stdlib.h: Likewise.
78934         * include/string.h: Likewise.
78935         * include/sys/socket.h: Likewise.
78936         * include/sys/stat.h: Likewise.
78937         * include/sys/statfs.h: Likewise.
78938         * include/sys/statvfs.h: Likewise.
78939         * include/sys/syslog.h: Likewise.
78940         * include/sys/time.h: Likewise.
78941         * include/sys/uio.h: Likewise.
78942         * include/time.h: Likewise.
78943         * include/unistd.h: Likewise.
78944         * include/utmp.h: Likewise.
78945         * include/wchar.h: Likewise.
78946         * include/wctype.h: Likewise.
78947         * inet/aliases.h: Likewise.
78948         * inet/arpa/inet.h: Likewise.
78949         * inet/netinet/ether.h: Likewise.
78950         * inet/netinet/in.h: Likewise.
78951         * intl/libintl.h: Likewise.
78952         * io/bits/fcntl2.h: Likewise.
78953         * io/fcntl.h: Likewise.
78954         * io/ftw.h: Likewise.
78955         * io/sys/poll.h: Likewise.
78956         * io/sys/stat.h: Likewise.
78957         * io/sys/statfs.h: Likewise.
78958         * io/sys/statvfs.h: Likewise.
78959         * io/utime.h: Likewise.
78960         * libio/bits/stdio.h: Likewise.
78961         * libio/bits/stdio2.h: Likewise.
78962         * libio/libio.h: Likewise.
78963         * libio/libioP.h: Likewise.
78964         * libio/stdio.h: Likewise.
78965         * locale/lc-ctype.c: Likewise.
78966         * locale/locale.h: Likewise.
78967         * login/utmp.h: Likewise.
78968         * malloc/arena.c: Likewise.
78969         * malloc/malloc.c: Likewise.
78970         * malloc/malloc.h: Likewise.
78971         * malloc/mcheck.c: Likewise.
78972         * malloc/mtrace.c: Likewise.
78973         * math/bits/mathcalls.h: Likewise.
78974         * math/fenv.h: Likewise.
78975         * math/math_private.h: Likewise.
78976         * misc/bits/error.h: Likewise.
78977         * misc/bits/syslog.h: Likewise.
78978         * misc/err.h: Likewise.
78979         * misc/error.h: Likewise.
78980         * misc/fstab.h: Likewise.
78981         * misc/mntent.h: Likewise.
78982         * misc/regexp.h: Likewise.
78983         * misc/search.h: Likewise.
78984         * misc/sgtty.h: Likewise.
78985         * misc/sys/mman.h: Likewise.
78986         * misc/sys/syslog.h: Likewise.
78987         * misc/sys/uio.h: Likewise.
78988         * misc/sys/xattr.h: Likewise.
78989         * misc/ttyent.h: Likewise.
78990         * nis/rpcsvc/ypclnt.h: Likewise.
78991         * nss/nss.h: Likewise.
78992         * posix/bits/unistd.h: Likewise.
78993         * posix/fnmatch.h: Likewise.
78994         * posix/glob.h: Likewise.
78995         * posix/sched.h: Likewise.
78996         * posix/spawn.h: Likewise.
78997         * posix/sys/wait.h: Likewise.
78998         * posix/unistd.h: Likewise.
78999         * posix/wordexp.h: Likewise.
79000         * pwd/pwd.h: Likewise.
79001         * resolv/netdb.h: Likewise.
79002         * resource/sys/resource.h: Likewise.
79003         * rt/aio.h: Likewise.
79004         * rt/bits/mqueue2.h: Likewise.
79005         * rt/mqueue.h: Likewise.
79006         * shadow/shadow.h: Likewise.
79007         * signal/signal.h: Likewise.
79008         * socket/send.c: Likewise.
79009         * socket/sendto.c: Likewise.
79010         * socket/sys/socket.h: Likewise.
79011         * stdio-common/printf.h: Likewise.
79012         * stdlib/bits/stdlib.h: Likewise.
79013         * stdlib/fmtmsg.h: Likewise.
79014         * stdlib/monetary.h: Likewise.
79015         * stdlib/stdlib.h: Likewise.
79016         * stdlib/ucontext.h: Likewise.
79017         * streams/stropts.h: Likewise.
79018         * string/argz.h: Likewise.
79019         * string/bits/string2.h: Likewise.
79020         * string/string.h: Likewise.
79021         * string/strings.h: Likewise.
79022         * sunrpc/rpc/auth.h: Likewise.
79023         * sunrpc/rpc/auth_des.h: Likewise.
79024         * sunrpc/rpc/clnt.h: Likewise.
79025         * sunrpc/rpc/netdb.h: Likewise.
79026         * sunrpc/rpc/pmap_clnt.h: Likewise.
79027         * sunrpc/rpc/xdr.h: Likewise.
79028         * sysdeps/generic/inttypes.h: Likewise.
79029         * sysdeps/generic/net/if.h: Likewise.
79030         * sysdeps/generic/sys/swap.h: Likewise.
79031         * sysdeps/gnu/net/if.h: Likewise.
79032         * sysdeps/gnu/utmpx.h: Likewise.
79033         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
79034         * sysdeps/i386/i486/bits/string.h: Likewise.
79035         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
79036         * sysdeps/s390/bits/string.h: Likewise.
79037         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
79038         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
79039         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
79040         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
79041         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
79042         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
79043         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
79044         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
79045         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
79046         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
79047         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
79048         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
79049         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
79050         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
79051         * sysdeps/unix/sysv/linux/readv.c: Likewise.
79052         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
79053         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
79054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79055         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
79056         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
79057         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79058         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
79059         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
79060         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
79061         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
79062         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
79063         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
79064         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79065         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
79066         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
79067         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
79068         * sysvipc/sys/ipc.h: Likewise.
79069         * sysvipc/sys/msg.h: Likewise.
79070         * sysvipc/sys/sem.h: Likewise.
79071         * sysvipc/sys/shm.h: Likewise.
79072         * termios/termios.h: Likewise.
79073         * time/sys/time.h: Likewise.
79074         * time/time.h: Likewise.
79075         * wcsmbs/bits/wchar2.h: Likewise.
79076         * wcsmbs/uchar.h: Likewise.
79077         * wcsmbs/wchar.h: Likewise.
79078         * wctype/wctype.h: Likewise.
79080         [BZ #13551]
79081         * Makeconfig: Remove all but ELF support including AIX support.
79082         * Makerules: Likewise.
79083         * config.h.in: Likewise.
79084         * config.make.in: Likewise.
79085         * configure: Likewise.
79086         * configure.in: Likewise.
79087         * csu/Makefile: Likewise.
79088         * csu/version.c: Likewise.
79089         * debug/Makefile: Likewise.
79090         * dlfcn/Makefile: Likewise.
79091         * elf/Makefile: Likewise.
79092         * extra-lib.mk: Likewise.
79093         * iconv/Makefile: Likewise.
79094         * include/libc-symbols.h: Likewise.
79095         * include/shlib-compat.h: Likewise.
79096         * resolv/Makefile: Likewise.
79097         * resolv/res_libc.c: Likewise.
79098         * rt/Makefile: Likewise.
79099         * sysdeps/i386/asm-syntax.h: Likewise.
79100         * sysdeps/i386/sysdep.h: Likewise.
79101         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79102         * sysdeps/mach/sysdep.h: Likewise.
79103         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
79104         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
79105         * sysdeps/s390/asm-syntax.h: Likewise.
79106         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79107         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79108         * sysdeps/sh/sysdep.h: Likewise.
79109         * sysdeps/unix/sparc/sysdep.h: Likewise.
79110         * sysdeps/wordsize-32/divdi3.c: Likewise.
79111         * sysdeps/x86_64/sysdep.h: Likewise.
79113         * argp/Versions: Remove _argp_unlock_xxx.
79115         [BZ #13559]
79116         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
79117         * abilist/libBrokenLocale.abilist: Likewise.
79118         * abilist/libanl.abilist: Likewise.
79119         * abilist/libc.abilist: Likewise.
79120         * abilist/libcrypt.abilist: Likewise.
79121         * abilist/libdl.abilist: Likewise.
79122         * abilist/libm.abilist: Likewise.
79123         * abilist/libnsl.abilist: Likewise.
79124         * abilist/libpthread.abilist: Likewise.
79125         * abilist/libresolv.abilist: Likewise.
79126         * abilist/librt.abilist: Likewise.
79127         * abilist/libthread_db.abilist: Likewise.
79128         * abilist/libutil.abilist: Likewise.
79129         * abilist/libnss_db.abilist: New file.
79131         * scripts/abilist.awk: Add support for indirect functions.
79133         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
79135         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
79137         * shlib-versions: Remove entries for ports architectures.
79139         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
79140         files in ports.
79141         * elf/stackguard-macros.h: Remove support for IA-64.
79142         * elf/tst-auditmod1.c: Likewise.
79143         * sysdeps/generic/ldsodefs.h: Likewise.
79145         * sysdeps/unix/sysv/linux/configure.in: Ports should define
79146         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
79147         configure files.
79149         [BZ #13552]
79150         * configure.in: Remove --enable-omitfp support.
79151         * FAQ.in: Adjust.
79152         * config.make.in: Likewise.
79153         * Makeconfig: Likewise.
79154         * manual/install.texi: Likewise.
79156         In case anyone cares, the IA-64 architecture could move to ports.
79157         * sysdeps/ia64/*: Removed.
79158         * sysdeps/unix/sysv/linux/ia64/*: Removed.
79159         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
79161         [BZ #13555]
79162         * configure.in: Remove entries for unsupported architectures.
79164         [BZ #13533]
79165         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
79166         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
79167         routines.
79168         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
79169         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
79170         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
79171         fall back to using wcrtomb.
79172         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
79173         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
79174         renaming.
79175         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
79176         * wcsmbs/tst-c16c32-1.c: New file.
79178         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
79179         local variable.
79181         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
79183         * elf/tst-unique3.cc: Add explicit declaration of gets.
79184         * elf/tst-unique3lib.cc: Likewise.
79185         * elf/tst-unique3lib2.cc: Likewise.
79186         * elf/tst-unique4.cc: Likewise.
79188         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79190 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
79192         [BZ #13566]
79193         * assert/assert.h (static_assert): Don't define for C++.
79194         * libio/stdio.h (gets): Do declare for C++ <= C++11.
79195         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79197 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
79199         * iconv/loop.c (single loop): Fix assertion in storing of
79200         remaining bytes.
79202         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79204 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
79206         * posix/getconf.c: Update copyright year.
79207         * nss/getent.c: Likewise.
79208         * nss/makedb.c: Likewise.
79209         * iconv/iconvconfig.c: Likewise.
79210         * iconv/iconv_prog.c: Likewise.
79211         * elf/ldconfig.c: Likewise.
79212         * elf/pldd.c: Likewise.
79213         * elf/sotruss.ksh: Likewise.
79214         * catgets/gencat.c: Likewise.
79215         * csu/version.c: Likewise.
79216         * elf/ldd.bash.in: Likewise.
79217         * elf/sprof.c (print_version): Likewise.
79218         * locale/programs/locale.c: Likewise.
79219         * locale/programs/localedef.c: Likewise.
79220         * login/programs/pt_chown.c: Likewise.
79221         * nscd/nscd.c (print_version): Likewise.
79222         * debug/xtrace.sh: Likewise.
79223         * malloc/memusage.sh: Likewise.
79224         * malloc/mtrace.pl: Likewise.
79225         * debug/catchsegv.sh: Likewise.
79227 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
79229         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79230         pure attribute.
79232 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
79234         [BZ #13533]
79235         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79236         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79237         transformations.
79238         * iconv/gconv_int.h: Likewise.
79239         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79240         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79241         from libc for GLIBC_2.16.
79242         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79243         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79244         * wcsmbs/uchar.h: Really define mbstate_t.
79245         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79246         * wcsmbs/c16rtomb.c: New file.
79247         * wcsmbs/mbrtoc16.c: New file.
79248         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79249         for C/POSIX locale.
79250         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79251         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79253         * wcsmbs/wchar.h: Add missing __restrict.
79255 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79257         [BZ #13532]
79258         * time/Makefile (routines): Add timespec_get.
79259         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79260         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
79261         timespec for ISO C11.
79262         * time/timespec_get.c: New file.
79263         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79264         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79266         [BZ #13531]
79267         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79268         * stdlib/stdlib.h: Declare aligned_alloc.
79269         * Versions.def: Add GLIBC_2.16 for libc.
79270         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79272         [BZ 13527]
79273         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79274         ISO C11.
79276         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79277         code.
79279         [BZ #13528]
79280         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79282         [BZ #13529]
79283         * assert/assert.h (static_assert): Define.
79285         * version.h: Update for 2.16 development version.
79287         [BZ #13526]
79288         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79289         _ISOC11_SOURCE.
79291         * version.h (RELEASE): Bump for 2.15 release.
79292         * include/features.h (__GLIBC_MINOR__): Bump to 15.
79294         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79295         Patch by Marek Polacek <mpolacek@redhat.com>.
79297         * bits/byteswap.h: Protect long long constants with __extension__.
79298         * sysdeps/i386/bits/byteswap.h: Likewise.
79299         * sysdeps/ia64/bits/byteswap.h: Likewise.
79300         * sysdeps/s390/bits/byteswap.h: Likewise.
79301         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79303 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79305         [BZ #13540]
79306         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79307         destination buffer.
79308         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79310 2011-12-23  Marek Polacek  <polacek@redhat.com>
79312         * elf/dl-addr.c (determine_info): Add inline keyword.
79313         * elf/tst-auditmod4b.c (check_avx): Likewise.
79314         * elf/tst-auditmod6b.c (check_avx): Likewise.
79315         * elf/tst-auditmod6c.c (check_avx): Likewise.
79316         * elf/tst-auditmod7b.c (check_avx): Likewise.
79318 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79320         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79321         !__SSE_MATH__.
79323 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79325         [BZ #13540]
79326         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79327         processing for last bytes.
79329 2011-08-06  Bruno Haible  <bruno@clisp.org>
79331         [BZ #13061]
79332         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79333         U+0385, not to U+1FEE.
79335         [BZ #13062]
79336         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79337         entry for U+00A5 U+0301.
79339 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79341         [BZ #13166]
79342         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79343         buffer for the output is too small.
79345         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79346         optimization.
79348         [BZ #13185]
79349         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79350         SSE flags if possible.
79352 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79354         [BZ #13540]
79355         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79356         processing for last bytes.
79358 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
79360         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79361         (syscall-list-default-options, syscall-list-default-condition)
79362         (syscall-list-includes): Define.
79363         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79364         list of ABIs and options and #if conditions for each ABI.  Do not
79365         handle common syscalls between ABIs specially.
79366         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79367         Remove.
79368         (syscall-list-variants, syscall-list-32bit-options)
79369         (syscall-list-32bit-condition, syscall-list-64bit-options)
79370         (syscall-list-64bit-condition): Define.
79371         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79372         (syscall-list-variants, syscall-list-32bit-options)
79373         (syscall-list-32bit-condition, syscall-list-64bit-options)
79374         (syscall-list-64bit-condition): Define.
79375         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79376         Remove.
79377         (syscall-list-variants, syscall-list-32bit-options)
79378         (syscall-list-32bit-condition, syscall-list-64bit-options)
79379         (syscall-list-64bit-condition): Define.
79380         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79381         Remove.
79382         (syscall-list-variants, syscall-list-32bit-options)
79383         (syscall-list-32bit-condition, syscall-list-64bit-options)
79384         (syscall-list-64bit-condition): Define.
79386 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79388         * locale/iso-639.def: Add brx entry.
79390         [BZ #13328]
79391         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79392         Proposed by Mariusz_Cukr <marcukr@op.pl>.
79394         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79395         __feraiseexcept_renamed.
79397 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79399         [BZ #13538]
79400         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79401         EPOLLET with unsigned values.
79402         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79403         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79405         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79406         to large cancellation.
79407         * math/s_cacoshf.c: Likewise.
79408         * math/s_cacoshl.c: Likewise.
79410 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
79412         [BZ #13305]
79413         [BZ #12786]
79414         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79415         * math/s_cacoshf.c: Likewise.
79416         * math/s_cacoshl.c: Likewise.
79418 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79420         [BZ #13439]
79421         * iconv/gconv.h: Define __GCONV_SWAP.
79422         * iconvdata/unicode.c: The swap bit must be stored in __flags.
79423         * iconvdata/utf-16.c: Likewise.
79424         * iconvdata/utf-32.c: Likewise.
79426 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
79428         [BZ #13524]
79429         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79430         numerator after shifting it by one limb.
79432 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
79434         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79435         under [__USE_EXTERN_INLINES].
79437 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79439         [BZ #13446]
79440         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79442 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79444         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79445         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79446         optimized code.
79447         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79448         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79449         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79450         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79451         for strncasecmp/strncasecmp_l compilation.
79452         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79453         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79455 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
79457         [BZ #13484]
79458         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79459         of __asm__.
79461 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79463         [BZ #13506]
79464         * time/tzfile.c (__tzfile_read): Check values from file header.
79466 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
79468         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79469         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79470         * powerpc/powerpc32/dl-start.S: Likewise.
79471         * powerpc/powerpc32/elf/start.S: Likewise.
79472         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79473         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79474         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79475         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79476         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79477         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79478         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79479         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79480         * powerpc/powerpc32/fpu/s_round.S: Likewise.
79481         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79482         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79483         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79484         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79485         * powerpc/powerpc32/memset.S: Likewise.
79486         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79487         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79488         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79489         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79490         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79491         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79492         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79493         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79494         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79495         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79496         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79497         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79498         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79500 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79502         * math/libm-test.inc: Added more nearbyint tests.
79503         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79504         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79505         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79506         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79508 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
79510         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79511         FD_CLOEXEC.
79513 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79515         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79516         Add wcscpy-ssse3 wcscpy-c.
79517         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79518         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79519         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79520         * sysdeps/x86_64/wcschr.S: New file.
79521         * sysdeps/x86_64/wcsrchr.S: New file.
79522         * string/test-strcmp.c: Remove checking of wcscmp function for
79523         wrong alignments.
79524         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79525         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79526         wcsrchr-sse2 wcsrchr-c.
79527         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79528         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79529         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79530         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79531         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79532         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79533         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79534         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79535         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79536         * wcsmbc/wcschr.c (WCSCHR): New macro.
79538 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79540         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79541         * wcsmbs/test-wcsrchr.c: New file.
79542         * string/test-strrchr.c: Add wcsrchr support.
79543         (WIDE): New macro.
79544         * wcsmbs/test-wcscpy.c: New file.
79545         * string/test-strcpy.c: Add wcscpy support.
79546         (WIDE): New macro.
79548 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
79550         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79551         the inner loop.
79553 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
79555         [BZ #13472]
79556         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79558 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
79560         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79561         Minor optimizations.
79563         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79564         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79565         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79567 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
79569         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79570         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79571         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79572         for gcc to avoid warnings.
79573         * inet/Makefile (tests): Add tst-checks.
79574         * inet/tst-checks.c: New file.
79576         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79577         warning.
79579         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79580         __wmemcmp_sse2.
79582         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79583         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79585         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79587 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
79589         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79590         problem.
79592         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79594 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
79596         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79597         conditional on GCC version.
79598         (__arch_compare_and_exchange_val_8_acq)
79599         (__arch_compare_and_exchange_val_16_acq)
79600         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79601         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79602         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79604 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
79606         * sysdeps/sh/backtrace.c: New file.
79608 2011-12-02  Andreas Schwab  <schwab@redhat.com>
79610         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
79611         parenthesis.
79613 2011-12-01  Andreas Schwab  <schwab@redhat.com>
79615         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79616         falling back to utime.
79618 2011-11-30  Andreas Schwab  <schwab@redhat.com>
79620         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79621         expectations for float.
79623 2011-11-29  Andreas Schwab  <schwab@redhat.com>
79625         * locale/weight.h (findidx): Add parameter len.
79626         * locale/weightwc.h (findidx): Likewise.
79627         * posix/fnmatch_loop.c (FCT): Adjust caller.
79628         * posix/regcomp.c (build_equiv_class): Likewise.
79629         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79630         * posix/regexec.c (check_node_accept_bytes): Likewise.
79631         * string/strcoll_l.c (STRCOLL): Likewise.
79632         * string/strxfrm_l.c (STRXFRM): Likewise.
79634 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
79636         * Makefile.in: Remove CVSOPT handling.
79637         * configure.in: Remove use of AC_REVISION.
79638         * iconvdata/Makefile (distribute): No need to filter out CVS.
79639         * scripts/list-sources.sh: Remove CVS, subversion and monotone
79640         handling.
79642 2011-11-16  Andreas Schwab  <schwab@redhat.com>
79644         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79645         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79646         [USE_AS_STRNCASECMP_L]: Likewise.
79647         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79648         NO_TLS_DIRECT_SEG_REFS.
79649         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79650         Fix argument offsets for non-PIC.
79651         [USE_AS_STRNCASECMP_L]: Likewise.
79652         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79653         NO_TLS_DIRECT_SEG_REFS.
79655 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79657         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79658         O_CLOEXEC.
79659         * locale/loadlocale.c (_nl_load_locale): Likewise.
79661 2011-11-15  Andreas Schwab  <schwab@redhat.com>
79663         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79664         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79665         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79666         (SYSCALL_GETTIME): Set errno on error.
79668         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79669         count references to noai6ai_cached.
79671 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79673         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79675         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79676         FD_CLOEXEC for /proc/self/maps.
79678         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79679         FD_CLOEXEC for /proc/meminfo.
79681         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79682         gai.conf.
79684         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
79685         FD_CLOEXEC for given file.
79687         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79689         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79690         FD_CLOEXEC for /etc/hosts.
79691         (_gethtent): Likewise.
79693         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79695         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79696         cancellation and set FD_CLOEXEC for /etc/netgroup.
79698         * nss/nss_files/files-key.c (search): Don't allow cancellation when
79699         reading /etc/publickey.
79701         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79702         allow cancellation when reading /etc/group.
79704         * nss/nss_files/files-alias.c (internal_setent): Don't allow
79705         cancellation.
79706         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
79708         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79709         when using data file.
79711         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79713         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79714         (write_nis_obj): Use "c" and "e" in fopen.
79716         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79718         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79720         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79722         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79724         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79725         locale.alias.
79727         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79729         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79731         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79733         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79734         file parsing and set FD_CLOEXEC.
79736 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79738         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79740 2011-11-14  Andreas Schwab  <schwab@redhat.com>
79742         * malloc/arena.c (arena_get2): Don't call reused_arena when
79743         _int_new_arena failed.
79745 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79747         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79748         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79749         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79750         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79751         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79752         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79753         to compile strcasecmp and strncasecmp.
79754         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79755         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79757         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79759 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
79761         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79762         locale-defines.sym to gen-as-const-headers.
79763         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79764         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79766         to compile strcasecmp and strncasecmp.
79767         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79768         strcasecmp_l and strncasecmp_l.
79769         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79770         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79771         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79772         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79773         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79774         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79775         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79776         * sysdeps/i386/i686/multiarch/strncase.S: New file.
79777         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79778         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79779         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79781 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
79783         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79784         result of SYSDEP_GETTIME_CPU to retval.
79785         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79786         parameter list to macro.  Remove trailing semicolon.  Adjust users.
79788         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79789         variable.
79791         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79792         mantissa words.
79793         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79795         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79796         from unused variable.
79798         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79799         DWARF definitions.
79800         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79801         for assembling.
79803         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79804         over namespaces.
79806         * sunrpc/rpc_prot.c (rejected): Fix case value.
79808         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79809         unsigned long long int to avoid warnings in shift.
79811         * posix/regex_internal.c (re_string_reconstruct): Actually use result
79812         of use of trans.
79813         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79814         variable tmp.
79816         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79817         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79818         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79820         * nis/nis_table.c (nis_list): Use variable of correct type for
79821         result of __follow_path call.
79823 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79825         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79826         of math functions ceil, trunc, floor, round, and sqrt, when
79827         avaliable on the platform.
79828         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79829         name clash.
79830         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79831         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79832         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79834 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
79836         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79837         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79839 2011-11-11  Roland McGrath  <roland@hack.frob.com>
79841         * include/unistd.h: Fix __readlink return type.
79842         Reported by Chris Metcalf <cmetcalf@tilera.com>.
79844 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
79846         * stdlib/ucontext.h: Undo last change for makecontext.
79848 2011-11-11  Andreas Schwab  <schwab@redhat.com>
79850         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79852         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79853         * setjmp/setjmp.h: Mark functions as non-leaf.
79854         * setjmp/bits/setjmp2.h: Likewise.
79855         * stdlib/ucontext.h: Likewise.
79857 2011-11-10  Andreas Schwab  <schwab@redhat.com>
79859         * malloc/arena.c (_int_new_arena): Don't increment narenas.
79860         (reused_arena): Don't check arena limit.
79861         (arena_get2): Atomically check arena limit.
79863 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
79865         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79866         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79868         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79869         instructions.
79871 2011-11-07  Andreas Schwab  <schwab@redhat.com>
79873         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79874         handler when locking.
79876         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79877         Fix size of allocated buffer.
79879 2011-11-04  Andreas Schwab  <schwab@redhat.com>
79881         [BZ #10103]
79882         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79883         declarations for long double functions.
79884         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79886         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79888 2011-11-03  Andreas Schwab  <schwab@redhat.com>
79890         * nscd/nscd.c (main): Don't start AVC thread until credentials are
79891         installed.
79893         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79894         is disabled.
79896 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79898         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79900 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
79902         * include/alloca.h (stackinfo_alloca_round): Define.
79903         (extend_alloca): Use it.
79904         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79905         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79906         here.
79908         * scripts/check-local-headers.sh: Ignore libaudit.h.
79910         * nscd/Makefile (extra-objs): Make recursively expanded.
79912 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
79914         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79915         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79917         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79918         * posix/tst-rfc3484-2.c: Likewise.
79919         * posix/tst-rfc3484-3.c: Likewise.
79921         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79922         process_vm_writev.
79923         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79924         process_vm_writev.
79925         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79926         process_vm_writev from libc using GLIBC_2.15 version.
79928         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79930 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
79932         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79933         stack usage.
79935 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
79937         [BZ #13367]
79938         * nss/getent.c (initgroups_keys): Show error message in case no group
79939         names are given.
79941         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79942         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79943         __bump_nl_timestamp.
79944         * nscd/connections (nscd_init): When host database is served open
79945         netlink socket and request notification about configuration changes.
79946         (main_loop_poll): Track netlink file descriptor and bump timestamp
79947         in case data becomes available.
79948         (main_loop_epoll): Likewise.
79949         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79950         (database_pers_head): Add extra_data fileds.
79951         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79952         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79953         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79954         Adjust caller.
79955         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79956         in6ai data, call __free_in6ai.
79957         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79958         Add -DHAVE_NETLINK.
79959         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
79960         interface information.  Reuse previous data if netlink timestamp
79961         is not changed.
79962         (__bump_nl_timestamp): New function.
79963         (__free_in6ai): New function.
79965 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
79967         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79968         close_not_cancel_no_status here.
79969         (__check_pf): Reorganize code a bit to not call close twice if OOM.
79971 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79973         [BZ #13276]
79974         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79975         return value.
79977         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79978         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79979         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79981 2011-07-03  Andreas Jaeger  <aj@suse.de>
79983         [BZ #10709]
79984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79985         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79986         * math/libm-test.inc (sin_test): Add test case.
79988 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79990         [BZ #13337]
79991         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79992         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79994         * elf/chroot_canon.c (chroot_canon): Cleanups.
79996         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79998         [BZ #13335]
79999         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
80000         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80002         * string/test-strchr.c: Make usable for strchrnul testing.
80003         * string/test-strchrnul.c: New file.
80004         * string/Makefile (strop-tests): Add strchrnul.
80006         * po/it.po: Update from translation team.
80007         * po/es.po: Likewise.
80009 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
80011         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
80012         the three constants needed as parameters.  Drop the others.
80013         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
80014         __m128i_strloadu_tolower.
80015         Create and initialize variable zero and use it in all the places
80016         where _mm_setzero_si128 was used.
80018         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
80019         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
80020         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
80021         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
80022         anymore.
80023         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
80024         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
80025         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
80026         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
80027         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
80028         __mpranred, __mptan.
80029         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
80030         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
80031         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
80032         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
80033         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
80034         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
80035         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
80036         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
80037         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
80039 2011-10-28  Andreas Schwab  <schwab@redhat.com>
80041         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
80042         redefine if SHARED.
80043         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
80045         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
80046         wide char related routines to wcsmbs subdir.
80048 2011-10-27  Andreas Schwab  <schwab@redhat.com>
80050         [BZ #13344]
80051         * misc/sys/cdefs.h (__THROWNL): Define.
80052         * posix/unistd.h: Use __THREADNL instead of __THREAD
80053         for memory synchronization functions.
80055 2011-10-26  Roland McGrath  <roland@hack.frob.com>
80057         [BZ #13349]
80058         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
80059         doesn't exist.
80060         * manual/stdio.texi (Obstack Streams): Node removed.
80062 2011-10-26  Andreas Schwab  <schwab@redhat.com>
80064         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
80065         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80066         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80068         * math/math_private.h (math_force_eval): Allow non-addressable
80069         arguments.
80070         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
80072 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80074         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
80075         file is not needed.
80077         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
80078         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
80079         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80080         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80081         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80082         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80083         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80084         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
80085         Add AVX variants.
80086         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
80087         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
80088         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
80089         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
80090         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
80091         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
80092         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
80093         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
80094         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
80095         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
80096         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
80097         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
80098         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
80099         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
80100         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
80101         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
80102         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
80103         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
80104         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
80106         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
80107         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
80109         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
80110         place.  Use VEX encoding when compiling for AVX.
80112 2011-10-25  Andreas Schwab  <schwab@redhat.com>
80114         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
80115         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
80117         * string/test-strchr.c (do_test): Don't generate NUL bytes.
80119 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80121         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
80122         useless if() expression.
80123         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80124         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80125         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80126         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80127         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80128         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80129         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80130         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80131         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80132         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80133         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80134         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80135         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80136         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80137         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80138         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80139         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80140         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80141         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80143         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
80145 2011-10-25  Andreas Schwab  <schwab@redhat.com>
80147         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
80148         condition.
80149         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80151 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80153         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
80154         .text section.  Avoid duplicate constants.
80155         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80156         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80157         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80158         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80159         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80160         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80161         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80162         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80163         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80164         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
80165         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
80166         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
80167         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
80168         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
80169         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
80170         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
80171         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80172         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
80173         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80174         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80175         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80176         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80177         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80178         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
80179         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
80180         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
80181         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
80182         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
80183         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
80184         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80185         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80186         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80187         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80188         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80189         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80190         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80191         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80192         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80193         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80194         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80195         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80196         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80197         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80198         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80199         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80201 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
80203         * sysdeps/x86_64/dla.h: Move to ...
80204         * sysdeps/x86_64/fpu/dla.h: ...here.
80205         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80206         situations.  Use __builtin_fma only for gcc 4.6 and up.
80208         * config.make.in: Add have-mfma4 entry.
80209         * configure.in: Substitute libc_cv_cc_fma4.
80210         * math/Makefile (dbl-only-routines): Add sincostab.
80211         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80212         Use __sincostab not sincos.
80213         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80214         name is a macro.
80215         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80217         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80218         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
80219         using __copysign.
80220         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
80221         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
80222         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80223         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80224         and __inv.
80225         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80226         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80227         __copysign.
80228         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
80229         define aliases when function name is a macro.
80230         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80231         sysdeps/ieee754/dbl-64/sincos.tbl.
80232         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80233         fma4-enabled routines.
80234         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80235         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80236         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80237         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80238         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80239         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80240         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80241         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80242         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80243         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80244         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80245         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80246         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80247         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80248         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80249         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80250         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80251         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80252         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80253         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80254         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80255         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80256         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80257         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80258         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80259         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80260         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80261         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80262         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80263         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80265         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80266         rename.
80267         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80268         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80269         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80270         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80271         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80272         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80273         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80274         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80276 2011-10-24  Andreas Schwab  <schwab@redhat.com>
80278         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80280 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80282         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80284         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80285         prediction.
80286         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80288         * string/strnlen.c: Don't define STRNLEN, reverse logic.
80289         Remove unused variable magic_bits.
80290         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80292         * string/strnlen.c: Define and use STRNLEN macro.
80293         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80294         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80295         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80296         * wcsmbs/wcslen.c: Define and use WCSLEN.
80297         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80298         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80299         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80300         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80301         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80302         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80303         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80305 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80308         strnlen-sse2-no-bsf.
80309         Rename strlen-no-bsf to strlen-sse2-no-bsf.
80310         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80311         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80312         Add strnlen support.
80313         (USE_AS_STRNLEN): New macro.
80314         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80315         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80316         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80317         * sysdeps/x86_64/wcslen.S: New file.
80319 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
80321         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80322         XMM-moves are used for copying on small sizes.
80324 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80326         * wcsmbs/Makefile (strop-tests): Add wcschr.
80327         * wcsmbs/test-wcschr.c: New file.
80328         * string/test-strchr.c: Update.
80329         Add wcschr support.
80330         (WIDE): New macro.
80332 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80334         * wcsmbs/Makefile (strop-tests): Add wcslen.
80335         * wcsmbs/test-wcslen.c: New file.
80336         * string/test-strlen.c: Update.
80337         Add wcslen support.
80338         (WIDE): New macro.
80340 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80342         * po/it.po: Update from translation team.
80344 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80346         * sysdeps/x86_64/wcscmp.S: Update.
80347         Fix wrong comparison semantics.
80348         wcscmp shall use signed comparison not unsigned.
80349         Don't use substraction to avoid overflow bug.
80350         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80351         * wcsmbc/wcscmp.c: Likewise.
80352         * string/test-strcmp.c: Likewise.
80353         Add new tests to check cases with negative values.
80355 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80357         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80358         * sysdeps/x86_64/dla.h: ...here.  New file.
80359         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80360         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80361         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80362         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80363         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80364         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80365         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80366         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80367         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80369 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
80371         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80372         __ynl_finite aliases.
80374 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80378         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80379         define DLA_FMA.
80380         [DLA_FMA] (EMULV): Use DLA_FMA.
80381         [DLA_FMA] (MUL12): Use EMULV.
80382         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80383         that are not needed.
80384         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80387         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80388         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80389         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80390         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80392 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
80394         * math/s_nan.c: Undef __nan.
80395         * math/s_nanf.c: Undef __nanf.
80396         * math/s_nanl.c: Undef __nanl.
80397         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80398         "math_private.h".
80400 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80402         * math/s_catan.c: Add branch predictions.
80403         * math/s_catanf.c: Likewise.
80404         * math/s_catanh.c: Likewise.
80405         * math/s_catanhf.c: Likewise.
80406         * math/s_catanhl.c: Likewise.
80407         * math/s_catanl.c: Likewise.
80408         * math/s_cexp.c: Likewise.
80409         * math/s_cexpf.c: Likewise.
80410         * math/s_cexpl.c: Likewise.
80411         * math/s_clog.c: Likewise.
80412         * math/s_clog10.c: Likewise.
80413         * math/s_clog10f.c: Likewise.
80414         * math/s_clog10l.c: Likewise.
80415         * math/s_clogf.c: Likewise.
80416         * math/s_clogl.c: Likewise.
80417         * math/s_csqrt.c: Likewise.
80418         * math/s_csqrtf.c: Likewise.
80419         * math/s_csqrtl.c: Likewise.
80420         * math/s_ctanf.c: Likewise.
80421         * math/s_ctanh.c: Likewise.
80422         * math/s_ctanhf.c: Likewise.
80423         * math/s_ctanhl.c: Likewise.
80424         * math/s_ctanl.c: Likewise.
80426         * math/math_private.h: Define __nan, __nanf, __nanl.
80427         * math/s_cacosh.c: Include <math_private.h>.
80428         * math/s_cacoshl.c: Likewise.
80429         * math/s_casinh.c: Likewise.
80430         * math/s_casinhf.c: Likewise.
80431         * math/s_casinhl.c: Likewise.
80432         * math/s_ccos.c: Rely entire on ccosh.
80433         * math/s_ccosf.c: Rely entire on ccoshf.
80434         * math/s_ccosl.c: Rely entirely on ccoshl.
80435         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
80436         Remove tests for FE_INVALID.
80437         * math/s_ccoshf.c: Likewise.
80438         * math/s_ccoshl.c: Likewise.
80439         * math/s_csin.c: Likewise.
80440         * math/s_csinf.c: Likewise.
80441         * math/s_csinh.c Likewise.
80442         * math/s_csinhf.c: Likewise.
80443         * math/s_csinhl.c: Likewise.
80444         * math/s_csinl.c: Likewise.
80445         * math/s_ctan.c: Likewise.
80446         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80447         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80448         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80450 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
80452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80453         compilation problems.
80455         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80456         __builtin_expect.
80458 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
80460         * sysdeps/i386/configure.in: Test for -mfma4 option.
80461         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80462         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80463         COMMON_CPUID_INDEX_80000001.
80464         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80465         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80466         use it if FMA3 is not supported.
80467         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80469         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80470         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80472 2011-10-20  Andreas Schwab  <schwab@redhat.com>
80474         [BZ #12892]
80475         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80476         it would create a cycle with a link time dependency.
80478 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
80480         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80481         instruction.
80482         * string/Makefile (strop-tests): Add rawmemchr.
80483         * string/test-rawmemchr.c: New file.
80485         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80486         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
80487         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
80488         when compiling str{,n}casecmp and when AVX is available.  Hook up
80489         new optimized code in initializers.
80491 2011-10-19  Andreas Schwab  <schwab@redhat.com>
80493         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80494         __feraiseexcept instead of feraiseexcept.
80496 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
80498         * math/math_private.h: Define defaults for libc_fetestexcept and
80499         libc_feupdateenv.
80500         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80501         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80502         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80503         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80504         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80505         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80506         libc_fetestexcept and libc_feupdateenv.
80508         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80509         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80510         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80511         * sysdeps/x86_64/fpu/math_private.h: Define special version of
80512         libc_feholdexcept_setround.
80514         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80515         Add s_nearbyint-c and s_nearbyintf-c.
80516         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80517         nearbyintf inlines.
80518         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80519         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80520         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80521         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80523         * math/math_private.h: Define defaults for libc_fegetround,
80524         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80525         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80526         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80527         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80528         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80529         standard functions.
80530         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80531         Remove comments and hacks for old compiler versions.
80532         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80533         libc_fegetround, libc_fesetround, libc_feholdexcept, and
80534         libc_feholdexceptl.
80536 2011-10-18  Andreas Schwab  <schwab@redhat.com>
80538         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80539         (__feraiseexcept_renamed): Add __NTH.
80540         (feraiseexcept): Add __NTH.  Rename local variables to fix
80541         namespace violations.
80543 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
80545         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80547         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80549         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80550         recently added interfaces.
80551         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80553         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80554         about macro parameter expansion.
80556         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80557         __NO_MATH_INLINES is defined.  Cleanups.
80559         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80560         and __floorf is target has SSE4.1.
80561         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80562         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80563         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80564         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80566         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80567         name.
80568         (floorf): Likewise.
80570         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80572 2011-10-17  Andreas Schwab  <schwab@redhat.com>
80574         * misc/sys/cdefs.h: Fix last change.
80576         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80577         database lookup.
80579 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
80581         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80583         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80584         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80585         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80586         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80587         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80588         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80589         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80590         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80591         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80592         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80593         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80594         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80595         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80596         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80597         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80598         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80599         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80600         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80601         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80602         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80603         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80604         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80606         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80607         ceil, ceilf, floor, floorf.
80609         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80610         Perform IRELATIVE relocations last.
80612         * elf/do-rel.h: Add another parameter nrelative, replacing the
80613         local variable with the same name.  Change name of the function
80614         to end in Rel or Rela (uppercase).
80615         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80616         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
80617         elf_dynamic_do_##reloc function.
80619 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80621         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80622         is sufficient, at least on modern CPUs.
80624         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80626         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80627         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80629         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80630         __expl_finite.
80631         * math/bits/math-finite.h: Add entries for exp.
80632         * math/e_expl.c: Add __*_finite alias.
80633         * sysdeps/i386/fpu/e_exp.S: Likewise.
80634         * sysdeps/i386/fpu/e_expf.S: Likewise.
80635         * sysdeps/i386/fpu/e_expl.c: Likewise.
80636         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80637         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80638         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80639         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80640         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80641         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80642         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80644         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80645         is sufficient, at least on modern CPUs.
80647         * ctype/ctype-info.c (__ctype_init): Define.
80648         * include/ctype.h (__ctype_init): Declare.
80649         (__ctype_b_loc): The variable is always initialized.
80650         (__ctype_toupper_loc): Likewise.
80651         (__ctype_tolower_loc): Likewise.
80652         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80653         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80655 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
80657         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80659         * configure.in: Also look in $cxxmachine/include for C++ system
80660         headers.
80662 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80664         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80665         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80666         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80667         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
80668         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80669         (USE_AS_WMEMCMP): New macro.
80670         Fixing indents.
80671         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80672         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80673         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80674         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80675         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80676         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80677         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80678         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80679         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80680         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80681         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80682         (USE_AS_WMEMCMP): New macro.
80683         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80684         * sysdeps/string/test-memcmp.c: Update.
80685         Fix simple_wmemcmp.
80686         Add new tests.
80687         * wcsmbs/wmemcmp.c: Update.
80688         (WMEMCMP): New macro.
80689         Fix overflow bug.
80691 2011-10-12  Andreas Jaeger  <aj@suse.de>
80693         [BZ #13268]
80694         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80696 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80698         * libio/iofwide.c (do_length): Avoid warning.
80700         * ctype/ctype.h (__isctype_f): Add missing __THROW.
80702 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
80704         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80706         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80707         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80708         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80709         * sysdeps/i386/i686/fpu/e_log.S: New file.
80710         * sysdeps/i386/i686/fpu/e_logf.S: New file.
80711         * sysdeps/i386/i686/fpu/e_logl.S: New file.
80713         * ctype/ctype.h: Add support for inlined isXXX functions when
80714         compiling C++ code.
80716 2011-10-14  Andreas Schwab  <schwab@redhat.com>
80718         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80720         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80722 2011-10-13  Roland McGrath  <roland@hack.frob.com>
80724         [BZ #13291]
80725         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80727 2011-10-13  Andreas Schwab  <schwab@redhat.com>
80729         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80730         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80731         feraiseexcept.
80733         * sysdeps/x86_64/memrchr.S: Check for zero size.
80735         * string/stratcliff.c: Add memrchr tests.
80737 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80739         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80740         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80741         rawmemchr-sse2 rawmemchr-sse2-bsf.
80742         * sysdeps/i386/i686/multiarch/memchr.S: New file.
80743         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80744         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80745         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80746         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80747         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80748         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80749         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80750         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80751         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80752         * string/memrchr.c (MEMRCHR): New macro.
80754 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
80756         Add integration with gcc's -ffinite-math-only and optimize wrapper
80757         functions in libm.
80758         * Versions.def: Define GLIBC_2.15 version for libm.
80759         * math/Makefile (headers): Add bits/math-finite.h.
80760         * math/bits/math-finite.h: New file.
80761         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80762         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80763         * math/e_acoshl.c: Add __*_finite alias.
80764         * math/e_acosl.c: Likewise.
80765         * math/e_asinl.c: Likewise.
80766         * math/e_atan2l.c: Likewise.
80767         * math/e_atanhl.c: Likewise.
80768         * math/e_coshl.c: Likewise.
80769         * math/e_exp10.c: Likewise.
80770         * math/e_exp10f.c: Likewise.
80771         * math/e_exp10l.c: Likewise.
80772         * math/e_exp2l.c: Likewise.
80773         * math/e_fmodl.c: Likewise.
80774         * math/e_gammal_r.c: Likewise.
80775         * math/e_hypotl.c: Likewise.
80776         * math/e_j0l.c: Likewise.
80777         * math/e_j1l.c: Likewise.
80778         * math/e_jnl.c: Likewise.
80779         * math/e_lgammal_r.c: Likewise.
80780         * math/e_log10l.c: Likewise.
80781         * math/e_log2l.c: Likewise.
80782         * math/e_logl.c: Likewise.
80783         * math/e_powl.c: Likewise.
80784         * math/e_sinhl.c: Likewise.
80785         * math/e_sqrtl.c: Likewise.
80786         * math/e_scalb.c: Completely rewritten and optimized.
80787         * math/e_scalbf.c: Likewise.
80788         * math/e_scalbl.c: Likewise.
80789         * math/w_acos.c: Likewise.
80790         * math/w_acosf.c: Likewise.
80791         * math/w_acosl.c: Likewise.
80792         * math/w_acosh.c: Likewise.
80793         * math/w_acoshf.c: Likewise.
80794         * math/w_acoshl.c: Likewise.
80795         * math/w_asin.c: Likewise.
80796         * math/w_asinf.c: Likewise.
80797         * math/w_asinl.c: Likewise.
80798         * math/w_atan2.c: Likewise.
80799         * math/w_atan2f.c: Likewise.
80800         * math/w_atan2l.c: Likewise.
80801         * math/w_atanh.c: Likewise.
80802         * math/w_atanhf.c: Likewise.
80803         * math/w_atanhl.c: Likewise.
80804         * math/w_exp10.c: Likewise.
80805         * math/w_exp10f.c: Likewise.
80806         * math/w_exp10l.c: Likewise.
80807         * math/w_fmod.c: Likewise.
80808         * math/w_fmodf.c: Likewise.
80809         * math/w_fmodl.c: Likewise.
80810         * math/w_j0.c: Likewise.
80811         * math/w_j0f.c: Likewise.
80812         * math/w_j0l.c: Likewise.
80813         * math/w_j1.c: Likewise.
80814         * math/w_j1f.c: Likewise.
80815         * math/w_j1l.c: Likewise.
80816         * math/w_jn.c: Likewise.
80817         * math/w_jnf.c: Likewise.
80818         * math/w_log.c: Likewise.
80819         * math/w_logf.c: Likewise.
80820         * math/w_logl.c: Likewise.
80821         * math/w_log10.c: Likewise.
80822         * math/w_log10f.c: Likewise.
80823         * math/w_log10l.c: Likewise.
80824         * math/w_log2.c: Likewise.
80825         * math/w_log2f.c: Likewise.
80826         * math/w_log2l.c: Likewise.
80827         * math/w_pow.c: Likewise.
80828         * math/w_powf.c: Likewise.
80829         * math/w_powl.c: Likewise.
80830         * math/w_remainder.c: Likewise.
80831         * math/w_remainderf.c: Likewise.
80832         * math/w_remainderl.c: Likewise.
80833         * math/w_scalb.c: Likewise.
80834         * math/w_scalbf.c: Likewise.
80835         * math/w_scalbl.c: Likewise.
80836         * math/w_sqrt.c: Likewise.
80837         * math/w_sqrtf.c: Likewise.
80838         * math/w_sqrtl.c: Likewise.
80839         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80840         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
80841         used.
80842         * math/math_private.h: Declare __kernel_standard_f.
80843         * math/w_cosh.c: Remove cruft and optimize a bit.
80844         * math/w_coshf.c: Likewise.
80845         * math/w_coshl.c: Likewise.
80846         * math/w_exp2.c: Likewise.
80847         * math/w_exp2f.c: Likewise.
80848         * math/w_exp2l.c: Likewise.
80849         * math/w_hypot.c: Likewise.
80850         * math/w_hypotf.c: Likewise.
80851         * math/w_hypotl.c: Likewise.
80852         * math/w_lgamma.c: Likewise.
80853         * math/w_lgamma_r.c: Likewise.
80854         * math/w_lgammaf.c: Likewise.
80855         * math/w_lgammaf_r.c: Likewise.
80856         * math/w_lgammal.c: Likewise.
80857         * math/w_lgammal_r.c: Likewise.
80858         * math/w_sinh.c: Likewise.
80859         * math/w_sinhf.c: Likewise.
80860         * math/w_sinhl.c: Likewise.
80861         * math/w_tgamma.c: Likewise.
80862         * math/w_tgammaf.c: Likewise.
80863         * math/w_tgammal.c: Likewise.
80864         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80865         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80866         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80867         Minor optimizations.  Pretty printing.  Remove cruft.
80868         * sysdeps/i386/fpu/e_acosf.S: Likewise.
80869         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80870         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80871         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80872         * sysdeps/i386/fpu/e_acosl.c: Likewise.
80873         * sysdeps/i386/fpu/e_asin.S: Likewise.
80874         * sysdeps/i386/fpu/e_asinf.S: Likewise.
80875         * sysdeps/i386/fpu/e_atan2.S: Likewise.
80876         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80877         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80878         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80879         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80880         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80881         * sysdeps/i386/fpu/e_exp10.S: Likewise.
80882         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80883         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80884         * sysdeps/i386/fpu/e_exp2.S: Likewise.
80885         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80886         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80887         * sysdeps/i386/fpu/e_fmod.S: Likewise.
80888         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80889         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80890         * sysdeps/i386/fpu/e_hypot.S: Likewise.
80891         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80892         * sysdeps/i386/fpu/e_log.S: Likewise.
80893         * sysdeps/i386/fpu/e_log10.S: Likewise.
80894         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80895         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80896         * sysdeps/i386/fpu/e_log2.S: Likewise.
80897         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80898         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80899         * sysdeps/i386/fpu/e_logf.S: Likewise.
80900         * sysdeps/i386/fpu/e_logl.S: Likewise.
80901         * sysdeps/i386/fpu/e_pow.S: Likewise.
80902         * sysdeps/i386/fpu/e_powf.S: Likewise.
80903         * sysdeps/i386/fpu/e_powl.S: Likewise.
80904         * sysdeps/i386/fpu/e_remainder.S: Likewise.
80905         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80906         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80907         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80908         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80909         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80910         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80911         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80912         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80913         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80914         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80915         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80916         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80917         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80918         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80919         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80920         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80921         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80922         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80923         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80924         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80925         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80926         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80927         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80929         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80930         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80931         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80932         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80933         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80934         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80935         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80936         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80937         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80938         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80939         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80940         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80941         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80942         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80943         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80944         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80945         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80946         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80947         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80948         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80949         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80950         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80951         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80952         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80953         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80954         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80955         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80956         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80957         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80958         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80959         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80960         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80961         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80962         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80963         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80964         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80965         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80966         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80967         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80968         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80969         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80970         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80971         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80972         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80973         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80974         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80975         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80976         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80977         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80978         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80979         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80980         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80981         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80982         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80983         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80984         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80985         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80986         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80987         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80988         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80989         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80990         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80991         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80992         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80993         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80994         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80995         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80996         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80997         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80998         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80999         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81000         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81001         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81002         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81003         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81004         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81005         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81006         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
81007         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81008         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81009         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81010         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
81011         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
81012         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
81013         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
81014         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
81015         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
81016         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
81017         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81018         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81019         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81020         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81021         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
81022         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81023         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
81024         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
81025         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
81026         (__isnanf): Likewise.
81027         (__isinf_ns): Likewise.
81028         (__isinf_nsf): Likewise.
81029         (__finite): Likewise.
81030         (__finitef): Likewise.
81031         (__ieee754_sqrt): Define as macro.
81032         (__ieee754_sqrtf): Define as macro.
81033         (__ieee754_sqrtl): Define as macro.
81034         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
81035         inlined copy.
81036         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
81037         __FINITE_MATH_ONLY__ consistent.
81038         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
81040 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
81042         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
81043         of rawmemchr.
81045         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
81047 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
81049         * po/ja.po: Update from translation team.
81051 2011-10-08  Roland McGrath  <roland@hack.frob.com>
81053         * locale/programs/locarchive.c (prepare_address_space): New function.
81054         (create_archive, enlarge_archive, open_archive): Use it.
81056         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
81057         inside [SHARED], where it is used.
81059         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
81061         * nss/getent.c (netgroup_keys): Remove unused variable.
81062         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81064 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
81066         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
81067         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
81068         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
81069         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
81070         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
81071         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
81072         * math/Makefile (libm-calls): Add s_isinf_ns.
81073         * math/divtc3.c: Use __isinf_nsl instead of isinf.
81074         * math/multc3.c: Likewise.
81075         * math/s_casin.c: Likewise.
81076         * math/s_casinf.c: Likewise.
81077         * math/s_casinl.c: Likewise.
81078         * math/s_ccos.c: Likewise.
81079         * math/s_ccosf.c: Likewise.
81080         * math/s_ccosl.c: Likewise.
81081         * math/s_ctan.c: Likewise.
81082         * math/s_ctanf.c: Likewise.
81083         * math/s_ctanh.c: Likewise.
81084         * math/s_ctanhf.c: Likewise.
81085         * math/s_ctanhl.c: Likewise.
81086         * math/s_ctanl.c: Likewise.
81087         * math/w_fmod.c: Likewise.
81088         * math/w_fmodf.c: Likewise.
81089         * math/w_fmodl.c: Likewise.
81090         * math/w_remainder.c: Likewise.
81091         * math/w_remainderf.c: Likewise.
81092         * math/w_remainderl.c: Likewise.
81093         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
81094         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
81095         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
81096         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
81097         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
81098         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
81099         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
81100         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
81102         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
81103         of the number.
81104         * stdio-common/printf_fphex.c: Likewise.
81105         * stdio-common/printf_size.c: Likewise.
81107         * math/e_exp10.c: Include math_private.h using <...> not "...".
81108         * math/e_exp10f.c: Likewise.
81109         * math/e_exp10l.c: Likewise.
81110         * math/e_exp2l.c: Likewise.
81111         * math/e_j0l.c: Likewise.
81112         * math/e_j1l.c: Likewise.
81113         * math/e_jnl.c: Likewise.
81114         * math/e_lgammal_r.c: Likewise.
81115         * math/e_rem_pio2l.c: Likewise.
81116         * math/e_scalb.c: Likewise.
81117         * math/e_scalbf.c: Likewise.
81118         * math/e_scalbl.c: Likewise.
81119         * math/k_cosl.c: Likewise.
81120         * math/k_sinl.c: Likewise.
81121         * math/k_tanl.c: Likewise.
81122         * math/s_cacoshf.c: Likewise.
81123         * math/s_catan.c: Likewise.
81124         * math/s_catanf.c: Likewise.
81125         * math/s_catanh.c: Likewise.
81126         * math/s_catanhf.c: Likewise.
81127         * math/s_catanhl.c: Likewise.
81128         * math/s_catanl.c: Likewise.
81129         * math/s_ccosh.c: Likewise.
81130         * math/s_ccoshf.c: Likewise.
81131         * math/s_ccoshl.c: Likewise.
81132         * math/s_cexp.c: Likewise.
81133         * math/s_cexpf.c: Likewise.
81134         * math/s_cexpl.c: Likewise.
81135         * math/s_clog.c: Likewise.
81136         * math/s_clog10.c: Likewise.
81137         * math/s_clog10f.c: Likewise.
81138         * math/s_clog10l.c: Likewise.
81139         * math/s_clogf.c: Likewise.
81140         * math/s_clogl.c: Likewise.
81141         * math/s_csin.c: Likewise.
81142         * math/s_csinf.c: Likewise.
81143         * math/s_csinh.c: Likewise.
81144         * math/s_csinhf.c: Likewise.
81145         * math/s_csinhl.c: Likewise.
81146         * math/s_csinl.c: Likewise.
81147         * math/s_csqrt.c: Likewise.
81148         * math/s_csqrtf.c: Likewise.
81149         * math/s_csqrtl.c: Likewise.
81150         * math/s_ctan.c: Likewise.
81151         * math/s_ctanf.c: Likewise.
81152         * math/s_ctanh.c: Likewise.
81153         * math/s_ctanhf.c: Likewise.
81154         * math/s_ctanhl.c: Likewise.
81155         * math/s_ctanl.c: Likewise.
81156         * math/s_ldexp.c: Likewise.
81157         * math/s_ldexpf.c: Likewise.
81158         * math/s_ldexpl.c: Likewise.
81159         * math/s_significand.c: Likewise.
81160         * math/s_significandf.c: Likewise.
81161         * math/s_significandl.c: Likewise.
81162         * math/w_acos.c: Likewise.
81163         * math/w_acosf.c: Likewise.
81164         * math/w_acosh.c: Likewise.
81165         * math/w_acoshf.c: Likewise.
81166         * math/w_acoshl.c: Likewise.
81167         * math/w_acosl.c: Likewise.
81168         * math/w_asin.c: Likewise.
81169         * math/w_asinf.c: Likewise.
81170         * math/w_asinl.c: Likewise.
81171         * math/w_atan2.c: Likewise.
81172         * math/w_atan2f.c: Likewise.
81173         * math/w_atan2l.c: Likewise.
81174         * math/w_atanh.c: Likewise.
81175         * math/w_atanhf.c: Likewise.
81176         * math/w_atanhl.c: Likewise.
81177         * math/w_cosh.c: Likewise.
81178         * math/w_coshf.c: Likewise.
81179         * math/w_coshl.c: Likewise.
81180         * math/w_dremf.c: Likewise.
81181         * math/w_exp10.c: Likewise.
81182         * math/w_exp10f.c: Likewise.
81183         * math/w_exp10l.c: Likewise.
81184         * math/w_exp2.c: Likewise.
81185         * math/w_exp2f.c: Likewise.
81186         * math/w_fmod.c: Likewise.
81187         * math/w_fmodf.c: Likewise.
81188         * math/w_fmodl.c: Likewise.
81189         * math/w_hypot.c: Likewise.
81190         * math/w_hypotf.c: Likewise.
81191         * math/w_hypotl.c: Likewise.
81192         * math/w_j0.c: Likewise.
81193         * math/w_j0f.c: Likewise.
81194         * math/w_j0l.c: Likewise.
81195         * math/w_j1.c: Likewise.
81196         * math/w_j1f.c: Likewise.
81197         * math/w_j1l.c: Likewise.
81198         * math/w_jn.c: Likewise.
81199         * math/w_jnf.c: Likewise.
81200         * math/w_jnl.c: Likewise.
81201         * math/w_lgamma.c: Likewise.
81202         * math/w_lgamma_r.c: Likewise.
81203         * math/w_lgammaf.c: Likewise.
81204         * math/w_lgammaf_r.c: Likewise.
81205         * math/w_lgammal.c: Likewise.
81206         * math/w_lgammal_r.c: Likewise.
81207         * math/w_log.c: Likewise.
81208         * math/w_log10.c: Likewise.
81209         * math/w_log10f.c: Likewise.
81210         * math/w_log10l.c: Likewise.
81211         * math/w_log2.c: Likewise.
81212         * math/w_log2f.c: Likewise.
81213         * math/w_log2l.c: Likewise.
81214         * math/w_logf.c: Likewise.
81215         * math/w_logl.c: Likewise.
81216         * math/w_pow.c: Likewise.
81217         * math/w_powf.c: Likewise.
81218         * math/w_powl.c: Likewise.
81219         * math/w_remainder.c: Likewise.
81220         * math/w_remainderf.c: Likewise.
81221         * math/w_remainderl.c: Likewise.
81222         * math/w_scalb.c: Likewise.
81223         * math/w_scalbf.c: Likewise.
81224         * math/w_scalbl.c: Likewise.
81225         * math/w_sinh.c: Likewise.
81226         * math/w_sinhf.c: Likewise.
81227         * math/w_sinhl.c: Likewise.
81228         * math/w_sqrt.c: Likewise.
81229         * math/w_sqrtf.c: Likewise.
81230         * math/w_sqrtl.c: Likewise.
81231         * math/w_tgamma.c: Likewise.
81232         * math/w_tgammaf.c: Likewise.
81233         * math/w_tgammal.c: Likewise.
81235         * po/ja.po: Update from translation team.
81237 2011-09-29  Andreas Jaeger  <aj@suse.de>
81239         [BZ #13179]
81240         * sunrpc/netname.c (netname2host): Fix logic.
81242         [BZ #6779]
81243         [BZ #6783]
81244         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81245         correctly.
81246         * math/w_remainder.c (__remainder): Likewise.
81247         * math/w_remainderf.c (__remainderf): Likewise.
81248         * math/libm-test.inc (remainder_test): Add test cases.
81250 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81252         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
81253         sdiv_qrnnd.
81255 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81257         * string/test-memcmp.c: Avoid unncessary #defines.
81258         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81260 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81262         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81263         Use new sse2 version for core i3 - i7 as it's faster
81264         than sse42 version.
81265         (bit_Prefer_PMINUB_for_stringop): New.
81266         * sysdeps/x86_64/rawmemchr.S: Update.
81267         Replace with faster SSE2 version.
81268         * sysdeps/x86_64/memrchr.S: New file.
81269         * sysdeps/x86_64/memchr.S: Update.
81270         Replace with faster SSE2 version.
81272 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
81274         * elf/dl-load.c (lose): Add cast to avoid warning.
81276 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81278         * po/ca.po: Update from translation team.
81280         * inet/getnetgrent_r.c: Hook up nscd.
81281         * nscd/Makefile (routines): Add nscd_netgroup.
81282         (nscd-modules): Add netgroupcache.
81283         (CFLAGS-netgroupcache.c): Define.
81284         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81285         (cache_search): Add const to second parameter.
81286         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81287         INNETGR.
81288         (dbs): Add netgrdb entry.
81289         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81290         (verify_persistent_db): Handle netgrdb.
81291         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81292         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81293         GETFDNETGR.
81294         (netgroup_response_header): Define.
81295         (innetgroup_response_header): Define.
81296         (datahead): Add netgroup_response_header and innetgroup_response_header
81297         elements.
81298         * nscd/nscd.conf: Add entries for netgroup cache.
81299         * nscd/nscd.h (dbtype): Add netgrdb.
81300         (_PATH_NSCD_NETGROUP_DB): Define.
81301         (netgroup_iov_disabled): Declare.
81302         (xmalloc, xcalloc, xrealloc): Move declarations here.
81303         (cache_search): Adjust prototype.
81304         Add netgroup-related prototypes.
81305         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81306         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81307         (__nscd_innetgr): Declare.
81308         * nscd/selinux.c (perms): Use access_vector_t as element type and
81309         add netgroup-related initializers.
81310         * nscd/netgroupcache.c: New file.
81311         * nscd/nscd_netgroup.c: New file.
81312         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81313         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81314         For four parameters use innetgr.
81315         * nss/nss_files/files-init.c: Add definition and callback for netgr.
81316         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81317         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81318         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81320         * nscd/connections.c (register_traced_file): Don't register file
81321         for disabled databases.
81323 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
81325         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81327         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81328         from tree and freeing node.
81330 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
81332         * nss/nsswitch.c (__nss_database_lookup): Handle
81333         nss_parse_service_list out of memory case.
81335 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
81337         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81338         out of memory case.
81340 2011-10-04  Andreas Schwab  <schwab@redhat.com>
81342         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81343         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81344         pass it down.
81345         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81346         elf_machine_rela, elf_machine_lazy_rel.
81347         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81348         (ELF_DYNAMIC_DO_REL): Likewise.
81349         (ELF_DYNAMIC_DO_RELA): Likewise.
81350         (ELF_DYNAMIC_RELOCATE): Likewise.
81351         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81352         to ELF_DYNAMIC_DO_REL.
81353         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81354         (dl_main): In trace mode always set __RTLD_NOIFUNC.
81355         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81356         elf_machine_rela.
81357         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81358         skip_ifunc, don't call ifunc function if non-zero.
81359         (elf_machine_rela): Likewise.
81360         (elf_machine_lazy_rel): Likewise.
81361         (elf_machine_lazy_rela): Likewise.
81362         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81363         (elf_machine_lazy_rel): Likewise.
81364         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81365         Likewise.
81366         (elf_machine_lazy_rel): Likewise.
81367         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81368         Likewise.
81369         (elf_machine_lazy_rel): Likewise.
81370         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81371         (elf_machine_lazy_rel): Likewise.
81372         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81373         (elf_machine_lazy_rel): Likewise.
81374         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81375         (elf_machine_lazy_rel): Likewise.
81376         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81377         (elf_machine_lazy_rel): Likewise.
81378         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81379         (elf_machine_lazy_rel): Likewise.
81380         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81381         (elf_machine_lazy_rel): Likewise.
81383 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
81385         * nss/nss_files/files-init.c (_nss_files_init): Use static
81386         initialization for all the *_traced_file variables.
81388 2011-09-28  Andreas Schwab  <schwab@redhat.com>
81390         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81392 2011-09-27  Roland McGrath  <roland@hack.frob.com>
81394         [BZ #13226]
81395         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81397 2011-09-27  Andreas Schwab  <schwab@redhat.com>
81399         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81400         Reread the line before reparsing it.
81402 2011-09-26  Andreas Schwab  <schwab@redhat.com>
81404         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81406 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
81407             Maxim Kuvyrkov  <maxim@codesourcery.com>
81408             Joseph Myers  <joseph@codesourcery.com>
81410         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81411         if needed for __stack_chk_guard.
81413 2011-09-19  Roland McGrath  <roland@hack.frob.com>
81415         * sysdeps/posix/spawni.c (script_execute): Always define it.
81416         It will be optimized away if unused.
81417         (maybe_script_execute): New function.
81418         (__spawni): Call it.
81420         * Makerules: Don't include tls.make.
81421         (config-tls): Always set to thread.
81422         * tls.make.c: File removed.
81424 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
81426         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81427         * config.make.in (CPPFLAGS-config): New substituted variable.
81429 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81431         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81433         [BZ #13192]
81434         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81435         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81437 2011-09-15  Roland McGrath  <roland@hack.frob.com>
81439         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81440         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81441         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81442         (CALL_FAIL): Likewise.
81443         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81444         (CALL_FAIL): Macro removed.
81445         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81447 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81449         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81450         for __FINITE_MATH_ONLY__ == 1.
81452 2011-09-15  Andreas Schwab  <schwab@redhat.com>
81454         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81455         __ieee754_sqrt instead of sqrt.
81456         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81457         __ieee754_sqrtf instead of sqrtf.
81458         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81459         __floorf instead of floorf.
81460         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81461         __floorf, __truncf instead of floorf, truncf.
81463 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
81465         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81467         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81468         __extern_always_inline.
81469         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81470         32-bit.
81472 2011-09-14  Andreas Schwab  <schwab@redhat.com>
81474         * elf/rtld.c (dl_main): Also relocate in dependency order when
81475         doing symbol dependency testing.
81477 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
81479         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81480         Always define `refsym'.
81482 2011-09-13  Andreas Schwab  <schwab@redhat.com>
81484         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81485         (__FD_ELT): Renamed from __FDELT.
81486         * misc/bits/select2.h (__FD_ELT): Likewise.
81487         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81488         __FD_MASK instead of __FDELT, __FDMASK.
81489         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81490         Likewise.
81491         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81492         Likewise.
81494         * elf/Makefile (gen-ldd): Fix pattern.
81496         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81497         (init_tls): Likewise.
81499 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
81501         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81503 2011-09-12  Andreas Schwab  <schwab@redhat.com>
81505         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81506         `struct cmsghdr *' instead of `void *'.
81507         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81508         Likewise.
81510 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
81512         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81513         if non-absolute.
81514         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81515         ldd_rewrite_script.
81517 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
81519         * configure.in: Remove --with-tls option.
81520         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81521         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81522         out in case it is missing.
81523         * sysdeps/ia64/elf/configure.in: Likewise.
81524         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81525         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81526         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81527         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81528         * sysdeps/sh/elf/configure.in: Likewise.
81529         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81530         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81531         * sysdeps/x86_64/elf/configure.in: Likewise.
81532         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81533         * sysdeps/mach/hurd/tls.h: Likewise.
81535         [BZ #13067]
81536         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81538         [BZ #13090]
81539         * configure.in: Fix use of AC_INIT.
81541         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81543 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
81545         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81546         __set_errno.
81547         * malloc/hooks.c: Likewise.
81549         [BZ #11929]
81550         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
81551         variables statically.
81552         (narenas): Initialize.
81553         (list_lock): Initialize.
81554         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
81555         initializtion of main_arena and list_lock.  Small cleanups.
81556         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81557         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
81558         Add initializers to main_arena and mp_.
81559         (malloc_state): Remove pagesize member.  Change all users to use
81560         GLRO(dl_pagesize).
81562         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81563         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
81564         is always initialized.
81566         * malloc/malloc.c: Removed unused configurations and dead code.
81567         * malloc/arena.c: Likewise.
81568         * malloc/hooks.c: Likewise.
81569         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81571         * include/tls.h: Removed.  USE___THREAD must always be defined.
81572         * bits/libc-tsd.h: Don't handle !USE___THREAD.
81573         * elf/dl-libc.c: Likewise.
81574         * elf/dl-tsd.c: Likewise.
81575         * include/errno.h: Likewise.
81576         * include/netdb.h: Likewise.
81577         * include/resolv.h: Likewise.
81578         * inet/herrno-loc.c: Likewise.
81579         * inet/herrno.c: Likewise.
81580         * malloc/arena.c: Likewise.
81581         * malloc/hooks.c: Likewise.
81582         * malloc/malloc.c: Likewise.
81583         * resolv/res-state.c: Likewise.
81584         * resolv/res_libc.c: Likewise.
81585         * sysdeps/i386/dl-machine.h: Likewise.
81586         * sysdeps/ia64/dl-machine.h: Likewise.
81587         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81588         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81589         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81590         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81591         * sysdeps/sh/dl-machine.h: Likewise.
81592         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81593         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81594         * sysdeps/unix/i386/sysdep.S: Likewise.
81595         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81596         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81597         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81598         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81600         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81601         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81602         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81603         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81604         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81605         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81606         * sysdeps/x86_64/dl-machine.h: Likewise.
81607         * tls.make.c: Likewise.
81609         * configure.in: Remove --with-__thread option.  Make tests for
81610         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81611         tls_model attribute fail if no support is available.  Remove
81612         USE_IN_LIBIO.
81613         * Makeconfig: Adjust for dropped configure option.  All features are
81614         now mandatory.
81615         * Makerules: Likewise.
81616         * Versions.def: Likewise.
81617         * argp/argp-fmtstream.c: Likewise.
81618         * argp/argp-fmtstream.h: Likewise.
81619         * argp/argp-help.c: Likewise.
81620         * assert/assert.c: Likewise.
81621         * config.h.in: Likewise.
81622         * config.make.in: Likewise.
81623         * configure: Likewise.
81624         * configure.in: Likewise.
81625         * csu/Versions: Likewise.
81626         * csu/init.c: Likewise.
81627         * elf/tst-audit2.c: Likewise.
81628         * elf/tst-tls10.c: Likewise.
81629         * elf/tst-tls10.h: Likewise.
81630         * elf/tst-tls11.c: Likewise.
81631         * elf/tst-tls12.c: Likewise.
81632         * elf/tst-tls14.c: Likewise.
81633         * elf/tst-tlsmod11.c: Likewise.
81634         * elf/tst-tlsmod12.c: Likewise.
81635         * elf/tst-tlsmod13.c: Likewise.
81636         * elf/tst-tlsmod13a.c: Likewise.
81637         * elf/tst-tlsmod14a.c: Likewise.
81638         * elf/tst-tlsmod15b.c: Likewise.
81639         * elf/tst-tlsmod16a.c: Likewise.
81640         * elf/tst-tlsmod16b.c: Likewise.
81641         * elf/tst-tlsmod7.c: Likewise.
81642         * elf/tst-tlsmod8.c: Likewise.
81643         * elf/tst-tlsmod9.c: Likewise.
81644         * gmon/gmon.c: Likewise.
81645         * grp/fgetgrent_r.c: Likewise.
81646         * grp/putgrent.c: Likewise.
81647         * hurd/fopenport.c: Likewise.
81648         * include/libc-symbols.h: Likewise.
81649         * include/tls.h: Likewise.
81650         * intl/gettextP.h: Likewise.
81651         * intl/loadinfo.h: Likewise.
81652         * locale/global-locale.c: Likewise.
81653         * locale/localeinfo.h: Likewise.
81654         * mach/devstream.c: Likewise.
81655         * malloc/arena.c: Likewise.
81656         * malloc/set-freeres.c: Likewise.
81657         * misc/err.c: Likewise.
81658         * misc/getttyent.c: Likewise.
81659         * misc/mntent_r.c: Likewise.
81660         * posix/getopt.c: Likewise.
81661         * posix/wordexp.c: Likewise.
81662         * pwd/fgetpwent_r.c: Likewise.
81663         * resolv/Versions: Likewise.
81664         * resolv/res_hconf.c: Likewise.
81665         * shadow/fgetspent_r.c: Likewise.
81666         * shadow/putspent.c: Likewise.
81667         * stdio-common/printf_fphex.c: Likewise.
81668         * stdio-common/tmpfile.c: Likewise.
81669         * stdlib/abort.c: Likewise.
81670         * stdlib/fmtmsg.c: Likewise.
81671         * sunrpc/auth_unix.c: Likewise.
81672         * sunrpc/clnt_perr.c: Likewise.
81673         * sunrpc/clnt_tcp.c: Likewise.
81674         * sunrpc/clnt_udp.c: Likewise.
81675         * sunrpc/clnt_unix.c: Likewise.
81676         * sunrpc/openchild.c: Likewise.
81677         * sunrpc/svc_simple.c: Likewise.
81678         * sunrpc/svc_tcp.c: Likewise.
81679         * sunrpc/svc_udp.c: Likewise.
81680         * sunrpc/svc_unix.c: Likewise.
81681         * sunrpc/xdr.c: Likewise.
81682         * sunrpc/xdr_array.c: Likewise.
81683         * sunrpc/xdr_rec.c: Likewise.
81684         * sunrpc/xdr_ref.c: Likewise.
81685         * sunrpc/xdr_stdio.c: Likewise.
81687 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81689         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81691 2011-07-03  Andreas Jaeger  <aj@suse.de>
81693         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81694         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81695         regenerate with gen-libm-tests.pl.
81697 2010-05-12  Petr Baudis  <pasky@suse.cz>
81699         [BZ #11589]
81700         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81701         around j0() zero points by switching to j1().
81702         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81703         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81704         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81705         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81707 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81709         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81710         instead of 0.
81711         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81712         instead of 0.
81713         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81714         Patch in part by Pavel Roskin <proski@gnu.org>.
81716         [BZ #13138]
81717         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81718         realloc.
81719         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
81720         Free memory block if necessary.
81722         [BZ #12847]
81723         * libio/genops.c (INTDEF): For string streams the _lock pointer can
81724         be NULL.  Don't lock in this case.
81726 2011-09-09  Roland McGrath  <roland@hack.frob.com>
81728         * elf/elf.h (ELFOSABI_GNU): New macro.
81729         (ELFOSABI_LINUX): Define to that.
81731 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
81733         * string/strncat.c (strncat): Undef the symbol in case it has been
81734         defined in bits/string.h.
81736 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81738         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81740         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81741         link map.
81743 2011-08-17  Andreas Jaeger  <aj@suse.de>
81745         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81747 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
81748             Ian Lance Taylor  <iant@google.com>
81750         * math/libm-test.inc (lround_test): New testcase.
81751         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81753 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
81755         * Makefile: Remove support for automatic cvs check-ins.
81756         * Makerules: Likewise.
81757         * config.make.in: Likewise.
81758         * configure.in: Likewise.
81759         * intl/Makefile: Likewise.
81760         * locale/Makefile: Likewise.
81761         * po/Makefile: Likewise.
81762         * posix/Makefile: Likewise.
81763         * sysdeps/gnu/Makefile: Likewise.
81764         * sysdeps/mach/hurd/Makefile: Likewise.
81765         * sysdeps/sparc/sparc32/Makefile: Likewise.
81767         [BZ #13118]
81768         * posix/Makefile (bug-regex32-ENV): Define.
81769         Patch by John Stanley <jpsinthemix@verizon.net>.
81771         * misc/Makefile (headers): Add bits/select2.h.
81772         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81773         * misc/bits/select2.h: New file.
81774         * include/bits/select2.h: New file.
81775         * debug/Makefile (routines): Add fdelt_chk.
81776         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81777         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81778         FD_ISSET.
81779         * debug/fdelt_chk.c: New file.
81781         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
81782         * wcsmbs/test-wmemcmp.c: Likewise.
81783         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81784         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81786 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81788         * string/Makefile (strop-tests): Add memcmp.
81789         * string/test-wmemcmp.c: New file.
81790         * string/test-memcmp.c: Add wmemcmp support.
81792 2011-09-08  Roland McGrath  <roland@hack.frob.com>
81794         [BZ #13153]
81795         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81796         2011-07-19 change.
81798         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81799         garbage value in a __mach_port_mod_refs call in the cases of the
81800         task-self and thread-self ports.
81802 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81804         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81806 2011-09-08  Andreas Schwab  <schwab@redhat.com>
81808         * elf/dl-load.c (lose): Check for non-null L.
81810 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81812         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81814         * elf/dl-libc.c (dlerror_run): Pass back error code from
81815         dl_catch_error.
81817         [BZ #13123]
81818         * elf/dl-load.c (lose): Free l_origin if it is valid.
81820         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81821         names.
81822         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81823         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81824         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81825         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81826         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81827         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81829 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81831         * sysdeps/powerpc/fpu/e_hypot.c: New file.
81832         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81833         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81834         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81835         * sysdeps/powerpc/fpu/k_cosf.c: New file.
81836         * sysdeps/powerpc/fpu/k_sinf.c: New file.
81837         * sysdeps/powerpc/fpu/s_cosf.c: New file.
81838         * sysdeps/powerpc/fpu/s_sinf.c: New file.
81839         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81840         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81842 2011-08-15  Alan Modra  <amodra@gmail.com>
81844         [BZ #13092]
81845         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81846         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81847         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
81848         ppc_mcount to static-only-routines.
81849         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81850         __mcount_internal.
81851         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81852         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
81854 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
81856         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81857         for finite and infinity parameters.
81859 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81861         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81862         and add nop instructions for throughput optimization.
81863         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81865 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
81867         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81868         aligned copy for power7 with vector-scalar instructions.
81869         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81871 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
81873         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81874         AVX check.
81876 2011-09-07  Andreas Schwab  <schwab@redhat.com>
81878         [BZ #13144]
81879         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81880         last change.
81882 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81884         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81885         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81886         syscall wrapper around clock_gettime in __vdso_clock_gettime.
81887         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81888         clock_gettime.
81890 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81892         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81893         Forgot to demangle the pointer.
81895         * sysdeps/i386/sysdep.h: Define atom_text_section.
81896         * sysdeps/x86_64/sysdep.h: Likewise.
81897         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81898         section with atom_text_section.
81899         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81900         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81901         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81902         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81903         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81905         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81906         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81907         already be defined.  Change to take two parameters and don't assign
81908         result to variable.  Adjust all users.
81909         Define INTERNAL_GETTIME if not already defined.
81910         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81911         call.
81912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81913         HAVE_CLOCK_GETTIME_VSYSCALL.
81914         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81916         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81917         gettimeofday vsyscall, just use time.
81919 2011-09-06  Andreas Schwab  <schwab@redhat.com>
81921         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81922         <errno.h>.
81924 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81926         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81927         syscall on x86-64.
81928         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81929         syscall.
81930         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81931         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81932         syscall if possible.
81934 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81936         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81937         e_ident.  Don't pass to find_mapsXX.
81938         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81940 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81943         strchr-sse2-no-bsf strrchr-sse2-no-bsf
81944         * sysdeps/x86_64/multiarch/strchr.S: Update.
81945         Check bit_slow_BSF bit.
81946         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81947         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81948         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81950 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81952         [BZ #13134]
81953         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81954         before glibc 2.15.
81955         (tryshell): Define.
81956         (__spawni): Change last parameter to be flag.  Test
81957         SPAWN_XFLAGS_USE_PATH flag to use path or not.
81958         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81959         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81960         * posix/spawni.c: Likewise.
81961         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81962         * posix/spawnp.c: Likewise.  Change normal version to use
81963         SPAWN_XFLAGS_USE_PATH.
81964         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81965         SPAWN_XFLAGS_TRY_SHELL.
81967         [BZ #13150]
81968         * posix/glob.h: Remove gcc 1.x support.
81970         [BZ #13068]
81971         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81973 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81975         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81976         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81977         strrchr-sse2-bsf
81978         * sysdeps/i386/i686/multiarch/strchr.S: New file.
81979         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81980         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81981         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81982         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81983         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81985 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81987         * sysdeps/x86_64/wcscmp.S: New file.
81989         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81990         wcscmp-c wcscmp-sse2
81991         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81992         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81993         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81994         * wcsmbs/wcscmp.c: Allow renaming.
81996 2011-09-05  David S. Miller  <davem@davemloft.net>
81998         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81999         stack slot, rather than the struct return pointer slot.
82000         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
82001         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
82002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
82003         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
82005 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
82007         * po/ja.po: Update from translation team.
82009         [BZ #13144]
82010         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
82011         kernel in 64-bit binaries.
82013 2011-09-01  David S. Miller  <davem@davemloft.net>
82015         * elf/elf.h (HWCAP_SPARC_*): Move to..
82016         * sysdeps/sparc/sysdep.h: this new file and add new values.
82017         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
82018         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
82019         _DL_HWCAP_COUNT to 24.
82020         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
82021         entries.
82022         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
82023         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
82024         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
82025         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
82026         instead of magic constants.
82027         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82029 2011-08-31  David S. Miller  <davem@davemloft.net>
82031         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
82032         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
82033         Reimplement to do errno handling inline.
82034         (SYSCALL_ERROR_HANDLER): New macro.
82035         (__SYSCALL_STRING): Do not do errno handling in asm.
82036         (__CLONE_SYSCALL_STRING): Delete.
82037         (__INTERNAL_SYSCALL_STRING): Delete.
82038         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
82039         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
82040         (PSEUDO): Reimplement to do errno handling inline.
82041         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
82042         (SYSCALL_ERROR_HANDLER): New macro.
82043         (__SYSCALL_STRING): Do not do errno handling in asm.
82044         (__CLONE_SYSCALL_STRING): Delete.
82045         (__INTERNAL_SYSCALL_STRING): Delete.
82046         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
82047         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
82048         i386.
82049         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
82050         (inline_syscall*): Add 'err' argument.
82051         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
82052         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
82053         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
82054         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
82056         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
82057         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82059 2011-08-30  Andreas Schwab  <schwab@redhat.com>
82061         * elf/rtld.c (dl_main): Relocate objects in dependency order.
82063 2011-08-29  Jiri Olsa <jolsa@redhat.com>
82065         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
82066         directive.
82068 2011-08-24  David S. Miller  <davem@davemloft.net>
82070         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
82072 2011-08-24  Andreas Schwab  <schwab@redhat.com>
82074         * elf/Makefile: Add rules to build and run unload8 test.
82075         * elf/unload8.c: New file.
82076         * elf/unload8mod1.c: New file.
82077         * elf/unload8mod1x.c: New file.
82078         * elf/unload8mod2.c: New file.
82079         * elf/unload8mod3.c: New file.
82081         * elf/dl-close.c (_dl_close_worker): Reset private search list if
82082         it wasn't used.
82084 2011-08-23  David S. Miller  <davem@davemloft.net>
82086         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
82087         subtract stack bias.
82088         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
82089         %sp not %fp in calculations.
82090         (_JMPBUF_UNWINDS_ADJ): Likewise.
82092         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
82093         (aio_suspend): Call it to force an exception region around the
82094         AIO_MISC_WAIT() invocation.
82096 2011-08-23  Andreas Schwab  <schwab@redhat.com>
82098         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
82099         backslash.
82101 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
82103         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
82104         protection macro.
82105         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
82106         and <dl-machine.h>.
82107         (Elf64_FuncDesc): Remove.
82109 2011-08-22  David S. Miller  <davem@davemloft.net>
82111         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
82112         sigaltstack check, add missing cfi directives.
82113         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
82114         missing cfi directives, and sigaltstack handling.
82116 2011-08-16  Andreas Schwab  <schwab@redhat.com>
82118         [BZ #11724]
82119         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
82120         object is seen twice.
82121         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82123         * elf/Makefile (distribute): Add tst-initorder2.c.
82124         (tests): Add tst-initorder2.
82125         (modules-names): Add tst-initorder2a tst-initorder2b
82126         tst-initorder2c tst-initorder2d.  Add rules to build them.
82127         ($(objpfx)tst-initorder2.out): New rule.
82128         * elf/tst-initorder2.c: New file.
82129         * elf/tst-initorder2.exp: New file.
82131 2011-08-22  Andreas Schwab  <schwab@redhat.com>
82133         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
82135         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
82136         dependencies back to end of function.
82138         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82139         $(elfobjdir)/ld.so.
82141 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
82143         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
82144         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
82145         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
82146         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
82147         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
82148         of __vdso_gettimeofday.
82149         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
82150         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
82151         attribute_hidden.
82152         (_libc_vdso_platform_setup): Remove initialization of
82153         __vdso_gettimeofday and __vdso_time.
82155 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
82157         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
82158         and fgetc_unlocked.
82159         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
82160         getc_unlocked.
82162         * elf/dl-open.c (add_to_global): Report additions to the global scope
82163         for LD_DEBUG=scopes.
82164         (dl_open_worker): Also print scope of newly loaded dependencies.
82165         (_dl_show_scope): Indicate if there is no scope.
82167         [BZ #13114]
82168         * stdio-common/Makefile (tests): Add bug24.
82169         * stdio-common/bug24.c: New file.
82171 2011-08-19  Andreas Jaeger  <aj@suse.de>
82173         [BZ #13114]
82174         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
82175         non-existant file when using close-on-exec mode.
82177 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
82179         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
82180         the very first instruction.
82182         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
82183         the CFI state in the end.
82184         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82185         inclusion of dl-trampoline.h.
82186         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82188 2011-08-19  Andreas Schwab  <schwab@redhat.com>
82190         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82191         expectations for long double.
82193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82194         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82196 2011-08-14  David S. Miller  <davem@davemloft.net>
82198         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82199         artificual limit depends upon the system page size.
82201 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82203         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82204         * resolv/Makefile: Define CFLAGS-libresolv.
82206 2011-08-17  Andreas Schwab  <schwab@redhat.com>
82208         * nss/makedb.c (compute_tables): Make variables used in nested
82209         function static.
82211 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82213         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82214         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82215         if buffer was too small.
82217         * elf/pldd.c (main): Attach to all threads in the process.
82218         Rewrite /proc handling to use *at functions.
82220 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
82222         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82223         specifies first scope to show.
82224         (dl_open_worker): Update callers.  Move printing scope of new
82225         object to before the relocation.
82226         * elf/rtld.c (dl_main): Update _dl_show_scope call.
82227         * sysdeps/generic/ldsodefs.h: Update declaration.
82229         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82230         string for the scope number.
82232 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
82234         * nscd/servicescache.c (cache_addserv): Make sure written is always
82235         initialized.
82237 2011-08-14  Roland McGrath  <roland@hack.frob.com>
82239         * sysdeps/i386/i486/bits/atomic.h
82240         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82241         statement expression, so as to suppress "set but not used" warning.
82242         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82244         * string/strncat.c (STRNCAT): Use prototype definition.
82246         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82247         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82248         -Iprograms here.
82249         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82250         (localedef-modules): Add localedef.
82251         (locale-modules): Add locale.
82253         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82254         * elf/rtld.c (dl_main): Invert order of assignment in last change,
82255         to avoid a warning.
82257 2011-08-14  David S. Miller  <davem@davemloft.net>
82259         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82260         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82262 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
82264         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82265         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82266         * elf/rtld.c (dl_main): Set l_name of vDSO.
82267         Call _dl_show_scope when DL_DEBUG_SCOPES.
82268         (process_dl_debug): Recognize scopes flag and also set it for all.
82269         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82270         Declare _dl_show_scope.
82272         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82273         (do_dlopen): Pass caller_dlopen to dl_open.
82274         (__libc_dlopen_mode): Initialize caller_dlopen.
82276         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82277         of libc.  Make tolower call locale-independent.  Optimize a bit by
82278         using isdigit instead of isalnum.
82279         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82281 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
82283         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82284         was a dependency or dynamically loaded.
82286 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
82288         * intl/l10nflist.c: Allow architecture-specific pop function.
82289         * sysdeps/x86_64/l10nflist.c: New file.
82291         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82292         classification.
82294 2011-08-10  Andreas Schwab  <schwab@redhat.com>
82296         * include/dirent.h: Add libc_hidden_proto for scandirat and
82297         scandirat64.  Don't declare __scandirat64.
82298         * dirent/scandirat.c: Add libc_hidden_def.
82299         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82300         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82302 2011-08-10  David S. Miller  <davem@davemloft.net>
82304         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82305         enum.
82306         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82307         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82308         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82310 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
82312         * Versions.def [libc]: Add GLIBC_2.15.
82313         * dirent/Makefile (routines): Add scandirat and scandirat64.
82314         * dirent/Versions [libc]: Export scandirat and scandirat64 for
82315         GLIBC_2.15.
82316         * dirent/dirent.h: Declare scandirat and scandirat64.
82317         * dirent/scandirat.c: New file.
82318         * dirent/scandirat64.c: New file.
82319         * sysdeps/wordsize-64/scandirat.c: New file.
82320         * sysdeps/wordsize-64/scandirat64.c: New file.
82321         * dirent/opendir.c: Define opendirat.
82322         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
82323         using scandirat.
82324         * dirent/scandir64.c: Adjust for scandir.c change.
82325         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
82326         __scandirat64, and __scandir_cancel_handler.
82327         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
82328         additional parameter and use openat instead of open (outside of ld.so).
82329         Add new __opendir as wrapper around __opendirat.
82330         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82331         here without requiring old scandirat implementation.
82333 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
82335         * dirent/scandir.c (cancel_handler): Renamed to
82336         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
82337         defined.  Adjust users.
82338         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82339         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82341 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
82343         * string/test-string.h (IMPL): Use __STRING to expand name and then
82344         stringify it.
82346         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
82347         of cleanups.
82349 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82351         * string/Makefile: Update.
82352         (strop-tests): Append strncat.
82353         * string/test-wcscmp.c: New file.
82354         New comprehensive test for wcscmp.
82355         * string/test-strcmp.c: Update.
82356         (WIDE): New define.
82358 2011-07-22  Andreas Schwab  <schwab@redhat.com>
82360         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82361         line.
82363 2011-07-26  Andreas Schwab  <schwab@redhat.com>
82365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82366         encoding to ACE if AI_IDN.
82368 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
82370         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82371         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82373 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82375         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82376         Fix overflow bug in strncat.
82377         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82379         * string/test-strncat.c: Update.
82380         Add new tests for checking overflow bugs.
82382 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82384         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82385         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82386         * sysdeps/i386/i686/multiarch/strcat.S: New file.
82387         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82388         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82389         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82390         * sysdeps/i386/i686/multiarch/strncat.S: New file.
82391         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82392         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82394         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82395         (USE_AS_STRCAT): Define.
82396         Add strcat and strncat support.
82397         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82399 2011-07-25  Andreas Schwab  <schwab@redhat.com>
82401         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82402         __n bigger than INT_MAX+1.
82403         (__strncmp_g): Likewise.
82405 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
82407         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82408         * libio/stido.h: Likewise.
82410         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82411         (AF_NFC): Define.
82412         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82413         (AF_NFC): Define.
82415         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82416         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82417         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82418         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82419         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82421         [BZ #13021]
82422         * scripts/test-installation.pl: Don't expect libnss_test1 to be
82423         installed.
82425         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82426         typo.
82427         (_dl_x86_64_save_sse): Likewise.
82429 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
82431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82432         OSXSAVE.
82433         (_dl_x86_64_save_sse): Likewise.
82435         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82437         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82439 2011-07-21  Andreas Schwab  <schwab@redhat.com>
82441         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82442         change.
82443         (_dl_x86_64_save_sse): Use correct AVX check.
82445 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82447         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82448         bug in strncpy/strncat.
82449         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82451 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
82453         * string/tester.c (test_strcat): Add tests for different alignments
82454         of source and destination.
82455         (test_strncat): Likewise.
82457 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82459         [BZ #12852]
82460         * posix/glob.c (glob): Check passed in values before using them in
82461         expressions to avoid some overflows.
82462         (glob_in_dir): Likewise.
82464         [BZ #13007]
82465         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82466         check for AVX enablement so that we don't crash with old kernels and
82467         new hardware.
82468         * elf/tst-audit4.c: Add same checks here.
82469         * elf/tst-audit6.c: Likewise.
82471         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82473 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
82475         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82477 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82479         * po/cs.po: Update from translation team.
82480         * po/bg.po: Likewise.
82482 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
82484         * misc/sys/cdefs.h: Add support for const attribute.
82485         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82486         to gnu_dev_{major,minor,makedev} functions.
82488 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
82490         * intl/dcigettext.c (get_output_charset): Add missing bracket.
82492 2011-07-20  Andreas Schwab  <schwab@redhat.com>
82494         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82495         strlen results.
82497 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82500         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82501         register in order to avoid conflicts with the soft frame pointer
82502         being held in r11 when necessary.
82503         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82504         (INTERNAL_VSYSCALL_NCS): Likewise.
82506 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
82508         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82509         * elf/dl-fini.c (_dl_fini): Adjust caller.
82510         * elf/dl-close.c (_dl_close_worker): Likewise.
82511         * sysdeps/generic/ldsodefs.h: Adjust declaration.
82513 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82515         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82516         "aux_cache->nlibs < 0".
82518         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82519         in the reload-count case.
82521 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82524         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82525         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82526         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82527         * sysdeps/x86_64/multiarch/strcat.S: New file.
82528         * sysdeps/x86_64/multiarch/strncat.S: New file.
82529         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82530         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82531         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82532         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82533         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82534         (USE_AS_STRCAT): Define.
82535         Add strcat and strncat support.
82536         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82537         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82538         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82539         * string/strncat.c: Update.
82540         (USE_AS_STRNCAT): Define.
82541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82542         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82543         and i7.
82544         * sysdeps/x86_64/multiarch/init-arch.h
82545         (bit_Prefer_PMINUB_for_stringop): New.
82546         (index_Prefer_PMINUB_for_stringop): Likewise.
82547         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82548         bit_Prefer_PMINUB_for_stringop.
82550 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82552         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82553         buffer64.
82554         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82555         of casting of buffer.
82556         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82557         buffer32 and buffer64.
82558         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82559         writes instead of casting of buffer.
82560         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82561         buffer32.
82562         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82563         casting of buffer.
82565 2011-07-19  Andreas Schwab  <schwab@redhat.com>
82567         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82569 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82571         * nscd/nscd.c (termination_handler): Don't do anything for a database
82572         if it has not yet been initialized.
82574 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82576         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82578 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82580         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82582 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82584         * po/nl.po: Update from translation team.
82585         * po/sv.po: Likewise.
82587 2011-07-16  Roland McGrath  <roland@hack.frob.com>
82589         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82590         now disallowed by GCC.
82592         * configure.in (use-default-link): Default to yes if a test -shared
82593         link meets our qualifications.
82594         * configure: Regenerated.
82596         * config.make.in (output-format): New variable.
82597         * configure.in: Check for ld --print-output-format support.
82598         * configure: Regenerated.
82599         * Makerules ($(common-objpfx)format.lds)
82600         [$(output-format) != unknown]: Just use $(output-format),
82601         instead of the linker-script munging.
82603 2011-07-14  Roland McGrath  <roland@hack.frob.com>
82605         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82606         of $(common-objpfx)shlib.lds.
82607         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82609         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82610         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82612         * configure.in (-z relro check): Adjust test code to add a large
82613         writable data section after it.
82614         * configure: Regenerated.
82616 2011-07-11  Roland McGrath  <roland@hack.frob.com>
82618         * configure.in (-z relro check): Fix test code to make the variable
82619         truly const.
82620         * configure: Regenerated.
82622 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
82624         * nscd/nscd.h (struct traced_file): Define.
82625         (struct database_dyn): Remove inotify_descr, reset_res, and filename
82626         elements.  Add traced_files.
82627         (inotify_fd): Declare.
82628         (register_traced_file): Declare.
82629         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82630         (inotify_fd): Export.
82631         (resolv_conf_descr): Remove.
82632         (nscd_init): Move inotify descriptor creation to main.
82633         Don't register files for notification here.
82634         (register_traced_file): New function.
82635         (invalidate_cache): Don't use reset_res to determine whether to call
82636         res_init, go through the list of registered files.
82637         (main_loop_poll): The inotify descriptors are now stored in the
82638         structures for the traced files.
82639         (main_loop_epoll): Likewise.
82640         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
82641         to __nss_disable_nscd.
82642         * nscd/cache.c (prune_cache): There is no single inotify descriptor
82643         for a database anymore.  Check the records for all the registered
82644         files instead.
82645         * nss/Makefile (libnss_files-routines): Add files-init.
82646         (libnss_db-routines): Add db-init.
82647         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82648         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82649         * nss/nss_db/db-init.c: New file.
82650         * nss/nss_files/files-init.c: New file.
82651         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
82652         __nss_lookup_function.
82653         (__nss_lookup_function): Call nss_load_library.
82654         (nss_load_all_libraries): New function.
82655         (__nss_disable_nscd): Take parameter with callback function for files
82656         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
82657         used for the cached services.
82658         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82659         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82660         options for features to all the files in nscd.
82662         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82664 2011-07-10  Roland McGrath  <roland@hack.frob.com>
82666         * csu/elf-init.c (__libc_csu_init): Comment typo.
82668 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
82670         * po/pl.po: Update from translation team.
82671         * po/ja.po: Likewise.
82672         * po/ru.po: Likewise.
82673         * po/ko.po: Likewise.
82674         * po/fr.po: Likewise.
82676 2011-07-09  Roland McGrath  <roland@hack.frob.com>
82678         * configure.in (.ctors/.dtors header and trailer check):
82679         Use an empirical test on a built program.
82680         * configure: Regenerated.
82682         * configure.in (-z relro check): Use an empirical test on a built DSO.
82683         Detect, but do not require, on ia64.
82684         * configure: Regenerated.
82686         * configure.in (READELF): Find it with AC_CHECK_TOOL.
82687         Update tests that use readelf to use $READELF instead.
82688         * configure: Regenerated.
82690 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
82692         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82693         if the result is not used.
82695 2011-07-05  Andreas Jaeger  <aj@suse.de>
82697         [BZ#9696]
82698         * stdlib/tst-strtod.c: Add testcase.
82700 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
82702         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82703         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82704         The latter has a higher limit.  Take additional parameter to pass to
82705         the new function.
82706         (__pathconf): Pass file to __statfs_link_max.
82707         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82708         __statfs_link_max.
82709         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82710         __statfs_link_max.
82712         [BZ #12868]
82713         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82714         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82715         Handle Lustre.
82716         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82717         (__statfs_filesize_max): Likewise.
82718         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82720 2011-07-05  Andreas Jaeger  <aj@suse.de>
82722         * resolv/res_comp.c (dn_skipname): Remove unused variable.
82724 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
82726         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82727         `status' variable.
82728         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82729         Likewise.
82731 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
82733         * Makefile (strop-tests): Add strncat.
82734         * string/test-strncat.c: New file.
82736 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
82738         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82740 2011-06-21  Andreas Jaeger  <aj@suse.de>
82742         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82743         Copy rule from iconvdata/Makefile.
82745 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82747         [BZ #12922]
82748         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82749         but no long options are defined, just return 'W'.
82751 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
82753         [BZ #9696]
82754         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82756 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82758         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82759         netgroups to read.
82760         (innetgr): Likewise.
82762 2011-07-05  Roland McGrath  <roland@hack.frob.com>
82764         * config.make.in (install_root): Default to $(DESTDIR).
82766 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
82768         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82770 2011-07-02  Roland McGrath  <roland@hack.frob.com>
82772         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82774         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82775         containing directory rather than embedding absolute directory names.
82777         * scripts/check-local-headers.sh: Rewritten using awk.
82778         Match by word, not by line.  Print error messages for matches.
82779         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82781         * Makerules [shlib-lds-flags empty]:
82782         ($(common-objpfx)libc_pic.opts): New target.
82783         ($(common-objpfx)libc_pic.os.clean): New target.
82784         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82786         * config.make.in (OBJCOPY): New variable.
82787         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82788         * configure: Regenerated.
82790         * config.make.in (use-default-link): New variable.
82791         * configure.in (use_default_link): Grok --with-default-link to set it.
82792         * configure: Regenerated.
82793         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82794         (shlib-lds, shlib-lds-flags): Define to empty.
82796         * Makerules (shlib-lds): New variable.
82797         (shlib-lds-flags): New variable.
82798         (build-shlib, build-moduile, build-module-asneeded): Use it.
82799         ($(common-objpfx)libc.so): Use $(shlib-lds).
82800         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82801         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82803         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82804         DT_FLAGS/DT_FLAGS_1 with zero flags.
82806         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82807         linker script munging.
82809 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
82811         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82812         as 128-bit value.
82813         * crypt/sha512.c (sha512_process_block): Perform total addition using
82814         128-bit if possible.
82815         (__sha512_finish_ctx): Likewise.
82816         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82817         as 64-bit value.
82818         * crypt/sha256.c (SWAP64): Define.
82819         (sha256_process_block): Perform total addition using 64-bit if
82820         possible.
82821         (__sha256_finish_ctx): Likewise.
82823 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
82825         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
82826         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82827         * nscd/hstcache.c (cache_addhst): Likewise.
82828         * nscd/grpcache.c (cache_addgr): Likewise.
82829         * nscd/aicache.c (addhstaiX): Likewise.
82830         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82832 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
82834         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82835         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82836         * nscd/hstcache.c (cache_addhst): Likewise.
82837         * nscd/grpcache.c (cache_addgr): Likewise.
82838         * nscd/aicache.c (addhstaiX): Likewise.
82840 2011-07-01  Andreas Schwab  <schwab@redhat.com>
82842         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82843         domain only when needed.
82845 2011-06-30  Andreas Schwab  <schwab@redhat.com>
82847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82848         is always restored.
82850 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
82852         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82853         are re-adding the entry.
82854         * nscd/servicescache.c (cache_addserv): Likewise.
82856 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
82858         * sysdeps/generic/dl-irel.h: fix protection against multiple
82859         inclusions.
82860         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82862 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
82864         [BZ #12935]
82865         * malloc/memusage.sh: Fix quoting in message.
82866         * debug/xtrace.sh: Likewise.
82868         * configure.in: Remove support for --experimental-malloc option, make
82869         it the default.
82870         * config.make.in: Likewise.
82871         * malloc/Makefile: Likewise.
82873 2011-06-27  Andreas Schwab  <schwab@redhat.com>
82875         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82876         two-byte characters.
82878 2011-06-27  Roland McGrath  <roland@hack.frob.com>
82880         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82881         AC_CACHE_CHECK invocation.
82882         * configure: Regenerated.
82884         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82886 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
82888         [BZ #12350]
82889         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
82890         bit from old_res_options.
82892         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82894         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82895         value type for setfct.
82897 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
82899         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82900         __gettimeofday instead of gettimeofday.
82902 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
82904         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82906 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
82908         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82910         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82911         info.
82913 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82916         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82917         strcpy-sse2-unaligned strncpy-sse2-unaligned
82918         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82919         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82920         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82921         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82922         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82923         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82924         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82925         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82926         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82927         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82928         (STRCPY): Support SSE2 and SSSE3 versions.
82930 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
82932         [BZ #12874]
82933         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82934         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82935         kernels which artificially limit size of requests.
82937 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82939         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82940         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82941         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82942         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82943         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82944         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82945         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82946         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82947         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82948         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82949         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82950         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82951         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82952         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82953         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82955         Enable unaligned load optimization for Intel Core i3, i5 and i7
82956         processors.
82957         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82958         Define.
82959         (index_Fast_Unaligned_Load): Define.
82960         (HAS_FAST_UNALIGNED_LOAD): Define.
82962 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
82964         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82966 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82968         [BZ #12907]
82969         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82970         until it is clear that the information is realy needed.
82971         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82973 2011-06-22  Andreas Schwab  <schwab@redhat.com>
82975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82977 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82979         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82980         /sys/devices/system/cpu/online if it is usable.
82982         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82983         reading the information from the /proc filesystem to once a second.
82985 2011-06-21  Andreas Jaeger  <aj@suse.de>
82987         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82988         NULL after inclusion of kernel headers.
82990 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
82992         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82993         calls to internal_setent.
82995         [BZ #12885]
82996         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82997         addresses using gethostbyname4_r ignore IPv4 addresses.
82999         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
83000         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
83002         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
83004 2011-06-20  David S. Miller  <davem@davemloft.net>
83006         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
83007         inclusions.
83008         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
83010         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
83011         (elf_irel): Use it.
83012         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
83013         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
83014         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
83015         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
83016         * sysdeps/x86_64/dl-irel.h: Likewise.
83018         * elf/dl-runtime.c: Use elf_ifunc_invoke.
83019         * elf/dl-sym.c: Likewise.
83021 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
83023         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
83024         need to dereference resplen2.
83026 2011-06-14  Andreas Schwab  <schwab@redhat.com>
83028         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
83030 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
83032         * Makeconfig: Define vardbdir and inst_vardbdir.
83033         * nss/Makefile: Add rules to install db-Makefile.
83035         * nss/nss_db/db-XXX.c: Cleanup.
83037         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
83038         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
83039         GLIBC_PRIVATE.
83040         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
83041         * nss/makedb.c: Implement -g option to specify that value strings
83042         are generated and should not be added to table iterated over for
83043         get*ent calls.
83044         * nss/nss_db/db-initgroups.c: New file.
83046         * nss/getent.c: Add support for initgroups lookups through getgrouplist
83047         interface.
83049         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
83050         (internal_getgrouplist): Adjust to name change.
83051         Update use_initgroups_entry if this is not the first call.
83052         * nss/databases.def: Add initgroups entry.
83054         * nss/makedb.c (compute_tables): Check result of multiple hash table
83055         sizes to minimize maximum chain length.
83057 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
83059         * Versions.def: Add entry for libnss_db.
83060         * shlib-versions: Likewise.
83061         * nss/Makefile: Add rules to build libnss_db.
83062         * nss/Versions: Add libnss_db information.  Organize libnss_files
83063         entries better.
83064         * nss/db-Makefile: Add gshadow support.  Change rules for the new
83065         makedb progra.  Some minor improvements to generate smaller files.
83066         * nss/nss_db/nss_db.h: Move NSS database header data structures to
83067         here from...
83068         * nss/makedb.c: ...here.
83069         Improve database format to be smaller and require less memory at
83070         runtime.
83071         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
83072         db anymore.
83073         * nss/nss_db/db-netgrp.c: Likewise.
83074         * nss/nss_db/db-open.c: Likewise.
83075         * nss/nss_files/flies-XXX.x: Adjust comments.
83076         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
83077         * nss/nss_files/files-grp.c: Likewise.
83078         * nss/nss_files/files-hosts.c: Likewise.
83079         * nss/nss_files/files-network.c: Likewise.
83080         * nss/nss_files/files-proto.c: Likewise.
83081         * nss/nss_files/files-pwd.c: Likewise.
83082         * nss/nss_files/files-rpc.c: Likewise.
83083         * nss/nss_files/files-service.c: Likewise.
83084         * nss/nss_files/files-sgrp.c: Likewise.
83085         * nss/nss_files/files-spwd.c: Likewise.
83086         * nss/nss_db/db-alias.c: Removed.
83087         * nss/nss_db/dummy-db.h: Removed.
83089 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
83091         * nss/makedb.c: Rewritten to not use database library.
83092         * nss/Makefile: Update to build new makedb program.
83094 2011-06-14  Andreas Jaeger  <aj@suse.de>
83096         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
83097         memset declaration.
83099 2011-06-10  Andreas Schwab  <schwab@redhat.com>
83101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
83102         tmpbuf.
83104 2011-06-10  Roland McGrath  <roland@hack.frob.com>
83106         * Makerules (shlib.lds): Fail if the linker script comes out empty.
83107         * elf/Makefile ($(objpfx)ld.so): Likewise.
83109         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
83110         Don't list ld.so twice in dependencies.
83112         * posix/bug-regex31.c: Include <stdlib.h>.
83114         * nscd/hstcache.c (cache_addhst): Remove unused variable.
83116         * nis/nss_compat/compat-spwd.c
83117         (getspent_next_nss_netgr): Remove unused variable.
83118         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
83120         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
83121         nonmembers" output to use the right array.
83123         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
83125         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
83127         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
83128         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83129         * catgets/gencat.c (read_input_file): Likewise.
83130         * locale/programs/locarchive.c (enlarge_archive): Likewise.
83132         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
83133         variable definition inside #if's controlling its use.
83135         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
83137         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
83139         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
83141         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
83142         unreachable code.
83144         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
83146         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
83147         * configure: Regenerated.
83149         * Makerules: Revert last change.
83150         * elf/Makefile: Likewise.
83152 2011-06-09  Roland McGrath  <roland@hack.frob.com>
83154         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
83155         * elf/Makefile ($(objpfx)librtld.os): Likewise.
83156         (reloc-link): Likewise.
83158 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
83160         * elf/Makefile: Add rules to build pldd.
83161         * elf/pldd.c: New file.
83162         * elf/pldd-xx.c: New file.
83164 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
83166         * version.h: Update for 2.15 development version.
83168 2011-06-07  David S. Miller  <davem@davemloft.net>
83170         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
83171         ifuncs.
83172         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
83173         elf_machine_lazy_rel): Likewise.
83174         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
83175         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
83176         elf_machine_lazy_rel): Likewise.
83177         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
83178         dl_hwcap via passed in argument.
83179         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
83180         Likewise.
83182 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83184         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
83186 2011-06-06  Roland McGrath  <roland@hack.frob.com>
83188         [BZ #12849]
83189         * manual/fdl-1.1.texi: New file, verbatim from:
83190         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83191         * manual/lgpl-2.1.texi: New file, verbatim from:
83192         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83193         * manual/Makefile (licenses): New variable, list those new file names.
83194         (texis): Use it.
83195         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83197         * manual/fdl.texi: File removed.
83198         * manual/lesser.texi: File removed.
83199         * manual/libc.texinfo (Copying, Documentation License):
83200         Use new @include file names, put @appendix directive before @include.
83202 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
83204         [BZ #12841]
83205         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83206         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83207         (mq_open): Add __NTH.
83209 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
83211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83212         Assume Intel Core i3/i5/i7 processor if AVX is available.
83214 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83216         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83217         typo.
83219 2011-05-31  Andreas Schwab  <schwab@redhat.com>
83221         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83222         memory.  Use alloca_account.  Fix memory leak when retrying.
83224 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83226         * version.h (RELEASE): Bump for 2.14 release.
83227         * include/features.h (__GLIBC_MINOR__): Bump to 14.
83229         * config.make.in (RANLIB): Remove entry.
83231 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
83233         * po/Makefile (po-sed-cmd): Add ksh to extensions.
83234         (libc.pot): Work around missing support for .ksh extension in xgettext.
83236         [BZ #12684]
83237         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83238         if both request failed.
83239         (send_dg): In case of server errors clear resplen or *resplen2.
83241         [BZ #12454]
83242         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83243         when there are multiple maps.
83244         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83245         (_dl_fini): Remove test here.
83247         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83249 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
83251         [BZ #12350]
83252         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83253         bit from old_res_options.
83254         (gaih_inet): Likewise.
83256         [BZ #11099]
83257         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83258         as signed.
83260         * resolv/res_init.c (res_setoptions): Make the code more compact.
83262         [BZ #11558]
83263         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83264         set RES_USEVC.
83266         [BZ #11634]
83267         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83269         * malloc/malloc.h: Mark malloc hook variables as deprecated.
83271         [BZ #11781]
83272         * malloc/malloc.h: Declare malloc hook variables as volatile.
83274         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83275         in last patch.
83277         [BZ #11799]
83278         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83279         raise in the comment.
83280         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83281         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83282         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83284 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
83286         [BZ #12811]
83287         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83288         grow the buffers more if it already has to be sufficient.
83289         (build_wcs_upper_buffer): Likewise.
83290         * posix/regexec.c (check_matching): Likewise.
83291         (clean_state_log_if_needed): Likewise.
83292         (extend_buffers): Don't enlarge buffers beyond size of the input
83293         buffer.
83294         Patches mostly by Emil Wojak <emil@wojak.eu>.
83295         * posix/bug-regex32.c: New file.
83296         * posix/Makefile (tests): Add bug-regex32.
83298         * locale/findlocale.c (_nl_find_locale): Return right away if
83299         _nl_explode_name failed.
83300         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83302         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83304         * debug/xtrace.sh: Unify messages.
83305         * malloc/memusage.sh: Likewise.
83307         [BZ #12813]
83308         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83309         time symbol from vDSO.  Substitute with vsyscall if not available.
83310         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83311         __vdso_time.
83313         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83314         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83315         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83316         Add sendmmsg and internal_sendmmsg.
83317         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83318         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83319         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83321         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83322         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83323         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83325 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
83327         [BZ #12813]
83328         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83329         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
83330         available.
83331         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83332         __vdso_getcpu.
83334         [BZ #12814]
83335         * iconvdata/Makefile (tests): Add bug-iconv9.
83336         * iconvdata/bug-iconv9.c: New file.
83338 2011-05-27  Andreas Schwab  <schwab@redhat.com>
83340         [BZ #12814]
83341         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83343 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
83345         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83346         (struct user_regs_struct): Change intcs field back to cs.
83348 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
83350         * po/ja.po: Update from translation team.
83352 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
83354         [BZ #12795]
83355         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83356         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83358 2011-05-20  Andreas Schwab  <schwab@redhat.com>
83360         * stdlib/longlong.h: Update from GCC.
83362 2011-05-23  Andreas Schwab  <schwab@redhat.com>
83364         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83365         parameter name.
83366         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83367         Add parameter name.
83368         (__sysconf): Pass it down.
83370 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
83372         [BZ #12671]
83373         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83374         some situations.
83375         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83376         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83377         add in in __libc_use_alloca calls.  Adjust callers.
83378         (glob): Use malloc in some situations.
83380         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83381         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83382         pltexit.
83384 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
83386         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83387         and CLOCK_BOOTTIME_ALARM.
83389         [BZ #12782]
83390         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83391         is returned.
83393         * string/_strerror.c (__strerror_r): Print negative errors as signed
83394         numbers.
83396         [BZ #12777]
83397         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83398         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83399         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83401         * configure.in: Fix typo in redirection and correct removal of test
83402         files in two cases.
83404         [BZ #12788]
83405         * locale/setlocale.c (new_composite_name): Fix test to check for
83406         identical name of all categories.
83408         [BZ #12792]
83409         * libio/filedoalloc.c (local_isatty): New function.
83410         (_IO_file_doallocate): Use local_isatty.
83411         * stdio-common/perror.c (perror): In case a new stream is used
83412         forward the stream error.
83413         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83414         error flag.
83416 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
83418         [BZ #11884]
83419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83420         alloca.
83421         * include/alloca.h (extend_alloca_account): Define.
83423         [BZ #11857]
83424         * posix/regex.h: Fix comments with documentation of user-accessible
83425         fields after compilation and describe correct free'ing of pattern
83426         after re_compile_pattern.
83427         Patch by Reuben Thomas <rrt@sc3d.org>.
83429 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
83431         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83432         and -mno-altivec to prevent the compiler from using Altivec and/or
83433         VSX instructions when the corresponding registers are not available.
83435 2011-05-19  Andreas Schwab  <schwab@redhat.com>
83437         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83439 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
83441         * libio/freopen.c (freopen): Use __dup2, not dup2.
83442         * libio/freopen64.c (freopen64): Likewise.
83444 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
83446         [BZ #12775]
83447         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83448         * math/Makefile (tests): Add test-powl.
83449         (CFLAGS-test-powl.c): Define.
83450         * math/test-powl.c: New file.
83452 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
83454         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83456 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
83458         [BZ #11837]
83459         * iconvdata/gb18030.c: Update to GB18020-2005.
83461 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
83463         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83464         RE_SYNTAX_POSIX_AWK): Update to match recent development.
83465         Patch by Aharon Robbins <arnold@skeeve.com>.
83467         [BZ #11892]
83468         * stdlib/putenv.c (putenv): Don't always create copy of the variable
83469         on the stack.
83471         [BZ #11895]
83472         * misc/pselect.c (__pselect): Handle timeout value errors hidden
83473         through underflows.
83475         [BZ #12766]
83476         * misc/error.c (error_at_line): Ensure file_name and old_file_name
83477         point to strings before performing equality test for error_one_per_line
83478         mode.
83480         [BZ #11697]
83481         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83483         [BZ #11820]
83484         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83485         (struct user_fpregs_struct): Avoid __uint*_t types.
83487         [BZ #6420]
83488         * malloc/mtrace.c (tr_where): Add additional parameter to point to
83489         symbol info.  Use it instead of calling _dl_addr locally.
83490         (lock_and_info): New function.
83491         (tr_freehook): Call lock_and_info and pass symbol info as additional
83492         parameter to tr_where.
83493         (tr_mallochook): Likewise.
83494         (tr_reallochook): Likewise.
83495         (tr_memalignhook): Likewise.
83497         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
83498         used and couldn't be at all thread-safe.
83500 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
83502         * libio/freopen.c (freopen): Don't close old file descriptor
83503         before the new one is opened.  Instead dup the new file descriptor
83504         to the old one after the new stream is created.
83505         * libio/freopen64.c (freopen64): Likewise.
83506         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83507         * libio/fileops.c (_IO_new_file_close_it): Handle new
83508         _IO_FLAGS2_NOCLOSE flag.
83509         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83510         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83511         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83512         _IO_FLAGS2_NOCLOSE flag.
83513         * include/unistd.h: Add hidden_proto for dup3.
83514         Define __have_dup3.
83515         * io/dup3.c: Define hidden symbol.
83516         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83518         [BZ #7101]
83519         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83520         when an incomplete long option is used.
83521         * posix/tst-getopt_long1.c: New file.
83522         * posix/Makefile (tests): Add tst-getopt_long1.
83524         [BZ #10138]
83525         * scripts/config.guess: Update from autoconf-2.68.
83526         * scripts/config.sub: Likewise.
83528         [BZ #10157]
83529         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83530         tests into ...
83531         (has_cpuclock): ...this.  New function.
83532         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83533         macro here based on has_cpuclock code.
83535         [BZ #10149]
83536         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83537         First byte (not low byte) is now always NUL.
83538         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83540         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83541         Use non-cancelable interfaces.
83543         [BZ #9809]
83544         * locale/iso-639.def: Add entry for Sorani.
83546         [BZ #11901]
83547         * include/stdlib.h: Move include protection to the right place.
83548         Define abort_msg_s.  Declare __abort_msg with it.
83549         * stdlib/abort.c (__abort_msg): Adjust type.
83550         * assert/assert.c (__assert_fail_base): New function.  Majority
83551         of code from __assert_fail.  Allocate memory for __abort_msg with
83552         mmap.
83553         (__assert_fail): Now call __assert_fail_base.
83554         * assert/assert-perr.c: Remove bulk of implementation.  Use
83555         __assert_fail_base.
83556         * include/assert.hL Declare __assert_fail_base.
83557         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83558         mmap.
83559         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83561 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
83563         [BZ #11952]
83564         [BZ #12453]
83565         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83566         until all modules are registered in the DTV.
83567         * elf/Makefile: Add rules to build and run tst-tls19.
83568         * elf/tst-tls19.c: New file.
83569         * elf/tst-tls19mod1.c: New file.
83570         * elf/tst-tls19mod2.c: New file.
83571         * elf/tst-tls19mod3.c: New file.
83572         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83574         [BZ #12083]
83575         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83576         correctly.
83578         [BZ #12601]
83579         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83580         two-byte sequence errors.
83581         * iconvdata/Makefile (tests): Add bug-iconv8.
83582         * iconvdata/bug-iconv8.c: New file.
83584         [BZ #12626]
83585         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83586         buf2 definition.
83588         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83590         [BZ #12432]
83591         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83592         (dummy_getcfa): New function.
83593         (init): Get _Unwind_GetCFA address, use dummy if not found.
83594         (backtrace_helper): In recursion check, also check whether CFA changes.
83595         (__backtrace): Completely initialize arg.
83597         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83598         storing incomplete byte sequence in state object.  Avoid testing for
83599         guaranteed too small input if we know there is enough data available.
83601 2011-05-11  Andreas Schwab  <schwab@redhat.com>
83603         * Makeconfig (+link-pie): Indent.
83604         * Rules (binaries-pie): Define if $(have-fpie) and
83605         $(build-shared).
83606         (binaries-shared): Also filter out $(binaries-pie).
83607         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83608         * nscd/Makefile (others-pie): Add nscd.
83609         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83610         ($(objpfx)nscd): Remove command override.
83611         * login/Makefile (others-pie): Add pt_chown.
83612         ($(objpfx)pt_chown): Remove command override.
83613         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83614         remove command overrides.
83616 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
83618         * libio/tst_putwc.c: Fix error messages.
83620         [BZ #12724]
83621         * libio/fileops.c (_IO_new_file_close_it): Always flush when
83622         currently writing and seek to current position when not.
83623         * libio/Makefile (tests): Add bug-fclose1.
83624         * libio/bug-fclose1.c: New file.
83626 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
83628         [BZ #12511]
83629         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83630         don't set DF_1_NODELETE here.
83631         (do_lookup_x): When entering new entry test for copy relocation
83632         and if necessary set DF_1_NODELETE flag.
83633         * elf/tst-unique4.cc: New file.
83634         * elf/tst-unique4.h: New file.
83635         * elf/tst-unique4lib.cc: New file.
83636         * elf/Makefile: Add rules to build and run tst-unique4.
83637         Patch by Piotr Bury <pbury@goahead.com>.
83639 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
83641         [BZ #12052]
83642         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83644         [BZ #12625]
83645         * misc/mntent_r.c (addmntent): Flush the stream after the output
83647         [BZ #12393]
83648         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83649         (is_trusted_path_normalize): Skip initial colon.  Append slash
83650         to empty buffer.  Duplicate is_trusted_path code but allow
83651         constructed patch to be prefix.
83652         (is_dst): Allow $ORIGIN followed by /.
83653         (_dl_dst_substitute): Correct clearing of check_for_trusted.
83654         Correct testing of result of is_trusted_path_normalize
83655         (decompose_rpath): Fix warning.
83657 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
83659         [BZ #11257]
83660         * grp/initgroups.c (internal_getgrouplist): When we found the service
83661         list through the initgroups entry in nsswitch.conf do not always
83662         continue on a successful lookup.  Don't always use the
83663         __nss_group_database value if it is set.
83664         * nss/nsswitch.conf (initgroups): Change action for successful db
83665         lookup to continue for compatibility.
83667 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
83669         [BZ #11532]
83670         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83671         and CP774 modules.
83672         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83673         and CP774 modules.
83674         * iconvdata/tst-tables.sh: Likewise.
83675         * iconvdata/cp770.c: New file.
83676         * iconvdata/cp771.c: New file.
83677         * iconvdata/cp772.c: New file.
83678         * iconvdata/cp773.c: New file.
83679         * iconvdata/cp774.c: New file.
83680         * iconvdata/testdata/CP770: New file.
83681         * iconvdata/testdata/CP770..UTF8: New file.
83682         * iconvdata/testdata/CP771: New file.
83683         * iconvdata/testdata/CP771..UTF8: New file.
83684         * iconvdata/testdata/CP772: New file.
83685         * iconvdata/testdata/CP772..UTF8: New file.
83686         * iconvdata/testdata/CP773: New file.
83687         * iconvdata/testdata/CP773..UTF8: New file.
83688         * iconvdata/testdata/CP774: New file.
83689         * iconvdata/testdata/CP774..UTF8: New file.
83691         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83692         END CHARMAP line.
83693         * iconvdata/gen-8bit-gap.sh: Likewise.
83694         * iconvdata/gen-8bit.sh: Likewise.
83696         * locale/iso-639.def: Add ary entry.
83698         [BZ #11258]
83699         * locale/C-translit.h.in: Add U20A1 transliteration.
83701         [BZ #12178]
83702         * locale/iso-639.def: Add wae entry.
83703         Patch by Kevin Bortis <bortis@translate-wae.ch>.
83705         [BZ #12545]
83706         * locale/programs/localedef.c (construct_output_path): Use ssize_t
83707         for n.
83709         [BZ #12711]
83710         * locale/C-translit.h.in: Add entry for U20B9.
83711         Patch by pravin.d.s@gmail.com.
83713 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
83715         [BZ #12713]
83716         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83717         ENAMETOOLONG use generic getcwd.
83718         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
83719         in rtld.  Use *stat64.
83720         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83721         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83722         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83723         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83724         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83725         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83726         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83727         __fstatat64 macros.
83728         * include/dirent.h: Add libc_hidden_proto for rewinddir.
83729         * dirent/rewinddir.c: Add libc_hidden_def.
83730         * sysdeps/mach/hurd/rewinddir.c: Likewise.
83731         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
83733         * include/dirent.h (__alloc_dir): Add flags parameter.
83734         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83735         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83736         __alloc_dir.
83737         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
83738         from fdopendir if O_CLOEXEC is already set.
83740 2011-03-15  Alan Modra  <amodra@gmail.com>
83742         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83743         l_tls_firstbyte_offset non-zero.  Save padding offset in
83744         l_tls_firstbyte_offset for later use.
83745         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83746         freeing static tls block.
83748 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
83750         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83751         where #ifdef was intended.  The intent is to prevent ARG_MAX from
83752         being defined by the kernel headers.
83754 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
83756         [BZ #12734]
83757         * resolv/resolv.h: Define RES_NOTLDQUERY.
83758         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83759         no-tld-query and set RES_NOTLDQUERY.
83760         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83761         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83762         modern BIND to search name as TLD unless forbidden.
83764 2011-05-07  Petr Baudis  <pasky@suse.cz>
83765             Ulrich Drepper  <drepper@gmail.com>
83767         [BZ #12393]
83768         * elf/dl-load.c (fillin_rpath): Move trusted path check...
83769         (is_trusted_path): ...to here.
83770         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83771         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83772         using is_trusted_path_normalize() in setuid scripts.
83774 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83776         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83777         __BEGIN/__END_DECLS.
83779 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
83781         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83782         NSS_STATUS_NOTFOUND if no record was found.
83784 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83786         * sunrpc/Makefile (headers): Add rpc/netdb.h.
83787         (headers-not-in-tirpc): Remove rpc/netdb.h
83788         * resolv/netdb.h: Revert last change.
83790 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83792         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83793         circular dependency between libgcc.a and libc.a.
83795 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83797         * resolv/netdb.h: Don't include <rpc/netdb.h>.
83798         * nis/Makefile: Don't install rpcsvc/*.
83799         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83800         instead of <rpc/types.h>.
83801         (MAXHOSTNAMELEN): Define.
83803 2011-05-03  Andreas Schwab  <schwab@redhat.com>
83805         * elf/ldconfig.c (add_dir): Don't crash on empty path.
83807 2011-04-28  Maciej Babinski  <mbabinski@google.com>
83809         [BZ #12714]
83810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83811         gethostbyname4_r when IPv6 results are possible.
83813 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
83815         [BZ #12723]
83816         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83817         _PC_PIPE_BUF handling.
83819 2011-04-30  Bruno Haible  <bruno@clisp.org>
83821         [BZ #12717]
83822         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83823         * resolv/netdb.h (getnameinfo): Change type of flags parameter
83824         to 'int'.
83825         * inet/getnameinfo.c (getnameinfo): Likewise.
83827 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
83829         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83830         to groups setting in database lookup.
83831         * nss/nsswitch.conf: Add initgroups entry.
83833 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
83835         [BZ #12685]
83836         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83837         mode string.
83838         Patch by Eric Blake <eblake@redhat.com>.
83840 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
83842         * sunrpc/Makefile (need-export-routines): Add svc_run.
83843         (routines): Remove svc_run.
83844         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83845         * sunrpc/clnt_perr.c (clnt_perrno): Export.
83846         * sunrpc/svc_run.c (svc_run): Likewise.
83847         * sunrpc/svc_udp.c (svcudp_create): Likewise.
83849 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
83851         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83852         problem in reallocation in last patch.
83854 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
83856         * sunrpc/Makefile: Move inclusion of Rules.
83858 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83860         * nss/nss_files/files-initgroups.c: New file.
83861         * nss/Makefile (libnss_files-routines): Add files-initgroups.
83862         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83863         _nss_files_initgroups_dyn.
83865 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
83867         * elf/elf.h (R_ARM_IRELATIVE): Define.
83869 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83871         * po/ru.po: Update from translation team.
83873 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83875         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83876         dependencies.
83878 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
83880         [BZ #12653]
83881         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83882         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83883         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83884         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83885         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83887 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
83889         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83890         differing bytes.
83891         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83892         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83893         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83895 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83897         [BZ #12420]
83898         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83899         storing it.
83900         * stdlib/bug-getcontext.c: New file.
83901         * stdlib/Makefile: Add rules to build and run bug-getcontext.
83903 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83905         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83906         instructions into .machine "z9-109".
83907         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83908         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83910 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83912         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83913         between environment variables and auxiliary vector.
83915 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
83917         * Makefile: Add rules to build linkobj/libc.so.
83918         * include/libc-symbols.h: Define libc_hidden_nolink.
83919         * include/rpc/auth.h: Mark functions which are to be hidden.
83920         * include/rpc/auth_des.h: Likewise.
83921         * include/rpc/auth_unix.h: Likewise.
83922         * include/rpc/clnt.h: Likewise.
83923         * include/rpc/des_crypt.h: Likewise.
83924         * include/rpc/key_prot.h: Likewise.
83925         * include/rpc/pmap_clnt.h: Likewise.
83926         * include/rpc/pmap_prot.h: Likewise.
83927         * include/rpc/pmap_rmt.h: Likewise.
83928         * include/rpc/rpc_msg.h: Likewise.
83929         * include/rpc/svc.h: Likewise.
83930         * include/rpc/svc_auth.h: Likewise.
83931         * include/rpc/xdr.h: Likewise.
83932         * nis/Makefile: Link all DSOs against linkobj/libc.so.
83933         * nss/Makefile: Likewise.
83934         * sunrpc/Makefile: Don't install headers.  Build library with normal
83935         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
83936         * sunrpc/auth_des.c: Hide exported symbols by default, export some
83937         for the compat linking library.  Remove use of INTDEF/INTUSE.
83938         * sunrpc/auth_none.c: Likewise.
83939         * sunrpc/auth_unix.c: Likewise.
83940         * sunrpc/authdes_prot.c: Likewise.
83941         * sunrpc/authuxprot.c: Likewise.
83942         * sunrpc/clnt_gen.c: Likewise.
83943         * sunrpc/clnt_perr.c: Likewise.
83944         * sunrpc/clnt_raw.c: Likewise.
83945         * sunrpc/clnt_simp.c: Likewise.
83946         * sunrpc/clnt_tcp.c: Likewise.
83947         * sunrpc/clnt_udp.c: Likewise.
83948         * sunrpc/clnt_unix.c: Likewise.
83949         * sunrpc/des_crypt.c: Likewise.
83950         * sunrpc/des_soft.c: Likewise.
83951         * sunrpc/get_myaddr.c: Likewise.
83952         * sunrpc/key_call.c: Likewise.
83953         * sunrpc/key_prot.c: Likewise.
83954         * sunrpc/netname.c: Likewise.
83955         * sunrpc/pm_getmaps.c: Likewise.
83956         * sunrpc/pm_getport.c: Likewise.
83957         * sunrpc/pmap_clnt.c: Likewise.
83958         * sunrpc/pmap_prot.c: Likewise.
83959         * sunrpc/pmap_prot2.c: Likewise.
83960         * sunrpc/pmap_rmt.c: Likewise.
83961         * sunrpc/publickey.c: Likewise.
83962         * sunrpc/rpc_cmsg.c: Likewise.
83963         * sunrpc/rpc_common.c: Likewise.
83964         * sunrpc/rpc_dtable.c: Likewise.
83965         * sunrpc/rpc_prot.c: Likewise.
83966         * sunrpc/rpc_thread.c: Likewise.
83967         * sunrpc/rtime.c: Likewise.
83968         * sunrpc/svc.c: Likewise.
83969         * sunrpc/svc_auth.c: Likewise.
83970         * sunrpc/svc_authux.c: Likewise.
83971         * sunrpc/svc_raw.c: Likewise.
83972         * sunrpc/svc_run.c: Likewise.
83973         * sunrpc/svc_simple.c: Likewise.
83974         * sunrpc/svc_tcp.c: Likewise.
83975         * sunrpc/svc_udp.c: Likewise.
83976         * sunrpc/svc_unix.c: Likewise.
83977         * sunrpc/svcauth_des.c: Likewise.
83978         * sunrpc/xcrypt.c: Likewise.
83979         * sunrpc/xdr.c: Likewise.
83980         * sunrpc/xdr_array.c: Likewise.
83981         * sunrpc/xdr_float.c: Likewise.
83982         * sunrpc/xdr_intXX_t.c: Likewise.
83983         * sunrpc/xdr_mem.c: Likewise.
83984         * sunrpc/xdr_rec.c: Likewise.
83985         * sunrpc/xdr_ref.c: Likewise.
83986         * sunrpc/xdr_sizeof.c: Likewise.
83987         * sunrpc/xdr_stdio.c: Likewise.
83989 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
83991         [BZ #12650]
83992         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83993         * sysdeps/ia64/dl-tls.h: Likewise.
83994         * sysdeps/powerpc/dl-tls.h: Likewise.
83995         * sysdeps/s390/dl-tls.h: Likewise.
83996         * sysdeps/sh/dl-tls.h: Likewise.
83997         * sysdeps/sparc/dl-tls.h: Likewise.
83998         * sysdeps/x86_64/dl-tls.h: Likewise.
83999         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
84001 2011-03-14  Andreas Schwab  <schwab@redhat.com>
84003         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
84004         rpath element also skip the following colon.
84005         (expand_dynamic_string_token): Add is_path parameter and pass
84006         down to DL_DST_REQUIRED and _dl_dst_substitute.
84007         (decompose_rpath): Call expand_dynamic_string_token with
84008         non-zero is_path.  Ignore empty rpaths.
84009         (_dl_map_object_from_fd): Call expand_dynamic_string_token
84010         with zero is_path.
84012 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
84014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
84015         Make cancelable.
84017 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
84019         [BZ #12655]
84020         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
84021         Patch by Filipe David Manana <fdmanana@apache.org>.
84023 2011-04-07  Andreas Schwab  <schwab@redhat.com>
84025         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
84026         Maintain aligned stack.
84027         (CHECK_RSP): Remove unused macro.
84029 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
84031         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
84032         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
84034 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
84036         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
84038         * include/features.h: Mention __USE_XOPEN2K8 in comment.
84040 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
84042         [BZ #12518]
84043         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
84044         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
84045         * sysdeps/x86_64/memmove.c: New file.
84046         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
84047         (memcpy): Renamed to ...
84048         (__new_memcpy): This.
84049         (memcpy): Provide GLIBC_2_14 memcpy.
84050         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
84051         (memcpy): Provide GLIBC_2_2_5 memcpy.
84053 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84055         [BZ #12631]
84056         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
84058 2011-03-30  Andreas Schwab  <schwab@redhat.com>
84060         * misc/syncfs.c: New file.
84061         * misc/Makefile (routines): Add syncfs.
84062         * posix/unistd.h: Declare syncfs.
84063         * sysdeps/unix/syscalls.list: Add syncfs.
84065 2011-04-01  Andreas Schwab  <schwab@redhat.com>
84067         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
84068         open_by_handle_at.
84069         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84070         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84071         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84072         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84073         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84074         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
84075         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84077 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84079         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
84080         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84081         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
84082         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84083         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84085         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84087         * io/Makefile: Compile fallocate.c, fallocate64.c, and
84088         sync_file_range.c with -fexceptions.
84089         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
84090         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
84091         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
84092         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84093         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
84094         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
84095         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
84096         sync_file_range as cancellation point
84097         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
84098         now a wrapper around __call_sync_file_range with cancellation handling.
84099         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
84100         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
84101         function name to __call_sync_file_range.
84102         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
84103         Add call_sync_file_range.
84105 2011-04-01  Andreas Schwab  <schwab@redhat.com>
84107         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84108         bits/timex.h.
84110 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84112         * iconv/iconv.h: Fix typo in comment.
84113         * io/fcntl.h: Likewise.
84114         * libio/stdio.h: Likewise.
84115         * posix/spawn.h: Likewise.
84116         * posix/unistd.h: Likewise.
84117         * stdlib/stdlib.h: Likewise.
84118         * time/time.h: Likewise.
84119         * wcsmbs/wchar.h: Likewise.
84121         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
84122         open_by_handle): Add.
84123         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
84124         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
84125         Augment a few comments.
84126         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84127         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84128         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84130         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84131         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
84132         open_by_handle.
84134         * io/fcntl.h (AT_EMPTY_PATH): Define.
84136 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
84138         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
84139         * sysdeps/unix/sysv/linux/bits/time.h: New file.
84140         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
84141         to...
84142         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
84143         * Versions.def: Add GLIBC_2.14.
84144         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
84145         Export.
84147 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
84149         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
84150         round counter.
84151         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84153 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84155         [BZ #12597]
84156         * string/test-strncmp.c (do_page_test): New function.
84157         (check2): Likewise.
84158         (test_main): Call check2.
84159         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
84161 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
84163         [BZ #12587]
84164         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
84165         Handle cache information in CPU leaf 4.
84166         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84168 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
84170         [BZ #12583]
84171         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
84172         character representation.
84173         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
84175 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
84177         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
84178         END(__isnan) to END(__isnanf) to match function entry point/label
84179         EALIGN(__isnanf,...).
84181 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
84183         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
84185 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
84187         [BZ #12510]
84188         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84189         copy from the symbol referenced in the relocation to initialize the
84190         used variable.
84191         Patch by Piotr Bury <pbury@goahead.com>.
84192         * elf/Makefile: Add rules to build and tst-unique3.
84193         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84194         * elf/tst-unique3.cc: New file.
84195         * elf/tst-unique3.h: New file.
84196         * elf/tst-unique3lib.cc: New file.
84197         * elf/tst-unique3lib2.cc: New file.
84199         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84201 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
84203         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84204         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
84205         to _start.
84207 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
84209         * elf/dl-load.c (_dl_map_object): If we are looking for the first
84210         to-be-loaded object along a path to loader is ld.so.
84212 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84213             Ulrich Drepper  <drepper@gmail.com>
84215         * sysdeps/x86_64/memset.S: After aligning destination, code
84216         branches to different locations depending on the value of
84217         misalignment, when multiarch is enabled. Fix this.
84219 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84221         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84222         Set _x86_64_preferred_memory_instruction for AMD processsors.
84223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84224         Set bit_Prefer_SSE_for_memop for AMD processors.
84226 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
84228         * libio/fmemopen.c (fmemopen): Optimize a bit.
84230 2011-03-03  Andreas Schwab  <schwab@redhat.com>
84232         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84234 2011-03-03  Roland McGrath  <roland@redhat.com>
84236         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84238 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
84240         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84241         __bzero_ultra1 instead of __memset_ultra1.
84243 2011-02-23  Andreas Schwab  <schwab@redhat.com>
84244             Ulrich Drepper  <drepper@gmail.com>
84246         [BZ #12509]
84247         * include/link.h (struct link_map): Add l_orig_initfini.
84248         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84249         returning unsuccessfully.
84250         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84251         close of a file loaded at startup, restore the original l_initfini
84252         list.
84253         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84254         list, store the pointer.
84255         * elf/Makefile ($(objpfx)noload-mem): New rule.
84256         (noload-ENV): Define.
84257         (tests): Add $(objpfx)noload-mem.
84258         * elf/noload.c: Include <memcheck.h>.
84259         (main): Call mtrace.  Close all opened handles.
84261 2011-02-17  Andreas Schwab  <schwab@redhat.com>
84263         [BZ #12454]
84264         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84265         dependencies are missing.
84267 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84269         Fix __if_freereq crash: Unlike the generic version which uses free,
84270         Hurd needs munmap.
84271         * sysdeps/mach/hurd/ifreq.h: New file.
84273 2011-01-27  Petr Baudis  <pasky@suse.cz>
84274             Ulrich Drepper  <drepper@gmail.com>
84276         [BZ 12445]#
84277         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84278         to extend_alloca().
84279         * stdio-common/bug23.c: New file.
84280         * stdio-common/Makefile (tests): Add bug23.
84282 2010-09-28  Andreas Schwab  <schwab@redhat.com>
84283             Ulrich Drepper  <drepper@gmail.com>
84285         [BZ #12489]
84286         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84287         before performing relro protection.  At old place add assertion
84288         to make sure nothing changed.
84290 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
84291             Glauber de Oliveira Costa  <glommer@gmail.com>
84293         * elf/elf.h: Add new ARM TLS relocs.
84295 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
84297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84298         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84299         cast from r3.
84300         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
84301         'tests' variable.
84302         * sysdeps/wordsize-64/tst-writev.c: New file.
84304 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
84306         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84307         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84308         insns in _dl_start to prevent a TOC reference before relocs are
84309         resolved.
84311 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
84313         [BZ #12469]
84314         * Makeconfig: Remove RANLIB definition.
84315         * Makerules: Don't use RANLIB.
84316         * aclocal.m4: Remove ranlib test.
84317         * configure.in: No need to check for ranlib.
84318         * elf/rtld-Rules: Don't use RANLIB.
84320 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84322         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84323         protection macro.
84324         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84325         inclusion protection macro.
84327         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84328         SIGRTMIN and SIGRTMAX and print information in that case only when
84329         SIGRTMIN is defined.
84331 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
84333         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84334         arginfo fn returning -1.
84336         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84337         and thousands string is zero terminated.
84339 2011-02-03  Andreas Schwab  <schwab@redhat.com>
84341         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84342         sysdeps/unix/sysv/linux/bits/socket.h.
84344 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84346         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84347         (__CPU_COUNT): Remove old macros.
84348         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84349         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84350         (__CPU_ALLOC, __CPU_FREE): Add macros.
84351         (__sched_cpualloc, __sched_cpufree): Add declarations.
84353 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
84355         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84356         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84357         * nscd/aicache.c (addhstaiX): Return timeout of added value.
84358         (readdhstai): Return value of addhstaiX call.
84359         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84360         (addgrbyX): Return value returned by cache_addgr.
84361         (readdgrbyname): Return value returned by addgrbyX.
84362         (readdgrbygid): Likewise.
84363         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84364         (addpwbyX): Return value returned by cache_addpw.
84365         (readdpwbyname): Return value returned by addhstbyX.
84366         (readdpwbyuid): Likewise.
84367         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84368         (addservbyX): Return value returned by cache_addserv.
84369         (readdservbyname): Return value returned by addservbyX:
84370         (readdservbyport): Likewise.
84371         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84372         (addhstbyX): Return value returned by cache_addhst.
84373         (readdhstbyname): Return value returned by addhstbyX.
84374         (readdhstbyaddr): Likewise.
84375         (readdhstbynamev6): Likewise.
84376         (readdhstbyaddrv6): Likewise.
84377         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84378         (readdinitgroups): Return value returned by addinitgroupsX.
84379         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84380         (prune_cache): Keep track of timeout value of re-added entries.
84381         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84382         * nscd/nscd.h: Adjust prototypes of readd* functions.
84384 2011-02-04  Roland McGrath  <roland@redhat.com>
84386         * nis/nis_server.c (nis_servstate): Use the right name for 0.
84387         (nis_stats): Likewise.
84388         * nis/nis_modify.c (nis_modify): Likewise.
84389         * nis/nis_remove.c (nis_remove): Likewise.
84390         * nis/nis_add.c (nis_add): Likewise.
84392         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84394         * posix/fnmatch_loop.c: Add some consts.
84396         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84398 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
84400         [BZ #12460]
84401         * config.make.in (config-cflags-novzeroupper): Define.
84402         * configure.in: Substitute libc_cv_cc_novzeroupper.
84403         * elf/Makefile (AVX-CFLAGS): Define.
84404         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84405         (CFLAGS-tst-auditmod4a.c): Likewise.
84406         (CFLAGS-tst-auditmod4b.c): Likewise.
84407         (CFLAGS-tst-auditmod6b.c): Likewise.
84408         (CFLAGS-tst-auditmod6c.c): Likewise.
84409         (CFLAGS-tst-auditmod7b.c): Likewise.
84410         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84412 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
84414         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84415         function to the callback.
84416         Patch partly by Jiri Olsa <jolsa@redhat.com>.
84418 2011-02-02  Andreas Schwab  <schwab@redhat.com>
84420         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84421         of errno.
84423 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
84425         [BZ #11724]
84426         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84427         of constructors.
84428         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84429         of destructors.
84430         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84432         [BZ #11724]
84433         * elf/Makefile: Add rules to build and run new test.
84434         * elf/tst-initorder.c: New file.
84435         * elf/tst-initorder.exp: New file.
84436         * elf/tst-initordera1.c: New file.
84437         * elf/tst-initordera2.c: New file.
84438         * elf/tst-initordera3.c: New file.
84439         * elf/tst-initordera4.c: New file.
84440         * elf/tst-initorderb1.c: New file.
84441         * elf/tst-initorderb2.c: New file.
84442         * elf/tst-order-a1.c: New file.
84443         * elf/tst-order-a2.c: New file.
84444         * elf/tst-order-a3.c: New file.
84445         * elf/tst-order-a4.c: New file.
84446         * elf/tst-order-b1.c: New file.
84447         * elf/tst-order-b2.c: New file.
84448         * elf/tst-order-main.c: New file.
84449         New test case by George Gensure <werkt0@gmail.com>.
84451 2010-10-01  Andreas Schwab  <schwab@redhat.com>
84453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84454         decoding ACE if AI_CANONIDN.
84456 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
84458         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84460 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
84462         * version.h (RELEASE): Bump for 2.13 release.
84463         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84465         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84467         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84468         MADV_NOHUGEPAGE.
84469         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84470         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84471         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84472         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84473         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84474         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84476         * posix/getconf.c: Update copyright year.
84477         * catgets/gencat.c: Likewise.
84478         * csu/version.c: Likewise.
84479         * debug/catchsegv.sh: Likewise.
84480         * debug/xtrace.sh: Likewise.
84481         * elf/ldconfig.c: Likewise.
84482         * elf/ldd.bash.in: Likewise.
84483         * elf/sprof.c (print_version): Likewise.
84484         * iconv/iconv_prog.c: Likewise.
84485         * iconv/iconvconfig.c: Likewise.
84486         * locale/programs/locale.c: Likewise.
84487         * locale/programs/localedef.c: Likewise.
84488         * malloc/memusage.sh: Likewise.
84489         * malloc/mtrace.pl: Likewise.
84490         * nscd/nscd.c (print_version): Likewise.
84491         * nss/getent.c: Likewise.
84493         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84494         PF_CAIF, and PF_ALG.
84495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84497 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
84499         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84500         (modules-names): Use them.
84501         (ifunc-test-modules, ifunc-pie-tests): Define.
84502         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84503         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84504         (test-extras): Likewise.
84505         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84506         $(compile-command.c).
84507         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84508         (all-built-dso): Define.
84509         (check-textrel.out, check-execstack.out): Depend on it.
84511         * configure.in: Don't override --enable-multi-arch.
84513 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
84515         [BZ #6812]
84516         * nscd/hstcache.c (tryagain): Define.
84517         (cache_addhst): Return tryagain not notfound for temporary errors.
84518         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84519         failed.
84521 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
84523         [BZ #10563]
84524         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84525         to make the syscall.
84526         * sysdeps/unix/sysv/linux/setgroups.c: New file.
84528         [BZ #12378]
84529         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84530         and fall back to matching as normal character if the string ends before
84531         the matching ']' is found.  This is what POSIX requires.
84532         * posix/testfnm.c: Adjust test result.
84533         * posix/globtest.sh: Adjust test result.  Add new test.
84534         * posix/tst-fnmatch.input: Likewise.
84535         * posix/tst-fnmatch2.c: Add new test.
84537 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
84539         * elf/Makefile (check-execstack): Revert last change.  Depend on
84540         check-execstack.h.
84541         (check-execstack.h): New target.
84542         (generated): Add check-execstack.h.
84543         * elf/check-execstack.c: Include "check-execstack.h".
84544         (main): Revert last change.
84545         (handle_file): Return zero if GNU_STACK is absent and
84546         DEFAULT_STACK_PERMS doesn't include PF_X.
84548 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
84550         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84551         in child fails because the descriptor is already closed.
84552         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84553         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84554         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84556         [BZ #12397]
84557         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84558         syscall.
84560         [BZ #10484]
84561         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84562         temporary buffer used to handle multi lookups locally.
84563         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84565 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84567         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84568         loader is ld.so.
84570 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
84572         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84573         alignment for SSE2.
84575 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84577         [BZ #12394]
84578         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84579         characters.  When rounding increased number of integer digits recompute
84580         number of groups.
84581         * stdio-common/tst-grouping.c: New file.
84582         * stdio-common/Makefile: Add rules to build and run tst-grouping.
84584 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
84586         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84587         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
84589         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84590         void.
84591         * bits/select.h: Likewise.
84593 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
84595         * po/ja.po: Update from translation team.
84597 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
84599         [BZ #11155]
84600         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84601         implementation just like for lxstat, fxstatat, et al.
84603 2010-12-27  Jim Meyering  <meyering@redhat.com>
84605         [BZ #12348]
84606         * posix/regexec.c (build_trtable): Return failure indication upon
84607         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
84609 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
84611         [BZ #12201]
84612         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84613         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84614         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84615         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84617         [BZ #12207]
84618         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84620         [BZ #12204]
84621         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84622         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84624 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
84626         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84627         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84628         script has SORT_BY_INIT_PRIORITY.
84629         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84630         NO_CTORS_DTORS_SECTIONS is defined.
84631         * elf/soinit.c: Likewise.
84632         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84633         NO_CTORS_DTORS_SECTIONS is defined.
84634         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84635         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84636         * sysdeps/sh/init-first.c: Likewise.
84637         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84639 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
84641         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84642         always use the slow path.
84644 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
84646         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84647         similar rule which adds the sysdep directories to the header search in
84648         order to pick up the correct platform stackinfo.h.
84649         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84650         perform test if it is, otherwise return successfully without testing.
84651         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84652         DEFAULT_STACK_PERMS define in stackinfo.h.
84653         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84654         defined in stackinfo.h.
84655         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84656         DEFAULT_STACK_PERMS defined in stackinfo.h.
84657         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84658         * sysdeps/ia64/stackinfo.h: Likewise.
84659         * sysdeps/s390/stackinfo.h: Likewise.
84660         * sysdeps/sh/stackinfo.h: Likewise.
84661         * sysdeps/sparc/stackinfo.h: Likewise.
84662         * sysdeps/x86_64/stackinfo.h: Likewise.
84663         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84664         PF_X for powerpc64.  Retain PF_X for powerpc32.
84666 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
84668         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84669         accurately.
84670         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84671         GETDENTS_64BIT_ALIGNED.
84673 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
84675         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84677 2010-12-10  Andreas Schwab  <schwab@redhat.com>
84679         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84680         _GNU_SOURCE.
84682         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84683         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84684         Remove __restrict.
84685         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84686         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84688 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
84690         [BZ #11655]
84691         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84692         are initialized.
84694 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
84696         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84698 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
84700         * po/it.po: Update from translation team.
84702 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
84704         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84705         unused codes.
84707 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
84709         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84711 2010-11-24  Andreas Schwab  <schwab@redhat.com>
84713         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84714         specially.
84715         (gaih_getanswer_slice): Likewise.
84717 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
84719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84721 2010-05-31  Petr Baudis  <pasky@suse.cz>
84723         [BZ #11149]
84724         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84725         silently even in the chroot mode.
84727 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
84729         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84730         last patch a bit.  Pretty printing
84732 2010-05-31  Petr Baudis <pasky@suse.cz>
84734         [BZ #10085]
84735         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84736         initialization of skip_initgroups_dyn.
84738 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
84740         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84741         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84743 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
84745         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84747 2010-11-11  Andreas Schwab  <schwab@redhat.com>
84749         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84750         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84751         (tst-fnmatch-ENV): Set MALLOC_TRACE.
84752         ($(objpfx)tst-fnmatch-mem): New rule.
84753         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84754         * posix/tst-fnmatch.c (main): Call mtrace.
84756 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
84758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84759         Support Intel processor model 6 and model 0x2c.
84761 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
84763         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84764           signed comparison.
84766 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
84768         [BZ #12205]
84769         * string/test-strncasecmp.c (check_result): New function.
84770         (do_one_test): Use it.
84771         (check1): New function.
84772         (test_main): Use it.
84773         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84774         Support strcasecmp and strncasecmp.
84776 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
84778         [BZ #12194]
84779         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84780         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84782 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
84784         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84785         IFUNC support.
84786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84787         memset-x86-64.
84788         * sysdeps/x86_64/multiarch/bzero.S: New file.
84789         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84790         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84791         * sysdeps/x86_64/multiarch/memset.S: New file.
84792         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84794         Set bit_Prefer_SSE_for_memop for Intel processors.
84795         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84796         Define.
84797         (index_Prefer_SSE_for_memop): Define.
84798         (HAS_PREFER_SSE_FOR_MEMOP): Define.
84800 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
84802         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84803         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84805 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
84807         [BZ #12191]
84808         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84809         (__x86_64_raw_data_cache_size_half): Likewise.
84810         (__x86_64_raw_shared_cache_size): Likewise.
84811         (__x86_64_raw_shared_cache_size_half): Likewise.
84813         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84814         (__x86_64_raw_data_cache_size_half): Likewise.
84815         (__x86_64_raw_shared_cache_size): Likewise.
84816         (__x86_64_raw_shared_cache_size_half): Likewise.
84817         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84818         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84819         and __x86_64_raw_shared_cache_size_half.  Round
84820         __x86_64_data_cache_size_half, __x86_64_data_cache_size
84821         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84822         to multiple of 256 bytes.
84824 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
84826         [BZ #12167]
84827         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84828         of inacessible symlinks.  Verify result of symlink before returning it.
84829         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84830         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84832 2010-10-28  Erich Ritz  <erichritz@gmail.com>
84834         * math/math.h (isinf): Fix typo in comment.
84836 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
84838         * po/da.po: Update from translation team.
84840 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
84842         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84843         is added to the list.
84845 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84846             Ulrich Drepper  <drepper@gmail.com>
84848         * elf/dl-object.c (_dl_new_object): Don't append the new object to
84849         the global list here.  Move code to...
84850         (_dl_add_to_namespace_list): ...here.  New function.
84851         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84852         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84853         * elf/dl-load.c (lose): Don't remove the element from the list.
84854         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84855         (_dl_map_object): Likewise.
84857 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
84859         [BZ #12159]
84860         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84861         into all bytes of SSE register.
84862         Patch by Richard Li <richardpku@gmail.com>.
84864 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
84866         [BZ #12140]
84867         * malloc/malloc.c (_int_free): Fill correct number of bytes when
84868         perturbing.
84870 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
84872         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84873         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84874         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84875         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84877         submachine.
84878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84880 2010-10-22  Andreas Schwab  <schwab@redhat.com>
84882         * include/dlfcn.h (__RTLD_SECURE): Define.
84883         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
84884         mode & __RTLD_SECURE instead.
84885         (open_path): Rename preloaded parameter to secure.
84886         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84887         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84888         * elf/dl-deps.c (openaux): Likewise.
84889         * elf/rtld.c (struct map_args): Remove is_preloaded.
84890         (map_doit): Don't use it.
84891         (dl_main): Likewise.
84892         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84893         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84895 2010-09-09  Andreas Schwab  <schwab@redhat.com>
84897         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84898         (sysd-rules-targets): Remove duplicates.
84899         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84900         rtld-%.$o dependency.
84902 2010-10-18  Andreas Schwab  <schwab@redhat.com>
84904         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84905         _dl_map_object do it.
84907 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
84909         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84910         fast fma builtins, define the macros in the C99 standard.
84911         (FP_FAST_FMAF): Likewise.
84912         (FP_FAST_FMAL): Likewise.
84913         * sysdeps/x86_64/bits/mathdef.h: Likewise.
84915         * bits/mathdef.h: Update copyright year.
84916         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84918 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
84920         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84921         builtins, define the macros in the C99 standard.
84922         (FP_FAST_FMAF): Likewise.
84923         (FP_FAST_FMAL): Likewise.
84924         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84925         multiply/add.
84926         (FP_FAST_FMAF): Likewise.
84928 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
84930         [BZ #3268]
84931         * math/libm-test.inc (fma_test): Some new testcases.
84932         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84933         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84934         y and infinite z.  Do multiplication by C already in long double.
84935         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84936         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84937         y and infinite z.  Do bitwise or of inexact bit into u.d.
84938         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84939         * sysdeps/i386/fpu/s_fmaf.S: Removed.
84940         * sysdeps/i386/fpu/s_fma.S: Removed.
84941         * sysdeps/i386/fpu/s_fmal.S: Removed.
84943 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
84945         [BZ #3268]
84946         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84947         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84948         computation is not scheduled after fetestexcept.  Fix value
84949         of minimum denormal long double.
84951 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84953         [BZ #3268]
84954         * math/libm-test.inc (fma_test): Add some more tests.
84955         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84956         correctly.
84958 2010-10-15  Andreas Schwab  <schwab@redhat.com>
84960         * scripts/data/localplt-s390-linux-gnu.data: New file.
84961         * scripts/data/localplt-s390x-linux-gnu.data: New file.
84963 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
84965         [BZ #3268]
84966         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84967         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84968         instead of dbl-64.
84969         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84970         inlines.
84971         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84973         if one of x and y is very large and the other is subnormal.
84974         * sysdeps/s390/fpu/s_fmaf.c: New file.
84975         * sysdeps/s390/fpu/s_fma.c: New file.
84976         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84977         * sysdeps/powerpc/fpu/s_fma.S: New file.
84978         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84979         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84980         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84982 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
84984         [BZ #3268]
84985         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84986         fma tests.
84987         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84988         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84989         * sysdeps/i386/i686/multiarch/s_fma.c: Include
84990         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84991         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84992         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84993         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84995 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
84997         [BZ #12078]
84998         * posix/regcomp.c (parse_branch): One more memory leak plugged.
84999         * posix/bug-regex31.input: Add test case.
85001 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
85003         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
85004         * posix/bug-regex31.input: New file.
85006         [BZ #12078]
85007         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
85008         (parse_sub_exp): Fix last change, use postorder.
85010         * posix/bug-regex31.c: New file.
85011         * posix/Makefile: Add rules to build and run bug-regex31.
85013         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
85015         [BZ #12078]
85016         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
85018         [BZ #12108]
85019         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
85020         to have entries in sys_siglist.
85022         [BZ #12093]
85023         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
85024         be NULL.
85026 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
85028         [BZ #3268]
85029         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
85030         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
85031         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
85032         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
85033         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85034         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
85035         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
85036         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
85037         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
85038         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
85039         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
85040         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
85041         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
85042         * math/ftestexcept.c (fetestexcept): Likewise.
85043         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
85044         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
85045         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
85046         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
85047         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
85048         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
85049         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
85051 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
85053         [BZ #12107]
85054         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
85055         newline.
85057 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
85059         * string/bug-strstr1.c: New file.
85060         * string/Makefile: Add rules to build and run bug-strstr1.
85062 2010-10-05  Eric Blake  <eblake@redhat.com>
85064         [BZ #12092]
85065         * string/str-two-way.h (two_way_long_needle): Always clear memory
85066         when skipping input due to the shift table.
85068 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
85070         [BZ #12005]
85071         * malloc/mcheck.c: Handle large requests.
85073         [BZ #12077]
85074         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
85075         for strncmp and strncasecmp.
85076         * string/stratcliff.c: Add tests for strcmp and strncmp.
85077         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
85079 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85081         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
85082         __set_fpscr.
85084 2010-09-30  Andreas Jaeger  <aj@suse.de>
85086         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
85087         (CGROUP_SUPER_MAGIC): Define.
85088         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85089         Handle btrfs and cgroup file systems.
85090         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85091         Likewise.
85093 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
85095         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
85096         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
85098 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85100         [BZ #12067]
85101         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
85102         trying to locate the ELF header.
85104 2010-09-27  Andreas Schwab  <schwab@redhat.com>
85106         [BZ #11611]
85107         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
85108         Mask out sign-bit copies when constructing f_fsid.
85110 2010-09-24  Petr Baudis <pasky@suse.cz>
85112         * debug/stack_chk_fail_local.c: Add missing licence exception.
85113         * debug/warning-nop.c: Likewise.
85115 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
85117         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
85118         implementing getdents64 using getdents syscall, set d_type if
85119         __ASSUME_GETDENTS32_D_TYPE.
85121 2010-09-16  Andreas Schwab  <schwab@redhat.com>
85123         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
85124         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
85126 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
85128         [BZ #12037]
85129         * posix/unistd.h: Undo change of feature selection for ftruncate from
85130         2010-01-11.
85132 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
85134         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
85135         detection.
85137 2010-09-20  Andreas Schwab  <schwab@redhat.com>
85139         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
85140         fanotify_mark.
85141         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85143 2010-09-14  Andreas Schwab  <schwab@redhat.com>
85145         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
85146         variables after CHECK_SP call.
85147         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
85149 2010-09-13  Andreas Schwab  <schwab@redhat.com>
85150             Ulrich Drepper  <drepper@redhat.com>
85152         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
85153         re-relocationg ld.so.
85154         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
85155         _dl_init_paths call.
85156         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
85157         here anymore.
85159 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
85161         * resolv/res_init.c (__res_vinit): Count the default server we added.
85163 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
85164             Ulrich Drepper  <drepper@redhat.com>
85166         [BZ #11968]
85167         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85168         (____longjmp_chk): Use %ebx for saving value across system call.
85169         Add unwind info.
85171 2010-09-06  Andreas Schwab  <schwab@redhat.com>
85173         * manual/Makefile: Don't mix pattern rules with normal rules.
85175 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
85177         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
85178         operation.
85179         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
85180         * libio/iofopncook.c (_IO_cookie_init): Likewise.
85181         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
85182         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
85183         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85184         Likewise.
85186 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
85188         [BZ #11979]
85189         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85190         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85192 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
85194         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85195         * sysdeps/x86_64/addmul_1.S: Likewise.
85196         * sysdeps/x86_64/lshift.S: Likewise.
85197         * sysdeps/x86_64/mul_1.S: Likewise.
85198         * sysdeps/x86_64/rshift.S: Likewise.
85199         * sysdeps/x86_64/sub_n.S: Likewise.
85200         * sysdeps/x86_64/submul_1.S: Likewise.
85202 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85204         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85205         Define __sched_param instead of SCHED_* and sched_param when
85206         <bits/sched.h> is included with __need_schedparam defined.
85207         * bits/sched.h [__need_schedparam]
85208         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85209         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85210         (__defined_schedparam): Define to 1.
85211         (__sched_param): New structure, identical to sched_param.
85212         (__need_schedparam): Undefine.
85214 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
85216         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85217         (epoll_create1): Declare.
85219         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85221 2010-08-31  Andreas Schwab  <schwab@redhat.com>
85223         [BZ #7066]
85224         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85225         shifting retval into place.
85227 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
85229         * nis/rpcsvc/nis.h: Update copyright notice.
85230         * nis/rpcsvc/nis.x: Likewise.
85231         * nis/rpcsvc/nis_callback.h: Likewise.
85232         * nis/rpcsvc/nis_callback.x: Likewise.
85233         * nis/rpcsvc/nis_object.x: Likewise.
85234         * nis/rpcsvc/nis_tags.h: Likewise.
85235         * nis/rpcsvc/yp.h: Likewise.
85236         * nis/rpcsvc/yp.x: Likewise.
85237         * nis/rpcsvc/ypupd.h: Likewise.
85238         * nis/yp_xdr.c: Likewise.
85239         * nis/ypupdate_xdr.c: Likewise.
85241         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
85242         mainly the body of pmap_getport.  Add parameters to specify timeouts.
85243         (pmap_getport): Use __libc_rpc_getport.
85244         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85245         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85246         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85248 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
85250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85251         fanotify_mark.
85253 2010-08-27  Roland McGrath  <roland@redhat.com>
85255         * sysdeps/i386/i686/multiarch/Makefile
85256         (CFLAGS-varshift.c): New variable.
85258 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
85260         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85261         * sysdeps/i386/i686/multiarch/varshift.c: New file.
85263         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85265         * sysdeps/x86_64/strlen.S: Minimal code improvement.
85267 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
85269         * sysdeps/x86_64/strlen.S: Unroll the loop.
85270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85271         strlen-sse2 strlen-sse2-bsf.
85272         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85273         __strlen_no_bsf if bit_Slow_BSF is set.
85274         (__strlen_sse42): Removed.
85275         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85276         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85278 2010-08-25  Roland McGrath  <roland@redhat.com>
85280         * sysdeps/x86_64/multiarch/varshift.S: File removed.
85281         * sysdeps/x86_64/multiarch/varshift.c: New file.
85282         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85283         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85284         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85285         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85287 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
85289         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85290         strlen-sse2 strlen-sse2-bsf.
85291         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85292         __strlen_sse2_bsf if bit_Slow_BSF is unset.
85293         (__strlen_sse2): Removed.
85294         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85295         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85297         bit_Slow_BSF for Atom.
85298         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85299         (index_Slow_BSF): Define.
85300         (HAS_SLOW_BSF): Define.
85302 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
85304         [BZ #10851]
85305         * resolv/res_init.c (__res_vinit): When no server address at all
85306         is given default to loopback.
85308 2010-08-24  Roland McGrath  <roland@redhat.com>
85310         * configure.in: Remove config-name.h generation.
85311         * configure: Regenerated.
85312         * config-name.in: File removed.
85313         * scripts/config-uname.sh: New file.
85314         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85315         ($(objdir)config-name.h): New target.
85317         * sunrpc/rpc_parse.h: Avoid nested comment.
85319 2010-08-24  Richard Henderson  <rth@redhat.com>
85320             Ulrich Drepper  <drepper@redhat.com>
85321             H.J. Lu  <hongjiu.lu@intel.com>
85323         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85325         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85326         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
85327         _mm_alignr_epi8 with _mm_loadu_si128.
85328         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85329         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85330         (__m128i_shift_right): Removed.
85331         * sysdeps/i386/i686/multiarch/varshift.h: New file.
85332         * sysdeps/i386/i686/multiarch/varshift.S: New file.
85333         * sysdeps/x86_64/multiarch/varshift.h: New file.
85334         * sysdeps/x86_64/multiarch/varshift.S: New file.
85336 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
85338         * configure.in: Move assembler checks to before sysdep dir checking.
85340 2010-08-20  Petr Baudis  <pasky@suse.cz>
85342         * LICENSES: Sync the sunrpc license.
85344 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
85346         * sunrpc/auth_des.c: Update copyright notice once again.
85347         * sunrpc/auth_none.c: Likewise.
85348         * sunrpc/auth_unix.c: Likewise.
85349         * sunrpc/authdes_prot.c: Likewise.
85350         * sunrpc/authuxprot.c: Likewise.
85351         * sunrpc/bindrsvprt.c: Likewise.
85352         * sunrpc/clnt_gen.c: Likewise.
85353         * sunrpc/clnt_perr.c: Likewise.
85354         * sunrpc/clnt_raw.c: Likewise.
85355         * sunrpc/clnt_simp.c: Likewise.
85356         * sunrpc/clnt_tcp.c: Likewise.
85357         * sunrpc/clnt_udp.c: Likewise.
85358         * sunrpc/clnt_unix.c: Likewise.
85359         * sunrpc/des_crypt.c: Likewise.
85360         * sunrpc/des_soft.c: Likewise.
85361         * sunrpc/get_myaddr.c: Likewise.
85362         * sunrpc/getrpcport.c: Likewise.
85363         * sunrpc/key_call.c: Likewise.
85364         * sunrpc/key_prot.c: Likewise.
85365         * sunrpc/openchild.c: Likewise.
85366         * sunrpc/pm_getmaps.c: Likewise.
85367         * sunrpc/pm_getport.c: Likewise.
85368         * sunrpc/pmap_clnt.c: Likewise.
85369         * sunrpc/pmap_prot.c: Likewise.
85370         * sunrpc/pmap_prot2.c: Likewise.
85371         * sunrpc/pmap_rmt.c: Likewise.
85372         * sunrpc/rpc/auth.h: Likewise.
85373         * sunrpc/rpc/auth_unix.h: Likewise.
85374         * sunrpc/rpc/clnt.h: Likewise.
85375         * sunrpc/rpc/des_crypt.h: Likewise.
85376         * sunrpc/rpc/key_prot.h: Likewise.
85377         * sunrpc/rpc/netdb.h: Likewise.
85378         * sunrpc/rpc/pmap_clnt.h: Likewise.
85379         * sunrpc/rpc/pmap_prot.h: Likewise.
85380         * sunrpc/rpc/pmap_rmt.h: Likewise.
85381         * sunrpc/rpc/rpc.h: Likewise.
85382         * sunrpc/rpc/rpc_des.h: Likewise.
85383         * sunrpc/rpc/rpc_msg.h: Likewise.
85384         * sunrpc/rpc/svc.h: Likewise.
85385         * sunrpc/rpc/svc_auth.h: Likewise.
85386         * sunrpc/rpc/types.h: Likewise.
85387         * sunrpc/rpc/xdr.h: Likewise.
85388         * sunrpc/rpc_clntout.c: Likewise.
85389         * sunrpc/rpc_cmsg.c: Likewise.
85390         * sunrpc/rpc_common.c: Likewise.
85391         * sunrpc/rpc_cout.c: Likewise.
85392         * sunrpc/rpc_dtable.c: Likewise.
85393         * sunrpc/rpc_hout.c: Likewise.
85394         * sunrpc/rpc_main.c: Likewise.
85395         * sunrpc/rpc_parse.c: Likewise.
85396         * sunrpc/rpc_parse.h: Likewise.
85397         * sunrpc/rpc_prot.c: Likewise.
85398         * sunrpc/rpc_sample.c: Likewise.
85399         * sunrpc/rpc_scan.c: Likewise.
85400         * sunrpc/rpc_scan.h: Likewise.
85401         * sunrpc/rpc_svcout.c: Likewise.
85402         * sunrpc/rpc_tblout.c: Likewise.
85403         * sunrpc/rpc_util.c: Likewise.
85404         * sunrpc/rpc_util.h: Likewise.
85405         * sunrpc/rpcinfo.c: Likewise.
85406         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85407         * sunrpc/rpcsvc/key_prot.x: Likewise.
85408         * sunrpc/rpcsvc/klm_prot.x: Likewise.
85409         * sunrpc/rpcsvc/mount.x: Likewise.
85410         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85411         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85412         * sunrpc/rpcsvc/rex.x: Likewise.
85413         * sunrpc/rpcsvc/rstat.x: Likewise.
85414         * sunrpc/rpcsvc/rusers.x: Likewise.
85415         * sunrpc/rpcsvc/sm_inter.x: Likewise.
85416         * sunrpc/rpcsvc/spray.x: Likewise.
85417         * sunrpc/rpcsvc/yppasswd.x: Likewise.
85418         * sunrpc/rtime.c: Likewise.
85419         * sunrpc/svc.c: Likewise.
85420         * sunrpc/svc_auth.c: Likewise.
85421         * sunrpc/svc_authux.c: Likewise.
85422         * sunrpc/svc_raw.c: Likewise.
85423         * sunrpc/svc_run.c: Likewise.
85424         * sunrpc/svc_simple.c: Likewise.
85425         * sunrpc/svc_tcp.c: Likewise.
85426         * sunrpc/svc_udp.c: Likewise.
85427         * sunrpc/svc_unix.c: Likewise.
85428         * sunrpc/svcauth_des.c: Likewise.
85429         * sunrpc/xcrypt.c: Likewise.
85430         * sunrpc/xdr.c: Likewise.
85431         * sunrpc/xdr_array.c: Likewise.
85432         * sunrpc/xdr_float.c: Likewise.
85433         * sunrpc/xdr_mem.c: Likewise.
85434         * sunrpc/xdr_rec.c: Likewise.
85435         * sunrpc/xdr_ref.c: Likewise.
85436         * sunrpc/xdr_sizeof.c: Likewise.
85437         * sunrpc/xdr_stdio.c: Likewise.
85439         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85440         handling.
85442 2010-08-19  Andreas Schwab  <schwab@redhat.com>
85444         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85446 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
85448         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85449         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85450         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85451         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85452         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85453         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85454         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85455         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85456         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85457         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85458         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85459         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85460         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85461         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85463 2010-07-26  Anton Blanchard  <anton@samba.org>
85465         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85466         * malloc/arena.c (heap_trim): Likewise.
85468 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
85470         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85471         here.  Not...
85472         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85473         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85475 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
85477         * sysdeps/i386/elf/Makefile: New file.
85479 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85481         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85482         from fanotify_init.
85483         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85484         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85486 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
85488         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85489         of strncasecmp_l.
85490         * sysdeps/multiarch/strcmp.S: Likewise.
85492 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
85494         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85495         strncase_l-nonascii.
85496         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85497         Add strncase_l-ssse3.
85498         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85499         * sysdeps/x86_64/strcmp.S: Likewise.
85500         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85501         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85502         * sysdeps/x86_64/strncase.S: New file.
85503         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85504         * sysdeps/x86_64/strncase_l.S: New file.
85505         * string/Makefile (strop-tests): Add strncasecmp.
85506         * string/test-strncasecmp.c: New file.
85508         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85509         warning.
85511         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85512         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85514 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85516         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85518 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
85520         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85521         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85522         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85524 2010-05-01  Alan Modra  <amodra@gmail.com>
85526         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85527         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85528         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85529         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85530         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85531         tidying.  Don't tail-call __sigjmp_save for static lib.
85532         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85533         save location.
85534         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85535         (CALL_MCOUNT): Add eh info, and nop after bl.
85536         (TAIL_CALL_SYSCALL_ERROR): New macro.
85537         (PSEUDO_RET): Use it.
85538         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85539         Correct save location of integer regs and cr.
85540         (_dl_profile_resolve): Correct cr save location.  Delete nops
85541         after bl when SHARED.  Reduce cfi size a little by better
85542         placement of cfi directives.
85543         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85544         make a stack frame.  Instead use parm save area as a temp.
85545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85546         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
85547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85548         Don't make a stack frame for parent, use parm save area.
85549         Increase child stack frame to 112 bytes.  Don't save unused reg,
85550         and adjust reg usage.  Set up cfi on error recovery and
85551         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85553         (__makecontext): Add dummy nop after jump to exit.
85554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85555         Use correct parm save area and cr save, reduce stack frame.
85556         Correct cfi for possible PSEUDO_RET frame setup.
85557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85558         Branch to local label emitted by PSEUDO_RET rather than
85559         __syscall_error.
85561 2010-08-12  Andreas Schwab  <schwab@redhat.com>
85563         [BZ #11904]
85564         * locale/programs/locale.c (print_assignment): New function.
85565         (show_locale_vars): Use it.
85567 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
85569         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85570         field.
85571         (struct statfs64): Likewise.
85572         (_STATFS_F_FLAGS): Define.
85573         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85574         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85575         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85576         (ST_VALID): Define locally.
85577         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85578         __statvfs_getflags, use the provided value.
85579         * sysdeps/unix/sysv/linux/kernel-features.h: Define
85580         __ASSUME_STATFS_F_FLAGS.
85582         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85584         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85585         Add sys/fanotify.h.
85586         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85587         fanotify_mask for GLIBC_2.13.
85588         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85589         fanotify_init and fanotify_mark.
85590         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85591         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85593         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85594         Add prlimit.
85595         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85596         prlimit64 for GLIBC_2.13.
85597         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85598         prlimit64.
85599         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85600         syscall.
85601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85602         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85603         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85604         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85605         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
85606         add prlimit alias.
85607         * sysdeps/unix/sysv/linux/prlimit.c: New file.
85609         [BZ #11903]
85610         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85611         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85613         * nss/Makefile: Add rules to build and run tst-nss-test1.
85614         * shlib-versions: Add entry for libnss_test1.
85615         * nss/nss_test1.c: New file.
85616         * nss/tst-nss-test1.c: New file.
85618         * nss/nsswitch.c (__nss_database_custom): Define new variable.
85619         (__nss_configure_lookup): Set appropriate entry in
85620         __nss_configure_lookup to true.
85621         * nss/nsswitch.h: Define enum with indeces of databases in
85622         databases and __nss_database_custom arrays.  Declare
85623         __nss_database_custom.
85624         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85625         to avoid using nscd when custom rules are installed.
85626         * nss/getXXbyYY_r.c: Likewise.
85627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85629         * nss/nss_files/files-parse.c: Whitespace fixes.
85631 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
85633         [BZ #11883]
85634         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85635         * posix/fnmatch_loop.c: Likewise.
85637 2010-07-17  Andi Kleen  <ak@linux.intel.com>
85639         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85640         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85641         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85642         * Versions.def [GLIBC_2.13]: Add.
85644 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
85646         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85647         Also fail if tpwd after pwuid call is NULL.
85649 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85651         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85652         when converting to ms.
85654 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85656         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85657         EOPNOTSUPP errors with ENOTTY.
85658         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85659         EOPNOTSUPP errors with ENOTTY.
85661 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
85663         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85664         Add strcasecmp_l-ssse3.
85665         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85666         strcasecmp.
85667         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85668         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85669         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85671 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
85673         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85675         * string/Makefile (strop-tests): Add strcasecmp.
85676         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85677         strcasecmp_l-nonascii.
85678         (gen-as-const-headers): Add locale-defines.sym.
85679         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85680         * sysdeps/x86_64/strcasecmp.S: New file.
85681         * sysdeps/x86_64/strcasecmp_l.S: New file.
85682         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85683         * sysdeps/x86_64/locale-defines.sym: New file.
85684         * string/test-strcasecmp.c: New file.
85686         * string/test-strcasestr.c: Test both ends of the range of characters.
85687         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85689 2010-07-29  Roland McGrath  <roland@redhat.com>
85691         [BZ #11856]
85692         * manual/locale.texi (Yes-or-No Questions): Fix example code.
85694 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
85696         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85697         for ld.so.
85699 2010-07-27  Andreas Schwab  <schwab@redhat.com>
85701         * manual/memory.texi (Malloc Tunable Parameters): Document
85702         M_PERTURB.
85704 2010-07-26  Roland McGrath  <roland@redhat.com>
85706         [BZ #11840]
85707         * configure.in (-fgnu89-inline check): Set and substitute
85708         gnu89_inline, not libc_cv_gnu89_inline.
85709         * configure: Regenerated.
85710         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85712 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
85714         * string/test-strnlen.c: New file.
85715         * string/Makefile (strop-tests): Add strnlen.
85716         * string/tester.c (test_strnlen): Add a few more test cases.
85717         * string/tst-strlen.c: Better error reporting.
85719         * sysdeps/x86_64/strnlen.S: New file.
85721 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
85723         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85724         lower-latency instructions.
85726 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
85728         * string/test-strcasestr.c: New file.
85729         * string/test-strstr.c: New file.
85730         * string/Makefile (strop-tests): Add strstr and strcasestr.
85731         * string/str-two-way.h: Don't undefine MAX.
85732         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85734 2010-07-21  Andreas Schwab  <schwab@redhat.com>
85736         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85737         strcasestr-nonascii.
85738         (CFLAGS-strcasestr-nonascii.c): Define.
85739         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85740         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85741         Remove unused attribute.
85743 2010-07-20  Roland McGrath  <roland@redhat.com>
85745         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85746         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
85747         ld.so.cache was broken.  With it, there is no way to disable dsocaps
85748         like LD_HWCAP_MASK can disable hwcaps.
85750 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85752         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85754 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
85756         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85757         call in strcasestr.
85758         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85759         __strcasestr_sse42_nonascii.
85760         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85761         strcasestr-nonascii.c.
85762         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85764 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
85766         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85767         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85768         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85769         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85771 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
85773         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85774         fcntl.
85776 2010-07-06  Andreas Schwab  <schwab@redhat.com>
85778         [BZ #11577]
85779         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85780         dl_signal_cerror.
85782 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
85784         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85785         _PC_PIPE_BUF using F_GETPIPE_SZ.
85787 2010-07-05  Roland McGrath  <roland@redhat.com>
85789         * manual/arith.texi (Rounding Functions): Fix rint description
85790         implicit in round description.
85792 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
85794         * elf/Makefile: Fix linking for a few tests to make recent linker
85795         happy.
85797 2010-06-30  Andreas Schwab  <schwab@redhat.com>
85799         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85800         $(common-objpfx)libc_nonshared.a.
85802 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
85804         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85805         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85806         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85807         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85808         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85809         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85810         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85811         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85826         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85827         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85828         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85829         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85830         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85831         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85832         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85833         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85834         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85835         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85836         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85837         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85853 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
85855         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85856         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
85857         * string/memmove.c (memmove): Renamed to ...
85858         (MEMMOVE): ...this.  Default to memmove.
85859         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85860         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85861         (END_CHK): Define.
85862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85863         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85864         mempcpy-ssse3-back memmove-ssse3-back.
85865         * sysdeps/x86_64/multiarch/bcopy.S: New file .
85866         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85867         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85868         * sysdeps/x86_64/multiarch/memcpy.S: New file.
85869         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85870         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85871         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85872         * sysdeps/x86_64/multiarch/memmove.c: New file.
85873         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85874         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85875         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85876         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85877         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85878         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85879         Define.
85880         (index_Fast_Copy_Backward): Define.
85881         (HAS_ARCH_FEATURE): Define.
85882         (HAS_FAST_REP_STRING): Define.
85883         (HAS_FAST_COPY_BACKWARD): Define.
85885 2010-06-21  Andreas Schwab  <schwab@redhat.com>
85887         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85888         Restore proper fallback handling.
85890 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
85892         [BZ #11701]
85893         * posix/group_member.c (__group_member): Correct checking loop.
85895         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85896         OOM in getpwuid_r correctly.  Return error number when the caller
85897         should return, otherwise -1.
85898         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85899         call returning > 0 value.
85900         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85902 2010-06-07  Andreas Schwab  <schwab@redhat.com>
85904         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85905         libc_nonshared.a from targets in modules-names.
85907 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
85909         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85910         requires it.
85912 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
85914         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85915         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85916         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85917         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85919 2010-06-02  Andreas Schwab  <schwab@redhat.com>
85921         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85923 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
85925         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85926         and F_GETPIPE_SZ.
85927         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85928         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85929         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85930         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85931         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85932         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85934 2010-06-14  Roland McGrath  <roland@redhat.com>
85936         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85938 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
85940         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85941         __REDIRECT followed by __THROW.
85942         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85943         * posix/getopt.h (getopt): Likewise.
85945 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85947         * hurd/lookup-at.c (__file_name_lookup_at): Accept
85948         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
85949         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85950         in AT_FLAGS.
85951         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85952         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85954 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
85956         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85958 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
85960         [BZ #11640]
85961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85962         Properly check family and model.
85964 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
85966         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85968 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
85970         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85972 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
85974         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85975         symbol reference.
85977 2010-05-19  Andreas Schwab  <schwab@redhat.com>
85979         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85980         symbol reference.
85982 2010-05-21  Andreas Schwab  <schwab@redhat.com>
85984         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85985         and internal_recvmmsg.
85986         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85987         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85988         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85989         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85991         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85992         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85993         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85995 2010-05-20  Andreas Schwab  <schwab@redhat.com>
85997         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85999 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
86001         POWER7 optimizations.
86002         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
86003         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
86005 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
86007         * version.h: Update for 2.13 development version.
86009 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
86011         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
86012         exceptions.  Return 0.
86014 2010-05-07  Roland McGrath  <roland@redhat.com>
86016         * elf/ldconfig.c (main): Add a const.
86018 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
86020         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
86021         (args_options): Add no-idn option.
86022         (ahosts_keys_int): Add idn_flags to ai_flags.
86023         (parse_option): Handle 'i' option to clear idn_flags.
86025         * malloc/malloc.c (_int_free): Possible race in the most recently
86026         added check.  Only act on the data if no current modification
86027         happened.
86029 See ChangeLog.17 for earlier changes.